@dyedurham/search-and-file-widget 2.0.77 → 2.0.79
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
CHANGED
|
@@ -58109,7 +58109,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58109
58109
|
if (!task) {
|
|
58110
58110
|
return void 0;
|
|
58111
58111
|
}
|
|
58112
|
-
const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "
|
|
58112
|
+
const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "bc" : "federal";
|
|
58113
58113
|
if (isFormationTask2(task)) {
|
|
58114
58114
|
return `${prefix}Incorporation`;
|
|
58115
58115
|
}
|
|
@@ -80212,11 +80212,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80212
80212
|
});
|
|
80213
80213
|
\u0275\u0275elementEnd();
|
|
80214
80214
|
\u0275\u0275template(6, FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Conditional_6_Template, 3, 3, "mat-hint")(7, FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Conditional_7_Template, 3, 6, "mat-hint", 21)(8, FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Conditional_8_Template, 2, 2, "mat-icon", 20);
|
|
80215
|
-
\u0275\
|
|
80216
|
-
\u0275\
|
|
80217
|
-
\u0275\
|
|
80215
|
+
\u0275\u0275declareLet(9);
|
|
80216
|
+
\u0275\u0275elementStart(10, "mat-error");
|
|
80217
|
+
\u0275\u0275text(11);
|
|
80218
80218
|
\u0275\u0275pipe(12, "translate");
|
|
80219
80219
|
\u0275\u0275pipe(13, "translate");
|
|
80220
|
+
\u0275\u0275pipe(14, "translate");
|
|
80220
80221
|
\u0275\u0275elementEnd()();
|
|
80221
80222
|
}
|
|
80222
80223
|
if (rf & 2) {
|
|
@@ -80225,6 +80226,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80225
80226
|
\u0275\u0275nextContext(2);
|
|
80226
80227
|
const previousValue_r13 = \u0275\u0275readContextLet(0);
|
|
80227
80228
|
const field_r3 = \u0275\u0275nextContext().$implicit;
|
|
80229
|
+
\u0275\u0275nextContext();
|
|
80230
|
+
const form_r4 = \u0275\u0275readContextLet(1);
|
|
80228
80231
|
\u0275\u0275classProp("warning", !!previousValue_r13)("body-1-semibold", field_r3.bold);
|
|
80229
80232
|
\u0275\u0275advance();
|
|
80230
80233
|
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(2, 14, field_r3.label) + (field_r3.required ? " *" : ""), " ");
|
|
@@ -80239,14 +80242,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80239
80242
|
\u0275\u0275conditional(previousValue_r13 != null ? 7 : -1);
|
|
80240
80243
|
\u0275\u0275advance();
|
|
80241
80244
|
\u0275\u0275conditional(previousValue_r13 != null ? 8 : -1);
|
|
80242
|
-
|
|
80243
|
-
\u0275\
|
|
80245
|
+
const inputControl_r27 = form_r4.get(field_r3.formControlName);
|
|
80246
|
+
\u0275\u0275advance(3);
|
|
80247
|
+
\u0275\u0275textInterpolate(field_r3.errorMessage && !(field_r3.showRequiredMessage && ((inputControl_r27 == null ? null : inputControl_r27.hasError("require")) || (inputControl_r27 == null ? null : inputControl_r27.hasError("required")))) ? \u0275\u0275pipeBind1(12, 16, field_r3.errorMessage) : \u0275\u0275pipeBind1(13, 18, field_r3.label) + " " + \u0275\u0275pipeBind1(14, 20, "is required"));
|
|
80244
80248
|
}
|
|
80245
80249
|
}
|
|
80246
80250
|
function FilingFormGroupComponent_For_5_Conditional_0_Case_7_Template(rf, ctx) {
|
|
80247
80251
|
if (rf & 1) {
|
|
80248
80252
|
\u0275\u0275elementStart(0, "div");
|
|
80249
|
-
\u0275\u0275template(1, FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Template,
|
|
80253
|
+
\u0275\u0275template(1, FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Template, 15, 22);
|
|
80250
80254
|
\u0275\u0275elementEnd();
|
|
80251
80255
|
}
|
|
80252
80256
|
if (rf & 2) {
|
|
@@ -80262,14 +80266,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80262
80266
|
}
|
|
80263
80267
|
function FilingFormGroupComponent_For_5_Conditional_0_Case_8_Conditional_1_Template(rf, ctx) {
|
|
80264
80268
|
if (rf & 1) {
|
|
80265
|
-
const
|
|
80269
|
+
const _r28 = \u0275\u0275getCurrentView();
|
|
80266
80270
|
\u0275\u0275elementStart(0, "span", 8);
|
|
80267
80271
|
\u0275\u0275text(1);
|
|
80268
80272
|
\u0275\u0275pipe(2, "translate");
|
|
80269
80273
|
\u0275\u0275elementEnd();
|
|
80270
80274
|
\u0275\u0275elementStart(3, "mat-form-field", 9)(4, "textarea", 37);
|
|
80271
80275
|
\u0275\u0275listener("change", function FilingFormGroupComponent_For_5_Conditional_0_Case_8_Conditional_1_Template_textarea_change_4_listener() {
|
|
80272
|
-
\u0275\u0275restoreView(
|
|
80276
|
+
\u0275\u0275restoreView(_r28);
|
|
80273
80277
|
const field_r3 = \u0275\u0275nextContext(3).$implicit;
|
|
80274
80278
|
\u0275\u0275nextContext();
|
|
80275
80279
|
const form_r4 = \u0275\u0275readContextLet(1);
|
|
@@ -80316,14 +80320,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80316
80320
|
}
|
|
80317
80321
|
if (rf & 2) {
|
|
80318
80322
|
\u0275\u0275nextContext();
|
|
80319
|
-
const
|
|
80323
|
+
const label_r29 = \u0275\u0275readContextLet(0);
|
|
80320
80324
|
const ctx_r13 = \u0275\u0275nextContext(2);
|
|
80321
80325
|
const field_r3 = ctx_r13.$implicit;
|
|
80322
80326
|
const \u0275$index_7_r15 = ctx_r13.$index;
|
|
80323
80327
|
const \u0275$count_7_r16 = ctx_r13.$count;
|
|
80324
80328
|
\u0275\u0275classMap(field_r3.class);
|
|
80325
80329
|
\u0275\u0275classProp("last", \u0275$index_7_r15 === \u0275$count_7_r16 - 1)("body-1-semibold", field_r3.bold);
|
|
80326
|
-
\u0275\u0275property("innerHTML",
|
|
80330
|
+
\u0275\u0275property("innerHTML", label_r29, \u0275\u0275sanitizeHtml);
|
|
80327
80331
|
}
|
|
80328
80332
|
}
|
|
80329
80333
|
function FilingFormGroupComponent_For_5_Conditional_0_Case_10_Template(rf, ctx) {
|
|
@@ -80335,9 +80339,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80335
80339
|
const field_r3 = \u0275\u0275nextContext(2).$implicit;
|
|
80336
80340
|
const ctx_r8 = \u0275\u0275nextContext();
|
|
80337
80341
|
const form_r4 = \u0275\u0275readContextLet(1);
|
|
80338
|
-
const
|
|
80342
|
+
const label_r30 = \u0275\u0275storeLet(field_r3.dynamicLabel ? field_r3.dynamicLabel(form_r4, ctx_r8.translateFn, ctx_r8.prevData()) : field_r3.label);
|
|
80339
80343
|
\u0275\u0275advance();
|
|
80340
|
-
\u0275\u0275conditional(
|
|
80344
|
+
\u0275\u0275conditional(label_r30 ? 1 : -1);
|
|
80341
80345
|
}
|
|
80342
80346
|
}
|
|
80343
80347
|
function FilingFormGroupComponent_For_5_Conditional_0_Template(rf, ctx) {
|
|
@@ -80514,14 +80518,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80514
80518
|
\u0275\u0275elementEnd()();
|
|
80515
80519
|
}
|
|
80516
80520
|
if (rf & 2) {
|
|
80517
|
-
const
|
|
80521
|
+
const fields_r31 = ctx.config();
|
|
80518
80522
|
\u0275\u0275advance();
|
|
80519
|
-
const
|
|
80523
|
+
const form_r32 = \u0275\u0275storeLet(ctx.form());
|
|
80520
80524
|
\u0275\u0275advance(2);
|
|
80521
80525
|
\u0275\u0275classProp("submitted", ctx.isSubmitted());
|
|
80522
|
-
\u0275\u0275property("formGroup",
|
|
80526
|
+
\u0275\u0275property("formGroup", form_r32);
|
|
80523
80527
|
\u0275\u0275advance();
|
|
80524
|
-
\u0275\u0275repeater(
|
|
80528
|
+
\u0275\u0275repeater(fields_r31);
|
|
80525
80529
|
}
|
|
80526
80530
|
}, dependencies: [
|
|
80527
80531
|
MatFormField,
|
|
@@ -80777,7 +80781,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80777
80781
|
<mat-icon [class.warning]="true" class="filling-form-fields-item-icon" matSuffix>warning_amber</mat-icon>\r
|
|
80778
80782
|
}\r
|
|
80779
80783
|
\r
|
|
80780
|
-
|
|
80784
|
+
@let inputControl = form.get(field.formControlName);\r
|
|
80785
|
+
<mat-error>{{ field.errorMessage && !(field.showRequiredMessage && (inputControl?.hasError('require') || inputControl?.hasError('required'))) ? (field.errorMessage | translate) : (field.label | translate) + ' ' + ('is required' | translate) }}</mat-error>\r
|
|
80781
80786
|
</mat-form-field>\r
|
|
80782
80787
|
}\r
|
|
80783
80788
|
</div>\r
|
|
@@ -84133,7 +84138,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84133
84138
|
});
|
|
84134
84139
|
|
|
84135
84140
|
// src/app/constants/BritishColumbiaConstants.ts
|
|
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,
|
|
84141
|
+
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_DEFAULT_COUNTRY, BC_FUTURE_EFFECTIVE_DATE_FEE, BC_PASSWORD_MIN_LENGTH, BC_PASSWORD_MAX_LENGTH, BC_PASSWORD_PATTERN, BC_COMPANY_EMAIL_MAX_LENGTH, BC_CANADIAN_POSTAL_PATTERN, BC_NAME_RESERVATION_MAX_LENGTH, BC_NAME_RESERVATION_PATTERN, BC_COMPLETING_PARTY_COUNTRY_OPTIONS;
|
|
84137
84142
|
var init_BritishColumbiaConstants = __esm({
|
|
84138
84143
|
"src/app/constants/BritishColumbiaConstants.ts"() {
|
|
84139
84144
|
init_app_enums();
|
|
@@ -84146,7 +84151,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84146
84151
|
[BCNameType.Numbered]: "Numbered",
|
|
84147
84152
|
[BCNameType.Named]: "Named"
|
|
84148
84153
|
};
|
|
84149
|
-
BC_NUMBERED_NAME_PREVIEW = "
|
|
84154
|
+
BC_NUMBERED_NAME_PREVIEW = "B.C. LTD.";
|
|
84150
84155
|
(function(BCNotificationMethod2) {
|
|
84151
84156
|
BCNotificationMethod2["Email"] = "email";
|
|
84152
84157
|
BCNotificationMethod2["Mail"] = "mail";
|
|
@@ -84166,19 +84171,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84166
84171
|
[BCAnnualReportReminder.No]: "No, I do not need to be reminded"
|
|
84167
84172
|
};
|
|
84168
84173
|
BC_ANNUAL_REPORT_REMINDER_OPTIONS = Object.values(BCAnnualReportReminder).map((value) => ({ value, label: BCAnnualReportReminderLabel[value] }));
|
|
84169
|
-
|
|
84170
|
-
|
|
84171
|
-
{ value: "Canada", label: "Canada" },
|
|
84172
|
-
{ value: "United States", label: "United States" },
|
|
84173
|
-
{ value: "Other", label: "Other" }
|
|
84174
|
-
];
|
|
84175
|
-
BC_DEFAULT_PROVINCE_STATE = CANProvinces.BritishColumbia;
|
|
84174
|
+
Object.values(CANProvinces).map((province) => ({ value: province, label: province }));
|
|
84175
|
+
CANProvinces.BritishColumbia;
|
|
84176
84176
|
BC_DEFAULT_COUNTRY = "Canada";
|
|
84177
84177
|
BC_FUTURE_EFFECTIVE_DATE_FEE = "$100";
|
|
84178
84178
|
BC_PASSWORD_MIN_LENGTH = 8;
|
|
84179
84179
|
BC_PASSWORD_MAX_LENGTH = 15;
|
|
84180
84180
|
BC_PASSWORD_PATTERN = /^[A-Za-z0-9]+$/;
|
|
84181
84181
|
BC_COMPANY_EMAIL_MAX_LENGTH = 150;
|
|
84182
|
+
BC_CANADIAN_POSTAL_PATTERN = /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/;
|
|
84182
84183
|
BC_NAME_RESERVATION_MAX_LENGTH = 9;
|
|
84183
84184
|
BC_NAME_RESERVATION_PATTERN = /^(NR)?\d{1,7}$/i;
|
|
84184
84185
|
BC_COMPLETING_PARTY_COUNTRY_OPTIONS = [
|
|
@@ -84241,9 +84242,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84241
84242
|
BCFormationFormControls2["RecordsOfficeMailingAddress"] = "recordsOfficeMailingAddress";
|
|
84242
84243
|
BCFormationFormControls2["RecordsOfficeDeliveryAddress"] = "recordsOfficeDeliveryAddress";
|
|
84243
84244
|
BCFormationFormControls2["FullAddress"] = "fullAddress";
|
|
84244
|
-
BCFormationFormControls2["NotificationMethod"] = "notificationMethod";
|
|
84245
|
-
BCFormationFormControls2["NotificationEmail"] = "notificationEmail";
|
|
84246
|
-
BCFormationFormControls2["NotificationName"] = "notificationName";
|
|
84247
84245
|
BCFormationFormControls2["AddressLine1"] = "addressLine1";
|
|
84248
84246
|
BCFormationFormControls2["AddressLine2"] = "addressLine2";
|
|
84249
84247
|
BCFormationFormControls2["City"] = "city";
|
|
@@ -84262,7 +84260,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84262
84260
|
BCFormationFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84263
84261
|
BCFormationFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
84264
84262
|
BCFormationFormGroups2["RegisteredOfficeAddress"] = "Registered Office Address";
|
|
84265
|
-
BCFormationFormGroups2["Notification"] = "Notification";
|
|
84266
84263
|
BCFormationFormGroups2["Directors"] = "Directors";
|
|
84267
84264
|
BCFormationFormGroups2["SharesAndProvisions"] = "Shares and Provisions";
|
|
84268
84265
|
BCFormationFormGroups2["Incorporators"] = "Incorporators";
|
|
@@ -84333,7 +84330,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84333
84330
|
}
|
|
84334
84331
|
const password = request.password ?? "";
|
|
84335
84332
|
if (password.length < BC_PASSWORD_MIN_LENGTH || password.length > BC_PASSWORD_MAX_LENGTH || !/^[A-Za-z0-9]+$/.test(password)) {
|
|
84336
|
-
issues.push(`
|
|
84333
|
+
issues.push(`The company password (taken from the entity's registry ID) must be ${BC_PASSWORD_MIN_LENGTH} to ${BC_PASSWORD_MAX_LENGTH} letters or digits only. Update the registry ID in Athennian.`);
|
|
84337
84334
|
}
|
|
84338
84335
|
return issues;
|
|
84339
84336
|
}
|
|
@@ -84387,10 +84384,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84387
84384
|
const isIndividual = incorporator.type !== "entity";
|
|
84388
84385
|
return {
|
|
84389
84386
|
incorporatorType: isIndividual ? "individual" : "corporationOrFirm",
|
|
84390
|
-
//
|
|
84391
|
-
|
|
84387
|
+
// Names are only accepted for an individual; a corporation or firm is identified by
|
|
84388
|
+
// `corporationOrFirmName` (the API rejects first/last name otherwise).
|
|
84389
|
+
firstName: isIndividual ? incorporator.firstName ?? "" : void 0,
|
|
84392
84390
|
middleName: isIndividual ? incorporator.middleName || void 0 : void 0,
|
|
84393
|
-
lastName:
|
|
84391
|
+
lastName: isIndividual ? incorporator.lastName ?? "" : void 0,
|
|
84394
84392
|
mailingAddress: mapAddress(incorporator),
|
|
84395
84393
|
corporationOrFirmName: isIndividual ? void 0 : incorporator.incorporator_name
|
|
84396
84394
|
};
|
|
@@ -84408,7 +84406,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84408
84406
|
additionalStreetAddress: address?.addressLine2?.trim() || void 0,
|
|
84409
84407
|
city: address?.city?.trim() ?? "",
|
|
84410
84408
|
provinceOrState: toProvinceOrStateCode(address?.provinceState, country),
|
|
84411
|
-
postalOrZipCode: address?.postalZip
|
|
84409
|
+
postalOrZipCode: normalizePostalCode(address?.postalZip, country),
|
|
84412
84410
|
country
|
|
84413
84411
|
}
|
|
84414
84412
|
};
|
|
@@ -84435,15 +84433,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84435
84433
|
const streetNumber = getAddressComponent(address, "Street Number Only");
|
|
84436
84434
|
const streetName = getAddressComponent(address, "Street Only");
|
|
84437
84435
|
const suite = getAddressComponent(address, "Suite/Apartment");
|
|
84436
|
+
const singleLineStreet = getAddressComponent(address, "Street Address");
|
|
84438
84437
|
return {
|
|
84439
|
-
streetAddress: [streetNumber, streetName].filter(Boolean).join(" ") || address?.street || "",
|
|
84438
|
+
streetAddress: [streetNumber, streetName].filter(Boolean).join(" ") || singleLineStreet || address?.street || "",
|
|
84440
84439
|
additionalStreetAddress: padShortAddressLine(suite || address?.address2),
|
|
84441
84440
|
city: address?.city ?? "",
|
|
84442
84441
|
provinceOrState: toProvinceOrStateCode(address?.province_state, country),
|
|
84443
|
-
postalOrZipCode: address?.postal_zip
|
|
84442
|
+
postalOrZipCode: normalizePostalCode(address?.postal_zip, country),
|
|
84444
84443
|
country
|
|
84445
84444
|
};
|
|
84446
84445
|
}
|
|
84446
|
+
function normalizePostalCode(value, countryCode) {
|
|
84447
|
+
const trimmed = (value ?? "").trim();
|
|
84448
|
+
if (countryCode !== "CA") {
|
|
84449
|
+
return trimmed;
|
|
84450
|
+
}
|
|
84451
|
+
const compact = trimmed.replace(/[\s-]+/g, "").toUpperCase();
|
|
84452
|
+
return /^[A-Z]\d[A-Z]\d[A-Z]\d$/.test(compact) ? `${compact.slice(0, 3)} ${compact.slice(3)}` : trimmed;
|
|
84453
|
+
}
|
|
84447
84454
|
function toProvinceOrStateCode(value, countryCode) {
|
|
84448
84455
|
const trimmed = (value ?? "").trim();
|
|
84449
84456
|
if (!trimmed || trimmed.length === 2) {
|
|
@@ -84535,7 +84542,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84535
84542
|
});
|
|
84536
84543
|
|
|
84537
84544
|
// src/app/helpers/british-columbia/formation/british-columbia-formation-form.helper.ts
|
|
84538
|
-
var BritishColumbiaFormationFormHelper;
|
|
84545
|
+
var ifNamed, ifCanada, BritishColumbiaFormationFormHelper;
|
|
84539
84546
|
var init_british_columbia_formation_form_helper = __esm({
|
|
84540
84547
|
"src/app/helpers/british-columbia/formation/british-columbia-formation-form.helper.ts"() {
|
|
84541
84548
|
init_forms();
|
|
@@ -84545,6 +84552,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84545
84552
|
init_british_columbia_form_enums();
|
|
84546
84553
|
init_custom_validators();
|
|
84547
84554
|
init_BritishColumbiaConstants();
|
|
84555
|
+
ifNamed = (validator) => (control) => control.parent?.get(BCFormationFormControls.CorporationNameType)?.value === BCNameType.Named ? validator(control) : null;
|
|
84556
|
+
ifCanada = (validator) => (control) => control.parent?.get(BCFormationFormControls.Country)?.value === "Canada" ? validator(control) : null;
|
|
84548
84557
|
BritishColumbiaFormationFormHelper = class {
|
|
84549
84558
|
static generateConfig(task, translateFn, currentUser) {
|
|
84550
84559
|
const t = translateFn ?? ((key) => key);
|
|
@@ -84576,7 +84585,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84576
84585
|
disabled: true
|
|
84577
84586
|
})
|
|
84578
84587
|
});
|
|
84579
|
-
config2[BCFormationFormGroups.Notification] = this.generateNotificationFormGroup(delta?.notification, companyEmail);
|
|
84580
84588
|
config2[BCFormationFormGroups.CompletingParty] = this.generateCompletingPartyFormGroup(task, delta?.completingParty, currentUser);
|
|
84581
84589
|
const directors = affiliations.filter((a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director" && // Same filters as the filing payload (buildBCFormationValidateRequest).
|
|
84582
84590
|
a.status !== "inactive" && a.status !== "closed" && a._participant?.participant_type === "person");
|
|
@@ -84659,7 +84667,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84659
84667
|
const streetNumber = getAddressComponent(address, "Street Number Only");
|
|
84660
84668
|
const streetName = getAddressComponent(address, "Street Only");
|
|
84661
84669
|
const suite = getAddressComponent(address, "Suite/Apartment");
|
|
84662
|
-
const street = [streetNumber, streetName].filter(Boolean).join(" ") || address.street || "";
|
|
84670
|
+
const street = [streetNumber, streetName].filter(Boolean).join(" ") || getAddressComponent(address, "Street Address") || address.street || "";
|
|
84663
84671
|
return [
|
|
84664
84672
|
suite ? `Unit ${suite}` : "",
|
|
84665
84673
|
street,
|
|
@@ -84700,8 +84708,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84700
84708
|
[BCFormationFormControls.CompanyName]: new FormControl(deltaData?.companyName ?? (corporationNameType === BCNameType.Named ? task.entity._profile.name ?? "" : ""), requiredIfValue(BCFormationFormControls.CorporationNameType, BCNameType.Named)),
|
|
84701
84709
|
[BCFormationFormControls.NameReservationNumber]: new FormControl(deltaData?.nameReservationNumber ?? task._ext._name_reservationID ?? "", [
|
|
84702
84710
|
requiredIfValue(BCFormationFormControls.CorporationNameType, BCNameType.Named),
|
|
84703
|
-
Validators.maxLength(BC_NAME_RESERVATION_MAX_LENGTH),
|
|
84704
|
-
Validators.pattern(BC_NAME_RESERVATION_PATTERN)
|
|
84711
|
+
ifNamed(Validators.maxLength(BC_NAME_RESERVATION_MAX_LENGTH)),
|
|
84712
|
+
ifNamed(Validators.pattern(BC_NAME_RESERVATION_PATTERN))
|
|
84705
84713
|
]),
|
|
84706
84714
|
[BCFormationFormControls.RequestedDateForIncorporation]: new FormControl({
|
|
84707
84715
|
value: requestedDate,
|
|
@@ -84714,33 +84722,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84714
84722
|
// Prefilled from the entity's Business Email when Athennian has one; otherwise the user
|
|
84715
84723
|
// enters it here (the API requires it).
|
|
84716
84724
|
[BCFormationFormControls.CompanyEmail]: new FormControl(deltaData?.companyEmail ?? companyEmail, [Validators.required, Validators.email, Validators.maxLength(BC_COMPANY_EMAIL_MAX_LENGTH)]),
|
|
84717
|
-
//
|
|
84718
|
-
//
|
|
84719
|
-
|
|
84720
|
-
|
|
84721
|
-
Validators.minLength(BC_PASSWORD_MIN_LENGTH),
|
|
84722
|
-
Validators.maxLength(BC_PASSWORD_MAX_LENGTH),
|
|
84723
|
-
Validators.pattern(BC_PASSWORD_PATTERN)
|
|
84724
|
-
]),
|
|
84725
|
+
// Not shown on screen: taken from the registry ID when it satisfies the BC password rule
|
|
84726
|
+
// (otherwise empty). No validators here, as the user cannot fix it; the payload pre-flight
|
|
84727
|
+
// check (`findBCRequestIssues`) reports an unusable value.
|
|
84728
|
+
[BCFormationFormControls.CompanyPassword]: new FormControl(deltaData?.password ?? this.suggestPassword(task.entity._profile.registry_id)),
|
|
84725
84729
|
[BCFormationFormControls.UsesNameTranslation]: new FormControl(usesNameTranslation),
|
|
84726
84730
|
[BCFormationFormControls.NameTranslations]: new FormArray(translationRows)
|
|
84727
84731
|
});
|
|
84728
84732
|
}
|
|
84729
|
-
static generateNotificationFormGroup(deltaData, companyEmail) {
|
|
84730
|
-
const requiredForMail = requiredIfValue(BCFormationFormControls.NotificationMethod, BCNotificationMethod.Mail);
|
|
84731
|
-
const mailAddress = deltaData?.mailAddress;
|
|
84732
|
-
return new FormGroup({
|
|
84733
|
-
[BCFormationFormControls.NotificationMethod]: new FormControl(deltaData?.method ?? BCNotificationMethod.Email, Validators.required),
|
|
84734
|
-
[BCFormationFormControls.NotificationEmail]: new FormControl(deltaData?.email ?? companyEmail),
|
|
84735
|
-
[BCFormationFormControls.NotificationName]: new FormControl(deltaData?.name ?? "", requiredForMail),
|
|
84736
|
-
[BCFormationFormControls.AddressLine1]: new FormControl(mailAddress?.addressLine1 ?? "", requiredForMail),
|
|
84737
|
-
[BCFormationFormControls.AddressLine2]: new FormControl(mailAddress?.addressLine2 ?? ""),
|
|
84738
|
-
[BCFormationFormControls.City]: new FormControl(mailAddress?.city ?? "", requiredForMail),
|
|
84739
|
-
[BCFormationFormControls.ProvinceState]: new FormControl(mailAddress?.provinceState ?? BC_DEFAULT_PROVINCE_STATE, requiredForMail),
|
|
84740
|
-
[BCFormationFormControls.PostalZip]: new FormControl(mailAddress?.postalZip ?? ""),
|
|
84741
|
-
[BCFormationFormControls.Country]: new FormControl(mailAddress?.country ?? BC_DEFAULT_COUNTRY, requiredForMail)
|
|
84742
|
-
});
|
|
84743
|
-
}
|
|
84744
84733
|
/**
|
|
84745
84734
|
* Completing Party – the individual completing the Articles. Stays editable (saved as delta).
|
|
84746
84735
|
* Prefilled, when no delta has been saved yet, from the logged-in user (`currentUser`, per the
|
|
@@ -84757,8 +84746,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84757
84746
|
[BCFormationFormControls.AddressLine1]: new FormControl(mailAddress?.addressLine1 ?? prefill.mailingAddress.addressLine1, [Validators.required, Validators.minLength(3), Validators.maxLength(40)]),
|
|
84758
84747
|
[BCFormationFormControls.AddressLine2]: new FormControl(mailAddress?.addressLine2 ?? prefill.mailingAddress.addressLine2, Validators.maxLength(40)),
|
|
84759
84748
|
[BCFormationFormControls.City]: new FormControl(mailAddress?.city ?? prefill.mailingAddress.city, [Validators.required, Validators.maxLength(40)]),
|
|
84760
|
-
[BCFormationFormControls.ProvinceState]: new FormControl(mailAddress?.provinceState ?? prefill.mailingAddress.provinceState),
|
|
84761
|
-
[BCFormationFormControls.PostalZip]: new FormControl(mailAddress?.postalZip ?? prefill.mailingAddress.postalZip, [
|
|
84749
|
+
[BCFormationFormControls.ProvinceState]: new FormControl(mailAddress?.provinceState ?? prefill.mailingAddress.provinceState, requiredIfValueIn(BCFormationFormControls.Country, ["Canada", "United States"])),
|
|
84750
|
+
[BCFormationFormControls.PostalZip]: new FormControl(mailAddress?.postalZip ?? prefill.mailingAddress.postalZip, [
|
|
84751
|
+
Validators.required,
|
|
84752
|
+
Validators.maxLength(10),
|
|
84753
|
+
ifCanada(Validators.pattern(BC_CANADIAN_POSTAL_PATTERN))
|
|
84754
|
+
]),
|
|
84762
84755
|
[BCFormationFormControls.Country]: new FormControl(mailAddress?.country ?? (prefill.mailingAddress.country || BC_DEFAULT_COUNTRY), Validators.required),
|
|
84763
84756
|
[BCFormationFormControls.HasConfirmedCompletion]: new FormControl(deltaData?.hasConfirmedCompletion ?? false, Validators.requiredTrue),
|
|
84764
84757
|
[BCFormationFormControls.HasRequiredDocuments]: new FormControl(deltaData?.hasRequiredDocuments ?? false, Validators.requiredTrue)
|
|
@@ -84794,7 +84787,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84794
84787
|
lastName: isPerson ? certified?.lastName ?? "" : "",
|
|
84795
84788
|
email: certified?.email ?? "",
|
|
84796
84789
|
mailingAddress: {
|
|
84797
|
-
addressLine1: [streetNumber, streetName].filter(Boolean).join(" ") || address?.street || "",
|
|
84790
|
+
addressLine1: [streetNumber, streetName].filter(Boolean).join(" ") || getAddressComponent(address, "Street Address") || address?.street || "",
|
|
84798
84791
|
addressLine2: getAddressComponent(address, "Suite/Apartment") || address?.address2 || "",
|
|
84799
84792
|
city: address?.city ?? "",
|
|
84800
84793
|
provinceState: address?.province_state ?? "",
|
|
@@ -84834,6 +84827,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84834
84827
|
})
|
|
84835
84828
|
});
|
|
84836
84829
|
}
|
|
84830
|
+
/**
|
|
84831
|
+
* Company Email dropdown options: the task's `emailOptions` (distinct addresses), plus the
|
|
84832
|
+
* current value when it is not among them (a saved or fallback-prefilled address).
|
|
84833
|
+
*/
|
|
84834
|
+
static buildCompanyEmailOptions(task, currentValue) {
|
|
84835
|
+
const emails = (task?.entity.emailOptions ?? []).map((option) => option.value?.trim());
|
|
84836
|
+
const current = currentValue?.trim();
|
|
84837
|
+
return [...new Set([...emails, current].filter((email) => Boolean(email)))].map((email) => ({ label: email, value: email }));
|
|
84838
|
+
}
|
|
84837
84839
|
static suggestPassword(registryId) {
|
|
84838
84840
|
const value = registryId?.trim() ?? "";
|
|
84839
84841
|
return value.length >= BC_PASSWORD_MIN_LENGTH && value.length <= BC_PASSWORD_MAX_LENGTH && BC_PASSWORD_PATTERN.test(value) ? value : "";
|
|
@@ -84887,7 +84889,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84887
84889
|
const registeredMailing = format(pick(registeredOffice?.addresses, "Mailing"));
|
|
84888
84890
|
const today = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
84889
84891
|
const config2 = {};
|
|
84890
|
-
config2[BCChangeOfDirectorsFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile?.client_matter_number);
|
|
84892
|
+
config2[BCChangeOfDirectorsFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile?.client_matter_number, delta?.referenceNumbers?.referenceNumber);
|
|
84891
84893
|
config2[BCChangeOfDirectorsFormGroups.CorporationDetails] = new FormGroup({
|
|
84892
84894
|
[Controls.CorporationName]: this.readOnly(task.entity._profile.name),
|
|
84893
84895
|
[Controls.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
|
|
@@ -84897,8 +84899,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84897
84899
|
const incoming = task.incomingAffiliations ?? [];
|
|
84898
84900
|
const outgoing = task.outgoingAffiliations ?? [];
|
|
84899
84901
|
const ceasedIds = new Set(outgoing.filter(isDirector).map((a) => a._id));
|
|
84900
|
-
const
|
|
84901
|
-
const hasAddOrCease = ceasedIds.size > 0 || incomingIds.size > 0;
|
|
84902
|
+
const hasAddOrCease = ceasedIds.size > 0 || incoming.filter(isDirector).length > 0;
|
|
84902
84903
|
config2[BCChangeOfDirectorsFormGroups.FilingDetails] = new FormGroup({
|
|
84903
84904
|
[Controls.DirectorsAddedOrDeleted]: new FormControl(delta?.filingDetails?.directorsAddedOrDeleted ?? hasAddOrCease),
|
|
84904
84905
|
[Controls.ChangeDate]: new FormControl(delta?.filingDetails?.changeDate ?? "", [
|
|
@@ -84908,8 +84909,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84908
84909
|
[Controls.FilingFee]: this.readOnly(BC_CHANGE_OF_DIRECTORS_FILING_FEE)
|
|
84909
84910
|
});
|
|
84910
84911
|
const directors = [
|
|
84911
|
-
...
|
|
84912
|
-
...
|
|
84912
|
+
...incoming.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, IRAffiliationType.Add)),
|
|
84913
|
+
...outgoing.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, IRAffiliationType.Ceased))
|
|
84913
84914
|
];
|
|
84914
84915
|
const fallbackDirectors = directors.length ? [] : this.generateDirectorFormGroupsFromChangeDirectors(task);
|
|
84915
84916
|
if (directors.length || fallbackDirectors.length) {
|
|
@@ -84926,9 +84927,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84926
84927
|
});
|
|
84927
84928
|
return config2;
|
|
84928
84929
|
}
|
|
84929
|
-
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
|
|
84930
|
+
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber, savedClientMatterNumber) {
|
|
84930
84931
|
return new FormGroup({
|
|
84931
|
-
[Controls.ClientMatterNumber]: new FormControl(clientMatterNumber ?? ""),
|
|
84932
|
+
[Controls.ClientMatterNumber]: new FormControl(clientMatterNumber ?? savedClientMatterNumber ?? ""),
|
|
84932
84933
|
[Controls.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
|
|
84933
84934
|
});
|
|
84934
84935
|
}
|
|
@@ -84943,7 +84944,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84943
84944
|
});
|
|
84944
84945
|
}
|
|
84945
84946
|
static generateDirectorFormGroupsFromChangeDirectors(task) {
|
|
84946
|
-
const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors;
|
|
84947
|
+
const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors ?? task.deltaData?.validatedData?.filing;
|
|
84947
84948
|
const currentDirectors = source?.Directors ?? source?.directors ?? [];
|
|
84948
84949
|
const addedDirectors = [
|
|
84949
84950
|
...source?.AddedDirectors ?? [],
|
|
@@ -84973,8 +84974,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84973
84974
|
[Controls.Id]: new FormControl(director?.Id ?? director?.id ?? ""),
|
|
84974
84975
|
[Controls.AffiliationName]: this.readOnly(this.formatDirectorName(name?.FirstName ?? name?.firstName, name?.MiddleName ?? name?.middleName, name?.LastName ?? name?.lastName)),
|
|
84975
84976
|
[Controls.AffiliationType]: this.readOnly(affiliationType),
|
|
84976
|
-
[Controls.MailingAddress]: this.readOnly(this.formatPayloadAddress(director)),
|
|
84977
|
-
[Controls.DeliveryAddress]: this.readOnly(this.formatPayloadAddress(director))
|
|
84977
|
+
[Controls.MailingAddress]: this.readOnly(this.formatPayloadAddress(director?.mailingAddress ?? director?.MailingAddress ?? director)),
|
|
84978
|
+
[Controls.DeliveryAddress]: this.readOnly(this.formatPayloadAddress(director?.deliveryAddress ?? director?.DeliveryAddress ?? director))
|
|
84978
84979
|
});
|
|
84979
84980
|
}
|
|
84980
84981
|
static formatDirectorName(firstName, middleName, lastName) {
|
|
@@ -84990,7 +84991,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84990
84991
|
address.Address3 ?? address.address3,
|
|
84991
84992
|
address.CityTown ?? address.city,
|
|
84992
84993
|
address.RegionName ?? address.regionName ?? address.provinceState,
|
|
84993
|
-
address.PostCode ?? address.postalZip,
|
|
84994
|
+
address.PostCode ?? address.postalZip ?? address.postalOrZipCode,
|
|
84994
84995
|
address.CountryCodeName ?? address.country
|
|
84995
84996
|
].filter((part) => Boolean(String(part ?? "").trim())).join(", ");
|
|
84996
84997
|
}
|
|
@@ -85284,10 +85285,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85284
85285
|
\u0275\u0275elementStart(8, "mat-checkbox", 15);
|
|
85285
85286
|
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_8_listener() {
|
|
85286
85287
|
let tmp_7_0;
|
|
85288
|
+
let tmp_8_0;
|
|
85287
85289
|
\u0275\u0275restoreView(_r5);
|
|
85288
85290
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85289
85291
|
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85290
|
-
(tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.
|
|
85292
|
+
(tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.reset(((tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.DirectorsAddedOrDeleted)) == null ? null : tmp_7_0.value) ? (tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.value : null, { emitEvent: false });
|
|
85293
|
+
(tmp_8_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_8_0.updateValueAndValidity({ emitEvent: false });
|
|
85291
85294
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85292
85295
|
});
|
|
85293
85296
|
\u0275\u0275text(9);
|
|
@@ -85513,7 +85516,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85513
85516
|
initiallyOpenCardsCount = 3;
|
|
85514
85517
|
sectionValidity = {};
|
|
85515
85518
|
isVisiblyValid() {
|
|
85516
|
-
|
|
85519
|
+
const filingDetails = this.getFormGroup(this.groups.FilingDetails);
|
|
85520
|
+
const dateRequired = Boolean(filingDetails?.get(this.controls.DirectorsAddedOrDeleted)?.value);
|
|
85521
|
+
const dateInvalid = dateRequired && Boolean(filingDetails?.get(this.controls.ChangeDate)?.invalid);
|
|
85522
|
+
const annualReportReminder = this.getFormGroup(this.groups.AnnualReportReminder);
|
|
85523
|
+
return Object.values(this.sectionValidity).every((v) => v) && !filingDetails?.invalid && !dateInvalid && !annualReportReminder?.invalid;
|
|
85517
85524
|
}
|
|
85518
85525
|
onSectionValidChange(section, valid) {
|
|
85519
85526
|
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
@@ -85535,7 +85542,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85535
85542
|
return this.getDirectorStatus(formGroup) === "Add";
|
|
85536
85543
|
}
|
|
85537
85544
|
isCeasedDirector(formGroup) {
|
|
85538
|
-
return this.getDirectorStatus(formGroup) === "
|
|
85545
|
+
return this.getDirectorStatus(formGroup) === "Cease";
|
|
85539
85546
|
}
|
|
85540
85547
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
|
|
85541
85548
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
|
|
@@ -85626,201 +85633,207 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85626
85633
|
MatRadioGroup,
|
|
85627
85634
|
ReactiveFormsModule,
|
|
85628
85635
|
TranslatePipe
|
|
85629
|
-
], template: `<div class="change-of-directors-form"
|
|
85630
|
-
@if (isNote()) {
|
|
85631
|
-
<alert
|
|
85632
|
-
[type]="alertType.Info"
|
|
85633
|
-
title="Entity changed"
|
|
85634
|
-
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."
|
|
85635
|
-
|
|
85636
|
-
}
|
|
85637
|
-
|
|
85638
|
-
@if (errors().length) {
|
|
85639
|
-
<alert
|
|
85640
|
-
title="The following issues need to be resolved before proceeding:"
|
|
85641
|
-
[content]="errors()"
|
|
85642
|
-
|
|
85643
|
-
}
|
|
85644
|
-
|
|
85645
|
-
<div class="change-of-directors-form-content"
|
|
85646
|
-
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers)
|
|
85647
|
-
|
|
85648
|
-
@if (referenceNumbers) {
|
|
85649
|
-
<expandable-card [title]="groups.ReferenceNumbers"
|
|
85650
|
-
<filing-form-group
|
|
85651
|
-
[isSubmitted]="isSubmitted()"
|
|
85652
|
-
[form]="referenceNumbers"
|
|
85653
|
-
[config]="referenceNumbersFields"
|
|
85654
|
-
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"
|
|
85655
|
-
|
|
85656
|
-
</expandable-card
|
|
85657
|
-
}
|
|
85658
|
-
|
|
85659
|
-
@let corporationDetails = getFormGroup(groups.CorporationDetails)
|
|
85660
|
-
|
|
85661
|
-
@if (corporationDetails) {
|
|
85662
|
-
<expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails"
|
|
85663
|
-
<div class="readonly-summary"
|
|
85664
|
-
<p
|
|
85665
|
-
<strong>{{ 'Corporation Name' | translate }}:</strong
|
|
85666
|
-
{{ corporationDetails.get(controls.CorporationName)?.value }}
|
|
85667
|
-
</p
|
|
85668
|
-
<p
|
|
85669
|
-
<strong>{{ 'Incorporation Number' | translate }}:</strong
|
|
85670
|
-
{{ corporationDetails.get(controls.IncorporationNumber)?.value }}
|
|
85671
|
-
</p
|
|
85672
|
-
<p
|
|
85673
|
-
<strong>{{ 'Company Email' | translate }}:</strong
|
|
85674
|
-
{{ corporationDetails.get(controls.CompanyEmail)?.value }}
|
|
85675
|
-
</p
|
|
85676
|
-
</div
|
|
85677
|
-
</expandable-card
|
|
85678
|
-
}
|
|
85679
|
-
|
|
85680
|
-
@let filingDetails = getFormGroup(groups.FilingDetails)
|
|
85681
|
-
|
|
85682
|
-
@if (filingDetails) {
|
|
85683
|
-
<expandable-card
|
|
85684
|
-
[isStatusIcon]="!readonly()"
|
|
85685
|
-
[isValid]="sectionValidity['filingDetails']"
|
|
85686
|
-
[title]="groups.FilingDetails"
|
|
85687
|
-
|
|
85688
|
-
<div class="filing-details" [formGroup]="filingDetails"
|
|
85689
|
-
<div class="note-box"
|
|
85690
|
-
<strong>{{ 'Note' | translate }}:</strong
|
|
85691
|
-
{{
|
|
85692
|
-
'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.'
|
|
85693
|
-
| translate
|
|
85694
|
-
}}
|
|
85695
|
-
</div
|
|
85696
|
-
|
|
85697
|
-
<mat-checkbox
|
|
85698
|
-
class="directors-change-checkbox"
|
|
85699
|
-
[formControlName]="controls.DirectorsAddedOrDeleted"
|
|
85700
|
-
(change)="
|
|
85701
|
-
filingDetails.get(controls.ChangeDate)?.
|
|
85702
|
-
|
|
85703
|
-
|
|
85704
|
-
|
|
85705
|
-
|
|
85706
|
-
|
|
85707
|
-
|
|
85708
|
-
|
|
85709
|
-
|
|
85710
|
-
|
|
85711
|
-
|
|
85712
|
-
|
|
85713
|
-
|
|
85714
|
-
|
|
85715
|
-
|
|
85716
|
-
|
|
85717
|
-
|
|
85718
|
-
|
|
85719
|
-
|
|
85720
|
-
|
|
85721
|
-
|
|
85722
|
-
|
|
85723
|
-
|
|
85724
|
-
|
|
85725
|
-
|
|
85726
|
-
|
|
85727
|
-
|
|
85728
|
-
(
|
|
85729
|
-
|
|
85730
|
-
|
|
85731
|
-
|
|
85732
|
-
|
|
85733
|
-
|
|
85734
|
-
|
|
85735
|
-
|
|
85736
|
-
"
|
|
85737
|
-
|
|
85738
|
-
|
|
85739
|
-
</
|
|
85740
|
-
|
|
85741
|
-
|
|
85742
|
-
|
|
85743
|
-
|
|
85744
|
-
|
|
85745
|
-
|
|
85746
|
-
|
|
85747
|
-
|
|
85748
|
-
|
|
85749
|
-
|
|
85750
|
-
|
|
85751
|
-
|
|
85752
|
-
|
|
85753
|
-
|
|
85754
|
-
|
|
85755
|
-
|
|
85756
|
-
|
|
85757
|
-
|
|
85758
|
-
|
|
85759
|
-
|
|
85760
|
-
|
|
85761
|
-
|
|
85762
|
-
|
|
85763
|
-
|
|
85764
|
-
|
|
85765
|
-
|
|
85766
|
-
|
|
85767
|
-
|
|
85768
|
-
|
|
85769
|
-
|
|
85770
|
-
|
|
85771
|
-
|
|
85772
|
-
|
|
85773
|
-
|
|
85774
|
-
|
|
85775
|
-
|
|
85776
|
-
|
|
85777
|
-
|
|
85778
|
-
|
|
85779
|
-
|
|
85780
|
-
}
|
|
85781
|
-
|
|
85782
|
-
|
|
85783
|
-
|
|
85784
|
-
|
|
85785
|
-
|
|
85786
|
-
|
|
85787
|
-
|
|
85788
|
-
|
|
85789
|
-
|
|
85790
|
-
|
|
85791
|
-
|
|
85792
|
-
|
|
85793
|
-
|
|
85794
|
-
|
|
85795
|
-
|
|
85796
|
-
|
|
85797
|
-
|
|
85798
|
-
|
|
85799
|
-
|
|
85800
|
-
|
|
85801
|
-
|
|
85802
|
-
|
|
85803
|
-
|
|
85804
|
-
|
|
85805
|
-
|
|
85806
|
-
|
|
85807
|
-
|
|
85808
|
-
<
|
|
85809
|
-
|
|
85810
|
-
|
|
85811
|
-
|
|
85812
|
-
|
|
85813
|
-
|
|
85814
|
-
|
|
85815
|
-
|
|
85816
|
-
|
|
85817
|
-
|
|
85818
|
-
|
|
85819
|
-
|
|
85820
|
-
|
|
85821
|
-
|
|
85822
|
-
|
|
85823
|
-
</
|
|
85636
|
+
], template: `<div class="change-of-directors-form">\r
|
|
85637
|
+
@if (isNote()) {\r
|
|
85638
|
+
<alert\r
|
|
85639
|
+
[type]="alertType.Info"\r
|
|
85640
|
+
title="Entity changed"\r
|
|
85641
|
+
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."\r
|
|
85642
|
+
/>\r
|
|
85643
|
+
}\r
|
|
85644
|
+
\r
|
|
85645
|
+
@if (errors().length) {\r
|
|
85646
|
+
<alert\r
|
|
85647
|
+
title="The following issues need to be resolved before proceeding:"\r
|
|
85648
|
+
[content]="errors()"\r
|
|
85649
|
+
/>\r
|
|
85650
|
+
}\r
|
|
85651
|
+
\r
|
|
85652
|
+
<div class="change-of-directors-form-content">\r
|
|
85653
|
+
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r
|
|
85654
|
+
\r
|
|
85655
|
+
@if (referenceNumbers) {\r
|
|
85656
|
+
<expandable-card [title]="groups.ReferenceNumbers">\r
|
|
85657
|
+
<filing-form-group\r
|
|
85658
|
+
[isSubmitted]="isSubmitted()"\r
|
|
85659
|
+
[form]="referenceNumbers"\r
|
|
85660
|
+
[config]="referenceNumbersFields"\r
|
|
85661
|
+
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"\r
|
|
85662
|
+
/>\r
|
|
85663
|
+
</expandable-card>\r
|
|
85664
|
+
}\r
|
|
85665
|
+
\r
|
|
85666
|
+
@let corporationDetails = getFormGroup(groups.CorporationDetails);\r
|
|
85667
|
+
\r
|
|
85668
|
+
@if (corporationDetails) {\r
|
|
85669
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">\r
|
|
85670
|
+
<div class="readonly-summary">\r
|
|
85671
|
+
<p>\r
|
|
85672
|
+
<strong>{{ 'Corporation Name' | translate }}:</strong>\r
|
|
85673
|
+
{{ corporationDetails.get(controls.CorporationName)?.value }}\r
|
|
85674
|
+
</p>\r
|
|
85675
|
+
<p>\r
|
|
85676
|
+
<strong>{{ 'Incorporation Number' | translate }}:</strong>\r
|
|
85677
|
+
{{ corporationDetails.get(controls.IncorporationNumber)?.value }}\r
|
|
85678
|
+
</p>\r
|
|
85679
|
+
<p>\r
|
|
85680
|
+
<strong>{{ 'Company Email' | translate }}:</strong>\r
|
|
85681
|
+
{{ corporationDetails.get(controls.CompanyEmail)?.value }}\r
|
|
85682
|
+
</p>\r
|
|
85683
|
+
</div>\r
|
|
85684
|
+
</expandable-card>\r
|
|
85685
|
+
}\r
|
|
85686
|
+
\r
|
|
85687
|
+
@let filingDetails = getFormGroup(groups.FilingDetails);\r
|
|
85688
|
+
\r
|
|
85689
|
+
@if (filingDetails) {\r
|
|
85690
|
+
<expandable-card\r
|
|
85691
|
+
[isStatusIcon]="!readonly()"\r
|
|
85692
|
+
[isValid]="sectionValidity['filingDetails']"\r
|
|
85693
|
+
[title]="groups.FilingDetails"\r
|
|
85694
|
+
>\r
|
|
85695
|
+
<div class="filing-details" [formGroup]="filingDetails">\r
|
|
85696
|
+
<div class="note-box">\r
|
|
85697
|
+
<strong>{{ 'Note' | translate }}:</strong>\r
|
|
85698
|
+
{{\r
|
|
85699
|
+
'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.'\r
|
|
85700
|
+
| translate\r
|
|
85701
|
+
}}\r
|
|
85702
|
+
</div>\r
|
|
85703
|
+
\r
|
|
85704
|
+
<mat-checkbox\r
|
|
85705
|
+
class="directors-change-checkbox"\r
|
|
85706
|
+
[formControlName]="controls.DirectorsAddedOrDeleted"\r
|
|
85707
|
+
(change)="\r
|
|
85708
|
+
filingDetails.get(controls.ChangeDate)?.reset(\r
|
|
85709
|
+
filingDetails.get(controls.DirectorsAddedOrDeleted)?.value\r
|
|
85710
|
+
? filingDetails.get(controls.ChangeDate)?.value\r
|
|
85711
|
+
: null,\r
|
|
85712
|
+
{ emitEvent: false }\r
|
|
85713
|
+
);\r
|
|
85714
|
+
filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });\r
|
|
85715
|
+
onSectionValidChange('filingDetails', filingDetails.valid)\r
|
|
85716
|
+
"\r
|
|
85717
|
+
>\r
|
|
85718
|
+
{{ 'Directors will be added and/or deleted as part of this filing' | translate }}\r
|
|
85719
|
+
</mat-checkbox>\r
|
|
85720
|
+
\r
|
|
85721
|
+
@if (filingDetails.get(controls.DirectorsAddedOrDeleted)?.value) {\r
|
|
85722
|
+
<div class="filing-details-grid">\r
|
|
85723
|
+
<div class="date-field">\r
|
|
85724
|
+
<label>\r
|
|
85725
|
+
{{ 'Date Directors were added or deleted' | translate }}<span>*</span>\r
|
|
85726
|
+
</label>\r
|
|
85727
|
+
<mat-form-field appearance="outline">\r
|
|
85728
|
+
<input\r
|
|
85729
|
+
matInput\r
|
|
85730
|
+
[matDatepicker]="changeDatePicker"\r
|
|
85731
|
+
[formControlName]="controls.ChangeDate"\r
|
|
85732
|
+
placeholder="dd/mm/yyyy"\r
|
|
85733
|
+
readonly\r
|
|
85734
|
+
(click)="changeDatePicker.open()"\r
|
|
85735
|
+
(dateChange)="onSectionValidChange('filingDetails', filingDetails.valid)"\r
|
|
85736
|
+
/>\r
|
|
85737
|
+
<button\r
|
|
85738
|
+
type="button"\r
|
|
85739
|
+
class="calendar-trigger"\r
|
|
85740
|
+
aria-label="Open date picker"\r
|
|
85741
|
+
(click)="changeDatePicker.open()"\r
|
|
85742
|
+
>\r
|
|
85743
|
+
<span class="calendar-icon" aria-hidden="true"></span>\r
|
|
85744
|
+
</button>\r
|
|
85745
|
+
<mat-datepicker #changeDatePicker></mat-datepicker>\r
|
|
85746
|
+
</mat-form-field>\r
|
|
85747
|
+
<p class="hint">\r
|
|
85748
|
+
{{\r
|
|
85749
|
+
"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."\r
|
|
85750
|
+
| translate\r
|
|
85751
|
+
}}\r
|
|
85752
|
+
</p>\r
|
|
85753
|
+
</div>\r
|
|
85754
|
+
\r
|
|
85755
|
+
<p class="filing-fee">\r
|
|
85756
|
+
<strong>{{ 'Filing Fee' | translate }}:</strong>\r
|
|
85757
|
+
{{ filingDetails.get(controls.FilingFee)?.value }}\r
|
|
85758
|
+
</p>\r
|
|
85759
|
+
</div>\r
|
|
85760
|
+
}\r
|
|
85761
|
+
</div>\r
|
|
85762
|
+
</expandable-card>\r
|
|
85763
|
+
}\r
|
|
85764
|
+
\r
|
|
85765
|
+
@let directorsArray = getFormArray(groups.Directors);\r
|
|
85766
|
+
\r
|
|
85767
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.Directors">\r
|
|
85768
|
+
<filing-form-group\r
|
|
85769
|
+
[isSubmitted]="isSubmitted()"\r
|
|
85770
|
+
[form]="form()"\r
|
|
85771
|
+
[config]="directorsIntroFields()"\r
|
|
85772
|
+
/>\r
|
|
85773
|
+
\r
|
|
85774
|
+
@if (directorsArray && directorsArray.length) {\r
|
|
85775
|
+
<div class="directors-table" role="table">\r
|
|
85776
|
+
<div class="directors-table-header" role="row">\r
|
|
85777
|
+
<div role="columnheader">{{ 'Name' | translate }}</div>\r
|
|
85778
|
+
<div role="columnheader">{{ 'Mailing Address' | translate }}</div>\r
|
|
85779
|
+
<div role="columnheader">{{ 'Delivery Address' | translate }}</div>\r
|
|
85780
|
+
</div>\r
|
|
85781
|
+
\r
|
|
85782
|
+
@for (director of directorsArray.controls; track director; let i = $index) {\r
|
|
85783
|
+
@let directorForm = getDirectorForm(i);\r
|
|
85784
|
+
@if (directorForm) {\r
|
|
85785
|
+
<div class="directors-table-row" role="row">\r
|
|
85786
|
+
<div role="cell">\r
|
|
85787
|
+
<strong>{{ directorForm.get(controls.AffiliationName)?.value }}</strong>\r
|
|
85788
|
+
@if (isNewDirector(directorForm)) {\r
|
|
85789
|
+
<span class="status-pill new">{{ 'NEW' | translate }}</span>\r
|
|
85790
|
+
}\r
|
|
85791
|
+
@if (isCeasedDirector(directorForm)) {\r
|
|
85792
|
+
<span class="status-pill ceased">{{ 'CEASE' | translate }}</span>\r
|
|
85793
|
+
}\r
|
|
85794
|
+
</div>\r
|
|
85795
|
+
<div role="cell">{{ directorForm.get(controls.MailingAddress)?.value }}</div>\r
|
|
85796
|
+
<div role="cell">{{ directorForm.get(controls.DeliveryAddress)?.value }}</div>\r
|
|
85797
|
+
</div>\r
|
|
85798
|
+
}\r
|
|
85799
|
+
}\r
|
|
85800
|
+
</div>\r
|
|
85801
|
+
} @else {\r
|
|
85802
|
+
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>\r
|
|
85803
|
+
}\r
|
|
85804
|
+
</expandable-card>\r
|
|
85805
|
+
\r
|
|
85806
|
+
@let annualReportReminder = getFormGroup(groups.AnnualReportReminder);\r
|
|
85807
|
+
\r
|
|
85808
|
+
@if (annualReportReminder) {\r
|
|
85809
|
+
<expandable-card\r
|
|
85810
|
+
[isStatusIcon]="!readonly()"\r
|
|
85811
|
+
[isValid]="sectionValidity['annualReportReminder']"\r
|
|
85812
|
+
[title]="groups.AnnualReportReminder"\r
|
|
85813
|
+
>\r
|
|
85814
|
+
<div class="annual-reminder" [formGroup]="annualReportReminder">\r
|
|
85815
|
+
<p>\r
|
|
85816
|
+
{{\r
|
|
85817
|
+
"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."\r
|
|
85818
|
+
| translate\r
|
|
85819
|
+
}}\r
|
|
85820
|
+
</p>\r
|
|
85821
|
+
<mat-radio-group\r
|
|
85822
|
+
[formControlName]="controls.AnnualReportReminder"\r
|
|
85823
|
+
(change)="onSectionValidChange('annualReportReminder', annualReportReminder.valid)"\r
|
|
85824
|
+
>\r
|
|
85825
|
+
<mat-radio-button [value]="annualReportReminderOption.Yes">\r
|
|
85826
|
+
{{ 'Yes, send the annual report reminder' | translate }}\r
|
|
85827
|
+
</mat-radio-button>\r
|
|
85828
|
+
<mat-radio-button [value]="annualReportReminderOption.No">\r
|
|
85829
|
+
{{ 'No, I do not need to be reminded' | translate }}\r
|
|
85830
|
+
</mat-radio-button>\r
|
|
85831
|
+
</mat-radio-group>\r
|
|
85832
|
+
</div>\r
|
|
85833
|
+
</expandable-card>\r
|
|
85834
|
+
}\r
|
|
85835
|
+
</div>\r
|
|
85836
|
+
</div>\r
|
|
85824
85837
|
`, styles: ['/* src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.scss */\n:host {\n display: flex;\n flex: 1;\n min-height: 0;\n color: #2f343b;\n}\n:host .change-of-directors-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n min-height: 0;\n width: 100%;\n}\n:host .change-of-directors-form-content {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: 20px;\n min-height: 0;\n overflow-y: auto;\n padding-right: 8px;\n}\n:host ::ng-deep .expandable-card {\n border: 1px solid #e1e6ee;\n border-radius: 8px;\n box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12) !important;\n margin: 0 !important;\n padding: 24px 28px !important;\n}\n:host ::ng-deep .expandable-card-header-title {\n color: #2f343b !important;\n font-weight: 700 !important;\n line-height: 1.2;\n margin: 0;\n}\n:host ::ng-deep .expandable-card-header mat-icon {\n color: #66717f !important;\n}\n:host ::ng-deep .expandable-card-content {\n padding-top: 20px !important;\n}\n:host ::ng-deep .filling-form-fields {\n column-gap: 42px !important;\n}\n:host ::ng-deep .filling-form-fields-item-label,\n:host ::ng-deep .mat-mdc-radio-button .mdc-label,\n:host ::ng-deep .mat-mdc-checkbox .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n:host ::ng-deep .mat-mdc-radio-button,\n:host ::ng-deep .mat-mdc-checkbox {\n --mdc-radio-state-layer-size: 40px;\n --mdc-checkbox-state-layer-size: 40px;\n}\n:host ::ng-deep .mat-mdc-form-field {\n width: 100%;\n}\n:host ::ng-deep .mat-mdc-text-field-wrapper {\n min-height: 46px;\n}\n:host ::ng-deep .mat-mdc-form-field-infix {\n align-items: center;\n display: flex !important;\n min-height: 46px;\n padding-bottom: 0 !important;\n padding-top: 0 !important;\n}\n:host ::ng-deep .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n:host ::ng-deep .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n:host .readonly-summary {\n display: flex;\n flex-direction: column;\n gap: 18px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n:host .readonly-summary p {\n margin: 0;\n}\n:host .readonly-summary strong {\n color: #2f343b;\n font-weight: 700;\n}\n:host .filing-details,\n:host .annual-reminder {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n:host .note-box {\n border: 1px solid #f3d27a;\n border-radius: 6px;\n background: #fffaf0;\n color: #84610d;\n font-size: 14px;\n line-height: 1.55;\n padding: 16px 20px;\n}\n:host .note-box strong {\n font-weight: 700;\n}\n:host .directors-change-checkbox {\n align-self: flex-start;\n}\n:host .filing-details-grid {\n display: grid;\n grid-template-columns: minmax(280px, 1fr) minmax(220px, 1fr);\n column-gap: 56px;\n align-items: start;\n max-width: 980px;\n}\n:host .date-field,\n:host .email-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .date-field label,\n:host .email-field label {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n:host .date-field span,\n:host .email-field span {\n color: #e22222;\n}\n:host .hint,\n:host .annual-reminder p,\n:host .mailing-copy {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n:host .filing-fee {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n margin: 46px 0 0;\n}\n:host .filing-fee strong {\n color: #2f343b;\n font-weight: 700;\n}\n:host .directors-table {\n display: grid;\n grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.65fr) minmax(280px, 1.65fr);\n margin-top: 28px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.45;\n}\n:host .directors-table-header,\n:host .directors-table-row {\n display: contents;\n}\n:host .directors-table-header > div,\n:host .directors-table-row > div {\n border-bottom: 1px solid #e1e6ee;\n padding: 16px 24px;\n}\n:host .directors-table-header > div:not(:first-child),\n:host .directors-table-row > div:not(:first-child) {\n border-left: 1px solid #e1e6ee;\n}\n:host .directors-table-header > div {\n color: #2f343b;\n font-weight: 700;\n padding-top: 0;\n}\n:host .directors-table-row strong {\n color: #2f343b;\n display: block;\n font-weight: 700;\n margin-bottom: 8px;\n}\n:host .status-pill {\n border-radius: 999px;\n display: inline-flex;\n font-size: 12px;\n font-weight: 700;\n line-height: 1;\n padding: 6px 12px;\n}\n:host .status-pill.new {\n background: #eaf7ef;\n border: 1px solid #b8e3c7;\n color: #15803d;\n}\n:host .status-pill.ceased {\n background: #fff1f2;\n border: 1px solid #fecdd3;\n color: #be123c;\n}\n:host mat-radio-group {\n display: flex;\n gap: 48px;\n}\n:host .annual-reminder mat-radio-group {\n align-items: flex-start;\n flex-direction: column;\n gap: 14px;\n}\n:host .date-field mat-form-field {\n position: relative;\n width: 100%;\n}\n:host .date-field ::ng-deep .calendar-icon {\n border: 2px solid #4b5563;\n border-radius: 3px;\n box-sizing: border-box;\n display: block;\n height: 17px;\n position: relative;\n width: 17px;\n}\n:host .date-field ::ng-deep .calendar-icon::before {\n border-top: 2px solid #4b5563;\n content: "";\n left: 0;\n position: absolute;\n right: 0;\n top: 4px;\n}\n:host .date-field ::ng-deep .calendar-icon::after {\n background: #4b5563;\n border-radius: 1px;\n box-shadow: 6px 0 #4b5563;\n content: "";\n height: 3px;\n left: 3px;\n position: absolute;\n top: -3px;\n width: 2px;\n}\n:host .date-field .calendar-trigger {\n align-items: center;\n background: transparent;\n border: 0;\n cursor: pointer;\n display: flex;\n height: 40px;\n justify-content: center;\n padding: 0;\n position: absolute;\n right: 8px;\n top: 50%;\n transform: translateY(-50%);\n width: 40px;\n z-index: 2;\n}\n:host .date-field .calendar-trigger:hover {\n background: #f3f4f6;\n border-radius: 50%;\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'] }]
|
|
85825
85838
|
}], null, null);
|
|
85826
85839
|
})();
|
|
@@ -86057,7 +86070,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86057
86070
|
});
|
|
86058
86071
|
|
|
86059
86072
|
// src/app/constants/ui/british-columbia-formation-form.constants.ts
|
|
86060
|
-
var BC_NAME_TYPE_OPTIONS, labelledValue2, isNamed,
|
|
86073
|
+
var BC_NAME_TYPE_OPTIONS, labelledValue2, isNamed, 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_COMPLETING_PARTY_FIELDS, BC_FORMATION_CARD_FORM_DIRECTORS_FIELDS, BC_FORMATION_CARD_FORM_INCORPORATORS_FIELDS;
|
|
86061
86074
|
var init_british_columbia_formation_form_constants = __esm({
|
|
86062
86075
|
"src/app/constants/ui/british-columbia-formation-form.constants.ts"() {
|
|
86063
86076
|
init_form_enums();
|
|
@@ -86067,7 +86080,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86067
86080
|
BC_NAME_TYPE_OPTIONS = Object.values(BCNameType).filter((v) => typeof v === "number").map((v) => ({ label: BCNameTypeLabel[v], value: v }));
|
|
86068
86081
|
labelledValue2 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
86069
86082
|
isNamed = (form) => form.get(BCFormationFormControls.CorporationNameType)?.value === BCNameType.Named;
|
|
86070
|
-
isNotifyByMail2 = (form) => form.get(BCFormationFormControls.NotificationMethod)?.value === BCNotificationMethod.Mail;
|
|
86071
86083
|
BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
86072
86084
|
{
|
|
86073
86085
|
type: FormType.Input,
|
|
@@ -86089,10 +86101,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86089
86101
|
options: BC_NAME_TYPE_OPTIONS,
|
|
86090
86102
|
needTranslate: true,
|
|
86091
86103
|
onChange: (form) => {
|
|
86092
|
-
if (!isNamed(form)) {
|
|
86093
|
-
form.get(BCFormationFormControls.CompanyName)?.setValue("", { emitEvent: false });
|
|
86094
|
-
form.get(BCFormationFormControls.NameReservationNumber)?.setValue("", { emitEvent: false });
|
|
86095
|
-
}
|
|
86096
86104
|
form.get(BCFormationFormControls.CompanyName)?.updateValueAndValidity({ emitEvent: false });
|
|
86097
86105
|
form.get(BCFormationFormControls.NameReservationNumber)?.updateValueAndValidity({ emitEvent: false });
|
|
86098
86106
|
}
|
|
@@ -86101,17 +86109,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86101
86109
|
type: FormType.Text,
|
|
86102
86110
|
formControlName: "",
|
|
86103
86111
|
class: "span-6 beside-select",
|
|
86104
|
-
|
|
86105
|
-
|
|
86106
|
-
|
|
86107
|
-
}
|
|
86108
|
-
const companyName = form.get(BCFormationFormControls.CompanyName)?.value ?? "";
|
|
86109
|
-
return companyName.trim() ? companyName.trim().toUpperCase() : t("Name preview \u2014 appears exactly as entered");
|
|
86110
|
-
}
|
|
86112
|
+
// Numbered only: a Named company shows no preview of the typed name.
|
|
86113
|
+
isVisible: (form) => !isNamed(form),
|
|
86114
|
+
dynamicLabel: () => BC_NUMBERED_NAME_PREVIEW
|
|
86111
86115
|
},
|
|
86112
86116
|
{
|
|
86113
86117
|
type: FormType.Input,
|
|
86114
|
-
label: "
|
|
86118
|
+
label: "Proposed Corporate Name",
|
|
86115
86119
|
formControlName: BCFormationFormControls.CompanyName,
|
|
86116
86120
|
required: true,
|
|
86117
86121
|
isVisible: isNamed,
|
|
@@ -86119,11 +86123,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86119
86123
|
},
|
|
86120
86124
|
{
|
|
86121
86125
|
type: FormType.Input,
|
|
86122
|
-
label: "Name Reservation
|
|
86126
|
+
label: "Name Reservation #",
|
|
86123
86127
|
formControlName: BCFormationFormControls.NameReservationNumber,
|
|
86124
86128
|
required: true,
|
|
86125
86129
|
maxLength: 9,
|
|
86126
86130
|
errorMessage: "Enter a valid Name Reservation number (for example NR1234567)",
|
|
86131
|
+
showRequiredMessage: true,
|
|
86127
86132
|
isVisible: isNamed,
|
|
86128
86133
|
class: "span-6"
|
|
86129
86134
|
},
|
|
@@ -86141,25 +86146,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86141
86146
|
dynamicLabel: (_, t) => t("There is an additional fee of {{fee}} for an effective date in the future.").replace("{{fee}}", BC_FUTURE_EFFECTIVE_DATE_FEE)
|
|
86142
86147
|
},
|
|
86143
86148
|
{
|
|
86144
|
-
|
|
86145
|
-
|
|
86149
|
+
// Options are filled per task from `task.entity.emailOptions` by the incorporation form.
|
|
86150
|
+
type: FormType.Select,
|
|
86146
86151
|
label: "Company Email",
|
|
86147
86152
|
formControlName: BCFormationFormControls.CompanyEmail,
|
|
86148
86153
|
required: true,
|
|
86149
|
-
|
|
86150
|
-
errorMessage: "Enter a valid email address",
|
|
86151
|
-
class: "span-6"
|
|
86152
|
-
},
|
|
86153
|
-
{
|
|
86154
|
-
type: FormType.Input,
|
|
86155
|
-
inputType: "password",
|
|
86156
|
-
label: "Company Password",
|
|
86157
|
-
formControlName: BCFormationFormControls.CompanyPassword,
|
|
86158
|
-
required: true,
|
|
86159
|
-
maxLength: BC_PASSWORD_MAX_LENGTH,
|
|
86160
|
-
errorMessage: "Company Password must be 8 to 15 characters",
|
|
86154
|
+
options: [],
|
|
86161
86155
|
class: "span-6"
|
|
86162
86156
|
}
|
|
86157
|
+
// The company password is not shown: it is taken from the entity's registry ID.
|
|
86163
86158
|
];
|
|
86164
86159
|
BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS = [
|
|
86165
86160
|
{
|
|
@@ -86226,102 +86221,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86226
86221
|
dynamicLabel: (form, t) => labelledValue2("Delivery Address - Full Address", form.get(BCFormationFormControls.RecordsOfficeDeliveryAddress)?.value, t)
|
|
86227
86222
|
}
|
|
86228
86223
|
];
|
|
86229
|
-
BC_FORMATION_DELTA_CARD_FORM_NOTIFICATION_FIELDS = [
|
|
86230
|
-
{
|
|
86231
|
-
type: FormType.Radio,
|
|
86232
|
-
label: "Notification Method",
|
|
86233
|
-
formControlName: BCFormationFormControls.NotificationMethod,
|
|
86234
|
-
required: true,
|
|
86235
|
-
options: BC_NOTIFICATION_METHOD_OPTIONS,
|
|
86236
|
-
needTranslate: true,
|
|
86237
|
-
class: "span-12",
|
|
86238
|
-
onChange: (form) => {
|
|
86239
|
-
const byMail = isNotifyByMail2(form);
|
|
86240
|
-
if (!byMail) {
|
|
86241
|
-
[
|
|
86242
|
-
BCFormationFormControls.NotificationName,
|
|
86243
|
-
BCFormationFormControls.AddressLine1,
|
|
86244
|
-
BCFormationFormControls.AddressLine2,
|
|
86245
|
-
BCFormationFormControls.City,
|
|
86246
|
-
BCFormationFormControls.PostalZip
|
|
86247
|
-
].forEach((control) => form.get(control)?.setValue("", { emitEvent: false }));
|
|
86248
|
-
form.get(BCFormationFormControls.ProvinceState)?.setValue(BC_DEFAULT_PROVINCE_STATE, { emitEvent: false });
|
|
86249
|
-
form.get(BCFormationFormControls.Country)?.setValue(BC_DEFAULT_COUNTRY, { emitEvent: false });
|
|
86250
|
-
}
|
|
86251
|
-
[
|
|
86252
|
-
BCFormationFormControls.NotificationEmail,
|
|
86253
|
-
BCFormationFormControls.NotificationName,
|
|
86254
|
-
BCFormationFormControls.AddressLine1,
|
|
86255
|
-
BCFormationFormControls.City,
|
|
86256
|
-
BCFormationFormControls.ProvinceState,
|
|
86257
|
-
BCFormationFormControls.Country
|
|
86258
|
-
].forEach((control) => form.get(control)?.updateValueAndValidity({ emitEvent: false }));
|
|
86259
|
-
}
|
|
86260
|
-
},
|
|
86261
|
-
{
|
|
86262
|
-
type: FormType.Input,
|
|
86263
|
-
label: "Notification Email",
|
|
86264
|
-
formControlName: BCFormationFormControls.NotificationEmail,
|
|
86265
|
-
isVisible: (form) => !isNotifyByMail2(form),
|
|
86266
|
-
class: "column-3"
|
|
86267
|
-
},
|
|
86268
|
-
{
|
|
86269
|
-
type: FormType.Input,
|
|
86270
|
-
label: "Name",
|
|
86271
|
-
formControlName: BCFormationFormControls.NotificationName,
|
|
86272
|
-
required: true,
|
|
86273
|
-
isVisible: isNotifyByMail2,
|
|
86274
|
-
class: "column-3"
|
|
86275
|
-
},
|
|
86276
|
-
{
|
|
86277
|
-
type: FormType.Input,
|
|
86278
|
-
label: "Address Line 1",
|
|
86279
|
-
formControlName: BCFormationFormControls.AddressLine1,
|
|
86280
|
-
required: true,
|
|
86281
|
-
isVisible: isNotifyByMail2,
|
|
86282
|
-
class: "column-3"
|
|
86283
|
-
},
|
|
86284
|
-
{
|
|
86285
|
-
type: FormType.Input,
|
|
86286
|
-
label: "Address Line 2",
|
|
86287
|
-
formControlName: BCFormationFormControls.AddressLine2,
|
|
86288
|
-
isVisible: isNotifyByMail2,
|
|
86289
|
-
class: "column-3"
|
|
86290
|
-
},
|
|
86291
|
-
{
|
|
86292
|
-
type: FormType.Input,
|
|
86293
|
-
label: "City",
|
|
86294
|
-
formControlName: BCFormationFormControls.City,
|
|
86295
|
-
required: true,
|
|
86296
|
-
isVisible: isNotifyByMail2,
|
|
86297
|
-
class: "column-2"
|
|
86298
|
-
},
|
|
86299
|
-
{
|
|
86300
|
-
type: FormType.Select,
|
|
86301
|
-
label: "Province / State",
|
|
86302
|
-
formControlName: BCFormationFormControls.ProvinceState,
|
|
86303
|
-
required: true,
|
|
86304
|
-
isVisible: isNotifyByMail2,
|
|
86305
|
-
options: BC_PROVINCE_STATE_OPTIONS,
|
|
86306
|
-
class: "span-4"
|
|
86307
|
-
},
|
|
86308
|
-
{
|
|
86309
|
-
type: FormType.Input,
|
|
86310
|
-
label: "Postal / Zip Code",
|
|
86311
|
-
formControlName: BCFormationFormControls.PostalZip,
|
|
86312
|
-
isVisible: isNotifyByMail2,
|
|
86313
|
-
class: "column-2"
|
|
86314
|
-
},
|
|
86315
|
-
{
|
|
86316
|
-
type: FormType.Select,
|
|
86317
|
-
label: "Country",
|
|
86318
|
-
formControlName: BCFormationFormControls.Country,
|
|
86319
|
-
required: true,
|
|
86320
|
-
isVisible: isNotifyByMail2,
|
|
86321
|
-
options: BC_COUNTRY_OPTIONS,
|
|
86322
|
-
class: "span-4"
|
|
86323
|
-
}
|
|
86324
|
-
];
|
|
86325
86224
|
BC_FORMATION_DELTA_CARD_FORM_COMPLETING_PARTY_FIELDS = [
|
|
86326
86225
|
{
|
|
86327
86226
|
type: FormType.Input,
|
|
@@ -86350,6 +86249,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86350
86249
|
formControlName: BCFormationFormControls.CompletingPartyEmail,
|
|
86351
86250
|
required: true,
|
|
86352
86251
|
errorMessage: "Enter a valid email address",
|
|
86252
|
+
showRequiredMessage: true,
|
|
86353
86253
|
class: "column-3"
|
|
86354
86254
|
},
|
|
86355
86255
|
{
|
|
@@ -86389,6 +86289,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86389
86289
|
label: "Postal / Zip Code",
|
|
86390
86290
|
formControlName: BCFormationFormControls.PostalZip,
|
|
86391
86291
|
required: true,
|
|
86292
|
+
errorMessage: "Enter a valid Canadian postal code (for example V8W 1X4)",
|
|
86293
|
+
showRequiredMessage: true,
|
|
86392
86294
|
class: "column-2"
|
|
86393
86295
|
},
|
|
86394
86296
|
{
|
|
@@ -86397,7 +86299,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86397
86299
|
formControlName: BCFormationFormControls.Country,
|
|
86398
86300
|
required: true,
|
|
86399
86301
|
options: BC_COMPLETING_PARTY_COUNTRY_OPTIONS,
|
|
86400
|
-
class: "span-4"
|
|
86302
|
+
class: "span-4",
|
|
86303
|
+
// Province / State is required for Canada and the US, and the postal code format is Canada-only.
|
|
86304
|
+
onChange: (form) => {
|
|
86305
|
+
[BCFormationFormControls.ProvinceState, BCFormationFormControls.PostalZip].forEach((control) => form.get(control)?.updateValueAndValidity({ emitEvent: false }));
|
|
86306
|
+
}
|
|
86401
86307
|
},
|
|
86402
86308
|
{
|
|
86403
86309
|
type: FormType.Checkbox,
|
|
@@ -86607,7 +86513,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86607
86513
|
const corporationDetails_r11 = \u0275\u0275readContextLet(6);
|
|
86608
86514
|
\u0275\u0275property("isValid", ctx_r0.sectionValidity["corpDetails"] && ctx_r0.sectionValidity["nameTranslation"] && ctx_r0.areNameTranslationsValid())("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.CorporationDetails);
|
|
86609
86515
|
\u0275\u0275advance(2);
|
|
86610
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields);
|
|
86516
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", corporationDetails_r11)("config", ctx_r0.corporationDetailsFields());
|
|
86611
86517
|
\u0275\u0275advance(2);
|
|
86612
86518
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(5, 11, "Name Translation"));
|
|
86613
86519
|
\u0275\u0275advance(2);
|
|
@@ -86639,37 +86545,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86639
86545
|
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOfficeForm_r12)("config", ctx_r0.recordsOfficeFields);
|
|
86640
86546
|
}
|
|
86641
86547
|
}
|
|
86642
|
-
function
|
|
86643
|
-
if (rf & 1) {
|
|
86644
|
-
const _r13 = \u0275\u0275getCurrentView();
|
|
86645
|
-
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 8)(2, "filing-form-group", 9);
|
|
86646
|
-
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaIncorporationFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_2_listener($event) {
|
|
86647
|
-
\u0275\u0275restoreView(_r13);
|
|
86648
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
86649
|
-
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("notification", $event));
|
|
86650
|
-
});
|
|
86651
|
-
\u0275\u0275elementEnd()()();
|
|
86652
|
-
}
|
|
86653
|
-
if (rf & 2) {
|
|
86654
|
-
const ctx_r0 = \u0275\u0275nextContext();
|
|
86655
|
-
const notification_r14 = \u0275\u0275readContextLet(10);
|
|
86656
|
-
\u0275\u0275property("isValid", ctx_r0.sectionValidity["notification"])("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.Notification);
|
|
86657
|
-
\u0275\u0275advance(2);
|
|
86658
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", notification_r14)("config", ctx_r0.notificationFields);
|
|
86659
|
-
}
|
|
86660
|
-
}
|
|
86661
|
-
function BritishColumbiaIncorporationFormComponent_Conditional_14_Template(rf, ctx) {
|
|
86548
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_12_Template(rf, ctx) {
|
|
86662
86549
|
if (rf & 1) {
|
|
86663
86550
|
\u0275\u0275element(0, "expandable-list-card", 7);
|
|
86664
86551
|
}
|
|
86665
86552
|
if (rf & 2) {
|
|
86666
86553
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
86667
|
-
const
|
|
86668
|
-
const
|
|
86669
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("isValid", true)("areItemsOpen",
|
|
86554
|
+
const directorsArray_r13 = \u0275\u0275readContextLet(10);
|
|
86555
|
+
const isOpenDirectors_r14 = \u0275\u0275readContextLet(11);
|
|
86556
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("isValid", true)("areItemsOpen", isOpenDirectors_r14)("isStatusIcon", false)("fields", ctx_r0.directorsFields)("formArray", directorsArray_r13)("title", ctx_r0.groups.Directors);
|
|
86670
86557
|
}
|
|
86671
86558
|
}
|
|
86672
|
-
function
|
|
86559
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_13_Template(rf, ctx) {
|
|
86673
86560
|
if (rf & 1) {
|
|
86674
86561
|
\u0275\u0275elementStart(0, "expandable-card", 4)(1, "h2", 21);
|
|
86675
86562
|
\u0275\u0275text(2);
|
|
@@ -86683,7 +86570,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86683
86570
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(3, 2, "Unchanged"));
|
|
86684
86571
|
}
|
|
86685
86572
|
}
|
|
86686
|
-
function
|
|
86573
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_15_Conditional_1_For_21_Template(rf, ctx) {
|
|
86687
86574
|
if (rf & 1) {
|
|
86688
86575
|
\u0275\u0275elementStart(0, "tr", 21)(1, "th", 27);
|
|
86689
86576
|
\u0275\u0275text(2);
|
|
@@ -86705,22 +86592,22 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86705
86592
|
\u0275\u0275elementEnd()();
|
|
86706
86593
|
}
|
|
86707
86594
|
if (rf & 2) {
|
|
86708
|
-
let
|
|
86709
|
-
const
|
|
86710
|
-
\u0275\u0275classProp("series",
|
|
86595
|
+
let tmp_24_0;
|
|
86596
|
+
const row_r15 = ctx.$implicit;
|
|
86597
|
+
\u0275\u0275classProp("series", row_r15.isSeries);
|
|
86711
86598
|
\u0275\u0275advance(2);
|
|
86712
|
-
\u0275\u0275textInterpolate(
|
|
86599
|
+
\u0275\u0275textInterpolate(row_r15.name);
|
|
86713
86600
|
\u0275\u0275advance(2);
|
|
86714
|
-
\u0275\u0275textInterpolate1(" ",
|
|
86601
|
+
\u0275\u0275textInterpolate1(" ", row_r15.maximumShares === null ? \u0275\u0275pipeBind1(5, 7, "Unlimited") : row_r15.maximumShares || "\u2014", " ");
|
|
86715
86602
|
\u0275\u0275advance(3);
|
|
86716
|
-
\u0275\u0275textInterpolate((
|
|
86603
|
+
\u0275\u0275textInterpolate((tmp_24_0 = row_r15.parValue) !== null && tmp_24_0 !== void 0 ? tmp_24_0 : \u0275\u0275pipeBind1(8, 9, "Without Par Value"));
|
|
86717
86604
|
\u0275\u0275advance(3);
|
|
86718
|
-
\u0275\u0275textInterpolate(
|
|
86605
|
+
\u0275\u0275textInterpolate(row_r15.currency || "\u2014");
|
|
86719
86606
|
\u0275\u0275advance(2);
|
|
86720
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(13, 11,
|
|
86607
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(13, 11, row_r15.hasSpecialRights ? "Yes" : "No"));
|
|
86721
86608
|
}
|
|
86722
86609
|
}
|
|
86723
|
-
function
|
|
86610
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_15_Conditional_1_Template(rf, ctx) {
|
|
86724
86611
|
if (rf & 1) {
|
|
86725
86612
|
\u0275\u0275elementStart(0, "div", 22)(1, "table", 23)(2, "thead")(3, "tr", 18)(4, "th", 24);
|
|
86726
86613
|
\u0275\u0275text(5);
|
|
@@ -86743,7 +86630,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86743
86630
|
\u0275\u0275pipe(18, "translate");
|
|
86744
86631
|
\u0275\u0275elementEnd()()();
|
|
86745
86632
|
\u0275\u0275elementStart(19, "tbody");
|
|
86746
|
-
\u0275\u0275repeaterCreate(20,
|
|
86633
|
+
\u0275\u0275repeaterCreate(20, BritishColumbiaIncorporationFormComponent_Conditional_15_Conditional_1_For_21_Template, 14, 13, "tr", 26, _forTrack04);
|
|
86747
86634
|
\u0275\u0275elementEnd()()();
|
|
86748
86635
|
}
|
|
86749
86636
|
if (rf & 2) {
|
|
@@ -86762,7 +86649,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86762
86649
|
\u0275\u0275repeater(ctx_r0.shareRows());
|
|
86763
86650
|
}
|
|
86764
86651
|
}
|
|
86765
|
-
function
|
|
86652
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_15_Conditional_2_Template(rf, ctx) {
|
|
86766
86653
|
if (rf & 1) {
|
|
86767
86654
|
\u0275\u0275elementStart(0, "p", 21);
|
|
86768
86655
|
\u0275\u0275text(1);
|
|
@@ -86774,10 +86661,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86774
86661
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "None"));
|
|
86775
86662
|
}
|
|
86776
86663
|
}
|
|
86777
|
-
function
|
|
86664
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_15_Template(rf, ctx) {
|
|
86778
86665
|
if (rf & 1) {
|
|
86779
86666
|
\u0275\u0275elementStart(0, "expandable-card", 6);
|
|
86780
|
-
\u0275\u0275template(1,
|
|
86667
|
+
\u0275\u0275template(1, BritishColumbiaIncorporationFormComponent_Conditional_15_Conditional_1_Template, 22, 15, "div", 22)(2, BritishColumbiaIncorporationFormComponent_Conditional_15_Conditional_2_Template, 3, 3, "p", 21);
|
|
86781
86668
|
\u0275\u0275elementEnd();
|
|
86782
86669
|
}
|
|
86783
86670
|
if (rf & 2) {
|
|
@@ -86787,18 +86674,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86787
86674
|
\u0275\u0275conditional(ctx_r0.shareRows().length ? 1 : 2);
|
|
86788
86675
|
}
|
|
86789
86676
|
}
|
|
86790
|
-
function
|
|
86677
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_18_Template(rf, ctx) {
|
|
86791
86678
|
if (rf & 1) {
|
|
86792
86679
|
\u0275\u0275element(0, "expandable-list-card", 7);
|
|
86793
86680
|
}
|
|
86794
86681
|
if (rf & 2) {
|
|
86795
86682
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
86796
|
-
const
|
|
86797
|
-
const
|
|
86798
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("isValid", true)("areItemsOpen",
|
|
86683
|
+
const incorporatorsArray_r16 = \u0275\u0275readContextLet(16);
|
|
86684
|
+
const isOpenIncorporators_r17 = \u0275\u0275readContextLet(17);
|
|
86685
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("isValid", true)("areItemsOpen", isOpenIncorporators_r17)("isStatusIcon", false)("fields", ctx_r0.incorporatorsFields)("formArray", incorporatorsArray_r16)("title", ctx_r0.groups.Incorporators);
|
|
86799
86686
|
}
|
|
86800
86687
|
}
|
|
86801
|
-
function
|
|
86688
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_19_Template(rf, ctx) {
|
|
86802
86689
|
if (rf & 1) {
|
|
86803
86690
|
\u0275\u0275elementStart(0, "expandable-card", 4)(1, "h2", 21);
|
|
86804
86691
|
\u0275\u0275text(2);
|
|
@@ -86812,12 +86699,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86812
86699
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(3, 2, "Unchanged"));
|
|
86813
86700
|
}
|
|
86814
86701
|
}
|
|
86815
|
-
function
|
|
86702
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_21_Template(rf, ctx) {
|
|
86816
86703
|
if (rf & 1) {
|
|
86817
|
-
const
|
|
86704
|
+
const _r18 = \u0275\u0275getCurrentView();
|
|
86818
86705
|
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 8)(2, "filing-form-group", 9);
|
|
86819
|
-
\u0275\u0275listener("visiblyValidChange", function
|
|
86820
|
-
\u0275\u0275restoreView(
|
|
86706
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaIncorporationFormComponent_Conditional_21_Template_filing_form_group_visiblyValidChange_2_listener($event) {
|
|
86707
|
+
\u0275\u0275restoreView(_r18);
|
|
86821
86708
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
86822
86709
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("completingParty", $event));
|
|
86823
86710
|
});
|
|
@@ -86825,10 +86712,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86825
86712
|
}
|
|
86826
86713
|
if (rf & 2) {
|
|
86827
86714
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
86828
|
-
const
|
|
86715
|
+
const completingParty_r19 = \u0275\u0275readContextLet(20);
|
|
86829
86716
|
\u0275\u0275property("isValid", ctx_r0.sectionValidity["completingParty"])("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.CompletingParty);
|
|
86830
86717
|
\u0275\u0275advance(2);
|
|
86831
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form",
|
|
86718
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", completingParty_r19)("config", ctx_r0.completingPartyFields);
|
|
86832
86719
|
}
|
|
86833
86720
|
}
|
|
86834
86721
|
var _forTrack04, BritishColumbiaIncorporationFormComponent;
|
|
@@ -86861,12 +86748,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86861
86748
|
groups = BCFormationFormGroups;
|
|
86862
86749
|
controls = BCFormationFormControls;
|
|
86863
86750
|
referenceNumbersFields = BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
86864
|
-
|
|
86751
|
+
/** Corporation Details fields, with the Company Email dropdown filled from the task. */
|
|
86752
|
+
corporationDetailsFields = computed(() => {
|
|
86753
|
+
const currentEmail = this.form().get(this.groups.CorporationDetails)?.get(this.controls.CompanyEmail)?.value;
|
|
86754
|
+
const emailOptions = BritishColumbiaFormationFormHelper.buildCompanyEmailOptions(this.task(), currentEmail);
|
|
86755
|
+
return BC_FORMATION_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS.map((field) => field.formControlName === this.controls.CompanyEmail ? __spreadProps(__spreadValues({}, field), { options: emailOptions }) : field);
|
|
86756
|
+
});
|
|
86865
86757
|
nameTranslationFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS;
|
|
86866
86758
|
nameTranslationRowFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_ROW_FIELDS;
|
|
86867
86759
|
registeredOfficeFields = BC_FORMATION_CARD_FORM_REGISTERED_OFFICE_FIELDS;
|
|
86868
86760
|
recordsOfficeFields = BC_FORMATION_CARD_FORM_RECORDS_OFFICE_FIELDS;
|
|
86869
|
-
notificationFields = BC_FORMATION_DELTA_CARD_FORM_NOTIFICATION_FIELDS;
|
|
86870
86761
|
directorsFields = BC_FORMATION_CARD_FORM_DIRECTORS_FIELDS;
|
|
86871
86762
|
/** Shares and Provisions table rows – same records and order as the eCore payload. */
|
|
86872
86763
|
shareRows = computed(() => BritishColumbiaFormationFormHelper.buildShareStructureRows(this.task()?.entity.shareclasses));
|
|
@@ -86923,7 +86814,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86923
86814
|
static \u0275fac = function BritishColumbiaIncorporationFormComponent_Factory(__ngFactoryType__) {
|
|
86924
86815
|
return new (__ngFactoryType__ || _BritishColumbiaIncorporationFormComponent)();
|
|
86925
86816
|
};
|
|
86926
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaIncorporationFormComponent, selectors: [["british-columbia-incorporation-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], statusIcon: [1, "statusIcon"], isSubmitted: [1, "isSubmitted"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls:
|
|
86817
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaIncorporationFormComponent, selectors: [["british-columbia-incorporation-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], statusIcon: [1, "statusIcon"], isSubmitted: [1, "isSubmitted"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 22, vars: 17, consts: [[1, "incorporation-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, "incorporation-form-content"], [3, "title"], [3, "isValid", "isStatusIcon", "title"], [3, "isStatusIcon", "title"], [3, "isSubmitted", "isValid", "areItemsOpen", "isStatusIcon", "fields", "formArray", "title"], [1, "incorporation-form-item"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "incorporation-form-item-title"], [1, "incorporation-form-translations"], [1, "incorporation-form-translations-row"], ["role", "alert", 1, "incorporation-form-translations-error", "body-1-regular"], [1, "incorporation-form-translations-actions"], [1, "incorporation-form-translations-row-field", 3, "visiblyValidChange", "isSubmitted", "form", "config"], ["mat-button", "", "type", "button"], ["mat-button", "", "type", "button", 3, "click"], [1, "body-1-semibold"], ["mat-stroked-button", "", "type", "button", 3, "click"], [3, "isSubmitted", "form", "config"], [1, "body-1-regular"], [1, "incorporation-form-shares"], [1, "incorporation-form-shares-table"], ["scope", "col"], ["scope", "col", 1, "numeric"], [1, "body-1-regular", 3, "series"], ["scope", "row", 1, "body-1-semibold"], [1, "numeric"]], template: function BritishColumbiaIncorporationFormComponent_Template(rf, ctx) {
|
|
86927
86818
|
if (rf & 1) {
|
|
86928
86819
|
\u0275\u0275elementStart(0, "div", 0);
|
|
86929
86820
|
\u0275\u0275template(1, BritishColumbiaIncorporationFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaIncorporationFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
@@ -86934,60 +86825,54 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86934
86825
|
\u0275\u0275template(7, BritishColumbiaIncorporationFormComponent_Conditional_7_Template, 8, 13, "expandable-card", 5);
|
|
86935
86826
|
\u0275\u0275declareLet(8);
|
|
86936
86827
|
\u0275\u0275template(9, BritishColumbiaIncorporationFormComponent_Conditional_9_Template, 7, 11, "expandable-card", 6);
|
|
86937
|
-
\u0275\u0275declareLet(10);
|
|
86938
|
-
\u0275\u0275template(
|
|
86939
|
-
\u0275\u0275declareLet(
|
|
86940
|
-
\u0275\u0275template(
|
|
86941
|
-
\u0275\u0275declareLet(16);
|
|
86942
|
-
\u0275\u0275template(
|
|
86943
|
-
\u0275\u0275declareLet(
|
|
86944
|
-
\u0275\u0275template(
|
|
86945
|
-
\u0275\u0275declareLet(22);
|
|
86946
|
-
\u0275\u0275template(23, BritishColumbiaIncorporationFormComponent_Conditional_23_Template, 3, 6, "expandable-card", 5);
|
|
86828
|
+
\u0275\u0275declareLet(10)(11);
|
|
86829
|
+
\u0275\u0275template(12, BritishColumbiaIncorporationFormComponent_Conditional_12_Template, 1, 7, "expandable-list-card", 7)(13, BritishColumbiaIncorporationFormComponent_Conditional_13_Template, 4, 4, "expandable-card", 4);
|
|
86830
|
+
\u0275\u0275declareLet(14);
|
|
86831
|
+
\u0275\u0275template(15, BritishColumbiaIncorporationFormComponent_Conditional_15_Template, 3, 3, "expandable-card", 6);
|
|
86832
|
+
\u0275\u0275declareLet(16)(17);
|
|
86833
|
+
\u0275\u0275template(18, BritishColumbiaIncorporationFormComponent_Conditional_18_Template, 1, 7, "expandable-list-card", 7)(19, BritishColumbiaIncorporationFormComponent_Conditional_19_Template, 4, 4, "expandable-card", 4);
|
|
86834
|
+
\u0275\u0275declareLet(20);
|
|
86835
|
+
\u0275\u0275template(21, BritishColumbiaIncorporationFormComponent_Conditional_21_Template, 3, 6, "expandable-card", 5);
|
|
86947
86836
|
\u0275\u0275elementEnd()();
|
|
86948
86837
|
}
|
|
86949
86838
|
if (rf & 2) {
|
|
86950
|
-
let
|
|
86951
|
-
let
|
|
86839
|
+
let tmp_9_0;
|
|
86840
|
+
let tmp_14_0;
|
|
86952
86841
|
\u0275\u0275advance();
|
|
86953
86842
|
\u0275\u0275conditional(ctx.isNote() ? 1 : -1);
|
|
86954
86843
|
\u0275\u0275advance();
|
|
86955
86844
|
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
86956
86845
|
\u0275\u0275advance(2);
|
|
86957
|
-
const
|
|
86958
|
-
\u0275\u0275advance();
|
|
86959
|
-
\u0275\u0275conditional(referenceNumbers_r22 ? 5 : -1);
|
|
86846
|
+
const referenceNumbers_r20 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
86960
86847
|
\u0275\u0275advance();
|
|
86961
|
-
|
|
86848
|
+
\u0275\u0275conditional(referenceNumbers_r20 ? 5 : -1);
|
|
86962
86849
|
\u0275\u0275advance();
|
|
86963
|
-
\u0275\
|
|
86850
|
+
const corporationDetails_r21 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
86964
86851
|
\u0275\u0275advance();
|
|
86965
|
-
|
|
86852
|
+
\u0275\u0275conditional(corporationDetails_r21 ? 7 : -1);
|
|
86966
86853
|
\u0275\u0275advance();
|
|
86967
|
-
\u0275\
|
|
86854
|
+
const registeredOfficeForm_r22 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
|
|
86968
86855
|
\u0275\u0275advance();
|
|
86969
|
-
|
|
86856
|
+
\u0275\u0275conditional(registeredOfficeForm_r22 ? 9 : -1);
|
|
86970
86857
|
\u0275\u0275advance();
|
|
86971
|
-
\u0275\
|
|
86972
|
-
\u0275\u0275advance();
|
|
86973
|
-
const directorsArray_r26 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
|
|
86858
|
+
const directorsArray_r23 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
|
|
86974
86859
|
\u0275\u0275advance();
|
|
86975
|
-
\u0275\u0275storeLet(((
|
|
86860
|
+
\u0275\u0275storeLet(((tmp_9_0 = directorsArray_r23 == null ? null : directorsArray_r23.length) !== null && tmp_9_0 !== void 0 ? tmp_9_0 : 0) <= ctx.initiallyOpenCardsCount);
|
|
86976
86861
|
\u0275\u0275advance();
|
|
86977
|
-
\u0275\u0275conditional(
|
|
86978
|
-
const
|
|
86862
|
+
\u0275\u0275conditional(directorsArray_r23 && directorsArray_r23.length ? 12 : 13);
|
|
86863
|
+
const sharesAndProvisions_r24 = ctx.getFormGroup(ctx.groups.SharesAndProvisions);
|
|
86979
86864
|
\u0275\u0275advance(3);
|
|
86980
|
-
\u0275\u0275conditional(
|
|
86865
|
+
\u0275\u0275conditional(sharesAndProvisions_r24 ? 15 : -1);
|
|
86981
86866
|
\u0275\u0275advance();
|
|
86982
|
-
const
|
|
86867
|
+
const incorporatorsArray_r25 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Incorporators));
|
|
86983
86868
|
\u0275\u0275advance();
|
|
86984
|
-
\u0275\u0275storeLet(((
|
|
86869
|
+
\u0275\u0275storeLet(((tmp_14_0 = incorporatorsArray_r25 == null ? null : incorporatorsArray_r25.length) !== null && tmp_14_0 !== void 0 ? tmp_14_0 : 0) <= ctx.initiallyOpenCardsCount);
|
|
86985
86870
|
\u0275\u0275advance();
|
|
86986
|
-
\u0275\u0275conditional(
|
|
86871
|
+
\u0275\u0275conditional(incorporatorsArray_r25 && incorporatorsArray_r25.length ? 18 : 19);
|
|
86987
86872
|
\u0275\u0275advance(2);
|
|
86988
|
-
const
|
|
86873
|
+
const completingParty_r26 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CompletingParty));
|
|
86989
86874
|
\u0275\u0275advance();
|
|
86990
|
-
\u0275\u0275conditional(
|
|
86875
|
+
\u0275\u0275conditional(completingParty_r26 ? 21 : -1);
|
|
86991
86876
|
}
|
|
86992
86877
|
}, dependencies: [
|
|
86993
86878
|
ExpandableCardComponent,
|
|
@@ -87058,7 +86943,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87058
86943
|
<filing-form-group\r
|
|
87059
86944
|
[isSubmitted]="isSubmitted()"\r
|
|
87060
86945
|
[form]="corporationDetails"\r
|
|
87061
|
-
[config]="corporationDetailsFields"\r
|
|
86946
|
+
[config]="corporationDetailsFields()"\r
|
|
87062
86947
|
(visiblyValidChange)="onSectionValidChange('corpDetails', $event)"\r
|
|
87063
86948
|
/>\r
|
|
87064
86949
|
\r
|
|
@@ -87142,25 +87027,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87142
87027
|
</div>\r
|
|
87143
87028
|
</expandable-card>\r
|
|
87144
87029
|
}\r
|
|
87145
|
-
\r
|
|
87146
|
-
@let notification = getFormGroup(groups.Notification);\r
|
|
87147
|
-
\r
|
|
87148
|
-
@if (notification) {\r
|
|
87149
|
-
<expandable-card\r
|
|
87150
|
-
[isValid]="sectionValidity['notification']"\r
|
|
87151
|
-
[isStatusIcon]="statusIcon()"\r
|
|
87152
|
-
[title]="groups.Notification"\r
|
|
87153
|
-
>\r
|
|
87154
|
-
<div class="incorporation-form-item">\r
|
|
87155
|
-
<filing-form-group\r
|
|
87156
|
-
[isSubmitted]="isSubmitted()"\r
|
|
87157
|
-
[form]="notification"\r
|
|
87158
|
-
[config]="notificationFields"\r
|
|
87159
|
-
(visiblyValidChange)="onSectionValidChange('notification', $event)"\r
|
|
87160
|
-
/>\r
|
|
87161
|
-
</div>\r
|
|
87162
|
-
</expandable-card>\r
|
|
87163
|
-
}\r
|
|
87164
87030
|
\r
|
|
87165
87031
|
@let directorsArray = getFormArray(groups.Directors);\r
|
|
87166
87032
|
@let isOpenDirectors =\r
|
|
@@ -87266,7 +87132,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87266
87132
|
}], null, null);
|
|
87267
87133
|
})();
|
|
87268
87134
|
(() => {
|
|
87269
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaIncorporationFormComponent, { className: "BritishColumbiaIncorporationFormComponent", filePath: "src/app/components/british-columbia/incorporation/british-columbia-incorporation-form/british-columbia-incorporation-form.component.ts", lineNumber:
|
|
87135
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaIncorporationFormComponent, { className: "BritishColumbiaIncorporationFormComponent", filePath: "src/app/components/british-columbia/incorporation/british-columbia-incorporation-form/british-columbia-incorporation-form.component.ts", lineNumber: 56 });
|
|
87270
87136
|
})();
|
|
87271
87137
|
}
|
|
87272
87138
|
});
|
|
@@ -87420,13 +87286,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87420
87286
|
form = input.required();
|
|
87421
87287
|
actionsDisabled = input(false);
|
|
87422
87288
|
task = input();
|
|
87289
|
+
errors = input([]);
|
|
87423
87290
|
close = output();
|
|
87424
87291
|
next = output();
|
|
87425
87292
|
formGroups = BCFormationFormGroups;
|
|
87426
87293
|
static \u0275fac = function BritishColumbiaIncorporationPreviewFormComponent_Factory(__ngFactoryType__) {
|
|
87427
87294
|
return new (__ngFactoryType__ || _BritishColumbiaIncorporationPreviewFormComponent)();
|
|
87428
87295
|
};
|
|
87429
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaIncorporationPreviewFormComponent, selectors: [["british-columbia-incorporation-preview-form"]], inputs: { form: [1, "form"], actionsDisabled: [1, "actionsDisabled"], task: [1, "task"] }, outputs: { close: "close", next: "next" }, decls: 11, vars:
|
|
87296
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaIncorporationPreviewFormComponent, selectors: [["british-columbia-incorporation-preview-form"]], inputs: { form: [1, "form"], actionsDisabled: [1, "actionsDisabled"], task: [1, "task"], errors: [1, "errors"] }, outputs: { close: "close", next: "next" }, decls: 11, vars: 12, consts: [[1, "incorporation-preview-form"], [1, "incorporation-preview-form-content", 3, "form", "task", "errors", "statusIcon"], [1, "incorporation-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 BritishColumbiaIncorporationPreviewFormComponent_Template(rf, ctx) {
|
|
87430
87297
|
if (rf & 1) {
|
|
87431
87298
|
\u0275\u0275elementStart(0, "div", 0);
|
|
87432
87299
|
\u0275\u0275element(1, "british-columbia-incorporation-form", 1);
|
|
@@ -87449,15 +87316,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87449
87316
|
}
|
|
87450
87317
|
if (rf & 2) {
|
|
87451
87318
|
\u0275\u0275advance();
|
|
87452
|
-
\u0275\u0275property("form", ctx.form())("task", ctx.task())("statusIcon", false);
|
|
87319
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("statusIcon", false);
|
|
87453
87320
|
\u0275\u0275advance(2);
|
|
87454
87321
|
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
87455
87322
|
\u0275\u0275advance(2);
|
|
87456
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6,
|
|
87323
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 8, "Close"));
|
|
87457
87324
|
\u0275\u0275advance(2);
|
|
87458
87325
|
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
87459
87326
|
\u0275\u0275advance(2);
|
|
87460
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10,
|
|
87327
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 10, "File"));
|
|
87461
87328
|
}
|
|
87462
87329
|
}, dependencies: [MatButton, TranslatePipe, BritishColumbiaIncorporationFormComponent], styles: ["\n\n[_nghost-%COMP%] .incorporation-preview-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .incorporation-preview-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .incorporation-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%] .incorporation-preview-form-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n margin: 0;\n}\n/*# sourceMappingURL=british-columbia-incorporation-preview-form.component.css.map */"], changeDetection: 0 });
|
|
87463
87330
|
};
|
|
@@ -87469,6 +87336,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87469
87336
|
class="incorporation-preview-form-content"\r
|
|
87470
87337
|
[form]="form()"\r
|
|
87471
87338
|
[task]="task()"\r
|
|
87339
|
+
[errors]="errors()"\r
|
|
87472
87340
|
[statusIcon]="false"\r
|
|
87473
87341
|
/>\r
|
|
87474
87342
|
\r
|
|
@@ -87612,7 +87480,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87612
87480
|
\u0275\u0275listener("next", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_next_0_listener() {
|
|
87613
87481
|
\u0275\u0275restoreView(_r7);
|
|
87614
87482
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87615
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
87483
|
+
return \u0275\u0275resetView(ctx_r1.onFormationSubmit());
|
|
87616
87484
|
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_close_0_listener() {
|
|
87617
87485
|
\u0275\u0275restoreView(_r7);
|
|
87618
87486
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
@@ -87623,44 +87491,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87623
87491
|
if (rf & 2) {
|
|
87624
87492
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87625
87493
|
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
87626
|
-
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled());
|
|
87627
|
-
}
|
|
87628
|
-
}
|
|
87629
|
-
function BritishColumbiaComponent_Conditional_2_Conditional_2_Template(rf, ctx) {
|
|
87630
|
-
if (rf & 1) {
|
|
87631
|
-
const _r8 = \u0275\u0275getCurrentView();
|
|
87632
|
-
\u0275\u0275elementStart(0, "terms-and-conditions", 5);
|
|
87633
|
-
\u0275\u0275listener("prev", function BritishColumbiaComponent_Conditional_2_Conditional_2_Template_terms_and_conditions_prev_0_listener() {
|
|
87634
|
-
\u0275\u0275restoreView(_r8);
|
|
87635
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87636
|
-
return \u0275\u0275resetView(ctx_r1.prevStep.emit());
|
|
87637
|
-
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_2_Template_terms_and_conditions_close_0_listener() {
|
|
87638
|
-
\u0275\u0275restoreView(_r8);
|
|
87639
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87640
|
-
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87641
|
-
})("confirm", function BritishColumbiaComponent_Conditional_2_Conditional_2_Template_terms_and_conditions_confirm_0_listener($event) {
|
|
87642
|
-
\u0275\u0275restoreView(_r8);
|
|
87643
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87644
|
-
return \u0275\u0275resetView(ctx_r1.onFormationSubmit($event));
|
|
87645
|
-
});
|
|
87646
|
-
\u0275\u0275elementEnd();
|
|
87647
|
-
}
|
|
87648
|
-
if (rf & 2) {
|
|
87649
|
-
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87650
|
-
\u0275\u0275property("errors", ctx_r1.errors());
|
|
87494
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("errors", ctx_r1.errors())("actionsDisabled", ctx_r1.actionsDisabled());
|
|
87651
87495
|
}
|
|
87652
87496
|
}
|
|
87653
87497
|
function BritishColumbiaComponent_Conditional_2_Template(rf, ctx) {
|
|
87654
87498
|
if (rf & 1) {
|
|
87655
|
-
\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,
|
|
87499
|
+
\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, 4, "british-columbia-incorporation-preview-form", 7);
|
|
87656
87500
|
}
|
|
87657
87501
|
if (rf & 2) {
|
|
87658
87502
|
const ctx_r1 = \u0275\u0275nextContext();
|
|
87659
87503
|
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
87660
87504
|
\u0275\u0275advance();
|
|
87661
87505
|
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
87662
|
-
\u0275\u0275advance();
|
|
87663
|
-
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.TermsAndConditions ? 2 : -1);
|
|
87664
87506
|
}
|
|
87665
87507
|
}
|
|
87666
87508
|
var BritishColumbiaComponent;
|
|
@@ -87768,8 +87610,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87768
87610
|
this.deltaState.setBCFormationInitialDelta(delta);
|
|
87769
87611
|
this.saveFormationDeltaData.emit(delta);
|
|
87770
87612
|
}
|
|
87771
|
-
onFormationSubmit(
|
|
87772
|
-
this.formationSubmit.emit(
|
|
87613
|
+
onFormationSubmit() {
|
|
87614
|
+
this.formationSubmit.emit();
|
|
87773
87615
|
}
|
|
87774
87616
|
generateChangeOfDirectorsDeltaData() {
|
|
87775
87617
|
const c = BCChangeOfDirectorsFormControls;
|
|
@@ -87796,16 +87638,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87796
87638
|
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? null
|
|
87797
87639
|
};
|
|
87798
87640
|
}
|
|
87799
|
-
generateFormationDeltaData(
|
|
87641
|
+
generateFormationDeltaData() {
|
|
87800
87642
|
const formData = this.deltaForm().getRawValue();
|
|
87801
87643
|
const refNumbers = formData[BCFormationFormGroups.ReferenceNumbers];
|
|
87802
87644
|
const corpDetails = formData[BCFormationFormGroups.CorporationDetails];
|
|
87803
|
-
const notification = formData[BCFormationFormGroups.Notification];
|
|
87804
87645
|
const completingParty = formData[BCFormationFormGroups.CompletingParty];
|
|
87805
|
-
const isNamed2 = corpDetails?.[BCFormationFormControls.CorporationNameType] === BCNameType.Named;
|
|
87806
87646
|
const usesNameTranslation = Boolean(corpDetails?.[BCFormationFormControls.UsesNameTranslation]);
|
|
87807
87647
|
const nameTranslations = usesNameTranslation ? (corpDetails?.[BCFormationFormControls.NameTranslations] ?? []).map((row) => (row[BCFormationFormControls.NameTranslation] ?? "").trim()).filter(Boolean) : [];
|
|
87808
|
-
const notifyByMail = notification?.[BCFormationFormControls.NotificationMethod] === BCNotificationMethod.Mail;
|
|
87809
87648
|
const data = {
|
|
87810
87649
|
referenceNumbers: {
|
|
87811
87650
|
referenceNumber: refNumbers?.[BCFormationFormControls.ClientMatterNumber] ?? null,
|
|
@@ -87813,26 +87652,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87813
87652
|
},
|
|
87814
87653
|
entityDetails: {
|
|
87815
87654
|
corporationNameType: corpDetails?.[BCFormationFormControls.CorporationNameType] ?? null,
|
|
87816
|
-
|
|
87817
|
-
|
|
87655
|
+
// Kept for Numbered too so the name survives a save / reload; the payload mapper only
|
|
87656
|
+
// sends them when the type is Named.
|
|
87657
|
+
companyName: corpDetails?.[BCFormationFormControls.CompanyName] ?? null,
|
|
87658
|
+
nameReservationNumber: corpDetails?.[BCFormationFormControls.NameReservationNumber] ?? null,
|
|
87818
87659
|
usesNameTranslation,
|
|
87819
87660
|
nameTranslations,
|
|
87820
87661
|
companyEmail: corpDetails?.[BCFormationFormControls.CompanyEmail] ?? null,
|
|
87821
87662
|
password: corpDetails?.[BCFormationFormControls.CompanyPassword] ?? null
|
|
87822
87663
|
},
|
|
87823
|
-
notification: {
|
|
87824
|
-
method: notification?.[BCFormationFormControls.NotificationMethod] ?? null,
|
|
87825
|
-
email: notifyByMail ? null : notification?.[BCFormationFormControls.NotificationEmail] ?? null,
|
|
87826
|
-
name: notifyByMail ? notification?.[BCFormationFormControls.NotificationName] ?? null : null,
|
|
87827
|
-
mailAddress: notifyByMail ? {
|
|
87828
|
-
addressLine1: notification?.[BCFormationFormControls.AddressLine1] ?? null,
|
|
87829
|
-
addressLine2: notification?.[BCFormationFormControls.AddressLine2] ?? null,
|
|
87830
|
-
city: notification?.[BCFormationFormControls.City] ?? null,
|
|
87831
|
-
provinceState: notification?.[BCFormationFormControls.ProvinceState] ?? null,
|
|
87832
|
-
postalZip: notification?.[BCFormationFormControls.PostalZip] ?? null,
|
|
87833
|
-
country: notification?.[BCFormationFormControls.Country] ?? null
|
|
87834
|
-
} : void 0
|
|
87835
|
-
},
|
|
87836
87664
|
completingParty: {
|
|
87837
87665
|
firstName: completingParty?.[BCFormationFormControls.CompletingPartyFirstName] ?? null,
|
|
87838
87666
|
middleName: completingParty?.[BCFormationFormControls.CompletingPartyMiddleName] ?? null,
|
|
@@ -87850,10 +87678,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87850
87678
|
hasRequiredDocuments: Boolean(completingParty?.[BCFormationFormControls.HasRequiredDocuments])
|
|
87851
87679
|
}
|
|
87852
87680
|
};
|
|
87853
|
-
if (termsAndConditions) {
|
|
87854
|
-
data.signatoryFirstName = termsAndConditions.firstName;
|
|
87855
|
-
data.signatoryLastName = termsAndConditions.lastName;
|
|
87856
|
-
}
|
|
87857
87681
|
return data;
|
|
87858
87682
|
}
|
|
87859
87683
|
onClose() {
|
|
@@ -87886,17 +87710,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87886
87710
|
static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
|
|
87887
87711
|
return new (__ngFactoryType__ || _BritishColumbiaComponent)();
|
|
87888
87712
|
};
|
|
87889
|
-
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) {
|
|
87713
|
+
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", "errors", "actionsDisabled"], [3, "validate", "close", "save", "task", "errors", "isNote", "actionsDisabled", "form"], [3, "next", "close", "task", "form", "errors", "actionsDisabled"]], template: function BritishColumbiaComponent_Template(rf, ctx) {
|
|
87890
87714
|
if (rf & 1) {
|
|
87891
87715
|
\u0275\u0275declareLet(0);
|
|
87892
|
-
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 3, 3)(2, BritishColumbiaComponent_Conditional_2_Template,
|
|
87716
|
+
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 3, 3)(2, BritishColumbiaComponent_Conditional_2_Template, 2, 2);
|
|
87893
87717
|
}
|
|
87894
87718
|
if (rf & 2) {
|
|
87895
|
-
const
|
|
87719
|
+
const taskData_r8 = \u0275\u0275storeLet(ctx.task());
|
|
87896
87720
|
\u0275\u0275advance();
|
|
87897
|
-
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(
|
|
87721
|
+
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r8) ? 1 : -1);
|
|
87898
87722
|
\u0275\u0275advance();
|
|
87899
|
-
\u0275\u0275conditional(ctx.isFormationTask(
|
|
87723
|
+
\u0275\u0275conditional(ctx.isFormationTask(taskData_r8) ? 2 : -1);
|
|
87900
87724
|
}
|
|
87901
87725
|
}, dependencies: [
|
|
87902
87726
|
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
@@ -87915,7 +87739,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87915
87739
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
87916
87740
|
BritishColumbiaIncorporationPreviewFormComponent,
|
|
87917
87741
|
TermsAndConditionsComponent
|
|
87918
|
-
], 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 [
|
|
87742
|
+
], template: '@let taskData = this.task();\r\n\r\n@if (isChangeOfDirectorsTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-change-of-directors-delta-form\r\n [task]="taskData"\r\n [form]="deltaForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n (validate)="onChangeOfDirectorsValidate()"\r\n (close)="onClose()"\r\n (save)="onChangeOfDirectorsSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-change-of-directors-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [errors]="errors()"\r\n (close)="close.emit()"\r\n (file)="nextStep.emit()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.TermsAndConditions) {\r\n <terms-and-conditions\r\n [errors]="errors()"\r\n (prev)="prevStep.emit()"\r\n (close)="close.emit()"\r\n (confirm)="onChangeOfDirectorsSubmit($event)"\r\n />\r\n }\r\n}\r\n\r\n@if (isFormationTask(taskData)) {\r\n @if (activeStep() === steps.Validate) {\r\n <british-columbia-incorporation-delta-form\r\n [task]="taskData"\r\n [errors]="errors()"\r\n [isNote]="isNote()"\r\n [actionsDisabled]="actionsDisabled()"\r\n [form]="deltaForm()"\r\n (validate)="onFormationValidate()"\r\n (close)="onClose()"\r\n (save)="onFormationSave()"\r\n />\r\n }\r\n\r\n @if (activeStep() === steps.FilingPreview) {\r\n <british-columbia-incorporation-preview-form\r\n [task]="taskData"\r\n [form]="previewForm()"\r\n [errors]="errors()"\r\n [actionsDisabled]="actionsDisabled()"\r\n (next)="onFormationSubmit()"\r\n (close)="close.emit()"\r\n />\r\n }\r\n}\r\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"] }]
|
|
87919
87743
|
}], () => [], null);
|
|
87920
87744
|
})();
|
|
87921
87745
|
(() => {
|
|
@@ -93974,10 +93798,66 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93974
93798
|
/** POST /filings/ca/bc/incorporation – validates, stages and returns a draft PDF + ServiceOrderId. */
|
|
93975
93799
|
validate(_0, _1) {
|
|
93976
93800
|
return __async(this, arguments, function* (signature, requestBody, opts = {}) {
|
|
93801
|
+
return this.sendStagedIncorporation(signature, "POST", INCORPORATION_PATH, requestBody, opts);
|
|
93802
|
+
});
|
|
93803
|
+
}
|
|
93804
|
+
/** PUT /filings/ca/bc/incorporation/{serviceOrderId} – replaces a staged incorporation and returns a fresh draft PDF. */
|
|
93805
|
+
edit(_0, _1, _2) {
|
|
93806
|
+
return __async(this, arguments, function* (signature, serviceOrderId, requestBody, opts = {}) {
|
|
93807
|
+
if (!serviceOrderId) {
|
|
93808
|
+
throw new Error("Missing serviceOrderId.");
|
|
93809
|
+
}
|
|
93810
|
+
return this.sendStagedIncorporation(signature, "PUT", `${INCORPORATION_PATH}/${encodeURIComponent(serviceOrderId)}`, requestBody, opts);
|
|
93811
|
+
});
|
|
93812
|
+
}
|
|
93813
|
+
/** GET /filings/ca/bc/incorporation/{serviceOrderId} – retrieves the incorporation result. */
|
|
93814
|
+
getResult(_0, _1) {
|
|
93815
|
+
return __async(this, arguments, function* (signature, serviceOrderId, opts = {}) {
|
|
93816
|
+
ensureAuthInputs(signature);
|
|
93817
|
+
if (!serviceOrderId) {
|
|
93818
|
+
throw new Error("Missing serviceOrderId.");
|
|
93819
|
+
}
|
|
93820
|
+
const fetchFn = opts.fetchImpl ?? fetch;
|
|
93821
|
+
const resp = yield fetchWithJwtRetry(signature, () => fetchFn(signature.proxyApiUrl, {
|
|
93822
|
+
method: "GET",
|
|
93823
|
+
headers: {
|
|
93824
|
+
Authorization: `Bearer ${signature.jwtToken}`,
|
|
93825
|
+
"x-target-url": this.targetUrl(signature.env, `${INCORPORATION_PATH}/${encodeURIComponent(serviceOrderId)}`)
|
|
93826
|
+
}
|
|
93827
|
+
}));
|
|
93828
|
+
const raw = yield resp.text();
|
|
93829
|
+
const parsed = tryParseJson(raw);
|
|
93830
|
+
if (!parsed.ok) {
|
|
93831
|
+
const err = new Error(`eCore retrieve returned ${resp.status} ${resp.statusText}: ${raw || "(empty response)"}`);
|
|
93832
|
+
err.httpStatus = resp.status;
|
|
93833
|
+
throw err;
|
|
93834
|
+
}
|
|
93835
|
+
const payload = unwrapRequestResults(parsed.value);
|
|
93836
|
+
if (!resp.ok) {
|
|
93837
|
+
const result = {
|
|
93838
|
+
Status: payload?.status,
|
|
93839
|
+
Errors: toValidateErrors(payload) ?? [{ Message: `HTTP ${resp.status}` }]
|
|
93840
|
+
};
|
|
93841
|
+
const err = buildGenericError(resp.status, "eCore retrieve failed", result);
|
|
93842
|
+
err.httpStatus = resp.status;
|
|
93843
|
+
throw err;
|
|
93844
|
+
}
|
|
93845
|
+
return payload;
|
|
93846
|
+
});
|
|
93847
|
+
}
|
|
93848
|
+
/** Shared by validate (POST) and edit (PUT): both stage the incorporation and return a draft + ServiceOrderId. */
|
|
93849
|
+
sendStagedIncorporation(signature, method, path, requestBody, opts) {
|
|
93850
|
+
return __async(this, null, function* () {
|
|
93977
93851
|
ensureAuthInputs(signature);
|
|
93978
93852
|
const fetchFn = opts.fetchImpl ?? fetch;
|
|
93979
|
-
const resp = yield fetchWithJwtRetry(signature, () =>
|
|
93980
|
-
|
|
93853
|
+
const resp = yield fetchWithJwtRetry(signature, () => fetchFn(signature.proxyApiUrl, {
|
|
93854
|
+
method,
|
|
93855
|
+
headers: {
|
|
93856
|
+
"Content-Type": "application/json",
|
|
93857
|
+
Authorization: `Bearer ${signature.jwtToken}`,
|
|
93858
|
+
"x-target-url": this.targetUrl(signature.env, path)
|
|
93859
|
+
},
|
|
93860
|
+
body: JSON.stringify(requestBody)
|
|
93981
93861
|
}));
|
|
93982
93862
|
const raw = yield resp.text();
|
|
93983
93863
|
const parsed = tryParseJson(raw);
|
|
@@ -94166,11 +94046,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94166
94046
|
});
|
|
94167
94047
|
}
|
|
94168
94048
|
getOnbisOrigin() {
|
|
94169
|
-
const filingUrl = this.config?.
|
|
94049
|
+
const filingUrl = this.config?.BCFiling;
|
|
94170
94050
|
if (!filingUrl) {
|
|
94171
|
-
throw new Error("BritishColumbiaChangeOfDirectorsService: missing EnvConfig.
|
|
94051
|
+
throw new Error("BritishColumbiaChangeOfDirectorsService: missing EnvConfig.BCFiling.");
|
|
94172
94052
|
}
|
|
94173
|
-
return
|
|
94053
|
+
return filingUrl.replace(/\/$/, "");
|
|
94174
94054
|
}
|
|
94175
94055
|
static \u0275fac = function BritishColumbiaChangeOfDirectorsService_Factory(__ngFactoryType__) {
|
|
94176
94056
|
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsService)();
|
|
@@ -94190,8 +94070,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94190
94070
|
|
|
94191
94071
|
// src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts
|
|
94192
94072
|
function buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData) {
|
|
94073
|
+
const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors ?? task.deltaData?.validatedData?.filing;
|
|
94193
94074
|
const incomingDirectors = (task.incomingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
94194
94075
|
const outgoingDirectors = (task.outgoingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
94076
|
+
const addedDirectors = [...source?.AddedDirectors ?? [], ...source?.AddDirector ?? [], ...source?.addDirectors ?? []];
|
|
94077
|
+
const ceasedDirectors = [...source?.CeasedDirectors ?? [], ...source?.CeaseDirector ?? [], ...source?.ceaseDirectors ?? []];
|
|
94078
|
+
const editedDirectors = [...source?.EditedDirectors ?? [], ...source?.EditDirector ?? [], ...source?.editDirectors ?? []];
|
|
94195
94079
|
const companyEmail = findCompanyEmail(task);
|
|
94196
94080
|
const serviceOrderId = deltaData.serviceOrderId;
|
|
94197
94081
|
return __spreadValues({
|
|
@@ -94201,9 +94085,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94201
94085
|
docket: deltaData.referenceNumbers.docketNumber ?? null,
|
|
94202
94086
|
addOrDeleteDirectors: deltaData.filingDetails.directorsAddedOrDeleted,
|
|
94203
94087
|
effectiveDate: toYyyyMmDd(deltaData.filingDetails.changeDate) ?? toYyyyMmDd(/* @__PURE__ */ new Date()),
|
|
94204
|
-
addDirectors: incomingDirectors.map((affiliation) => buildDirector(affiliation)),
|
|
94205
|
-
ceaseDirectors: outgoingDirectors.map((affiliation) => buildDirector(affiliation)),
|
|
94206
|
-
editDirectors: [],
|
|
94088
|
+
addDirectors: (incomingDirectors.length ? incomingDirectors : addedDirectors).map((affiliation) => buildDirector(affiliation)),
|
|
94089
|
+
ceaseDirectors: (outgoingDirectors.length ? outgoingDirectors : ceasedDirectors).map((affiliation) => buildDirector(affiliation)),
|
|
94090
|
+
editDirectors: editedDirectors.length ? editedDirectors.map((director) => buildDirector(director)) : [],
|
|
94207
94091
|
companyEmail,
|
|
94208
94092
|
isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
|
|
94209
94093
|
}
|
|
@@ -94213,15 +94097,54 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94213
94097
|
return isPrincipalAffiliation2(affiliation) && affiliation.role?.role_name === "Director";
|
|
94214
94098
|
}
|
|
94215
94099
|
function buildDirector(affiliation) {
|
|
94100
|
+
if (affiliation?.PersonName || affiliation?.personName || affiliation?.firstName || affiliation?.FirstName) {
|
|
94101
|
+
const name = affiliation.PersonName ?? affiliation.personName ?? affiliation;
|
|
94102
|
+
return {
|
|
94103
|
+
firstName: name.FirstName ?? name.firstName ?? "",
|
|
94104
|
+
middleName: name.MiddleName ?? name.middleName ?? "",
|
|
94105
|
+
lastName: name.LastName ?? name.lastName ?? "",
|
|
94106
|
+
mailingAddress: affiliation.mailingAddress ?? affiliation.MailingAddress,
|
|
94107
|
+
deliveryAddress: affiliation.deliveryAddress ?? affiliation.DeliveryAddress,
|
|
94108
|
+
isDeliveryAddressSameAsMailing: affiliation.isDeliveryAddressSameAsMailing
|
|
94109
|
+
};
|
|
94110
|
+
}
|
|
94216
94111
|
const profile = affiliation.participant?._profile ?? {};
|
|
94217
94112
|
const addresses = getAffiliationAddresses(affiliation);
|
|
94113
|
+
const mailingAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Mailing"));
|
|
94114
|
+
const deliveryAddress = mapAddress4(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery"));
|
|
94218
94115
|
return {
|
|
94219
94116
|
firstName: profile.firstName ?? "",
|
|
94220
94117
|
middleName: profile.middleName ?? "",
|
|
94221
94118
|
lastName: profile.lastName ?? "",
|
|
94119
|
+
mailingAddress,
|
|
94120
|
+
deliveryAddress,
|
|
94222
94121
|
isDeliveryAddressSameAsMailing: isDeliveryAddressSameAsMailing(addresses)
|
|
94223
94122
|
};
|
|
94224
94123
|
}
|
|
94124
|
+
function mapAddress4(address) {
|
|
94125
|
+
if (!address)
|
|
94126
|
+
return void 0;
|
|
94127
|
+
const raw = address;
|
|
94128
|
+
const postalAddress = raw.PostalAddress ?? raw.postalAddress;
|
|
94129
|
+
const source = postalAddress?.AddressCA ?? postalAddress?.AddressUS ?? postalAddress?.AddressINTL ?? raw;
|
|
94130
|
+
const streetNumber = address.components?.find((component) => component.name === "Street Number Only")?.value;
|
|
94131
|
+
const streetName = address.components?.find((component) => component.name === "Street Only")?.value;
|
|
94132
|
+
const suite = address.components?.find((component) => component.name === "Suite/Apartment")?.value;
|
|
94133
|
+
const streetAddress = [streetNumber, streetName].filter(Boolean).join(" ") || address.components?.find((component) => component.name === "Street Address")?.value || source.streetAddress || source.Address1 || raw.street || "";
|
|
94134
|
+
const country = source.country ?? source.CountryCodeName ?? raw.country ?? "";
|
|
94135
|
+
const postal = source.postalOrZipCode ?? source.PostCode ?? source.postalZip ?? raw.postal_zip ?? "";
|
|
94136
|
+
return {
|
|
94137
|
+
streetAddress: [streetAddress, suite].filter(Boolean).join(", "),
|
|
94138
|
+
city: source.city ?? source.CityTown ?? raw.city ?? "",
|
|
94139
|
+
provinceState: source.provinceState ?? source.RegionName ?? raw.province_state ?? "",
|
|
94140
|
+
country,
|
|
94141
|
+
postalOrZipCode: country === "CA" ? normalizeCanadianPostal(postal) : postal
|
|
94142
|
+
};
|
|
94143
|
+
}
|
|
94144
|
+
function normalizeCanadianPostal(value) {
|
|
94145
|
+
const compact = value.replace(/[\s-]+/g, "").toUpperCase();
|
|
94146
|
+
return /^[A-Z]\d[A-Z]\d[A-Z]\d$/.test(compact) ? `${compact.slice(0, 3)} ${compact.slice(3)}` : value;
|
|
94147
|
+
}
|
|
94225
94148
|
function findCompanyEmail(task) {
|
|
94226
94149
|
const affiliations = task.entity.affiliations ?? [];
|
|
94227
94150
|
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
@@ -94736,7 +94659,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94736
94659
|
delete this.task()?.deltaData.validatedData;
|
|
94737
94660
|
}
|
|
94738
94661
|
this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
|
|
94739
|
-
serviceOrderId,
|
|
94662
|
+
serviceOrderId: serviceOrderId || task.deltaData?.serviceOrderId || "",
|
|
94740
94663
|
validatedData: JSON.parse(JSON.stringify(requestBody))
|
|
94741
94664
|
}));
|
|
94742
94665
|
this.close.emit();
|
|
@@ -94749,10 +94672,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94749
94672
|
}
|
|
94750
94673
|
onBritishColumbiaChangeOfDirectorsSave(deltaData) {
|
|
94751
94674
|
const oldDeltaData = this.task()?.deltaData;
|
|
94675
|
+
const persistedDirectorChanges = oldDeltaData?.changeDirectors ?? oldDeltaData?.validatedData?.filing ?? oldDeltaData?.validatedData?.ChangeDirectors;
|
|
94752
94676
|
if (oldDeltaData) {
|
|
94753
94677
|
delete this.task()?.deltaData;
|
|
94754
94678
|
}
|
|
94755
|
-
this.deltaDataChange.emit(deltaData);
|
|
94679
|
+
this.deltaDataChange.emit(__spreadValues(__spreadValues({}, deltaData), persistedDirectorChanges ? { changeDirectors: persistedDirectorChanges } : {}));
|
|
94756
94680
|
}
|
|
94757
94681
|
onBritishColumbiaChangeOfDirectorsSubmit() {
|
|
94758
94682
|
return __async(this, null, function* () {
|
|
@@ -94760,7 +94684,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94760
94684
|
this.isLoading.set(true);
|
|
94761
94685
|
this.errors.set([]);
|
|
94762
94686
|
const signature = this._signature();
|
|
94763
|
-
const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
|
|
94687
|
+
const serviceOrderId = this.task()?.deltaData?.serviceOrderId ?? this.serviceOrderId;
|
|
94764
94688
|
if (!signature || !serviceOrderId) {
|
|
94765
94689
|
throw new Error("Missing serviceOrderId.");
|
|
94766
94690
|
}
|
|
@@ -94805,7 +94729,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
94805
94729
|
searchOrFilingType,
|
|
94806
94730
|
serviceOrderId,
|
|
94807
94731
|
validatedOn: /* @__PURE__ */ new Date(),
|
|
94808
|
-
provider: "
|
|
94732
|
+
provider: "bcreg",
|
|
94809
94733
|
draftPdf: response.Draft ?? "",
|
|
94810
94734
|
documentName: this.validateOptions()?.documentName ?? "Incorporation Draft",
|
|
94811
94735
|
documentType: "pdf"
|
|
@@ -95201,6 +95125,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95201
95125
|
initialDelta = isOntarioTask(task) ? this.deltaState.formationInitialDelta() : isBritishColumbiaTask(task) ? this.deltaState.bcFormationInitialDelta() : this.deltaState.federalFormationInitialDelta();
|
|
95202
95126
|
} else if (isUpdateMaintain(task)) {
|
|
95203
95127
|
initialDelta = isOntarioTask(task) ? this.deltaState.initialReturnInitialDelta() : this.deltaState.federalUpdateMaintainInitialDelta();
|
|
95128
|
+
} else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
95129
|
+
initialDelta = this.deltaState.bcChangeOfDirectorsInitialDelta();
|
|
95204
95130
|
}
|
|
95205
95131
|
const deltaChanged = !deepEqual(normalizeForCompare(initialDelta), normalizeForCompare(copy));
|
|
95206
95132
|
const taskFromDeltaData = task.deltaData.validatedData;
|
|
@@ -95334,30 +95260,60 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95334
95260
|
@let currentTask = task();\r
|
|
95335
95261
|
\r
|
|
95336
95262
|
@if (currentTask) {\r
|
|
95337
|
-
|
|
95338
|
-
|
|
95339
|
-
|
|
95340
|
-
|
|
95341
|
-
|
|
95342
|
-
|
|
95343
|
-
|
|
95344
|
-
|
|
95345
|
-
|
|
95346
|
-
|
|
95347
|
-
|
|
95348
|
-
|
|
95349
|
-
|
|
95350
|
-
|
|
95351
|
-
|
|
95352
|
-
|
|
95353
|
-
|
|
95354
|
-
|
|
95355
|
-
|
|
95356
|
-
|
|
95357
|
-
|
|
95358
|
-
|
|
95359
|
-
|
|
95360
|
-
|
|
95263
|
+
@if (isOntarioTask(currentTask)) {\r
|
|
95264
|
+
<ontario\r
|
|
95265
|
+
[task]="currentTask"\r
|
|
95266
|
+
[activeStep]="activeStep()"\r
|
|
95267
|
+
[isNote]="dataWasChanged()"\r
|
|
95268
|
+
[actionsDisabled]="isLoading()"\r
|
|
95269
|
+
[errors]="errors()"\r
|
|
95270
|
+
[prevData]="prevData()"\r
|
|
95271
|
+
(close)="close.emit()"\r
|
|
95272
|
+
(formationValidate)="onOntarioFormationValidate($event)"\r
|
|
95273
|
+
(saveFormationDeltaData)="onOntarioFormationSave($event)"\r
|
|
95274
|
+
(formationSubmit)="onOntarioFormationSubmit()"\r
|
|
95275
|
+
(nextStep)="onNextStepClick()"\r
|
|
95276
|
+
(prevStep)="onOntarioPrevStep()"\r
|
|
95277
|
+
[irValidationConfig]="validationConfig()"\r
|
|
95278
|
+
(irValidate)="validateAndFileInitialReturnTask($event)"\r
|
|
95279
|
+
(saveIrDeltaData)="onOntarioUpdateMaintainSave($event)"\r
|
|
95280
|
+
(irSubmit)="onInitialReturnSubmit()"\r
|
|
95281
|
+
/>\r
|
|
95282
|
+
} @else if (isBritishColumbiaTask(currentTask)) {\r
|
|
95283
|
+
<british-columbia\r
|
|
95284
|
+
[task]="currentTask"\r
|
|
95285
|
+
[currentUser]="currentUser()"\r
|
|
95286
|
+
[activeStep]="activeStep()"\r
|
|
95287
|
+
[isNote]="dataWasChanged()"\r
|
|
95288
|
+
[actionsDisabled]="isLoading()"\r
|
|
95289
|
+
[errors]="errors()"\r
|
|
95290
|
+
(close)="close.emit()"\r
|
|
95291
|
+
(nextStep)="onNextStepClick()"\r
|
|
95292
|
+
(prevStep)="onOntarioPrevStep()"\r
|
|
95293
|
+
(codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
|
|
95294
|
+
(saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
|
|
95295
|
+
(codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
|
|
95296
|
+
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
95297
|
+
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
95298
|
+
(formationSubmit)="onBritishColumbiaFormationSubmit()"\r
|
|
95299
|
+
/>\r
|
|
95300
|
+
} @else {\r
|
|
95301
|
+
<federal\r
|
|
95302
|
+
[actionsDisabled]="isLoading()"\r
|
|
95303
|
+
[isNote]="dataWasChanged()"\r
|
|
95304
|
+
[activeStep]="activeStep()"\r
|
|
95305
|
+
[task]="currentTask"\r
|
|
95306
|
+
[errors]="errors()"\r
|
|
95307
|
+
(close)="close.emit()"\r
|
|
95308
|
+
(deltaDataChange)="onFederalFormationSave($event)"\r
|
|
95309
|
+
(file)="onFederalFormationSubmit()"\r
|
|
95310
|
+
(validate)="onFederalValidate($event)"\r
|
|
95311
|
+
(umSave)="onFederalUpdateMaintainSave($event)"\r
|
|
95312
|
+
(umValidate)="onFederalUpdateMaintainValidate($event)"\r
|
|
95313
|
+
(umSubmit)="onFederalUpdateMaintainSubmit()"\r
|
|
95314
|
+
(nextStep)="defineInitialStep()"\r
|
|
95315
|
+
/>\r
|
|
95316
|
+
}\r
|
|
95361
95317
|
}\r
|
|
95362
95318
|
\r
|
|
95363
95319
|
@if (isLoading()) {\r
|
|
@@ -95366,7 +95322,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95366
95322
|
</div>\r
|
|
95367
95323
|
}\r
|
|
95368
95324
|
</div>\r
|
|
95369
|
-
</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'] }]
|
|
95325
|
+
</div>\r
|
|
95326
|
+
`, 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'] }]
|
|
95370
95327
|
}], () => [], null);
|
|
95371
95328
|
})();
|
|
95372
95329
|
(() => {
|
|
@@ -99977,8 +99934,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
99977
99934
|
"Filing Fee": "Filing Fee",
|
|
99978
99935
|
"File British Columbia Articles of Incorporation": "File British Columbia Articles of Incorporation",
|
|
99979
99936
|
Named: "Named",
|
|
99980
|
-
"
|
|
99981
|
-
"Name Reservation
|
|
99937
|
+
"Proposed Corporate Name": "Proposed Corporate Name",
|
|
99938
|
+
"Name Reservation #": "Name Reservation #",
|
|
99982
99939
|
"Name preview \u2014 appears exactly as entered": "Name preview \u2014 appears exactly as entered",
|
|
99983
99940
|
"Company Email": "Company Email",
|
|
99984
99941
|
"There is an additional fee of {{fee}} for an effective date in the future.": "There is an additional fee of {{fee}} for an effective date in the future.",
|
|
@@ -100324,8 +100281,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
100324
100281
|
"Incorporation Number": "Num\xE9ro de constitution",
|
|
100325
100282
|
"Filing Fee": "Frais de d\xE9p\xF4t",
|
|
100326
100283
|
Named: "D\xE9nomination",
|
|
100327
|
-
"
|
|
100328
|
-
"Name Reservation
|
|
100284
|
+
"Proposed Corporate Name": "D\xE9nomination sociale propos\xE9e",
|
|
100285
|
+
"Name Reservation #": "N\xB0 de r\xE9servation de nom (NR)",
|
|
100329
100286
|
"Name preview \u2014 appears exactly as entered": "Aper\xE7u du nom \u2014 appara\xEEt exactement tel que saisi",
|
|
100330
100287
|
"Company Email": "Courriel de la soci\xE9t\xE9",
|
|
100331
100288
|
"There is an additional fee of {{fee}} for an effective date in the future.": "Des frais suppl\xE9mentaires de {{fee}} s'appliquent pour une date d'entr\xE9e en vigueur future.",
|