@dyedurham/search-and-file-widget 2.0.62 → 2.0.64
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 +1851 -144
- 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,1293 @@ 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
|
+
if (directors.length) {
|
|
84915
|
+
config2[BCChangeOfDirectorsFormGroups.Directors] = new FormArray(directors);
|
|
84916
|
+
}
|
|
84917
|
+
config2[BCChangeOfDirectorsFormGroups.Notification] = new FormGroup({
|
|
84918
|
+
[Controls.RegisterAsOfDate]: this.readOnly(today),
|
|
84919
|
+
[Controls.NotificationMethod]: new FormControl(delta?.notification?.method ?? BCNotificationMethod.Email, Validators.required),
|
|
84920
|
+
[Controls.NotificationEmail]: new FormControl(delta?.notification?.email ?? companyEmail, requiredIfValue(Controls.NotificationMethod, BCNotificationMethod.Email)),
|
|
84921
|
+
[Controls.NotificationMailingAddress]: this.readOnly(registeredMailing)
|
|
84922
|
+
});
|
|
84923
|
+
config2[BCChangeOfDirectorsFormGroups.AnnualReportReminder] = new FormGroup({
|
|
84924
|
+
[Controls.AnnualReportReminder]: new FormControl(delta?.annualReportReminder ?? BCAnnualReportReminder.Yes, Validators.required)
|
|
84925
|
+
});
|
|
84926
|
+
return config2;
|
|
84927
|
+
}
|
|
84928
|
+
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
|
|
84929
|
+
return new FormGroup({
|
|
84930
|
+
[Controls.ClientMatterNumber]: new FormControl(deltaData?.referenceNumber ?? clientMatterNumber ?? ""),
|
|
84931
|
+
[Controls.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
|
|
84932
|
+
});
|
|
84933
|
+
}
|
|
84934
|
+
static generateDirectorFormGroup(affiliation, affiliationType) {
|
|
84935
|
+
const addresses = affiliation.addresses?.length ? affiliation.addresses : affiliation.parent_affiliation?.addresses ?? [];
|
|
84936
|
+
return new FormGroup({
|
|
84937
|
+
[Controls.Id]: new FormControl(affiliation._id),
|
|
84938
|
+
[Controls.AffiliationName]: this.readOnly(generateTaskAffiliationFullName(affiliation)),
|
|
84939
|
+
[Controls.AffiliationType]: this.readOnly(affiliationType),
|
|
84940
|
+
[Controls.MailingAddress]: this.readOnly(BritishColumbiaFormationFormHelper.formatFullAddress(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Mailing"))),
|
|
84941
|
+
[Controls.DeliveryAddress]: this.readOnly(BritishColumbiaFormationFormHelper.formatFullAddress(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery")))
|
|
84942
|
+
});
|
|
84943
|
+
}
|
|
84944
|
+
static readOnly(value) {
|
|
84945
|
+
return new FormControl({ value: value ?? "", disabled: true });
|
|
84946
|
+
}
|
|
84947
|
+
};
|
|
84948
|
+
}
|
|
84949
|
+
});
|
|
84950
|
+
|
|
84951
|
+
// src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
|
|
84952
|
+
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;
|
|
84953
|
+
var init_british_columbia_change_of_directors_form_constants = __esm({
|
|
84954
|
+
"src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
|
|
84955
|
+
init_form_enums();
|
|
84956
|
+
init_british_columbia_form_enums();
|
|
84957
|
+
init_BritishColumbiaConstants();
|
|
84958
|
+
Controls2 = BCChangeOfDirectorsFormControls;
|
|
84959
|
+
labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
84960
|
+
readOnlyRow = (label, control, className = "span-12") => ({
|
|
84961
|
+
type: FormType.Text,
|
|
84962
|
+
formControlName: control,
|
|
84963
|
+
class: className,
|
|
84964
|
+
dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
|
|
84965
|
+
});
|
|
84966
|
+
directorsAddedOrDeleted = (form) => Boolean(form.get(Controls2.DirectorsAddedOrDeleted)?.value);
|
|
84967
|
+
isNotifyByMail = (form) => form.get(Controls2.NotificationMethod)?.value === BCNotificationMethod.Mail;
|
|
84968
|
+
BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
84969
|
+
{
|
|
84970
|
+
type: FormType.Input,
|
|
84971
|
+
label: "Client/Matter Number",
|
|
84972
|
+
formControlName: Controls2.ClientMatterNumber
|
|
84973
|
+
},
|
|
84974
|
+
{
|
|
84975
|
+
type: FormType.Input,
|
|
84976
|
+
label: "Docket Number",
|
|
84977
|
+
formControlName: Controls2.DocketNumber
|
|
84978
|
+
}
|
|
84979
|
+
];
|
|
84980
|
+
BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
84981
|
+
readOnlyRow("Corporation Name", Controls2.CorporationName),
|
|
84982
|
+
readOnlyRow("Incorporation Number", Controls2.IncorporationNumber),
|
|
84983
|
+
readOnlyRow("Company Email", Controls2.CompanyEmail)
|
|
84984
|
+
];
|
|
84985
|
+
BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
|
|
84986
|
+
{
|
|
84987
|
+
type: FormType.Text,
|
|
84988
|
+
formControlName: "",
|
|
84989
|
+
class: "span-12",
|
|
84990
|
+
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.")}`
|
|
84991
|
+
},
|
|
84992
|
+
{
|
|
84993
|
+
type: FormType.Checkbox,
|
|
84994
|
+
label: "Directors will be added and/or deleted as part of this filing",
|
|
84995
|
+
formControlName: Controls2.DirectorsAddedOrDeleted,
|
|
84996
|
+
class: "span-12",
|
|
84997
|
+
onChange: (form) => {
|
|
84998
|
+
if (!directorsAddedOrDeleted(form)) {
|
|
84999
|
+
form.get(Controls2.ChangeDate)?.setValue("", { emitEvent: false });
|
|
85000
|
+
}
|
|
85001
|
+
form.get(Controls2.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85002
|
+
}
|
|
85003
|
+
},
|
|
85004
|
+
{
|
|
85005
|
+
type: FormType.Date,
|
|
85006
|
+
label: "Date Directors were added or deleted",
|
|
85007
|
+
formControlName: Controls2.ChangeDate,
|
|
85008
|
+
required: true,
|
|
85009
|
+
isVisible: directorsAddedOrDeleted,
|
|
85010
|
+
class: "span-8"
|
|
85011
|
+
},
|
|
85012
|
+
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls2.FilingFee, "span-4")), {
|
|
85013
|
+
isVisible: directorsAddedOrDeleted
|
|
85014
|
+
}),
|
|
85015
|
+
{
|
|
85016
|
+
type: FormType.Text,
|
|
85017
|
+
formControlName: "",
|
|
85018
|
+
class: "span-12",
|
|
85019
|
+
isVisible: directorsAddedOrDeleted,
|
|
85020
|
+
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.")
|
|
85021
|
+
}
|
|
85022
|
+
];
|
|
85023
|
+
generateBCChangeOfDirectorsIntroFields = (registerAsOf) => [
|
|
85024
|
+
{
|
|
85025
|
+
type: FormType.Text,
|
|
85026
|
+
formControlName: "",
|
|
85027
|
+
class: "span-12",
|
|
85028
|
+
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)
|
|
85029
|
+
}
|
|
85030
|
+
];
|
|
85031
|
+
BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
|
|
85032
|
+
readOnlyRow("Mailing Address - Full Address", Controls2.MailingAddress),
|
|
85033
|
+
readOnlyRow("Delivery Address - Full Address", Controls2.DeliveryAddress)
|
|
85034
|
+
];
|
|
85035
|
+
BC_COD_DELTA_CARD_FORM_NOTIFICATION_FIELDS = [
|
|
85036
|
+
{
|
|
85037
|
+
type: FormType.Select,
|
|
85038
|
+
label: "Notification Method",
|
|
85039
|
+
formControlName: Controls2.NotificationMethod,
|
|
85040
|
+
required: true,
|
|
85041
|
+
options: BC_NOTIFICATION_METHOD_OPTIONS,
|
|
85042
|
+
needTranslate: true,
|
|
85043
|
+
class: "span-6",
|
|
85044
|
+
onChange: (form) => form.get(Controls2.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
|
|
85045
|
+
},
|
|
85046
|
+
{
|
|
85047
|
+
type: FormType.Input,
|
|
85048
|
+
label: "Notification Email",
|
|
85049
|
+
formControlName: Controls2.NotificationEmail,
|
|
85050
|
+
required: true,
|
|
85051
|
+
isVisible: (form) => !isNotifyByMail(form),
|
|
85052
|
+
class: "column-3"
|
|
85053
|
+
},
|
|
85054
|
+
{
|
|
85055
|
+
type: FormType.Text,
|
|
85056
|
+
formControlName: Controls2.NotificationMailingAddress,
|
|
85057
|
+
class: "span-12",
|
|
85058
|
+
isVisible: isNotifyByMail,
|
|
85059
|
+
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")})`
|
|
85060
|
+
}
|
|
85061
|
+
];
|
|
85062
|
+
BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
|
|
85063
|
+
{
|
|
85064
|
+
type: FormType.Text,
|
|
85065
|
+
formControlName: "",
|
|
85066
|
+
class: "span-12",
|
|
85067
|
+
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.")
|
|
85068
|
+
},
|
|
85069
|
+
{
|
|
85070
|
+
type: FormType.Select,
|
|
85071
|
+
label: "Annual Report Reminder",
|
|
85072
|
+
formControlName: Controls2.AnnualReportReminder,
|
|
85073
|
+
required: true,
|
|
85074
|
+
options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
|
|
85075
|
+
needTranslate: true,
|
|
85076
|
+
class: "column-3"
|
|
85077
|
+
}
|
|
85078
|
+
];
|
|
85079
|
+
}
|
|
85080
|
+
});
|
|
85081
|
+
|
|
85082
|
+
// src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts
|
|
85083
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template(rf, ctx) {
|
|
85084
|
+
if (rf & 1) {
|
|
85085
|
+
\u0275\u0275element(0, "alert", 2);
|
|
85086
|
+
}
|
|
85087
|
+
if (rf & 2) {
|
|
85088
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85089
|
+
\u0275\u0275property("type", ctx_r0.alertType.Info);
|
|
85090
|
+
}
|
|
85091
|
+
}
|
|
85092
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template(rf, ctx) {
|
|
85093
|
+
if (rf & 1) {
|
|
85094
|
+
\u0275\u0275element(0, "alert", 3);
|
|
85095
|
+
}
|
|
85096
|
+
if (rf & 2) {
|
|
85097
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85098
|
+
\u0275\u0275property("content", ctx_r0.errors());
|
|
85099
|
+
}
|
|
85100
|
+
}
|
|
85101
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template(rf, ctx) {
|
|
85102
|
+
if (rf & 1) {
|
|
85103
|
+
const _r2 = \u0275\u0275getCurrentView();
|
|
85104
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 11);
|
|
85105
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
85106
|
+
\u0275\u0275restoreView(_r2);
|
|
85107
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85108
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
|
|
85109
|
+
});
|
|
85110
|
+
\u0275\u0275elementEnd()();
|
|
85111
|
+
}
|
|
85112
|
+
if (rf & 2) {
|
|
85113
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85114
|
+
const referenceNumbers_r3 = \u0275\u0275readContextLet(4);
|
|
85115
|
+
\u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
|
|
85116
|
+
\u0275\u0275advance();
|
|
85117
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
|
|
85118
|
+
}
|
|
85119
|
+
}
|
|
85120
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template(rf, ctx) {
|
|
85121
|
+
if (rf & 1) {
|
|
85122
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 12)(2, "p")(3, "strong");
|
|
85123
|
+
\u0275\u0275text(4);
|
|
85124
|
+
\u0275\u0275pipe(5, "translate");
|
|
85125
|
+
\u0275\u0275elementEnd();
|
|
85126
|
+
\u0275\u0275text(6);
|
|
85127
|
+
\u0275\u0275elementEnd();
|
|
85128
|
+
\u0275\u0275elementStart(7, "p")(8, "strong");
|
|
85129
|
+
\u0275\u0275text(9);
|
|
85130
|
+
\u0275\u0275pipe(10, "translate");
|
|
85131
|
+
\u0275\u0275elementEnd();
|
|
85132
|
+
\u0275\u0275text(11);
|
|
85133
|
+
\u0275\u0275elementEnd();
|
|
85134
|
+
\u0275\u0275elementStart(12, "p")(13, "strong");
|
|
85135
|
+
\u0275\u0275text(14);
|
|
85136
|
+
\u0275\u0275pipe(15, "translate");
|
|
85137
|
+
\u0275\u0275elementEnd();
|
|
85138
|
+
\u0275\u0275text(16);
|
|
85139
|
+
\u0275\u0275elementEnd()()();
|
|
85140
|
+
}
|
|
85141
|
+
if (rf & 2) {
|
|
85142
|
+
let tmp_10_0;
|
|
85143
|
+
let tmp_12_0;
|
|
85144
|
+
let tmp_14_0;
|
|
85145
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85146
|
+
const corporationDetails_r4 = \u0275\u0275readContextLet(6);
|
|
85147
|
+
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
|
|
85148
|
+
\u0275\u0275advance(4);
|
|
85149
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 8, "Corporation Name"), ":");
|
|
85150
|
+
\u0275\u0275advance(2);
|
|
85151
|
+
\u0275\u0275textInterpolate1(" ", (tmp_10_0 = corporationDetails_r4.get(ctx_r0.controls.CorporationName)) == null ? null : tmp_10_0.value, " ");
|
|
85152
|
+
\u0275\u0275advance(3);
|
|
85153
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10, 10, "Incorporation Number"), ":");
|
|
85154
|
+
\u0275\u0275advance(2);
|
|
85155
|
+
\u0275\u0275textInterpolate1(" ", (tmp_12_0 = corporationDetails_r4.get(ctx_r0.controls.IncorporationNumber)) == null ? null : tmp_12_0.value, " ");
|
|
85156
|
+
\u0275\u0275advance(3);
|
|
85157
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(15, 12, "Company Email"), ":");
|
|
85158
|
+
\u0275\u0275advance(2);
|
|
85159
|
+
\u0275\u0275textInterpolate1(" ", (tmp_14_0 = corporationDetails_r4.get(ctx_r0.controls.CompanyEmail)) == null ? null : tmp_14_0.value, " ");
|
|
85160
|
+
}
|
|
85161
|
+
}
|
|
85162
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template(rf, ctx) {
|
|
85163
|
+
if (rf & 1) {
|
|
85164
|
+
const _r7 = \u0275\u0275getCurrentView();
|
|
85165
|
+
\u0275\u0275elementStart(0, "div", 16)(1, "div", 17)(2, "label");
|
|
85166
|
+
\u0275\u0275text(3);
|
|
85167
|
+
\u0275\u0275pipe(4, "translate");
|
|
85168
|
+
\u0275\u0275elementStart(5, "span");
|
|
85169
|
+
\u0275\u0275text(6, "*");
|
|
85170
|
+
\u0275\u0275elementEnd()();
|
|
85171
|
+
\u0275\u0275elementStart(7, "mat-form-field", 18)(8, "input", 19);
|
|
85172
|
+
\u0275\u0275listener("dateChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_dateChange_8_listener() {
|
|
85173
|
+
\u0275\u0275restoreView(_r7);
|
|
85174
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85175
|
+
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85176
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85177
|
+
});
|
|
85178
|
+
\u0275\u0275elementEnd();
|
|
85179
|
+
\u0275\u0275elementStart(9, "mat-datepicker-toggle", 20)(10, "mat-icon", 21);
|
|
85180
|
+
\u0275\u0275text(11, "calendar_today");
|
|
85181
|
+
\u0275\u0275elementEnd()();
|
|
85182
|
+
\u0275\u0275element(12, "mat-datepicker", null, 0);
|
|
85183
|
+
\u0275\u0275elementEnd();
|
|
85184
|
+
\u0275\u0275elementStart(14, "p", 22);
|
|
85185
|
+
\u0275\u0275text(15);
|
|
85186
|
+
\u0275\u0275pipe(16, "translate");
|
|
85187
|
+
\u0275\u0275elementEnd()();
|
|
85188
|
+
\u0275\u0275elementStart(17, "p", 23)(18, "strong");
|
|
85189
|
+
\u0275\u0275text(19);
|
|
85190
|
+
\u0275\u0275pipe(20, "translate");
|
|
85191
|
+
\u0275\u0275elementEnd();
|
|
85192
|
+
\u0275\u0275text(21);
|
|
85193
|
+
\u0275\u0275elementEnd()();
|
|
85194
|
+
}
|
|
85195
|
+
if (rf & 2) {
|
|
85196
|
+
let tmp_15_0;
|
|
85197
|
+
const changeDatePicker_r8 = \u0275\u0275reference(13);
|
|
85198
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85199
|
+
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85200
|
+
\u0275\u0275advance(3);
|
|
85201
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 7, "Date Directors were added or deleted"), "");
|
|
85202
|
+
\u0275\u0275advance(5);
|
|
85203
|
+
\u0275\u0275property("matDatepicker", changeDatePicker_r8)("formControlName", ctx_r0.controls.ChangeDate);
|
|
85204
|
+
\u0275\u0275advance();
|
|
85205
|
+
\u0275\u0275property("for", changeDatePicker_r8);
|
|
85206
|
+
\u0275\u0275advance(6);
|
|
85207
|
+
\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."), " ");
|
|
85208
|
+
\u0275\u0275advance(4);
|
|
85209
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(20, 11, "Filing Fee"), ":");
|
|
85210
|
+
\u0275\u0275advance(2);
|
|
85211
|
+
\u0275\u0275textInterpolate1(" ", (tmp_15_0 = filingDetails_r6.get(ctx_r0.controls.FilingFee)) == null ? null : tmp_15_0.value, " ");
|
|
85212
|
+
}
|
|
85213
|
+
}
|
|
85214
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template(rf, ctx) {
|
|
85215
|
+
if (rf & 1) {
|
|
85216
|
+
const _r5 = \u0275\u0275getCurrentView();
|
|
85217
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 13)(2, "div", 14)(3, "strong");
|
|
85218
|
+
\u0275\u0275text(4);
|
|
85219
|
+
\u0275\u0275pipe(5, "translate");
|
|
85220
|
+
\u0275\u0275elementEnd();
|
|
85221
|
+
\u0275\u0275text(6);
|
|
85222
|
+
\u0275\u0275pipe(7, "translate");
|
|
85223
|
+
\u0275\u0275elementEnd();
|
|
85224
|
+
\u0275\u0275elementStart(8, "mat-checkbox", 15);
|
|
85225
|
+
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_8_listener() {
|
|
85226
|
+
let tmp_8_0;
|
|
85227
|
+
\u0275\u0275restoreView(_r5);
|
|
85228
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85229
|
+
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85230
|
+
(tmp_8_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_8_0.updateValueAndValidity({ emitEvent: false });
|
|
85231
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85232
|
+
});
|
|
85233
|
+
\u0275\u0275text(9);
|
|
85234
|
+
\u0275\u0275pipe(10, "translate");
|
|
85235
|
+
\u0275\u0275elementEnd();
|
|
85236
|
+
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 22, 13, "div", 16);
|
|
85237
|
+
\u0275\u0275elementEnd()();
|
|
85238
|
+
}
|
|
85239
|
+
if (rf & 2) {
|
|
85240
|
+
let tmp_15_0;
|
|
85241
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85242
|
+
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85243
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["filingDetails"])("title", ctx_r0.groups.FilingDetails);
|
|
85244
|
+
\u0275\u0275advance();
|
|
85245
|
+
\u0275\u0275property("formGroup", filingDetails_r6);
|
|
85246
|
+
\u0275\u0275advance(3);
|
|
85247
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 9, "Note"), ":");
|
|
85248
|
+
\u0275\u0275advance(2);
|
|
85249
|
+
\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."), " ");
|
|
85250
|
+
\u0275\u0275advance(2);
|
|
85251
|
+
\u0275\u0275property("formControlName", ctx_r0.controls.DirectorsAddedOrDeleted);
|
|
85252
|
+
\u0275\u0275advance();
|
|
85253
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(10, 13, "Directors will be added and/or deleted as part of this filing"), " ");
|
|
85254
|
+
\u0275\u0275advance(2);
|
|
85255
|
+
\u0275\u0275conditional(((tmp_15_0 = filingDetails_r6.get(ctx_r0.controls.DirectorsAddedOrDeleted)) == null ? null : tmp_15_0.value) ? 11 : -1);
|
|
85256
|
+
}
|
|
85257
|
+
}
|
|
85258
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_4_Template(rf, ctx) {
|
|
85259
|
+
if (rf & 1) {
|
|
85260
|
+
\u0275\u0275elementStart(0, "span", 28);
|
|
85261
|
+
\u0275\u0275text(1);
|
|
85262
|
+
\u0275\u0275pipe(2, "translate");
|
|
85263
|
+
\u0275\u0275elementEnd();
|
|
85264
|
+
}
|
|
85265
|
+
if (rf & 2) {
|
|
85266
|
+
\u0275\u0275advance();
|
|
85267
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "NEW"));
|
|
85268
|
+
}
|
|
85269
|
+
}
|
|
85270
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_5_Template(rf, ctx) {
|
|
85271
|
+
if (rf & 1) {
|
|
85272
|
+
\u0275\u0275elementStart(0, "span", 29);
|
|
85273
|
+
\u0275\u0275text(1);
|
|
85274
|
+
\u0275\u0275pipe(2, "translate");
|
|
85275
|
+
\u0275\u0275elementEnd();
|
|
85276
|
+
}
|
|
85277
|
+
if (rf & 2) {
|
|
85278
|
+
\u0275\u0275advance();
|
|
85279
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "CEASE"));
|
|
85280
|
+
}
|
|
85281
|
+
}
|
|
85282
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Template(rf, ctx) {
|
|
85283
|
+
if (rf & 1) {
|
|
85284
|
+
\u0275\u0275elementStart(0, "div", 26)(1, "div", 27)(2, "strong");
|
|
85285
|
+
\u0275\u0275text(3);
|
|
85286
|
+
\u0275\u0275elementEnd();
|
|
85287
|
+
\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);
|
|
85288
|
+
\u0275\u0275elementEnd();
|
|
85289
|
+
\u0275\u0275elementStart(6, "div", 27);
|
|
85290
|
+
\u0275\u0275text(7);
|
|
85291
|
+
\u0275\u0275elementEnd();
|
|
85292
|
+
\u0275\u0275elementStart(8, "div", 27);
|
|
85293
|
+
\u0275\u0275text(9);
|
|
85294
|
+
\u0275\u0275elementEnd()();
|
|
85295
|
+
}
|
|
85296
|
+
if (rf & 2) {
|
|
85297
|
+
let tmp_20_0;
|
|
85298
|
+
let tmp_23_0;
|
|
85299
|
+
let tmp_24_0;
|
|
85300
|
+
\u0275\u0275nextContext();
|
|
85301
|
+
const directorForm_r9 = \u0275\u0275readContextLet(0);
|
|
85302
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85303
|
+
\u0275\u0275advance(3);
|
|
85304
|
+
\u0275\u0275textInterpolate((tmp_20_0 = directorForm_r9.get(ctx_r0.controls.AffiliationName)) == null ? null : tmp_20_0.value);
|
|
85305
|
+
\u0275\u0275advance();
|
|
85306
|
+
\u0275\u0275conditional(ctx_r0.isNewDirector(directorForm_r9) ? 4 : -1);
|
|
85307
|
+
\u0275\u0275advance();
|
|
85308
|
+
\u0275\u0275conditional(ctx_r0.isCeasedDirector(directorForm_r9) ? 5 : -1);
|
|
85309
|
+
\u0275\u0275advance(2);
|
|
85310
|
+
\u0275\u0275textInterpolate((tmp_23_0 = directorForm_r9.get(ctx_r0.controls.MailingAddress)) == null ? null : tmp_23_0.value);
|
|
85311
|
+
\u0275\u0275advance(2);
|
|
85312
|
+
\u0275\u0275textInterpolate((tmp_24_0 = directorForm_r9.get(ctx_r0.controls.DeliveryAddress)) == null ? null : tmp_24_0.value);
|
|
85313
|
+
}
|
|
85314
|
+
}
|
|
85315
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Template(rf, ctx) {
|
|
85316
|
+
if (rf & 1) {
|
|
85317
|
+
\u0275\u0275declareLet(0);
|
|
85318
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Template, 10, 5, "div", 26);
|
|
85319
|
+
}
|
|
85320
|
+
if (rf & 2) {
|
|
85321
|
+
const \u0275$index_118_r10 = ctx.$index;
|
|
85322
|
+
const directorForm_r11 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_118_r10));
|
|
85323
|
+
\u0275\u0275advance();
|
|
85324
|
+
\u0275\u0275conditional(directorForm_r11 ? 1 : -1);
|
|
85325
|
+
}
|
|
85326
|
+
}
|
|
85327
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template(rf, ctx) {
|
|
85328
|
+
if (rf & 1) {
|
|
85329
|
+
\u0275\u0275elementStart(0, "div", 9)(1, "div", 24)(2, "div", 25);
|
|
85330
|
+
\u0275\u0275text(3);
|
|
85331
|
+
\u0275\u0275pipe(4, "translate");
|
|
85332
|
+
\u0275\u0275elementEnd();
|
|
85333
|
+
\u0275\u0275elementStart(5, "div", 25);
|
|
85334
|
+
\u0275\u0275text(6);
|
|
85335
|
+
\u0275\u0275pipe(7, "translate");
|
|
85336
|
+
\u0275\u0275elementEnd();
|
|
85337
|
+
\u0275\u0275elementStart(8, "div", 25);
|
|
85338
|
+
\u0275\u0275text(9);
|
|
85339
|
+
\u0275\u0275pipe(10, "translate");
|
|
85340
|
+
\u0275\u0275elementEnd()();
|
|
85341
|
+
\u0275\u0275repeaterCreate(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Template, 2, 2, null, null, \u0275\u0275repeaterTrackByIdentity);
|
|
85342
|
+
\u0275\u0275elementEnd();
|
|
85343
|
+
}
|
|
85344
|
+
if (rf & 2) {
|
|
85345
|
+
\u0275\u0275nextContext();
|
|
85346
|
+
const directorsArray_r12 = \u0275\u0275readContextLet(10);
|
|
85347
|
+
\u0275\u0275advance(3);
|
|
85348
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(4, 3, "Name"));
|
|
85349
|
+
\u0275\u0275advance(3);
|
|
85350
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(7, 5, "Mailing Address"));
|
|
85351
|
+
\u0275\u0275advance(3);
|
|
85352
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 7, "Delivery Address"));
|
|
85353
|
+
\u0275\u0275advance(2);
|
|
85354
|
+
\u0275\u0275repeater(directorsArray_r12.controls);
|
|
85355
|
+
}
|
|
85356
|
+
}
|
|
85357
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_14_Template(rf, ctx) {
|
|
85358
|
+
if (rf & 1) {
|
|
85359
|
+
\u0275\u0275elementStart(0, "h2", 10);
|
|
85360
|
+
\u0275\u0275text(1);
|
|
85361
|
+
\u0275\u0275pipe(2, "translate");
|
|
85362
|
+
\u0275\u0275elementEnd();
|
|
85363
|
+
}
|
|
85364
|
+
if (rf & 2) {
|
|
85365
|
+
\u0275\u0275advance();
|
|
85366
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "Unchanged"));
|
|
85367
|
+
}
|
|
85368
|
+
}
|
|
85369
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Conditional_9_Template(rf, ctx) {
|
|
85370
|
+
if (rf & 1) {
|
|
85371
|
+
const _r15 = \u0275\u0275getCurrentView();
|
|
85372
|
+
\u0275\u0275elementStart(0, "div", 33)(1, "label");
|
|
85373
|
+
\u0275\u0275text(2);
|
|
85374
|
+
\u0275\u0275pipe(3, "translate");
|
|
85375
|
+
\u0275\u0275elementStart(4, "span");
|
|
85376
|
+
\u0275\u0275text(5, "*");
|
|
85377
|
+
\u0275\u0275elementEnd()();
|
|
85378
|
+
\u0275\u0275elementStart(6, "mat-form-field", 18)(7, "input", 35);
|
|
85379
|
+
\u0275\u0275listener("input", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Conditional_9_Template_input_input_7_listener() {
|
|
85380
|
+
\u0275\u0275restoreView(_r15);
|
|
85381
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85382
|
+
const notification_r14 = \u0275\u0275readContextLet(15);
|
|
85383
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("notification", notification_r14.valid));
|
|
85384
|
+
});
|
|
85385
|
+
\u0275\u0275elementEnd()()();
|
|
85386
|
+
}
|
|
85387
|
+
if (rf & 2) {
|
|
85388
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85389
|
+
\u0275\u0275advance(2);
|
|
85390
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(3, 2, "Notification Email"));
|
|
85391
|
+
\u0275\u0275advance(5);
|
|
85392
|
+
\u0275\u0275property("formControlName", ctx_r0.controls.NotificationEmail);
|
|
85393
|
+
}
|
|
85394
|
+
}
|
|
85395
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Conditional_10_Template(rf, ctx) {
|
|
85396
|
+
if (rf & 1) {
|
|
85397
|
+
\u0275\u0275elementStart(0, "p", 34)(1, "strong");
|
|
85398
|
+
\u0275\u0275text(2);
|
|
85399
|
+
\u0275\u0275pipe(3, "translate");
|
|
85400
|
+
\u0275\u0275elementEnd();
|
|
85401
|
+
\u0275\u0275text(4);
|
|
85402
|
+
\u0275\u0275pipe(5, "translate");
|
|
85403
|
+
\u0275\u0275elementEnd();
|
|
85404
|
+
}
|
|
85405
|
+
if (rf & 2) {
|
|
85406
|
+
let tmp_9_0;
|
|
85407
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85408
|
+
const notification_r14 = \u0275\u0275readContextLet(15);
|
|
85409
|
+
\u0275\u0275advance(2);
|
|
85410
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(3, 2, "Mailing Address"), ":");
|
|
85411
|
+
\u0275\u0275advance(2);
|
|
85412
|
+
\u0275\u0275textInterpolate1(" ", ((tmp_9_0 = notification_r14.get(ctx_r0.controls.NotificationMailingAddress)) == null ? null : tmp_9_0.value) || \u0275\u0275pipeBind1(5, 4, "Not specified"), " ");
|
|
85413
|
+
}
|
|
85414
|
+
}
|
|
85415
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Template(rf, ctx) {
|
|
85416
|
+
if (rf & 1) {
|
|
85417
|
+
const _r13 = \u0275\u0275getCurrentView();
|
|
85418
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 30)(2, "mat-radio-group", 31);
|
|
85419
|
+
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Template_mat_radio_group_change_2_listener() {
|
|
85420
|
+
let tmp_8_0;
|
|
85421
|
+
\u0275\u0275restoreView(_r13);
|
|
85422
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85423
|
+
const notification_r14 = \u0275\u0275readContextLet(15);
|
|
85424
|
+
(tmp_8_0 = notification_r14.get(ctx_r0.controls.NotificationEmail)) == null ? null : tmp_8_0.updateValueAndValidity({ emitEvent: false });
|
|
85425
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("notification", notification_r14.valid));
|
|
85426
|
+
});
|
|
85427
|
+
\u0275\u0275elementStart(3, "mat-radio-button", 32);
|
|
85428
|
+
\u0275\u0275text(4);
|
|
85429
|
+
\u0275\u0275pipe(5, "translate");
|
|
85430
|
+
\u0275\u0275elementEnd();
|
|
85431
|
+
\u0275\u0275elementStart(6, "mat-radio-button", 32);
|
|
85432
|
+
\u0275\u0275text(7);
|
|
85433
|
+
\u0275\u0275pipe(8, "translate");
|
|
85434
|
+
\u0275\u0275elementEnd()();
|
|
85435
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Conditional_9_Template, 8, 4, "div", 33)(10, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Conditional_10_Template, 6, 6, "p", 34);
|
|
85436
|
+
\u0275\u0275elementEnd()();
|
|
85437
|
+
}
|
|
85438
|
+
if (rf & 2) {
|
|
85439
|
+
let tmp_16_0;
|
|
85440
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85441
|
+
const notification_r14 = \u0275\u0275readContextLet(15);
|
|
85442
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["notification"])("title", ctx_r0.groups.Notification);
|
|
85443
|
+
\u0275\u0275advance();
|
|
85444
|
+
\u0275\u0275property("formGroup", notification_r14);
|
|
85445
|
+
\u0275\u0275advance();
|
|
85446
|
+
\u0275\u0275property("formControlName", ctx_r0.controls.NotificationMethod);
|
|
85447
|
+
\u0275\u0275advance();
|
|
85448
|
+
\u0275\u0275property("value", ctx_r0.notificationMethodOption.Email);
|
|
85449
|
+
\u0275\u0275advance();
|
|
85450
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(5, 10, "Notify by email"), " ");
|
|
85451
|
+
\u0275\u0275advance(2);
|
|
85452
|
+
\u0275\u0275property("value", ctx_r0.notificationMethodOption.Mail);
|
|
85453
|
+
\u0275\u0275advance();
|
|
85454
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(8, 12, "Notify by mail"), " ");
|
|
85455
|
+
\u0275\u0275advance(2);
|
|
85456
|
+
\u0275\u0275conditional(((tmp_16_0 = notification_r14.get(ctx_r0.controls.NotificationMethod)) == null ? null : tmp_16_0.value) === ctx_r0.notificationMethodOption.Email ? 9 : 10);
|
|
85457
|
+
}
|
|
85458
|
+
}
|
|
85459
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_18_Template(rf, ctx) {
|
|
85460
|
+
if (rf & 1) {
|
|
85461
|
+
const _r16 = \u0275\u0275getCurrentView();
|
|
85462
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 36)(2, "p");
|
|
85463
|
+
\u0275\u0275text(3);
|
|
85464
|
+
\u0275\u0275pipe(4, "translate");
|
|
85465
|
+
\u0275\u0275elementEnd();
|
|
85466
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 31);
|
|
85467
|
+
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_18_Template_mat_radio_group_change_5_listener() {
|
|
85468
|
+
\u0275\u0275restoreView(_r16);
|
|
85469
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85470
|
+
const annualReportReminder_r17 = \u0275\u0275readContextLet(17);
|
|
85471
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder", annualReportReminder_r17.valid));
|
|
85472
|
+
});
|
|
85473
|
+
\u0275\u0275elementStart(6, "mat-radio-button", 32);
|
|
85474
|
+
\u0275\u0275text(7);
|
|
85475
|
+
\u0275\u0275pipe(8, "translate");
|
|
85476
|
+
\u0275\u0275elementEnd();
|
|
85477
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 32);
|
|
85478
|
+
\u0275\u0275text(10);
|
|
85479
|
+
\u0275\u0275pipe(11, "translate");
|
|
85480
|
+
\u0275\u0275elementEnd()()()();
|
|
85481
|
+
}
|
|
85482
|
+
if (rf & 2) {
|
|
85483
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85484
|
+
const annualReportReminder_r17 = \u0275\u0275readContextLet(17);
|
|
85485
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["annualReportReminder"])("title", ctx_r0.groups.AnnualReportReminder);
|
|
85486
|
+
\u0275\u0275advance();
|
|
85487
|
+
\u0275\u0275property("formGroup", annualReportReminder_r17);
|
|
85488
|
+
\u0275\u0275advance(2);
|
|
85489
|
+
\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."), " ");
|
|
85490
|
+
\u0275\u0275advance(2);
|
|
85491
|
+
\u0275\u0275property("formControlName", ctx_r0.controls.AnnualReportReminder);
|
|
85492
|
+
\u0275\u0275advance();
|
|
85493
|
+
\u0275\u0275property("value", ctx_r0.annualReportReminderOption.Yes);
|
|
85494
|
+
\u0275\u0275advance();
|
|
85495
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(8, 12, "Yes, send the annual report reminder"), " ");
|
|
85496
|
+
\u0275\u0275advance(2);
|
|
85497
|
+
\u0275\u0275property("value", ctx_r0.annualReportReminderOption.No);
|
|
85498
|
+
\u0275\u0275advance();
|
|
85499
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(11, 14, "No, I do not need to be reminded"), " ");
|
|
85500
|
+
}
|
|
85501
|
+
}
|
|
85502
|
+
var BritishColumbiaChangeOfDirectorsFormComponent;
|
|
85503
|
+
var init_change_of_directors_form_component = __esm({
|
|
85504
|
+
"src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts"() {
|
|
85505
|
+
init_core();
|
|
85506
|
+
init_forms();
|
|
85507
|
+
init_checkbox();
|
|
85508
|
+
init_datepicker();
|
|
85509
|
+
init_form_field();
|
|
85510
|
+
init_input();
|
|
85511
|
+
init_icon();
|
|
85512
|
+
init_radio();
|
|
85513
|
+
init_ngx_translate_core();
|
|
85514
|
+
init_filing_form_group_component();
|
|
85515
|
+
init_alert_component();
|
|
85516
|
+
init_alert_enum();
|
|
85517
|
+
init_expandable_card_component();
|
|
85518
|
+
init_british_columbia_form_enums();
|
|
85519
|
+
init_british_columbia_change_of_directors_form_constants();
|
|
85520
|
+
init_BritishColumbiaConstants();
|
|
85521
|
+
init_core();
|
|
85522
|
+
init_forms();
|
|
85523
|
+
BritishColumbiaChangeOfDirectorsFormComponent = class _BritishColumbiaChangeOfDirectorsFormComponent {
|
|
85524
|
+
form = input.required();
|
|
85525
|
+
task = input();
|
|
85526
|
+
errors = input([]);
|
|
85527
|
+
isNote = input(false);
|
|
85528
|
+
isSubmitted = input(false);
|
|
85529
|
+
readonly = input(false);
|
|
85530
|
+
visiblyValidChange = output();
|
|
85531
|
+
alertType = AlertType;
|
|
85532
|
+
groups = BCChangeOfDirectorsFormGroups;
|
|
85533
|
+
controls = BCChangeOfDirectorsFormControls;
|
|
85534
|
+
notificationMethodOption = BCNotificationMethod;
|
|
85535
|
+
annualReportReminderOption = BCAnnualReportReminder;
|
|
85536
|
+
referenceNumbersFields = BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
85537
|
+
corporationDetailsFields = BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS;
|
|
85538
|
+
filingDetailsFields = BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS;
|
|
85539
|
+
directorsFields = BC_COD_CARD_FORM_DIRECTORS_FIELDS;
|
|
85540
|
+
notificationFields = BC_COD_DELTA_CARD_FORM_NOTIFICATION_FIELDS;
|
|
85541
|
+
annualReportReminderFields = BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85542
|
+
directorsIntroFields = computed(() => {
|
|
85543
|
+
const date = this.form().get(this.groups.Notification)?.get(this.controls.RegisterAsOfDate)?.value ?? "";
|
|
85544
|
+
return generateBCChangeOfDirectorsIntroFields(date);
|
|
85545
|
+
});
|
|
85546
|
+
initiallyOpenCardsCount = 3;
|
|
85547
|
+
sectionValidity = {};
|
|
85548
|
+
isVisiblyValid() {
|
|
85549
|
+
return Object.values(this.sectionValidity).every((v) => v);
|
|
85550
|
+
}
|
|
85551
|
+
onSectionValidChange(section, valid) {
|
|
85552
|
+
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
85553
|
+
this.visiblyValidChange.emit(this.isVisiblyValid());
|
|
85554
|
+
}
|
|
85555
|
+
getFormGroup(key) {
|
|
85556
|
+
return this.form().get(key) ?? null;
|
|
85557
|
+
}
|
|
85558
|
+
getFormArray(key) {
|
|
85559
|
+
return this.form().get(key) ?? null;
|
|
85560
|
+
}
|
|
85561
|
+
getDirectorForm(index) {
|
|
85562
|
+
return this.getFormArray(this.groups.Directors)?.at(index) ?? null;
|
|
85563
|
+
}
|
|
85564
|
+
getDirectorStatus(formGroup) {
|
|
85565
|
+
return formGroup.get(this.controls.AffiliationType)?.value ?? "";
|
|
85566
|
+
}
|
|
85567
|
+
isNewDirector(formGroup) {
|
|
85568
|
+
return this.getDirectorStatus(formGroup) === "Add";
|
|
85569
|
+
}
|
|
85570
|
+
isCeasedDirector(formGroup) {
|
|
85571
|
+
return this.getDirectorStatus(formGroup) === "Ceased";
|
|
85572
|
+
}
|
|
85573
|
+
static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
|
|
85574
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
|
|
85575
|
+
};
|
|
85576
|
+
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) {
|
|
85577
|
+
if (rf & 1) {
|
|
85578
|
+
\u0275\u0275elementStart(0, "div", 1);
|
|
85579
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert", 2)(2, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template, 1, 1, "alert", 3);
|
|
85580
|
+
\u0275\u0275elementStart(3, "div", 4);
|
|
85581
|
+
\u0275\u0275declareLet(4);
|
|
85582
|
+
\u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 5);
|
|
85583
|
+
\u0275\u0275declareLet(6);
|
|
85584
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template, 17, 14, "expandable-card", 6);
|
|
85585
|
+
\u0275\u0275declareLet(8);
|
|
85586
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card", 7);
|
|
85587
|
+
\u0275\u0275declareLet(10);
|
|
85588
|
+
\u0275\u0275elementStart(11, "expandable-card", 6);
|
|
85589
|
+
\u0275\u0275element(12, "filing-form-group", 8);
|
|
85590
|
+
\u0275\u0275template(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 13, 9, "div", 9)(14, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_14_Template, 3, 3, "h2", 10);
|
|
85591
|
+
\u0275\u0275elementEnd();
|
|
85592
|
+
\u0275\u0275declareLet(15);
|
|
85593
|
+
\u0275\u0275template(16, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Template, 11, 14, "expandable-card", 7);
|
|
85594
|
+
\u0275\u0275declareLet(17);
|
|
85595
|
+
\u0275\u0275template(18, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_18_Template, 12, 16, "expandable-card", 7);
|
|
85596
|
+
\u0275\u0275elementEnd()();
|
|
85597
|
+
}
|
|
85598
|
+
if (rf & 2) {
|
|
85599
|
+
\u0275\u0275advance();
|
|
85600
|
+
\u0275\u0275conditional(ctx.isNote() ? 1 : -1);
|
|
85601
|
+
\u0275\u0275advance();
|
|
85602
|
+
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
85603
|
+
\u0275\u0275advance(2);
|
|
85604
|
+
const referenceNumbers_r18 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
85605
|
+
\u0275\u0275advance();
|
|
85606
|
+
\u0275\u0275conditional(referenceNumbers_r18 ? 5 : -1);
|
|
85607
|
+
\u0275\u0275advance();
|
|
85608
|
+
const corporationDetails_r19 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
85609
|
+
\u0275\u0275advance();
|
|
85610
|
+
\u0275\u0275conditional(corporationDetails_r19 ? 7 : -1);
|
|
85611
|
+
\u0275\u0275advance();
|
|
85612
|
+
const filingDetails_r20 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.FilingDetails));
|
|
85613
|
+
\u0275\u0275advance();
|
|
85614
|
+
\u0275\u0275conditional(filingDetails_r20 ? 9 : -1);
|
|
85615
|
+
\u0275\u0275advance();
|
|
85616
|
+
const directorsArray_r21 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
|
|
85617
|
+
\u0275\u0275advance();
|
|
85618
|
+
\u0275\u0275property("isStatusIcon", false)("title", ctx.groups.Directors);
|
|
85619
|
+
\u0275\u0275advance();
|
|
85620
|
+
\u0275\u0275property("isSubmitted", ctx.isSubmitted())("form", ctx.form())("config", ctx.directorsIntroFields());
|
|
85621
|
+
\u0275\u0275advance();
|
|
85622
|
+
\u0275\u0275conditional(directorsArray_r21 && directorsArray_r21.length ? 13 : 14);
|
|
85623
|
+
\u0275\u0275advance(2);
|
|
85624
|
+
const notification_r22 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.Notification));
|
|
85625
|
+
\u0275\u0275advance();
|
|
85626
|
+
\u0275\u0275conditional(notification_r22 ? 16 : -1);
|
|
85627
|
+
\u0275\u0275advance();
|
|
85628
|
+
const annualReportReminder_r23 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
85629
|
+
\u0275\u0275advance();
|
|
85630
|
+
\u0275\u0275conditional(annualReportReminder_r23 ? 18 : -1);
|
|
85631
|
+
}
|
|
85632
|
+
}, dependencies: [
|
|
85633
|
+
FilingFormGroupComponent,
|
|
85634
|
+
AlertComponent,
|
|
85635
|
+
ExpandableCardComponent,
|
|
85636
|
+
MatCheckbox,
|
|
85637
|
+
MatDatepicker,
|
|
85638
|
+
MatDatepickerInput,
|
|
85639
|
+
MatDatepickerToggle,
|
|
85640
|
+
MatFormField,
|
|
85641
|
+
MatIcon,
|
|
85642
|
+
MatInput,
|
|
85643
|
+
MatRadioButton,
|
|
85644
|
+
MatRadioGroup,
|
|
85645
|
+
ReactiveFormsModule,
|
|
85646
|
+
DefaultValueAccessor,
|
|
85647
|
+
NgControlStatus,
|
|
85648
|
+
NgControlStatusGroup,
|
|
85649
|
+
FormGroupDirective,
|
|
85650
|
+
FormControlName,
|
|
85651
|
+
TranslatePipe
|
|
85652
|
+
], 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: 24px;\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: 32px !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: 24px !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 line-height: 1.45;\n}\n[_nghost-%COMP%] .mat-mdc-form-field {\n width: 100%;\n}\n[_nghost-%COMP%] .mat-mdc-text-field-wrapper {\n min-height: 48px;\n}\n[_nghost-%COMP%] .mat-mdc-form-field-infix {\n align-items: center;\n min-height: 48px;\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 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 line-height: 1.55;\n padding: 22px 28px;\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: 8px;\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 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 line-height: 1.5;\n margin: 0;\n}\n[_nghost-%COMP%] .filing-fee[_ngcontent-%COMP%] {\n color: #4b5563;\n line-height: 1.35;\n margin: 58px 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 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: 24px 28px;\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: 14px;\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: 8px 14px;\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%] {\n max-width: 760px;\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 });
|
|
85653
|
+
};
|
|
85654
|
+
(() => {
|
|
85655
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfDirectorsFormComponent, [{
|
|
85656
|
+
type: Component,
|
|
85657
|
+
args: [{ standalone: true, selector: "british-columbia-change-of-directors-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
85658
|
+
FilingFormGroupComponent,
|
|
85659
|
+
AlertComponent,
|
|
85660
|
+
ExpandableCardComponent,
|
|
85661
|
+
MatCheckbox,
|
|
85662
|
+
MatDatepicker,
|
|
85663
|
+
MatDatepickerInput,
|
|
85664
|
+
MatDatepickerToggle,
|
|
85665
|
+
MatFormField,
|
|
85666
|
+
MatIcon,
|
|
85667
|
+
MatInput,
|
|
85668
|
+
MatRadioButton,
|
|
85669
|
+
MatRadioGroup,
|
|
85670
|
+
ReactiveFormsModule,
|
|
85671
|
+
TranslatePipe
|
|
85672
|
+
], template: `<div class="change-of-directors-form">
|
|
85673
|
+
@if (isNote()) {
|
|
85674
|
+
<alert
|
|
85675
|
+
[type]="alertType.Info"
|
|
85676
|
+
title="Entity changed"
|
|
85677
|
+
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."
|
|
85678
|
+
/>
|
|
85679
|
+
}
|
|
85680
|
+
|
|
85681
|
+
@if (errors().length) {
|
|
85682
|
+
<alert
|
|
85683
|
+
title="The following issues need to be resolved before proceeding:"
|
|
85684
|
+
[content]="errors()"
|
|
85685
|
+
/>
|
|
85686
|
+
}
|
|
85687
|
+
|
|
85688
|
+
<div class="change-of-directors-form-content">
|
|
85689
|
+
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);
|
|
85690
|
+
|
|
85691
|
+
@if (referenceNumbers) {
|
|
85692
|
+
<expandable-card [title]="groups.ReferenceNumbers">
|
|
85693
|
+
<filing-form-group
|
|
85694
|
+
[isSubmitted]="isSubmitted()"
|
|
85695
|
+
[form]="referenceNumbers"
|
|
85696
|
+
[config]="referenceNumbersFields"
|
|
85697
|
+
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"
|
|
85698
|
+
/>
|
|
85699
|
+
</expandable-card>
|
|
85700
|
+
}
|
|
85701
|
+
|
|
85702
|
+
@let corporationDetails = getFormGroup(groups.CorporationDetails);
|
|
85703
|
+
|
|
85704
|
+
@if (corporationDetails) {
|
|
85705
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">
|
|
85706
|
+
<div class="readonly-summary">
|
|
85707
|
+
<p>
|
|
85708
|
+
<strong>{{ 'Corporation Name' | translate }}:</strong>
|
|
85709
|
+
{{ corporationDetails.get(controls.CorporationName)?.value }}
|
|
85710
|
+
</p>
|
|
85711
|
+
<p>
|
|
85712
|
+
<strong>{{ 'Incorporation Number' | translate }}:</strong>
|
|
85713
|
+
{{ corporationDetails.get(controls.IncorporationNumber)?.value }}
|
|
85714
|
+
</p>
|
|
85715
|
+
<p>
|
|
85716
|
+
<strong>{{ 'Company Email' | translate }}:</strong>
|
|
85717
|
+
{{ corporationDetails.get(controls.CompanyEmail)?.value }}
|
|
85718
|
+
</p>
|
|
85719
|
+
</div>
|
|
85720
|
+
</expandable-card>
|
|
85721
|
+
}
|
|
85722
|
+
|
|
85723
|
+
@let filingDetails = getFormGroup(groups.FilingDetails);
|
|
85724
|
+
|
|
85725
|
+
@if (filingDetails) {
|
|
85726
|
+
<expandable-card
|
|
85727
|
+
[isStatusIcon]="!readonly()"
|
|
85728
|
+
[isValid]="sectionValidity['filingDetails']"
|
|
85729
|
+
[title]="groups.FilingDetails"
|
|
85730
|
+
>
|
|
85731
|
+
<div class="filing-details" [formGroup]="filingDetails">
|
|
85732
|
+
<div class="note-box">
|
|
85733
|
+
<strong>{{ 'Note' | translate }}:</strong>
|
|
85734
|
+
{{
|
|
85735
|
+
'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.'
|
|
85736
|
+
| translate
|
|
85737
|
+
}}
|
|
85738
|
+
</div>
|
|
85739
|
+
|
|
85740
|
+
<mat-checkbox
|
|
85741
|
+
class="directors-change-checkbox"
|
|
85742
|
+
[formControlName]="controls.DirectorsAddedOrDeleted"
|
|
85743
|
+
(change)="
|
|
85744
|
+
filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85745
|
+
onSectionValidChange('filingDetails', filingDetails.valid)
|
|
85746
|
+
"
|
|
85747
|
+
>
|
|
85748
|
+
{{ 'Directors will be added and/or deleted as part of this filing' | translate }}
|
|
85749
|
+
</mat-checkbox>
|
|
85750
|
+
|
|
85751
|
+
@if (filingDetails.get(controls.DirectorsAddedOrDeleted)?.value) {
|
|
85752
|
+
<div class="filing-details-grid">
|
|
85753
|
+
<div class="date-field">
|
|
85754
|
+
<label>
|
|
85755
|
+
{{ 'Date Directors were added or deleted' | translate }}<span>*</span>
|
|
85756
|
+
</label>
|
|
85757
|
+
<mat-form-field appearance="outline">
|
|
85758
|
+
<input
|
|
85759
|
+
matInput
|
|
85760
|
+
[matDatepicker]="changeDatePicker"
|
|
85761
|
+
[formControlName]="controls.ChangeDate"
|
|
85762
|
+
(dateChange)="onSectionValidChange('filingDetails', filingDetails.valid)"
|
|
85763
|
+
placeholder="dd/mm/yyyy"
|
|
85764
|
+
/>
|
|
85765
|
+
<mat-datepicker-toggle matSuffix [for]="changeDatePicker">
|
|
85766
|
+
<mat-icon matDatepickerToggleIcon>calendar_today</mat-icon>
|
|
85767
|
+
</mat-datepicker-toggle>
|
|
85768
|
+
<mat-datepicker #changeDatePicker></mat-datepicker>
|
|
85769
|
+
</mat-form-field>
|
|
85770
|
+
<p class="hint">
|
|
85771
|
+
{{
|
|
85772
|
+
"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."
|
|
85773
|
+
| translate
|
|
85774
|
+
}}
|
|
85775
|
+
</p>
|
|
85776
|
+
</div>
|
|
85777
|
+
|
|
85778
|
+
<p class="filing-fee">
|
|
85779
|
+
<strong>{{ 'Filing Fee' | translate }}:</strong>
|
|
85780
|
+
{{ filingDetails.get(controls.FilingFee)?.value }}
|
|
85781
|
+
</p>
|
|
85782
|
+
</div>
|
|
85783
|
+
}
|
|
85784
|
+
</div>
|
|
85785
|
+
</expandable-card>
|
|
85786
|
+
}
|
|
85787
|
+
|
|
85788
|
+
@let directorsArray = getFormArray(groups.Directors);
|
|
85789
|
+
|
|
85790
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.Directors">
|
|
85791
|
+
<filing-form-group
|
|
85792
|
+
[isSubmitted]="isSubmitted()"
|
|
85793
|
+
[form]="form()"
|
|
85794
|
+
[config]="directorsIntroFields()"
|
|
85795
|
+
/>
|
|
85796
|
+
|
|
85797
|
+
@if (directorsArray && directorsArray.length) {
|
|
85798
|
+
<div class="directors-table" role="table">
|
|
85799
|
+
<div class="directors-table-header" role="row">
|
|
85800
|
+
<div role="columnheader">{{ 'Name' | translate }}</div>
|
|
85801
|
+
<div role="columnheader">{{ 'Mailing Address' | translate }}</div>
|
|
85802
|
+
<div role="columnheader">{{ 'Delivery Address' | translate }}</div>
|
|
85803
|
+
</div>
|
|
85804
|
+
|
|
85805
|
+
@for (director of directorsArray.controls; track director; let i = $index) {
|
|
85806
|
+
@let directorForm = getDirectorForm(i);
|
|
85807
|
+
@if (directorForm) {
|
|
85808
|
+
<div class="directors-table-row" role="row">
|
|
85809
|
+
<div role="cell">
|
|
85810
|
+
<strong>{{ directorForm.get(controls.AffiliationName)?.value }}</strong>
|
|
85811
|
+
@if (isNewDirector(directorForm)) {
|
|
85812
|
+
<span class="status-pill new">{{ 'NEW' | translate }}</span>
|
|
85813
|
+
}
|
|
85814
|
+
@if (isCeasedDirector(directorForm)) {
|
|
85815
|
+
<span class="status-pill ceased">{{ 'CEASE' | translate }}</span>
|
|
85816
|
+
}
|
|
85817
|
+
</div>
|
|
85818
|
+
<div role="cell">{{ directorForm.get(controls.MailingAddress)?.value }}</div>
|
|
85819
|
+
<div role="cell">{{ directorForm.get(controls.DeliveryAddress)?.value }}</div>
|
|
85820
|
+
</div>
|
|
85821
|
+
}
|
|
85822
|
+
}
|
|
85823
|
+
</div>
|
|
85824
|
+
} @else {
|
|
85825
|
+
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>
|
|
85826
|
+
}
|
|
85827
|
+
</expandable-card>
|
|
85828
|
+
|
|
85829
|
+
@let notification = getFormGroup(groups.Notification);
|
|
85830
|
+
|
|
85831
|
+
@if (notification) {
|
|
85832
|
+
<expandable-card
|
|
85833
|
+
[isStatusIcon]="!readonly()"
|
|
85834
|
+
[isValid]="sectionValidity['notification']"
|
|
85835
|
+
[title]="groups.Notification"
|
|
85836
|
+
>
|
|
85837
|
+
<div class="notification-section" [formGroup]="notification">
|
|
85838
|
+
<mat-radio-group
|
|
85839
|
+
[formControlName]="controls.NotificationMethod"
|
|
85840
|
+
(change)="
|
|
85841
|
+
notification.get(controls.NotificationEmail)?.updateValueAndValidity({ emitEvent: false });
|
|
85842
|
+
onSectionValidChange('notification', notification.valid)
|
|
85843
|
+
"
|
|
85844
|
+
>
|
|
85845
|
+
<mat-radio-button [value]="notificationMethodOption.Email">
|
|
85846
|
+
{{ 'Notify by email' | translate }}
|
|
85847
|
+
</mat-radio-button>
|
|
85848
|
+
<mat-radio-button [value]="notificationMethodOption.Mail">
|
|
85849
|
+
{{ 'Notify by mail' | translate }}
|
|
85850
|
+
</mat-radio-button>
|
|
85851
|
+
</mat-radio-group>
|
|
85852
|
+
|
|
85853
|
+
@if (notification.get(controls.NotificationMethod)?.value === notificationMethodOption.Email) {
|
|
85854
|
+
<div class="email-field">
|
|
85855
|
+
<label>{{ 'Notification Email' | translate }}<span>*</span></label>
|
|
85856
|
+
<mat-form-field appearance="outline">
|
|
85857
|
+
<input
|
|
85858
|
+
matInput
|
|
85859
|
+
[formControlName]="controls.NotificationEmail"
|
|
85860
|
+
(input)="onSectionValidChange('notification', notification.valid)"
|
|
85861
|
+
/>
|
|
85862
|
+
</mat-form-field>
|
|
85863
|
+
</div>
|
|
85864
|
+
} @else {
|
|
85865
|
+
<p class="mailing-copy">
|
|
85866
|
+
<strong>{{ 'Mailing Address' | translate }}:</strong>
|
|
85867
|
+
{{ notification.get(controls.NotificationMailingAddress)?.value || ('Not specified' | translate) }}
|
|
85868
|
+
</p>
|
|
85869
|
+
}
|
|
85870
|
+
</div>
|
|
85871
|
+
</expandable-card>
|
|
85872
|
+
}
|
|
85873
|
+
|
|
85874
|
+
@let annualReportReminder = getFormGroup(groups.AnnualReportReminder);
|
|
85875
|
+
|
|
85876
|
+
@if (annualReportReminder) {
|
|
85877
|
+
<expandable-card
|
|
85878
|
+
[isStatusIcon]="!readonly()"
|
|
85879
|
+
[isValid]="sectionValidity['annualReportReminder']"
|
|
85880
|
+
[title]="groups.AnnualReportReminder"
|
|
85881
|
+
>
|
|
85882
|
+
<div class="annual-reminder" [formGroup]="annualReportReminder">
|
|
85883
|
+
<p>
|
|
85884
|
+
{{
|
|
85885
|
+
"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."
|
|
85886
|
+
| translate
|
|
85887
|
+
}}
|
|
85888
|
+
</p>
|
|
85889
|
+
<mat-radio-group
|
|
85890
|
+
[formControlName]="controls.AnnualReportReminder"
|
|
85891
|
+
(change)="onSectionValidChange('annualReportReminder', annualReportReminder.valid)"
|
|
85892
|
+
>
|
|
85893
|
+
<mat-radio-button [value]="annualReportReminderOption.Yes">
|
|
85894
|
+
{{ 'Yes, send the annual report reminder' | translate }}
|
|
85895
|
+
</mat-radio-button>
|
|
85896
|
+
<mat-radio-button [value]="annualReportReminderOption.No">
|
|
85897
|
+
{{ 'No, I do not need to be reminded' | translate }}
|
|
85898
|
+
</mat-radio-button>
|
|
85899
|
+
</mat-radio-group>
|
|
85900
|
+
</div>
|
|
85901
|
+
</expandable-card>
|
|
85902
|
+
}
|
|
85903
|
+
</div>
|
|
85904
|
+
</div>
|
|
85905
|
+
`, 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: 24px;\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: 32px !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: 24px !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 line-height: 1.45;\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: 48px;\n}\n:host ::ng-deep .mat-mdc-form-field-infix {\n align-items: center;\n min-height: 48px;\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 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 line-height: 1.55;\n padding: 22px 28px;\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: 8px;\n}\n:host .date-field label,\n:host .email-field label {\n color: #4b5563;\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 line-height: 1.5;\n margin: 0;\n}\n:host .filing-fee {\n color: #4b5563;\n line-height: 1.35;\n margin: 58px 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 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: 24px 28px;\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: 14px;\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: 8px 14px;\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 {\n max-width: 760px;\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"] }]
|
|
85906
|
+
}], null, null);
|
|
85907
|
+
})();
|
|
85908
|
+
(() => {
|
|
85909
|
+
(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 });
|
|
85910
|
+
})();
|
|
85911
|
+
}
|
|
85912
|
+
});
|
|
85913
|
+
|
|
85914
|
+
// src/app/components/british-columbia/change-of-directors/steps/delta/change-of-directors-delta-form.component.ts
|
|
85915
|
+
var BritishColumbiaChangeOfDirectorsDeltaFormComponent;
|
|
85916
|
+
var init_change_of_directors_delta_form_component = __esm({
|
|
85917
|
+
"src/app/components/british-columbia/change-of-directors/steps/delta/change-of-directors-delta-form.component.ts"() {
|
|
85918
|
+
init_core();
|
|
85919
|
+
init_button();
|
|
85920
|
+
init_ngx_translate_core();
|
|
85921
|
+
init_common_utils();
|
|
85922
|
+
init_change_of_directors_form_component();
|
|
85923
|
+
init_core();
|
|
85924
|
+
BritishColumbiaChangeOfDirectorsDeltaFormComponent = class _BritishColumbiaChangeOfDirectorsDeltaFormComponent {
|
|
85925
|
+
form = input.required();
|
|
85926
|
+
actionsDisabled = input(false);
|
|
85927
|
+
isNote = input(false);
|
|
85928
|
+
task = input();
|
|
85929
|
+
errors = input([]);
|
|
85930
|
+
close = output();
|
|
85931
|
+
save = output();
|
|
85932
|
+
validate = output();
|
|
85933
|
+
submitted = signal(false);
|
|
85934
|
+
visiblyValid = signal(true);
|
|
85935
|
+
clientErrors = signal([]);
|
|
85936
|
+
translate = inject(TranslateService);
|
|
85937
|
+
combinedErrors = computed(() => {
|
|
85938
|
+
const client = this.clientErrors();
|
|
85939
|
+
return client.length ? client : this.errors();
|
|
85940
|
+
});
|
|
85941
|
+
onVisiblyValidChange(valid) {
|
|
85942
|
+
this.visiblyValid.set(valid);
|
|
85943
|
+
}
|
|
85944
|
+
onValidate() {
|
|
85945
|
+
this.submitted.set(true);
|
|
85946
|
+
this.clientErrors.set([]);
|
|
85947
|
+
markFormGroupTouched(this.form());
|
|
85948
|
+
if (!this.visiblyValid()) {
|
|
85949
|
+
this.clientErrors.set([this.translate.instant("Some required fields aren't completed.")]);
|
|
85950
|
+
return;
|
|
85951
|
+
}
|
|
85952
|
+
this.validate.emit();
|
|
85953
|
+
}
|
|
85954
|
+
static \u0275fac = function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Factory(__ngFactoryType__) {
|
|
85955
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsDeltaFormComponent)();
|
|
85956
|
+
};
|
|
85957
|
+
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) {
|
|
85958
|
+
if (rf & 1) {
|
|
85959
|
+
\u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-directors-form", 1);
|
|
85960
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Template_british_columbia_change_of_directors_form_visiblyValidChange_1_listener($event) {
|
|
85961
|
+
return ctx.onVisiblyValidChange($event);
|
|
85962
|
+
});
|
|
85963
|
+
\u0275\u0275elementEnd();
|
|
85964
|
+
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
85965
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Template_button_click_3_listener() {
|
|
85966
|
+
return ctx.close.emit();
|
|
85967
|
+
});
|
|
85968
|
+
\u0275\u0275elementStart(4, "span", 4);
|
|
85969
|
+
\u0275\u0275text(5);
|
|
85970
|
+
\u0275\u0275pipe(6, "translate");
|
|
85971
|
+
\u0275\u0275elementEnd()();
|
|
85972
|
+
\u0275\u0275elementStart(7, "button", 3);
|
|
85973
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Template_button_click_7_listener() {
|
|
85974
|
+
return ctx.save.emit();
|
|
85975
|
+
});
|
|
85976
|
+
\u0275\u0275elementStart(8, "span", 4);
|
|
85977
|
+
\u0275\u0275text(9);
|
|
85978
|
+
\u0275\u0275pipe(10, "translate");
|
|
85979
|
+
\u0275\u0275elementEnd()();
|
|
85980
|
+
\u0275\u0275elementStart(11, "button", 5);
|
|
85981
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Template_button_click_11_listener() {
|
|
85982
|
+
return ctx.onValidate();
|
|
85983
|
+
});
|
|
85984
|
+
\u0275\u0275elementStart(12, "span", 4);
|
|
85985
|
+
\u0275\u0275text(13);
|
|
85986
|
+
\u0275\u0275pipe(14, "translate");
|
|
85987
|
+
\u0275\u0275elementEnd()()()();
|
|
85988
|
+
}
|
|
85989
|
+
if (rf & 2) {
|
|
85990
|
+
\u0275\u0275advance();
|
|
85991
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
|
|
85992
|
+
\u0275\u0275advance(2);
|
|
85993
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
85994
|
+
\u0275\u0275advance(2);
|
|
85995
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
|
|
85996
|
+
\u0275\u0275advance(2);
|
|
85997
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
85998
|
+
\u0275\u0275advance(2);
|
|
85999
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
|
|
86000
|
+
\u0275\u0275advance(2);
|
|
86001
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
86002
|
+
\u0275\u0275advance(2);
|
|
86003
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
|
|
86004
|
+
}
|
|
86005
|
+
}, 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 });
|
|
86006
|
+
};
|
|
86007
|
+
(() => {
|
|
86008
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfDirectorsDeltaFormComponent, [{
|
|
86009
|
+
type: Component,
|
|
86010
|
+
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
|
|
86011
|
+
<british-columbia-change-of-directors-form\r
|
|
86012
|
+
class="change-of-directors-delta-form-content"\r
|
|
86013
|
+
[form]="form()"\r
|
|
86014
|
+
[task]="task()"\r
|
|
86015
|
+
[errors]="combinedErrors()"\r
|
|
86016
|
+
[isNote]="isNote()"\r
|
|
86017
|
+
[isSubmitted]="submitted()"\r
|
|
86018
|
+
[readonly]="false"\r
|
|
86019
|
+
(visiblyValidChange)="onVisiblyValidChange($event)"\r
|
|
86020
|
+
/>\r
|
|
86021
|
+
\r
|
|
86022
|
+
<div class="change-of-directors-delta-form-actions">\r
|
|
86023
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
86024
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
86025
|
+
</button>\r
|
|
86026
|
+
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
|
|
86027
|
+
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
|
|
86028
|
+
</button>\r
|
|
86029
|
+
<button\r
|
|
86030
|
+
class="submit"\r
|
|
86031
|
+
color="primary"\r
|
|
86032
|
+
mat-flat-button\r
|
|
86033
|
+
[disabled]="actionsDisabled()"\r
|
|
86034
|
+
(click)="onValidate()"\r
|
|
86035
|
+
>\r
|
|
86036
|
+
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
|
|
86037
|
+
</button>\r
|
|
86038
|
+
</div>\r
|
|
86039
|
+
</div>\r
|
|
86040
|
+
`, 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"] }]
|
|
86041
|
+
}], null, null);
|
|
86042
|
+
})();
|
|
86043
|
+
(() => {
|
|
86044
|
+
(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 });
|
|
86045
|
+
})();
|
|
86046
|
+
}
|
|
86047
|
+
});
|
|
86048
|
+
|
|
86049
|
+
// src/app/components/british-columbia/change-of-directors/steps/preview/change-of-directors-preview-form.component.ts
|
|
86050
|
+
var BritishColumbiaChangeOfDirectorsPreviewFormComponent;
|
|
86051
|
+
var init_change_of_directors_preview_form_component = __esm({
|
|
86052
|
+
"src/app/components/british-columbia/change-of-directors/steps/preview/change-of-directors-preview-form.component.ts"() {
|
|
86053
|
+
init_core();
|
|
86054
|
+
init_button();
|
|
86055
|
+
init_ngx_translate_core();
|
|
86056
|
+
init_change_of_directors_form_component();
|
|
86057
|
+
init_core();
|
|
86058
|
+
BritishColumbiaChangeOfDirectorsPreviewFormComponent = class _BritishColumbiaChangeOfDirectorsPreviewFormComponent {
|
|
86059
|
+
form = input.required();
|
|
86060
|
+
actionsDisabled = input(false);
|
|
86061
|
+
task = input();
|
|
86062
|
+
errors = input([]);
|
|
86063
|
+
close = output();
|
|
86064
|
+
file = output();
|
|
86065
|
+
static \u0275fac = function BritishColumbiaChangeOfDirectorsPreviewFormComponent_Factory(__ngFactoryType__) {
|
|
86066
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsPreviewFormComponent)();
|
|
86067
|
+
};
|
|
86068
|
+
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) {
|
|
86069
|
+
if (rf & 1) {
|
|
86070
|
+
\u0275\u0275elementStart(0, "div", 0);
|
|
86071
|
+
\u0275\u0275element(1, "british-columbia-change-of-directors-form", 1);
|
|
86072
|
+
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
86073
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsPreviewFormComponent_Template_button_click_3_listener() {
|
|
86074
|
+
return ctx.close.emit();
|
|
86075
|
+
});
|
|
86076
|
+
\u0275\u0275elementStart(4, "span", 4);
|
|
86077
|
+
\u0275\u0275text(5);
|
|
86078
|
+
\u0275\u0275pipe(6, "translate");
|
|
86079
|
+
\u0275\u0275elementEnd()();
|
|
86080
|
+
\u0275\u0275elementStart(7, "button", 5);
|
|
86081
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsPreviewFormComponent_Template_button_click_7_listener() {
|
|
86082
|
+
return ctx.file.emit();
|
|
86083
|
+
});
|
|
86084
|
+
\u0275\u0275elementStart(8, "span", 4);
|
|
86085
|
+
\u0275\u0275text(9);
|
|
86086
|
+
\u0275\u0275pipe(10, "translate");
|
|
86087
|
+
\u0275\u0275elementEnd()()()();
|
|
86088
|
+
}
|
|
86089
|
+
if (rf & 2) {
|
|
86090
|
+
\u0275\u0275advance();
|
|
86091
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
|
|
86092
|
+
\u0275\u0275advance(2);
|
|
86093
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
86094
|
+
\u0275\u0275advance(2);
|
|
86095
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
|
|
86096
|
+
\u0275\u0275advance(2);
|
|
86097
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
86098
|
+
\u0275\u0275advance(2);
|
|
86099
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
|
|
86100
|
+
}
|
|
86101
|
+
}, 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 });
|
|
86102
|
+
};
|
|
86103
|
+
(() => {
|
|
86104
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfDirectorsPreviewFormComponent, [{
|
|
86105
|
+
type: Component,
|
|
86106
|
+
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
|
|
86107
|
+
<british-columbia-change-of-directors-form\r
|
|
86108
|
+
class="change-of-directors-preview-form-content"\r
|
|
86109
|
+
[form]="form()"\r
|
|
86110
|
+
[task]="task()"\r
|
|
86111
|
+
[errors]="errors()"\r
|
|
86112
|
+
[isSubmitted]="false"\r
|
|
86113
|
+
[readonly]="true"\r
|
|
86114
|
+
/>\r
|
|
86115
|
+
\r
|
|
86116
|
+
<div class="change-of-directors-preview-form-actions">\r
|
|
86117
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
86118
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
86119
|
+
</button>\r
|
|
86120
|
+
<button\r
|
|
86121
|
+
class="submit"\r
|
|
86122
|
+
color="primary"\r
|
|
86123
|
+
mat-flat-button\r
|
|
86124
|
+
[disabled]="actionsDisabled()"\r
|
|
86125
|
+
(click)="file.emit()"\r
|
|
86126
|
+
>\r
|
|
86127
|
+
<span class="body-1-semibold">{{ 'File' | translate }}</span>\r
|
|
86128
|
+
</button>\r
|
|
86129
|
+
</div>\r
|
|
86130
|
+
</div>\r
|
|
86131
|
+
`, 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"] }]
|
|
86132
|
+
}], null, null);
|
|
86133
|
+
})();
|
|
86134
|
+
(() => {
|
|
86135
|
+
(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 });
|
|
86136
|
+
})();
|
|
86137
|
+
}
|
|
86138
|
+
});
|
|
86139
|
+
|
|
84801
86140
|
// src/app/constants/ui/british-columbia-formation-form.constants.ts
|
|
84802
|
-
var BC_NAME_TYPE_OPTIONS,
|
|
86141
|
+
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
86142
|
var init_british_columbia_formation_form_constants = __esm({
|
|
84804
86143
|
"src/app/constants/ui/british-columbia-formation-form.constants.ts"() {
|
|
84805
86144
|
init_form_enums();
|
|
@@ -84807,9 +86146,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84807
86146
|
init_BritishColumbiaConstants();
|
|
84808
86147
|
init_british_columbia_formation_form_helper();
|
|
84809
86148
|
BC_NAME_TYPE_OPTIONS = Object.values(BCNameType).filter((v) => typeof v === "number").map((v) => ({ label: BCNameTypeLabel[v], value: v }));
|
|
84810
|
-
|
|
86149
|
+
labelledValue2 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
84811
86150
|
isNamed = (form) => form.get(BCFormationFormControls.CorporationNameType)?.value === BCNameType.Named;
|
|
84812
|
-
|
|
86151
|
+
isNotifyByMail2 = (form) => form.get(BCFormationFormControls.NotificationMethod)?.value === BCNotificationMethod.Mail;
|
|
84813
86152
|
BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
84814
86153
|
{
|
|
84815
86154
|
type: FormType.Input,
|
|
@@ -84873,7 +86212,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84873
86212
|
type: FormType.Text,
|
|
84874
86213
|
formControlName: BCFormationFormControls.RequestedDateForIncorporation,
|
|
84875
86214
|
class: "span-12 spaced-text",
|
|
84876
|
-
dynamicLabel: (form, t) =>
|
|
86215
|
+
dynamicLabel: (form, t) => labelledValue2("Requested Date for Incorporation", form.get(BCFormationFormControls.RequestedDateForIncorporation)?.value, t)
|
|
84877
86216
|
},
|
|
84878
86217
|
{
|
|
84879
86218
|
type: FormType.Text,
|
|
@@ -84945,13 +86284,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84945
86284
|
type: FormType.Text,
|
|
84946
86285
|
formControlName: BCFormationFormControls.MailingAddress,
|
|
84947
86286
|
class: "span-12",
|
|
84948
|
-
dynamicLabel: (form, t) =>
|
|
86287
|
+
dynamicLabel: (form, t) => labelledValue2("Mailing Address - Full Address", form.get(BCFormationFormControls.MailingAddress)?.value, t)
|
|
84949
86288
|
},
|
|
84950
86289
|
{
|
|
84951
86290
|
type: FormType.Text,
|
|
84952
86291
|
formControlName: BCFormationFormControls.DeliveryAddress,
|
|
84953
86292
|
class: "span-12",
|
|
84954
|
-
dynamicLabel: (form, t) =>
|
|
86293
|
+
dynamicLabel: (form, t) => labelledValue2("Delivery Address - Full Address", form.get(BCFormationFormControls.DeliveryAddress)?.value, t)
|
|
84955
86294
|
}
|
|
84956
86295
|
];
|
|
84957
86296
|
BC_FORMATION_CARD_FORM_RECORDS_OFFICE_FIELDS = [
|
|
@@ -84959,25 +86298,26 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84959
86298
|
type: FormType.Text,
|
|
84960
86299
|
formControlName: BCFormationFormControls.RecordsOfficeMailingAddress,
|
|
84961
86300
|
class: "span-12",
|
|
84962
|
-
dynamicLabel: (form, t) =>
|
|
86301
|
+
dynamicLabel: (form, t) => labelledValue2("Mailing Address - Full Address", form.get(BCFormationFormControls.RecordsOfficeMailingAddress)?.value, t)
|
|
84963
86302
|
},
|
|
84964
86303
|
{
|
|
84965
86304
|
type: FormType.Text,
|
|
84966
86305
|
formControlName: BCFormationFormControls.RecordsOfficeDeliveryAddress,
|
|
84967
86306
|
class: "span-12",
|
|
84968
|
-
dynamicLabel: (form, t) =>
|
|
86307
|
+
dynamicLabel: (form, t) => labelledValue2("Delivery Address - Full Address", form.get(BCFormationFormControls.RecordsOfficeDeliveryAddress)?.value, t)
|
|
84969
86308
|
}
|
|
84970
86309
|
];
|
|
84971
86310
|
BC_FORMATION_DELTA_CARD_FORM_NOTIFICATION_FIELDS = [
|
|
84972
86311
|
{
|
|
84973
86312
|
type: FormType.Radio,
|
|
86313
|
+
label: "Notification Method",
|
|
84974
86314
|
formControlName: BCFormationFormControls.NotificationMethod,
|
|
84975
86315
|
required: true,
|
|
84976
86316
|
options: BC_NOTIFICATION_METHOD_OPTIONS,
|
|
84977
86317
|
needTranslate: true,
|
|
84978
86318
|
class: "span-12",
|
|
84979
86319
|
onChange: (form) => {
|
|
84980
|
-
const byMail =
|
|
86320
|
+
const byMail = isNotifyByMail2(form);
|
|
84981
86321
|
if (!byMail) {
|
|
84982
86322
|
[
|
|
84983
86323
|
BCFormationFormControls.NotificationName,
|
|
@@ -85003,7 +86343,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85003
86343
|
type: FormType.Input,
|
|
85004
86344
|
label: "Notification Email",
|
|
85005
86345
|
formControlName: BCFormationFormControls.NotificationEmail,
|
|
85006
|
-
isVisible: (form) => !
|
|
86346
|
+
isVisible: (form) => !isNotifyByMail2(form),
|
|
85007
86347
|
class: "column-3"
|
|
85008
86348
|
},
|
|
85009
86349
|
{
|
|
@@ -85011,7 +86351,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85011
86351
|
label: "Name",
|
|
85012
86352
|
formControlName: BCFormationFormControls.NotificationName,
|
|
85013
86353
|
required: true,
|
|
85014
|
-
isVisible:
|
|
86354
|
+
isVisible: isNotifyByMail2,
|
|
85015
86355
|
class: "column-3"
|
|
85016
86356
|
},
|
|
85017
86357
|
{
|
|
@@ -85019,14 +86359,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85019
86359
|
label: "Address Line 1",
|
|
85020
86360
|
formControlName: BCFormationFormControls.AddressLine1,
|
|
85021
86361
|
required: true,
|
|
85022
|
-
isVisible:
|
|
86362
|
+
isVisible: isNotifyByMail2,
|
|
85023
86363
|
class: "column-3"
|
|
85024
86364
|
},
|
|
85025
86365
|
{
|
|
85026
86366
|
type: FormType.Input,
|
|
85027
86367
|
label: "Address Line 2",
|
|
85028
86368
|
formControlName: BCFormationFormControls.AddressLine2,
|
|
85029
|
-
isVisible:
|
|
86369
|
+
isVisible: isNotifyByMail2,
|
|
85030
86370
|
class: "column-3"
|
|
85031
86371
|
},
|
|
85032
86372
|
{
|
|
@@ -85034,7 +86374,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85034
86374
|
label: "City",
|
|
85035
86375
|
formControlName: BCFormationFormControls.City,
|
|
85036
86376
|
required: true,
|
|
85037
|
-
isVisible:
|
|
86377
|
+
isVisible: isNotifyByMail2,
|
|
85038
86378
|
class: "column-2"
|
|
85039
86379
|
},
|
|
85040
86380
|
{
|
|
@@ -85042,7 +86382,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85042
86382
|
label: "Province / State",
|
|
85043
86383
|
formControlName: BCFormationFormControls.ProvinceState,
|
|
85044
86384
|
required: true,
|
|
85045
|
-
isVisible:
|
|
86385
|
+
isVisible: isNotifyByMail2,
|
|
85046
86386
|
options: BC_PROVINCE_STATE_OPTIONS,
|
|
85047
86387
|
class: "span-4"
|
|
85048
86388
|
},
|
|
@@ -85050,7 +86390,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85050
86390
|
type: FormType.Input,
|
|
85051
86391
|
label: "Postal / Zip Code",
|
|
85052
86392
|
formControlName: BCFormationFormControls.PostalZip,
|
|
85053
|
-
isVisible:
|
|
86393
|
+
isVisible: isNotifyByMail2,
|
|
85054
86394
|
class: "column-2"
|
|
85055
86395
|
},
|
|
85056
86396
|
{
|
|
@@ -85058,7 +86398,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85058
86398
|
label: "Country",
|
|
85059
86399
|
formControlName: BCFormationFormControls.Country,
|
|
85060
86400
|
required: true,
|
|
85061
|
-
isVisible:
|
|
86401
|
+
isVisible: isNotifyByMail2,
|
|
85062
86402
|
options: BC_COUNTRY_OPTIONS,
|
|
85063
86403
|
class: "span-4"
|
|
85064
86404
|
}
|
|
@@ -85162,13 +86502,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85162
86502
|
type: FormType.Text,
|
|
85163
86503
|
formControlName: BCFormationFormControls.MailingAddress,
|
|
85164
86504
|
class: "span-12",
|
|
85165
|
-
dynamicLabel: (form, t) =>
|
|
86505
|
+
dynamicLabel: (form, t) => labelledValue2("Mailing Address - Full Address", form.get(BCFormationFormControls.MailingAddress)?.value, t)
|
|
85166
86506
|
},
|
|
85167
86507
|
{
|
|
85168
86508
|
type: FormType.Text,
|
|
85169
86509
|
formControlName: BCFormationFormControls.DeliveryAddress,
|
|
85170
86510
|
class: "span-12",
|
|
85171
|
-
dynamicLabel: (form, t) =>
|
|
86511
|
+
dynamicLabel: (form, t) => labelledValue2("Delivery Address - Full Address", form.get(BCFormationFormControls.DeliveryAddress)?.value, t)
|
|
85172
86512
|
}
|
|
85173
86513
|
];
|
|
85174
86514
|
BC_FORMATION_CARD_FORM_INCORPORATORS_FIELDS = [
|
|
@@ -85176,7 +86516,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85176
86516
|
type: FormType.Text,
|
|
85177
86517
|
formControlName: BCFormationFormControls.FullAddress,
|
|
85178
86518
|
class: "span-12",
|
|
85179
|
-
dynamicLabel: (form, t) =>
|
|
86519
|
+
dynamicLabel: (form, t) => labelledValue2("Full Address", form.get(BCFormationFormControls.FullAddress)?.value, t)
|
|
85180
86520
|
}
|
|
85181
86521
|
];
|
|
85182
86522
|
}
|
|
@@ -86241,47 +87581,47 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86241
87581
|
function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
|
|
86242
87582
|
if (rf & 1) {
|
|
86243
87583
|
const _r1 = \u0275\u0275getCurrentView();
|
|
86244
|
-
\u0275\u0275elementStart(0, "british-columbia-
|
|
86245
|
-
\u0275\u0275listener("validate", function
|
|
87584
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form", 3);
|
|
87585
|
+
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_validate_0_listener() {
|
|
86246
87586
|
\u0275\u0275restoreView(_r1);
|
|
86247
87587
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86248
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
86249
|
-
})("close", function
|
|
87588
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsValidate());
|
|
87589
|
+
})("close", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_close_0_listener() {
|
|
86250
87590
|
\u0275\u0275restoreView(_r1);
|
|
86251
87591
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86252
87592
|
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
86253
|
-
})("save", function
|
|
87593
|
+
})("save", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_save_0_listener() {
|
|
86254
87594
|
\u0275\u0275restoreView(_r1);
|
|
86255
87595
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86256
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
87596
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSave());
|
|
86257
87597
|
});
|
|
86258
87598
|
\u0275\u0275elementEnd();
|
|
86259
87599
|
}
|
|
86260
87600
|
if (rf & 2) {
|
|
86261
87601
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86262
87602
|
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
86263
|
-
\u0275\u0275property("task", taskData_r3)("
|
|
87603
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
|
|
86264
87604
|
}
|
|
86265
87605
|
}
|
|
86266
87606
|
function BritishColumbiaComponent_Conditional_1_Conditional_1_Template(rf, ctx) {
|
|
86267
87607
|
if (rf & 1) {
|
|
86268
87608
|
const _r4 = \u0275\u0275getCurrentView();
|
|
86269
|
-
\u0275\u0275elementStart(0, "british-columbia-
|
|
86270
|
-
\u0275\u0275listener("
|
|
87609
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form", 4);
|
|
87610
|
+
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_close_0_listener() {
|
|
86271
87611
|
\u0275\u0275restoreView(_r4);
|
|
86272
87612
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86273
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
86274
|
-
})("
|
|
87613
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87614
|
+
})("file", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_file_0_listener() {
|
|
86275
87615
|
\u0275\u0275restoreView(_r4);
|
|
86276
87616
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86277
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
87617
|
+
return \u0275\u0275resetView(ctx_r1.nextStep.emit());
|
|
86278
87618
|
});
|
|
86279
87619
|
\u0275\u0275elementEnd();
|
|
86280
87620
|
}
|
|
86281
87621
|
if (rf & 2) {
|
|
86282
87622
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86283
87623
|
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
86284
|
-
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled());
|
|
87624
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
86285
87625
|
}
|
|
86286
87626
|
}
|
|
86287
87627
|
function BritishColumbiaComponent_Conditional_1_Conditional_2_Template(rf, ctx) {
|
|
@@ -86299,7 +87639,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86299
87639
|
})("confirm", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_confirm_0_listener($event) {
|
|
86300
87640
|
\u0275\u0275restoreView(_r5);
|
|
86301
87641
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86302
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
87642
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit($event));
|
|
86303
87643
|
});
|
|
86304
87644
|
\u0275\u0275elementEnd();
|
|
86305
87645
|
}
|
|
@@ -86310,7 +87650,90 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86310
87650
|
}
|
|
86311
87651
|
function BritishColumbiaComponent_Conditional_1_Template(rf, ctx) {
|
|
86312
87652
|
if (rf & 1) {
|
|
86313
|
-
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_1_Conditional_0_Template, 1, 5, "british-columbia-
|
|
87653
|
+
\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);
|
|
87654
|
+
}
|
|
87655
|
+
if (rf & 2) {
|
|
87656
|
+
const ctx_r1 = \u0275\u0275nextContext();
|
|
87657
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
87658
|
+
\u0275\u0275advance();
|
|
87659
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
87660
|
+
\u0275\u0275advance();
|
|
87661
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.TermsAndConditions ? 2 : -1);
|
|
87662
|
+
}
|
|
87663
|
+
}
|
|
87664
|
+
function BritishColumbiaComponent_Conditional_2_Conditional_0_Template(rf, ctx) {
|
|
87665
|
+
if (rf & 1) {
|
|
87666
|
+
const _r6 = \u0275\u0275getCurrentView();
|
|
87667
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form", 8);
|
|
87668
|
+
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_validate_0_listener() {
|
|
87669
|
+
\u0275\u0275restoreView(_r6);
|
|
87670
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87671
|
+
return \u0275\u0275resetView(ctx_r1.onFormationValidate());
|
|
87672
|
+
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_close_0_listener() {
|
|
87673
|
+
\u0275\u0275restoreView(_r6);
|
|
87674
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87675
|
+
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
87676
|
+
})("save", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_save_0_listener() {
|
|
87677
|
+
\u0275\u0275restoreView(_r6);
|
|
87678
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87679
|
+
return \u0275\u0275resetView(ctx_r1.onFormationSave());
|
|
87680
|
+
});
|
|
87681
|
+
\u0275\u0275elementEnd();
|
|
87682
|
+
}
|
|
87683
|
+
if (rf & 2) {
|
|
87684
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87685
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
87686
|
+
\u0275\u0275property("task", taskData_r3)("errors", ctx_r1.errors())("isNote", ctx_r1.isNote())("actionsDisabled", ctx_r1.actionsDisabled())("form", ctx_r1.deltaForm());
|
|
87687
|
+
}
|
|
87688
|
+
}
|
|
87689
|
+
function BritishColumbiaComponent_Conditional_2_Conditional_1_Template(rf, ctx) {
|
|
87690
|
+
if (rf & 1) {
|
|
87691
|
+
const _r7 = \u0275\u0275getCurrentView();
|
|
87692
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form", 9);
|
|
87693
|
+
\u0275\u0275listener("next", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_next_0_listener() {
|
|
87694
|
+
\u0275\u0275restoreView(_r7);
|
|
87695
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87696
|
+
return \u0275\u0275resetView(ctx_r1.nextStep.emit());
|
|
87697
|
+
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_close_0_listener() {
|
|
87698
|
+
\u0275\u0275restoreView(_r7);
|
|
87699
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87700
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87701
|
+
});
|
|
87702
|
+
\u0275\u0275elementEnd();
|
|
87703
|
+
}
|
|
87704
|
+
if (rf & 2) {
|
|
87705
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87706
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
87707
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled());
|
|
87708
|
+
}
|
|
87709
|
+
}
|
|
87710
|
+
function BritishColumbiaComponent_Conditional_2_Conditional_2_Template(rf, ctx) {
|
|
87711
|
+
if (rf & 1) {
|
|
87712
|
+
const _r8 = \u0275\u0275getCurrentView();
|
|
87713
|
+
\u0275\u0275elementStart(0, "terms-and-conditions", 5);
|
|
87714
|
+
\u0275\u0275listener("prev", function BritishColumbiaComponent_Conditional_2_Conditional_2_Template_terms_and_conditions_prev_0_listener() {
|
|
87715
|
+
\u0275\u0275restoreView(_r8);
|
|
87716
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87717
|
+
return \u0275\u0275resetView(ctx_r1.prevStep.emit());
|
|
87718
|
+
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_2_Template_terms_and_conditions_close_0_listener() {
|
|
87719
|
+
\u0275\u0275restoreView(_r8);
|
|
87720
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87721
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87722
|
+
})("confirm", function BritishColumbiaComponent_Conditional_2_Conditional_2_Template_terms_and_conditions_confirm_0_listener($event) {
|
|
87723
|
+
\u0275\u0275restoreView(_r8);
|
|
87724
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87725
|
+
return \u0275\u0275resetView(ctx_r1.onFormationSubmit($event));
|
|
87726
|
+
});
|
|
87727
|
+
\u0275\u0275elementEnd();
|
|
87728
|
+
}
|
|
87729
|
+
if (rf & 2) {
|
|
87730
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87731
|
+
\u0275\u0275property("errors", ctx_r1.errors());
|
|
87732
|
+
}
|
|
87733
|
+
}
|
|
87734
|
+
function BritishColumbiaComponent_Conditional_2_Template(rf, ctx) {
|
|
87735
|
+
if (rf & 1) {
|
|
87736
|
+
\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
87737
|
}
|
|
86315
87738
|
if (rf & 2) {
|
|
86316
87739
|
const ctx_r1 = \u0275\u0275nextContext();
|
|
@@ -86331,11 +87754,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86331
87754
|
init_app_enums();
|
|
86332
87755
|
init_BritishColumbiaConstants();
|
|
86333
87756
|
init_british_columbia_form_enums();
|
|
87757
|
+
init_british_columbia_change_of_directors_form_helper();
|
|
86334
87758
|
init_british_columbia_formation_form_helper();
|
|
86335
87759
|
init_delta_state_service();
|
|
86336
87760
|
init_common_utils();
|
|
86337
87761
|
init_confirm_modal_component();
|
|
86338
87762
|
init_terms_and_conditions_component();
|
|
87763
|
+
init_change_of_directors_delta_form_component();
|
|
87764
|
+
init_change_of_directors_preview_form_component();
|
|
86339
87765
|
init_british_columbia_incorporation_delta_form_component();
|
|
86340
87766
|
init_british_columbia_incorporation_preview_form_component();
|
|
86341
87767
|
init_core();
|
|
@@ -86347,6 +87773,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86347
87773
|
actionsDisabled = input(false);
|
|
86348
87774
|
errors = input([]);
|
|
86349
87775
|
close = output();
|
|
87776
|
+
codValidate = output();
|
|
87777
|
+
saveCodDeltaData = output();
|
|
87778
|
+
codSubmit = output();
|
|
86350
87779
|
formationValidate = output();
|
|
86351
87780
|
formationSubmit = output();
|
|
86352
87781
|
saveFormationDeltaData = output();
|
|
@@ -86356,12 +87785,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86356
87785
|
deltaState = inject(DeltaStateService);
|
|
86357
87786
|
translate = inject(TranslateService);
|
|
86358
87787
|
steps = Step;
|
|
87788
|
+
isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
|
|
86359
87789
|
isFormationTask = isFormationTask2;
|
|
86360
87790
|
deltaForm = signal(new FormGroup({}));
|
|
86361
87791
|
previewForm = signal(new FormGroup({}));
|
|
86362
87792
|
constructor() {
|
|
86363
87793
|
effect(() => {
|
|
86364
87794
|
const task = this.task();
|
|
87795
|
+
if (task && isChangeOfPrincipalsTask(task)) {
|
|
87796
|
+
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
87797
|
+
this.deltaState.setBCChangeOfDirectorsInitialDelta(this.generateChangeOfDirectorsDeltaData());
|
|
87798
|
+
}
|
|
86365
87799
|
if (task && isFormationTask2(task)) {
|
|
86366
87800
|
this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
|
|
86367
87801
|
this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
|
|
@@ -86370,7 +87804,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86370
87804
|
effect(() => {
|
|
86371
87805
|
const task = this.task();
|
|
86372
87806
|
const deltaData = task?.deltaData;
|
|
86373
|
-
if (task
|
|
87807
|
+
if (!task || !deltaData) {
|
|
87808
|
+
return;
|
|
87809
|
+
}
|
|
87810
|
+
if (isChangeOfPrincipalsTask(task)) {
|
|
87811
|
+
const form = new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
87812
|
+
form.disable();
|
|
87813
|
+
this.previewForm.set(form);
|
|
87814
|
+
if (untracked2(() => this.activeStep()) === Step.Validate) {
|
|
87815
|
+
this.nextStep.emit();
|
|
87816
|
+
}
|
|
87817
|
+
}
|
|
87818
|
+
if (isFormationTask2(task)) {
|
|
86374
87819
|
const form = new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser())));
|
|
86375
87820
|
form.disable();
|
|
86376
87821
|
this.previewForm.set(form);
|
|
@@ -86380,6 +87825,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86380
87825
|
}
|
|
86381
87826
|
});
|
|
86382
87827
|
}
|
|
87828
|
+
onChangeOfDirectorsValidate() {
|
|
87829
|
+
markFormGroupTouched(this.deltaForm());
|
|
87830
|
+
this.codValidate.emit(this.generateChangeOfDirectorsDeltaData());
|
|
87831
|
+
}
|
|
87832
|
+
onChangeOfDirectorsSave() {
|
|
87833
|
+
const delta = this.generateChangeOfDirectorsDeltaData();
|
|
87834
|
+
this.deltaState.setBCChangeOfDirectorsInitialDelta(delta);
|
|
87835
|
+
this.saveCodDeltaData.emit(delta);
|
|
87836
|
+
}
|
|
87837
|
+
onChangeOfDirectorsSubmit(termsAndConditions) {
|
|
87838
|
+
this.codSubmit.emit(__spreadProps(__spreadValues({}, this.generateChangeOfDirectorsDeltaData()), {
|
|
87839
|
+
signatoryFirstName: termsAndConditions.firstName,
|
|
87840
|
+
signatoryLastName: termsAndConditions.lastName
|
|
87841
|
+
}));
|
|
87842
|
+
}
|
|
86383
87843
|
onFormationValidate() {
|
|
86384
87844
|
markFormGroupTouched(this.deltaForm());
|
|
86385
87845
|
this.formationValidate.emit(this.generateFormationDeltaData());
|
|
@@ -86392,6 +87852,31 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86392
87852
|
onFormationSubmit(termsAndConditions) {
|
|
86393
87853
|
this.formationSubmit.emit(this.generateFormationDeltaData(termsAndConditions));
|
|
86394
87854
|
}
|
|
87855
|
+
generateChangeOfDirectorsDeltaData() {
|
|
87856
|
+
const c = BCChangeOfDirectorsFormControls;
|
|
87857
|
+
const formData = this.deltaForm().getRawValue();
|
|
87858
|
+
const refNumbers = formData[BCChangeOfDirectorsFormGroups.ReferenceNumbers];
|
|
87859
|
+
const filing = formData[BCChangeOfDirectorsFormGroups.FilingDetails];
|
|
87860
|
+
const notification = formData[BCChangeOfDirectorsFormGroups.Notification];
|
|
87861
|
+
const reminder = formData[BCChangeOfDirectorsFormGroups.AnnualReportReminder];
|
|
87862
|
+
const addedOrDeleted = Boolean(filing?.[c.DirectorsAddedOrDeleted]);
|
|
87863
|
+
const notifyByMail = notification?.[c.NotificationMethod] === BCNotificationMethod.Mail;
|
|
87864
|
+
return {
|
|
87865
|
+
referenceNumbers: {
|
|
87866
|
+
referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
|
|
87867
|
+
docketNumber: refNumbers?.[c.DocketNumber] ?? null
|
|
87868
|
+
},
|
|
87869
|
+
filingDetails: {
|
|
87870
|
+
directorsAddedOrDeleted: addedOrDeleted,
|
|
87871
|
+
changeDate: addedOrDeleted ? filing?.[c.ChangeDate] ?? null : void 0
|
|
87872
|
+
},
|
|
87873
|
+
notification: {
|
|
87874
|
+
method: notification?.[c.NotificationMethod] ?? null,
|
|
87875
|
+
email: notifyByMail ? void 0 : notification?.[c.NotificationEmail] ?? null
|
|
87876
|
+
},
|
|
87877
|
+
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? null
|
|
87878
|
+
};
|
|
87879
|
+
}
|
|
86395
87880
|
generateFormationDeltaData(termsAndConditions) {
|
|
86396
87881
|
const formData = this.deltaForm().getRawValue();
|
|
86397
87882
|
const refNumbers = formData[BCFormationFormGroups.ReferenceNumbers];
|
|
@@ -86453,7 +87938,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86453
87938
|
return data;
|
|
86454
87939
|
}
|
|
86455
87940
|
onClose() {
|
|
86456
|
-
const
|
|
87941
|
+
const task = this.task();
|
|
87942
|
+
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
|
|
86457
87943
|
if (!hasChanges) {
|
|
86458
87944
|
this.close.emit();
|
|
86459
87945
|
return;
|
|
@@ -86469,7 +87955,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86469
87955
|
width: "65rem"
|
|
86470
87956
|
}).afterClosed().subscribe((val) => {
|
|
86471
87957
|
if (val) {
|
|
86472
|
-
|
|
87958
|
+
if (task && isFormationTask2(task)) {
|
|
87959
|
+
this.onFormationSave();
|
|
87960
|
+
} else {
|
|
87961
|
+
this.onChangeOfDirectorsSave();
|
|
87962
|
+
}
|
|
86473
87963
|
}
|
|
86474
87964
|
this.close.emit();
|
|
86475
87965
|
});
|
|
@@ -86477,17 +87967,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86477
87967
|
static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
|
|
86478
87968
|
return new (__ngFactoryType__ || _BritishColumbiaComponent)();
|
|
86479
87969
|
};
|
|
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:
|
|
87970
|
+
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
87971
|
if (rf & 1) {
|
|
86482
87972
|
\u0275\u0275declareLet(0);
|
|
86483
|
-
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 3, 3);
|
|
87973
|
+
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 3, 3)(2, BritishColumbiaComponent_Conditional_2_Template, 3, 3);
|
|
86484
87974
|
}
|
|
86485
87975
|
if (rf & 2) {
|
|
86486
|
-
const
|
|
87976
|
+
const taskData_r9 = \u0275\u0275storeLet(ctx.task());
|
|
86487
87977
|
\u0275\u0275advance();
|
|
86488
|
-
\u0275\u0275conditional(ctx.
|
|
87978
|
+
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r9) ? 1 : -1);
|
|
87979
|
+
\u0275\u0275advance();
|
|
87980
|
+
\u0275\u0275conditional(ctx.isFormationTask(taskData_r9) ? 2 : -1);
|
|
86489
87981
|
}
|
|
86490
87982
|
}, dependencies: [
|
|
87983
|
+
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
87984
|
+
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
86491
87985
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
86492
87986
|
BritishColumbiaIncorporationPreviewFormComponent,
|
|
86493
87987
|
TermsAndConditionsComponent
|
|
@@ -86497,14 +87991,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86497
87991
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaComponent, [{
|
|
86498
87992
|
type: Component,
|
|
86499
87993
|
args: [{ standalone: true, selector: "british-columbia", changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
87994
|
+
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
87995
|
+
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
86500
87996
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
86501
87997
|
BritishColumbiaIncorporationPreviewFormComponent,
|
|
86502
87998
|
TermsAndConditionsComponent
|
|
86503
|
-
], template: '@let taskData = this.task();\
|
|
87999
|
+
], 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
88000
|
}], () => [], null);
|
|
86505
88001
|
})();
|
|
86506
88002
|
(() => {
|
|
86507
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber:
|
|
88003
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 65 });
|
|
86508
88004
|
})();
|
|
86509
88005
|
}
|
|
86510
88006
|
});
|
|
@@ -92514,11 +94010,34 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92514
94010
|
});
|
|
92515
94011
|
|
|
92516
94012
|
// src/app/services/british-columbia/british-columbia-formation.service.ts
|
|
92517
|
-
function toValidateErrors(
|
|
92518
|
-
|
|
92519
|
-
|
|
94013
|
+
function toValidateErrors(payload) {
|
|
94014
|
+
const out = [];
|
|
94015
|
+
const errors = payload?.errors;
|
|
94016
|
+
if (Array.isArray(errors)) {
|
|
94017
|
+
for (const e of errors) {
|
|
94018
|
+
if (typeof e === "string") {
|
|
94019
|
+
out.push({ Message: e });
|
|
94020
|
+
} else if (e?.message) {
|
|
94021
|
+
out.push({ Code: e.code, Message: e.message });
|
|
94022
|
+
}
|
|
94023
|
+
}
|
|
94024
|
+
} else if (errors && typeof errors === "object") {
|
|
94025
|
+
for (const [field, messages] of Object.entries(errors)) {
|
|
94026
|
+
for (const message of Array.isArray(messages) ? messages : [messages]) {
|
|
94027
|
+
out.push({ Code: field, Message: `${field}: ${String(message)}` });
|
|
94028
|
+
}
|
|
94029
|
+
}
|
|
92520
94030
|
}
|
|
92521
|
-
|
|
94031
|
+
for (const message of payload?.additionalInformation ?? []) {
|
|
94032
|
+
out.push({ Message: message });
|
|
94033
|
+
}
|
|
94034
|
+
if (!out.length) {
|
|
94035
|
+
const fallback = payload?.error ?? payload?.detail ?? payload?.message ?? payload?.title;
|
|
94036
|
+
if (fallback) {
|
|
94037
|
+
out.push({ Message: fallback });
|
|
94038
|
+
}
|
|
94039
|
+
}
|
|
94040
|
+
return out.length ? out : void 0;
|
|
92522
94041
|
}
|
|
92523
94042
|
var INCORPORATION_PATH, TEMP_UAT_BC_FILING_URL, BritishColumbiaFormationService;
|
|
92524
94043
|
var init_british_columbia_formation_service = __esm({
|
|
@@ -92553,7 +94072,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92553
94072
|
Status: payload?.status,
|
|
92554
94073
|
ServiceOrderId: payload?.serviceOrderId,
|
|
92555
94074
|
Draft: payload?.draft,
|
|
92556
|
-
Errors: toValidateErrors(payload
|
|
94075
|
+
Errors: toValidateErrors(payload)
|
|
92557
94076
|
};
|
|
92558
94077
|
const statusFailed = Boolean(result.Status) && result.Status !== "success";
|
|
92559
94078
|
if (resp.ok && !statusFailed && result.ServiceOrderId && !result.Errors?.length) {
|
|
@@ -92596,9 +94115,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92596
94115
|
const result = {
|
|
92597
94116
|
Status: payload?.status,
|
|
92598
94117
|
ServiceOrderId: serviceOrderId,
|
|
92599
|
-
Errors: failed ? toValidateErrors(payload
|
|
92600
|
-
Message: message
|
|
92601
|
-
})) : void 0
|
|
94118
|
+
Errors: failed ? toValidateErrors(payload) ?? [{ Message: payload?.status ?? "failed" }] : void 0
|
|
92602
94119
|
};
|
|
92603
94120
|
if (failed) {
|
|
92604
94121
|
const err = buildGenericError(resp.status, "eCore submit failed", result);
|
|
@@ -92639,6 +94156,123 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92639
94156
|
}
|
|
92640
94157
|
});
|
|
92641
94158
|
|
|
94159
|
+
// src/app/services/british-columbia/british-columbia-change-of-directors.service.ts
|
|
94160
|
+
var BritishColumbiaChangeOfDirectorsService;
|
|
94161
|
+
var init_british_columbia_change_of_directors_service = __esm({
|
|
94162
|
+
"src/app/services/british-columbia/british-columbia-change-of-directors.service.ts"() {
|
|
94163
|
+
init_core();
|
|
94164
|
+
init_common_utils();
|
|
94165
|
+
init_core();
|
|
94166
|
+
BritishColumbiaChangeOfDirectorsService = class _BritishColumbiaChangeOfDirectorsService {
|
|
94167
|
+
config;
|
|
94168
|
+
setConfig(config2) {
|
|
94169
|
+
this.config = config2;
|
|
94170
|
+
}
|
|
94171
|
+
validate(_0, _1) {
|
|
94172
|
+
return __async(this, arguments, function* (signature, requestBody, opts = {}) {
|
|
94173
|
+
ensureAuthInputs(signature);
|
|
94174
|
+
const fetchFn = opts.fetchImpl ?? fetch;
|
|
94175
|
+
const url = signature.proxyApiUrl;
|
|
94176
|
+
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing`;
|
|
94177
|
+
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, requestBody, __spreadValues({
|
|
94178
|
+
"x-target-url": targetUrl
|
|
94179
|
+
}, opts.headers ?? {})));
|
|
94180
|
+
const raw = yield resp.text();
|
|
94181
|
+
const parsed = tryParseJson(raw);
|
|
94182
|
+
if (!parsed.ok) {
|
|
94183
|
+
const err2 = new Error(`BC change of directors validation returned ${resp.status} ${resp.statusText}: ${raw || "(empty response)"}`);
|
|
94184
|
+
err2.httpStatus = resp.status;
|
|
94185
|
+
throw err2;
|
|
94186
|
+
}
|
|
94187
|
+
const payload = unwrapRequestResults(parsed.value);
|
|
94188
|
+
if (resp.ok && !payload.Errors?.length) {
|
|
94189
|
+
return payload;
|
|
94190
|
+
}
|
|
94191
|
+
const err = buildValidationError(resp.status, payload);
|
|
94192
|
+
err.validateResult = payload;
|
|
94193
|
+
err.httpStatus = resp.status;
|
|
94194
|
+
throw err;
|
|
94195
|
+
});
|
|
94196
|
+
}
|
|
94197
|
+
getOnbisOrigin() {
|
|
94198
|
+
const filingUrl = this.config?.ONFiling;
|
|
94199
|
+
if (!filingUrl) {
|
|
94200
|
+
throw new Error("BritishColumbiaChangeOfDirectorsService: missing EnvConfig.ONFiling.");
|
|
94201
|
+
}
|
|
94202
|
+
return new URL(filingUrl).origin;
|
|
94203
|
+
}
|
|
94204
|
+
static \u0275fac = function BritishColumbiaChangeOfDirectorsService_Factory(__ngFactoryType__) {
|
|
94205
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsService)();
|
|
94206
|
+
};
|
|
94207
|
+
static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaChangeOfDirectorsService, factory: _BritishColumbiaChangeOfDirectorsService.\u0275fac, providedIn: "root" });
|
|
94208
|
+
};
|
|
94209
|
+
(() => {
|
|
94210
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfDirectorsService, [{
|
|
94211
|
+
type: Injectable,
|
|
94212
|
+
args: [{
|
|
94213
|
+
providedIn: "root"
|
|
94214
|
+
}]
|
|
94215
|
+
}], null, null);
|
|
94216
|
+
})();
|
|
94217
|
+
}
|
|
94218
|
+
});
|
|
94219
|
+
|
|
94220
|
+
// src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts
|
|
94221
|
+
function buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData) {
|
|
94222
|
+
const incomingDirectors = (task.incomingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
94223
|
+
const outgoingDirectors = (task.outgoingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
94224
|
+
const companyEmail = findCompanyEmail(task);
|
|
94225
|
+
const serviceOrderId = deltaData.serviceOrderId;
|
|
94226
|
+
return __spreadValues({
|
|
94227
|
+
filingType: "changeOfDirectorsFiling",
|
|
94228
|
+
filing: {
|
|
94229
|
+
reference: deltaData.referenceNumbers.referenceNumber ?? null,
|
|
94230
|
+
docket: deltaData.referenceNumbers.docketNumber ?? null,
|
|
94231
|
+
addOrDeleteDirectors: deltaData.filingDetails.directorsAddedOrDeleted,
|
|
94232
|
+
effectiveDate: toYyyyMmDd(deltaData.filingDetails.changeDate) ?? toYyyyMmDd(/* @__PURE__ */ new Date()),
|
|
94233
|
+
addDirectors: incomingDirectors.map((affiliation) => buildDirector(affiliation)),
|
|
94234
|
+
ceaseDirectors: outgoingDirectors.map((affiliation) => buildDirector(affiliation)),
|
|
94235
|
+
editDirectors: [],
|
|
94236
|
+
companyEmail,
|
|
94237
|
+
isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
|
|
94238
|
+
}
|
|
94239
|
+
}, serviceOrderId ? { ServiceOrderId: serviceOrderId } : {});
|
|
94240
|
+
}
|
|
94241
|
+
function isDirectorAffiliation(affiliation) {
|
|
94242
|
+
return isPrincipalAffiliation2(affiliation) && affiliation.role?.role_name === "Director";
|
|
94243
|
+
}
|
|
94244
|
+
function buildDirector(affiliation) {
|
|
94245
|
+
const profile = affiliation.participant?._profile ?? {};
|
|
94246
|
+
const addresses = getAffiliationAddresses(affiliation);
|
|
94247
|
+
return {
|
|
94248
|
+
firstName: profile.firstName ?? "",
|
|
94249
|
+
middleName: profile.middleName ?? "",
|
|
94250
|
+
lastName: profile.lastName ?? "",
|
|
94251
|
+
isDeliveryAddressSameAsMailing: isDeliveryAddressSameAsMailing(addresses)
|
|
94252
|
+
};
|
|
94253
|
+
}
|
|
94254
|
+
function findCompanyEmail(task) {
|
|
94255
|
+
const affiliations = task.entity.affiliations ?? [];
|
|
94256
|
+
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
94257
|
+
return registeredOffice?.addresses?.[0]?.communications?.find((communication) => communication.type === "Business Email")?.value ?? task.entity.communications?.find((communication) => communication.type === "Business Email")?.value ?? null;
|
|
94258
|
+
}
|
|
94259
|
+
function getAffiliationAddresses(affiliation) {
|
|
94260
|
+
return affiliation.addresses?.length ? affiliation.addresses : affiliation.parent_affiliation?.addresses ?? [];
|
|
94261
|
+
}
|
|
94262
|
+
function isDeliveryAddressSameAsMailing(addresses) {
|
|
94263
|
+
const mailing = BritishColumbiaFormationFormHelper.pickAddress(addresses, "Mailing");
|
|
94264
|
+
const delivery = BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery");
|
|
94265
|
+
return BritishColumbiaFormationFormHelper.formatFullAddress(mailing) === BritishColumbiaFormationFormHelper.formatFullAddress(delivery);
|
|
94266
|
+
}
|
|
94267
|
+
var init_british_columbia_change_of_directors_mapper = __esm({
|
|
94268
|
+
"src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts"() {
|
|
94269
|
+
init_BritishColumbiaConstants();
|
|
94270
|
+
init_common_models();
|
|
94271
|
+
init_british_columbia_formation_form_helper();
|
|
94272
|
+
init_common_utils();
|
|
94273
|
+
}
|
|
94274
|
+
});
|
|
94275
|
+
|
|
92642
94276
|
// src/app/components/filing/filing.component.ts
|
|
92643
94277
|
function FilingComponent_Conditional_7_Template(rf, ctx) {
|
|
92644
94278
|
if (rf & 1) {
|
|
@@ -92718,6 +94352,26 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92718
94352
|
\u0275\u0275restoreView(_r6);
|
|
92719
94353
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
92720
94354
|
return \u0275\u0275resetView(ctx_r2.close.emit());
|
|
94355
|
+
})("nextStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_nextStep_0_listener() {
|
|
94356
|
+
\u0275\u0275restoreView(_r6);
|
|
94357
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94358
|
+
return \u0275\u0275resetView(ctx_r2.onNextStepClick());
|
|
94359
|
+
})("prevStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_prevStep_0_listener() {
|
|
94360
|
+
\u0275\u0275restoreView(_r6);
|
|
94361
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94362
|
+
return \u0275\u0275resetView(ctx_r2.onOntarioPrevStep());
|
|
94363
|
+
})("codValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_codValidate_0_listener($event) {
|
|
94364
|
+
\u0275\u0275restoreView(_r6);
|
|
94365
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94366
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsValidate($event));
|
|
94367
|
+
})("saveCodDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCodDeltaData_0_listener($event) {
|
|
94368
|
+
\u0275\u0275restoreView(_r6);
|
|
94369
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94370
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSave($event));
|
|
94371
|
+
})("codSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_codSubmit_0_listener() {
|
|
94372
|
+
\u0275\u0275restoreView(_r6);
|
|
94373
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94374
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
|
|
92721
94375
|
})("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
|
|
92722
94376
|
\u0275\u0275restoreView(_r6);
|
|
92723
94377
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
@@ -92730,14 +94384,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92730
94384
|
\u0275\u0275restoreView(_r6);
|
|
92731
94385
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
92732
94386
|
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaFormationSubmit());
|
|
92733
|
-
})("nextStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_nextStep_0_listener() {
|
|
92734
|
-
\u0275\u0275restoreView(_r6);
|
|
92735
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
92736
|
-
return \u0275\u0275resetView(ctx_r2.onNextStepClick());
|
|
92737
|
-
})("prevStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_prevStep_0_listener() {
|
|
92738
|
-
\u0275\u0275restoreView(_r6);
|
|
92739
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
92740
|
-
return \u0275\u0275resetView(ctx_r2.onOntarioPrevStep());
|
|
92741
94387
|
});
|
|
92742
94388
|
\u0275\u0275elementEnd();
|
|
92743
94389
|
}
|
|
@@ -92839,6 +94485,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92839
94485
|
init_british_columbia_formation_mapper();
|
|
92840
94486
|
init_british_columbia_formation_service();
|
|
92841
94487
|
init_delta_state_service();
|
|
94488
|
+
init_british_columbia_change_of_directors_service();
|
|
94489
|
+
init_british_columbia_change_of_directors_mapper();
|
|
92842
94490
|
init_core();
|
|
92843
94491
|
init_button();
|
|
92844
94492
|
FilingComponent = class _FilingComponent {
|
|
@@ -92894,6 +94542,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92894
94542
|
bcFormationService = inject(BritishColumbiaFormationService);
|
|
92895
94543
|
federalUpdateMaintainService = inject(FederalUpdateMaintainService);
|
|
92896
94544
|
updateMaintainService = inject(OntarioUpdateMaintainService);
|
|
94545
|
+
britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
|
|
92897
94546
|
translate = inject(TranslateService);
|
|
92898
94547
|
isEditButton = computed(() => {
|
|
92899
94548
|
const task = this.task();
|
|
@@ -92932,6 +94581,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92932
94581
|
if (isFormationTask2(task)) {
|
|
92933
94582
|
return `File ${jurisdiction} Articles of Incorporation`;
|
|
92934
94583
|
}
|
|
94584
|
+
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
94585
|
+
return "File British Columbia Notice of Change of Directors";
|
|
94586
|
+
}
|
|
92935
94587
|
return "";
|
|
92936
94588
|
});
|
|
92937
94589
|
constructor() {
|
|
@@ -92943,6 +94595,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92943
94595
|
this.federalFormationService.setConfig(config2);
|
|
92944
94596
|
this.bcFormationService.setConfig(config2);
|
|
92945
94597
|
this.federalUpdateMaintainService.setConfig(config2);
|
|
94598
|
+
this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
|
|
92946
94599
|
}
|
|
92947
94600
|
});
|
|
92948
94601
|
addStylesVariables();
|
|
@@ -93081,6 +94734,59 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93081
94734
|
}
|
|
93082
94735
|
this.deltaDataChange.emit(deltaData);
|
|
93083
94736
|
}
|
|
94737
|
+
onBritishColumbiaChangeOfDirectorsValidate(deltaData) {
|
|
94738
|
+
return __async(this, null, function* () {
|
|
94739
|
+
const task = this.task();
|
|
94740
|
+
const signature = this._signature();
|
|
94741
|
+
if (!task || !signature || !isChangeOfPrincipalsTask(task)) {
|
|
94742
|
+
return;
|
|
94743
|
+
}
|
|
94744
|
+
try {
|
|
94745
|
+
this.isLoading.set(true);
|
|
94746
|
+
this.errors.set([]);
|
|
94747
|
+
const requestBody = buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData);
|
|
94748
|
+
const response = yield this.britishColumbiaChangeOfDirectorsService.validate(signature, requestBody, this.validateOptions() ?? {});
|
|
94749
|
+
if (this.hasResponseErrors(response))
|
|
94750
|
+
return;
|
|
94751
|
+
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
94752
|
+
if (response.Draft) {
|
|
94753
|
+
this.filingValidateSuccess.emit({
|
|
94754
|
+
searchOrFilingType: getSearchOrFilingType(task),
|
|
94755
|
+
serviceOrderId,
|
|
94756
|
+
validatedOn: /* @__PURE__ */ new Date(),
|
|
94757
|
+
provider: "obr",
|
|
94758
|
+
draftPdf: response.Draft,
|
|
94759
|
+
documentName: this.validateOptions()?.documentName ?? "BC Change of Directors Draft",
|
|
94760
|
+
documentType: "pdf"
|
|
94761
|
+
});
|
|
94762
|
+
}
|
|
94763
|
+
const validatedData = this.task()?.deltaData?.validatedData;
|
|
94764
|
+
if (validatedData) {
|
|
94765
|
+
delete this.task()?.deltaData.validatedData;
|
|
94766
|
+
}
|
|
94767
|
+
this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
|
|
94768
|
+
serviceOrderId,
|
|
94769
|
+
validatedData: JSON.parse(JSON.stringify(requestBody))
|
|
94770
|
+
}));
|
|
94771
|
+
this.close.emit();
|
|
94772
|
+
} catch (response) {
|
|
94773
|
+
this.handleCatchError(response);
|
|
94774
|
+
} finally {
|
|
94775
|
+
this.isLoading.set(false);
|
|
94776
|
+
}
|
|
94777
|
+
});
|
|
94778
|
+
}
|
|
94779
|
+
onBritishColumbiaChangeOfDirectorsSave(deltaData) {
|
|
94780
|
+
const oldDeltaData = this.task()?.deltaData;
|
|
94781
|
+
if (oldDeltaData) {
|
|
94782
|
+
delete this.task()?.deltaData;
|
|
94783
|
+
}
|
|
94784
|
+
this.deltaDataChange.emit(deltaData);
|
|
94785
|
+
}
|
|
94786
|
+
onBritishColumbiaChangeOfDirectorsSubmit() {
|
|
94787
|
+
console.warn("British Columbia change of directors submit is not wired to a backend yet.");
|
|
94788
|
+
this.close.emit();
|
|
94789
|
+
}
|
|
93084
94790
|
/**
|
|
93085
94791
|
* British Columbia Formation validate (AC8 / AC9): sends the payload to the BC Filing API,
|
|
93086
94792
|
* hands the draft PDF to UEM and saves the delta + ServiceOrderId + full payload.
|
|
@@ -93560,7 +95266,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93560
95266
|
if (rf & 2) {
|
|
93561
95267
|
\u0275\u0275styleProp("height", ctx.modalHeight());
|
|
93562
95268
|
}
|
|
93563
|
-
}, 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", "
|
|
95269
|
+
}, 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) {
|
|
93564
95270
|
if (rf & 1) {
|
|
93565
95271
|
const _r1 = \u0275\u0275getCurrentView();
|
|
93566
95272
|
\u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
|
|
@@ -93626,13 +95332,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93626
95332
|
\r
|
|
93627
95333
|
@if (isEditButton()) {\r
|
|
93628
95334
|
<div class="filing-header">\r
|
|
93629
|
-
|
|
93630
|
-
|
|
93631
|
-
|
|
93632
|
-
(click)="onEditClick()"\r
|
|
93633
|
-
>\r
|
|
93634
|
-
{{ 'Edit' | translate }}\r
|
|
93635
|
-
</button>\r
|
|
95335
|
+
<button mat-stroked-button [disabled]="isLoading()" (click)="onEditClick()">\r
|
|
95336
|
+
{{ 'Edit' | translate }}\r
|
|
95337
|
+
</button>\r
|
|
93636
95338
|
</div>\r
|
|
93637
95339
|
}\r
|
|
93638
95340
|
\r
|
|
@@ -93640,71 +95342,43 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93640
95342
|
@let currentTask = task();\r
|
|
93641
95343
|
\r
|
|
93642
95344
|
@if (currentTask) {\r
|
|
93643
|
-
|
|
93644
|
-
|
|
93645
|
-
|
|
93646
|
-
|
|
93647
|
-
|
|
93648
|
-
|
|
93649
|
-
|
|
93650
|
-
|
|
93651
|
-
|
|
93652
|
-
|
|
93653
|
-
|
|
93654
|
-
|
|
93655
|
-
|
|
93656
|
-
|
|
93657
|
-
|
|
93658
|
-
|
|
93659
|
-
|
|
93660
|
-
|
|
93661
|
-
|
|
93662
|
-
|
|
93663
|
-
|
|
93664
|
-
|
|
93665
|
-
|
|
93666
|
-
|
|
93667
|
-
[isNote]="dataWasChanged()"\r
|
|
93668
|
-
[actionsDisabled]="isLoading()"\r
|
|
93669
|
-
[errors]="errors()"\r
|
|
93670
|
-
(close)="close.emit()"\r
|
|
93671
|
-
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
93672
|
-
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
93673
|
-
(formationSubmit)="onBritishColumbiaFormationSubmit()"\r
|
|
93674
|
-
(nextStep)="onNextStepClick()"\r
|
|
93675
|
-
(prevStep)="onOntarioPrevStep()"\r
|
|
93676
|
-
/>\r
|
|
93677
|
-
} @else {\r
|
|
93678
|
-
<federal\r
|
|
93679
|
-
[actionsDisabled]="isLoading()"\r
|
|
93680
|
-
[isNote]="dataWasChanged()"\r
|
|
93681
|
-
[activeStep]="activeStep()"\r
|
|
93682
|
-
[task]="currentTask"\r
|
|
93683
|
-
[errors]="errors()"\r
|
|
93684
|
-
(close)="close.emit()"\r
|
|
93685
|
-
(deltaDataChange)="onFederalFormationSave($event)"\r
|
|
93686
|
-
(file)="onFederalFormationSubmit()"\r
|
|
93687
|
-
(validate)="onFederalValidate($event)"\r
|
|
93688
|
-
(umSave)="onFederalUpdateMaintainSave($event)"\r
|
|
93689
|
-
(umValidate)="onFederalUpdateMaintainValidate($event)"\r
|
|
93690
|
-
(umSubmit)="onFederalUpdateMaintainSubmit()"\r
|
|
93691
|
-
(nextStep)="defineInitialStep()"\r
|
|
93692
|
-
/>\r
|
|
93693
|
-
}\r
|
|
95345
|
+
@if (isOntarioTask(currentTask)) {\r
|
|
95346
|
+
<ontario [task]="currentTask" [activeStep]="activeStep()" [isNote]="dataWasChanged()"\r
|
|
95347
|
+
[actionsDisabled]="isLoading()" [errors]="errors()" [prevData]="prevData()" (close)="close.emit()"\r
|
|
95348
|
+
(formationValidate)="onOntarioFormationValidate($event)" (saveFormationDeltaData)="onOntarioFormationSave($event)"\r
|
|
95349
|
+
(formationSubmit)="onOntarioFormationSubmit()" (nextStep)="onNextStepClick()" (prevStep)="onOntarioPrevStep()"\r
|
|
95350
|
+
[irValidationConfig]="validationConfig()" (irValidate)="validateAndFileInitialReturnTask($event)"\r
|
|
95351
|
+
(saveIrDeltaData)="onOntarioUpdateMaintainSave($event)" (irSubmit)="onInitialReturnSubmit()" />\r
|
|
95352
|
+
} @else if (isBritishColumbiaTask(currentTask)) {\r
|
|
95353
|
+
<british-columbia [task]="currentTask" [currentUser]="currentUser()" [activeStep]="activeStep()"\r
|
|
95354
|
+
[isNote]="dataWasChanged()" [actionsDisabled]="isLoading()" [errors]="errors()" (close)="close.emit()"\r
|
|
95355
|
+
(nextStep)="onNextStepClick()" (prevStep)="onOntarioPrevStep()"\r
|
|
95356
|
+
(codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
|
|
95357
|
+
(saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
|
|
95358
|
+
(codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
|
|
95359
|
+
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
95360
|
+
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
95361
|
+
(formationSubmit)="onBritishColumbiaFormationSubmit()" />\r
|
|
95362
|
+
} @else {\r
|
|
95363
|
+
<federal [actionsDisabled]="isLoading()" [isNote]="dataWasChanged()" [activeStep]="activeStep()"\r
|
|
95364
|
+
[task]="currentTask" [errors]="errors()" (close)="close.emit()" (deltaDataChange)="onFederalFormationSave($event)"\r
|
|
95365
|
+
(file)="onFederalFormationSubmit()" (validate)="onFederalValidate($event)"\r
|
|
95366
|
+
(umSave)="onFederalUpdateMaintainSave($event)" (umValidate)="onFederalUpdateMaintainValidate($event)"\r
|
|
95367
|
+
(umSubmit)="onFederalUpdateMaintainSubmit()" (nextStep)="defineInitialStep()" />\r
|
|
95368
|
+
}\r
|
|
93694
95369
|
}\r
|
|
93695
95370
|
\r
|
|
93696
95371
|
@if (isLoading()) {\r
|
|
93697
|
-
|
|
93698
|
-
|
|
93699
|
-
|
|
95372
|
+
<div class="filing-content-loading">\r
|
|
95373
|
+
<mat-spinner [diameter]="40" />\r
|
|
95374
|
+
</div>\r
|
|
93700
95375
|
}\r
|
|
93701
95376
|
</div>\r
|
|
93702
|
-
</div>\r
|
|
93703
|
-
`, 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'] }]
|
|
95377
|
+
</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'] }]
|
|
93704
95378
|
}], () => [], null);
|
|
93705
95379
|
})();
|
|
93706
95380
|
(() => {
|
|
93707
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber:
|
|
95381
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 86 });
|
|
93708
95382
|
})();
|
|
93709
95383
|
}
|
|
93710
95384
|
});
|
|
@@ -97908,6 +99582,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97908
99582
|
Directors: "Directors",
|
|
97909
99583
|
Officers: "Officers",
|
|
97910
99584
|
"Certified By": "Certified By",
|
|
99585
|
+
"Certified by": "Certified by",
|
|
97911
99586
|
"Expand all": "Expand all",
|
|
97912
99587
|
"Collapse all": "Collapse all",
|
|
97913
99588
|
Add: "Add",
|
|
@@ -97930,6 +99605,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97930
99605
|
"Cancel Edits": "Cancel Edits",
|
|
97931
99606
|
Cancel: "Cancel",
|
|
97932
99607
|
NOTE: "NOTE",
|
|
99608
|
+
"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.",
|
|
97933
99609
|
"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.",
|
|
97934
99610
|
"Terms and Conditions": "Terms and Conditions",
|
|
97935
99611
|
"I have read and agree to the Terms and Conditions": "I have read and agree to the Terms and Conditions",
|
|
@@ -98292,6 +99968,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
98292
99968
|
"Existing Officer": "Existing Officer",
|
|
98293
99969
|
"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.",
|
|
98294
99970
|
"All supporting documents have already been added.": "All supporting documents have already been added.",
|
|
99971
|
+
"File British Columbia Notice of Change of Directors": "File British Columbia Notice of Change of Directors",
|
|
99972
|
+
"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.",
|
|
99973
|
+
"Directors will be added and/or deleted as part of this filing": "Directors will be added and/or deleted as part of this filing",
|
|
99974
|
+
"Date Directors were added or deleted": "Date Directors were added or deleted",
|
|
99975
|
+
"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.",
|
|
99976
|
+
"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.",
|
|
99977
|
+
"defaults to Registered Office mailing address": "defaults to Registered Office mailing address",
|
|
99978
|
+
"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.",
|
|
99979
|
+
"Annual Report Reminder": "Annual Report Reminder",
|
|
99980
|
+
"Yes, send the annual report reminder": "Yes, send the annual report reminder",
|
|
99981
|
+
"No, I do not need to be reminded": "No, I do not need to be reminded",
|
|
99982
|
+
"Director Information": "Director Information",
|
|
99983
|
+
"Filing Details": "Filing Details",
|
|
99984
|
+
"Incorporation Number": "Incorporation Number",
|
|
99985
|
+
"Filing Fee": "Filing Fee",
|
|
98295
99986
|
"File British Columbia Articles of Incorporation": "File British Columbia Articles of Incorporation",
|
|
98296
99987
|
Named: "Named",
|
|
98297
99988
|
"Company Name": "Company Name",
|
|
@@ -98363,8 +100054,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
98363
100054
|
"Canadian Resident": "R\xE9sident canadien",
|
|
98364
100055
|
Officers: "Officiers",
|
|
98365
100056
|
"Certified By": "Certifi\xE9 par",
|
|
100057
|
+
"Certified by": "Certifi\xE9 par",
|
|
98366
100058
|
"Expand all": "Afficher tout",
|
|
98367
|
-
"Collapse all": "Masquer
|
|
100059
|
+
"Collapse all": "Tout Masquer",
|
|
98368
100060
|
Add: "Ajouter",
|
|
98369
100061
|
Update: "Mettre \xE0 jour",
|
|
98370
100062
|
Cease: "Cesser",
|
|
@@ -98380,11 +100072,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
98380
100072
|
"The following issues need to be resolved before proceeding:": "Les probl\xE8mes suivants doivent \xEAtre r\xE9solus avant de poursuivre :",
|
|
98381
100073
|
"All addresses must have a street type and direction specified.": "Toutes les adresses doivent inclure un type de rue et une direction.",
|
|
98382
100074
|
"Validate & Generate Draft": "Valider et g\xE9n\xE9rer le brouillon",
|
|
98383
|
-
File: "
|
|
100075
|
+
File: "Fichier",
|
|
98384
100076
|
Edit: "Modifier",
|
|
98385
100077
|
"Cancel Edits": "Annuler les modifications",
|
|
98386
100078
|
Cancel: "Annuler",
|
|
98387
100079
|
NOTE: "REMARQUE",
|
|
100080
|
+
"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.",
|
|
98388
100081
|
"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.",
|
|
98389
100082
|
"Terms and Conditions": "Termes et conditions",
|
|
98390
100083
|
"I have read and agree to the Terms and Conditions": "J'ai lu et j'accepte les Termes et conditions",
|
|
@@ -98623,7 +100316,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
98623
100316
|
"Existing Officer": "Dirigeant existant",
|
|
98624
100317
|
"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.",
|
|
98625
100318
|
"All supporting documents have already been added.": "Tous les documents justificatifs ont d\xE9j\xE0 \xE9t\xE9 ajout\xE9s.",
|
|
98626
|
-
"File British Columbia
|
|
100319
|
+
"File British Columbia Notice of Change of Directors": "D\xE9poser l'avis de changement d'administrateurs de la Colombie-Britannique",
|
|
100320
|
+
"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.",
|
|
100321
|
+
"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",
|
|
100322
|
+
"Date Directors were added or deleted": "Date d'ajout ou de retrait des administrateurs",
|
|
100323
|
+
"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.",
|
|
100324
|
+
"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.",
|
|
100325
|
+
"defaults to Registered Office mailing address": "par d\xE9faut, l'adresse postale du si\xE8ge social",
|
|
100326
|
+
"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.",
|
|
100327
|
+
"Annual Report Reminder": "Rappel du rapport annuel",
|
|
100328
|
+
"Yes, send the annual report reminder": "Oui, envoyer le rappel du rapport annuel",
|
|
100329
|
+
"No, I do not need to be reminded": "Non, je n'ai pas besoin de rappel",
|
|
100330
|
+
"Director Information": "Renseignements sur les administrateurs",
|
|
100331
|
+
"Filing Details": "D\xE9tails du d\xE9p\xF4t",
|
|
100332
|
+
"Incorporation Number": "Num\xE9ro de constitution",
|
|
100333
|
+
"Filing Fee": "Frais de d\xE9p\xF4t",
|
|
98627
100334
|
Named: "D\xE9nomination",
|
|
98628
100335
|
"Company Name": "Nom de la soci\xE9t\xE9",
|
|
98629
100336
|
"Name Reservation (NR) Number": "Num\xE9ro de r\xE9servation de nom (NR)",
|