@dyedurham/search-and-file-widget 2.0.63 → 2.0.65
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 +1949 -137
- package/package.json +11 -11
package/dnd-filing-shell.js
CHANGED
|
@@ -58082,6 +58082,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58082
58082
|
function isOntarioTask(task) {
|
|
58083
58083
|
return task.entity._compliance.home_jurisdiction === "Ontario";
|
|
58084
58084
|
}
|
|
58085
|
+
function isChangeOfPrincipalsTask(task) {
|
|
58086
|
+
return task?._taskType === TaskType.ChangeOfPrincipals;
|
|
58087
|
+
}
|
|
58085
58088
|
function isBritishColumbiaTask(task) {
|
|
58086
58089
|
return task.entity._compliance.home_jurisdiction === "British Columbia";
|
|
58087
58090
|
}
|
|
@@ -58119,6 +58122,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58119
58122
|
if (isAnnualReturnTask(task)) {
|
|
58120
58123
|
return `${prefix}AnnualReturn`;
|
|
58121
58124
|
}
|
|
58125
|
+
if (isChangeOfPrincipalsTask(task)) {
|
|
58126
|
+
return `${prefix}NoticeOfChangeOfDirectors`;
|
|
58127
|
+
}
|
|
58122
58128
|
return void 0;
|
|
58123
58129
|
}
|
|
58124
58130
|
function markFormGroupTouched(formGroup) {
|
|
@@ -81293,6 +81299,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81293
81299
|
initialReturnInitialDelta = signal(null);
|
|
81294
81300
|
federalFormationInitialDelta = signal(null);
|
|
81295
81301
|
federalUpdateMaintainInitialDelta = signal(null);
|
|
81302
|
+
bcChangeOfDirectorsInitialDelta = signal(null);
|
|
81296
81303
|
bcFormationInitialDelta = signal(null);
|
|
81297
81304
|
setFormationInitialDelta(delta) {
|
|
81298
81305
|
this.formationInitialDelta.set(delta);
|
|
@@ -81309,11 +81316,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81309
81316
|
setFederalUpdateMaintainInitialDelta(delta) {
|
|
81310
81317
|
this.federalUpdateMaintainInitialDelta.set(delta);
|
|
81311
81318
|
}
|
|
81319
|
+
setBCChangeOfDirectorsInitialDelta(delta) {
|
|
81320
|
+
this.bcChangeOfDirectorsInitialDelta.set(delta);
|
|
81321
|
+
}
|
|
81312
81322
|
reset() {
|
|
81313
81323
|
this.formationInitialDelta.set(null);
|
|
81314
81324
|
this.initialReturnInitialDelta.set(null);
|
|
81315
81325
|
this.federalFormationInitialDelta.set(null);
|
|
81316
81326
|
this.federalUpdateMaintainInitialDelta.set(null);
|
|
81327
|
+
this.bcChangeOfDirectorsInitialDelta.set(null);
|
|
81317
81328
|
this.bcFormationInitialDelta.set(null);
|
|
81318
81329
|
}
|
|
81319
81330
|
static \u0275fac = function DeltaStateService_Factory(__ngFactoryType__) {
|
|
@@ -84122,7 +84133,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84122
84133
|
});
|
|
84123
84134
|
|
|
84124
84135
|
// src/app/constants/BritishColumbiaConstants.ts
|
|
84125
|
-
var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS, BC_PROVINCE_STATE_OPTIONS, BC_COUNTRY_OPTIONS, BC_DEFAULT_PROVINCE_STATE, BC_DEFAULT_COUNTRY, BC_FUTURE_EFFECTIVE_DATE_FEE, BC_PASSWORD_MIN_LENGTH, BC_PASSWORD_MAX_LENGTH, BC_PASSWORD_PATTERN, BC_COMPANY_EMAIL_MAX_LENGTH, BC_NAME_RESERVATION_MAX_LENGTH, BC_NAME_RESERVATION_PATTERN, BC_COMPLETING_PARTY_COUNTRY_OPTIONS;
|
|
84136
|
+
var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, BCNotificationMethod, BCNotificationMethodLabel, BC_NOTIFICATION_METHOD_OPTIONS, BC_CHANGE_OF_DIRECTORS_FILING_FEE, BCAnnualReportReminder, BCAnnualReportReminderLabel, BC_ANNUAL_REPORT_REMINDER_OPTIONS, BC_PROVINCE_STATE_OPTIONS, BC_COUNTRY_OPTIONS, BC_DEFAULT_PROVINCE_STATE, BC_DEFAULT_COUNTRY, BC_FUTURE_EFFECTIVE_DATE_FEE, BC_PASSWORD_MIN_LENGTH, BC_PASSWORD_MAX_LENGTH, BC_PASSWORD_PATTERN, BC_COMPANY_EMAIL_MAX_LENGTH, BC_NAME_RESERVATION_MAX_LENGTH, BC_NAME_RESERVATION_PATTERN, BC_COMPLETING_PARTY_COUNTRY_OPTIONS;
|
|
84126
84137
|
var init_BritishColumbiaConstants = __esm({
|
|
84127
84138
|
"src/app/constants/BritishColumbiaConstants.ts"() {
|
|
84128
84139
|
init_app_enums();
|
|
@@ -84145,6 +84156,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84145
84156
|
[BCNotificationMethod.Mail]: "Notify by mail"
|
|
84146
84157
|
};
|
|
84147
84158
|
BC_NOTIFICATION_METHOD_OPTIONS = Object.values(BCNotificationMethod).map((value) => ({ value, label: BCNotificationMethodLabel[value] }));
|
|
84159
|
+
BC_CHANGE_OF_DIRECTORS_FILING_FEE = "$21.50";
|
|
84160
|
+
(function(BCAnnualReportReminder2) {
|
|
84161
|
+
BCAnnualReportReminder2["Yes"] = "yes";
|
|
84162
|
+
BCAnnualReportReminder2["No"] = "no";
|
|
84163
|
+
})(BCAnnualReportReminder || (BCAnnualReportReminder = {}));
|
|
84164
|
+
BCAnnualReportReminderLabel = {
|
|
84165
|
+
[BCAnnualReportReminder.Yes]: "Yes, send the annual report reminder",
|
|
84166
|
+
[BCAnnualReportReminder.No]: "No, I do not need to be reminded"
|
|
84167
|
+
};
|
|
84168
|
+
BC_ANNUAL_REPORT_REMINDER_OPTIONS = Object.values(BCAnnualReportReminder).map((value) => ({ value, label: BCAnnualReportReminderLabel[value] }));
|
|
84148
84169
|
BC_PROVINCE_STATE_OPTIONS = Object.values(CANProvinces).map((province) => ({ value: province, label: province }));
|
|
84149
84170
|
BC_COUNTRY_OPTIONS = [
|
|
84150
84171
|
{ value: "Canada", label: "Canada" },
|
|
@@ -84169,9 +84190,37 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84169
84190
|
});
|
|
84170
84191
|
|
|
84171
84192
|
// src/app/enums/british-columbia-form.enums.ts
|
|
84172
|
-
var BCFormationFormControls, BCFormationFormGroups;
|
|
84193
|
+
var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCFormationFormGroups;
|
|
84173
84194
|
var init_british_columbia_form_enums = __esm({
|
|
84174
84195
|
"src/app/enums/british-columbia-form.enums.ts"() {
|
|
84196
|
+
(function(BCChangeOfDirectorsFormControls2) {
|
|
84197
|
+
BCChangeOfDirectorsFormControls2["Id"] = "id";
|
|
84198
|
+
BCChangeOfDirectorsFormControls2["AffiliationName"] = "entityName";
|
|
84199
|
+
BCChangeOfDirectorsFormControls2["AffiliationType"] = "AffiliationType";
|
|
84200
|
+
BCChangeOfDirectorsFormControls2["ClientMatterNumber"] = "ClientMatterNumber";
|
|
84201
|
+
BCChangeOfDirectorsFormControls2["DocketNumber"] = "docketNumber";
|
|
84202
|
+
BCChangeOfDirectorsFormControls2["CorporationName"] = "corporationName";
|
|
84203
|
+
BCChangeOfDirectorsFormControls2["IncorporationNumber"] = "incorporationNumber";
|
|
84204
|
+
BCChangeOfDirectorsFormControls2["CompanyEmail"] = "companyEmail";
|
|
84205
|
+
BCChangeOfDirectorsFormControls2["DirectorsAddedOrDeleted"] = "directorsAddedOrDeleted";
|
|
84206
|
+
BCChangeOfDirectorsFormControls2["ChangeDate"] = "changeDate";
|
|
84207
|
+
BCChangeOfDirectorsFormControls2["FilingFee"] = "filingFee";
|
|
84208
|
+
BCChangeOfDirectorsFormControls2["RegisterAsOfDate"] = "registerAsOfDate";
|
|
84209
|
+
BCChangeOfDirectorsFormControls2["MailingAddress"] = "mailingAddress";
|
|
84210
|
+
BCChangeOfDirectorsFormControls2["DeliveryAddress"] = "deliveryAddress";
|
|
84211
|
+
BCChangeOfDirectorsFormControls2["NotificationMethod"] = "notificationMethod";
|
|
84212
|
+
BCChangeOfDirectorsFormControls2["NotificationEmail"] = "notificationEmail";
|
|
84213
|
+
BCChangeOfDirectorsFormControls2["NotificationMailingAddress"] = "notificationMailingAddress";
|
|
84214
|
+
BCChangeOfDirectorsFormControls2["AnnualReportReminder"] = "annualReportReminder";
|
|
84215
|
+
})(BCChangeOfDirectorsFormControls || (BCChangeOfDirectorsFormControls = {}));
|
|
84216
|
+
(function(BCChangeOfDirectorsFormGroups2) {
|
|
84217
|
+
BCChangeOfDirectorsFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84218
|
+
BCChangeOfDirectorsFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
84219
|
+
BCChangeOfDirectorsFormGroups2["FilingDetails"] = "Filing Details";
|
|
84220
|
+
BCChangeOfDirectorsFormGroups2["Directors"] = "Director Information";
|
|
84221
|
+
BCChangeOfDirectorsFormGroups2["Notification"] = "Notification";
|
|
84222
|
+
BCChangeOfDirectorsFormGroups2["AnnualReportReminder"] = "Annual Report Reminder";
|
|
84223
|
+
})(BCChangeOfDirectorsFormGroups || (BCChangeOfDirectorsFormGroups = {}));
|
|
84175
84224
|
(function(BCFormationFormControls2) {
|
|
84176
84225
|
BCFormationFormControls2["Id"] = "id";
|
|
84177
84226
|
BCFormationFormControls2["AffiliationName"] = "entityName";
|
|
@@ -84350,16 +84399,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84350
84399
|
const address = delta?.mailingAddress;
|
|
84351
84400
|
const country = normalizeCountryCode(address?.country);
|
|
84352
84401
|
return {
|
|
84353
|
-
firstName: delta?.firstName ?? "",
|
|
84354
|
-
middleName: delta?.middleName || void 0,
|
|
84355
|
-
lastName: delta?.lastName ?? "",
|
|
84356
|
-
email: delta?.email ?? "",
|
|
84402
|
+
firstName: delta?.firstName?.trim() ?? "",
|
|
84403
|
+
middleName: delta?.middleName?.trim() || void 0,
|
|
84404
|
+
lastName: delta?.lastName?.trim() ?? "",
|
|
84405
|
+
email: delta?.email?.trim() ?? "",
|
|
84357
84406
|
mailingAddress: {
|
|
84358
|
-
streetAddress: address?.addressLine1 ?? "",
|
|
84359
|
-
additionalStreetAddress: address?.addressLine2 || void 0,
|
|
84360
|
-
city: address?.city ?? "",
|
|
84407
|
+
streetAddress: address?.addressLine1?.trim() ?? "",
|
|
84408
|
+
additionalStreetAddress: address?.addressLine2?.trim() || void 0,
|
|
84409
|
+
city: address?.city?.trim() ?? "",
|
|
84361
84410
|
provinceOrState: toProvinceOrStateCode(address?.provinceState, country),
|
|
84362
|
-
postalOrZipCode: address?.postalZip ?? "",
|
|
84411
|
+
postalOrZipCode: address?.postalZip?.trim() ?? "",
|
|
84363
84412
|
country
|
|
84364
84413
|
}
|
|
84365
84414
|
};
|
|
@@ -84501,8 +84550,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84501
84550
|
const t = translateFn ?? ((key) => key);
|
|
84502
84551
|
const affiliations = task.entity.affiliations ?? [];
|
|
84503
84552
|
const delta = task.deltaData;
|
|
84504
|
-
const registeredOffice =
|
|
84505
|
-
const recordsOffice =
|
|
84553
|
+
const registeredOffice = findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
84554
|
+
const recordsOffice = findSharedAddressAffiliation(affiliations, AddressTitle2.RECORDS_OFFICE);
|
|
84506
84555
|
const companyEmail = task.entity.emailOptions?.[0]?.value ?? registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.communications?.find((c) => c.type === "Business Email")?.value ?? // Email only: the entity may carry its Business Email on another address (e.g. Head
|
|
84507
84556
|
// Office) when no Registered Office shared address exists.
|
|
84508
84557
|
task.entity.addresses?.flatMap((a) => a.communications ?? []).find((c) => c.type === "Business Email")?.value ?? "";
|
|
@@ -84621,6 +84670,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84621
84670
|
address.country
|
|
84622
84671
|
].filter((part) => Boolean(part?.trim())).join(", ");
|
|
84623
84672
|
}
|
|
84673
|
+
static findSharedAddressAffiliation(affiliations, staticTitle) {
|
|
84674
|
+
return affiliations.find((a) => a.role?.role_name === AddressRole2.SHARED_ADDRESS && a.role?.static_title === staticTitle);
|
|
84675
|
+
}
|
|
84624
84676
|
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
|
|
84625
84677
|
return new FormGroup({
|
|
84626
84678
|
[BCFormationFormControls.ClientMatterNumber]: new FormControl(deltaData?.referenceNumber ?? clientMatterNumber ?? ""),
|
|
@@ -84639,7 +84691,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84639
84691
|
translationRows.push(this.createNameTranslationFormGroup());
|
|
84640
84692
|
}
|
|
84641
84693
|
return new FormGroup({
|
|
84642
|
-
|
|
84694
|
+
// The select renders as a free-text autocomplete, so `required` alone accepts typed
|
|
84695
|
+
// values; only a real BCNameType may validate (anything else would file as numbered).
|
|
84696
|
+
[BCFormationFormControls.CorporationNameType]: new FormControl(corporationNameType, [
|
|
84697
|
+
Validators.required,
|
|
84698
|
+
(control) => control.value === BCNameType.Named || control.value === BCNameType.Numbered ? null : { invalidCorporationNameType: true }
|
|
84699
|
+
]),
|
|
84643
84700
|
[BCFormationFormControls.CompanyName]: new FormControl(deltaData?.companyName ?? (corporationNameType === BCNameType.Named ? task.entity._profile.name ?? "" : ""), requiredIfValue(BCFormationFormControls.CorporationNameType, BCNameType.Named)),
|
|
84644
84701
|
[BCFormationFormControls.NameReservationNumber]: new FormControl(deltaData?.nameReservationNumber ?? task._ext._name_reservationID ?? "", [
|
|
84645
84702
|
requiredIfValue(BCFormationFormControls.CorporationNameType, BCNameType.Named),
|
|
@@ -84781,9 +84838,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84781
84838
|
const value = registryId?.trim() ?? "";
|
|
84782
84839
|
return value.length >= BC_PASSWORD_MIN_LENGTH && value.length <= BC_PASSWORD_MAX_LENGTH && BC_PASSWORD_PATTERN.test(value) ? value : "";
|
|
84783
84840
|
}
|
|
84784
|
-
static findSharedAddressAffiliation(affiliations, staticTitle) {
|
|
84785
|
-
return affiliations.find((a) => a.role?.role_name === AddressRole2.SHARED_ADDRESS && a.role?.static_title === staticTitle);
|
|
84786
|
-
}
|
|
84787
84841
|
/**
|
|
84788
84842
|
* Athennian stores one address per `location_type` ("Mailing", "Delivery", …).
|
|
84789
84843
|
* Falls back to the first address so both lines render when only one exists.
|
|
@@ -84798,8 +84852,1346 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84798
84852
|
}
|
|
84799
84853
|
});
|
|
84800
84854
|
|
|
84855
|
+
// src/app/helpers/british-columbia/change-of-directors/british-columbia-change-of-directors-form.helper.ts
|
|
84856
|
+
function notInFuture() {
|
|
84857
|
+
return (control) => {
|
|
84858
|
+
if (!control.value) {
|
|
84859
|
+
return null;
|
|
84860
|
+
}
|
|
84861
|
+
const value = new Date(control.value);
|
|
84862
|
+
const today = /* @__PURE__ */ new Date();
|
|
84863
|
+
today.setHours(23, 59, 59, 999);
|
|
84864
|
+
return value > today ? { futureDate: true } : null;
|
|
84865
|
+
};
|
|
84866
|
+
}
|
|
84867
|
+
var Controls, BritishColumbiaChangeOfDirectorsFormHelper;
|
|
84868
|
+
var init_british_columbia_change_of_directors_form_helper = __esm({
|
|
84869
|
+
"src/app/helpers/british-columbia/change-of-directors/british-columbia-change-of-directors-form.helper.ts"() {
|
|
84870
|
+
init_forms();
|
|
84871
|
+
init_common_models();
|
|
84872
|
+
init_common_utils();
|
|
84873
|
+
init_initial_return_enums();
|
|
84874
|
+
init_british_columbia_form_enums();
|
|
84875
|
+
init_BritishColumbiaConstants();
|
|
84876
|
+
init_custom_validators();
|
|
84877
|
+
init_british_columbia_formation_form_helper();
|
|
84878
|
+
Controls = BCChangeOfDirectorsFormControls;
|
|
84879
|
+
BritishColumbiaChangeOfDirectorsFormHelper = class {
|
|
84880
|
+
static generateConfig(task, _translateFn) {
|
|
84881
|
+
const affiliations = task.entity.affiliations ?? [];
|
|
84882
|
+
const delta = task.deltaData;
|
|
84883
|
+
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
84884
|
+
const pick = BritishColumbiaFormationFormHelper.pickAddress;
|
|
84885
|
+
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
84886
|
+
const companyEmail = registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.communications?.find((c) => c.type === "Business Email")?.value ?? "";
|
|
84887
|
+
const registeredMailing = format(pick(registeredOffice?.addresses, "Mailing"));
|
|
84888
|
+
const today = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
84889
|
+
const config2 = {};
|
|
84890
|
+
config2[BCChangeOfDirectorsFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile.client_matter_number);
|
|
84891
|
+
config2[BCChangeOfDirectorsFormGroups.CorporationDetails] = new FormGroup({
|
|
84892
|
+
[Controls.CorporationName]: this.readOnly(task.entity._profile.name),
|
|
84893
|
+
[Controls.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
|
|
84894
|
+
[Controls.CompanyEmail]: this.readOnly(companyEmail)
|
|
84895
|
+
});
|
|
84896
|
+
const isDirector = (a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director";
|
|
84897
|
+
const incoming = task.incomingAffiliations ?? [];
|
|
84898
|
+
const outgoing = task.outgoingAffiliations ?? [];
|
|
84899
|
+
const ceasedIds = new Set(outgoing.filter(isDirector).map((a) => a._id));
|
|
84900
|
+
const incomingIds = new Set(incoming.filter(isDirector).map((a) => a._id));
|
|
84901
|
+
const hasAddOrCease = ceasedIds.size > 0 || incomingIds.size > 0;
|
|
84902
|
+
config2[BCChangeOfDirectorsFormGroups.FilingDetails] = new FormGroup({
|
|
84903
|
+
[Controls.DirectorsAddedOrDeleted]: new FormControl(delta?.filingDetails?.directorsAddedOrDeleted ?? hasAddOrCease),
|
|
84904
|
+
[Controls.ChangeDate]: new FormControl(delta?.filingDetails?.changeDate ?? "", [
|
|
84905
|
+
requiredIfValue(Controls.DirectorsAddedOrDeleted, true),
|
|
84906
|
+
notInFuture()
|
|
84907
|
+
]),
|
|
84908
|
+
[Controls.FilingFee]: this.readOnly(BC_CHANGE_OF_DIRECTORS_FILING_FEE)
|
|
84909
|
+
});
|
|
84910
|
+
const directors = [
|
|
84911
|
+
...affiliations.filter((a) => isDirector(a) && !incomingIds.has(a._id)).map((a) => this.generateDirectorFormGroup(a, ceasedIds.has(a._id) ? IRAffiliationType.Ceased : IRAffiliationType.Used)),
|
|
84912
|
+
...incoming.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, IRAffiliationType.Add))
|
|
84913
|
+
];
|
|
84914
|
+
const fallbackDirectors = directors.length ? [] : this.generateDirectorFormGroupsFromChangeDirectors(task);
|
|
84915
|
+
if (directors.length || fallbackDirectors.length) {
|
|
84916
|
+
config2[BCChangeOfDirectorsFormGroups.Directors] = new FormArray(directors.length ? directors : fallbackDirectors);
|
|
84917
|
+
}
|
|
84918
|
+
config2[BCChangeOfDirectorsFormGroups.Notification] = new FormGroup({
|
|
84919
|
+
[Controls.RegisterAsOfDate]: this.readOnly(today),
|
|
84920
|
+
[Controls.NotificationMethod]: new FormControl(delta?.notification?.method ?? BCNotificationMethod.Email, Validators.required),
|
|
84921
|
+
[Controls.NotificationEmail]: new FormControl(delta?.notification?.email ?? companyEmail, requiredIfValue(Controls.NotificationMethod, BCNotificationMethod.Email)),
|
|
84922
|
+
[Controls.NotificationMailingAddress]: this.readOnly(registeredMailing)
|
|
84923
|
+
});
|
|
84924
|
+
config2[BCChangeOfDirectorsFormGroups.AnnualReportReminder] = new FormGroup({
|
|
84925
|
+
[Controls.AnnualReportReminder]: new FormControl(delta?.annualReportReminder ?? BCAnnualReportReminder.Yes, Validators.required)
|
|
84926
|
+
});
|
|
84927
|
+
return config2;
|
|
84928
|
+
}
|
|
84929
|
+
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
|
|
84930
|
+
return new FormGroup({
|
|
84931
|
+
[Controls.ClientMatterNumber]: new FormControl(deltaData?.referenceNumber ?? clientMatterNumber ?? ""),
|
|
84932
|
+
[Controls.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
|
|
84933
|
+
});
|
|
84934
|
+
}
|
|
84935
|
+
static generateDirectorFormGroup(affiliation, affiliationType) {
|
|
84936
|
+
const addresses = affiliation.addresses?.length ? affiliation.addresses : affiliation.parent_affiliation?.addresses ?? [];
|
|
84937
|
+
return new FormGroup({
|
|
84938
|
+
[Controls.Id]: new FormControl(affiliation._id),
|
|
84939
|
+
[Controls.AffiliationName]: this.readOnly(generateTaskAffiliationFullName(affiliation)),
|
|
84940
|
+
[Controls.AffiliationType]: this.readOnly(affiliationType),
|
|
84941
|
+
[Controls.MailingAddress]: this.readOnly(BritishColumbiaFormationFormHelper.formatFullAddress(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Mailing"))),
|
|
84942
|
+
[Controls.DeliveryAddress]: this.readOnly(BritishColumbiaFormationFormHelper.formatFullAddress(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery")))
|
|
84943
|
+
});
|
|
84944
|
+
}
|
|
84945
|
+
static generateDirectorFormGroupsFromChangeDirectors(task) {
|
|
84946
|
+
const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors;
|
|
84947
|
+
const currentDirectors = source?.Directors ?? source?.directors ?? [];
|
|
84948
|
+
const addedDirectors = [
|
|
84949
|
+
...source?.AddedDirectors ?? [],
|
|
84950
|
+
...source?.AddDirector ?? [],
|
|
84951
|
+
...source?.addDirectors ?? []
|
|
84952
|
+
];
|
|
84953
|
+
const ceasedDirectors = [
|
|
84954
|
+
...source?.CeasedDirectors ?? [],
|
|
84955
|
+
...source?.CeaseDirector ?? [],
|
|
84956
|
+
...source?.ceaseDirectors ?? []
|
|
84957
|
+
];
|
|
84958
|
+
const editedDirectors = [
|
|
84959
|
+
...source?.EditedDirectors ?? [],
|
|
84960
|
+
...source?.EditDirector ?? [],
|
|
84961
|
+
...source?.editDirectors ?? []
|
|
84962
|
+
];
|
|
84963
|
+
return [
|
|
84964
|
+
...currentDirectors.map((director) => this.generateDirectorFormGroupFromPayload(director, IRAffiliationType.Used)),
|
|
84965
|
+
...editedDirectors.map((director) => this.generateDirectorFormGroupFromPayload(director, IRAffiliationType.Update)),
|
|
84966
|
+
...ceasedDirectors.map((director) => this.generateDirectorFormGroupFromPayload(director, IRAffiliationType.Ceased)),
|
|
84967
|
+
...addedDirectors.map((director) => this.generateDirectorFormGroupFromPayload(director, IRAffiliationType.Add))
|
|
84968
|
+
];
|
|
84969
|
+
}
|
|
84970
|
+
static generateDirectorFormGroupFromPayload(director, affiliationType) {
|
|
84971
|
+
const name = director?.PersonName ?? director?.personName ?? director;
|
|
84972
|
+
return new FormGroup({
|
|
84973
|
+
[Controls.Id]: new FormControl(director?.Id ?? director?.id ?? ""),
|
|
84974
|
+
[Controls.AffiliationName]: this.readOnly(this.formatDirectorName(name?.FirstName ?? name?.firstName, name?.MiddleName ?? name?.middleName, name?.LastName ?? name?.lastName)),
|
|
84975
|
+
[Controls.AffiliationType]: this.readOnly(affiliationType),
|
|
84976
|
+
[Controls.MailingAddress]: this.readOnly(this.formatPayloadAddress(director)),
|
|
84977
|
+
[Controls.DeliveryAddress]: this.readOnly(this.formatPayloadAddress(director))
|
|
84978
|
+
});
|
|
84979
|
+
}
|
|
84980
|
+
static formatDirectorName(firstName, middleName, lastName) {
|
|
84981
|
+
const givenNames = [firstName, middleName].filter(Boolean).join(" ");
|
|
84982
|
+
return [lastName, givenNames].filter(Boolean).join(", ");
|
|
84983
|
+
}
|
|
84984
|
+
static formatPayloadAddress(director) {
|
|
84985
|
+
const postalAddress = director?.PostalAddress ?? director?.postalAddress;
|
|
84986
|
+
const address = postalAddress?.AddressCA ?? postalAddress?.AddressUS ?? postalAddress?.AddressINTL ?? director?.address ?? {};
|
|
84987
|
+
return [
|
|
84988
|
+
address.Address1 ?? address.address1,
|
|
84989
|
+
address.Address2 ?? address.address2,
|
|
84990
|
+
address.Address3 ?? address.address3,
|
|
84991
|
+
address.CityTown ?? address.city,
|
|
84992
|
+
address.RegionName ?? address.regionName ?? address.provinceState,
|
|
84993
|
+
address.PostCode ?? address.postalZip,
|
|
84994
|
+
address.CountryCodeName ?? address.country
|
|
84995
|
+
].filter((part) => Boolean(String(part ?? "").trim())).join(", ");
|
|
84996
|
+
}
|
|
84997
|
+
static readOnly(value) {
|
|
84998
|
+
return new FormControl({ value: value ?? "", disabled: true });
|
|
84999
|
+
}
|
|
85000
|
+
};
|
|
85001
|
+
}
|
|
85002
|
+
});
|
|
85003
|
+
|
|
85004
|
+
// src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
|
|
85005
|
+
var Controls2, labelledValue, readOnlyRow, directorsAddedOrDeleted, isNotifyByMail, BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS, generateBCChangeOfDirectorsIntroFields, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_NOTIFICATION_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85006
|
+
var init_british_columbia_change_of_directors_form_constants = __esm({
|
|
85007
|
+
"src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
|
|
85008
|
+
init_form_enums();
|
|
85009
|
+
init_british_columbia_form_enums();
|
|
85010
|
+
init_BritishColumbiaConstants();
|
|
85011
|
+
Controls2 = BCChangeOfDirectorsFormControls;
|
|
85012
|
+
labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
85013
|
+
readOnlyRow = (label, control, className = "span-12") => ({
|
|
85014
|
+
type: FormType.Text,
|
|
85015
|
+
formControlName: control,
|
|
85016
|
+
class: className,
|
|
85017
|
+
dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
|
|
85018
|
+
});
|
|
85019
|
+
directorsAddedOrDeleted = (form) => Boolean(form.get(Controls2.DirectorsAddedOrDeleted)?.value);
|
|
85020
|
+
isNotifyByMail = (form) => form.get(Controls2.NotificationMethod)?.value === BCNotificationMethod.Mail;
|
|
85021
|
+
BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
85022
|
+
{
|
|
85023
|
+
type: FormType.Input,
|
|
85024
|
+
label: "Client/Matter Number",
|
|
85025
|
+
formControlName: Controls2.ClientMatterNumber
|
|
85026
|
+
},
|
|
85027
|
+
{
|
|
85028
|
+
type: FormType.Input,
|
|
85029
|
+
label: "Docket Number",
|
|
85030
|
+
formControlName: Controls2.DocketNumber
|
|
85031
|
+
}
|
|
85032
|
+
];
|
|
85033
|
+
BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
85034
|
+
readOnlyRow("Corporation Name", Controls2.CorporationName),
|
|
85035
|
+
readOnlyRow("Incorporation Number", Controls2.IncorporationNumber),
|
|
85036
|
+
readOnlyRow("Company Email", Controls2.CompanyEmail)
|
|
85037
|
+
];
|
|
85038
|
+
BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
|
|
85039
|
+
{
|
|
85040
|
+
type: FormType.Text,
|
|
85041
|
+
formControlName: "",
|
|
85042
|
+
class: "span-12",
|
|
85043
|
+
dynamicLabel: (_, t) => `<span class="body-1-semibold">${t("Note")}:</span> ${t("There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing.")}`
|
|
85044
|
+
},
|
|
85045
|
+
{
|
|
85046
|
+
type: FormType.Checkbox,
|
|
85047
|
+
label: "Directors will be added and/or deleted as part of this filing",
|
|
85048
|
+
formControlName: Controls2.DirectorsAddedOrDeleted,
|
|
85049
|
+
class: "span-12",
|
|
85050
|
+
onChange: (form) => {
|
|
85051
|
+
if (!directorsAddedOrDeleted(form)) {
|
|
85052
|
+
form.get(Controls2.ChangeDate)?.setValue("", { emitEvent: false });
|
|
85053
|
+
}
|
|
85054
|
+
form.get(Controls2.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85055
|
+
}
|
|
85056
|
+
},
|
|
85057
|
+
{
|
|
85058
|
+
type: FormType.Date,
|
|
85059
|
+
label: "Date Directors were added or deleted",
|
|
85060
|
+
formControlName: Controls2.ChangeDate,
|
|
85061
|
+
required: true,
|
|
85062
|
+
isVisible: directorsAddedOrDeleted,
|
|
85063
|
+
class: "span-8"
|
|
85064
|
+
},
|
|
85065
|
+
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls2.FilingFee, "span-4")), {
|
|
85066
|
+
isVisible: directorsAddedOrDeleted
|
|
85067
|
+
}),
|
|
85068
|
+
{
|
|
85069
|
+
type: FormType.Text,
|
|
85070
|
+
formControlName: "",
|
|
85071
|
+
class: "span-12",
|
|
85072
|
+
isVisible: directorsAddedOrDeleted,
|
|
85073
|
+
dynamicLabel: (_, t) => t("The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past.")
|
|
85074
|
+
}
|
|
85075
|
+
];
|
|
85076
|
+
generateBCChangeOfDirectorsIntroFields = (registerAsOf) => [
|
|
85077
|
+
{
|
|
85078
|
+
type: FormType.Text,
|
|
85079
|
+
formControlName: "",
|
|
85080
|
+
class: "span-12",
|
|
85081
|
+
dynamicLabel: (_, t) => t("These are the directors on the corporate register as of {{date}}. Director appointments, cessations and changes to a director's details are made on the task before this filing \u2014 they cannot be added, ceased, or edited here. Ceasing or adding a director requires the checkbox and date in Filing Details above.").replace("{{date}}", registerAsOf)
|
|
85082
|
+
}
|
|
85083
|
+
];
|
|
85084
|
+
BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
|
|
85085
|
+
readOnlyRow("Mailing Address - Full Address", Controls2.MailingAddress),
|
|
85086
|
+
readOnlyRow("Delivery Address - Full Address", Controls2.DeliveryAddress)
|
|
85087
|
+
];
|
|
85088
|
+
BC_COD_DELTA_CARD_FORM_NOTIFICATION_FIELDS = [
|
|
85089
|
+
{
|
|
85090
|
+
type: FormType.Select,
|
|
85091
|
+
label: "Notification Method",
|
|
85092
|
+
formControlName: Controls2.NotificationMethod,
|
|
85093
|
+
required: true,
|
|
85094
|
+
options: BC_NOTIFICATION_METHOD_OPTIONS,
|
|
85095
|
+
needTranslate: true,
|
|
85096
|
+
class: "span-6",
|
|
85097
|
+
onChange: (form) => form.get(Controls2.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
|
|
85098
|
+
},
|
|
85099
|
+
{
|
|
85100
|
+
type: FormType.Input,
|
|
85101
|
+
label: "Notification Email",
|
|
85102
|
+
formControlName: Controls2.NotificationEmail,
|
|
85103
|
+
required: true,
|
|
85104
|
+
isVisible: (form) => !isNotifyByMail(form),
|
|
85105
|
+
class: "column-3"
|
|
85106
|
+
},
|
|
85107
|
+
{
|
|
85108
|
+
type: FormType.Text,
|
|
85109
|
+
formControlName: Controls2.NotificationMailingAddress,
|
|
85110
|
+
class: "span-12",
|
|
85111
|
+
isVisible: isNotifyByMail,
|
|
85112
|
+
dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(Controls2.NotificationMailingAddress)?.value || t("Not specified")})`
|
|
85113
|
+
}
|
|
85114
|
+
];
|
|
85115
|
+
BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
|
|
85116
|
+
{
|
|
85117
|
+
type: FormType.Text,
|
|
85118
|
+
formControlName: "",
|
|
85119
|
+
class: "span-12",
|
|
85120
|
+
dynamicLabel: (_, t) => t("Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company.")
|
|
85121
|
+
},
|
|
85122
|
+
{
|
|
85123
|
+
type: FormType.Select,
|
|
85124
|
+
label: "Annual Report Reminder",
|
|
85125
|
+
formControlName: Controls2.AnnualReportReminder,
|
|
85126
|
+
required: true,
|
|
85127
|
+
options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
|
|
85128
|
+
needTranslate: true,
|
|
85129
|
+
class: "column-3"
|
|
85130
|
+
}
|
|
85131
|
+
];
|
|
85132
|
+
}
|
|
85133
|
+
});
|
|
85134
|
+
|
|
85135
|
+
// src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts
|
|
85136
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template(rf, ctx) {
|
|
85137
|
+
if (rf & 1) {
|
|
85138
|
+
\u0275\u0275element(0, "alert", 2);
|
|
85139
|
+
}
|
|
85140
|
+
if (rf & 2) {
|
|
85141
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85142
|
+
\u0275\u0275property("type", ctx_r0.alertType.Info);
|
|
85143
|
+
}
|
|
85144
|
+
}
|
|
85145
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template(rf, ctx) {
|
|
85146
|
+
if (rf & 1) {
|
|
85147
|
+
\u0275\u0275element(0, "alert", 3);
|
|
85148
|
+
}
|
|
85149
|
+
if (rf & 2) {
|
|
85150
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85151
|
+
\u0275\u0275property("content", ctx_r0.errors());
|
|
85152
|
+
}
|
|
85153
|
+
}
|
|
85154
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template(rf, ctx) {
|
|
85155
|
+
if (rf & 1) {
|
|
85156
|
+
const _r2 = \u0275\u0275getCurrentView();
|
|
85157
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 11);
|
|
85158
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
85159
|
+
\u0275\u0275restoreView(_r2);
|
|
85160
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85161
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
|
|
85162
|
+
});
|
|
85163
|
+
\u0275\u0275elementEnd()();
|
|
85164
|
+
}
|
|
85165
|
+
if (rf & 2) {
|
|
85166
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85167
|
+
const referenceNumbers_r3 = \u0275\u0275readContextLet(4);
|
|
85168
|
+
\u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
|
|
85169
|
+
\u0275\u0275advance();
|
|
85170
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
|
|
85171
|
+
}
|
|
85172
|
+
}
|
|
85173
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template(rf, ctx) {
|
|
85174
|
+
if (rf & 1) {
|
|
85175
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 12)(2, "p")(3, "strong");
|
|
85176
|
+
\u0275\u0275text(4);
|
|
85177
|
+
\u0275\u0275pipe(5, "translate");
|
|
85178
|
+
\u0275\u0275elementEnd();
|
|
85179
|
+
\u0275\u0275text(6);
|
|
85180
|
+
\u0275\u0275elementEnd();
|
|
85181
|
+
\u0275\u0275elementStart(7, "p")(8, "strong");
|
|
85182
|
+
\u0275\u0275text(9);
|
|
85183
|
+
\u0275\u0275pipe(10, "translate");
|
|
85184
|
+
\u0275\u0275elementEnd();
|
|
85185
|
+
\u0275\u0275text(11);
|
|
85186
|
+
\u0275\u0275elementEnd();
|
|
85187
|
+
\u0275\u0275elementStart(12, "p")(13, "strong");
|
|
85188
|
+
\u0275\u0275text(14);
|
|
85189
|
+
\u0275\u0275pipe(15, "translate");
|
|
85190
|
+
\u0275\u0275elementEnd();
|
|
85191
|
+
\u0275\u0275text(16);
|
|
85192
|
+
\u0275\u0275elementEnd()()();
|
|
85193
|
+
}
|
|
85194
|
+
if (rf & 2) {
|
|
85195
|
+
let tmp_10_0;
|
|
85196
|
+
let tmp_12_0;
|
|
85197
|
+
let tmp_14_0;
|
|
85198
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85199
|
+
const corporationDetails_r4 = \u0275\u0275readContextLet(6);
|
|
85200
|
+
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
|
|
85201
|
+
\u0275\u0275advance(4);
|
|
85202
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 8, "Corporation Name"), ":");
|
|
85203
|
+
\u0275\u0275advance(2);
|
|
85204
|
+
\u0275\u0275textInterpolate1(" ", (tmp_10_0 = corporationDetails_r4.get(ctx_r0.controls.CorporationName)) == null ? null : tmp_10_0.value, " ");
|
|
85205
|
+
\u0275\u0275advance(3);
|
|
85206
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10, 10, "Incorporation Number"), ":");
|
|
85207
|
+
\u0275\u0275advance(2);
|
|
85208
|
+
\u0275\u0275textInterpolate1(" ", (tmp_12_0 = corporationDetails_r4.get(ctx_r0.controls.IncorporationNumber)) == null ? null : tmp_12_0.value, " ");
|
|
85209
|
+
\u0275\u0275advance(3);
|
|
85210
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(15, 12, "Company Email"), ":");
|
|
85211
|
+
\u0275\u0275advance(2);
|
|
85212
|
+
\u0275\u0275textInterpolate1(" ", (tmp_14_0 = corporationDetails_r4.get(ctx_r0.controls.CompanyEmail)) == null ? null : tmp_14_0.value, " ");
|
|
85213
|
+
}
|
|
85214
|
+
}
|
|
85215
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template(rf, ctx) {
|
|
85216
|
+
if (rf & 1) {
|
|
85217
|
+
const _r7 = \u0275\u0275getCurrentView();
|
|
85218
|
+
\u0275\u0275elementStart(0, "div", 16)(1, "div", 17)(2, "label");
|
|
85219
|
+
\u0275\u0275text(3);
|
|
85220
|
+
\u0275\u0275pipe(4, "translate");
|
|
85221
|
+
\u0275\u0275elementStart(5, "span");
|
|
85222
|
+
\u0275\u0275text(6, "*");
|
|
85223
|
+
\u0275\u0275elementEnd()();
|
|
85224
|
+
\u0275\u0275elementStart(7, "mat-form-field", 18)(8, "input", 19);
|
|
85225
|
+
\u0275\u0275listener("dateChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_dateChange_8_listener() {
|
|
85226
|
+
\u0275\u0275restoreView(_r7);
|
|
85227
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85228
|
+
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85229
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85230
|
+
});
|
|
85231
|
+
\u0275\u0275elementEnd();
|
|
85232
|
+
\u0275\u0275elementStart(9, "mat-datepicker-toggle", 20)(10, "mat-icon", 21);
|
|
85233
|
+
\u0275\u0275text(11, "calendar_today");
|
|
85234
|
+
\u0275\u0275elementEnd()();
|
|
85235
|
+
\u0275\u0275element(12, "mat-datepicker", null, 0);
|
|
85236
|
+
\u0275\u0275elementEnd();
|
|
85237
|
+
\u0275\u0275elementStart(14, "p", 22);
|
|
85238
|
+
\u0275\u0275text(15);
|
|
85239
|
+
\u0275\u0275pipe(16, "translate");
|
|
85240
|
+
\u0275\u0275elementEnd()();
|
|
85241
|
+
\u0275\u0275elementStart(17, "p", 23)(18, "strong");
|
|
85242
|
+
\u0275\u0275text(19);
|
|
85243
|
+
\u0275\u0275pipe(20, "translate");
|
|
85244
|
+
\u0275\u0275elementEnd();
|
|
85245
|
+
\u0275\u0275text(21);
|
|
85246
|
+
\u0275\u0275elementEnd()();
|
|
85247
|
+
}
|
|
85248
|
+
if (rf & 2) {
|
|
85249
|
+
let tmp_15_0;
|
|
85250
|
+
const changeDatePicker_r8 = \u0275\u0275reference(13);
|
|
85251
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85252
|
+
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85253
|
+
\u0275\u0275advance(3);
|
|
85254
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 7, "Date Directors were added or deleted"), "");
|
|
85255
|
+
\u0275\u0275advance(5);
|
|
85256
|
+
\u0275\u0275property("matDatepicker", changeDatePicker_r8)("formControlName", ctx_r0.controls.ChangeDate);
|
|
85257
|
+
\u0275\u0275advance();
|
|
85258
|
+
\u0275\u0275property("for", changeDatePicker_r8);
|
|
85259
|
+
\u0275\u0275advance(6);
|
|
85260
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(16, 9, "The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past."), " ");
|
|
85261
|
+
\u0275\u0275advance(4);
|
|
85262
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(20, 11, "Filing Fee"), ":");
|
|
85263
|
+
\u0275\u0275advance(2);
|
|
85264
|
+
\u0275\u0275textInterpolate1(" ", (tmp_15_0 = filingDetails_r6.get(ctx_r0.controls.FilingFee)) == null ? null : tmp_15_0.value, " ");
|
|
85265
|
+
}
|
|
85266
|
+
}
|
|
85267
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template(rf, ctx) {
|
|
85268
|
+
if (rf & 1) {
|
|
85269
|
+
const _r5 = \u0275\u0275getCurrentView();
|
|
85270
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 13)(2, "div", 14)(3, "strong");
|
|
85271
|
+
\u0275\u0275text(4);
|
|
85272
|
+
\u0275\u0275pipe(5, "translate");
|
|
85273
|
+
\u0275\u0275elementEnd();
|
|
85274
|
+
\u0275\u0275text(6);
|
|
85275
|
+
\u0275\u0275pipe(7, "translate");
|
|
85276
|
+
\u0275\u0275elementEnd();
|
|
85277
|
+
\u0275\u0275elementStart(8, "mat-checkbox", 15);
|
|
85278
|
+
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_8_listener() {
|
|
85279
|
+
let tmp_8_0;
|
|
85280
|
+
\u0275\u0275restoreView(_r5);
|
|
85281
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85282
|
+
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85283
|
+
(tmp_8_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_8_0.updateValueAndValidity({ emitEvent: false });
|
|
85284
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85285
|
+
});
|
|
85286
|
+
\u0275\u0275text(9);
|
|
85287
|
+
\u0275\u0275pipe(10, "translate");
|
|
85288
|
+
\u0275\u0275elementEnd();
|
|
85289
|
+
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 22, 13, "div", 16);
|
|
85290
|
+
\u0275\u0275elementEnd()();
|
|
85291
|
+
}
|
|
85292
|
+
if (rf & 2) {
|
|
85293
|
+
let tmp_15_0;
|
|
85294
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85295
|
+
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85296
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["filingDetails"])("title", ctx_r0.groups.FilingDetails);
|
|
85297
|
+
\u0275\u0275advance();
|
|
85298
|
+
\u0275\u0275property("formGroup", filingDetails_r6);
|
|
85299
|
+
\u0275\u0275advance(3);
|
|
85300
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 9, "Note"), ":");
|
|
85301
|
+
\u0275\u0275advance(2);
|
|
85302
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(7, 11, "There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing."), " ");
|
|
85303
|
+
\u0275\u0275advance(2);
|
|
85304
|
+
\u0275\u0275property("formControlName", ctx_r0.controls.DirectorsAddedOrDeleted);
|
|
85305
|
+
\u0275\u0275advance();
|
|
85306
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(10, 13, "Directors will be added and/or deleted as part of this filing"), " ");
|
|
85307
|
+
\u0275\u0275advance(2);
|
|
85308
|
+
\u0275\u0275conditional(((tmp_15_0 = filingDetails_r6.get(ctx_r0.controls.DirectorsAddedOrDeleted)) == null ? null : tmp_15_0.value) ? 11 : -1);
|
|
85309
|
+
}
|
|
85310
|
+
}
|
|
85311
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_4_Template(rf, ctx) {
|
|
85312
|
+
if (rf & 1) {
|
|
85313
|
+
\u0275\u0275elementStart(0, "span", 28);
|
|
85314
|
+
\u0275\u0275text(1);
|
|
85315
|
+
\u0275\u0275pipe(2, "translate");
|
|
85316
|
+
\u0275\u0275elementEnd();
|
|
85317
|
+
}
|
|
85318
|
+
if (rf & 2) {
|
|
85319
|
+
\u0275\u0275advance();
|
|
85320
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "NEW"));
|
|
85321
|
+
}
|
|
85322
|
+
}
|
|
85323
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_5_Template(rf, ctx) {
|
|
85324
|
+
if (rf & 1) {
|
|
85325
|
+
\u0275\u0275elementStart(0, "span", 29);
|
|
85326
|
+
\u0275\u0275text(1);
|
|
85327
|
+
\u0275\u0275pipe(2, "translate");
|
|
85328
|
+
\u0275\u0275elementEnd();
|
|
85329
|
+
}
|
|
85330
|
+
if (rf & 2) {
|
|
85331
|
+
\u0275\u0275advance();
|
|
85332
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "CEASE"));
|
|
85333
|
+
}
|
|
85334
|
+
}
|
|
85335
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Template(rf, ctx) {
|
|
85336
|
+
if (rf & 1) {
|
|
85337
|
+
\u0275\u0275elementStart(0, "div", 26)(1, "div", 27)(2, "strong");
|
|
85338
|
+
\u0275\u0275text(3);
|
|
85339
|
+
\u0275\u0275elementEnd();
|
|
85340
|
+
\u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span", 28)(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_5_Template, 3, 3, "span", 29);
|
|
85341
|
+
\u0275\u0275elementEnd();
|
|
85342
|
+
\u0275\u0275elementStart(6, "div", 27);
|
|
85343
|
+
\u0275\u0275text(7);
|
|
85344
|
+
\u0275\u0275elementEnd();
|
|
85345
|
+
\u0275\u0275elementStart(8, "div", 27);
|
|
85346
|
+
\u0275\u0275text(9);
|
|
85347
|
+
\u0275\u0275elementEnd()();
|
|
85348
|
+
}
|
|
85349
|
+
if (rf & 2) {
|
|
85350
|
+
let tmp_20_0;
|
|
85351
|
+
let tmp_23_0;
|
|
85352
|
+
let tmp_24_0;
|
|
85353
|
+
\u0275\u0275nextContext();
|
|
85354
|
+
const directorForm_r9 = \u0275\u0275readContextLet(0);
|
|
85355
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85356
|
+
\u0275\u0275advance(3);
|
|
85357
|
+
\u0275\u0275textInterpolate((tmp_20_0 = directorForm_r9.get(ctx_r0.controls.AffiliationName)) == null ? null : tmp_20_0.value);
|
|
85358
|
+
\u0275\u0275advance();
|
|
85359
|
+
\u0275\u0275conditional(ctx_r0.isNewDirector(directorForm_r9) ? 4 : -1);
|
|
85360
|
+
\u0275\u0275advance();
|
|
85361
|
+
\u0275\u0275conditional(ctx_r0.isCeasedDirector(directorForm_r9) ? 5 : -1);
|
|
85362
|
+
\u0275\u0275advance(2);
|
|
85363
|
+
\u0275\u0275textInterpolate((tmp_23_0 = directorForm_r9.get(ctx_r0.controls.MailingAddress)) == null ? null : tmp_23_0.value);
|
|
85364
|
+
\u0275\u0275advance(2);
|
|
85365
|
+
\u0275\u0275textInterpolate((tmp_24_0 = directorForm_r9.get(ctx_r0.controls.DeliveryAddress)) == null ? null : tmp_24_0.value);
|
|
85366
|
+
}
|
|
85367
|
+
}
|
|
85368
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Template(rf, ctx) {
|
|
85369
|
+
if (rf & 1) {
|
|
85370
|
+
\u0275\u0275declareLet(0);
|
|
85371
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Template, 10, 5, "div", 26);
|
|
85372
|
+
}
|
|
85373
|
+
if (rf & 2) {
|
|
85374
|
+
const \u0275$index_118_r10 = ctx.$index;
|
|
85375
|
+
const directorForm_r11 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_118_r10));
|
|
85376
|
+
\u0275\u0275advance();
|
|
85377
|
+
\u0275\u0275conditional(directorForm_r11 ? 1 : -1);
|
|
85378
|
+
}
|
|
85379
|
+
}
|
|
85380
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template(rf, ctx) {
|
|
85381
|
+
if (rf & 1) {
|
|
85382
|
+
\u0275\u0275elementStart(0, "div", 9)(1, "div", 24)(2, "div", 25);
|
|
85383
|
+
\u0275\u0275text(3);
|
|
85384
|
+
\u0275\u0275pipe(4, "translate");
|
|
85385
|
+
\u0275\u0275elementEnd();
|
|
85386
|
+
\u0275\u0275elementStart(5, "div", 25);
|
|
85387
|
+
\u0275\u0275text(6);
|
|
85388
|
+
\u0275\u0275pipe(7, "translate");
|
|
85389
|
+
\u0275\u0275elementEnd();
|
|
85390
|
+
\u0275\u0275elementStart(8, "div", 25);
|
|
85391
|
+
\u0275\u0275text(9);
|
|
85392
|
+
\u0275\u0275pipe(10, "translate");
|
|
85393
|
+
\u0275\u0275elementEnd()();
|
|
85394
|
+
\u0275\u0275repeaterCreate(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Template, 2, 2, null, null, \u0275\u0275repeaterTrackByIdentity);
|
|
85395
|
+
\u0275\u0275elementEnd();
|
|
85396
|
+
}
|
|
85397
|
+
if (rf & 2) {
|
|
85398
|
+
\u0275\u0275nextContext();
|
|
85399
|
+
const directorsArray_r12 = \u0275\u0275readContextLet(10);
|
|
85400
|
+
\u0275\u0275advance(3);
|
|
85401
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(4, 3, "Name"));
|
|
85402
|
+
\u0275\u0275advance(3);
|
|
85403
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(7, 5, "Mailing Address"));
|
|
85404
|
+
\u0275\u0275advance(3);
|
|
85405
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 7, "Delivery Address"));
|
|
85406
|
+
\u0275\u0275advance(2);
|
|
85407
|
+
\u0275\u0275repeater(directorsArray_r12.controls);
|
|
85408
|
+
}
|
|
85409
|
+
}
|
|
85410
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_14_Template(rf, ctx) {
|
|
85411
|
+
if (rf & 1) {
|
|
85412
|
+
\u0275\u0275elementStart(0, "h2", 10);
|
|
85413
|
+
\u0275\u0275text(1);
|
|
85414
|
+
\u0275\u0275pipe(2, "translate");
|
|
85415
|
+
\u0275\u0275elementEnd();
|
|
85416
|
+
}
|
|
85417
|
+
if (rf & 2) {
|
|
85418
|
+
\u0275\u0275advance();
|
|
85419
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "Unchanged"));
|
|
85420
|
+
}
|
|
85421
|
+
}
|
|
85422
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Conditional_9_Template(rf, ctx) {
|
|
85423
|
+
if (rf & 1) {
|
|
85424
|
+
const _r15 = \u0275\u0275getCurrentView();
|
|
85425
|
+
\u0275\u0275elementStart(0, "div", 33)(1, "label");
|
|
85426
|
+
\u0275\u0275text(2);
|
|
85427
|
+
\u0275\u0275pipe(3, "translate");
|
|
85428
|
+
\u0275\u0275elementStart(4, "span");
|
|
85429
|
+
\u0275\u0275text(5, "*");
|
|
85430
|
+
\u0275\u0275elementEnd()();
|
|
85431
|
+
\u0275\u0275elementStart(6, "mat-form-field", 18)(7, "input", 35);
|
|
85432
|
+
\u0275\u0275listener("input", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Conditional_9_Template_input_input_7_listener() {
|
|
85433
|
+
\u0275\u0275restoreView(_r15);
|
|
85434
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85435
|
+
const notification_r14 = \u0275\u0275readContextLet(15);
|
|
85436
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("notification", notification_r14.valid));
|
|
85437
|
+
});
|
|
85438
|
+
\u0275\u0275elementEnd()()();
|
|
85439
|
+
}
|
|
85440
|
+
if (rf & 2) {
|
|
85441
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85442
|
+
\u0275\u0275advance(2);
|
|
85443
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(3, 2, "Notification Email"));
|
|
85444
|
+
\u0275\u0275advance(5);
|
|
85445
|
+
\u0275\u0275property("formControlName", ctx_r0.controls.NotificationEmail);
|
|
85446
|
+
}
|
|
85447
|
+
}
|
|
85448
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Conditional_10_Template(rf, ctx) {
|
|
85449
|
+
if (rf & 1) {
|
|
85450
|
+
\u0275\u0275elementStart(0, "p", 34)(1, "strong");
|
|
85451
|
+
\u0275\u0275text(2);
|
|
85452
|
+
\u0275\u0275pipe(3, "translate");
|
|
85453
|
+
\u0275\u0275elementEnd();
|
|
85454
|
+
\u0275\u0275text(4);
|
|
85455
|
+
\u0275\u0275pipe(5, "translate");
|
|
85456
|
+
\u0275\u0275elementEnd();
|
|
85457
|
+
}
|
|
85458
|
+
if (rf & 2) {
|
|
85459
|
+
let tmp_9_0;
|
|
85460
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85461
|
+
const notification_r14 = \u0275\u0275readContextLet(15);
|
|
85462
|
+
\u0275\u0275advance(2);
|
|
85463
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(3, 2, "Mailing Address"), ":");
|
|
85464
|
+
\u0275\u0275advance(2);
|
|
85465
|
+
\u0275\u0275textInterpolate1(" ", ((tmp_9_0 = notification_r14.get(ctx_r0.controls.NotificationMailingAddress)) == null ? null : tmp_9_0.value) || \u0275\u0275pipeBind1(5, 4, "Not specified"), " ");
|
|
85466
|
+
}
|
|
85467
|
+
}
|
|
85468
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Template(rf, ctx) {
|
|
85469
|
+
if (rf & 1) {
|
|
85470
|
+
const _r13 = \u0275\u0275getCurrentView();
|
|
85471
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 30)(2, "mat-radio-group", 31);
|
|
85472
|
+
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Template_mat_radio_group_change_2_listener() {
|
|
85473
|
+
let tmp_8_0;
|
|
85474
|
+
\u0275\u0275restoreView(_r13);
|
|
85475
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85476
|
+
const notification_r14 = \u0275\u0275readContextLet(15);
|
|
85477
|
+
(tmp_8_0 = notification_r14.get(ctx_r0.controls.NotificationEmail)) == null ? null : tmp_8_0.updateValueAndValidity({ emitEvent: false });
|
|
85478
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("notification", notification_r14.valid));
|
|
85479
|
+
});
|
|
85480
|
+
\u0275\u0275elementStart(3, "mat-radio-button", 32);
|
|
85481
|
+
\u0275\u0275text(4);
|
|
85482
|
+
\u0275\u0275pipe(5, "translate");
|
|
85483
|
+
\u0275\u0275elementEnd();
|
|
85484
|
+
\u0275\u0275elementStart(6, "mat-radio-button", 32);
|
|
85485
|
+
\u0275\u0275text(7);
|
|
85486
|
+
\u0275\u0275pipe(8, "translate");
|
|
85487
|
+
\u0275\u0275elementEnd()();
|
|
85488
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Conditional_9_Template, 8, 4, "div", 33)(10, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Conditional_10_Template, 6, 6, "p", 34);
|
|
85489
|
+
\u0275\u0275elementEnd()();
|
|
85490
|
+
}
|
|
85491
|
+
if (rf & 2) {
|
|
85492
|
+
let tmp_16_0;
|
|
85493
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85494
|
+
const notification_r14 = \u0275\u0275readContextLet(15);
|
|
85495
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["notification"])("title", ctx_r0.groups.Notification);
|
|
85496
|
+
\u0275\u0275advance();
|
|
85497
|
+
\u0275\u0275property("formGroup", notification_r14);
|
|
85498
|
+
\u0275\u0275advance();
|
|
85499
|
+
\u0275\u0275property("formControlName", ctx_r0.controls.NotificationMethod);
|
|
85500
|
+
\u0275\u0275advance();
|
|
85501
|
+
\u0275\u0275property("value", ctx_r0.notificationMethodOption.Email);
|
|
85502
|
+
\u0275\u0275advance();
|
|
85503
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(5, 10, "Notify by email"), " ");
|
|
85504
|
+
\u0275\u0275advance(2);
|
|
85505
|
+
\u0275\u0275property("value", ctx_r0.notificationMethodOption.Mail);
|
|
85506
|
+
\u0275\u0275advance();
|
|
85507
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(8, 12, "Notify by mail"), " ");
|
|
85508
|
+
\u0275\u0275advance(2);
|
|
85509
|
+
\u0275\u0275conditional(((tmp_16_0 = notification_r14.get(ctx_r0.controls.NotificationMethod)) == null ? null : tmp_16_0.value) === ctx_r0.notificationMethodOption.Email ? 9 : 10);
|
|
85510
|
+
}
|
|
85511
|
+
}
|
|
85512
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_18_Template(rf, ctx) {
|
|
85513
|
+
if (rf & 1) {
|
|
85514
|
+
const _r16 = \u0275\u0275getCurrentView();
|
|
85515
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 36)(2, "p");
|
|
85516
|
+
\u0275\u0275text(3);
|
|
85517
|
+
\u0275\u0275pipe(4, "translate");
|
|
85518
|
+
\u0275\u0275elementEnd();
|
|
85519
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 31);
|
|
85520
|
+
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_18_Template_mat_radio_group_change_5_listener() {
|
|
85521
|
+
\u0275\u0275restoreView(_r16);
|
|
85522
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85523
|
+
const annualReportReminder_r17 = \u0275\u0275readContextLet(17);
|
|
85524
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder", annualReportReminder_r17.valid));
|
|
85525
|
+
});
|
|
85526
|
+
\u0275\u0275elementStart(6, "mat-radio-button", 32);
|
|
85527
|
+
\u0275\u0275text(7);
|
|
85528
|
+
\u0275\u0275pipe(8, "translate");
|
|
85529
|
+
\u0275\u0275elementEnd();
|
|
85530
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 32);
|
|
85531
|
+
\u0275\u0275text(10);
|
|
85532
|
+
\u0275\u0275pipe(11, "translate");
|
|
85533
|
+
\u0275\u0275elementEnd()()()();
|
|
85534
|
+
}
|
|
85535
|
+
if (rf & 2) {
|
|
85536
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85537
|
+
const annualReportReminder_r17 = \u0275\u0275readContextLet(17);
|
|
85538
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["annualReportReminder"])("title", ctx_r0.groups.AnnualReportReminder);
|
|
85539
|
+
\u0275\u0275advance();
|
|
85540
|
+
\u0275\u0275property("formGroup", annualReportReminder_r17);
|
|
85541
|
+
\u0275\u0275advance(2);
|
|
85542
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 10, "Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company."), " ");
|
|
85543
|
+
\u0275\u0275advance(2);
|
|
85544
|
+
\u0275\u0275property("formControlName", ctx_r0.controls.AnnualReportReminder);
|
|
85545
|
+
\u0275\u0275advance();
|
|
85546
|
+
\u0275\u0275property("value", ctx_r0.annualReportReminderOption.Yes);
|
|
85547
|
+
\u0275\u0275advance();
|
|
85548
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(8, 12, "Yes, send the annual report reminder"), " ");
|
|
85549
|
+
\u0275\u0275advance(2);
|
|
85550
|
+
\u0275\u0275property("value", ctx_r0.annualReportReminderOption.No);
|
|
85551
|
+
\u0275\u0275advance();
|
|
85552
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(11, 14, "No, I do not need to be reminded"), " ");
|
|
85553
|
+
}
|
|
85554
|
+
}
|
|
85555
|
+
var BritishColumbiaChangeOfDirectorsFormComponent;
|
|
85556
|
+
var init_change_of_directors_form_component = __esm({
|
|
85557
|
+
"src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts"() {
|
|
85558
|
+
init_core();
|
|
85559
|
+
init_forms();
|
|
85560
|
+
init_checkbox();
|
|
85561
|
+
init_datepicker();
|
|
85562
|
+
init_form_field();
|
|
85563
|
+
init_input();
|
|
85564
|
+
init_icon();
|
|
85565
|
+
init_radio();
|
|
85566
|
+
init_ngx_translate_core();
|
|
85567
|
+
init_filing_form_group_component();
|
|
85568
|
+
init_alert_component();
|
|
85569
|
+
init_alert_enum();
|
|
85570
|
+
init_expandable_card_component();
|
|
85571
|
+
init_british_columbia_form_enums();
|
|
85572
|
+
init_british_columbia_change_of_directors_form_constants();
|
|
85573
|
+
init_BritishColumbiaConstants();
|
|
85574
|
+
init_core();
|
|
85575
|
+
init_forms();
|
|
85576
|
+
BritishColumbiaChangeOfDirectorsFormComponent = class _BritishColumbiaChangeOfDirectorsFormComponent {
|
|
85577
|
+
form = input.required();
|
|
85578
|
+
task = input();
|
|
85579
|
+
errors = input([]);
|
|
85580
|
+
isNote = input(false);
|
|
85581
|
+
isSubmitted = input(false);
|
|
85582
|
+
readonly = input(false);
|
|
85583
|
+
visiblyValidChange = output();
|
|
85584
|
+
alertType = AlertType;
|
|
85585
|
+
groups = BCChangeOfDirectorsFormGroups;
|
|
85586
|
+
controls = BCChangeOfDirectorsFormControls;
|
|
85587
|
+
notificationMethodOption = BCNotificationMethod;
|
|
85588
|
+
annualReportReminderOption = BCAnnualReportReminder;
|
|
85589
|
+
referenceNumbersFields = BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
85590
|
+
corporationDetailsFields = BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS;
|
|
85591
|
+
filingDetailsFields = BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS;
|
|
85592
|
+
directorsFields = BC_COD_CARD_FORM_DIRECTORS_FIELDS;
|
|
85593
|
+
notificationFields = BC_COD_DELTA_CARD_FORM_NOTIFICATION_FIELDS;
|
|
85594
|
+
annualReportReminderFields = BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85595
|
+
directorsIntroFields = computed(() => {
|
|
85596
|
+
const date = this.form().get(this.groups.Notification)?.get(this.controls.RegisterAsOfDate)?.value ?? "";
|
|
85597
|
+
return generateBCChangeOfDirectorsIntroFields(date);
|
|
85598
|
+
});
|
|
85599
|
+
initiallyOpenCardsCount = 3;
|
|
85600
|
+
sectionValidity = {};
|
|
85601
|
+
isVisiblyValid() {
|
|
85602
|
+
return Object.values(this.sectionValidity).every((v) => v);
|
|
85603
|
+
}
|
|
85604
|
+
onSectionValidChange(section, valid) {
|
|
85605
|
+
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
85606
|
+
this.visiblyValidChange.emit(this.isVisiblyValid());
|
|
85607
|
+
}
|
|
85608
|
+
getFormGroup(key) {
|
|
85609
|
+
return this.form().get(key) ?? null;
|
|
85610
|
+
}
|
|
85611
|
+
getFormArray(key) {
|
|
85612
|
+
return this.form().get(key) ?? null;
|
|
85613
|
+
}
|
|
85614
|
+
getDirectorForm(index) {
|
|
85615
|
+
return this.getFormArray(this.groups.Directors)?.at(index) ?? null;
|
|
85616
|
+
}
|
|
85617
|
+
getDirectorStatus(formGroup) {
|
|
85618
|
+
return formGroup.get(this.controls.AffiliationType)?.value ?? "";
|
|
85619
|
+
}
|
|
85620
|
+
isNewDirector(formGroup) {
|
|
85621
|
+
return this.getDirectorStatus(formGroup) === "Add";
|
|
85622
|
+
}
|
|
85623
|
+
isCeasedDirector(formGroup) {
|
|
85624
|
+
return this.getDirectorStatus(formGroup) === "Ceased";
|
|
85625
|
+
}
|
|
85626
|
+
static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
|
|
85627
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
|
|
85628
|
+
};
|
|
85629
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsFormComponent, selectors: [["british-columbia-change-of-directors-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 19, vars: 19, consts: [["changeDatePicker", ""], [1, "change-of-directors-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-directors-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], [3, "isSubmitted", "form", "config"], ["role", "table", 1, "directors-table"], [1, "body-1-regular"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "readonly-summary"], [1, "filing-details", 3, "formGroup"], [1, "note-box"], [1, "directors-change-checkbox", 3, "change", "formControlName"], [1, "filing-details-grid"], [1, "date-field"], ["appearance", "outline"], ["matInput", "", "placeholder", "dd/mm/yyyy", 3, "dateChange", "matDatepicker", "formControlName"], ["matSuffix", "", 3, "for"], ["matDatepickerToggleIcon", ""], [1, "hint"], [1, "filing-fee"], ["role", "row", 1, "directors-table-header"], ["role", "columnheader"], ["role", "row", 1, "directors-table-row"], ["role", "cell"], [1, "status-pill", "new"], [1, "status-pill", "ceased"], [1, "notification-section", 3, "formGroup"], [3, "change", "formControlName"], [3, "value"], [1, "email-field"], [1, "mailing-copy"], ["matInput", "", 3, "input", "formControlName"], [1, "annual-reminder", 3, "formGroup"]], template: function BritishColumbiaChangeOfDirectorsFormComponent_Template(rf, ctx) {
|
|
85630
|
+
if (rf & 1) {
|
|
85631
|
+
\u0275\u0275elementStart(0, "div", 1);
|
|
85632
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert", 2)(2, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template, 1, 1, "alert", 3);
|
|
85633
|
+
\u0275\u0275elementStart(3, "div", 4);
|
|
85634
|
+
\u0275\u0275declareLet(4);
|
|
85635
|
+
\u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 5);
|
|
85636
|
+
\u0275\u0275declareLet(6);
|
|
85637
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template, 17, 14, "expandable-card", 6);
|
|
85638
|
+
\u0275\u0275declareLet(8);
|
|
85639
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card", 7);
|
|
85640
|
+
\u0275\u0275declareLet(10);
|
|
85641
|
+
\u0275\u0275elementStart(11, "expandable-card", 6);
|
|
85642
|
+
\u0275\u0275element(12, "filing-form-group", 8);
|
|
85643
|
+
\u0275\u0275template(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 13, 9, "div", 9)(14, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_14_Template, 3, 3, "h2", 10);
|
|
85644
|
+
\u0275\u0275elementEnd();
|
|
85645
|
+
\u0275\u0275declareLet(15);
|
|
85646
|
+
\u0275\u0275template(16, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Template, 11, 14, "expandable-card", 7);
|
|
85647
|
+
\u0275\u0275declareLet(17);
|
|
85648
|
+
\u0275\u0275template(18, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_18_Template, 12, 16, "expandable-card", 7);
|
|
85649
|
+
\u0275\u0275elementEnd()();
|
|
85650
|
+
}
|
|
85651
|
+
if (rf & 2) {
|
|
85652
|
+
\u0275\u0275advance();
|
|
85653
|
+
\u0275\u0275conditional(ctx.isNote() ? 1 : -1);
|
|
85654
|
+
\u0275\u0275advance();
|
|
85655
|
+
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
85656
|
+
\u0275\u0275advance(2);
|
|
85657
|
+
const referenceNumbers_r18 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
85658
|
+
\u0275\u0275advance();
|
|
85659
|
+
\u0275\u0275conditional(referenceNumbers_r18 ? 5 : -1);
|
|
85660
|
+
\u0275\u0275advance();
|
|
85661
|
+
const corporationDetails_r19 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
85662
|
+
\u0275\u0275advance();
|
|
85663
|
+
\u0275\u0275conditional(corporationDetails_r19 ? 7 : -1);
|
|
85664
|
+
\u0275\u0275advance();
|
|
85665
|
+
const filingDetails_r20 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.FilingDetails));
|
|
85666
|
+
\u0275\u0275advance();
|
|
85667
|
+
\u0275\u0275conditional(filingDetails_r20 ? 9 : -1);
|
|
85668
|
+
\u0275\u0275advance();
|
|
85669
|
+
const directorsArray_r21 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
|
|
85670
|
+
\u0275\u0275advance();
|
|
85671
|
+
\u0275\u0275property("isStatusIcon", false)("title", ctx.groups.Directors);
|
|
85672
|
+
\u0275\u0275advance();
|
|
85673
|
+
\u0275\u0275property("isSubmitted", ctx.isSubmitted())("form", ctx.form())("config", ctx.directorsIntroFields());
|
|
85674
|
+
\u0275\u0275advance();
|
|
85675
|
+
\u0275\u0275conditional(directorsArray_r21 && directorsArray_r21.length ? 13 : 14);
|
|
85676
|
+
\u0275\u0275advance(2);
|
|
85677
|
+
const notification_r22 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.Notification));
|
|
85678
|
+
\u0275\u0275advance();
|
|
85679
|
+
\u0275\u0275conditional(notification_r22 ? 16 : -1);
|
|
85680
|
+
\u0275\u0275advance();
|
|
85681
|
+
const annualReportReminder_r23 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
85682
|
+
\u0275\u0275advance();
|
|
85683
|
+
\u0275\u0275conditional(annualReportReminder_r23 ? 18 : -1);
|
|
85684
|
+
}
|
|
85685
|
+
}, dependencies: [
|
|
85686
|
+
FilingFormGroupComponent,
|
|
85687
|
+
AlertComponent,
|
|
85688
|
+
ExpandableCardComponent,
|
|
85689
|
+
MatCheckbox,
|
|
85690
|
+
MatDatepicker,
|
|
85691
|
+
MatDatepickerInput,
|
|
85692
|
+
MatDatepickerToggle,
|
|
85693
|
+
MatFormField,
|
|
85694
|
+
MatIcon,
|
|
85695
|
+
MatInput,
|
|
85696
|
+
MatRadioButton,
|
|
85697
|
+
MatRadioGroup,
|
|
85698
|
+
ReactiveFormsModule,
|
|
85699
|
+
DefaultValueAccessor,
|
|
85700
|
+
NgControlStatus,
|
|
85701
|
+
NgControlStatusGroup,
|
|
85702
|
+
FormGroupDirective,
|
|
85703
|
+
FormControlName,
|
|
85704
|
+
TranslatePipe
|
|
85705
|
+
], styles: ["\n\n[_nghost-%COMP%] {\n display: flex;\n flex: 1;\n min-height: 0;\n color: #2f343b;\n}\n[_nghost-%COMP%] .change-of-directors-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n min-height: 0;\n width: 100%;\n}\n[_nghost-%COMP%] .change-of-directors-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: 20px;\n min-height: 0;\n overflow-y: auto;\n padding-right: 8px;\n}\n[_nghost-%COMP%] .expandable-card {\n border: 1px solid #e1e6ee;\n border-radius: 8px;\n box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12) !important;\n margin: 0 !important;\n padding: 24px 28px !important;\n}\n[_nghost-%COMP%] .expandable-card-header-title {\n color: #2f343b !important;\n font-weight: 700 !important;\n line-height: 1.2;\n margin: 0;\n}\n[_nghost-%COMP%] .expandable-card-header mat-icon {\n color: #66717f !important;\n}\n[_nghost-%COMP%] .expandable-card-content {\n padding-top: 20px !important;\n}\n[_nghost-%COMP%] .filling-form-fields {\n column-gap: 42px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label, \n[_nghost-%COMP%] .mat-mdc-radio-button .mdc-label, \n[_nghost-%COMP%] .mat-mdc-checkbox .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .mat-mdc-radio-button, \n[_nghost-%COMP%] .mat-mdc-checkbox {\n --mdc-radio-state-layer-size: 40px;\n --mdc-checkbox-state-layer-size: 40px;\n}\n[_nghost-%COMP%] .mat-mdc-form-field {\n width: 100%;\n}\n[_nghost-%COMP%] .mat-mdc-text-field-wrapper {\n min-height: 46px;\n}\n[_nghost-%COMP%] .mat-mdc-form-field-infix {\n align-items: center;\n display: flex !important;\n min-height: 46px;\n padding-bottom: 0 !important;\n padding-top: 0 !important;\n}\n[_nghost-%COMP%] .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n[_nghost-%COMP%] .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 18px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n}\n[_nghost-%COMP%] .filing-details[_ngcontent-%COMP%], \n[_nghost-%COMP%] .notification-section[_ngcontent-%COMP%], \n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] {\n border: 1px solid #f3d27a;\n border-radius: 6px;\n background: #fffaf0;\n color: #84610d;\n font-size: 14px;\n line-height: 1.55;\n padding: 16px 20px;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n font-weight: 700;\n}\n[_nghost-%COMP%] .directors-change-checkbox[_ngcontent-%COMP%] {\n align-self: flex-start;\n}\n[_nghost-%COMP%] .filing-details-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(280px, 1fr) minmax(220px, 1fr);\n column-gap: 56px;\n align-items: start;\n max-width: 980px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] span[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n color: #e22222;\n}\n[_nghost-%COMP%] .hint[_ngcontent-%COMP%], \n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] p[_ngcontent-%COMP%], \n[_nghost-%COMP%] .mailing-copy[_ngcontent-%COMP%] {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n[_nghost-%COMP%] .filing-fee[_ngcontent-%COMP%] {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n margin: 46px 0 0;\n}\n[_nghost-%COMP%] .filing-fee[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n}\n[_nghost-%COMP%] .directors-table[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.65fr) minmax(280px, 1.65fr);\n margin-top: 28px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%], \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] {\n display: contents;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n border-bottom: 1px solid #e1e6ee;\n padding: 16px 24px;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child), \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child) {\n border-left: 1px solid #e1e6ee;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n padding-top: 0;\n}\n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n display: block;\n font-weight: 700;\n margin-bottom: 8px;\n}\n[_nghost-%COMP%] .status-pill[_ngcontent-%COMP%] {\n border-radius: 999px;\n display: inline-flex;\n font-size: 12px;\n font-weight: 700;\n line-height: 1;\n padding: 6px 12px;\n}\n[_nghost-%COMP%] .status-pill.new[_ngcontent-%COMP%] {\n background: #eaf7ef;\n border: 1px solid #b8e3c7;\n color: #15803d;\n}\n[_nghost-%COMP%] .status-pill.ceased[_ngcontent-%COMP%] {\n background: #fff1f2;\n border: 1px solid #fecdd3;\n color: #be123c;\n}\n[_nghost-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n display: flex;\n gap: 48px;\n}\n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n align-items: flex-start;\n flex-direction: column;\n gap: 14px;\n}\n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] .mat-mdc-input-element {\n align-self: center;\n height: 20px;\n line-height: 20px;\n padding: 0 !important;\n}\n@media (max-width: 900px) {\n [_nghost-%COMP%] .filing-details-grid[_ngcontent-%COMP%], \n [_nghost-%COMP%] .directors-table[_ngcontent-%COMP%] {\n grid-template-columns: 1fr;\n }\n [_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] {\n display: none;\n }\n [_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: 1fr;\n border-bottom: 1px solid #e1e6ee;\n }\n [_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n border: 0;\n padding: 14px 0;\n }\n [_nghost-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n flex-direction: column;\n gap: 14px;\n }\n}\n/*# sourceMappingURL=change-of-directors-form.component.css.map */"], changeDetection: 0 });
|
|
85706
|
+
};
|
|
85707
|
+
(() => {
|
|
85708
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfDirectorsFormComponent, [{
|
|
85709
|
+
type: Component,
|
|
85710
|
+
args: [{ standalone: true, selector: "british-columbia-change-of-directors-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
85711
|
+
FilingFormGroupComponent,
|
|
85712
|
+
AlertComponent,
|
|
85713
|
+
ExpandableCardComponent,
|
|
85714
|
+
MatCheckbox,
|
|
85715
|
+
MatDatepicker,
|
|
85716
|
+
MatDatepickerInput,
|
|
85717
|
+
MatDatepickerToggle,
|
|
85718
|
+
MatFormField,
|
|
85719
|
+
MatIcon,
|
|
85720
|
+
MatInput,
|
|
85721
|
+
MatRadioButton,
|
|
85722
|
+
MatRadioGroup,
|
|
85723
|
+
ReactiveFormsModule,
|
|
85724
|
+
TranslatePipe
|
|
85725
|
+
], template: `<div class="change-of-directors-form">
|
|
85726
|
+
@if (isNote()) {
|
|
85727
|
+
<alert
|
|
85728
|
+
[type]="alertType.Info"
|
|
85729
|
+
title="Entity changed"
|
|
85730
|
+
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."
|
|
85731
|
+
/>
|
|
85732
|
+
}
|
|
85733
|
+
|
|
85734
|
+
@if (errors().length) {
|
|
85735
|
+
<alert
|
|
85736
|
+
title="The following issues need to be resolved before proceeding:"
|
|
85737
|
+
[content]="errors()"
|
|
85738
|
+
/>
|
|
85739
|
+
}
|
|
85740
|
+
|
|
85741
|
+
<div class="change-of-directors-form-content">
|
|
85742
|
+
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);
|
|
85743
|
+
|
|
85744
|
+
@if (referenceNumbers) {
|
|
85745
|
+
<expandable-card [title]="groups.ReferenceNumbers">
|
|
85746
|
+
<filing-form-group
|
|
85747
|
+
[isSubmitted]="isSubmitted()"
|
|
85748
|
+
[form]="referenceNumbers"
|
|
85749
|
+
[config]="referenceNumbersFields"
|
|
85750
|
+
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"
|
|
85751
|
+
/>
|
|
85752
|
+
</expandable-card>
|
|
85753
|
+
}
|
|
85754
|
+
|
|
85755
|
+
@let corporationDetails = getFormGroup(groups.CorporationDetails);
|
|
85756
|
+
|
|
85757
|
+
@if (corporationDetails) {
|
|
85758
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">
|
|
85759
|
+
<div class="readonly-summary">
|
|
85760
|
+
<p>
|
|
85761
|
+
<strong>{{ 'Corporation Name' | translate }}:</strong>
|
|
85762
|
+
{{ corporationDetails.get(controls.CorporationName)?.value }}
|
|
85763
|
+
</p>
|
|
85764
|
+
<p>
|
|
85765
|
+
<strong>{{ 'Incorporation Number' | translate }}:</strong>
|
|
85766
|
+
{{ corporationDetails.get(controls.IncorporationNumber)?.value }}
|
|
85767
|
+
</p>
|
|
85768
|
+
<p>
|
|
85769
|
+
<strong>{{ 'Company Email' | translate }}:</strong>
|
|
85770
|
+
{{ corporationDetails.get(controls.CompanyEmail)?.value }}
|
|
85771
|
+
</p>
|
|
85772
|
+
</div>
|
|
85773
|
+
</expandable-card>
|
|
85774
|
+
}
|
|
85775
|
+
|
|
85776
|
+
@let filingDetails = getFormGroup(groups.FilingDetails);
|
|
85777
|
+
|
|
85778
|
+
@if (filingDetails) {
|
|
85779
|
+
<expandable-card
|
|
85780
|
+
[isStatusIcon]="!readonly()"
|
|
85781
|
+
[isValid]="sectionValidity['filingDetails']"
|
|
85782
|
+
[title]="groups.FilingDetails"
|
|
85783
|
+
>
|
|
85784
|
+
<div class="filing-details" [formGroup]="filingDetails">
|
|
85785
|
+
<div class="note-box">
|
|
85786
|
+
<strong>{{ 'Note' | translate }}:</strong>
|
|
85787
|
+
{{
|
|
85788
|
+
'There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing.'
|
|
85789
|
+
| translate
|
|
85790
|
+
}}
|
|
85791
|
+
</div>
|
|
85792
|
+
|
|
85793
|
+
<mat-checkbox
|
|
85794
|
+
class="directors-change-checkbox"
|
|
85795
|
+
[formControlName]="controls.DirectorsAddedOrDeleted"
|
|
85796
|
+
(change)="
|
|
85797
|
+
filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85798
|
+
onSectionValidChange('filingDetails', filingDetails.valid)
|
|
85799
|
+
"
|
|
85800
|
+
>
|
|
85801
|
+
{{ 'Directors will be added and/or deleted as part of this filing' | translate }}
|
|
85802
|
+
</mat-checkbox>
|
|
85803
|
+
|
|
85804
|
+
@if (filingDetails.get(controls.DirectorsAddedOrDeleted)?.value) {
|
|
85805
|
+
<div class="filing-details-grid">
|
|
85806
|
+
<div class="date-field">
|
|
85807
|
+
<label>
|
|
85808
|
+
{{ 'Date Directors were added or deleted' | translate }}<span>*</span>
|
|
85809
|
+
</label>
|
|
85810
|
+
<mat-form-field appearance="outline">
|
|
85811
|
+
<input
|
|
85812
|
+
matInput
|
|
85813
|
+
[matDatepicker]="changeDatePicker"
|
|
85814
|
+
[formControlName]="controls.ChangeDate"
|
|
85815
|
+
(dateChange)="onSectionValidChange('filingDetails', filingDetails.valid)"
|
|
85816
|
+
placeholder="dd/mm/yyyy"
|
|
85817
|
+
/>
|
|
85818
|
+
<mat-datepicker-toggle matSuffix [for]="changeDatePicker">
|
|
85819
|
+
<mat-icon matDatepickerToggleIcon>calendar_today</mat-icon>
|
|
85820
|
+
</mat-datepicker-toggle>
|
|
85821
|
+
<mat-datepicker #changeDatePicker></mat-datepicker>
|
|
85822
|
+
</mat-form-field>
|
|
85823
|
+
<p class="hint">
|
|
85824
|
+
{{
|
|
85825
|
+
"The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past."
|
|
85826
|
+
| translate
|
|
85827
|
+
}}
|
|
85828
|
+
</p>
|
|
85829
|
+
</div>
|
|
85830
|
+
|
|
85831
|
+
<p class="filing-fee">
|
|
85832
|
+
<strong>{{ 'Filing Fee' | translate }}:</strong>
|
|
85833
|
+
{{ filingDetails.get(controls.FilingFee)?.value }}
|
|
85834
|
+
</p>
|
|
85835
|
+
</div>
|
|
85836
|
+
}
|
|
85837
|
+
</div>
|
|
85838
|
+
</expandable-card>
|
|
85839
|
+
}
|
|
85840
|
+
|
|
85841
|
+
@let directorsArray = getFormArray(groups.Directors);
|
|
85842
|
+
|
|
85843
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.Directors">
|
|
85844
|
+
<filing-form-group
|
|
85845
|
+
[isSubmitted]="isSubmitted()"
|
|
85846
|
+
[form]="form()"
|
|
85847
|
+
[config]="directorsIntroFields()"
|
|
85848
|
+
/>
|
|
85849
|
+
|
|
85850
|
+
@if (directorsArray && directorsArray.length) {
|
|
85851
|
+
<div class="directors-table" role="table">
|
|
85852
|
+
<div class="directors-table-header" role="row">
|
|
85853
|
+
<div role="columnheader">{{ 'Name' | translate }}</div>
|
|
85854
|
+
<div role="columnheader">{{ 'Mailing Address' | translate }}</div>
|
|
85855
|
+
<div role="columnheader">{{ 'Delivery Address' | translate }}</div>
|
|
85856
|
+
</div>
|
|
85857
|
+
|
|
85858
|
+
@for (director of directorsArray.controls; track director; let i = $index) {
|
|
85859
|
+
@let directorForm = getDirectorForm(i);
|
|
85860
|
+
@if (directorForm) {
|
|
85861
|
+
<div class="directors-table-row" role="row">
|
|
85862
|
+
<div role="cell">
|
|
85863
|
+
<strong>{{ directorForm.get(controls.AffiliationName)?.value }}</strong>
|
|
85864
|
+
@if (isNewDirector(directorForm)) {
|
|
85865
|
+
<span class="status-pill new">{{ 'NEW' | translate }}</span>
|
|
85866
|
+
}
|
|
85867
|
+
@if (isCeasedDirector(directorForm)) {
|
|
85868
|
+
<span class="status-pill ceased">{{ 'CEASE' | translate }}</span>
|
|
85869
|
+
}
|
|
85870
|
+
</div>
|
|
85871
|
+
<div role="cell">{{ directorForm.get(controls.MailingAddress)?.value }}</div>
|
|
85872
|
+
<div role="cell">{{ directorForm.get(controls.DeliveryAddress)?.value }}</div>
|
|
85873
|
+
</div>
|
|
85874
|
+
}
|
|
85875
|
+
}
|
|
85876
|
+
</div>
|
|
85877
|
+
} @else {
|
|
85878
|
+
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>
|
|
85879
|
+
}
|
|
85880
|
+
</expandable-card>
|
|
85881
|
+
|
|
85882
|
+
@let notification = getFormGroup(groups.Notification);
|
|
85883
|
+
|
|
85884
|
+
@if (notification) {
|
|
85885
|
+
<expandable-card
|
|
85886
|
+
[isStatusIcon]="!readonly()"
|
|
85887
|
+
[isValid]="sectionValidity['notification']"
|
|
85888
|
+
[title]="groups.Notification"
|
|
85889
|
+
>
|
|
85890
|
+
<div class="notification-section" [formGroup]="notification">
|
|
85891
|
+
<mat-radio-group
|
|
85892
|
+
[formControlName]="controls.NotificationMethod"
|
|
85893
|
+
(change)="
|
|
85894
|
+
notification.get(controls.NotificationEmail)?.updateValueAndValidity({ emitEvent: false });
|
|
85895
|
+
onSectionValidChange('notification', notification.valid)
|
|
85896
|
+
"
|
|
85897
|
+
>
|
|
85898
|
+
<mat-radio-button [value]="notificationMethodOption.Email">
|
|
85899
|
+
{{ 'Notify by email' | translate }}
|
|
85900
|
+
</mat-radio-button>
|
|
85901
|
+
<mat-radio-button [value]="notificationMethodOption.Mail">
|
|
85902
|
+
{{ 'Notify by mail' | translate }}
|
|
85903
|
+
</mat-radio-button>
|
|
85904
|
+
</mat-radio-group>
|
|
85905
|
+
|
|
85906
|
+
@if (notification.get(controls.NotificationMethod)?.value === notificationMethodOption.Email) {
|
|
85907
|
+
<div class="email-field">
|
|
85908
|
+
<label>{{ 'Notification Email' | translate }}<span>*</span></label>
|
|
85909
|
+
<mat-form-field appearance="outline">
|
|
85910
|
+
<input
|
|
85911
|
+
matInput
|
|
85912
|
+
[formControlName]="controls.NotificationEmail"
|
|
85913
|
+
(input)="onSectionValidChange('notification', notification.valid)"
|
|
85914
|
+
/>
|
|
85915
|
+
</mat-form-field>
|
|
85916
|
+
</div>
|
|
85917
|
+
} @else {
|
|
85918
|
+
<p class="mailing-copy">
|
|
85919
|
+
<strong>{{ 'Mailing Address' | translate }}:</strong>
|
|
85920
|
+
{{ notification.get(controls.NotificationMailingAddress)?.value || ('Not specified' | translate) }}
|
|
85921
|
+
</p>
|
|
85922
|
+
}
|
|
85923
|
+
</div>
|
|
85924
|
+
</expandable-card>
|
|
85925
|
+
}
|
|
85926
|
+
|
|
85927
|
+
@let annualReportReminder = getFormGroup(groups.AnnualReportReminder);
|
|
85928
|
+
|
|
85929
|
+
@if (annualReportReminder) {
|
|
85930
|
+
<expandable-card
|
|
85931
|
+
[isStatusIcon]="!readonly()"
|
|
85932
|
+
[isValid]="sectionValidity['annualReportReminder']"
|
|
85933
|
+
[title]="groups.AnnualReportReminder"
|
|
85934
|
+
>
|
|
85935
|
+
<div class="annual-reminder" [formGroup]="annualReportReminder">
|
|
85936
|
+
<p>
|
|
85937
|
+
{{
|
|
85938
|
+
"Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company."
|
|
85939
|
+
| translate
|
|
85940
|
+
}}
|
|
85941
|
+
</p>
|
|
85942
|
+
<mat-radio-group
|
|
85943
|
+
[formControlName]="controls.AnnualReportReminder"
|
|
85944
|
+
(change)="onSectionValidChange('annualReportReminder', annualReportReminder.valid)"
|
|
85945
|
+
>
|
|
85946
|
+
<mat-radio-button [value]="annualReportReminderOption.Yes">
|
|
85947
|
+
{{ 'Yes, send the annual report reminder' | translate }}
|
|
85948
|
+
</mat-radio-button>
|
|
85949
|
+
<mat-radio-button [value]="annualReportReminderOption.No">
|
|
85950
|
+
{{ 'No, I do not need to be reminded' | translate }}
|
|
85951
|
+
</mat-radio-button>
|
|
85952
|
+
</mat-radio-group>
|
|
85953
|
+
</div>
|
|
85954
|
+
</expandable-card>
|
|
85955
|
+
}
|
|
85956
|
+
</div>
|
|
85957
|
+
</div>
|
|
85958
|
+
`, styles: ["/* src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.scss */\n:host {\n display: flex;\n flex: 1;\n min-height: 0;\n color: #2f343b;\n}\n:host .change-of-directors-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n min-height: 0;\n width: 100%;\n}\n:host .change-of-directors-form-content {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: 20px;\n min-height: 0;\n overflow-y: auto;\n padding-right: 8px;\n}\n:host ::ng-deep .expandable-card {\n border: 1px solid #e1e6ee;\n border-radius: 8px;\n box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12) !important;\n margin: 0 !important;\n padding: 24px 28px !important;\n}\n:host ::ng-deep .expandable-card-header-title {\n color: #2f343b !important;\n font-weight: 700 !important;\n line-height: 1.2;\n margin: 0;\n}\n:host ::ng-deep .expandable-card-header mat-icon {\n color: #66717f !important;\n}\n:host ::ng-deep .expandable-card-content {\n padding-top: 20px !important;\n}\n:host ::ng-deep .filling-form-fields {\n column-gap: 42px !important;\n}\n:host ::ng-deep .filling-form-fields-item-label,\n:host ::ng-deep .mat-mdc-radio-button .mdc-label,\n:host ::ng-deep .mat-mdc-checkbox .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n:host ::ng-deep .mat-mdc-radio-button,\n:host ::ng-deep .mat-mdc-checkbox {\n --mdc-radio-state-layer-size: 40px;\n --mdc-checkbox-state-layer-size: 40px;\n}\n:host ::ng-deep .mat-mdc-form-field {\n width: 100%;\n}\n:host ::ng-deep .mat-mdc-text-field-wrapper {\n min-height: 46px;\n}\n:host ::ng-deep .mat-mdc-form-field-infix {\n align-items: center;\n display: flex !important;\n min-height: 46px;\n padding-bottom: 0 !important;\n padding-top: 0 !important;\n}\n:host ::ng-deep .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n:host ::ng-deep .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n:host .readonly-summary {\n display: flex;\n flex-direction: column;\n gap: 18px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n:host .readonly-summary p {\n margin: 0;\n}\n:host .readonly-summary strong {\n color: #2f343b;\n font-weight: 700;\n}\n:host .filing-details,\n:host .notification-section,\n:host .annual-reminder {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n:host .note-box {\n border: 1px solid #f3d27a;\n border-radius: 6px;\n background: #fffaf0;\n color: #84610d;\n font-size: 14px;\n line-height: 1.55;\n padding: 16px 20px;\n}\n:host .note-box strong {\n font-weight: 700;\n}\n:host .directors-change-checkbox {\n align-self: flex-start;\n}\n:host .filing-details-grid {\n display: grid;\n grid-template-columns: minmax(280px, 1fr) minmax(220px, 1fr);\n column-gap: 56px;\n align-items: start;\n max-width: 980px;\n}\n:host .date-field,\n:host .email-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .date-field label,\n:host .email-field label {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n:host .date-field span,\n:host .email-field span {\n color: #e22222;\n}\n:host .hint,\n:host .annual-reminder p,\n:host .mailing-copy {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n:host .filing-fee {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n margin: 46px 0 0;\n}\n:host .filing-fee strong {\n color: #2f343b;\n font-weight: 700;\n}\n:host .directors-table {\n display: grid;\n grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.65fr) minmax(280px, 1.65fr);\n margin-top: 28px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.45;\n}\n:host .directors-table-header,\n:host .directors-table-row {\n display: contents;\n}\n:host .directors-table-header > div,\n:host .directors-table-row > div {\n border-bottom: 1px solid #e1e6ee;\n padding: 16px 24px;\n}\n:host .directors-table-header > div:not(:first-child),\n:host .directors-table-row > div:not(:first-child) {\n border-left: 1px solid #e1e6ee;\n}\n:host .directors-table-header > div {\n color: #2f343b;\n font-weight: 700;\n padding-top: 0;\n}\n:host .directors-table-row strong {\n color: #2f343b;\n display: block;\n font-weight: 700;\n margin-bottom: 8px;\n}\n:host .status-pill {\n border-radius: 999px;\n display: inline-flex;\n font-size: 12px;\n font-weight: 700;\n line-height: 1;\n padding: 6px 12px;\n}\n:host .status-pill.new {\n background: #eaf7ef;\n border: 1px solid #b8e3c7;\n color: #15803d;\n}\n:host .status-pill.ceased {\n background: #fff1f2;\n border: 1px solid #fecdd3;\n color: #be123c;\n}\n:host mat-radio-group {\n display: flex;\n gap: 48px;\n}\n:host .annual-reminder mat-radio-group {\n align-items: flex-start;\n flex-direction: column;\n gap: 14px;\n}\n:host .email-field ::ng-deep .mat-mdc-input-element {\n align-self: center;\n height: 20px;\n line-height: 20px;\n padding: 0 !important;\n}\n@media (max-width: 900px) {\n :host .filing-details-grid,\n :host .directors-table {\n grid-template-columns: 1fr;\n }\n :host .directors-table-header {\n display: none;\n }\n :host .directors-table-row {\n display: grid;\n grid-template-columns: 1fr;\n border-bottom: 1px solid #e1e6ee;\n }\n :host .directors-table-row > div {\n border: 0;\n padding: 14px 0;\n }\n :host mat-radio-group {\n flex-direction: column;\n gap: 14px;\n }\n}\n/*# sourceMappingURL=change-of-directors-form.component.css.map */\n"] }]
|
|
85959
|
+
}], null, null);
|
|
85960
|
+
})();
|
|
85961
|
+
(() => {
|
|
85962
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsFormComponent, { className: "BritishColumbiaChangeOfDirectorsFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts", lineNumber: 68 });
|
|
85963
|
+
})();
|
|
85964
|
+
}
|
|
85965
|
+
});
|
|
85966
|
+
|
|
85967
|
+
// src/app/components/british-columbia/change-of-directors/steps/delta/change-of-directors-delta-form.component.ts
|
|
85968
|
+
var BritishColumbiaChangeOfDirectorsDeltaFormComponent;
|
|
85969
|
+
var init_change_of_directors_delta_form_component = __esm({
|
|
85970
|
+
"src/app/components/british-columbia/change-of-directors/steps/delta/change-of-directors-delta-form.component.ts"() {
|
|
85971
|
+
init_core();
|
|
85972
|
+
init_button();
|
|
85973
|
+
init_ngx_translate_core();
|
|
85974
|
+
init_common_utils();
|
|
85975
|
+
init_change_of_directors_form_component();
|
|
85976
|
+
init_core();
|
|
85977
|
+
BritishColumbiaChangeOfDirectorsDeltaFormComponent = class _BritishColumbiaChangeOfDirectorsDeltaFormComponent {
|
|
85978
|
+
form = input.required();
|
|
85979
|
+
actionsDisabled = input(false);
|
|
85980
|
+
isNote = input(false);
|
|
85981
|
+
task = input();
|
|
85982
|
+
errors = input([]);
|
|
85983
|
+
close = output();
|
|
85984
|
+
save = output();
|
|
85985
|
+
validate = output();
|
|
85986
|
+
submitted = signal(false);
|
|
85987
|
+
visiblyValid = signal(true);
|
|
85988
|
+
clientErrors = signal([]);
|
|
85989
|
+
translate = inject(TranslateService);
|
|
85990
|
+
combinedErrors = computed(() => {
|
|
85991
|
+
const client = this.clientErrors();
|
|
85992
|
+
return client.length ? client : this.errors();
|
|
85993
|
+
});
|
|
85994
|
+
onVisiblyValidChange(valid) {
|
|
85995
|
+
this.visiblyValid.set(valid);
|
|
85996
|
+
}
|
|
85997
|
+
onValidate() {
|
|
85998
|
+
this.submitted.set(true);
|
|
85999
|
+
this.clientErrors.set([]);
|
|
86000
|
+
markFormGroupTouched(this.form());
|
|
86001
|
+
if (!this.visiblyValid()) {
|
|
86002
|
+
this.clientErrors.set([this.translate.instant("Some required fields aren't completed.")]);
|
|
86003
|
+
return;
|
|
86004
|
+
}
|
|
86005
|
+
this.validate.emit();
|
|
86006
|
+
}
|
|
86007
|
+
static \u0275fac = function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Factory(__ngFactoryType__) {
|
|
86008
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsDeltaFormComponent)();
|
|
86009
|
+
};
|
|
86010
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsDeltaFormComponent, selectors: [["british-columbia-change-of-directors-delta-form"]], inputs: { form: [1, "form"], actionsDisabled: [1, "actionsDisabled"], isNote: [1, "isNote"], task: [1, "task"], errors: [1, "errors"] }, outputs: { close: "close", save: "save", validate: "validate" }, decls: 15, vars: 18, consts: [[1, "change-of-directors-delta-form"], [1, "change-of-directors-delta-form-content", 3, "visiblyValidChange", "form", "task", "errors", "isNote", "isSubmitted", "readonly"], [1, "change-of-directors-delta-form-actions"], ["mat-stroked-button", "", "mat-button", "", 3, "click", "disabled"], [1, "body-1-semibold"], ["color", "primary", "mat-flat-button", "", 1, "submit", 3, "click", "disabled"]], template: function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Template(rf, ctx) {
|
|
86011
|
+
if (rf & 1) {
|
|
86012
|
+
\u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-directors-form", 1);
|
|
86013
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Template_british_columbia_change_of_directors_form_visiblyValidChange_1_listener($event) {
|
|
86014
|
+
return ctx.onVisiblyValidChange($event);
|
|
86015
|
+
});
|
|
86016
|
+
\u0275\u0275elementEnd();
|
|
86017
|
+
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
86018
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Template_button_click_3_listener() {
|
|
86019
|
+
return ctx.close.emit();
|
|
86020
|
+
});
|
|
86021
|
+
\u0275\u0275elementStart(4, "span", 4);
|
|
86022
|
+
\u0275\u0275text(5);
|
|
86023
|
+
\u0275\u0275pipe(6, "translate");
|
|
86024
|
+
\u0275\u0275elementEnd()();
|
|
86025
|
+
\u0275\u0275elementStart(7, "button", 3);
|
|
86026
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Template_button_click_7_listener() {
|
|
86027
|
+
return ctx.save.emit();
|
|
86028
|
+
});
|
|
86029
|
+
\u0275\u0275elementStart(8, "span", 4);
|
|
86030
|
+
\u0275\u0275text(9);
|
|
86031
|
+
\u0275\u0275pipe(10, "translate");
|
|
86032
|
+
\u0275\u0275elementEnd()();
|
|
86033
|
+
\u0275\u0275elementStart(11, "button", 5);
|
|
86034
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Template_button_click_11_listener() {
|
|
86035
|
+
return ctx.onValidate();
|
|
86036
|
+
});
|
|
86037
|
+
\u0275\u0275elementStart(12, "span", 4);
|
|
86038
|
+
\u0275\u0275text(13);
|
|
86039
|
+
\u0275\u0275pipe(14, "translate");
|
|
86040
|
+
\u0275\u0275elementEnd()()()();
|
|
86041
|
+
}
|
|
86042
|
+
if (rf & 2) {
|
|
86043
|
+
\u0275\u0275advance();
|
|
86044
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
|
|
86045
|
+
\u0275\u0275advance(2);
|
|
86046
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
86047
|
+
\u0275\u0275advance(2);
|
|
86048
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
|
|
86049
|
+
\u0275\u0275advance(2);
|
|
86050
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
86051
|
+
\u0275\u0275advance(2);
|
|
86052
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
|
|
86053
|
+
\u0275\u0275advance(2);
|
|
86054
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
86055
|
+
\u0275\u0275advance(2);
|
|
86056
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
|
|
86057
|
+
}
|
|
86058
|
+
}, dependencies: [MatButton, TranslatePipe, BritishColumbiaChangeOfDirectorsFormComponent], styles: ["\n\n[_nghost-%COMP%] .change-of-directors-delta-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-directors-delta-form-content[_ngcontent-%COMP%] {\n flex: 1;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-directors-delta-form-actions[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n[_nghost-%COMP%] .change-of-directors-delta-form-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n margin: 0;\n}\n[_nghost-%COMP%] .change-of-directors-delta-form-actions[_ngcontent-%COMP%] .submit[_ngcontent-%COMP%] {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=change-of-directors-delta-form.component.css.map */"], changeDetection: 0 });
|
|
86059
|
+
};
|
|
86060
|
+
(() => {
|
|
86061
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfDirectorsDeltaFormComponent, [{
|
|
86062
|
+
type: Component,
|
|
86063
|
+
args: [{ standalone: true, selector: "british-columbia-change-of-directors-delta-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, TranslatePipe, BritishColumbiaChangeOfDirectorsFormComponent], template: `<div class="change-of-directors-delta-form">\r
|
|
86064
|
+
<british-columbia-change-of-directors-form\r
|
|
86065
|
+
class="change-of-directors-delta-form-content"\r
|
|
86066
|
+
[form]="form()"\r
|
|
86067
|
+
[task]="task()"\r
|
|
86068
|
+
[errors]="combinedErrors()"\r
|
|
86069
|
+
[isNote]="isNote()"\r
|
|
86070
|
+
[isSubmitted]="submitted()"\r
|
|
86071
|
+
[readonly]="false"\r
|
|
86072
|
+
(visiblyValidChange)="onVisiblyValidChange($event)"\r
|
|
86073
|
+
/>\r
|
|
86074
|
+
\r
|
|
86075
|
+
<div class="change-of-directors-delta-form-actions">\r
|
|
86076
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
86077
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
86078
|
+
</button>\r
|
|
86079
|
+
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
|
|
86080
|
+
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
|
|
86081
|
+
</button>\r
|
|
86082
|
+
<button\r
|
|
86083
|
+
class="submit"\r
|
|
86084
|
+
color="primary"\r
|
|
86085
|
+
mat-flat-button\r
|
|
86086
|
+
[disabled]="actionsDisabled()"\r
|
|
86087
|
+
(click)="onValidate()"\r
|
|
86088
|
+
>\r
|
|
86089
|
+
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
|
|
86090
|
+
</button>\r
|
|
86091
|
+
</div>\r
|
|
86092
|
+
</div>\r
|
|
86093
|
+
`, styles: ["/* src/app/components/british-columbia/change-of-directors/steps/delta/change-of-directors-delta-form.component.scss */\n:host .change-of-directors-delta-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-directors-delta-form-content {\n flex: 1;\n min-height: 0;\n}\n:host .change-of-directors-delta-form-actions {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n:host .change-of-directors-delta-form-actions button {\n margin: 0;\n}\n:host .change-of-directors-delta-form-actions .submit {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=change-of-directors-delta-form.component.css.map */\n"] }]
|
|
86094
|
+
}], null, null);
|
|
86095
|
+
})();
|
|
86096
|
+
(() => {
|
|
86097
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsDeltaFormComponent, { className: "BritishColumbiaChangeOfDirectorsDeltaFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/steps/delta/change-of-directors-delta-form.component.ts", lineNumber: 25 });
|
|
86098
|
+
})();
|
|
86099
|
+
}
|
|
86100
|
+
});
|
|
86101
|
+
|
|
86102
|
+
// src/app/components/british-columbia/change-of-directors/steps/preview/change-of-directors-preview-form.component.ts
|
|
86103
|
+
var BritishColumbiaChangeOfDirectorsPreviewFormComponent;
|
|
86104
|
+
var init_change_of_directors_preview_form_component = __esm({
|
|
86105
|
+
"src/app/components/british-columbia/change-of-directors/steps/preview/change-of-directors-preview-form.component.ts"() {
|
|
86106
|
+
init_core();
|
|
86107
|
+
init_button();
|
|
86108
|
+
init_ngx_translate_core();
|
|
86109
|
+
init_change_of_directors_form_component();
|
|
86110
|
+
init_core();
|
|
86111
|
+
BritishColumbiaChangeOfDirectorsPreviewFormComponent = class _BritishColumbiaChangeOfDirectorsPreviewFormComponent {
|
|
86112
|
+
form = input.required();
|
|
86113
|
+
actionsDisabled = input(false);
|
|
86114
|
+
task = input();
|
|
86115
|
+
errors = input([]);
|
|
86116
|
+
close = output();
|
|
86117
|
+
file = output();
|
|
86118
|
+
static \u0275fac = function BritishColumbiaChangeOfDirectorsPreviewFormComponent_Factory(__ngFactoryType__) {
|
|
86119
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsPreviewFormComponent)();
|
|
86120
|
+
};
|
|
86121
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsPreviewFormComponent, selectors: [["british-columbia-change-of-directors-preview-form"]], inputs: { form: [1, "form"], actionsDisabled: [1, "actionsDisabled"], task: [1, "task"], errors: [1, "errors"] }, outputs: { close: "close", file: "file" }, decls: 11, vars: 13, consts: [[1, "change-of-directors-preview-form"], [1, "change-of-directors-preview-form-content", 3, "form", "task", "errors", "isSubmitted", "readonly"], [1, "change-of-directors-preview-form-actions"], ["mat-stroked-button", "", "mat-button", "", 3, "click", "disabled"], [1, "body-1-semibold"], ["color", "primary", "mat-flat-button", "", 1, "submit", 3, "click", "disabled"]], template: function BritishColumbiaChangeOfDirectorsPreviewFormComponent_Template(rf, ctx) {
|
|
86122
|
+
if (rf & 1) {
|
|
86123
|
+
\u0275\u0275elementStart(0, "div", 0);
|
|
86124
|
+
\u0275\u0275element(1, "british-columbia-change-of-directors-form", 1);
|
|
86125
|
+
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
86126
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsPreviewFormComponent_Template_button_click_3_listener() {
|
|
86127
|
+
return ctx.close.emit();
|
|
86128
|
+
});
|
|
86129
|
+
\u0275\u0275elementStart(4, "span", 4);
|
|
86130
|
+
\u0275\u0275text(5);
|
|
86131
|
+
\u0275\u0275pipe(6, "translate");
|
|
86132
|
+
\u0275\u0275elementEnd()();
|
|
86133
|
+
\u0275\u0275elementStart(7, "button", 5);
|
|
86134
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsPreviewFormComponent_Template_button_click_7_listener() {
|
|
86135
|
+
return ctx.file.emit();
|
|
86136
|
+
});
|
|
86137
|
+
\u0275\u0275elementStart(8, "span", 4);
|
|
86138
|
+
\u0275\u0275text(9);
|
|
86139
|
+
\u0275\u0275pipe(10, "translate");
|
|
86140
|
+
\u0275\u0275elementEnd()()()();
|
|
86141
|
+
}
|
|
86142
|
+
if (rf & 2) {
|
|
86143
|
+
\u0275\u0275advance();
|
|
86144
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
|
|
86145
|
+
\u0275\u0275advance(2);
|
|
86146
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
86147
|
+
\u0275\u0275advance(2);
|
|
86148
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
|
|
86149
|
+
\u0275\u0275advance(2);
|
|
86150
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
86151
|
+
\u0275\u0275advance(2);
|
|
86152
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
|
|
86153
|
+
}
|
|
86154
|
+
}, dependencies: [MatButton, TranslatePipe, BritishColumbiaChangeOfDirectorsFormComponent], styles: ["\n\n[_nghost-%COMP%] .change-of-directors-preview-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-directors-preview-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-directors-preview-form-actions[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n[_nghost-%COMP%] .change-of-directors-preview-form-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n margin: 0;\n}\n/*# sourceMappingURL=change-of-directors-preview-form.component.css.map */"], changeDetection: 0 });
|
|
86155
|
+
};
|
|
86156
|
+
(() => {
|
|
86157
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfDirectorsPreviewFormComponent, [{
|
|
86158
|
+
type: Component,
|
|
86159
|
+
args: [{ standalone: true, selector: "british-columbia-change-of-directors-preview-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, TranslatePipe, BritishColumbiaChangeOfDirectorsFormComponent], template: `<div class="change-of-directors-preview-form">\r
|
|
86160
|
+
<british-columbia-change-of-directors-form\r
|
|
86161
|
+
class="change-of-directors-preview-form-content"\r
|
|
86162
|
+
[form]="form()"\r
|
|
86163
|
+
[task]="task()"\r
|
|
86164
|
+
[errors]="errors()"\r
|
|
86165
|
+
[isSubmitted]="false"\r
|
|
86166
|
+
[readonly]="true"\r
|
|
86167
|
+
/>\r
|
|
86168
|
+
\r
|
|
86169
|
+
<div class="change-of-directors-preview-form-actions">\r
|
|
86170
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
86171
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
86172
|
+
</button>\r
|
|
86173
|
+
<button\r
|
|
86174
|
+
class="submit"\r
|
|
86175
|
+
color="primary"\r
|
|
86176
|
+
mat-flat-button\r
|
|
86177
|
+
[disabled]="actionsDisabled()"\r
|
|
86178
|
+
(click)="file.emit()"\r
|
|
86179
|
+
>\r
|
|
86180
|
+
<span class="body-1-semibold">{{ 'File' | translate }}</span>\r
|
|
86181
|
+
</button>\r
|
|
86182
|
+
</div>\r
|
|
86183
|
+
</div>\r
|
|
86184
|
+
`, styles: ["/* src/app/components/british-columbia/change-of-directors/steps/preview/change-of-directors-preview-form.component.scss */\n:host .change-of-directors-preview-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-directors-preview-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-directors-preview-form-actions {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n:host .change-of-directors-preview-form-actions button {\n margin: 0;\n}\n/*# sourceMappingURL=change-of-directors-preview-form.component.css.map */\n"] }]
|
|
86185
|
+
}], null, null);
|
|
86186
|
+
})();
|
|
86187
|
+
(() => {
|
|
86188
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsPreviewFormComponent, { className: "BritishColumbiaChangeOfDirectorsPreviewFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/steps/preview/change-of-directors-preview-form.component.ts", lineNumber: 21 });
|
|
86189
|
+
})();
|
|
86190
|
+
}
|
|
86191
|
+
});
|
|
86192
|
+
|
|
84801
86193
|
// src/app/constants/ui/british-columbia-formation-form.constants.ts
|
|
84802
|
-
var BC_NAME_TYPE_OPTIONS,
|
|
86194
|
+
var BC_NAME_TYPE_OPTIONS, labelledValue2, isNamed, isNotifyByMail2, BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_FORMATION_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS, BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_ROW_FIELDS, BC_FORMATION_CARD_FORM_REGISTERED_OFFICE_FIELDS, BC_FORMATION_CARD_FORM_RECORDS_OFFICE_FIELDS, BC_FORMATION_DELTA_CARD_FORM_NOTIFICATION_FIELDS, BC_FORMATION_DELTA_CARD_FORM_COMPLETING_PARTY_FIELDS, BC_FORMATION_CARD_FORM_DIRECTORS_FIELDS, BC_FORMATION_CARD_FORM_INCORPORATORS_FIELDS;
|
|
84803
86195
|
var init_british_columbia_formation_form_constants = __esm({
|
|
84804
86196
|
"src/app/constants/ui/british-columbia-formation-form.constants.ts"() {
|
|
84805
86197
|
init_form_enums();
|
|
@@ -84807,9 +86199,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84807
86199
|
init_BritishColumbiaConstants();
|
|
84808
86200
|
init_british_columbia_formation_form_helper();
|
|
84809
86201
|
BC_NAME_TYPE_OPTIONS = Object.values(BCNameType).filter((v) => typeof v === "number").map((v) => ({ label: BCNameTypeLabel[v], value: v }));
|
|
84810
|
-
|
|
86202
|
+
labelledValue2 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
84811
86203
|
isNamed = (form) => form.get(BCFormationFormControls.CorporationNameType)?.value === BCNameType.Named;
|
|
84812
|
-
|
|
86204
|
+
isNotifyByMail2 = (form) => form.get(BCFormationFormControls.NotificationMethod)?.value === BCNotificationMethod.Mail;
|
|
84813
86205
|
BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
84814
86206
|
{
|
|
84815
86207
|
type: FormType.Input,
|
|
@@ -84873,7 +86265,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84873
86265
|
type: FormType.Text,
|
|
84874
86266
|
formControlName: BCFormationFormControls.RequestedDateForIncorporation,
|
|
84875
86267
|
class: "span-12 spaced-text",
|
|
84876
|
-
dynamicLabel: (form, t) =>
|
|
86268
|
+
dynamicLabel: (form, t) => labelledValue2("Requested Date for Incorporation", form.get(BCFormationFormControls.RequestedDateForIncorporation)?.value, t)
|
|
84877
86269
|
},
|
|
84878
86270
|
{
|
|
84879
86271
|
type: FormType.Text,
|
|
@@ -84945,13 +86337,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84945
86337
|
type: FormType.Text,
|
|
84946
86338
|
formControlName: BCFormationFormControls.MailingAddress,
|
|
84947
86339
|
class: "span-12",
|
|
84948
|
-
dynamicLabel: (form, t) =>
|
|
86340
|
+
dynamicLabel: (form, t) => labelledValue2("Mailing Address - Full Address", form.get(BCFormationFormControls.MailingAddress)?.value, t)
|
|
84949
86341
|
},
|
|
84950
86342
|
{
|
|
84951
86343
|
type: FormType.Text,
|
|
84952
86344
|
formControlName: BCFormationFormControls.DeliveryAddress,
|
|
84953
86345
|
class: "span-12",
|
|
84954
|
-
dynamicLabel: (form, t) =>
|
|
86346
|
+
dynamicLabel: (form, t) => labelledValue2("Delivery Address - Full Address", form.get(BCFormationFormControls.DeliveryAddress)?.value, t)
|
|
84955
86347
|
}
|
|
84956
86348
|
];
|
|
84957
86349
|
BC_FORMATION_CARD_FORM_RECORDS_OFFICE_FIELDS = [
|
|
@@ -84959,25 +86351,26 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84959
86351
|
type: FormType.Text,
|
|
84960
86352
|
formControlName: BCFormationFormControls.RecordsOfficeMailingAddress,
|
|
84961
86353
|
class: "span-12",
|
|
84962
|
-
dynamicLabel: (form, t) =>
|
|
86354
|
+
dynamicLabel: (form, t) => labelledValue2("Mailing Address - Full Address", form.get(BCFormationFormControls.RecordsOfficeMailingAddress)?.value, t)
|
|
84963
86355
|
},
|
|
84964
86356
|
{
|
|
84965
86357
|
type: FormType.Text,
|
|
84966
86358
|
formControlName: BCFormationFormControls.RecordsOfficeDeliveryAddress,
|
|
84967
86359
|
class: "span-12",
|
|
84968
|
-
dynamicLabel: (form, t) =>
|
|
86360
|
+
dynamicLabel: (form, t) => labelledValue2("Delivery Address - Full Address", form.get(BCFormationFormControls.RecordsOfficeDeliveryAddress)?.value, t)
|
|
84969
86361
|
}
|
|
84970
86362
|
];
|
|
84971
86363
|
BC_FORMATION_DELTA_CARD_FORM_NOTIFICATION_FIELDS = [
|
|
84972
86364
|
{
|
|
84973
86365
|
type: FormType.Radio,
|
|
86366
|
+
label: "Notification Method",
|
|
84974
86367
|
formControlName: BCFormationFormControls.NotificationMethod,
|
|
84975
86368
|
required: true,
|
|
84976
86369
|
options: BC_NOTIFICATION_METHOD_OPTIONS,
|
|
84977
86370
|
needTranslate: true,
|
|
84978
86371
|
class: "span-12",
|
|
84979
86372
|
onChange: (form) => {
|
|
84980
|
-
const byMail =
|
|
86373
|
+
const byMail = isNotifyByMail2(form);
|
|
84981
86374
|
if (!byMail) {
|
|
84982
86375
|
[
|
|
84983
86376
|
BCFormationFormControls.NotificationName,
|
|
@@ -85003,7 +86396,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85003
86396
|
type: FormType.Input,
|
|
85004
86397
|
label: "Notification Email",
|
|
85005
86398
|
formControlName: BCFormationFormControls.NotificationEmail,
|
|
85006
|
-
isVisible: (form) => !
|
|
86399
|
+
isVisible: (form) => !isNotifyByMail2(form),
|
|
85007
86400
|
class: "column-3"
|
|
85008
86401
|
},
|
|
85009
86402
|
{
|
|
@@ -85011,7 +86404,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85011
86404
|
label: "Name",
|
|
85012
86405
|
formControlName: BCFormationFormControls.NotificationName,
|
|
85013
86406
|
required: true,
|
|
85014
|
-
isVisible:
|
|
86407
|
+
isVisible: isNotifyByMail2,
|
|
85015
86408
|
class: "column-3"
|
|
85016
86409
|
},
|
|
85017
86410
|
{
|
|
@@ -85019,14 +86412,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85019
86412
|
label: "Address Line 1",
|
|
85020
86413
|
formControlName: BCFormationFormControls.AddressLine1,
|
|
85021
86414
|
required: true,
|
|
85022
|
-
isVisible:
|
|
86415
|
+
isVisible: isNotifyByMail2,
|
|
85023
86416
|
class: "column-3"
|
|
85024
86417
|
},
|
|
85025
86418
|
{
|
|
85026
86419
|
type: FormType.Input,
|
|
85027
86420
|
label: "Address Line 2",
|
|
85028
86421
|
formControlName: BCFormationFormControls.AddressLine2,
|
|
85029
|
-
isVisible:
|
|
86422
|
+
isVisible: isNotifyByMail2,
|
|
85030
86423
|
class: "column-3"
|
|
85031
86424
|
},
|
|
85032
86425
|
{
|
|
@@ -85034,7 +86427,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85034
86427
|
label: "City",
|
|
85035
86428
|
formControlName: BCFormationFormControls.City,
|
|
85036
86429
|
required: true,
|
|
85037
|
-
isVisible:
|
|
86430
|
+
isVisible: isNotifyByMail2,
|
|
85038
86431
|
class: "column-2"
|
|
85039
86432
|
},
|
|
85040
86433
|
{
|
|
@@ -85042,7 +86435,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85042
86435
|
label: "Province / State",
|
|
85043
86436
|
formControlName: BCFormationFormControls.ProvinceState,
|
|
85044
86437
|
required: true,
|
|
85045
|
-
isVisible:
|
|
86438
|
+
isVisible: isNotifyByMail2,
|
|
85046
86439
|
options: BC_PROVINCE_STATE_OPTIONS,
|
|
85047
86440
|
class: "span-4"
|
|
85048
86441
|
},
|
|
@@ -85050,7 +86443,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85050
86443
|
type: FormType.Input,
|
|
85051
86444
|
label: "Postal / Zip Code",
|
|
85052
86445
|
formControlName: BCFormationFormControls.PostalZip,
|
|
85053
|
-
isVisible:
|
|
86446
|
+
isVisible: isNotifyByMail2,
|
|
85054
86447
|
class: "column-2"
|
|
85055
86448
|
},
|
|
85056
86449
|
{
|
|
@@ -85058,7 +86451,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85058
86451
|
label: "Country",
|
|
85059
86452
|
formControlName: BCFormationFormControls.Country,
|
|
85060
86453
|
required: true,
|
|
85061
|
-
isVisible:
|
|
86454
|
+
isVisible: isNotifyByMail2,
|
|
85062
86455
|
options: BC_COUNTRY_OPTIONS,
|
|
85063
86456
|
class: "span-4"
|
|
85064
86457
|
}
|
|
@@ -85162,13 +86555,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85162
86555
|
type: FormType.Text,
|
|
85163
86556
|
formControlName: BCFormationFormControls.MailingAddress,
|
|
85164
86557
|
class: "span-12",
|
|
85165
|
-
dynamicLabel: (form, t) =>
|
|
86558
|
+
dynamicLabel: (form, t) => labelledValue2("Mailing Address - Full Address", form.get(BCFormationFormControls.MailingAddress)?.value, t)
|
|
85166
86559
|
},
|
|
85167
86560
|
{
|
|
85168
86561
|
type: FormType.Text,
|
|
85169
86562
|
formControlName: BCFormationFormControls.DeliveryAddress,
|
|
85170
86563
|
class: "span-12",
|
|
85171
|
-
dynamicLabel: (form, t) =>
|
|
86564
|
+
dynamicLabel: (form, t) => labelledValue2("Delivery Address - Full Address", form.get(BCFormationFormControls.DeliveryAddress)?.value, t)
|
|
85172
86565
|
}
|
|
85173
86566
|
];
|
|
85174
86567
|
BC_FORMATION_CARD_FORM_INCORPORATORS_FIELDS = [
|
|
@@ -85176,7 +86569,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85176
86569
|
type: FormType.Text,
|
|
85177
86570
|
formControlName: BCFormationFormControls.FullAddress,
|
|
85178
86571
|
class: "span-12",
|
|
85179
|
-
dynamicLabel: (form, t) =>
|
|
86572
|
+
dynamicLabel: (form, t) => labelledValue2("Full Address", form.get(BCFormationFormControls.FullAddress)?.value, t)
|
|
85180
86573
|
}
|
|
85181
86574
|
];
|
|
85182
86575
|
}
|
|
@@ -86241,47 +87634,47 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86241
87634
|
function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
|
|
86242
87635
|
if (rf & 1) {
|
|
86243
87636
|
const _r1 = \u0275\u0275getCurrentView();
|
|
86244
|
-
\u0275\u0275elementStart(0, "british-columbia-
|
|
86245
|
-
\u0275\u0275listener("validate", function
|
|
87637
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form", 3);
|
|
87638
|
+
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_validate_0_listener() {
|
|
86246
87639
|
\u0275\u0275restoreView(_r1);
|
|
86247
87640
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86248
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
86249
|
-
})("close", function
|
|
87641
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsValidate());
|
|
87642
|
+
})("close", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_close_0_listener() {
|
|
86250
87643
|
\u0275\u0275restoreView(_r1);
|
|
86251
87644
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86252
87645
|
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
86253
|
-
})("save", function
|
|
87646
|
+
})("save", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_save_0_listener() {
|
|
86254
87647
|
\u0275\u0275restoreView(_r1);
|
|
86255
87648
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86256
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
87649
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSave());
|
|
86257
87650
|
});
|
|
86258
87651
|
\u0275\u0275elementEnd();
|
|
86259
87652
|
}
|
|
86260
87653
|
if (rf & 2) {
|
|
86261
87654
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86262
87655
|
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
86263
|
-
\u0275\u0275property("task", taskData_r3)("
|
|
87656
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
|
|
86264
87657
|
}
|
|
86265
87658
|
}
|
|
86266
87659
|
function BritishColumbiaComponent_Conditional_1_Conditional_1_Template(rf, ctx) {
|
|
86267
87660
|
if (rf & 1) {
|
|
86268
87661
|
const _r4 = \u0275\u0275getCurrentView();
|
|
86269
|
-
\u0275\u0275elementStart(0, "british-columbia-
|
|
86270
|
-
\u0275\u0275listener("
|
|
87662
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form", 4);
|
|
87663
|
+
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_close_0_listener() {
|
|
86271
87664
|
\u0275\u0275restoreView(_r4);
|
|
86272
87665
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86273
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
86274
|
-
})("
|
|
87666
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87667
|
+
})("file", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_file_0_listener() {
|
|
86275
87668
|
\u0275\u0275restoreView(_r4);
|
|
86276
87669
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86277
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
87670
|
+
return \u0275\u0275resetView(ctx_r1.nextStep.emit());
|
|
86278
87671
|
});
|
|
86279
87672
|
\u0275\u0275elementEnd();
|
|
86280
87673
|
}
|
|
86281
87674
|
if (rf & 2) {
|
|
86282
87675
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86283
87676
|
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
86284
|
-
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled());
|
|
87677
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
86285
87678
|
}
|
|
86286
87679
|
}
|
|
86287
87680
|
function BritishColumbiaComponent_Conditional_1_Conditional_2_Template(rf, ctx) {
|
|
@@ -86299,7 +87692,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86299
87692
|
})("confirm", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_confirm_0_listener($event) {
|
|
86300
87693
|
\u0275\u0275restoreView(_r5);
|
|
86301
87694
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86302
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
87695
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit($event));
|
|
86303
87696
|
});
|
|
86304
87697
|
\u0275\u0275elementEnd();
|
|
86305
87698
|
}
|
|
@@ -86310,7 +87703,90 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86310
87703
|
}
|
|
86311
87704
|
function BritishColumbiaComponent_Conditional_1_Template(rf, ctx) {
|
|
86312
87705
|
if (rf & 1) {
|
|
86313
|
-
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_1_Conditional_0_Template, 1, 5, "british-columbia-
|
|
87706
|
+
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_1_Conditional_0_Template, 1, 5, "british-columbia-change-of-directors-delta-form", 0)(1, BritishColumbiaComponent_Conditional_1_Conditional_1_Template, 1, 4, "british-columbia-change-of-directors-preview-form", 1)(2, BritishColumbiaComponent_Conditional_1_Conditional_2_Template, 1, 1, "terms-and-conditions", 2);
|
|
87707
|
+
}
|
|
87708
|
+
if (rf & 2) {
|
|
87709
|
+
const ctx_r1 = \u0275\u0275nextContext();
|
|
87710
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
87711
|
+
\u0275\u0275advance();
|
|
87712
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
87713
|
+
\u0275\u0275advance();
|
|
87714
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.TermsAndConditions ? 2 : -1);
|
|
87715
|
+
}
|
|
87716
|
+
}
|
|
87717
|
+
function BritishColumbiaComponent_Conditional_2_Conditional_0_Template(rf, ctx) {
|
|
87718
|
+
if (rf & 1) {
|
|
87719
|
+
const _r6 = \u0275\u0275getCurrentView();
|
|
87720
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form", 8);
|
|
87721
|
+
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_validate_0_listener() {
|
|
87722
|
+
\u0275\u0275restoreView(_r6);
|
|
87723
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87724
|
+
return \u0275\u0275resetView(ctx_r1.onFormationValidate());
|
|
87725
|
+
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_close_0_listener() {
|
|
87726
|
+
\u0275\u0275restoreView(_r6);
|
|
87727
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87728
|
+
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
87729
|
+
})("save", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_save_0_listener() {
|
|
87730
|
+
\u0275\u0275restoreView(_r6);
|
|
87731
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87732
|
+
return \u0275\u0275resetView(ctx_r1.onFormationSave());
|
|
87733
|
+
});
|
|
87734
|
+
\u0275\u0275elementEnd();
|
|
87735
|
+
}
|
|
87736
|
+
if (rf & 2) {
|
|
87737
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87738
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
87739
|
+
\u0275\u0275property("task", taskData_r3)("errors", ctx_r1.errors())("isNote", ctx_r1.isNote())("actionsDisabled", ctx_r1.actionsDisabled())("form", ctx_r1.deltaForm());
|
|
87740
|
+
}
|
|
87741
|
+
}
|
|
87742
|
+
function BritishColumbiaComponent_Conditional_2_Conditional_1_Template(rf, ctx) {
|
|
87743
|
+
if (rf & 1) {
|
|
87744
|
+
const _r7 = \u0275\u0275getCurrentView();
|
|
87745
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form", 9);
|
|
87746
|
+
\u0275\u0275listener("next", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_next_0_listener() {
|
|
87747
|
+
\u0275\u0275restoreView(_r7);
|
|
87748
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87749
|
+
return \u0275\u0275resetView(ctx_r1.nextStep.emit());
|
|
87750
|
+
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_close_0_listener() {
|
|
87751
|
+
\u0275\u0275restoreView(_r7);
|
|
87752
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87753
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87754
|
+
});
|
|
87755
|
+
\u0275\u0275elementEnd();
|
|
87756
|
+
}
|
|
87757
|
+
if (rf & 2) {
|
|
87758
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87759
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
87760
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled());
|
|
87761
|
+
}
|
|
87762
|
+
}
|
|
87763
|
+
function BritishColumbiaComponent_Conditional_2_Conditional_2_Template(rf, ctx) {
|
|
87764
|
+
if (rf & 1) {
|
|
87765
|
+
const _r8 = \u0275\u0275getCurrentView();
|
|
87766
|
+
\u0275\u0275elementStart(0, "terms-and-conditions", 5);
|
|
87767
|
+
\u0275\u0275listener("prev", function BritishColumbiaComponent_Conditional_2_Conditional_2_Template_terms_and_conditions_prev_0_listener() {
|
|
87768
|
+
\u0275\u0275restoreView(_r8);
|
|
87769
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87770
|
+
return \u0275\u0275resetView(ctx_r1.prevStep.emit());
|
|
87771
|
+
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_2_Template_terms_and_conditions_close_0_listener() {
|
|
87772
|
+
\u0275\u0275restoreView(_r8);
|
|
87773
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87774
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87775
|
+
})("confirm", function BritishColumbiaComponent_Conditional_2_Conditional_2_Template_terms_and_conditions_confirm_0_listener($event) {
|
|
87776
|
+
\u0275\u0275restoreView(_r8);
|
|
87777
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87778
|
+
return \u0275\u0275resetView(ctx_r1.onFormationSubmit($event));
|
|
87779
|
+
});
|
|
87780
|
+
\u0275\u0275elementEnd();
|
|
87781
|
+
}
|
|
87782
|
+
if (rf & 2) {
|
|
87783
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87784
|
+
\u0275\u0275property("errors", ctx_r1.errors());
|
|
87785
|
+
}
|
|
87786
|
+
}
|
|
87787
|
+
function BritishColumbiaComponent_Conditional_2_Template(rf, ctx) {
|
|
87788
|
+
if (rf & 1) {
|
|
87789
|
+
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form", 6)(1, BritishColumbiaComponent_Conditional_2_Conditional_1_Template, 1, 3, "british-columbia-incorporation-preview-form", 7)(2, BritishColumbiaComponent_Conditional_2_Conditional_2_Template, 1, 1, "terms-and-conditions", 2);
|
|
86314
87790
|
}
|
|
86315
87791
|
if (rf & 2) {
|
|
86316
87792
|
const ctx_r1 = \u0275\u0275nextContext();
|
|
@@ -86331,11 +87807,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86331
87807
|
init_app_enums();
|
|
86332
87808
|
init_BritishColumbiaConstants();
|
|
86333
87809
|
init_british_columbia_form_enums();
|
|
87810
|
+
init_british_columbia_change_of_directors_form_helper();
|
|
86334
87811
|
init_british_columbia_formation_form_helper();
|
|
86335
87812
|
init_delta_state_service();
|
|
86336
87813
|
init_common_utils();
|
|
86337
87814
|
init_confirm_modal_component();
|
|
86338
87815
|
init_terms_and_conditions_component();
|
|
87816
|
+
init_change_of_directors_delta_form_component();
|
|
87817
|
+
init_change_of_directors_preview_form_component();
|
|
86339
87818
|
init_british_columbia_incorporation_delta_form_component();
|
|
86340
87819
|
init_british_columbia_incorporation_preview_form_component();
|
|
86341
87820
|
init_core();
|
|
@@ -86347,6 +87826,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86347
87826
|
actionsDisabled = input(false);
|
|
86348
87827
|
errors = input([]);
|
|
86349
87828
|
close = output();
|
|
87829
|
+
codValidate = output();
|
|
87830
|
+
saveCodDeltaData = output();
|
|
87831
|
+
codSubmit = output();
|
|
86350
87832
|
formationValidate = output();
|
|
86351
87833
|
formationSubmit = output();
|
|
86352
87834
|
saveFormationDeltaData = output();
|
|
@@ -86356,12 +87838,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86356
87838
|
deltaState = inject(DeltaStateService);
|
|
86357
87839
|
translate = inject(TranslateService);
|
|
86358
87840
|
steps = Step;
|
|
87841
|
+
isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
|
|
86359
87842
|
isFormationTask = isFormationTask2;
|
|
86360
87843
|
deltaForm = signal(new FormGroup({}));
|
|
86361
87844
|
previewForm = signal(new FormGroup({}));
|
|
86362
87845
|
constructor() {
|
|
86363
87846
|
effect(() => {
|
|
86364
87847
|
const task = this.task();
|
|
87848
|
+
if (task && isChangeOfPrincipalsTask(task)) {
|
|
87849
|
+
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
87850
|
+
this.deltaState.setBCChangeOfDirectorsInitialDelta(this.generateChangeOfDirectorsDeltaData());
|
|
87851
|
+
}
|
|
86365
87852
|
if (task && isFormationTask2(task)) {
|
|
86366
87853
|
this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
|
|
86367
87854
|
this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
|
|
@@ -86370,7 +87857,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86370
87857
|
effect(() => {
|
|
86371
87858
|
const task = this.task();
|
|
86372
87859
|
const deltaData = task?.deltaData;
|
|
86373
|
-
if (task
|
|
87860
|
+
if (!task || !deltaData) {
|
|
87861
|
+
return;
|
|
87862
|
+
}
|
|
87863
|
+
if (isChangeOfPrincipalsTask(task)) {
|
|
87864
|
+
const form = new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
87865
|
+
form.disable();
|
|
87866
|
+
this.previewForm.set(form);
|
|
87867
|
+
if (untracked2(() => this.activeStep()) === Step.Validate) {
|
|
87868
|
+
this.nextStep.emit();
|
|
87869
|
+
}
|
|
87870
|
+
}
|
|
87871
|
+
if (isFormationTask2(task)) {
|
|
86374
87872
|
const form = new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser())));
|
|
86375
87873
|
form.disable();
|
|
86376
87874
|
this.previewForm.set(form);
|
|
@@ -86380,6 +87878,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86380
87878
|
}
|
|
86381
87879
|
});
|
|
86382
87880
|
}
|
|
87881
|
+
onChangeOfDirectorsValidate() {
|
|
87882
|
+
markFormGroupTouched(this.deltaForm());
|
|
87883
|
+
this.codValidate.emit(this.generateChangeOfDirectorsDeltaData());
|
|
87884
|
+
}
|
|
87885
|
+
onChangeOfDirectorsSave() {
|
|
87886
|
+
const delta = this.generateChangeOfDirectorsDeltaData();
|
|
87887
|
+
this.deltaState.setBCChangeOfDirectorsInitialDelta(delta);
|
|
87888
|
+
this.saveCodDeltaData.emit(delta);
|
|
87889
|
+
}
|
|
87890
|
+
onChangeOfDirectorsSubmit(termsAndConditions) {
|
|
87891
|
+
this.codSubmit.emit(__spreadProps(__spreadValues({}, this.generateChangeOfDirectorsDeltaData()), {
|
|
87892
|
+
signatoryFirstName: termsAndConditions.firstName,
|
|
87893
|
+
signatoryLastName: termsAndConditions.lastName
|
|
87894
|
+
}));
|
|
87895
|
+
}
|
|
86383
87896
|
onFormationValidate() {
|
|
86384
87897
|
markFormGroupTouched(this.deltaForm());
|
|
86385
87898
|
this.formationValidate.emit(this.generateFormationDeltaData());
|
|
@@ -86392,6 +87905,31 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86392
87905
|
onFormationSubmit(termsAndConditions) {
|
|
86393
87906
|
this.formationSubmit.emit(this.generateFormationDeltaData(termsAndConditions));
|
|
86394
87907
|
}
|
|
87908
|
+
generateChangeOfDirectorsDeltaData() {
|
|
87909
|
+
const c = BCChangeOfDirectorsFormControls;
|
|
87910
|
+
const formData = this.deltaForm().getRawValue();
|
|
87911
|
+
const refNumbers = formData[BCChangeOfDirectorsFormGroups.ReferenceNumbers];
|
|
87912
|
+
const filing = formData[BCChangeOfDirectorsFormGroups.FilingDetails];
|
|
87913
|
+
const notification = formData[BCChangeOfDirectorsFormGroups.Notification];
|
|
87914
|
+
const reminder = formData[BCChangeOfDirectorsFormGroups.AnnualReportReminder];
|
|
87915
|
+
const addedOrDeleted = Boolean(filing?.[c.DirectorsAddedOrDeleted]);
|
|
87916
|
+
const notifyByMail = notification?.[c.NotificationMethod] === BCNotificationMethod.Mail;
|
|
87917
|
+
return {
|
|
87918
|
+
referenceNumbers: {
|
|
87919
|
+
referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
|
|
87920
|
+
docketNumber: refNumbers?.[c.DocketNumber] ?? null
|
|
87921
|
+
},
|
|
87922
|
+
filingDetails: {
|
|
87923
|
+
directorsAddedOrDeleted: addedOrDeleted,
|
|
87924
|
+
changeDate: addedOrDeleted ? filing?.[c.ChangeDate] ?? null : void 0
|
|
87925
|
+
},
|
|
87926
|
+
notification: {
|
|
87927
|
+
method: notification?.[c.NotificationMethod] ?? null,
|
|
87928
|
+
email: notifyByMail ? void 0 : notification?.[c.NotificationEmail] ?? null
|
|
87929
|
+
},
|
|
87930
|
+
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? null
|
|
87931
|
+
};
|
|
87932
|
+
}
|
|
86395
87933
|
generateFormationDeltaData(termsAndConditions) {
|
|
86396
87934
|
const formData = this.deltaForm().getRawValue();
|
|
86397
87935
|
const refNumbers = formData[BCFormationFormGroups.ReferenceNumbers];
|
|
@@ -86453,7 +87991,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86453
87991
|
return data;
|
|
86454
87992
|
}
|
|
86455
87993
|
onClose() {
|
|
86456
|
-
const
|
|
87994
|
+
const task = this.task();
|
|
87995
|
+
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
|
|
86457
87996
|
if (!hasChanges) {
|
|
86458
87997
|
this.close.emit();
|
|
86459
87998
|
return;
|
|
@@ -86469,7 +88008,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86469
88008
|
width: "65rem"
|
|
86470
88009
|
}).afterClosed().subscribe((val) => {
|
|
86471
88010
|
if (val) {
|
|
86472
|
-
|
|
88011
|
+
if (task && isFormationTask2(task)) {
|
|
88012
|
+
this.onFormationSave();
|
|
88013
|
+
} else {
|
|
88014
|
+
this.onChangeOfDirectorsSave();
|
|
88015
|
+
}
|
|
86473
88016
|
}
|
|
86474
88017
|
this.close.emit();
|
|
86475
88018
|
});
|
|
@@ -86477,17 +88020,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86477
88020
|
static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
|
|
86478
88021
|
return new (__ngFactoryType__ || _BritishColumbiaComponent)();
|
|
86479
88022
|
};
|
|
86480
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"] }, outputs: { close: "close", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep", prevStep: "prevStep" }, decls:
|
|
88023
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"] }, outputs: { close: "close", codValidate: "codValidate", saveCodDeltaData: "saveCodDeltaData", codSubmit: "codSubmit", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep", prevStep: "prevStep" }, decls: 3, vars: 3, consts: [[3, "task", "form", "actionsDisabled", "errors", "isNote"], [3, "task", "form", "actionsDisabled", "errors"], [3, "errors"], [3, "validate", "close", "save", "task", "form", "actionsDisabled", "errors", "isNote"], [3, "close", "file", "task", "form", "actionsDisabled", "errors"], [3, "prev", "close", "confirm", "errors"], [3, "task", "errors", "isNote", "actionsDisabled", "form"], [3, "task", "form", "actionsDisabled"], [3, "validate", "close", "save", "task", "errors", "isNote", "actionsDisabled", "form"], [3, "next", "close", "task", "form", "actionsDisabled"]], template: function BritishColumbiaComponent_Template(rf, ctx) {
|
|
86481
88024
|
if (rf & 1) {
|
|
86482
88025
|
\u0275\u0275declareLet(0);
|
|
86483
|
-
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 3, 3);
|
|
88026
|
+
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 3, 3)(2, BritishColumbiaComponent_Conditional_2_Template, 3, 3);
|
|
86484
88027
|
}
|
|
86485
88028
|
if (rf & 2) {
|
|
86486
|
-
const
|
|
88029
|
+
const taskData_r9 = \u0275\u0275storeLet(ctx.task());
|
|
88030
|
+
\u0275\u0275advance();
|
|
88031
|
+
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r9) ? 1 : -1);
|
|
86487
88032
|
\u0275\u0275advance();
|
|
86488
|
-
\u0275\u0275conditional(ctx.isFormationTask(
|
|
88033
|
+
\u0275\u0275conditional(ctx.isFormationTask(taskData_r9) ? 2 : -1);
|
|
86489
88034
|
}
|
|
86490
88035
|
}, dependencies: [
|
|
88036
|
+
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
88037
|
+
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
86491
88038
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
86492
88039
|
BritishColumbiaIncorporationPreviewFormComponent,
|
|
86493
88040
|
TermsAndConditionsComponent
|
|
@@ -86497,14 +88044,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86497
88044
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaComponent, [{
|
|
86498
88045
|
type: Component,
|
|
86499
88046
|
args: [{ standalone: true, selector: "british-columbia", changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
88047
|
+
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
88048
|
+
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
86500
88049
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
86501
88050
|
BritishColumbiaIncorporationPreviewFormComponent,
|
|
86502
88051
|
TermsAndConditionsComponent
|
|
86503
|
-
], template: '@let taskData = this.task();\
|
|
88052
|
+
], template: '@let taskData = this.task();\n\n@if (isChangeOfDirectorsTask(taskData)) {\n @if (activeStep() === steps.Validate) {\n <british-columbia-change-of-directors-delta-form\n [task]="taskData"\n [form]="deltaForm()"\n [actionsDisabled]="actionsDisabled()"\n [errors]="errors()"\n [isNote]="isNote()"\n (validate)="onChangeOfDirectorsValidate()"\n (close)="onClose()"\n (save)="onChangeOfDirectorsSave()"\n />\n }\n\n @if (activeStep() === steps.FilingPreview) {\n <british-columbia-change-of-directors-preview-form\n [task]="taskData"\n [form]="previewForm()"\n [actionsDisabled]="actionsDisabled()"\n [errors]="errors()"\n (close)="close.emit()"\n (file)="nextStep.emit()"\n />\n }\n\n @if (activeStep() === steps.TermsAndConditions) {\n <terms-and-conditions\n [errors]="errors()"\n (prev)="prevStep.emit()"\n (close)="close.emit()"\n (confirm)="onChangeOfDirectorsSubmit($event)"\n />\n }\n}\n\n@if (isFormationTask(taskData)) {\n @if (activeStep() === steps.Validate) {\n <british-columbia-incorporation-delta-form\n [task]="taskData"\n [errors]="errors()"\n [isNote]="isNote()"\n [actionsDisabled]="actionsDisabled()"\n [form]="deltaForm()"\n (validate)="onFormationValidate()"\n (close)="onClose()"\n (save)="onFormationSave()"\n />\n }\n\n @if (activeStep() === steps.FilingPreview) {\n <british-columbia-incorporation-preview-form\n [task]="taskData"\n [form]="previewForm()"\n [actionsDisabled]="actionsDisabled()"\n (next)="nextStep.emit()"\n (close)="close.emit()"\n />\n }\n\n @if (activeStep() === steps.TermsAndConditions) {\n <terms-and-conditions\n [errors]="errors()"\n (prev)="prevStep.emit()"\n (close)="close.emit()"\n (confirm)="onFormationSubmit($event)"\n />\n }\n}\n', styles: ["/* src/app/components/british-columbia/british-columbia.component.scss */\n:host {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */\n"] }]
|
|
86504
88053
|
}], () => [], null);
|
|
86505
88054
|
})();
|
|
86506
88055
|
(() => {
|
|
86507
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber:
|
|
88056
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 65 });
|
|
86508
88057
|
})();
|
|
86509
88058
|
}
|
|
86510
88059
|
});
|
|
@@ -92536,7 +94085,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92536
94085
|
out.push({ Message: message });
|
|
92537
94086
|
}
|
|
92538
94087
|
if (!out.length) {
|
|
92539
|
-
const fallback = payload?.detail ?? payload?.message ?? payload?.title;
|
|
94088
|
+
const fallback = payload?.error ?? payload?.detail ?? payload?.message ?? payload?.title;
|
|
92540
94089
|
if (fallback) {
|
|
92541
94090
|
out.push({ Message: fallback });
|
|
92542
94091
|
}
|
|
@@ -92660,6 +94209,175 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92660
94209
|
}
|
|
92661
94210
|
});
|
|
92662
94211
|
|
|
94212
|
+
// src/app/services/british-columbia/british-columbia-change-of-directors.service.ts
|
|
94213
|
+
var BritishColumbiaChangeOfDirectorsService;
|
|
94214
|
+
var init_british_columbia_change_of_directors_service = __esm({
|
|
94215
|
+
"src/app/services/british-columbia/british-columbia-change-of-directors.service.ts"() {
|
|
94216
|
+
init_core();
|
|
94217
|
+
init_common_utils();
|
|
94218
|
+
init_core();
|
|
94219
|
+
BritishColumbiaChangeOfDirectorsService = class _BritishColumbiaChangeOfDirectorsService {
|
|
94220
|
+
config;
|
|
94221
|
+
setConfig(config2) {
|
|
94222
|
+
this.config = config2;
|
|
94223
|
+
}
|
|
94224
|
+
validate(_0, _1) {
|
|
94225
|
+
return __async(this, arguments, function* (signature, requestBody, opts = {}) {
|
|
94226
|
+
ensureAuthInputs(signature);
|
|
94227
|
+
const fetchFn = opts.fetchImpl ?? fetch;
|
|
94228
|
+
const url = signature.proxyApiUrl;
|
|
94229
|
+
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing`;
|
|
94230
|
+
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, requestBody, __spreadValues({
|
|
94231
|
+
"x-target-url": targetUrl
|
|
94232
|
+
}, opts.headers ?? {})));
|
|
94233
|
+
const raw = yield resp.text();
|
|
94234
|
+
const parsed = tryParseJson(raw);
|
|
94235
|
+
if (!parsed.ok) {
|
|
94236
|
+
const err2 = new Error(`BC change of directors validation returned ${resp.status} ${resp.statusText}: ${raw || "(empty response)"}`);
|
|
94237
|
+
err2.httpStatus = resp.status;
|
|
94238
|
+
throw err2;
|
|
94239
|
+
}
|
|
94240
|
+
const payload = unwrapRequestResults(parsed.value);
|
|
94241
|
+
if (resp.ok && !payload.Errors?.length) {
|
|
94242
|
+
return payload;
|
|
94243
|
+
}
|
|
94244
|
+
const err = buildValidationError(resp.status, payload);
|
|
94245
|
+
err.validateResult = payload;
|
|
94246
|
+
err.httpStatus = resp.status;
|
|
94247
|
+
throw err;
|
|
94248
|
+
});
|
|
94249
|
+
}
|
|
94250
|
+
getFilingResult(_0, _1) {
|
|
94251
|
+
return __async(this, arguments, function* (signature, serviceOrderId, opts = {}) {
|
|
94252
|
+
ensureAuthInputs(signature);
|
|
94253
|
+
if (!serviceOrderId) {
|
|
94254
|
+
throw new Error("Missing serviceOrderId.");
|
|
94255
|
+
}
|
|
94256
|
+
const fetchFn = opts.fetchImpl ?? fetch;
|
|
94257
|
+
const url = signature.proxyApiUrl;
|
|
94258
|
+
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing/${encodeURIComponent(serviceOrderId)}`;
|
|
94259
|
+
const resp = yield fetchWithJwtRetry(signature, () => fetchFn(url, {
|
|
94260
|
+
method: "GET",
|
|
94261
|
+
headers: __spreadValues({
|
|
94262
|
+
Authorization: `Bearer ${signature.jwtToken}`,
|
|
94263
|
+
"x-target-url": targetUrl
|
|
94264
|
+
}, opts.headers ?? {})
|
|
94265
|
+
}));
|
|
94266
|
+
const raw = yield resp.text();
|
|
94267
|
+
const parsed = tryParseJson(raw);
|
|
94268
|
+
const payload = parsed.ok ? unwrapRequestResults(parsed.value) : { raw };
|
|
94269
|
+
if (resp.ok && !payload.Errors?.length) {
|
|
94270
|
+
return payload;
|
|
94271
|
+
}
|
|
94272
|
+
const err = buildGenericError(resp.status, "BC change of directors filing result failed", payload);
|
|
94273
|
+
err.submitResult = payload;
|
|
94274
|
+
err.httpStatus = resp.status;
|
|
94275
|
+
throw err;
|
|
94276
|
+
});
|
|
94277
|
+
}
|
|
94278
|
+
submitFiling(_0, _1) {
|
|
94279
|
+
return __async(this, arguments, function* (signature, serviceOrderId, opts = {}) {
|
|
94280
|
+
ensureAuthInputs(signature);
|
|
94281
|
+
if (!serviceOrderId) {
|
|
94282
|
+
throw new Error("Missing serviceOrderId.");
|
|
94283
|
+
}
|
|
94284
|
+
const fetchFn = opts.fetchImpl ?? fetch;
|
|
94285
|
+
const url = signature.proxyApiUrl;
|
|
94286
|
+
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing/${encodeURIComponent(serviceOrderId)}/submit`;
|
|
94287
|
+
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, {}, __spreadValues({
|
|
94288
|
+
"x-target-url": targetUrl
|
|
94289
|
+
}, opts.headers ?? {})));
|
|
94290
|
+
const raw = yield resp.text();
|
|
94291
|
+
const parsed = tryParseJson(raw);
|
|
94292
|
+
const payload = parsed.ok ? unwrapRequestResults(parsed.value) : { raw };
|
|
94293
|
+
if (resp.ok && !payload.Errors?.length) {
|
|
94294
|
+
return payload;
|
|
94295
|
+
}
|
|
94296
|
+
const err = buildGenericError(resp.status, "BC change of directors submit failed", payload);
|
|
94297
|
+
err.submitResult = payload;
|
|
94298
|
+
err.httpStatus = resp.status;
|
|
94299
|
+
throw err;
|
|
94300
|
+
});
|
|
94301
|
+
}
|
|
94302
|
+
getOnbisOrigin() {
|
|
94303
|
+
const filingUrl = this.config?.ONFiling;
|
|
94304
|
+
if (!filingUrl) {
|
|
94305
|
+
throw new Error("BritishColumbiaChangeOfDirectorsService: missing EnvConfig.ONFiling.");
|
|
94306
|
+
}
|
|
94307
|
+
return new URL(filingUrl).origin;
|
|
94308
|
+
}
|
|
94309
|
+
static \u0275fac = function BritishColumbiaChangeOfDirectorsService_Factory(__ngFactoryType__) {
|
|
94310
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsService)();
|
|
94311
|
+
};
|
|
94312
|
+
static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaChangeOfDirectorsService, factory: _BritishColumbiaChangeOfDirectorsService.\u0275fac, providedIn: "root" });
|
|
94313
|
+
};
|
|
94314
|
+
(() => {
|
|
94315
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfDirectorsService, [{
|
|
94316
|
+
type: Injectable,
|
|
94317
|
+
args: [{
|
|
94318
|
+
providedIn: "root"
|
|
94319
|
+
}]
|
|
94320
|
+
}], null, null);
|
|
94321
|
+
})();
|
|
94322
|
+
}
|
|
94323
|
+
});
|
|
94324
|
+
|
|
94325
|
+
// src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts
|
|
94326
|
+
function buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData) {
|
|
94327
|
+
const incomingDirectors = (task.incomingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
94328
|
+
const outgoingDirectors = (task.outgoingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
94329
|
+
const companyEmail = findCompanyEmail(task);
|
|
94330
|
+
const serviceOrderId = deltaData.serviceOrderId;
|
|
94331
|
+
return __spreadValues({
|
|
94332
|
+
filingType: "changeOfDirectorsFiling",
|
|
94333
|
+
filing: {
|
|
94334
|
+
reference: deltaData.referenceNumbers.referenceNumber ?? null,
|
|
94335
|
+
docket: deltaData.referenceNumbers.docketNumber ?? null,
|
|
94336
|
+
addOrDeleteDirectors: deltaData.filingDetails.directorsAddedOrDeleted,
|
|
94337
|
+
effectiveDate: toYyyyMmDd(deltaData.filingDetails.changeDate) ?? toYyyyMmDd(/* @__PURE__ */ new Date()),
|
|
94338
|
+
addDirectors: incomingDirectors.map((affiliation) => buildDirector(affiliation)),
|
|
94339
|
+
ceaseDirectors: outgoingDirectors.map((affiliation) => buildDirector(affiliation)),
|
|
94340
|
+
editDirectors: [],
|
|
94341
|
+
companyEmail,
|
|
94342
|
+
isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
|
|
94343
|
+
}
|
|
94344
|
+
}, serviceOrderId ? { ServiceOrderId: serviceOrderId } : {});
|
|
94345
|
+
}
|
|
94346
|
+
function isDirectorAffiliation(affiliation) {
|
|
94347
|
+
return isPrincipalAffiliation2(affiliation) && affiliation.role?.role_name === "Director";
|
|
94348
|
+
}
|
|
94349
|
+
function buildDirector(affiliation) {
|
|
94350
|
+
const profile = affiliation.participant?._profile ?? {};
|
|
94351
|
+
const addresses = getAffiliationAddresses(affiliation);
|
|
94352
|
+
return {
|
|
94353
|
+
firstName: profile.firstName ?? "",
|
|
94354
|
+
middleName: profile.middleName ?? "",
|
|
94355
|
+
lastName: profile.lastName ?? "",
|
|
94356
|
+
isDeliveryAddressSameAsMailing: isDeliveryAddressSameAsMailing(addresses)
|
|
94357
|
+
};
|
|
94358
|
+
}
|
|
94359
|
+
function findCompanyEmail(task) {
|
|
94360
|
+
const affiliations = task.entity.affiliations ?? [];
|
|
94361
|
+
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
94362
|
+
return registeredOffice?.addresses?.[0]?.communications?.find((communication) => communication.type === "Business Email")?.value ?? task.entity.communications?.find((communication) => communication.type === "Business Email")?.value ?? null;
|
|
94363
|
+
}
|
|
94364
|
+
function getAffiliationAddresses(affiliation) {
|
|
94365
|
+
return affiliation.addresses?.length ? affiliation.addresses : affiliation.parent_affiliation?.addresses ?? [];
|
|
94366
|
+
}
|
|
94367
|
+
function isDeliveryAddressSameAsMailing(addresses) {
|
|
94368
|
+
const mailing = BritishColumbiaFormationFormHelper.pickAddress(addresses, "Mailing");
|
|
94369
|
+
const delivery = BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery");
|
|
94370
|
+
return BritishColumbiaFormationFormHelper.formatFullAddress(mailing) === BritishColumbiaFormationFormHelper.formatFullAddress(delivery);
|
|
94371
|
+
}
|
|
94372
|
+
var init_british_columbia_change_of_directors_mapper = __esm({
|
|
94373
|
+
"src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts"() {
|
|
94374
|
+
init_BritishColumbiaConstants();
|
|
94375
|
+
init_common_models();
|
|
94376
|
+
init_british_columbia_formation_form_helper();
|
|
94377
|
+
init_common_utils();
|
|
94378
|
+
}
|
|
94379
|
+
});
|
|
94380
|
+
|
|
92663
94381
|
// src/app/components/filing/filing.component.ts
|
|
92664
94382
|
function FilingComponent_Conditional_7_Template(rf, ctx) {
|
|
92665
94383
|
if (rf & 1) {
|
|
@@ -92739,6 +94457,26 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92739
94457
|
\u0275\u0275restoreView(_r6);
|
|
92740
94458
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
92741
94459
|
return \u0275\u0275resetView(ctx_r2.close.emit());
|
|
94460
|
+
})("nextStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_nextStep_0_listener() {
|
|
94461
|
+
\u0275\u0275restoreView(_r6);
|
|
94462
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94463
|
+
return \u0275\u0275resetView(ctx_r2.onNextStepClick());
|
|
94464
|
+
})("prevStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_prevStep_0_listener() {
|
|
94465
|
+
\u0275\u0275restoreView(_r6);
|
|
94466
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94467
|
+
return \u0275\u0275resetView(ctx_r2.onOntarioPrevStep());
|
|
94468
|
+
})("codValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_codValidate_0_listener($event) {
|
|
94469
|
+
\u0275\u0275restoreView(_r6);
|
|
94470
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94471
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsValidate($event));
|
|
94472
|
+
})("saveCodDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCodDeltaData_0_listener($event) {
|
|
94473
|
+
\u0275\u0275restoreView(_r6);
|
|
94474
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94475
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSave($event));
|
|
94476
|
+
})("codSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_codSubmit_0_listener() {
|
|
94477
|
+
\u0275\u0275restoreView(_r6);
|
|
94478
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94479
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
|
|
92742
94480
|
})("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
|
|
92743
94481
|
\u0275\u0275restoreView(_r6);
|
|
92744
94482
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
@@ -92751,14 +94489,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92751
94489
|
\u0275\u0275restoreView(_r6);
|
|
92752
94490
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
92753
94491
|
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaFormationSubmit());
|
|
92754
|
-
})("nextStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_nextStep_0_listener() {
|
|
92755
|
-
\u0275\u0275restoreView(_r6);
|
|
92756
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
92757
|
-
return \u0275\u0275resetView(ctx_r2.onNextStepClick());
|
|
92758
|
-
})("prevStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_prevStep_0_listener() {
|
|
92759
|
-
\u0275\u0275restoreView(_r6);
|
|
92760
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
92761
|
-
return \u0275\u0275resetView(ctx_r2.onOntarioPrevStep());
|
|
92762
94492
|
});
|
|
92763
94493
|
\u0275\u0275elementEnd();
|
|
92764
94494
|
}
|
|
@@ -92860,6 +94590,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92860
94590
|
init_british_columbia_formation_mapper();
|
|
92861
94591
|
init_british_columbia_formation_service();
|
|
92862
94592
|
init_delta_state_service();
|
|
94593
|
+
init_british_columbia_change_of_directors_service();
|
|
94594
|
+
init_british_columbia_change_of_directors_mapper();
|
|
92863
94595
|
init_core();
|
|
92864
94596
|
init_button();
|
|
92865
94597
|
FilingComponent = class _FilingComponent {
|
|
@@ -92915,6 +94647,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92915
94647
|
bcFormationService = inject(BritishColumbiaFormationService);
|
|
92916
94648
|
federalUpdateMaintainService = inject(FederalUpdateMaintainService);
|
|
92917
94649
|
updateMaintainService = inject(OntarioUpdateMaintainService);
|
|
94650
|
+
britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
|
|
92918
94651
|
translate = inject(TranslateService);
|
|
92919
94652
|
isEditButton = computed(() => {
|
|
92920
94653
|
const task = this.task();
|
|
@@ -92953,6 +94686,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92953
94686
|
if (isFormationTask2(task)) {
|
|
92954
94687
|
return `File ${jurisdiction} Articles of Incorporation`;
|
|
92955
94688
|
}
|
|
94689
|
+
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
94690
|
+
return "File British Columbia Notice of Change of Directors";
|
|
94691
|
+
}
|
|
92956
94692
|
return "";
|
|
92957
94693
|
});
|
|
92958
94694
|
constructor() {
|
|
@@ -92964,6 +94700,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92964
94700
|
this.federalFormationService.setConfig(config2);
|
|
92965
94701
|
this.bcFormationService.setConfig(config2);
|
|
92966
94702
|
this.federalUpdateMaintainService.setConfig(config2);
|
|
94703
|
+
this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
|
|
92967
94704
|
}
|
|
92968
94705
|
});
|
|
92969
94706
|
addStylesVariables();
|
|
@@ -93102,6 +94839,80 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93102
94839
|
}
|
|
93103
94840
|
this.deltaDataChange.emit(deltaData);
|
|
93104
94841
|
}
|
|
94842
|
+
onBritishColumbiaChangeOfDirectorsValidate(deltaData) {
|
|
94843
|
+
return __async(this, null, function* () {
|
|
94844
|
+
const task = this.task();
|
|
94845
|
+
const signature = this._signature();
|
|
94846
|
+
if (!task || !signature || !isChangeOfPrincipalsTask(task)) {
|
|
94847
|
+
return;
|
|
94848
|
+
}
|
|
94849
|
+
try {
|
|
94850
|
+
this.isLoading.set(true);
|
|
94851
|
+
this.errors.set([]);
|
|
94852
|
+
const requestBody = buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData);
|
|
94853
|
+
const response = yield this.britishColumbiaChangeOfDirectorsService.validate(signature, requestBody, this.validateOptions() ?? {});
|
|
94854
|
+
if (this.hasResponseErrors(response))
|
|
94855
|
+
return;
|
|
94856
|
+
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
94857
|
+
if (response.Draft) {
|
|
94858
|
+
this.filingValidateSuccess.emit({
|
|
94859
|
+
searchOrFilingType: getSearchOrFilingType(task),
|
|
94860
|
+
serviceOrderId,
|
|
94861
|
+
validatedOn: /* @__PURE__ */ new Date(),
|
|
94862
|
+
provider: "obr",
|
|
94863
|
+
draftPdf: response.Draft,
|
|
94864
|
+
documentName: this.validateOptions()?.documentName ?? "BC Change of Directors Draft",
|
|
94865
|
+
documentType: "pdf"
|
|
94866
|
+
});
|
|
94867
|
+
}
|
|
94868
|
+
const validatedData = this.task()?.deltaData?.validatedData;
|
|
94869
|
+
if (validatedData) {
|
|
94870
|
+
delete this.task()?.deltaData.validatedData;
|
|
94871
|
+
}
|
|
94872
|
+
this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
|
|
94873
|
+
serviceOrderId,
|
|
94874
|
+
validatedData: JSON.parse(JSON.stringify(requestBody))
|
|
94875
|
+
}));
|
|
94876
|
+
this.close.emit();
|
|
94877
|
+
} catch (response) {
|
|
94878
|
+
this.handleCatchError(response);
|
|
94879
|
+
} finally {
|
|
94880
|
+
this.isLoading.set(false);
|
|
94881
|
+
}
|
|
94882
|
+
});
|
|
94883
|
+
}
|
|
94884
|
+
onBritishColumbiaChangeOfDirectorsSave(deltaData) {
|
|
94885
|
+
const oldDeltaData = this.task()?.deltaData;
|
|
94886
|
+
if (oldDeltaData) {
|
|
94887
|
+
delete this.task()?.deltaData;
|
|
94888
|
+
}
|
|
94889
|
+
this.deltaDataChange.emit(deltaData);
|
|
94890
|
+
}
|
|
94891
|
+
onBritishColumbiaChangeOfDirectorsSubmit() {
|
|
94892
|
+
return __async(this, null, function* () {
|
|
94893
|
+
try {
|
|
94894
|
+
this.isLoading.set(true);
|
|
94895
|
+
this.errors.set([]);
|
|
94896
|
+
const signature = this._signature();
|
|
94897
|
+
const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
|
|
94898
|
+
if (!signature || !serviceOrderId) {
|
|
94899
|
+
throw new Error("Missing serviceOrderId.");
|
|
94900
|
+
}
|
|
94901
|
+
const response = yield this.britishColumbiaChangeOfDirectorsService.submitFiling(signature, serviceOrderId, this.validateOptions() ?? {});
|
|
94902
|
+
if (this.hasResponseErrors(response))
|
|
94903
|
+
return;
|
|
94904
|
+
this.filingSubmitSuccess.emit({
|
|
94905
|
+
serviceOrderId: response.ServiceOrderId ?? serviceOrderId,
|
|
94906
|
+
filedOn: /* @__PURE__ */ new Date()
|
|
94907
|
+
});
|
|
94908
|
+
this.close.emit();
|
|
94909
|
+
} catch (response) {
|
|
94910
|
+
this.handleCatchError(response);
|
|
94911
|
+
} finally {
|
|
94912
|
+
this.isLoading.set(false);
|
|
94913
|
+
}
|
|
94914
|
+
});
|
|
94915
|
+
}
|
|
93105
94916
|
/**
|
|
93106
94917
|
* British Columbia Formation validate (AC8 / AC9): sends the payload to the BC Filing API,
|
|
93107
94918
|
* hands the draft PDF to UEM and saves the delta + ServiceOrderId + full payload.
|
|
@@ -93581,7 +95392,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93581
95392
|
if (rf & 2) {
|
|
93582
95393
|
\u0275\u0275styleProp("height", ctx.modalHeight());
|
|
93583
95394
|
}
|
|
93584
|
-
}, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "
|
|
95395
|
+
}, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "nextStep", "prevStep", "codValidate", "saveCodDeltaData", "codSubmit", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
|
|
93585
95396
|
if (rf & 1) {
|
|
93586
95397
|
const _r1 = \u0275\u0275getCurrentView();
|
|
93587
95398
|
\u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
|
|
@@ -93647,13 +95458,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93647
95458
|
\r
|
|
93648
95459
|
@if (isEditButton()) {\r
|
|
93649
95460
|
<div class="filing-header">\r
|
|
93650
|
-
|
|
93651
|
-
|
|
93652
|
-
|
|
93653
|
-
(click)="onEditClick()"\r
|
|
93654
|
-
>\r
|
|
93655
|
-
{{ 'Edit' | translate }}\r
|
|
93656
|
-
</button>\r
|
|
95461
|
+
<button mat-stroked-button [disabled]="isLoading()" (click)="onEditClick()">\r
|
|
95462
|
+
{{ 'Edit' | translate }}\r
|
|
95463
|
+
</button>\r
|
|
93657
95464
|
</div>\r
|
|
93658
95465
|
}\r
|
|
93659
95466
|
\r
|
|
@@ -93661,71 +95468,43 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93661
95468
|
@let currentTask = task();\r
|
|
93662
95469
|
\r
|
|
93663
95470
|
@if (currentTask) {\r
|
|
93664
|
-
|
|
93665
|
-
|
|
93666
|
-
|
|
93667
|
-
|
|
93668
|
-
|
|
93669
|
-
|
|
93670
|
-
|
|
93671
|
-
|
|
93672
|
-
|
|
93673
|
-
|
|
93674
|
-
|
|
93675
|
-
|
|
93676
|
-
|
|
93677
|
-
|
|
93678
|
-
|
|
93679
|
-
|
|
93680
|
-
|
|
93681
|
-
|
|
93682
|
-
|
|
93683
|
-
|
|
93684
|
-
|
|
93685
|
-
|
|
93686
|
-
|
|
93687
|
-
|
|
93688
|
-
[isNote]="dataWasChanged()"\r
|
|
93689
|
-
[actionsDisabled]="isLoading()"\r
|
|
93690
|
-
[errors]="errors()"\r
|
|
93691
|
-
(close)="close.emit()"\r
|
|
93692
|
-
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
93693
|
-
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
93694
|
-
(formationSubmit)="onBritishColumbiaFormationSubmit()"\r
|
|
93695
|
-
(nextStep)="onNextStepClick()"\r
|
|
93696
|
-
(prevStep)="onOntarioPrevStep()"\r
|
|
93697
|
-
/>\r
|
|
93698
|
-
} @else {\r
|
|
93699
|
-
<federal\r
|
|
93700
|
-
[actionsDisabled]="isLoading()"\r
|
|
93701
|
-
[isNote]="dataWasChanged()"\r
|
|
93702
|
-
[activeStep]="activeStep()"\r
|
|
93703
|
-
[task]="currentTask"\r
|
|
93704
|
-
[errors]="errors()"\r
|
|
93705
|
-
(close)="close.emit()"\r
|
|
93706
|
-
(deltaDataChange)="onFederalFormationSave($event)"\r
|
|
93707
|
-
(file)="onFederalFormationSubmit()"\r
|
|
93708
|
-
(validate)="onFederalValidate($event)"\r
|
|
93709
|
-
(umSave)="onFederalUpdateMaintainSave($event)"\r
|
|
93710
|
-
(umValidate)="onFederalUpdateMaintainValidate($event)"\r
|
|
93711
|
-
(umSubmit)="onFederalUpdateMaintainSubmit()"\r
|
|
93712
|
-
(nextStep)="defineInitialStep()"\r
|
|
93713
|
-
/>\r
|
|
93714
|
-
}\r
|
|
95471
|
+
@if (isOntarioTask(currentTask)) {\r
|
|
95472
|
+
<ontario [task]="currentTask" [activeStep]="activeStep()" [isNote]="dataWasChanged()"\r
|
|
95473
|
+
[actionsDisabled]="isLoading()" [errors]="errors()" [prevData]="prevData()" (close)="close.emit()"\r
|
|
95474
|
+
(formationValidate)="onOntarioFormationValidate($event)" (saveFormationDeltaData)="onOntarioFormationSave($event)"\r
|
|
95475
|
+
(formationSubmit)="onOntarioFormationSubmit()" (nextStep)="onNextStepClick()" (prevStep)="onOntarioPrevStep()"\r
|
|
95476
|
+
[irValidationConfig]="validationConfig()" (irValidate)="validateAndFileInitialReturnTask($event)"\r
|
|
95477
|
+
(saveIrDeltaData)="onOntarioUpdateMaintainSave($event)" (irSubmit)="onInitialReturnSubmit()" />\r
|
|
95478
|
+
} @else if (isBritishColumbiaTask(currentTask)) {\r
|
|
95479
|
+
<british-columbia [task]="currentTask" [currentUser]="currentUser()" [activeStep]="activeStep()"\r
|
|
95480
|
+
[isNote]="dataWasChanged()" [actionsDisabled]="isLoading()" [errors]="errors()" (close)="close.emit()"\r
|
|
95481
|
+
(nextStep)="onNextStepClick()" (prevStep)="onOntarioPrevStep()"\r
|
|
95482
|
+
(codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
|
|
95483
|
+
(saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
|
|
95484
|
+
(codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
|
|
95485
|
+
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
95486
|
+
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
95487
|
+
(formationSubmit)="onBritishColumbiaFormationSubmit()" />\r
|
|
95488
|
+
} @else {\r
|
|
95489
|
+
<federal [actionsDisabled]="isLoading()" [isNote]="dataWasChanged()" [activeStep]="activeStep()"\r
|
|
95490
|
+
[task]="currentTask" [errors]="errors()" (close)="close.emit()" (deltaDataChange)="onFederalFormationSave($event)"\r
|
|
95491
|
+
(file)="onFederalFormationSubmit()" (validate)="onFederalValidate($event)"\r
|
|
95492
|
+
(umSave)="onFederalUpdateMaintainSave($event)" (umValidate)="onFederalUpdateMaintainValidate($event)"\r
|
|
95493
|
+
(umSubmit)="onFederalUpdateMaintainSubmit()" (nextStep)="defineInitialStep()" />\r
|
|
95494
|
+
}\r
|
|
93715
95495
|
}\r
|
|
93716
95496
|
\r
|
|
93717
95497
|
@if (isLoading()) {\r
|
|
93718
|
-
|
|
93719
|
-
|
|
93720
|
-
|
|
95498
|
+
<div class="filing-content-loading">\r
|
|
95499
|
+
<mat-spinner [diameter]="40" />\r
|
|
95500
|
+
</div>\r
|
|
93721
95501
|
}\r
|
|
93722
95502
|
</div>\r
|
|
93723
|
-
</div>\r
|
|
93724
|
-
`, styles: ["/* src/app/components/filing/filing.component.scss */\n:host {\n display: flex;\n width: 100%;\n min-width: 0;\n min-height: 480px;\n box-sizing: border-box;\n overflow: hidden;\n}\n:host .filing {\n position: relative;\n width: 100%;\n min-width: 0;\n min-height: 0;\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 16px;\n box-sizing: border-box;\n background: #ffffff;\n}\n:host .filing-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n:host .filing-title-text {\n color: #666666;\n}\n:host .filing-title-action {\n cursor: pointer;\n}\n:host .filing-header {\n display: flex;\n width: 100%;\n justify-content: flex-end;\n}\n:host .filing-content {\n min-height: 0;\n height: calc(100% - 44px);\n}\n:host .filing-content.edit {\n height: calc(100% - 95px);\n}\n:host .filing-content-loading {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n background: transparent;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.pointer {\n cursor: pointer;\n}\n/*# sourceMappingURL=filing.component.css.map */\n", '/* src/app/components/filing/typography.scss */\n:host {\n --filing-modal-color-grey: #444444;\n --filing-modal-color-dark-blue: #485673;\n --filing-modal-color-grey-mid: #A0A0A0;\n --filing-modal-color-light-blue: #3778E4;\n --filing-modal-color-black: #444444;\n}\nmat-icon {\n font-family: "Material Icons" !important;\n font-size: 20px;\n height: 20px;\n width: 20px;\n line-height: 20px;\n}\nh1 {\n font-size: 24px;\n line-height: 28px;\n font-weight: 700;\n font-family: "Open Sans";\n margin: 0;\n}\nh2 {\n font-size: 22px;\n line-height: 26px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh3 {\n font-size: 18px;\n font-weight: 600;\n font-family: "Open Sans";\n margin-top: 0;\n margin-bottom: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 22px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\n.body-1-regular {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-1-bold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-1-semibold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 600;\n font-family: "Open Sans";\n}\n.body-2-regular {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-2-bold {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-3-regular {\n line-height: 20px;\n font-size: 16px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-regular {\n line-height: 18px;\n font-size: 18px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-bold {\n line-height: 20px;\n font-size: 20px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np {\n margin: 0;\n}\n.black {\n color: var(--filing-modal-color-black);\n}\n.grey {\n color: var(--filing-modal-color-grey);\n}\n.dark-blue {\n color: var(--filing-modal-color-dark-blue);\n}\n.grey-mid {\n color: var(--filing-modal-color-grey-mid);\n}\n.light-blue {\n color: var(--filing-modal-color-light-blue);\n}\n/*# sourceMappingURL=typography.css.map */\n', '/* src/app/components/filing/material-theme.scss */\n.filling {\n height: 100%;\n overflow: hidden;\n}\n* {\n box-sizing: border-box;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n}\n.filling {\n margin: 0;\n font-family: "Helvetica Neue", sans-serif;\n}\n.filing {\n --app-font-family:\n -apple-system,\n BlinkMacSystemFont,\n "Helvetica Neue",\n Helvetica,\n Arial,\n sans-serif;\n --mat-sys-background: #faf9fd;\n --mat-sys-error: #ba1a1a;\n --mat-sys-error-container: #ffdad6;\n --mat-sys-inverse-on-surface: #f2f0f4;\n --mat-sys-inverse-primary: #abc7ff;\n --mat-sys-inverse-surface: #2f3033;\n --mat-sys-on-background: #1a1b1f;\n --mat-sys-on-error: #ffffff;\n --mat-sys-on-error-container: #93000a;\n --mat-sys-on-primary: #ffffff;\n --mat-sys-on-primary-container: #00458f;\n --mat-sys-on-primary-fixed: #001b3f;\n --mat-sys-on-primary-fixed-variant: #00458f;\n --mat-sys-on-secondary: #ffffff;\n --mat-sys-on-secondary-container: #3e4759;\n --mat-sys-on-secondary-fixed: #131c2b;\n --mat-sys-on-secondary-fixed-variant: #3e4759;\n --mat-sys-on-surface: #1a1b1f;\n --mat-sys-on-surface-variant: var(--filing-modal-color-grey);\n --mat-sys-on-tertiary: #ffffff;\n --mat-sys-on-tertiary-container: #0000ef;\n --mat-sys-on-tertiary-fixed: #00006e;\n --mat-sys-on-tertiary-fixed-variant: #0000ef;\n --mat-sys-outline: #74777f;\n --mat-sys-outline-variant: #c4c6d0;\n --mat-sys-primary: #3778e4;\n --mat-sys-primary-container: #d7e3ff;\n --mat-sys-primary-fixed: #d7e3ff;\n --mat-sys-primary-fixed-dim: #abc7ff;\n --mat-sys-scrim: #000000;\n --mat-sys-secondary: #565e71;\n --mat-sys-secondary-container: #dae2f9;\n --mat-sys-secondary-fixed: #dae2f9;\n --mat-sys-secondary-fixed-dim: #bec6dc;\n --mat-sys-shadow: #000000;\n --mat-sys-surface: #faf9fd;\n --mat-sys-surface-bright: #faf9fd;\n --mat-sys-surface-container: #efedf0;\n --mat-sys-surface-container-high: #e9e7eb;\n --mat-sys-surface-container-highest: #e3e2e6;\n --mat-sys-surface-container-low: #f4f3f6;\n --mat-sys-surface-container-lowest: #ffffff;\n --mat-sys-surface-dim: #dbd9dd;\n --mat-sys-surface-tint: #005cbb;\n --mat-sys-surface-variant: #e0e2ec;\n --mat-sys-tertiary: #343dff;\n --mat-sys-tertiary-container: #e0e0ff;\n --mat-sys-tertiary-fixed: #e0e0ff;\n --mat-sys-tertiary-fixed-dim: #bec2ff;\n --mat-sys-neutral-variant20: #2d3038;\n --mat-sys-neutral10: #1a1b1f;\n --mdc-filled-button-container-height: 35px;\n --mdc-outlined-button-container-height: 35px;\n --mdc-text-button-label-text-color: #808090;\n --mdc-filled-button-label-text-weight: 600;\n --mdc-text-button-label-text-weight: 600;\n --mdc-filled-button-container-shape: 4px;\n --mdc-outlined-button-outline-color: none;\n --mdc-outlined-button-container-shape: 6px;\n --mat-sys-level0:\n 0px 0px 0px 0px rgba(0, 0, 0, 0.2),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.14),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level1:\n 0px 2px 1px -1px rgba(0, 0, 0, 0.2),\n 0px 1px 1px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level2:\n 0px 3px 3px -2px rgba(0, 0, 0, 0.2),\n 0px 3px 4px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 8px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level3:\n 0px 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level4:\n 0px 5px 5px -3px rgba(0, 0, 0, 0.2),\n 0px 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n --mat-sys-level5:\n 0px 7px 8px -4px rgba(0, 0, 0, 0.2),\n 0px 12px 17px 2px rgba(0, 0, 0, 0.14),\n 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\n --mdc-outlined-button-label-text-size: 14px;\n --mdc-filled-button-label-text-size: 14px;\n --mdc-filled-text-field-label-text-size: 16px;\n --mat-sys-body-large: 400 1rem / 1.5rem var(--app-font-family);\n --mat-sys-body-large-font: var(--app-font-family);\n --mat-sys-body-large-line-height: 1.5rem;\n --mat-sys-body-large-size: 14px;\n --mat-sys-body-large-tracking: 0.031rem;\n --mat-sys-body-large-weight: 400;\n --mat-sys-body-medium: 400 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-body-medium-font: var(--app-font-family);\n --mat-sys-body-medium-line-height: 1.25rem;\n --mat-sys-body-medium-size: 0.875rem;\n --mat-sys-body-medium-tracking: 0.016rem;\n --mat-sys-body-medium-weight: 400;\n --mat-sys-body-small: 400 0.75rem / 1rem var(--app-font-family);\n --mat-sys-body-small-font: var(--app-font-family);\n --mat-sys-body-small-line-height: 1rem;\n --mat-sys-body-small-size: 0.75rem;\n --mat-sys-body-small-tracking: 0.025rem;\n --mat-sys-body-small-weight: 400;\n --mat-sys-display-large: 400 3.562rem / 4rem var(--app-font-family);\n --mat-sys-display-large-font: var(--app-font-family);\n --mat-sys-display-large-line-height: 4rem;\n --mat-sys-display-large-size: 3.562rem;\n --mat-sys-display-large-tracking: -0.016rem;\n --mat-sys-display-large-weight: 400;\n --mat-sys-display-medium: 400 2.812rem / 3.25rem var(--app-font-family);\n --mat-sys-display-medium-font: var(--app-font-family);\n --mat-sys-display-medium-line-height: 3.25rem;\n --mat-sys-display-medium-size: 2.812rem;\n --mat-sys-display-medium-tracking: 0;\n --mat-sys-display-medium-weight: 400;\n --mat-sys-display-small: 400 2.25rem / 2.75rem var(--app-font-family);\n --mat-sys-display-small-font: var(--app-font-family);\n --mat-sys-display-small-line-height: 2.75rem;\n --mat-sys-display-small-size: 2.25rem;\n --mat-sys-display-small-tracking: 0;\n --mat-sys-display-small-weight: 400;\n --mat-sys-headline-large: 400 2rem / 2.5rem var(--app-font-family);\n --mat-sys-headline-large-font: var(--app-font-family);\n --mat-sys-headline-large-line-height: 2.5rem;\n --mat-sys-headline-large-size: 2rem;\n --mat-sys-headline-large-tracking: 0;\n --mat-sys-headline-large-weight: 400;\n --mat-sys-headline-medium: 400 1.75rem / 2.25rem var(--app-font-family);\n --mat-sys-headline-medium-font: var(--app-font-family);\n --mat-sys-headline-medium-line-height: 2.25rem;\n --mat-sys-headline-medium-size: 1.75rem;\n --mat-sys-headline-medium-tracking: 0;\n --mat-sys-headline-medium-weight: 400;\n --mat-sys-headline-small: 400 1.5rem / 2rem var(--app-font-family);\n --mat-sys-headline-small-font: var(--app-font-family);\n --mat-sys-headline-small-line-height: 2rem;\n --mat-sys-headline-small-size: 1.5rem;\n --mat-sys-headline-small-tracking: 0;\n --mat-sys-headline-small-weight: 400;\n --mat-sys-label-large: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-label-large-font: var(--app-font-family);\n --mat-sys-label-large-line-height: 1.25rem;\n --mat-sys-label-large-size: 0.875rem;\n --mat-sys-label-large-tracking: 0.006rem;\n --mat-sys-label-large-weight: 500;\n --mat-sys-label-large-weight-prominent: 700;\n --mat-sys-label-medium: 500 0.75rem / 1rem var(--app-font-family);\n --mat-sys-label-medium-font: var(--app-font-family);\n --mat-sys-label-medium-line-height: 1rem;\n --mat-sys-label-medium-size: 0.75rem;\n --mat-sys-label-medium-tracking: 0.031rem;\n --mat-sys-label-medium-weight: 500;\n --mat-sys-label-medium-weight-prominent: 700;\n --mat-sys-label-small: 500 0.688rem / 1rem var(--app-font-family);\n --mat-sys-label-small-font: var(--app-font-family);\n --mat-sys-label-small-line-height: 1rem;\n --mat-sys-label-small-size: 0.688rem;\n --mat-sys-label-small-tracking: 0.031rem;\n --mat-sys-label-small-weight: 500;\n --mat-sys-title-large: 400 1.375rem / 1.75rem var(--app-font-family);\n --mat-sys-title-large-font: var(--app-font-family);\n --mat-sys-title-large-line-height: 1.75rem;\n --mat-sys-title-large-size: 1.375rem;\n --mat-sys-title-large-tracking: 0;\n --mat-sys-title-large-weight: 400;\n --mat-sys-title-medium: 500 1rem / 1.5rem var(--app-font-family);\n --mat-sys-title-medium-font: var(--app-font-family);\n --mat-sys-title-medium-line-height: 1.5rem;\n --mat-sys-title-medium-size: 1rem;\n --mat-sys-title-medium-tracking: 0.009rem;\n --mat-sys-title-medium-weight: 500;\n --mat-sys-title-small: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-title-small-font: var(--app-font-family);\n --mat-sys-title-small-line-height: 1.25rem;\n --mat-sys-title-small-size: 0.875rem;\n --mat-sys-title-small-tracking: 0.006rem;\n --mat-sys-title-small-weight: 500;\n --mat-sys-corner-extra-large: 28px;\n --mat-sys-corner-extra-large-top: 28px 28px 0 0;\n --mat-sys-corner-extra-small: 4px;\n --mat-sys-corner-extra-small-top: 4px 4px 0 0;\n --mat-sys-corner-full: 9999px;\n --mat-sys-corner-large: 16px;\n --mat-sys-corner-large-end: 0 16px 16px 0;\n --mat-sys-corner-large-start: 16px 0 0 16px;\n --mat-sys-corner-large-top: 16px 16px 0 0;\n --mat-sys-corner-medium: 12px;\n --mat-sys-corner-none: 0;\n --mat-sys-corner-small: 8px;\n --mat-sys-dragged-state-layer-opacity: 0.16;\n --mat-sys-focus-state-layer-opacity: 0.12;\n --mat-sys-hover-state-layer-opacity: 0.08;\n --mat-sys-pressed-state-layer-opacity: 0.12;\n}\n.filing .mat-primary .mat-pseudo-checkbox-checked,\n.filing .mat-primary .mat-pseudo-checkbox-indeterminate {\n background: transparent !important;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox {\n width: 24px;\n height: 24px;\n flex-basis: 24px;\n padding: 0;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__background {\n width: 24px;\n height: 24px;\n border-radius: 6px;\n top: 0;\n left: 0;\n border: 3px solid var(--filing-modal-color-grey);\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__checkmark {\n height: 20px;\n width: 20px;\n font-size: 20px;\n top: 1px;\n left: 1px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__ripple,\n.filing .mat-mdc-checkbox[cardView] .mat-ripple {\n display: none;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-label {\n padding-left: 8px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-button__label {\n line-height: 10px;\n}\n/*# sourceMappingURL=material-theme.css.map */\n'] }]
|
|
95503
|
+
</div>`, styles: ["/* src/app/components/filing/filing.component.scss */\n:host {\n display: flex;\n width: 100%;\n min-width: 0;\n min-height: 480px;\n box-sizing: border-box;\n overflow: hidden;\n}\n:host .filing {\n position: relative;\n width: 100%;\n min-width: 0;\n min-height: 0;\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 16px;\n box-sizing: border-box;\n background: #ffffff;\n}\n:host .filing-title {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n:host .filing-title-text {\n color: #666666;\n}\n:host .filing-title-action {\n cursor: pointer;\n}\n:host .filing-header {\n display: flex;\n width: 100%;\n justify-content: flex-end;\n}\n:host .filing-content {\n min-height: 0;\n height: calc(100% - 44px);\n}\n:host .filing-content.edit {\n height: calc(100% - 95px);\n}\n:host .filing-content-loading {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n background: transparent;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n.pointer {\n cursor: pointer;\n}\n/*# sourceMappingURL=filing.component.css.map */\n", '/* src/app/components/filing/typography.scss */\n:host {\n --filing-modal-color-grey: #444444;\n --filing-modal-color-dark-blue: #485673;\n --filing-modal-color-grey-mid: #A0A0A0;\n --filing-modal-color-light-blue: #3778E4;\n --filing-modal-color-black: #444444;\n}\nmat-icon {\n font-family: "Material Icons" !important;\n font-size: 20px;\n height: 20px;\n width: 20px;\n line-height: 20px;\n}\nh1 {\n font-size: 24px;\n line-height: 28px;\n font-weight: 700;\n font-family: "Open Sans";\n margin: 0;\n}\nh2 {\n font-size: 22px;\n line-height: 26px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh3 {\n font-size: 18px;\n font-weight: 600;\n font-family: "Open Sans";\n margin-top: 0;\n margin-bottom: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 22px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\nh4 {\n font-size: 16px;\n line-height: 20px;\n font-weight: 600;\n font-family: "Open Sans";\n margin: 0;\n}\n.body-1-regular {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-1-bold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-1-semibold {\n line-height: 20px;\n font-size: 14px !important;\n font-weight: 600;\n font-family: "Open Sans";\n}\n.body-2-regular {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-2-bold {\n line-height: 20px;\n font-size: 12px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\n.body-3-regular {\n line-height: 20px;\n font-size: 16px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-regular {\n line-height: 18px;\n font-size: 18px !important;\n font-weight: 400;\n font-family: "Open Sans";\n}\n.body-4-bold {\n line-height: 20px;\n font-size: 20px !important;\n font-weight: 700;\n font-family: "Open Sans";\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np {\n margin: 0;\n}\n.black {\n color: var(--filing-modal-color-black);\n}\n.grey {\n color: var(--filing-modal-color-grey);\n}\n.dark-blue {\n color: var(--filing-modal-color-dark-blue);\n}\n.grey-mid {\n color: var(--filing-modal-color-grey-mid);\n}\n.light-blue {\n color: var(--filing-modal-color-light-blue);\n}\n/*# sourceMappingURL=typography.css.map */\n', '/* src/app/components/filing/material-theme.scss */\n.filling {\n height: 100%;\n overflow: hidden;\n}\n* {\n box-sizing: border-box;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin: 0;\n}\n.filling {\n margin: 0;\n font-family: "Helvetica Neue", sans-serif;\n}\n.filing {\n --app-font-family:\n -apple-system,\n BlinkMacSystemFont,\n "Helvetica Neue",\n Helvetica,\n Arial,\n sans-serif;\n --mat-sys-background: #faf9fd;\n --mat-sys-error: #ba1a1a;\n --mat-sys-error-container: #ffdad6;\n --mat-sys-inverse-on-surface: #f2f0f4;\n --mat-sys-inverse-primary: #abc7ff;\n --mat-sys-inverse-surface: #2f3033;\n --mat-sys-on-background: #1a1b1f;\n --mat-sys-on-error: #ffffff;\n --mat-sys-on-error-container: #93000a;\n --mat-sys-on-primary: #ffffff;\n --mat-sys-on-primary-container: #00458f;\n --mat-sys-on-primary-fixed: #001b3f;\n --mat-sys-on-primary-fixed-variant: #00458f;\n --mat-sys-on-secondary: #ffffff;\n --mat-sys-on-secondary-container: #3e4759;\n --mat-sys-on-secondary-fixed: #131c2b;\n --mat-sys-on-secondary-fixed-variant: #3e4759;\n --mat-sys-on-surface: #1a1b1f;\n --mat-sys-on-surface-variant: var(--filing-modal-color-grey);\n --mat-sys-on-tertiary: #ffffff;\n --mat-sys-on-tertiary-container: #0000ef;\n --mat-sys-on-tertiary-fixed: #00006e;\n --mat-sys-on-tertiary-fixed-variant: #0000ef;\n --mat-sys-outline: #74777f;\n --mat-sys-outline-variant: #c4c6d0;\n --mat-sys-primary: #3778e4;\n --mat-sys-primary-container: #d7e3ff;\n --mat-sys-primary-fixed: #d7e3ff;\n --mat-sys-primary-fixed-dim: #abc7ff;\n --mat-sys-scrim: #000000;\n --mat-sys-secondary: #565e71;\n --mat-sys-secondary-container: #dae2f9;\n --mat-sys-secondary-fixed: #dae2f9;\n --mat-sys-secondary-fixed-dim: #bec6dc;\n --mat-sys-shadow: #000000;\n --mat-sys-surface: #faf9fd;\n --mat-sys-surface-bright: #faf9fd;\n --mat-sys-surface-container: #efedf0;\n --mat-sys-surface-container-high: #e9e7eb;\n --mat-sys-surface-container-highest: #e3e2e6;\n --mat-sys-surface-container-low: #f4f3f6;\n --mat-sys-surface-container-lowest: #ffffff;\n --mat-sys-surface-dim: #dbd9dd;\n --mat-sys-surface-tint: #005cbb;\n --mat-sys-surface-variant: #e0e2ec;\n --mat-sys-tertiary: #343dff;\n --mat-sys-tertiary-container: #e0e0ff;\n --mat-sys-tertiary-fixed: #e0e0ff;\n --mat-sys-tertiary-fixed-dim: #bec2ff;\n --mat-sys-neutral-variant20: #2d3038;\n --mat-sys-neutral10: #1a1b1f;\n --mdc-filled-button-container-height: 35px;\n --mdc-outlined-button-container-height: 35px;\n --mdc-text-button-label-text-color: #808090;\n --mdc-filled-button-label-text-weight: 600;\n --mdc-text-button-label-text-weight: 600;\n --mdc-filled-button-container-shape: 4px;\n --mdc-outlined-button-outline-color: none;\n --mdc-outlined-button-container-shape: 6px;\n --mat-sys-level0:\n 0px 0px 0px 0px rgba(0, 0, 0, 0.2),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.14),\n 0px 0px 0px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level1:\n 0px 2px 1px -1px rgba(0, 0, 0, 0.2),\n 0px 1px 1px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 3px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level2:\n 0px 3px 3px -2px rgba(0, 0, 0, 0.2),\n 0px 3px 4px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 8px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level3:\n 0px 3px 5px -1px rgba(0, 0, 0, 0.2),\n 0px 6px 10px 0px rgba(0, 0, 0, 0.14),\n 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n --mat-sys-level4:\n 0px 5px 5px -3px rgba(0, 0, 0, 0.2),\n 0px 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0px 3px 14px 2px rgba(0, 0, 0, 0.12);\n --mat-sys-level5:\n 0px 7px 8px -4px rgba(0, 0, 0, 0.2),\n 0px 12px 17px 2px rgba(0, 0, 0, 0.14),\n 0px 5px 22px 4px rgba(0, 0, 0, 0.12);\n --mdc-outlined-button-label-text-size: 14px;\n --mdc-filled-button-label-text-size: 14px;\n --mdc-filled-text-field-label-text-size: 16px;\n --mat-sys-body-large: 400 1rem / 1.5rem var(--app-font-family);\n --mat-sys-body-large-font: var(--app-font-family);\n --mat-sys-body-large-line-height: 1.5rem;\n --mat-sys-body-large-size: 14px;\n --mat-sys-body-large-tracking: 0.031rem;\n --mat-sys-body-large-weight: 400;\n --mat-sys-body-medium: 400 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-body-medium-font: var(--app-font-family);\n --mat-sys-body-medium-line-height: 1.25rem;\n --mat-sys-body-medium-size: 0.875rem;\n --mat-sys-body-medium-tracking: 0.016rem;\n --mat-sys-body-medium-weight: 400;\n --mat-sys-body-small: 400 0.75rem / 1rem var(--app-font-family);\n --mat-sys-body-small-font: var(--app-font-family);\n --mat-sys-body-small-line-height: 1rem;\n --mat-sys-body-small-size: 0.75rem;\n --mat-sys-body-small-tracking: 0.025rem;\n --mat-sys-body-small-weight: 400;\n --mat-sys-display-large: 400 3.562rem / 4rem var(--app-font-family);\n --mat-sys-display-large-font: var(--app-font-family);\n --mat-sys-display-large-line-height: 4rem;\n --mat-sys-display-large-size: 3.562rem;\n --mat-sys-display-large-tracking: -0.016rem;\n --mat-sys-display-large-weight: 400;\n --mat-sys-display-medium: 400 2.812rem / 3.25rem var(--app-font-family);\n --mat-sys-display-medium-font: var(--app-font-family);\n --mat-sys-display-medium-line-height: 3.25rem;\n --mat-sys-display-medium-size: 2.812rem;\n --mat-sys-display-medium-tracking: 0;\n --mat-sys-display-medium-weight: 400;\n --mat-sys-display-small: 400 2.25rem / 2.75rem var(--app-font-family);\n --mat-sys-display-small-font: var(--app-font-family);\n --mat-sys-display-small-line-height: 2.75rem;\n --mat-sys-display-small-size: 2.25rem;\n --mat-sys-display-small-tracking: 0;\n --mat-sys-display-small-weight: 400;\n --mat-sys-headline-large: 400 2rem / 2.5rem var(--app-font-family);\n --mat-sys-headline-large-font: var(--app-font-family);\n --mat-sys-headline-large-line-height: 2.5rem;\n --mat-sys-headline-large-size: 2rem;\n --mat-sys-headline-large-tracking: 0;\n --mat-sys-headline-large-weight: 400;\n --mat-sys-headline-medium: 400 1.75rem / 2.25rem var(--app-font-family);\n --mat-sys-headline-medium-font: var(--app-font-family);\n --mat-sys-headline-medium-line-height: 2.25rem;\n --mat-sys-headline-medium-size: 1.75rem;\n --mat-sys-headline-medium-tracking: 0;\n --mat-sys-headline-medium-weight: 400;\n --mat-sys-headline-small: 400 1.5rem / 2rem var(--app-font-family);\n --mat-sys-headline-small-font: var(--app-font-family);\n --mat-sys-headline-small-line-height: 2rem;\n --mat-sys-headline-small-size: 1.5rem;\n --mat-sys-headline-small-tracking: 0;\n --mat-sys-headline-small-weight: 400;\n --mat-sys-label-large: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-label-large-font: var(--app-font-family);\n --mat-sys-label-large-line-height: 1.25rem;\n --mat-sys-label-large-size: 0.875rem;\n --mat-sys-label-large-tracking: 0.006rem;\n --mat-sys-label-large-weight: 500;\n --mat-sys-label-large-weight-prominent: 700;\n --mat-sys-label-medium: 500 0.75rem / 1rem var(--app-font-family);\n --mat-sys-label-medium-font: var(--app-font-family);\n --mat-sys-label-medium-line-height: 1rem;\n --mat-sys-label-medium-size: 0.75rem;\n --mat-sys-label-medium-tracking: 0.031rem;\n --mat-sys-label-medium-weight: 500;\n --mat-sys-label-medium-weight-prominent: 700;\n --mat-sys-label-small: 500 0.688rem / 1rem var(--app-font-family);\n --mat-sys-label-small-font: var(--app-font-family);\n --mat-sys-label-small-line-height: 1rem;\n --mat-sys-label-small-size: 0.688rem;\n --mat-sys-label-small-tracking: 0.031rem;\n --mat-sys-label-small-weight: 500;\n --mat-sys-title-large: 400 1.375rem / 1.75rem var(--app-font-family);\n --mat-sys-title-large-font: var(--app-font-family);\n --mat-sys-title-large-line-height: 1.75rem;\n --mat-sys-title-large-size: 1.375rem;\n --mat-sys-title-large-tracking: 0;\n --mat-sys-title-large-weight: 400;\n --mat-sys-title-medium: 500 1rem / 1.5rem var(--app-font-family);\n --mat-sys-title-medium-font: var(--app-font-family);\n --mat-sys-title-medium-line-height: 1.5rem;\n --mat-sys-title-medium-size: 1rem;\n --mat-sys-title-medium-tracking: 0.009rem;\n --mat-sys-title-medium-weight: 500;\n --mat-sys-title-small: 500 0.875rem / 1.25rem var(--app-font-family);\n --mat-sys-title-small-font: var(--app-font-family);\n --mat-sys-title-small-line-height: 1.25rem;\n --mat-sys-title-small-size: 0.875rem;\n --mat-sys-title-small-tracking: 0.006rem;\n --mat-sys-title-small-weight: 500;\n --mat-sys-corner-extra-large: 28px;\n --mat-sys-corner-extra-large-top: 28px 28px 0 0;\n --mat-sys-corner-extra-small: 4px;\n --mat-sys-corner-extra-small-top: 4px 4px 0 0;\n --mat-sys-corner-full: 9999px;\n --mat-sys-corner-large: 16px;\n --mat-sys-corner-large-end: 0 16px 16px 0;\n --mat-sys-corner-large-start: 16px 0 0 16px;\n --mat-sys-corner-large-top: 16px 16px 0 0;\n --mat-sys-corner-medium: 12px;\n --mat-sys-corner-none: 0;\n --mat-sys-corner-small: 8px;\n --mat-sys-dragged-state-layer-opacity: 0.16;\n --mat-sys-focus-state-layer-opacity: 0.12;\n --mat-sys-hover-state-layer-opacity: 0.08;\n --mat-sys-pressed-state-layer-opacity: 0.12;\n}\n.filing .mat-primary .mat-pseudo-checkbox-checked,\n.filing .mat-primary .mat-pseudo-checkbox-indeterminate {\n background: transparent !important;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox {\n width: 24px;\n height: 24px;\n flex-basis: 24px;\n padding: 0;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__background {\n width: 24px;\n height: 24px;\n border-radius: 6px;\n top: 0;\n left: 0;\n border: 3px solid var(--filing-modal-color-grey);\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__checkmark {\n height: 20px;\n width: 20px;\n font-size: 20px;\n top: 1px;\n left: 1px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-checkbox__ripple,\n.filing .mat-mdc-checkbox[cardView] .mat-ripple {\n display: none;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-label {\n padding-left: 8px;\n}\n.filing .mat-mdc-checkbox[cardView] .mdc-button__label {\n line-height: 10px;\n}\n/*# sourceMappingURL=material-theme.css.map */\n'] }]
|
|
93725
95504
|
}], () => [], null);
|
|
93726
95505
|
})();
|
|
93727
95506
|
(() => {
|
|
93728
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber:
|
|
95507
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 86 });
|
|
93729
95508
|
})();
|
|
93730
95509
|
}
|
|
93731
95510
|
});
|
|
@@ -97929,6 +99708,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97929
99708
|
Directors: "Directors",
|
|
97930
99709
|
Officers: "Officers",
|
|
97931
99710
|
"Certified By": "Certified By",
|
|
99711
|
+
"Certified by": "Certified by",
|
|
97932
99712
|
"Expand all": "Expand all",
|
|
97933
99713
|
"Collapse all": "Collapse all",
|
|
97934
99714
|
Add: "Add",
|
|
@@ -97951,6 +99731,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97951
99731
|
"Cancel Edits": "Cancel Edits",
|
|
97952
99732
|
Cancel: "Cancel",
|
|
97953
99733
|
NOTE: "NOTE",
|
|
99734
|
+
"NOTE A new draft needs to be generated as the Entity was changed since the last draft was produced.": "NOTE A new draft needs to be generated as the Entity was changed since the last draft was produced.",
|
|
97954
99735
|
"A new draft needs to be generated as the Entity was changed since the last draft was produced.": "A new draft needs to be generated as the Entity was changed since the last draft was produced.",
|
|
97955
99736
|
"Terms and Conditions": "Terms and Conditions",
|
|
97956
99737
|
"I have read and agree to the Terms and Conditions": "I have read and agree to the Terms and Conditions",
|
|
@@ -98313,6 +100094,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
98313
100094
|
"Existing Officer": "Existing Officer",
|
|
98314
100095
|
"No supporting documents have been added to UEM for this entity. Add them in UEM, then try again.": "No supporting documents have been added to UEM for this entity. Add them in UEM, then try again.",
|
|
98315
100096
|
"All supporting documents have already been added.": "All supporting documents have already been added.",
|
|
100097
|
+
"File British Columbia Notice of Change of Directors": "File British Columbia Notice of Change of Directors",
|
|
100098
|
+
"There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing.": "There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing.",
|
|
100099
|
+
"Directors will be added and/or deleted as part of this filing": "Directors will be added and/or deleted as part of this filing",
|
|
100100
|
+
"Date Directors were added or deleted": "Date Directors were added or deleted",
|
|
100101
|
+
"The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past.": "The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past.",
|
|
100102
|
+
"These are the directors on the corporate register as of {{date}}. Director appointments, cessations and changes to a director's details are made on the task before this filing \u2014 they cannot be added, ceased, or edited here. Ceasing or adding a director requires the checkbox and date in Filing Details above.": "These are the directors on the corporate register as of {{date}}. Director appointments, cessations and changes to a director's details are made on the task before this filing \u2014 they cannot be added, ceased, or edited here. Ceasing or adding a director requires the checkbox and date in Filing Details above.",
|
|
100103
|
+
"defaults to Registered Office mailing address": "defaults to Registered Office mailing address",
|
|
100104
|
+
"Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company.": "Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company.",
|
|
100105
|
+
"Annual Report Reminder": "Annual Report Reminder",
|
|
100106
|
+
"Yes, send the annual report reminder": "Yes, send the annual report reminder",
|
|
100107
|
+
"No, I do not need to be reminded": "No, I do not need to be reminded",
|
|
100108
|
+
"Director Information": "Director Information",
|
|
100109
|
+
"Filing Details": "Filing Details",
|
|
100110
|
+
"Incorporation Number": "Incorporation Number",
|
|
100111
|
+
"Filing Fee": "Filing Fee",
|
|
98316
100112
|
"File British Columbia Articles of Incorporation": "File British Columbia Articles of Incorporation",
|
|
98317
100113
|
Named: "Named",
|
|
98318
100114
|
"Company Name": "Company Name",
|
|
@@ -98384,8 +100180,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
98384
100180
|
"Canadian Resident": "R\xE9sident canadien",
|
|
98385
100181
|
Officers: "Officiers",
|
|
98386
100182
|
"Certified By": "Certifi\xE9 par",
|
|
100183
|
+
"Certified by": "Certifi\xE9 par",
|
|
98387
100184
|
"Expand all": "Afficher tout",
|
|
98388
|
-
"Collapse all": "Masquer
|
|
100185
|
+
"Collapse all": "Tout Masquer",
|
|
98389
100186
|
Add: "Ajouter",
|
|
98390
100187
|
Update: "Mettre \xE0 jour",
|
|
98391
100188
|
Cease: "Cesser",
|
|
@@ -98401,11 +100198,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
98401
100198
|
"The following issues need to be resolved before proceeding:": "Les probl\xE8mes suivants doivent \xEAtre r\xE9solus avant de poursuivre :",
|
|
98402
100199
|
"All addresses must have a street type and direction specified.": "Toutes les adresses doivent inclure un type de rue et une direction.",
|
|
98403
100200
|
"Validate & Generate Draft": "Valider et g\xE9n\xE9rer le brouillon",
|
|
98404
|
-
File: "
|
|
100201
|
+
File: "Fichier",
|
|
98405
100202
|
Edit: "Modifier",
|
|
98406
100203
|
"Cancel Edits": "Annuler les modifications",
|
|
98407
100204
|
Cancel: "Annuler",
|
|
98408
100205
|
NOTE: "REMARQUE",
|
|
100206
|
+
"NOTE A new draft needs to be generated as the Entity was changed since the last draft was produced.": "REMARQUE Un nouveau projet doit \xEAtre g\xE9n\xE9r\xE9 car l'entit\xE9 a \xE9t\xE9 modifi\xE9e depuis la production du dernier projet.",
|
|
98409
100207
|
"A new draft needs to be generated as the Entity was changed since the last draft was produced.": "Un nouveau brouillon doit \xEAtre g\xE9n\xE9r\xE9 car l'entit\xE9 a \xE9t\xE9 modifi\xE9e depuis la production du dernier brouillon.",
|
|
98410
100208
|
"Terms and Conditions": "Termes et conditions",
|
|
98411
100209
|
"I have read and agree to the Terms and Conditions": "J'ai lu et j'accepte les Termes et conditions",
|
|
@@ -98644,7 +100442,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
98644
100442
|
"Existing Officer": "Dirigeant existant",
|
|
98645
100443
|
"No supporting documents have been added to UEM for this entity. Add them in UEM, then try again.": "Aucun document justificatif n'a \xE9t\xE9 ajout\xE9 dans UEM pour cette entit\xE9. Ajoutez-les dans UEM, puis r\xE9essayez.",
|
|
98646
100444
|
"All supporting documents have already been added.": "Tous les documents justificatifs ont d\xE9j\xE0 \xE9t\xE9 ajout\xE9s.",
|
|
98647
|
-
"File British Columbia
|
|
100445
|
+
"File British Columbia Notice of Change of Directors": "D\xE9poser l'avis de changement d'administrateurs de la Colombie-Britannique",
|
|
100446
|
+
"There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing.": "Aucuns frais ne s'appliquent au changement du nom l\xE9gal ou de l'adresse d'un administrateur. Des frais de d\xE9p\xF4t s'appliquent lorsque des administrateurs sont ajout\xE9s ou retir\xE9s dans le cadre de ce d\xE9p\xF4t.",
|
|
100447
|
+
"Directors will be added and/or deleted as part of this filing": "Des administrateurs seront ajout\xE9s et/ou retir\xE9s dans le cadre de ce d\xE9p\xF4t",
|
|
100448
|
+
"Date Directors were added or deleted": "Date d'ajout ou de retrait des administrateurs",
|
|
100449
|
+
"The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past.": "La date \xE0 laquelle la ou les personnes sont devenues administrateurs ou ont cess\xE9 de l'\xEAtre. Cette date doit \xEAtre la date d'aujourd'hui ou une date pass\xE9e.",
|
|
100450
|
+
"These are the directors on the corporate register as of {{date}}. Director appointments, cessations and changes to a director's details are made on the task before this filing \u2014 they cannot be added, ceased, or edited here. Ceasing or adding a director requires the checkbox and date in Filing Details above.": "Voici les administrateurs inscrits au registre de la soci\xE9t\xE9 au {{date}}. Les nominations, cessations et modifications des renseignements d'un administrateur se font dans la t\xE2che avant ce d\xE9p\xF4t \u2014 ils ne peuvent \xEAtre ajout\xE9s, cess\xE9s ou modifi\xE9s ici. L'ajout ou la cessation d'un administrateur exige la case \xE0 cocher et la date dans les D\xE9tails du d\xE9p\xF4t ci-dessus.",
|
|
100451
|
+
"defaults to Registered Office mailing address": "par d\xE9faut, l'adresse postale du si\xE8ge social",
|
|
100452
|
+
"Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company.": "Cette soci\xE9t\xE9 souhaite-t-elle recevoir un rappel pour le d\xE9p\xF4t de ses rapports annuels ? Si une adresse courriel est indiqu\xE9e, le rappel sera envoy\xE9 \xE0 l'adresse courriel de la soci\xE9t\xE9. Sinon, le rappel sera post\xE9 au si\xE8ge social ou au bureau principal de la soci\xE9t\xE9.",
|
|
100453
|
+
"Annual Report Reminder": "Rappel du rapport annuel",
|
|
100454
|
+
"Yes, send the annual report reminder": "Oui, envoyer le rappel du rapport annuel",
|
|
100455
|
+
"No, I do not need to be reminded": "Non, je n'ai pas besoin de rappel",
|
|
100456
|
+
"Director Information": "Renseignements sur les administrateurs",
|
|
100457
|
+
"Filing Details": "D\xE9tails du d\xE9p\xF4t",
|
|
100458
|
+
"Incorporation Number": "Num\xE9ro de constitution",
|
|
100459
|
+
"Filing Fee": "Frais de d\xE9p\xF4t",
|
|
98648
100460
|
Named: "D\xE9nomination",
|
|
98649
100461
|
"Company Name": "Nom de la soci\xE9t\xE9",
|
|
98650
100462
|
"Name Reservation (NR) Number": "Num\xE9ro de r\xE9servation de nom (NR)",
|