@dyedurham/search-and-file-widget 2.0.74 → 2.0.76
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 +2162 -338
- package/dyedurham-search-and-file-widget-2.0.76.tgz +0 -0
- package/package.json +11 -11
package/dnd-filing-shell.js
CHANGED
|
@@ -58082,6 +58082,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58082
58082
|
function isOntarioTask(task) {
|
|
58083
58083
|
return task.entity._compliance.home_jurisdiction === "Ontario";
|
|
58084
58084
|
}
|
|
58085
|
+
function isChangeOfPrincipalsTask(task) {
|
|
58086
|
+
return task?._taskType === TaskType.ChangeOfPrincipals;
|
|
58087
|
+
}
|
|
58085
58088
|
function isBritishColumbiaTask(task) {
|
|
58086
58089
|
return task.entity._compliance.home_jurisdiction === "British Columbia";
|
|
58087
58090
|
}
|
|
@@ -58106,7 +58109,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58106
58109
|
if (!task) {
|
|
58107
58110
|
return void 0;
|
|
58108
58111
|
}
|
|
58109
|
-
const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "
|
|
58112
|
+
const prefix = isOntarioTask(task) ? "ontario" : isBritishColumbiaTask(task) ? "britishColumbia" : "federal";
|
|
58110
58113
|
if (isFormationTask2(task)) {
|
|
58111
58114
|
return `${prefix}Incorporation`;
|
|
58112
58115
|
}
|
|
@@ -58119,6 +58122,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58119
58122
|
if (isAnnualReturnTask(task)) {
|
|
58120
58123
|
return `${prefix}AnnualReturn`;
|
|
58121
58124
|
}
|
|
58125
|
+
if (isChangeOfPrincipalsTask(task)) {
|
|
58126
|
+
return `${prefix}NoticeOfChangeOfDirectors`;
|
|
58127
|
+
}
|
|
58122
58128
|
return void 0;
|
|
58123
58129
|
}
|
|
58124
58130
|
function markFormGroupTouched(formGroup) {
|
|
@@ -80206,12 +80212,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80206
80212
|
});
|
|
80207
80213
|
\u0275\u0275elementEnd();
|
|
80208
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);
|
|
80209
|
-
\u0275\
|
|
80210
|
-
\u0275\
|
|
80211
|
-
\u0275\
|
|
80215
|
+
\u0275\u0275elementStart(9, "mat-error");
|
|
80216
|
+
\u0275\u0275text(10);
|
|
80217
|
+
\u0275\u0275pipe(11, "translate");
|
|
80212
80218
|
\u0275\u0275pipe(12, "translate");
|
|
80213
80219
|
\u0275\u0275pipe(13, "translate");
|
|
80214
|
-
\u0275\u0275pipe(14, "translate");
|
|
80215
80220
|
\u0275\u0275elementEnd()();
|
|
80216
80221
|
}
|
|
80217
80222
|
if (rf & 2) {
|
|
@@ -80220,8 +80225,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80220
80225
|
\u0275\u0275nextContext(2);
|
|
80221
80226
|
const previousValue_r13 = \u0275\u0275readContextLet(0);
|
|
80222
80227
|
const field_r3 = \u0275\u0275nextContext().$implicit;
|
|
80223
|
-
\u0275\u0275nextContext();
|
|
80224
|
-
const form_r4 = \u0275\u0275readContextLet(1);
|
|
80225
80228
|
\u0275\u0275classProp("warning", !!previousValue_r13)("body-1-semibold", field_r3.bold);
|
|
80226
80229
|
\u0275\u0275advance();
|
|
80227
80230
|
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(2, 14, field_r3.label) + (field_r3.required ? " *" : ""), " ");
|
|
@@ -80236,15 +80239,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80236
80239
|
\u0275\u0275conditional(previousValue_r13 != null ? 7 : -1);
|
|
80237
80240
|
\u0275\u0275advance();
|
|
80238
80241
|
\u0275\u0275conditional(previousValue_r13 != null ? 8 : -1);
|
|
80239
|
-
|
|
80240
|
-
\u0275\
|
|
80241
|
-
\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"));
|
|
80242
|
+
\u0275\u0275advance(2);
|
|
80243
|
+
\u0275\u0275textInterpolate(field_r3.errorMessage ? \u0275\u0275pipeBind1(11, 16, field_r3.errorMessage) : \u0275\u0275pipeBind1(12, 18, field_r3.label) + " " + \u0275\u0275pipeBind1(13, 20, "is required"));
|
|
80242
80244
|
}
|
|
80243
80245
|
}
|
|
80244
80246
|
function FilingFormGroupComponent_For_5_Conditional_0_Case_7_Template(rf, ctx) {
|
|
80245
80247
|
if (rf & 1) {
|
|
80246
80248
|
\u0275\u0275elementStart(0, "div");
|
|
80247
|
-
\u0275\u0275template(1, FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Template,
|
|
80249
|
+
\u0275\u0275template(1, FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Template, 14, 22);
|
|
80248
80250
|
\u0275\u0275elementEnd();
|
|
80249
80251
|
}
|
|
80250
80252
|
if (rf & 2) {
|
|
@@ -80260,14 +80262,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80260
80262
|
}
|
|
80261
80263
|
function FilingFormGroupComponent_For_5_Conditional_0_Case_8_Conditional_1_Template(rf, ctx) {
|
|
80262
80264
|
if (rf & 1) {
|
|
80263
|
-
const
|
|
80265
|
+
const _r27 = \u0275\u0275getCurrentView();
|
|
80264
80266
|
\u0275\u0275elementStart(0, "span", 8);
|
|
80265
80267
|
\u0275\u0275text(1);
|
|
80266
80268
|
\u0275\u0275pipe(2, "translate");
|
|
80267
80269
|
\u0275\u0275elementEnd();
|
|
80268
80270
|
\u0275\u0275elementStart(3, "mat-form-field", 9)(4, "textarea", 37);
|
|
80269
80271
|
\u0275\u0275listener("change", function FilingFormGroupComponent_For_5_Conditional_0_Case_8_Conditional_1_Template_textarea_change_4_listener() {
|
|
80270
|
-
\u0275\u0275restoreView(
|
|
80272
|
+
\u0275\u0275restoreView(_r27);
|
|
80271
80273
|
const field_r3 = \u0275\u0275nextContext(3).$implicit;
|
|
80272
80274
|
\u0275\u0275nextContext();
|
|
80273
80275
|
const form_r4 = \u0275\u0275readContextLet(1);
|
|
@@ -80314,14 +80316,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80314
80316
|
}
|
|
80315
80317
|
if (rf & 2) {
|
|
80316
80318
|
\u0275\u0275nextContext();
|
|
80317
|
-
const
|
|
80319
|
+
const label_r28 = \u0275\u0275readContextLet(0);
|
|
80318
80320
|
const ctx_r13 = \u0275\u0275nextContext(2);
|
|
80319
80321
|
const field_r3 = ctx_r13.$implicit;
|
|
80320
80322
|
const \u0275$index_7_r15 = ctx_r13.$index;
|
|
80321
80323
|
const \u0275$count_7_r16 = ctx_r13.$count;
|
|
80322
80324
|
\u0275\u0275classMap(field_r3.class);
|
|
80323
80325
|
\u0275\u0275classProp("last", \u0275$index_7_r15 === \u0275$count_7_r16 - 1)("body-1-semibold", field_r3.bold);
|
|
80324
|
-
\u0275\u0275property("innerHTML",
|
|
80326
|
+
\u0275\u0275property("innerHTML", label_r28, \u0275\u0275sanitizeHtml);
|
|
80325
80327
|
}
|
|
80326
80328
|
}
|
|
80327
80329
|
function FilingFormGroupComponent_For_5_Conditional_0_Case_10_Template(rf, ctx) {
|
|
@@ -80333,9 +80335,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80333
80335
|
const field_r3 = \u0275\u0275nextContext(2).$implicit;
|
|
80334
80336
|
const ctx_r8 = \u0275\u0275nextContext();
|
|
80335
80337
|
const form_r4 = \u0275\u0275readContextLet(1);
|
|
80336
|
-
const
|
|
80338
|
+
const label_r29 = \u0275\u0275storeLet(field_r3.dynamicLabel ? field_r3.dynamicLabel(form_r4, ctx_r8.translateFn, ctx_r8.prevData()) : field_r3.label);
|
|
80337
80339
|
\u0275\u0275advance();
|
|
80338
|
-
\u0275\u0275conditional(
|
|
80340
|
+
\u0275\u0275conditional(label_r29 ? 1 : -1);
|
|
80339
80341
|
}
|
|
80340
80342
|
}
|
|
80341
80343
|
function FilingFormGroupComponent_For_5_Conditional_0_Template(rf, ctx) {
|
|
@@ -80512,14 +80514,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80512
80514
|
\u0275\u0275elementEnd()();
|
|
80513
80515
|
}
|
|
80514
80516
|
if (rf & 2) {
|
|
80515
|
-
const
|
|
80517
|
+
const fields_r30 = ctx.config();
|
|
80516
80518
|
\u0275\u0275advance();
|
|
80517
|
-
const
|
|
80519
|
+
const form_r31 = \u0275\u0275storeLet(ctx.form());
|
|
80518
80520
|
\u0275\u0275advance(2);
|
|
80519
80521
|
\u0275\u0275classProp("submitted", ctx.isSubmitted());
|
|
80520
|
-
\u0275\u0275property("formGroup",
|
|
80522
|
+
\u0275\u0275property("formGroup", form_r31);
|
|
80521
80523
|
\u0275\u0275advance();
|
|
80522
|
-
\u0275\u0275repeater(
|
|
80524
|
+
\u0275\u0275repeater(fields_r30);
|
|
80523
80525
|
}
|
|
80524
80526
|
}, dependencies: [
|
|
80525
80527
|
MatFormField,
|
|
@@ -80775,8 +80777,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
80775
80777
|
<mat-icon [class.warning]="true" class="filling-form-fields-item-icon" matSuffix>warning_amber</mat-icon>\r
|
|
80776
80778
|
}\r
|
|
80777
80779
|
\r
|
|
80778
|
-
|
|
80779
|
-
<mat-error>{{ field.errorMessage && !(field.showRequiredMessage && (inputControl?.hasError('require') || inputControl?.hasError('required'))) ? (field.errorMessage | translate) : (field.label | translate) + ' ' + ('is required' | translate) }}</mat-error>\r
|
|
80780
|
+
<mat-error>{{ field.errorMessage ? (field.errorMessage | translate) : (field.label | translate) + ' ' + ('is required' | translate) }}</mat-error>\r
|
|
80780
80781
|
</mat-form-field>\r
|
|
80781
80782
|
}\r
|
|
80782
80783
|
</div>\r
|
|
@@ -81298,6 +81299,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81298
81299
|
initialReturnInitialDelta = signal(null);
|
|
81299
81300
|
federalFormationInitialDelta = signal(null);
|
|
81300
81301
|
federalUpdateMaintainInitialDelta = signal(null);
|
|
81302
|
+
bcChangeOfDirectorsInitialDelta = signal(null);
|
|
81301
81303
|
bcFormationInitialDelta = signal(null);
|
|
81302
81304
|
setFormationInitialDelta(delta) {
|
|
81303
81305
|
this.formationInitialDelta.set(delta);
|
|
@@ -81314,11 +81316,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
81314
81316
|
setFederalUpdateMaintainInitialDelta(delta) {
|
|
81315
81317
|
this.federalUpdateMaintainInitialDelta.set(delta);
|
|
81316
81318
|
}
|
|
81319
|
+
setBCChangeOfDirectorsInitialDelta(delta) {
|
|
81320
|
+
this.bcChangeOfDirectorsInitialDelta.set(delta);
|
|
81321
|
+
}
|
|
81317
81322
|
reset() {
|
|
81318
81323
|
this.formationInitialDelta.set(null);
|
|
81319
81324
|
this.initialReturnInitialDelta.set(null);
|
|
81320
81325
|
this.federalFormationInitialDelta.set(null);
|
|
81321
81326
|
this.federalUpdateMaintainInitialDelta.set(null);
|
|
81327
|
+
this.bcChangeOfDirectorsInitialDelta.set(null);
|
|
81322
81328
|
this.bcFormationInitialDelta.set(null);
|
|
81323
81329
|
}
|
|
81324
81330
|
static \u0275fac = function DeltaStateService_Factory(__ngFactoryType__) {
|
|
@@ -84126,10 +84132,95 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84126
84132
|
}
|
|
84127
84133
|
});
|
|
84128
84134
|
|
|
84135
|
+
// 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, BC_PROVINCE_STATE_OPTIONS, BC_COUNTRY_OPTIONS, BC_DEFAULT_PROVINCE_STATE, BC_DEFAULT_COUNTRY, BC_FUTURE_EFFECTIVE_DATE_FEE, BC_PASSWORD_MIN_LENGTH, BC_PASSWORD_MAX_LENGTH, BC_PASSWORD_PATTERN, BC_COMPANY_EMAIL_MAX_LENGTH, BC_NAME_RESERVATION_MAX_LENGTH, BC_NAME_RESERVATION_PATTERN, BC_COMPLETING_PARTY_COUNTRY_OPTIONS;
|
|
84137
|
+
var init_BritishColumbiaConstants = __esm({
|
|
84138
|
+
"src/app/constants/BritishColumbiaConstants.ts"() {
|
|
84139
|
+
init_app_enums();
|
|
84140
|
+
init_common_constants();
|
|
84141
|
+
(function(BCNameType2) {
|
|
84142
|
+
BCNameType2[BCNameType2["Numbered"] = 1] = "Numbered";
|
|
84143
|
+
BCNameType2[BCNameType2["Named"] = 2] = "Named";
|
|
84144
|
+
})(BCNameType || (BCNameType = {}));
|
|
84145
|
+
BCNameTypeLabel = {
|
|
84146
|
+
[BCNameType.Numbered]: "Numbered",
|
|
84147
|
+
[BCNameType.Named]: "Named"
|
|
84148
|
+
};
|
|
84149
|
+
BC_NUMBERED_NAME_PREVIEW = "[Incorporation Number] B.C. LTD.";
|
|
84150
|
+
(function(BCNotificationMethod2) {
|
|
84151
|
+
BCNotificationMethod2["Email"] = "email";
|
|
84152
|
+
BCNotificationMethod2["Mail"] = "mail";
|
|
84153
|
+
})(BCNotificationMethod || (BCNotificationMethod = {}));
|
|
84154
|
+
BCNotificationMethodLabel = {
|
|
84155
|
+
[BCNotificationMethod.Email]: "Notify by email",
|
|
84156
|
+
[BCNotificationMethod.Mail]: "Notify by mail"
|
|
84157
|
+
};
|
|
84158
|
+
BC_NOTIFICATION_METHOD_OPTIONS = Object.values(BCNotificationMethod).map((value) => ({ value, label: BCNotificationMethodLabel[value] }));
|
|
84159
|
+
BC_CHANGE_OF_DIRECTORS_FILING_FEE = "$21.50";
|
|
84160
|
+
(function(BCAnnualReportReminder2) {
|
|
84161
|
+
BCAnnualReportReminder2["Yes"] = "yes";
|
|
84162
|
+
BCAnnualReportReminder2["No"] = "no";
|
|
84163
|
+
})(BCAnnualReportReminder || (BCAnnualReportReminder = {}));
|
|
84164
|
+
BCAnnualReportReminderLabel = {
|
|
84165
|
+
[BCAnnualReportReminder.Yes]: "Yes, send the annual report reminder",
|
|
84166
|
+
[BCAnnualReportReminder.No]: "No, I do not need to be reminded"
|
|
84167
|
+
};
|
|
84168
|
+
BC_ANNUAL_REPORT_REMINDER_OPTIONS = Object.values(BCAnnualReportReminder).map((value) => ({ value, label: BCAnnualReportReminderLabel[value] }));
|
|
84169
|
+
BC_PROVINCE_STATE_OPTIONS = Object.values(CANProvinces).map((province) => ({ value: province, label: province }));
|
|
84170
|
+
BC_COUNTRY_OPTIONS = [
|
|
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;
|
|
84176
|
+
BC_DEFAULT_COUNTRY = "Canada";
|
|
84177
|
+
BC_FUTURE_EFFECTIVE_DATE_FEE = "$100";
|
|
84178
|
+
BC_PASSWORD_MIN_LENGTH = 8;
|
|
84179
|
+
BC_PASSWORD_MAX_LENGTH = 15;
|
|
84180
|
+
BC_PASSWORD_PATTERN = /^[A-Za-z0-9]+$/;
|
|
84181
|
+
BC_COMPANY_EMAIL_MAX_LENGTH = 150;
|
|
84182
|
+
BC_NAME_RESERVATION_MAX_LENGTH = 9;
|
|
84183
|
+
BC_NAME_RESERVATION_PATTERN = /^(NR)?\d{1,7}$/i;
|
|
84184
|
+
BC_COMPLETING_PARTY_COUNTRY_OPTIONS = [
|
|
84185
|
+
"Canada",
|
|
84186
|
+
"United States",
|
|
84187
|
+
...Object.keys(countryCodes).filter((name) => name !== "Canada" && name !== "United States").sort((a, b) => a.localeCompare(b))
|
|
84188
|
+
].map((name) => ({ value: name, label: name }));
|
|
84189
|
+
}
|
|
84190
|
+
});
|
|
84191
|
+
|
|
84129
84192
|
// src/app/enums/british-columbia-form.enums.ts
|
|
84130
|
-
var BCFormationFormControls, BCFormationFormGroups;
|
|
84193
|
+
var BCChangeOfDirectorsFormControls, BCChangeOfDirectorsFormGroups, BCFormationFormControls, BCFormationFormGroups;
|
|
84131
84194
|
var init_british_columbia_form_enums = __esm({
|
|
84132
84195
|
"src/app/enums/british-columbia-form.enums.ts"() {
|
|
84196
|
+
(function(BCChangeOfDirectorsFormControls2) {
|
|
84197
|
+
BCChangeOfDirectorsFormControls2["Id"] = "id";
|
|
84198
|
+
BCChangeOfDirectorsFormControls2["AffiliationName"] = "entityName";
|
|
84199
|
+
BCChangeOfDirectorsFormControls2["AffiliationType"] = "AffiliationType";
|
|
84200
|
+
BCChangeOfDirectorsFormControls2["ClientMatterNumber"] = "ClientMatterNumber";
|
|
84201
|
+
BCChangeOfDirectorsFormControls2["DocketNumber"] = "docketNumber";
|
|
84202
|
+
BCChangeOfDirectorsFormControls2["CorporationName"] = "corporationName";
|
|
84203
|
+
BCChangeOfDirectorsFormControls2["IncorporationNumber"] = "incorporationNumber";
|
|
84204
|
+
BCChangeOfDirectorsFormControls2["CompanyEmail"] = "companyEmail";
|
|
84205
|
+
BCChangeOfDirectorsFormControls2["DirectorsAddedOrDeleted"] = "directorsAddedOrDeleted";
|
|
84206
|
+
BCChangeOfDirectorsFormControls2["ChangeDate"] = "changeDate";
|
|
84207
|
+
BCChangeOfDirectorsFormControls2["FilingFee"] = "filingFee";
|
|
84208
|
+
BCChangeOfDirectorsFormControls2["RegisterAsOfDate"] = "registerAsOfDate";
|
|
84209
|
+
BCChangeOfDirectorsFormControls2["MailingAddress"] = "mailingAddress";
|
|
84210
|
+
BCChangeOfDirectorsFormControls2["DeliveryAddress"] = "deliveryAddress";
|
|
84211
|
+
BCChangeOfDirectorsFormControls2["NotificationMethod"] = "notificationMethod";
|
|
84212
|
+
BCChangeOfDirectorsFormControls2["NotificationEmail"] = "notificationEmail";
|
|
84213
|
+
BCChangeOfDirectorsFormControls2["NotificationMailingAddress"] = "notificationMailingAddress";
|
|
84214
|
+
BCChangeOfDirectorsFormControls2["AnnualReportReminder"] = "annualReportReminder";
|
|
84215
|
+
})(BCChangeOfDirectorsFormControls || (BCChangeOfDirectorsFormControls = {}));
|
|
84216
|
+
(function(BCChangeOfDirectorsFormGroups2) {
|
|
84217
|
+
BCChangeOfDirectorsFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84218
|
+
BCChangeOfDirectorsFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
84219
|
+
BCChangeOfDirectorsFormGroups2["FilingDetails"] = "Filing Details";
|
|
84220
|
+
BCChangeOfDirectorsFormGroups2["Directors"] = "Director Information";
|
|
84221
|
+
BCChangeOfDirectorsFormGroups2["Notification"] = "Notification";
|
|
84222
|
+
BCChangeOfDirectorsFormGroups2["AnnualReportReminder"] = "Annual Report Reminder";
|
|
84223
|
+
})(BCChangeOfDirectorsFormGroups || (BCChangeOfDirectorsFormGroups = {}));
|
|
84133
84224
|
(function(BCFormationFormControls2) {
|
|
84134
84225
|
BCFormationFormControls2["Id"] = "id";
|
|
84135
84226
|
BCFormationFormControls2["AffiliationName"] = "entityName";
|
|
@@ -84150,6 +84241,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84150
84241
|
BCFormationFormControls2["RecordsOfficeMailingAddress"] = "recordsOfficeMailingAddress";
|
|
84151
84242
|
BCFormationFormControls2["RecordsOfficeDeliveryAddress"] = "recordsOfficeDeliveryAddress";
|
|
84152
84243
|
BCFormationFormControls2["FullAddress"] = "fullAddress";
|
|
84244
|
+
BCFormationFormControls2["NotificationMethod"] = "notificationMethod";
|
|
84245
|
+
BCFormationFormControls2["NotificationEmail"] = "notificationEmail";
|
|
84246
|
+
BCFormationFormControls2["NotificationName"] = "notificationName";
|
|
84153
84247
|
BCFormationFormControls2["AddressLine1"] = "addressLine1";
|
|
84154
84248
|
BCFormationFormControls2["AddressLine2"] = "addressLine2";
|
|
84155
84249
|
BCFormationFormControls2["City"] = "city";
|
|
@@ -84168,6 +84262,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84168
84262
|
BCFormationFormGroups2["ReferenceNumbers"] = "Reference Numbers";
|
|
84169
84263
|
BCFormationFormGroups2["CorporationDetails"] = "Corporation Details";
|
|
84170
84264
|
BCFormationFormGroups2["RegisteredOfficeAddress"] = "Registered Office Address";
|
|
84265
|
+
BCFormationFormGroups2["Notification"] = "Notification";
|
|
84171
84266
|
BCFormationFormGroups2["Directors"] = "Directors";
|
|
84172
84267
|
BCFormationFormGroups2["SharesAndProvisions"] = "Shares and Provisions";
|
|
84173
84268
|
BCFormationFormGroups2["Incorporators"] = "Incorporators";
|
|
@@ -84176,37 +84271,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84176
84271
|
}
|
|
84177
84272
|
});
|
|
84178
84273
|
|
|
84179
|
-
// src/app/constants/BritishColumbiaConstants.ts
|
|
84180
|
-
var BCNameType, BCNameTypeLabel, BC_NUMBERED_NAME_PREVIEW, 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;
|
|
84181
|
-
var init_BritishColumbiaConstants = __esm({
|
|
84182
|
-
"src/app/constants/BritishColumbiaConstants.ts"() {
|
|
84183
|
-
init_common_constants();
|
|
84184
|
-
(function(BCNameType2) {
|
|
84185
|
-
BCNameType2[BCNameType2["Numbered"] = 1] = "Numbered";
|
|
84186
|
-
BCNameType2[BCNameType2["Named"] = 2] = "Named";
|
|
84187
|
-
})(BCNameType || (BCNameType = {}));
|
|
84188
|
-
BCNameTypeLabel = {
|
|
84189
|
-
[BCNameType.Numbered]: "Numbered",
|
|
84190
|
-
[BCNameType.Named]: "Named"
|
|
84191
|
-
};
|
|
84192
|
-
BC_NUMBERED_NAME_PREVIEW = "B.C. LTD.";
|
|
84193
|
-
BC_DEFAULT_COUNTRY = "Canada";
|
|
84194
|
-
BC_FUTURE_EFFECTIVE_DATE_FEE = "$100";
|
|
84195
|
-
BC_PASSWORD_MIN_LENGTH = 8;
|
|
84196
|
-
BC_PASSWORD_MAX_LENGTH = 15;
|
|
84197
|
-
BC_PASSWORD_PATTERN = /^[A-Za-z0-9]+$/;
|
|
84198
|
-
BC_COMPANY_EMAIL_MAX_LENGTH = 150;
|
|
84199
|
-
BC_CANADIAN_POSTAL_PATTERN = /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/;
|
|
84200
|
-
BC_NAME_RESERVATION_MAX_LENGTH = 9;
|
|
84201
|
-
BC_NAME_RESERVATION_PATTERN = /^(NR)?\d{1,7}$/i;
|
|
84202
|
-
BC_COMPLETING_PARTY_COUNTRY_OPTIONS = [
|
|
84203
|
-
"Canada",
|
|
84204
|
-
"United States",
|
|
84205
|
-
...Object.keys(countryCodes).filter((name) => name !== "Canada" && name !== "United States").sort((a, b) => a.localeCompare(b))
|
|
84206
|
-
].map((name) => ({ value: name, label: name }));
|
|
84207
|
-
}
|
|
84208
|
-
});
|
|
84209
|
-
|
|
84210
84274
|
// src/app/helpers/mappers/british-columbia-formation.mapper.ts
|
|
84211
84275
|
function buildBCFormationValidateRequest(task, deltaData) {
|
|
84212
84276
|
const affiliations = task.entity.affiliations ?? [];
|
|
@@ -84323,11 +84387,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84323
84387
|
const isIndividual = incorporator.type !== "entity";
|
|
84324
84388
|
return {
|
|
84325
84389
|
incorporatorType: isIndividual ? "individual" : "corporationOrFirm",
|
|
84326
|
-
//
|
|
84327
|
-
|
|
84328
|
-
firstName: isIndividual ? incorporator.firstName ?? "" : void 0,
|
|
84390
|
+
// The API requires a first/last name for both types; for a corporation it is the signatory.
|
|
84391
|
+
firstName: (isIndividual ? incorporator.firstName : incorporator.signatory_first_name) ?? "",
|
|
84329
84392
|
middleName: isIndividual ? incorporator.middleName || void 0 : void 0,
|
|
84330
|
-
lastName: isIndividual ? incorporator.lastName ?? ""
|
|
84393
|
+
lastName: (isIndividual ? incorporator.lastName : incorporator.signatory_last_name) ?? "",
|
|
84331
84394
|
mailingAddress: mapAddress(incorporator),
|
|
84332
84395
|
corporationOrFirmName: isIndividual ? void 0 : incorporator.incorporator_name
|
|
84333
84396
|
};
|
|
@@ -84345,7 +84408,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84345
84408
|
additionalStreetAddress: address?.addressLine2?.trim() || void 0,
|
|
84346
84409
|
city: address?.city?.trim() ?? "",
|
|
84347
84410
|
provinceOrState: toProvinceOrStateCode(address?.provinceState, country),
|
|
84348
|
-
postalOrZipCode:
|
|
84411
|
+
postalOrZipCode: address?.postalZip?.trim() ?? "",
|
|
84349
84412
|
country
|
|
84350
84413
|
}
|
|
84351
84414
|
};
|
|
@@ -84372,24 +84435,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84372
84435
|
const streetNumber = getAddressComponent(address, "Street Number Only");
|
|
84373
84436
|
const streetName = getAddressComponent(address, "Street Only");
|
|
84374
84437
|
const suite = getAddressComponent(address, "Suite/Apartment");
|
|
84375
|
-
const singleLineStreet = getAddressComponent(address, "Street Address");
|
|
84376
84438
|
return {
|
|
84377
|
-
streetAddress: [streetNumber, streetName].filter(Boolean).join(" ") ||
|
|
84439
|
+
streetAddress: [streetNumber, streetName].filter(Boolean).join(" ") || address?.street || "",
|
|
84378
84440
|
additionalStreetAddress: padShortAddressLine(suite || address?.address2),
|
|
84379
84441
|
city: address?.city ?? "",
|
|
84380
84442
|
provinceOrState: toProvinceOrStateCode(address?.province_state, country),
|
|
84381
|
-
postalOrZipCode:
|
|
84443
|
+
postalOrZipCode: address?.postal_zip ?? "",
|
|
84382
84444
|
country
|
|
84383
84445
|
};
|
|
84384
84446
|
}
|
|
84385
|
-
function normalizePostalCode(value, countryCode) {
|
|
84386
|
-
const trimmed = (value ?? "").trim();
|
|
84387
|
-
if (countryCode !== "CA") {
|
|
84388
|
-
return trimmed;
|
|
84389
|
-
}
|
|
84390
|
-
const compact = trimmed.replace(/[\s-]+/g, "").toUpperCase();
|
|
84391
|
-
return /^[A-Z]\d[A-Z]\d[A-Z]\d$/.test(compact) ? `${compact.slice(0, 3)} ${compact.slice(3)}` : trimmed;
|
|
84392
|
-
}
|
|
84393
84447
|
function toProvinceOrStateCode(value, countryCode) {
|
|
84394
84448
|
const trimmed = (value ?? "").trim();
|
|
84395
84449
|
if (!trimmed || trimmed.length === 2) {
|
|
@@ -84481,7 +84535,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84481
84535
|
});
|
|
84482
84536
|
|
|
84483
84537
|
// src/app/helpers/british-columbia/formation/british-columbia-formation-form.helper.ts
|
|
84484
|
-
var
|
|
84538
|
+
var BritishColumbiaFormationFormHelper;
|
|
84485
84539
|
var init_british_columbia_formation_form_helper = __esm({
|
|
84486
84540
|
"src/app/helpers/british-columbia/formation/british-columbia-formation-form.helper.ts"() {
|
|
84487
84541
|
init_forms();
|
|
@@ -84491,8 +84545,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84491
84545
|
init_british_columbia_form_enums();
|
|
84492
84546
|
init_custom_validators();
|
|
84493
84547
|
init_BritishColumbiaConstants();
|
|
84494
|
-
ifNamed = (validator) => (control) => control.parent?.get(BCFormationFormControls.CorporationNameType)?.value === BCNameType.Named ? validator(control) : null;
|
|
84495
|
-
ifCanada = (validator) => (control) => control.parent?.get(BCFormationFormControls.Country)?.value === "Canada" ? validator(control) : null;
|
|
84496
84548
|
BritishColumbiaFormationFormHelper = class {
|
|
84497
84549
|
static generateConfig(task, translateFn, currentUser) {
|
|
84498
84550
|
const t = translateFn ?? ((key) => key);
|
|
@@ -84524,6 +84576,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84524
84576
|
disabled: true
|
|
84525
84577
|
})
|
|
84526
84578
|
});
|
|
84579
|
+
config2[BCFormationFormGroups.Notification] = this.generateNotificationFormGroup(delta?.notification, companyEmail);
|
|
84527
84580
|
config2[BCFormationFormGroups.CompletingParty] = this.generateCompletingPartyFormGroup(task, delta?.completingParty, currentUser);
|
|
84528
84581
|
const directors = affiliations.filter((a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director" && // Same filters as the filing payload (buildBCFormationValidateRequest).
|
|
84529
84582
|
a.status !== "inactive" && a.status !== "closed" && a._participant?.participant_type === "person");
|
|
@@ -84606,7 +84659,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84606
84659
|
const streetNumber = getAddressComponent(address, "Street Number Only");
|
|
84607
84660
|
const streetName = getAddressComponent(address, "Street Only");
|
|
84608
84661
|
const suite = getAddressComponent(address, "Suite/Apartment");
|
|
84609
|
-
const street = [streetNumber, streetName].filter(Boolean).join(" ") ||
|
|
84662
|
+
const street = [streetNumber, streetName].filter(Boolean).join(" ") || address.street || "";
|
|
84610
84663
|
return [
|
|
84611
84664
|
suite ? `Unit ${suite}` : "",
|
|
84612
84665
|
street,
|
|
@@ -84617,6 +84670,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84617
84670
|
address.country
|
|
84618
84671
|
].filter((part) => Boolean(part?.trim())).join(", ");
|
|
84619
84672
|
}
|
|
84673
|
+
static findSharedAddressAffiliation(affiliations, staticTitle) {
|
|
84674
|
+
return affiliations.find((a) => a.role?.role_name === AddressRole2.SHARED_ADDRESS && a.role?.static_title === staticTitle);
|
|
84675
|
+
}
|
|
84620
84676
|
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
|
|
84621
84677
|
return new FormGroup({
|
|
84622
84678
|
[BCFormationFormControls.ClientMatterNumber]: new FormControl(deltaData?.referenceNumber ?? clientMatterNumber ?? ""),
|
|
@@ -84644,9 +84700,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84644
84700
|
[BCFormationFormControls.CompanyName]: new FormControl(deltaData?.companyName ?? (corporationNameType === BCNameType.Named ? task.entity._profile.name ?? "" : ""), requiredIfValue(BCFormationFormControls.CorporationNameType, BCNameType.Named)),
|
|
84645
84701
|
[BCFormationFormControls.NameReservationNumber]: new FormControl(deltaData?.nameReservationNumber ?? task._ext._name_reservationID ?? "", [
|
|
84646
84702
|
requiredIfValue(BCFormationFormControls.CorporationNameType, BCNameType.Named),
|
|
84647
|
-
|
|
84648
|
-
|
|
84649
|
-
ifNamed(Validators.pattern(BC_NAME_RESERVATION_PATTERN))
|
|
84703
|
+
Validators.maxLength(BC_NAME_RESERVATION_MAX_LENGTH),
|
|
84704
|
+
Validators.pattern(BC_NAME_RESERVATION_PATTERN)
|
|
84650
84705
|
]),
|
|
84651
84706
|
[BCFormationFormControls.RequestedDateForIncorporation]: new FormControl({
|
|
84652
84707
|
value: requestedDate,
|
|
@@ -84671,6 +84726,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84671
84726
|
[BCFormationFormControls.NameTranslations]: new FormArray(translationRows)
|
|
84672
84727
|
});
|
|
84673
84728
|
}
|
|
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
|
+
}
|
|
84674
84744
|
/**
|
|
84675
84745
|
* Completing Party – the individual completing the Articles. Stays editable (saved as delta).
|
|
84676
84746
|
* Prefilled, when no delta has been saved yet, from the logged-in user (`currentUser`, per the
|
|
@@ -84687,9 +84757,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84687
84757
|
[BCFormationFormControls.AddressLine1]: new FormControl(mailAddress?.addressLine1 ?? prefill.mailingAddress.addressLine1, [Validators.required, Validators.minLength(3), Validators.maxLength(40)]),
|
|
84688
84758
|
[BCFormationFormControls.AddressLine2]: new FormControl(mailAddress?.addressLine2 ?? prefill.mailingAddress.addressLine2, Validators.maxLength(40)),
|
|
84689
84759
|
[BCFormationFormControls.City]: new FormControl(mailAddress?.city ?? prefill.mailingAddress.city, [Validators.required, Validators.maxLength(40)]),
|
|
84690
|
-
|
|
84691
|
-
[BCFormationFormControls.
|
|
84692
|
-
[BCFormationFormControls.PostalZip]: new FormControl(mailAddress?.postalZip ?? prefill.mailingAddress.postalZip, [Validators.required, Validators.maxLength(10), ifCanada(Validators.pattern(BC_CANADIAN_POSTAL_PATTERN))]),
|
|
84760
|
+
[BCFormationFormControls.ProvinceState]: new FormControl(mailAddress?.provinceState ?? prefill.mailingAddress.provinceState),
|
|
84761
|
+
[BCFormationFormControls.PostalZip]: new FormControl(mailAddress?.postalZip ?? prefill.mailingAddress.postalZip, [Validators.required, Validators.maxLength(10)]),
|
|
84693
84762
|
[BCFormationFormControls.Country]: new FormControl(mailAddress?.country ?? (prefill.mailingAddress.country || BC_DEFAULT_COUNTRY), Validators.required),
|
|
84694
84763
|
[BCFormationFormControls.HasConfirmedCompletion]: new FormControl(deltaData?.hasConfirmedCompletion ?? false, Validators.requiredTrue),
|
|
84695
84764
|
[BCFormationFormControls.HasRequiredDocuments]: new FormControl(deltaData?.hasRequiredDocuments ?? false, Validators.requiredTrue)
|
|
@@ -84725,7 +84794,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84725
84794
|
lastName: isPerson ? certified?.lastName ?? "" : "",
|
|
84726
84795
|
email: certified?.email ?? "",
|
|
84727
84796
|
mailingAddress: {
|
|
84728
|
-
addressLine1: [streetNumber, streetName].filter(Boolean).join(" ") ||
|
|
84797
|
+
addressLine1: [streetNumber, streetName].filter(Boolean).join(" ") || address?.street || "",
|
|
84729
84798
|
addressLine2: getAddressComponent(address, "Suite/Apartment") || address?.address2 || "",
|
|
84730
84799
|
city: address?.city ?? "",
|
|
84731
84800
|
provinceState: address?.province_state ?? "",
|
|
@@ -84783,8 +84852,1208 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84783
84852
|
}
|
|
84784
84853
|
});
|
|
84785
84854
|
|
|
84855
|
+
// src/app/helpers/british-columbia/change-of-directors/british-columbia-change-of-directors-form.helper.ts
|
|
84856
|
+
function notInFuture() {
|
|
84857
|
+
return (control) => {
|
|
84858
|
+
if (!control.value) {
|
|
84859
|
+
return null;
|
|
84860
|
+
}
|
|
84861
|
+
const value = new Date(control.value);
|
|
84862
|
+
const today = /* @__PURE__ */ new Date();
|
|
84863
|
+
today.setHours(23, 59, 59, 999);
|
|
84864
|
+
return value > today ? { futureDate: true } : null;
|
|
84865
|
+
};
|
|
84866
|
+
}
|
|
84867
|
+
var Controls, BritishColumbiaChangeOfDirectorsFormHelper;
|
|
84868
|
+
var init_british_columbia_change_of_directors_form_helper = __esm({
|
|
84869
|
+
"src/app/helpers/british-columbia/change-of-directors/british-columbia-change-of-directors-form.helper.ts"() {
|
|
84870
|
+
init_forms();
|
|
84871
|
+
init_common_models();
|
|
84872
|
+
init_common_utils();
|
|
84873
|
+
init_initial_return_enums();
|
|
84874
|
+
init_british_columbia_form_enums();
|
|
84875
|
+
init_BritishColumbiaConstants();
|
|
84876
|
+
init_custom_validators();
|
|
84877
|
+
init_british_columbia_formation_form_helper();
|
|
84878
|
+
Controls = BCChangeOfDirectorsFormControls;
|
|
84879
|
+
BritishColumbiaChangeOfDirectorsFormHelper = class {
|
|
84880
|
+
static generateConfig(task, _translateFn) {
|
|
84881
|
+
const affiliations = task.entity.affiliations ?? [];
|
|
84882
|
+
const delta = task.deltaData;
|
|
84883
|
+
const format = BritishColumbiaFormationFormHelper.formatFullAddress;
|
|
84884
|
+
const pick = BritishColumbiaFormationFormHelper.pickAddress;
|
|
84885
|
+
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
84886
|
+
const companyEmail = registeredOffice?.addresses?.[0]?.communications?.find((c) => c.type === "Business Email")?.value ?? task.entity.communications?.find((c) => c.type === "Business Email")?.value ?? "";
|
|
84887
|
+
const registeredMailing = format(pick(registeredOffice?.addresses, "Mailing"));
|
|
84888
|
+
const today = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
84889
|
+
const config2 = {};
|
|
84890
|
+
config2[BCChangeOfDirectorsFormGroups.ReferenceNumbers] = this.generateReferenceNumbersFormGroup(delta?.referenceNumbers, task.entity._profile?.client_matter_number);
|
|
84891
|
+
config2[BCChangeOfDirectorsFormGroups.CorporationDetails] = new FormGroup({
|
|
84892
|
+
[Controls.CorporationName]: this.readOnly(task.entity._profile.name),
|
|
84893
|
+
[Controls.IncorporationNumber]: this.readOnly(task.entity._profile.corp_number),
|
|
84894
|
+
[Controls.CompanyEmail]: this.readOnly(companyEmail)
|
|
84895
|
+
});
|
|
84896
|
+
const isDirector = (a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director";
|
|
84897
|
+
const incoming = task.incomingAffiliations ?? [];
|
|
84898
|
+
const outgoing = task.outgoingAffiliations ?? [];
|
|
84899
|
+
const ceasedIds = new Set(outgoing.filter(isDirector).map((a) => a._id));
|
|
84900
|
+
const incomingIds = new Set(incoming.filter(isDirector).map((a) => a._id));
|
|
84901
|
+
const hasAddOrCease = ceasedIds.size > 0 || incomingIds.size > 0;
|
|
84902
|
+
config2[BCChangeOfDirectorsFormGroups.FilingDetails] = new FormGroup({
|
|
84903
|
+
[Controls.DirectorsAddedOrDeleted]: new FormControl(delta?.filingDetails?.directorsAddedOrDeleted ?? hasAddOrCease),
|
|
84904
|
+
[Controls.ChangeDate]: new FormControl(delta?.filingDetails?.changeDate ?? "", [
|
|
84905
|
+
requiredIfValue(Controls.DirectorsAddedOrDeleted, true),
|
|
84906
|
+
notInFuture()
|
|
84907
|
+
]),
|
|
84908
|
+
[Controls.FilingFee]: this.readOnly(BC_CHANGE_OF_DIRECTORS_FILING_FEE)
|
|
84909
|
+
});
|
|
84910
|
+
const directors = [
|
|
84911
|
+
...affiliations.filter((a) => isDirector(a) && !incomingIds.has(a._id)).map((a) => this.generateDirectorFormGroup(a, ceasedIds.has(a._id) ? IRAffiliationType.Ceased : IRAffiliationType.Used)),
|
|
84912
|
+
...incoming.filter(isDirector).map((a) => this.generateDirectorFormGroup(a, IRAffiliationType.Add))
|
|
84913
|
+
];
|
|
84914
|
+
const fallbackDirectors = directors.length ? [] : this.generateDirectorFormGroupsFromChangeDirectors(task);
|
|
84915
|
+
if (directors.length || fallbackDirectors.length) {
|
|
84916
|
+
config2[BCChangeOfDirectorsFormGroups.Directors] = new FormArray(directors.length ? directors : fallbackDirectors);
|
|
84917
|
+
}
|
|
84918
|
+
config2[BCChangeOfDirectorsFormGroups.Notification] = new FormGroup({
|
|
84919
|
+
[Controls.RegisterAsOfDate]: this.readOnly(today),
|
|
84920
|
+
[Controls.NotificationMethod]: new FormControl(delta?.notification?.method ?? BCNotificationMethod.Email, Validators.required),
|
|
84921
|
+
[Controls.NotificationEmail]: new FormControl(delta?.notification?.email ?? companyEmail, requiredIfValue(Controls.NotificationMethod, BCNotificationMethod.Email)),
|
|
84922
|
+
[Controls.NotificationMailingAddress]: this.readOnly(registeredMailing)
|
|
84923
|
+
});
|
|
84924
|
+
config2[BCChangeOfDirectorsFormGroups.AnnualReportReminder] = new FormGroup({
|
|
84925
|
+
[Controls.AnnualReportReminder]: new FormControl(delta?.annualReportReminder ?? BCAnnualReportReminder.Yes, Validators.required)
|
|
84926
|
+
});
|
|
84927
|
+
return config2;
|
|
84928
|
+
}
|
|
84929
|
+
static generateReferenceNumbersFormGroup(deltaData, clientMatterNumber) {
|
|
84930
|
+
return new FormGroup({
|
|
84931
|
+
[Controls.ClientMatterNumber]: new FormControl(clientMatterNumber ?? ""),
|
|
84932
|
+
[Controls.DocketNumber]: new FormControl(deltaData?.docketNumber ?? "")
|
|
84933
|
+
});
|
|
84934
|
+
}
|
|
84935
|
+
static generateDirectorFormGroup(affiliation, affiliationType) {
|
|
84936
|
+
const addresses = affiliation.addresses?.length ? affiliation.addresses : affiliation.parent_affiliation?.addresses ?? [];
|
|
84937
|
+
return new FormGroup({
|
|
84938
|
+
[Controls.Id]: new FormControl(affiliation._id),
|
|
84939
|
+
[Controls.AffiliationName]: this.readOnly(generateTaskAffiliationFullName(affiliation)),
|
|
84940
|
+
[Controls.AffiliationType]: this.readOnly(affiliationType),
|
|
84941
|
+
[Controls.MailingAddress]: this.readOnly(BritishColumbiaFormationFormHelper.formatFullAddress(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Mailing"))),
|
|
84942
|
+
[Controls.DeliveryAddress]: this.readOnly(BritishColumbiaFormationFormHelper.formatFullAddress(BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery")))
|
|
84943
|
+
});
|
|
84944
|
+
}
|
|
84945
|
+
static generateDirectorFormGroupsFromChangeDirectors(task) {
|
|
84946
|
+
const source = task.changeDirectors ?? task.deltaData?.changeDirectors ?? task.deltaData?.validatedData?.ChangeDirectors;
|
|
84947
|
+
const currentDirectors = source?.Directors ?? source?.directors ?? [];
|
|
84948
|
+
const addedDirectors = [
|
|
84949
|
+
...source?.AddedDirectors ?? [],
|
|
84950
|
+
...source?.AddDirector ?? [],
|
|
84951
|
+
...source?.addDirectors ?? []
|
|
84952
|
+
];
|
|
84953
|
+
const ceasedDirectors = [
|
|
84954
|
+
...source?.CeasedDirectors ?? [],
|
|
84955
|
+
...source?.CeaseDirector ?? [],
|
|
84956
|
+
...source?.ceaseDirectors ?? []
|
|
84957
|
+
];
|
|
84958
|
+
const editedDirectors = [
|
|
84959
|
+
...source?.EditedDirectors ?? [],
|
|
84960
|
+
...source?.EditDirector ?? [],
|
|
84961
|
+
...source?.editDirectors ?? []
|
|
84962
|
+
];
|
|
84963
|
+
return [
|
|
84964
|
+
...currentDirectors.map((director) => this.generateDirectorFormGroupFromPayload(director, IRAffiliationType.Used)),
|
|
84965
|
+
...editedDirectors.map((director) => this.generateDirectorFormGroupFromPayload(director, IRAffiliationType.Update)),
|
|
84966
|
+
...ceasedDirectors.map((director) => this.generateDirectorFormGroupFromPayload(director, IRAffiliationType.Ceased)),
|
|
84967
|
+
...addedDirectors.map((director) => this.generateDirectorFormGroupFromPayload(director, IRAffiliationType.Add))
|
|
84968
|
+
];
|
|
84969
|
+
}
|
|
84970
|
+
static generateDirectorFormGroupFromPayload(director, affiliationType) {
|
|
84971
|
+
const name = director?.PersonName ?? director?.personName ?? director;
|
|
84972
|
+
return new FormGroup({
|
|
84973
|
+
[Controls.Id]: new FormControl(director?.Id ?? director?.id ?? ""),
|
|
84974
|
+
[Controls.AffiliationName]: this.readOnly(this.formatDirectorName(name?.FirstName ?? name?.firstName, name?.MiddleName ?? name?.middleName, name?.LastName ?? name?.lastName)),
|
|
84975
|
+
[Controls.AffiliationType]: this.readOnly(affiliationType),
|
|
84976
|
+
[Controls.MailingAddress]: this.readOnly(this.formatPayloadAddress(director)),
|
|
84977
|
+
[Controls.DeliveryAddress]: this.readOnly(this.formatPayloadAddress(director))
|
|
84978
|
+
});
|
|
84979
|
+
}
|
|
84980
|
+
static formatDirectorName(firstName, middleName, lastName) {
|
|
84981
|
+
const givenNames = [firstName, middleName].filter(Boolean).join(" ");
|
|
84982
|
+
return [lastName, givenNames].filter(Boolean).join(", ");
|
|
84983
|
+
}
|
|
84984
|
+
static formatPayloadAddress(director) {
|
|
84985
|
+
const postalAddress = director?.PostalAddress ?? director?.postalAddress;
|
|
84986
|
+
const address = postalAddress?.AddressCA ?? postalAddress?.AddressUS ?? postalAddress?.AddressINTL ?? director?.address ?? {};
|
|
84987
|
+
return [
|
|
84988
|
+
address.Address1 ?? address.address1,
|
|
84989
|
+
address.Address2 ?? address.address2,
|
|
84990
|
+
address.Address3 ?? address.address3,
|
|
84991
|
+
address.CityTown ?? address.city,
|
|
84992
|
+
address.RegionName ?? address.regionName ?? address.provinceState,
|
|
84993
|
+
address.PostCode ?? address.postalZip,
|
|
84994
|
+
address.CountryCodeName ?? address.country
|
|
84995
|
+
].filter((part) => Boolean(String(part ?? "").trim())).join(", ");
|
|
84996
|
+
}
|
|
84997
|
+
static readOnly(value) {
|
|
84998
|
+
return new FormControl({ value: value ?? "", disabled: true });
|
|
84999
|
+
}
|
|
85000
|
+
};
|
|
85001
|
+
}
|
|
85002
|
+
});
|
|
85003
|
+
|
|
85004
|
+
// src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts
|
|
85005
|
+
var Controls2, labelledValue, readOnlyRow, directorsAddedOrDeleted, isNotifyByMail, BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS, generateBCChangeOfDirectorsIntroFields, BC_COD_CARD_FORM_DIRECTORS_FIELDS, BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85006
|
+
var init_british_columbia_change_of_directors_form_constants = __esm({
|
|
85007
|
+
"src/app/constants/ui/british-columbia-change-of-directors-form.constants.ts"() {
|
|
85008
|
+
init_form_enums();
|
|
85009
|
+
init_british_columbia_form_enums();
|
|
85010
|
+
init_BritishColumbiaConstants();
|
|
85011
|
+
Controls2 = BCChangeOfDirectorsFormControls;
|
|
85012
|
+
labelledValue = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
85013
|
+
readOnlyRow = (label, control, className = "span-12") => ({
|
|
85014
|
+
type: FormType.Text,
|
|
85015
|
+
formControlName: control,
|
|
85016
|
+
class: className,
|
|
85017
|
+
dynamicLabel: (form, t) => labelledValue(label, form.get(control)?.value, t)
|
|
85018
|
+
});
|
|
85019
|
+
directorsAddedOrDeleted = (form) => Boolean(form.get(Controls2.DirectorsAddedOrDeleted)?.value);
|
|
85020
|
+
isNotifyByMail = (form) => form.get(Controls2.NotificationMethod)?.value === BCNotificationMethod.Mail;
|
|
85021
|
+
BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
85022
|
+
{
|
|
85023
|
+
type: FormType.Input,
|
|
85024
|
+
label: "Client/Matter Number",
|
|
85025
|
+
formControlName: Controls2.ClientMatterNumber
|
|
85026
|
+
},
|
|
85027
|
+
{
|
|
85028
|
+
type: FormType.Input,
|
|
85029
|
+
label: "Docket Number",
|
|
85030
|
+
formControlName: Controls2.DocketNumber
|
|
85031
|
+
}
|
|
85032
|
+
];
|
|
85033
|
+
BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS = [
|
|
85034
|
+
readOnlyRow("Corporation Name", Controls2.CorporationName),
|
|
85035
|
+
readOnlyRow("Incorporation Number", Controls2.IncorporationNumber),
|
|
85036
|
+
readOnlyRow("Company Email", Controls2.CompanyEmail)
|
|
85037
|
+
];
|
|
85038
|
+
BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS = [
|
|
85039
|
+
{
|
|
85040
|
+
type: FormType.Text,
|
|
85041
|
+
formControlName: "",
|
|
85042
|
+
class: "span-12",
|
|
85043
|
+
dynamicLabel: (_, t) => `<span class="body-1-semibold">${t("Note")}:</span> ${t("There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing.")}`
|
|
85044
|
+
},
|
|
85045
|
+
{
|
|
85046
|
+
type: FormType.Checkbox,
|
|
85047
|
+
label: "Directors will be added and/or deleted as part of this filing",
|
|
85048
|
+
formControlName: Controls2.DirectorsAddedOrDeleted,
|
|
85049
|
+
class: "span-12",
|
|
85050
|
+
onChange: (form) => {
|
|
85051
|
+
if (!directorsAddedOrDeleted(form)) {
|
|
85052
|
+
form.get(Controls2.ChangeDate)?.setValue("", { emitEvent: false });
|
|
85053
|
+
}
|
|
85054
|
+
form.get(Controls2.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85055
|
+
}
|
|
85056
|
+
},
|
|
85057
|
+
{
|
|
85058
|
+
type: FormType.Date,
|
|
85059
|
+
label: "Date Directors were added or deleted",
|
|
85060
|
+
formControlName: Controls2.ChangeDate,
|
|
85061
|
+
required: true,
|
|
85062
|
+
isVisible: directorsAddedOrDeleted,
|
|
85063
|
+
class: "span-8"
|
|
85064
|
+
},
|
|
85065
|
+
__spreadProps(__spreadValues({}, readOnlyRow("Filing Fee", Controls2.FilingFee, "span-4")), {
|
|
85066
|
+
isVisible: directorsAddedOrDeleted
|
|
85067
|
+
}),
|
|
85068
|
+
{
|
|
85069
|
+
type: FormType.Text,
|
|
85070
|
+
formControlName: "",
|
|
85071
|
+
class: "span-12",
|
|
85072
|
+
isVisible: directorsAddedOrDeleted,
|
|
85073
|
+
dynamicLabel: (_, t) => t("The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past.")
|
|
85074
|
+
}
|
|
85075
|
+
];
|
|
85076
|
+
generateBCChangeOfDirectorsIntroFields = (registerAsOf) => [
|
|
85077
|
+
{
|
|
85078
|
+
type: FormType.Text,
|
|
85079
|
+
formControlName: "",
|
|
85080
|
+
class: "span-12",
|
|
85081
|
+
dynamicLabel: (_, t) => t("These are the directors on the corporate register as of {{date}}. Director appointments, cessations and changes to a director's details are made on the task before this filing \u2014 they cannot be added, ceased, or edited here. Ceasing or adding a director requires the checkbox and date in Filing Details above.").replace("{{date}}", registerAsOf)
|
|
85082
|
+
}
|
|
85083
|
+
];
|
|
85084
|
+
BC_COD_CARD_FORM_DIRECTORS_FIELDS = [
|
|
85085
|
+
readOnlyRow("Mailing Address - Full Address", Controls2.MailingAddress),
|
|
85086
|
+
readOnlyRow("Delivery Address - Full Address", Controls2.DeliveryAddress)
|
|
85087
|
+
];
|
|
85088
|
+
[
|
|
85089
|
+
{
|
|
85090
|
+
type: FormType.Select,
|
|
85091
|
+
label: "Notification Method",
|
|
85092
|
+
formControlName: Controls2.NotificationMethod,
|
|
85093
|
+
required: true,
|
|
85094
|
+
options: BC_NOTIFICATION_METHOD_OPTIONS,
|
|
85095
|
+
needTranslate: true,
|
|
85096
|
+
class: "span-6",
|
|
85097
|
+
onChange: (form) => form.get(Controls2.NotificationEmail)?.updateValueAndValidity({ emitEvent: false })
|
|
85098
|
+
},
|
|
85099
|
+
{
|
|
85100
|
+
type: FormType.Input,
|
|
85101
|
+
label: "Notification Email",
|
|
85102
|
+
formControlName: Controls2.NotificationEmail,
|
|
85103
|
+
required: true,
|
|
85104
|
+
isVisible: (form) => !isNotifyByMail(form),
|
|
85105
|
+
class: "column-3"
|
|
85106
|
+
},
|
|
85107
|
+
{
|
|
85108
|
+
type: FormType.Text,
|
|
85109
|
+
formControlName: Controls2.NotificationMailingAddress,
|
|
85110
|
+
class: "span-12",
|
|
85111
|
+
isVisible: isNotifyByMail,
|
|
85112
|
+
dynamicLabel: (form, t) => `<span class="body-1-semibold">${t("Mailing Address")}:</span> ${t("defaults to Registered Office mailing address")} (${form.get(Controls2.NotificationMailingAddress)?.value || t("Not specified")})`
|
|
85113
|
+
}
|
|
85114
|
+
];
|
|
85115
|
+
BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS = [
|
|
85116
|
+
{
|
|
85117
|
+
type: FormType.Text,
|
|
85118
|
+
formControlName: "",
|
|
85119
|
+
class: "span-12",
|
|
85120
|
+
dynamicLabel: (_, t) => t("Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company.")
|
|
85121
|
+
},
|
|
85122
|
+
{
|
|
85123
|
+
type: FormType.Select,
|
|
85124
|
+
label: "Annual Report Reminder",
|
|
85125
|
+
formControlName: Controls2.AnnualReportReminder,
|
|
85126
|
+
required: true,
|
|
85127
|
+
options: BC_ANNUAL_REPORT_REMINDER_OPTIONS,
|
|
85128
|
+
needTranslate: true,
|
|
85129
|
+
class: "column-3"
|
|
85130
|
+
}
|
|
85131
|
+
];
|
|
85132
|
+
}
|
|
85133
|
+
});
|
|
85134
|
+
|
|
85135
|
+
// src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts
|
|
85136
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template(rf, ctx) {
|
|
85137
|
+
if (rf & 1) {
|
|
85138
|
+
\u0275\u0275element(0, "alert", 2);
|
|
85139
|
+
}
|
|
85140
|
+
if (rf & 2) {
|
|
85141
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85142
|
+
\u0275\u0275property("type", ctx_r0.alertType.Info);
|
|
85143
|
+
}
|
|
85144
|
+
}
|
|
85145
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template(rf, ctx) {
|
|
85146
|
+
if (rf & 1) {
|
|
85147
|
+
\u0275\u0275element(0, "alert", 3);
|
|
85148
|
+
}
|
|
85149
|
+
if (rf & 2) {
|
|
85150
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85151
|
+
\u0275\u0275property("content", ctx_r0.errors());
|
|
85152
|
+
}
|
|
85153
|
+
}
|
|
85154
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template(rf, ctx) {
|
|
85155
|
+
if (rf & 1) {
|
|
85156
|
+
const _r2 = \u0275\u0275getCurrentView();
|
|
85157
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "filing-form-group", 11);
|
|
85158
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template_filing_form_group_visiblyValidChange_1_listener($event) {
|
|
85159
|
+
\u0275\u0275restoreView(_r2);
|
|
85160
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85161
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("refNumbers", $event));
|
|
85162
|
+
});
|
|
85163
|
+
\u0275\u0275elementEnd()();
|
|
85164
|
+
}
|
|
85165
|
+
if (rf & 2) {
|
|
85166
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85167
|
+
const referenceNumbers_r3 = \u0275\u0275readContextLet(4);
|
|
85168
|
+
\u0275\u0275property("title", ctx_r0.groups.ReferenceNumbers);
|
|
85169
|
+
\u0275\u0275advance();
|
|
85170
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", referenceNumbers_r3)("config", ctx_r0.referenceNumbersFields);
|
|
85171
|
+
}
|
|
85172
|
+
}
|
|
85173
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template(rf, ctx) {
|
|
85174
|
+
if (rf & 1) {
|
|
85175
|
+
\u0275\u0275elementStart(0, "expandable-card", 6)(1, "div", 12)(2, "p")(3, "strong");
|
|
85176
|
+
\u0275\u0275text(4);
|
|
85177
|
+
\u0275\u0275pipe(5, "translate");
|
|
85178
|
+
\u0275\u0275elementEnd();
|
|
85179
|
+
\u0275\u0275text(6);
|
|
85180
|
+
\u0275\u0275elementEnd();
|
|
85181
|
+
\u0275\u0275elementStart(7, "p")(8, "strong");
|
|
85182
|
+
\u0275\u0275text(9);
|
|
85183
|
+
\u0275\u0275pipe(10, "translate");
|
|
85184
|
+
\u0275\u0275elementEnd();
|
|
85185
|
+
\u0275\u0275text(11);
|
|
85186
|
+
\u0275\u0275elementEnd();
|
|
85187
|
+
\u0275\u0275elementStart(12, "p")(13, "strong");
|
|
85188
|
+
\u0275\u0275text(14);
|
|
85189
|
+
\u0275\u0275pipe(15, "translate");
|
|
85190
|
+
\u0275\u0275elementEnd();
|
|
85191
|
+
\u0275\u0275text(16);
|
|
85192
|
+
\u0275\u0275elementEnd()()();
|
|
85193
|
+
}
|
|
85194
|
+
if (rf & 2) {
|
|
85195
|
+
let tmp_9_0;
|
|
85196
|
+
let tmp_11_0;
|
|
85197
|
+
let tmp_13_0;
|
|
85198
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85199
|
+
const corporationDetails_r4 = \u0275\u0275readContextLet(6);
|
|
85200
|
+
\u0275\u0275property("isStatusIcon", false)("title", ctx_r0.groups.CorporationDetails);
|
|
85201
|
+
\u0275\u0275advance(4);
|
|
85202
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 8, "Corporation Name"), ":");
|
|
85203
|
+
\u0275\u0275advance(2);
|
|
85204
|
+
\u0275\u0275textInterpolate1(" ", (tmp_9_0 = corporationDetails_r4.get(ctx_r0.controls.CorporationName)) == null ? null : tmp_9_0.value, " ");
|
|
85205
|
+
\u0275\u0275advance(3);
|
|
85206
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(10, 10, "Incorporation Number"), ":");
|
|
85207
|
+
\u0275\u0275advance(2);
|
|
85208
|
+
\u0275\u0275textInterpolate1(" ", (tmp_11_0 = corporationDetails_r4.get(ctx_r0.controls.IncorporationNumber)) == null ? null : tmp_11_0.value, " ");
|
|
85209
|
+
\u0275\u0275advance(3);
|
|
85210
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(15, 12, "Company Email"), ":");
|
|
85211
|
+
\u0275\u0275advance(2);
|
|
85212
|
+
\u0275\u0275textInterpolate1(" ", (tmp_13_0 = corporationDetails_r4.get(ctx_r0.controls.CompanyEmail)) == null ? null : tmp_13_0.value, " ");
|
|
85213
|
+
}
|
|
85214
|
+
}
|
|
85215
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template(rf, ctx) {
|
|
85216
|
+
if (rf & 1) {
|
|
85217
|
+
const _r7 = \u0275\u0275getCurrentView();
|
|
85218
|
+
\u0275\u0275elementStart(0, "div", 16)(1, "div", 17)(2, "label");
|
|
85219
|
+
\u0275\u0275text(3);
|
|
85220
|
+
\u0275\u0275pipe(4, "translate");
|
|
85221
|
+
\u0275\u0275elementStart(5, "span");
|
|
85222
|
+
\u0275\u0275text(6, "*");
|
|
85223
|
+
\u0275\u0275elementEnd()();
|
|
85224
|
+
\u0275\u0275elementStart(7, "mat-form-field", 18)(8, "input", 19);
|
|
85225
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_click_8_listener() {
|
|
85226
|
+
\u0275\u0275restoreView(_r7);
|
|
85227
|
+
const changeDatePicker_r8 = \u0275\u0275reference(13);
|
|
85228
|
+
return \u0275\u0275resetView(changeDatePicker_r8.open());
|
|
85229
|
+
})("dateChange", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template_input_dateChange_8_listener() {
|
|
85230
|
+
\u0275\u0275restoreView(_r7);
|
|
85231
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85232
|
+
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85233
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85234
|
+
});
|
|
85235
|
+
\u0275\u0275elementEnd();
|
|
85236
|
+
\u0275\u0275elementStart(9, "mat-datepicker-toggle", 20)(10, "mat-icon", 21);
|
|
85237
|
+
\u0275\u0275text(11, "calendar_today");
|
|
85238
|
+
\u0275\u0275elementEnd()();
|
|
85239
|
+
\u0275\u0275element(12, "mat-datepicker", null, 0);
|
|
85240
|
+
\u0275\u0275elementEnd();
|
|
85241
|
+
\u0275\u0275elementStart(14, "p", 22);
|
|
85242
|
+
\u0275\u0275text(15);
|
|
85243
|
+
\u0275\u0275pipe(16, "translate");
|
|
85244
|
+
\u0275\u0275elementEnd()();
|
|
85245
|
+
\u0275\u0275elementStart(17, "p", 23)(18, "strong");
|
|
85246
|
+
\u0275\u0275text(19);
|
|
85247
|
+
\u0275\u0275pipe(20, "translate");
|
|
85248
|
+
\u0275\u0275elementEnd();
|
|
85249
|
+
\u0275\u0275text(21);
|
|
85250
|
+
\u0275\u0275elementEnd()();
|
|
85251
|
+
}
|
|
85252
|
+
if (rf & 2) {
|
|
85253
|
+
let tmp_14_0;
|
|
85254
|
+
const changeDatePicker_r8 = \u0275\u0275reference(13);
|
|
85255
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85256
|
+
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85257
|
+
\u0275\u0275advance(3);
|
|
85258
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 7, "Date Directors were added or deleted"), "");
|
|
85259
|
+
\u0275\u0275advance(5);
|
|
85260
|
+
\u0275\u0275property("matDatepicker", changeDatePicker_r8)("formControlName", ctx_r0.controls.ChangeDate);
|
|
85261
|
+
\u0275\u0275advance();
|
|
85262
|
+
\u0275\u0275property("for", changeDatePicker_r8);
|
|
85263
|
+
\u0275\u0275advance(6);
|
|
85264
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(16, 9, "The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past."), " ");
|
|
85265
|
+
\u0275\u0275advance(4);
|
|
85266
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(20, 11, "Filing Fee"), ":");
|
|
85267
|
+
\u0275\u0275advance(2);
|
|
85268
|
+
\u0275\u0275textInterpolate1(" ", (tmp_14_0 = filingDetails_r6.get(ctx_r0.controls.FilingFee)) == null ? null : tmp_14_0.value, " ");
|
|
85269
|
+
}
|
|
85270
|
+
}
|
|
85271
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template(rf, ctx) {
|
|
85272
|
+
if (rf & 1) {
|
|
85273
|
+
const _r5 = \u0275\u0275getCurrentView();
|
|
85274
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 13)(2, "div", 14)(3, "strong");
|
|
85275
|
+
\u0275\u0275text(4);
|
|
85276
|
+
\u0275\u0275pipe(5, "translate");
|
|
85277
|
+
\u0275\u0275elementEnd();
|
|
85278
|
+
\u0275\u0275text(6);
|
|
85279
|
+
\u0275\u0275pipe(7, "translate");
|
|
85280
|
+
\u0275\u0275elementEnd();
|
|
85281
|
+
\u0275\u0275elementStart(8, "mat-checkbox", 15);
|
|
85282
|
+
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template_mat_checkbox_change_8_listener() {
|
|
85283
|
+
let tmp_7_0;
|
|
85284
|
+
\u0275\u0275restoreView(_r5);
|
|
85285
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85286
|
+
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85287
|
+
(tmp_7_0 = filingDetails_r6.get(ctx_r0.controls.ChangeDate)) == null ? null : tmp_7_0.updateValueAndValidity({ emitEvent: false });
|
|
85288
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("filingDetails", filingDetails_r6.valid));
|
|
85289
|
+
});
|
|
85290
|
+
\u0275\u0275text(9);
|
|
85291
|
+
\u0275\u0275pipe(10, "translate");
|
|
85292
|
+
\u0275\u0275elementEnd();
|
|
85293
|
+
\u0275\u0275template(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Conditional_11_Template, 22, 13, "div", 16);
|
|
85294
|
+
\u0275\u0275elementEnd()();
|
|
85295
|
+
}
|
|
85296
|
+
if (rf & 2) {
|
|
85297
|
+
let tmp_14_0;
|
|
85298
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85299
|
+
const filingDetails_r6 = \u0275\u0275readContextLet(8);
|
|
85300
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["filingDetails"])("title", ctx_r0.groups.FilingDetails);
|
|
85301
|
+
\u0275\u0275advance();
|
|
85302
|
+
\u0275\u0275property("formGroup", filingDetails_r6);
|
|
85303
|
+
\u0275\u0275advance(3);
|
|
85304
|
+
\u0275\u0275textInterpolate1("", \u0275\u0275pipeBind1(5, 9, "Note"), ":");
|
|
85305
|
+
\u0275\u0275advance(2);
|
|
85306
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(7, 11, "There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing."), " ");
|
|
85307
|
+
\u0275\u0275advance(2);
|
|
85308
|
+
\u0275\u0275property("formControlName", ctx_r0.controls.DirectorsAddedOrDeleted);
|
|
85309
|
+
\u0275\u0275advance();
|
|
85310
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(10, 13, "Directors will be added and/or deleted as part of this filing"), " ");
|
|
85311
|
+
\u0275\u0275advance(2);
|
|
85312
|
+
\u0275\u0275conditional(((tmp_14_0 = filingDetails_r6.get(ctx_r0.controls.DirectorsAddedOrDeleted)) == null ? null : tmp_14_0.value) ? 11 : -1);
|
|
85313
|
+
}
|
|
85314
|
+
}
|
|
85315
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_4_Template(rf, ctx) {
|
|
85316
|
+
if (rf & 1) {
|
|
85317
|
+
\u0275\u0275elementStart(0, "span", 28);
|
|
85318
|
+
\u0275\u0275text(1);
|
|
85319
|
+
\u0275\u0275pipe(2, "translate");
|
|
85320
|
+
\u0275\u0275elementEnd();
|
|
85321
|
+
}
|
|
85322
|
+
if (rf & 2) {
|
|
85323
|
+
\u0275\u0275advance();
|
|
85324
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "NEW"));
|
|
85325
|
+
}
|
|
85326
|
+
}
|
|
85327
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_5_Template(rf, ctx) {
|
|
85328
|
+
if (rf & 1) {
|
|
85329
|
+
\u0275\u0275elementStart(0, "span", 29);
|
|
85330
|
+
\u0275\u0275text(1);
|
|
85331
|
+
\u0275\u0275pipe(2, "translate");
|
|
85332
|
+
\u0275\u0275elementEnd();
|
|
85333
|
+
}
|
|
85334
|
+
if (rf & 2) {
|
|
85335
|
+
\u0275\u0275advance();
|
|
85336
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "CEASE"));
|
|
85337
|
+
}
|
|
85338
|
+
}
|
|
85339
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Template(rf, ctx) {
|
|
85340
|
+
if (rf & 1) {
|
|
85341
|
+
\u0275\u0275elementStart(0, "div", 26)(1, "div", 27)(2, "strong");
|
|
85342
|
+
\u0275\u0275text(3);
|
|
85343
|
+
\u0275\u0275elementEnd();
|
|
85344
|
+
\u0275\u0275template(4, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_4_Template, 3, 3, "span", 28)(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Conditional_5_Template, 3, 3, "span", 29);
|
|
85345
|
+
\u0275\u0275elementEnd();
|
|
85346
|
+
\u0275\u0275elementStart(6, "div", 27);
|
|
85347
|
+
\u0275\u0275text(7);
|
|
85348
|
+
\u0275\u0275elementEnd();
|
|
85349
|
+
\u0275\u0275elementStart(8, "div", 27);
|
|
85350
|
+
\u0275\u0275text(9);
|
|
85351
|
+
\u0275\u0275elementEnd()();
|
|
85352
|
+
}
|
|
85353
|
+
if (rf & 2) {
|
|
85354
|
+
let tmp_19_0;
|
|
85355
|
+
let tmp_22_0;
|
|
85356
|
+
let tmp_23_0;
|
|
85357
|
+
\u0275\u0275nextContext();
|
|
85358
|
+
const directorForm_r9 = \u0275\u0275readContextLet(0);
|
|
85359
|
+
const ctx_r0 = \u0275\u0275nextContext(2);
|
|
85360
|
+
\u0275\u0275advance(3);
|
|
85361
|
+
\u0275\u0275textInterpolate((tmp_19_0 = directorForm_r9.get(ctx_r0.controls.AffiliationName)) == null ? null : tmp_19_0.value);
|
|
85362
|
+
\u0275\u0275advance();
|
|
85363
|
+
\u0275\u0275conditional(ctx_r0.isNewDirector(directorForm_r9) ? 4 : -1);
|
|
85364
|
+
\u0275\u0275advance();
|
|
85365
|
+
\u0275\u0275conditional(ctx_r0.isCeasedDirector(directorForm_r9) ? 5 : -1);
|
|
85366
|
+
\u0275\u0275advance(2);
|
|
85367
|
+
\u0275\u0275textInterpolate((tmp_22_0 = directorForm_r9.get(ctx_r0.controls.MailingAddress)) == null ? null : tmp_22_0.value);
|
|
85368
|
+
\u0275\u0275advance(2);
|
|
85369
|
+
\u0275\u0275textInterpolate((tmp_23_0 = directorForm_r9.get(ctx_r0.controls.DeliveryAddress)) == null ? null : tmp_23_0.value);
|
|
85370
|
+
}
|
|
85371
|
+
}
|
|
85372
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Template(rf, ctx) {
|
|
85373
|
+
if (rf & 1) {
|
|
85374
|
+
\u0275\u0275declareLet(0);
|
|
85375
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Conditional_1_Template, 10, 5, "div", 26);
|
|
85376
|
+
}
|
|
85377
|
+
if (rf & 2) {
|
|
85378
|
+
const \u0275$index_118_r10 = ctx.$index;
|
|
85379
|
+
const directorForm_r11 = \u0275\u0275storeLet(\u0275\u0275nextContext(2).getDirectorForm(\u0275$index_118_r10));
|
|
85380
|
+
\u0275\u0275advance();
|
|
85381
|
+
\u0275\u0275conditional(directorForm_r11 ? 1 : -1);
|
|
85382
|
+
}
|
|
85383
|
+
}
|
|
85384
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template(rf, ctx) {
|
|
85385
|
+
if (rf & 1) {
|
|
85386
|
+
\u0275\u0275elementStart(0, "div", 9)(1, "div", 24)(2, "div", 25);
|
|
85387
|
+
\u0275\u0275text(3);
|
|
85388
|
+
\u0275\u0275pipe(4, "translate");
|
|
85389
|
+
\u0275\u0275elementEnd();
|
|
85390
|
+
\u0275\u0275elementStart(5, "div", 25);
|
|
85391
|
+
\u0275\u0275text(6);
|
|
85392
|
+
\u0275\u0275pipe(7, "translate");
|
|
85393
|
+
\u0275\u0275elementEnd();
|
|
85394
|
+
\u0275\u0275elementStart(8, "div", 25);
|
|
85395
|
+
\u0275\u0275text(9);
|
|
85396
|
+
\u0275\u0275pipe(10, "translate");
|
|
85397
|
+
\u0275\u0275elementEnd()();
|
|
85398
|
+
\u0275\u0275repeaterCreate(11, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_For_12_Template, 2, 2, null, null, \u0275\u0275repeaterTrackByIdentity);
|
|
85399
|
+
\u0275\u0275elementEnd();
|
|
85400
|
+
}
|
|
85401
|
+
if (rf & 2) {
|
|
85402
|
+
\u0275\u0275nextContext();
|
|
85403
|
+
const directorsArray_r12 = \u0275\u0275readContextLet(10);
|
|
85404
|
+
\u0275\u0275advance(3);
|
|
85405
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(4, 3, "Name"));
|
|
85406
|
+
\u0275\u0275advance(3);
|
|
85407
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(7, 5, "Mailing Address"));
|
|
85408
|
+
\u0275\u0275advance(3);
|
|
85409
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 7, "Delivery Address"));
|
|
85410
|
+
\u0275\u0275advance(2);
|
|
85411
|
+
\u0275\u0275repeater(directorsArray_r12.controls);
|
|
85412
|
+
}
|
|
85413
|
+
}
|
|
85414
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_14_Template(rf, ctx) {
|
|
85415
|
+
if (rf & 1) {
|
|
85416
|
+
\u0275\u0275elementStart(0, "h2", 10);
|
|
85417
|
+
\u0275\u0275text(1);
|
|
85418
|
+
\u0275\u0275pipe(2, "translate");
|
|
85419
|
+
\u0275\u0275elementEnd();
|
|
85420
|
+
}
|
|
85421
|
+
if (rf & 2) {
|
|
85422
|
+
\u0275\u0275advance();
|
|
85423
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "Unchanged"));
|
|
85424
|
+
}
|
|
85425
|
+
}
|
|
85426
|
+
function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Template(rf, ctx) {
|
|
85427
|
+
if (rf & 1) {
|
|
85428
|
+
const _r13 = \u0275\u0275getCurrentView();
|
|
85429
|
+
\u0275\u0275elementStart(0, "expandable-card", 7)(1, "div", 30)(2, "p");
|
|
85430
|
+
\u0275\u0275text(3);
|
|
85431
|
+
\u0275\u0275pipe(4, "translate");
|
|
85432
|
+
\u0275\u0275elementEnd();
|
|
85433
|
+
\u0275\u0275elementStart(5, "mat-radio-group", 31);
|
|
85434
|
+
\u0275\u0275listener("change", function BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Template_mat_radio_group_change_5_listener() {
|
|
85435
|
+
\u0275\u0275restoreView(_r13);
|
|
85436
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85437
|
+
const annualReportReminder_r14 = \u0275\u0275readContextLet(15);
|
|
85438
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("annualReportReminder", annualReportReminder_r14.valid));
|
|
85439
|
+
});
|
|
85440
|
+
\u0275\u0275elementStart(6, "mat-radio-button", 32);
|
|
85441
|
+
\u0275\u0275text(7);
|
|
85442
|
+
\u0275\u0275pipe(8, "translate");
|
|
85443
|
+
\u0275\u0275elementEnd();
|
|
85444
|
+
\u0275\u0275elementStart(9, "mat-radio-button", 32);
|
|
85445
|
+
\u0275\u0275text(10);
|
|
85446
|
+
\u0275\u0275pipe(11, "translate");
|
|
85447
|
+
\u0275\u0275elementEnd()()()();
|
|
85448
|
+
}
|
|
85449
|
+
if (rf & 2) {
|
|
85450
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
85451
|
+
const annualReportReminder_r14 = \u0275\u0275readContextLet(15);
|
|
85452
|
+
\u0275\u0275property("isStatusIcon", !ctx_r0.readonly())("isValid", ctx_r0.sectionValidity["annualReportReminder"])("title", ctx_r0.groups.AnnualReportReminder);
|
|
85453
|
+
\u0275\u0275advance();
|
|
85454
|
+
\u0275\u0275property("formGroup", annualReportReminder_r14);
|
|
85455
|
+
\u0275\u0275advance(2);
|
|
85456
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(4, 10, "Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company."), " ");
|
|
85457
|
+
\u0275\u0275advance(2);
|
|
85458
|
+
\u0275\u0275property("formControlName", ctx_r0.controls.AnnualReportReminder);
|
|
85459
|
+
\u0275\u0275advance();
|
|
85460
|
+
\u0275\u0275property("value", ctx_r0.annualReportReminderOption.Yes);
|
|
85461
|
+
\u0275\u0275advance();
|
|
85462
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(8, 12, "Yes, send the annual report reminder"), " ");
|
|
85463
|
+
\u0275\u0275advance(2);
|
|
85464
|
+
\u0275\u0275property("value", ctx_r0.annualReportReminderOption.No);
|
|
85465
|
+
\u0275\u0275advance();
|
|
85466
|
+
\u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(11, 14, "No, I do not need to be reminded"), " ");
|
|
85467
|
+
}
|
|
85468
|
+
}
|
|
85469
|
+
var BritishColumbiaChangeOfDirectorsFormComponent;
|
|
85470
|
+
var init_change_of_directors_form_component = __esm({
|
|
85471
|
+
"src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts"() {
|
|
85472
|
+
init_core();
|
|
85473
|
+
init_forms();
|
|
85474
|
+
init_checkbox();
|
|
85475
|
+
init_datepicker();
|
|
85476
|
+
init_form_field();
|
|
85477
|
+
init_input();
|
|
85478
|
+
init_icon();
|
|
85479
|
+
init_radio();
|
|
85480
|
+
init_ngx_translate_core();
|
|
85481
|
+
init_filing_form_group_component();
|
|
85482
|
+
init_alert_component();
|
|
85483
|
+
init_alert_enum();
|
|
85484
|
+
init_expandable_card_component();
|
|
85485
|
+
init_british_columbia_form_enums();
|
|
85486
|
+
init_british_columbia_change_of_directors_form_constants();
|
|
85487
|
+
init_BritishColumbiaConstants();
|
|
85488
|
+
init_core();
|
|
85489
|
+
init_forms();
|
|
85490
|
+
BritishColumbiaChangeOfDirectorsFormComponent = class _BritishColumbiaChangeOfDirectorsFormComponent {
|
|
85491
|
+
form = input.required();
|
|
85492
|
+
task = input();
|
|
85493
|
+
errors = input([]);
|
|
85494
|
+
isNote = input(false);
|
|
85495
|
+
isSubmitted = input(false);
|
|
85496
|
+
readonly = input(false);
|
|
85497
|
+
visiblyValidChange = output();
|
|
85498
|
+
alertType = AlertType;
|
|
85499
|
+
groups = BCChangeOfDirectorsFormGroups;
|
|
85500
|
+
controls = BCChangeOfDirectorsFormControls;
|
|
85501
|
+
annualReportReminderOption = BCAnnualReportReminder;
|
|
85502
|
+
referenceNumbersFields = BC_COD_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS;
|
|
85503
|
+
corporationDetailsFields = BC_COD_CARD_FORM_CORPORATION_DETAILS_FIELDS;
|
|
85504
|
+
filingDetailsFields = BC_COD_DELTA_CARD_FORM_FILING_DETAILS_FIELDS;
|
|
85505
|
+
directorsFields = BC_COD_CARD_FORM_DIRECTORS_FIELDS;
|
|
85506
|
+
annualReportReminderFields = BC_COD_DELTA_CARD_FORM_ANNUAL_REPORT_REMINDER_FIELDS;
|
|
85507
|
+
directorsIntroFields = computed(() => {
|
|
85508
|
+
const date = this.form().get(this.groups.Notification)?.get(this.controls.RegisterAsOfDate)?.value ?? "";
|
|
85509
|
+
return generateBCChangeOfDirectorsIntroFields(date);
|
|
85510
|
+
});
|
|
85511
|
+
initiallyOpenCardsCount = 3;
|
|
85512
|
+
sectionValidity = {};
|
|
85513
|
+
isVisiblyValid() {
|
|
85514
|
+
return Object.values(this.sectionValidity).every((v) => v);
|
|
85515
|
+
}
|
|
85516
|
+
onSectionValidChange(section, valid) {
|
|
85517
|
+
this.sectionValidity = __spreadProps(__spreadValues({}, this.sectionValidity), { [section]: valid });
|
|
85518
|
+
this.visiblyValidChange.emit(this.isVisiblyValid());
|
|
85519
|
+
}
|
|
85520
|
+
getFormGroup(key) {
|
|
85521
|
+
return this.form().get(key) ?? null;
|
|
85522
|
+
}
|
|
85523
|
+
getFormArray(key) {
|
|
85524
|
+
return this.form().get(key) ?? null;
|
|
85525
|
+
}
|
|
85526
|
+
getDirectorForm(index) {
|
|
85527
|
+
return this.getFormArray(this.groups.Directors)?.at(index) ?? null;
|
|
85528
|
+
}
|
|
85529
|
+
getDirectorStatus(formGroup) {
|
|
85530
|
+
return formGroup.get(this.controls.AffiliationType)?.value ?? "";
|
|
85531
|
+
}
|
|
85532
|
+
isNewDirector(formGroup) {
|
|
85533
|
+
return this.getDirectorStatus(formGroup) === "Add";
|
|
85534
|
+
}
|
|
85535
|
+
isCeasedDirector(formGroup) {
|
|
85536
|
+
return this.getDirectorStatus(formGroup) === "Ceased";
|
|
85537
|
+
}
|
|
85538
|
+
static \u0275fac = function BritishColumbiaChangeOfDirectorsFormComponent_Factory(__ngFactoryType__) {
|
|
85539
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsFormComponent)();
|
|
85540
|
+
};
|
|
85541
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsFormComponent, selectors: [["british-columbia-change-of-directors-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], isSubmitted: [1, "isSubmitted"], readonly: [1, "readonly"] }, outputs: { visiblyValidChange: "visiblyValidChange" }, decls: 17, vars: 17, consts: [["changeDatePicker", ""], [1, "change-of-directors-form"], ["title", "Entity changed", "content", "A new draft needs to be generated as the Entity was changed since the last draft was produced.", 3, "type"], ["title", "The following issues need to be resolved before proceeding:", 3, "content"], [1, "change-of-directors-form-content"], [3, "title"], [3, "isStatusIcon", "title"], [3, "isStatusIcon", "isValid", "title"], [3, "isSubmitted", "form", "config"], ["role", "table", 1, "directors-table"], [1, "body-1-regular"], [3, "visiblyValidChange", "isSubmitted", "form", "config"], [1, "readonly-summary"], [1, "filing-details", 3, "formGroup"], [1, "note-box"], [1, "directors-change-checkbox", 3, "change", "formControlName"], [1, "filing-details-grid"], [1, "date-field"], ["appearance", "outline"], ["matInput", "", "readonly", "", 3, "click", "dateChange", "matDatepicker", "formControlName"], ["matSuffix", "", 3, "for"], ["matDatepickerToggleIcon", ""], [1, "hint"], [1, "filing-fee"], ["role", "row", 1, "directors-table-header"], ["role", "columnheader"], ["role", "row", 1, "directors-table-row"], ["role", "cell"], [1, "status-pill", "new"], [1, "status-pill", "ceased"], [1, "annual-reminder", 3, "formGroup"], [3, "change", "formControlName"], [3, "value"]], template: function BritishColumbiaChangeOfDirectorsFormComponent_Template(rf, ctx) {
|
|
85542
|
+
if (rf & 1) {
|
|
85543
|
+
\u0275\u0275elementStart(0, "div", 1);
|
|
85544
|
+
\u0275\u0275template(1, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_1_Template, 1, 1, "alert", 2)(2, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_2_Template, 1, 1, "alert", 3);
|
|
85545
|
+
\u0275\u0275elementStart(3, "div", 4);
|
|
85546
|
+
\u0275\u0275declareLet(4);
|
|
85547
|
+
\u0275\u0275template(5, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_5_Template, 2, 4, "expandable-card", 5);
|
|
85548
|
+
\u0275\u0275declareLet(6);
|
|
85549
|
+
\u0275\u0275template(7, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_7_Template, 17, 14, "expandable-card", 6);
|
|
85550
|
+
\u0275\u0275declareLet(8);
|
|
85551
|
+
\u0275\u0275template(9, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_9_Template, 12, 15, "expandable-card", 7);
|
|
85552
|
+
\u0275\u0275declareLet(10);
|
|
85553
|
+
\u0275\u0275elementStart(11, "expandable-card", 6);
|
|
85554
|
+
\u0275\u0275element(12, "filing-form-group", 8);
|
|
85555
|
+
\u0275\u0275template(13, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_13_Template, 13, 9, "div", 9)(14, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_14_Template, 3, 3, "h2", 10);
|
|
85556
|
+
\u0275\u0275elementEnd();
|
|
85557
|
+
\u0275\u0275declareLet(15);
|
|
85558
|
+
\u0275\u0275template(16, BritishColumbiaChangeOfDirectorsFormComponent_Conditional_16_Template, 12, 16, "expandable-card", 7);
|
|
85559
|
+
\u0275\u0275elementEnd()();
|
|
85560
|
+
}
|
|
85561
|
+
if (rf & 2) {
|
|
85562
|
+
\u0275\u0275advance();
|
|
85563
|
+
\u0275\u0275conditional(ctx.isNote() ? 1 : -1);
|
|
85564
|
+
\u0275\u0275advance();
|
|
85565
|
+
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
85566
|
+
\u0275\u0275advance(2);
|
|
85567
|
+
const referenceNumbers_r15 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
85568
|
+
\u0275\u0275advance();
|
|
85569
|
+
\u0275\u0275conditional(referenceNumbers_r15 ? 5 : -1);
|
|
85570
|
+
\u0275\u0275advance();
|
|
85571
|
+
const corporationDetails_r16 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
85572
|
+
\u0275\u0275advance();
|
|
85573
|
+
\u0275\u0275conditional(corporationDetails_r16 ? 7 : -1);
|
|
85574
|
+
\u0275\u0275advance();
|
|
85575
|
+
const filingDetails_r17 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.FilingDetails));
|
|
85576
|
+
\u0275\u0275advance();
|
|
85577
|
+
\u0275\u0275conditional(filingDetails_r17 ? 9 : -1);
|
|
85578
|
+
\u0275\u0275advance();
|
|
85579
|
+
const directorsArray_r18 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
|
|
85580
|
+
\u0275\u0275advance();
|
|
85581
|
+
\u0275\u0275property("isStatusIcon", false)("title", ctx.groups.Directors);
|
|
85582
|
+
\u0275\u0275advance();
|
|
85583
|
+
\u0275\u0275property("isSubmitted", ctx.isSubmitted())("form", ctx.form())("config", ctx.directorsIntroFields());
|
|
85584
|
+
\u0275\u0275advance();
|
|
85585
|
+
\u0275\u0275conditional(directorsArray_r18 && directorsArray_r18.length ? 13 : 14);
|
|
85586
|
+
\u0275\u0275advance(2);
|
|
85587
|
+
const annualReportReminder_r19 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.AnnualReportReminder));
|
|
85588
|
+
\u0275\u0275advance();
|
|
85589
|
+
\u0275\u0275conditional(annualReportReminder_r19 ? 16 : -1);
|
|
85590
|
+
}
|
|
85591
|
+
}, dependencies: [
|
|
85592
|
+
FilingFormGroupComponent,
|
|
85593
|
+
AlertComponent,
|
|
85594
|
+
ExpandableCardComponent,
|
|
85595
|
+
MatCheckbox,
|
|
85596
|
+
MatDatepicker,
|
|
85597
|
+
MatDatepickerInput,
|
|
85598
|
+
MatDatepickerToggle,
|
|
85599
|
+
MatFormField,
|
|
85600
|
+
MatIcon,
|
|
85601
|
+
MatInput,
|
|
85602
|
+
MatRadioButton,
|
|
85603
|
+
MatRadioGroup,
|
|
85604
|
+
ReactiveFormsModule,
|
|
85605
|
+
DefaultValueAccessor,
|
|
85606
|
+
NgControlStatus,
|
|
85607
|
+
NgControlStatusGroup,
|
|
85608
|
+
FormGroupDirective,
|
|
85609
|
+
FormControlName,
|
|
85610
|
+
TranslatePipe
|
|
85611
|
+
], styles: ["\n\n[_nghost-%COMP%] {\n display: flex;\n flex: 1;\n min-height: 0;\n color: #2f343b;\n}\n[_nghost-%COMP%] .change-of-directors-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n min-height: 0;\n width: 100%;\n}\n[_nghost-%COMP%] .change-of-directors-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex: 1;\n flex-direction: column;\n gap: 20px;\n min-height: 0;\n overflow-y: auto;\n padding-right: 8px;\n}\n[_nghost-%COMP%] .expandable-card {\n border: 1px solid #e1e6ee;\n border-radius: 8px;\n box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12) !important;\n margin: 0 !important;\n padding: 24px 28px !important;\n}\n[_nghost-%COMP%] .expandable-card-header-title {\n color: #2f343b !important;\n font-weight: 700 !important;\n line-height: 1.2;\n margin: 0;\n}\n[_nghost-%COMP%] .expandable-card-header mat-icon {\n color: #66717f !important;\n}\n[_nghost-%COMP%] .expandable-card-content {\n padding-top: 20px !important;\n}\n[_nghost-%COMP%] .filling-form-fields {\n column-gap: 42px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label, \n[_nghost-%COMP%] .mat-mdc-radio-button .mdc-label, \n[_nghost-%COMP%] .mat-mdc-checkbox .mdc-label {\n color: #4b5563 !important;\n font-size: 14px !important;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .mat-mdc-radio-button, \n[_nghost-%COMP%] .mat-mdc-checkbox {\n --mdc-radio-state-layer-size: 40px;\n --mdc-checkbox-state-layer-size: 40px;\n}\n[_nghost-%COMP%] .mat-mdc-form-field {\n width: 100%;\n}\n[_nghost-%COMP%] .mat-mdc-text-field-wrapper {\n min-height: 46px;\n}\n[_nghost-%COMP%] .mat-mdc-form-field-infix {\n align-items: center;\n display: flex !important;\n min-height: 46px;\n padding-bottom: 0 !important;\n padding-top: 0 !important;\n}\n[_nghost-%COMP%] .mdc-notched-outline__leading {\n border-bottom-left-radius: 6px !important;\n border-top-left-radius: 6px !important;\n}\n[_nghost-%COMP%] .mdc-notched-outline__trailing {\n border-bottom-right-radius: 6px !important;\n border-top-right-radius: 6px !important;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 18px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] p[_ngcontent-%COMP%] {\n margin: 0;\n}\n[_nghost-%COMP%] .readonly-summary[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n}\n[_nghost-%COMP%] .filing-details[_ngcontent-%COMP%], \n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 24px;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] {\n border: 1px solid #f3d27a;\n border-radius: 6px;\n background: #fffaf0;\n color: #84610d;\n font-size: 14px;\n line-height: 1.55;\n padding: 16px 20px;\n}\n[_nghost-%COMP%] .note-box[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n font-weight: 700;\n}\n[_nghost-%COMP%] .directors-change-checkbox[_ngcontent-%COMP%] {\n align-self: flex-start;\n}\n[_nghost-%COMP%] .filing-details-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(280px, 1fr) minmax(220px, 1fr);\n column-gap: 56px;\n align-items: start;\n max-width: 980px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] span[_ngcontent-%COMP%], \n[_nghost-%COMP%] .email-field[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n color: #e22222;\n}\n[_nghost-%COMP%] .hint[_ngcontent-%COMP%], \n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] p[_ngcontent-%COMP%], \n[_nghost-%COMP%] .mailing-copy[_ngcontent-%COMP%] {\n color: #6b7280;\n font-size: 14px;\n line-height: 1.5;\n margin: 0;\n}\n[_nghost-%COMP%] .filing-fee[_ngcontent-%COMP%] {\n color: #4b5563;\n font-size: 14px;\n line-height: 1.35;\n margin: 46px 0 0;\n}\n[_nghost-%COMP%] .filing-fee[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n}\n[_nghost-%COMP%] .directors-table[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1.65fr) minmax(280px, 1.65fr);\n margin-top: 28px;\n color: #4b5563;\n font-size: 14px;\n line-height: 1.45;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%], \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] {\n display: contents;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n border-bottom: 1px solid #e1e6ee;\n padding: 16px 24px;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child), \n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(:first-child) {\n border-left: 1px solid #e1e6ee;\n}\n[_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n color: #2f343b;\n font-weight: 700;\n padding-top: 0;\n}\n[_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] strong[_ngcontent-%COMP%] {\n color: #2f343b;\n display: block;\n font-weight: 700;\n margin-bottom: 8px;\n}\n[_nghost-%COMP%] .status-pill[_ngcontent-%COMP%] {\n border-radius: 999px;\n display: inline-flex;\n font-size: 12px;\n font-weight: 700;\n line-height: 1;\n padding: 6px 12px;\n}\n[_nghost-%COMP%] .status-pill.new[_ngcontent-%COMP%] {\n background: #eaf7ef;\n border: 1px solid #b8e3c7;\n color: #15803d;\n}\n[_nghost-%COMP%] .status-pill.ceased[_ngcontent-%COMP%] {\n background: #fff1f2;\n border: 1px solid #fecdd3;\n color: #be123c;\n}\n[_nghost-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n display: flex;\n gap: 48px;\n}\n[_nghost-%COMP%] .annual-reminder[_ngcontent-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n align-items: flex-start;\n flex-direction: column;\n gap: 14px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n align-items: center;\n display: flex;\n padding-right: 8px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] .mat-datepicker-toggle {\n color: #4b5563;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] .mat-datepicker-toggle button {\n --mdc-icon-button-state-layer-size: 36px;\n height: 36px;\n padding: 6px;\n width: 36px;\n}\n[_nghost-%COMP%] .date-field[_ngcontent-%COMP%] .mat-datepicker-toggle .mat-icon {\n color: #4b5563 !important;\n font-size: 20px;\n height: 20px;\n line-height: 20px;\n width: 20px;\n}\n@media (max-width: 900px) {\n [_nghost-%COMP%] .filing-details-grid[_ngcontent-%COMP%], \n [_nghost-%COMP%] .directors-table[_ngcontent-%COMP%] {\n grid-template-columns: 1fr;\n }\n [_nghost-%COMP%] .directors-table-header[_ngcontent-%COMP%] {\n display: none;\n }\n [_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: 1fr;\n border-bottom: 1px solid #e1e6ee;\n }\n [_nghost-%COMP%] .directors-table-row[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] {\n border: 0;\n padding: 14px 0;\n }\n [_nghost-%COMP%] mat-radio-group[_ngcontent-%COMP%] {\n flex-direction: column;\n gap: 14px;\n }\n}\n/*# sourceMappingURL=change-of-directors-form.component.css.map */"], changeDetection: 0 });
|
|
85612
|
+
};
|
|
85613
|
+
(() => {
|
|
85614
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfDirectorsFormComponent, [{
|
|
85615
|
+
type: Component,
|
|
85616
|
+
args: [{ standalone: true, selector: "british-columbia-change-of-directors-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
85617
|
+
FilingFormGroupComponent,
|
|
85618
|
+
AlertComponent,
|
|
85619
|
+
ExpandableCardComponent,
|
|
85620
|
+
MatCheckbox,
|
|
85621
|
+
MatDatepicker,
|
|
85622
|
+
MatDatepickerInput,
|
|
85623
|
+
MatDatepickerToggle,
|
|
85624
|
+
MatFormField,
|
|
85625
|
+
MatIcon,
|
|
85626
|
+
MatInput,
|
|
85627
|
+
MatRadioButton,
|
|
85628
|
+
MatRadioGroup,
|
|
85629
|
+
ReactiveFormsModule,
|
|
85630
|
+
TranslatePipe
|
|
85631
|
+
], template: `<div class="change-of-directors-form">
|
|
85632
|
+
@if (isNote()) {
|
|
85633
|
+
<alert
|
|
85634
|
+
[type]="alertType.Info"
|
|
85635
|
+
title="Entity changed"
|
|
85636
|
+
content="A new draft needs to be generated as the Entity was changed since the last draft was produced."
|
|
85637
|
+
/>
|
|
85638
|
+
}
|
|
85639
|
+
|
|
85640
|
+
@if (errors().length) {
|
|
85641
|
+
<alert
|
|
85642
|
+
title="The following issues need to be resolved before proceeding:"
|
|
85643
|
+
[content]="errors()"
|
|
85644
|
+
/>
|
|
85645
|
+
}
|
|
85646
|
+
|
|
85647
|
+
<div class="change-of-directors-form-content">
|
|
85648
|
+
@let referenceNumbers = getFormGroup(groups.ReferenceNumbers);
|
|
85649
|
+
|
|
85650
|
+
@if (referenceNumbers) {
|
|
85651
|
+
<expandable-card [title]="groups.ReferenceNumbers">
|
|
85652
|
+
<filing-form-group
|
|
85653
|
+
[isSubmitted]="isSubmitted()"
|
|
85654
|
+
[form]="referenceNumbers"
|
|
85655
|
+
[config]="referenceNumbersFields"
|
|
85656
|
+
(visiblyValidChange)="onSectionValidChange('refNumbers', $event)"
|
|
85657
|
+
/>
|
|
85658
|
+
</expandable-card>
|
|
85659
|
+
}
|
|
85660
|
+
|
|
85661
|
+
@let corporationDetails = getFormGroup(groups.CorporationDetails);
|
|
85662
|
+
|
|
85663
|
+
@if (corporationDetails) {
|
|
85664
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.CorporationDetails">
|
|
85665
|
+
<div class="readonly-summary">
|
|
85666
|
+
<p>
|
|
85667
|
+
<strong>{{ 'Corporation Name' | translate }}:</strong>
|
|
85668
|
+
{{ corporationDetails.get(controls.CorporationName)?.value }}
|
|
85669
|
+
</p>
|
|
85670
|
+
<p>
|
|
85671
|
+
<strong>{{ 'Incorporation Number' | translate }}:</strong>
|
|
85672
|
+
{{ corporationDetails.get(controls.IncorporationNumber)?.value }}
|
|
85673
|
+
</p>
|
|
85674
|
+
<p>
|
|
85675
|
+
<strong>{{ 'Company Email' | translate }}:</strong>
|
|
85676
|
+
{{ corporationDetails.get(controls.CompanyEmail)?.value }}
|
|
85677
|
+
</p>
|
|
85678
|
+
</div>
|
|
85679
|
+
</expandable-card>
|
|
85680
|
+
}
|
|
85681
|
+
|
|
85682
|
+
@let filingDetails = getFormGroup(groups.FilingDetails);
|
|
85683
|
+
|
|
85684
|
+
@if (filingDetails) {
|
|
85685
|
+
<expandable-card
|
|
85686
|
+
[isStatusIcon]="!readonly()"
|
|
85687
|
+
[isValid]="sectionValidity['filingDetails']"
|
|
85688
|
+
[title]="groups.FilingDetails"
|
|
85689
|
+
>
|
|
85690
|
+
<div class="filing-details" [formGroup]="filingDetails">
|
|
85691
|
+
<div class="note-box">
|
|
85692
|
+
<strong>{{ 'Note' | translate }}:</strong>
|
|
85693
|
+
{{
|
|
85694
|
+
'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.'
|
|
85695
|
+
| translate
|
|
85696
|
+
}}
|
|
85697
|
+
</div>
|
|
85698
|
+
|
|
85699
|
+
<mat-checkbox
|
|
85700
|
+
class="directors-change-checkbox"
|
|
85701
|
+
[formControlName]="controls.DirectorsAddedOrDeleted"
|
|
85702
|
+
(change)="
|
|
85703
|
+
filingDetails.get(controls.ChangeDate)?.updateValueAndValidity({ emitEvent: false });
|
|
85704
|
+
onSectionValidChange('filingDetails', filingDetails.valid)
|
|
85705
|
+
"
|
|
85706
|
+
>
|
|
85707
|
+
{{ 'Directors will be added and/or deleted as part of this filing' | translate }}
|
|
85708
|
+
</mat-checkbox>
|
|
85709
|
+
|
|
85710
|
+
@if (filingDetails.get(controls.DirectorsAddedOrDeleted)?.value) {
|
|
85711
|
+
<div class="filing-details-grid">
|
|
85712
|
+
<div class="date-field">
|
|
85713
|
+
<label>
|
|
85714
|
+
{{ 'Date Directors were added or deleted' | translate }}<span>*</span>
|
|
85715
|
+
</label>
|
|
85716
|
+
<mat-form-field appearance="outline">
|
|
85717
|
+
<input
|
|
85718
|
+
matInput
|
|
85719
|
+
[matDatepicker]="changeDatePicker"
|
|
85720
|
+
[formControlName]="controls.ChangeDate"
|
|
85721
|
+
readonly
|
|
85722
|
+
(click)="changeDatePicker.open()"
|
|
85723
|
+
(dateChange)="onSectionValidChange('filingDetails', filingDetails.valid)"
|
|
85724
|
+
/>
|
|
85725
|
+
<mat-datepicker-toggle matSuffix [for]="changeDatePicker">
|
|
85726
|
+
<mat-icon matDatepickerToggleIcon>calendar_today</mat-icon>
|
|
85727
|
+
</mat-datepicker-toggle>
|
|
85728
|
+
<mat-datepicker #changeDatePicker></mat-datepicker>
|
|
85729
|
+
</mat-form-field>
|
|
85730
|
+
<p class="hint">
|
|
85731
|
+
{{
|
|
85732
|
+
"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."
|
|
85733
|
+
| translate
|
|
85734
|
+
}}
|
|
85735
|
+
</p>
|
|
85736
|
+
</div>
|
|
85737
|
+
|
|
85738
|
+
<p class="filing-fee">
|
|
85739
|
+
<strong>{{ 'Filing Fee' | translate }}:</strong>
|
|
85740
|
+
{{ filingDetails.get(controls.FilingFee)?.value }}
|
|
85741
|
+
</p>
|
|
85742
|
+
</div>
|
|
85743
|
+
}
|
|
85744
|
+
</div>
|
|
85745
|
+
</expandable-card>
|
|
85746
|
+
}
|
|
85747
|
+
|
|
85748
|
+
@let directorsArray = getFormArray(groups.Directors);
|
|
85749
|
+
|
|
85750
|
+
<expandable-card [isStatusIcon]="false" [title]="groups.Directors">
|
|
85751
|
+
<filing-form-group
|
|
85752
|
+
[isSubmitted]="isSubmitted()"
|
|
85753
|
+
[form]="form()"
|
|
85754
|
+
[config]="directorsIntroFields()"
|
|
85755
|
+
/>
|
|
85756
|
+
|
|
85757
|
+
@if (directorsArray && directorsArray.length) {
|
|
85758
|
+
<div class="directors-table" role="table">
|
|
85759
|
+
<div class="directors-table-header" role="row">
|
|
85760
|
+
<div role="columnheader">{{ 'Name' | translate }}</div>
|
|
85761
|
+
<div role="columnheader">{{ 'Mailing Address' | translate }}</div>
|
|
85762
|
+
<div role="columnheader">{{ 'Delivery Address' | translate }}</div>
|
|
85763
|
+
</div>
|
|
85764
|
+
|
|
85765
|
+
@for (director of directorsArray.controls; track director; let i = $index) {
|
|
85766
|
+
@let directorForm = getDirectorForm(i);
|
|
85767
|
+
@if (directorForm) {
|
|
85768
|
+
<div class="directors-table-row" role="row">
|
|
85769
|
+
<div role="cell">
|
|
85770
|
+
<strong>{{ directorForm.get(controls.AffiliationName)?.value }}</strong>
|
|
85771
|
+
@if (isNewDirector(directorForm)) {
|
|
85772
|
+
<span class="status-pill new">{{ 'NEW' | translate }}</span>
|
|
85773
|
+
}
|
|
85774
|
+
@if (isCeasedDirector(directorForm)) {
|
|
85775
|
+
<span class="status-pill ceased">{{ 'CEASE' | translate }}</span>
|
|
85776
|
+
}
|
|
85777
|
+
</div>
|
|
85778
|
+
<div role="cell">{{ directorForm.get(controls.MailingAddress)?.value }}</div>
|
|
85779
|
+
<div role="cell">{{ directorForm.get(controls.DeliveryAddress)?.value }}</div>
|
|
85780
|
+
</div>
|
|
85781
|
+
}
|
|
85782
|
+
}
|
|
85783
|
+
</div>
|
|
85784
|
+
} @else {
|
|
85785
|
+
<h2 class="body-1-regular">{{ 'Unchanged' | translate }}</h2>
|
|
85786
|
+
}
|
|
85787
|
+
</expandable-card>
|
|
85788
|
+
|
|
85789
|
+
@let annualReportReminder = getFormGroup(groups.AnnualReportReminder);
|
|
85790
|
+
|
|
85791
|
+
@if (annualReportReminder) {
|
|
85792
|
+
<expandable-card
|
|
85793
|
+
[isStatusIcon]="!readonly()"
|
|
85794
|
+
[isValid]="sectionValidity['annualReportReminder']"
|
|
85795
|
+
[title]="groups.AnnualReportReminder"
|
|
85796
|
+
>
|
|
85797
|
+
<div class="annual-reminder" [formGroup]="annualReportReminder">
|
|
85798
|
+
<p>
|
|
85799
|
+
{{
|
|
85800
|
+
"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."
|
|
85801
|
+
| translate
|
|
85802
|
+
}}
|
|
85803
|
+
</p>
|
|
85804
|
+
<mat-radio-group
|
|
85805
|
+
[formControlName]="controls.AnnualReportReminder"
|
|
85806
|
+
(change)="onSectionValidChange('annualReportReminder', annualReportReminder.valid)"
|
|
85807
|
+
>
|
|
85808
|
+
<mat-radio-button [value]="annualReportReminderOption.Yes">
|
|
85809
|
+
{{ 'Yes, send the annual report reminder' | translate }}
|
|
85810
|
+
</mat-radio-button>
|
|
85811
|
+
<mat-radio-button [value]="annualReportReminderOption.No">
|
|
85812
|
+
{{ 'No, I do not need to be reminded' | translate }}
|
|
85813
|
+
</mat-radio-button>
|
|
85814
|
+
</mat-radio-group>
|
|
85815
|
+
</div>
|
|
85816
|
+
</expandable-card>
|
|
85817
|
+
}
|
|
85818
|
+
</div>
|
|
85819
|
+
</div>
|
|
85820
|
+
`, 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 ::ng-deep .mat-mdc-form-field-icon-suffix {\n align-items: center;\n display: flex;\n padding-right: 8px;\n}\n:host .date-field ::ng-deep .mat-datepicker-toggle {\n color: #4b5563;\n}\n:host .date-field ::ng-deep .mat-datepicker-toggle button {\n --mdc-icon-button-state-layer-size: 36px;\n height: 36px;\n padding: 6px;\n width: 36px;\n}\n:host .date-field ::ng-deep .mat-datepicker-toggle .mat-icon {\n color: #4b5563 !important;\n font-size: 20px;\n height: 20px;\n line-height: 20px;\n width: 20px;\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"] }]
|
|
85821
|
+
}], null, null);
|
|
85822
|
+
})();
|
|
85823
|
+
(() => {
|
|
85824
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsFormComponent, { className: "BritishColumbiaChangeOfDirectorsFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/change-of-directors-form/change-of-directors-form.component.ts", lineNumber: 64 });
|
|
85825
|
+
})();
|
|
85826
|
+
}
|
|
85827
|
+
});
|
|
85828
|
+
|
|
85829
|
+
// src/app/components/british-columbia/change-of-directors/steps/delta/change-of-directors-delta-form.component.ts
|
|
85830
|
+
var BritishColumbiaChangeOfDirectorsDeltaFormComponent;
|
|
85831
|
+
var init_change_of_directors_delta_form_component = __esm({
|
|
85832
|
+
"src/app/components/british-columbia/change-of-directors/steps/delta/change-of-directors-delta-form.component.ts"() {
|
|
85833
|
+
init_core();
|
|
85834
|
+
init_button();
|
|
85835
|
+
init_ngx_translate_core();
|
|
85836
|
+
init_common_utils();
|
|
85837
|
+
init_change_of_directors_form_component();
|
|
85838
|
+
init_core();
|
|
85839
|
+
BritishColumbiaChangeOfDirectorsDeltaFormComponent = class _BritishColumbiaChangeOfDirectorsDeltaFormComponent {
|
|
85840
|
+
form = input.required();
|
|
85841
|
+
actionsDisabled = input(false);
|
|
85842
|
+
isNote = input(false);
|
|
85843
|
+
task = input();
|
|
85844
|
+
errors = input([]);
|
|
85845
|
+
close = output();
|
|
85846
|
+
save = output();
|
|
85847
|
+
validate = output();
|
|
85848
|
+
submitted = signal(false);
|
|
85849
|
+
visiblyValid = signal(true);
|
|
85850
|
+
clientErrors = signal([]);
|
|
85851
|
+
translate = inject(TranslateService);
|
|
85852
|
+
combinedErrors = computed(() => {
|
|
85853
|
+
const client = this.clientErrors();
|
|
85854
|
+
return client.length ? client : this.errors();
|
|
85855
|
+
});
|
|
85856
|
+
onVisiblyValidChange(valid) {
|
|
85857
|
+
this.visiblyValid.set(valid);
|
|
85858
|
+
}
|
|
85859
|
+
onValidate() {
|
|
85860
|
+
this.submitted.set(true);
|
|
85861
|
+
this.clientErrors.set([]);
|
|
85862
|
+
markFormGroupTouched(this.form());
|
|
85863
|
+
if (!this.visiblyValid()) {
|
|
85864
|
+
this.clientErrors.set([this.translate.instant("Some required fields aren't completed.")]);
|
|
85865
|
+
return;
|
|
85866
|
+
}
|
|
85867
|
+
this.validate.emit();
|
|
85868
|
+
}
|
|
85869
|
+
static \u0275fac = function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Factory(__ngFactoryType__) {
|
|
85870
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsDeltaFormComponent)();
|
|
85871
|
+
};
|
|
85872
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsDeltaFormComponent, selectors: [["british-columbia-change-of-directors-delta-form"]], inputs: { form: [1, "form"], actionsDisabled: [1, "actionsDisabled"], isNote: [1, "isNote"], task: [1, "task"], errors: [1, "errors"] }, outputs: { close: "close", save: "save", validate: "validate" }, decls: 15, vars: 18, consts: [[1, "change-of-directors-delta-form"], [1, "change-of-directors-delta-form-content", 3, "visiblyValidChange", "form", "task", "errors", "isNote", "isSubmitted", "readonly"], [1, "change-of-directors-delta-form-actions"], ["mat-stroked-button", "", "mat-button", "", 3, "click", "disabled"], [1, "body-1-semibold"], ["color", "primary", "mat-flat-button", "", 1, "submit", 3, "click", "disabled"]], template: function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Template(rf, ctx) {
|
|
85873
|
+
if (rf & 1) {
|
|
85874
|
+
\u0275\u0275elementStart(0, "div", 0)(1, "british-columbia-change-of-directors-form", 1);
|
|
85875
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Template_british_columbia_change_of_directors_form_visiblyValidChange_1_listener($event) {
|
|
85876
|
+
return ctx.onVisiblyValidChange($event);
|
|
85877
|
+
});
|
|
85878
|
+
\u0275\u0275elementEnd();
|
|
85879
|
+
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
85880
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Template_button_click_3_listener() {
|
|
85881
|
+
return ctx.close.emit();
|
|
85882
|
+
});
|
|
85883
|
+
\u0275\u0275elementStart(4, "span", 4);
|
|
85884
|
+
\u0275\u0275text(5);
|
|
85885
|
+
\u0275\u0275pipe(6, "translate");
|
|
85886
|
+
\u0275\u0275elementEnd()();
|
|
85887
|
+
\u0275\u0275elementStart(7, "button", 3);
|
|
85888
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Template_button_click_7_listener() {
|
|
85889
|
+
return ctx.save.emit();
|
|
85890
|
+
});
|
|
85891
|
+
\u0275\u0275elementStart(8, "span", 4);
|
|
85892
|
+
\u0275\u0275text(9);
|
|
85893
|
+
\u0275\u0275pipe(10, "translate");
|
|
85894
|
+
\u0275\u0275elementEnd()();
|
|
85895
|
+
\u0275\u0275elementStart(11, "button", 5);
|
|
85896
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsDeltaFormComponent_Template_button_click_11_listener() {
|
|
85897
|
+
return ctx.onValidate();
|
|
85898
|
+
});
|
|
85899
|
+
\u0275\u0275elementStart(12, "span", 4);
|
|
85900
|
+
\u0275\u0275text(13);
|
|
85901
|
+
\u0275\u0275pipe(14, "translate");
|
|
85902
|
+
\u0275\u0275elementEnd()()()();
|
|
85903
|
+
}
|
|
85904
|
+
if (rf & 2) {
|
|
85905
|
+
\u0275\u0275advance();
|
|
85906
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.combinedErrors())("isNote", ctx.isNote())("isSubmitted", ctx.submitted())("readonly", false);
|
|
85907
|
+
\u0275\u0275advance(2);
|
|
85908
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
85909
|
+
\u0275\u0275advance(2);
|
|
85910
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 12, "Close"));
|
|
85911
|
+
\u0275\u0275advance(2);
|
|
85912
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
85913
|
+
\u0275\u0275advance(2);
|
|
85914
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 14, "Save Changes"));
|
|
85915
|
+
\u0275\u0275advance(2);
|
|
85916
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
85917
|
+
\u0275\u0275advance(2);
|
|
85918
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(14, 16, "Validate & Generate Draft"));
|
|
85919
|
+
}
|
|
85920
|
+
}, dependencies: [MatButton, TranslatePipe, BritishColumbiaChangeOfDirectorsFormComponent], styles: ["\n\n[_nghost-%COMP%] .change-of-directors-delta-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-directors-delta-form-content[_ngcontent-%COMP%] {\n flex: 1;\n min-height: 0;\n}\n[_nghost-%COMP%] .change-of-directors-delta-form-actions[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n[_nghost-%COMP%] .change-of-directors-delta-form-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n margin: 0;\n}\n[_nghost-%COMP%] .change-of-directors-delta-form-actions[_ngcontent-%COMP%] .submit[_ngcontent-%COMP%] {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=change-of-directors-delta-form.component.css.map */"], changeDetection: 0 });
|
|
85921
|
+
};
|
|
85922
|
+
(() => {
|
|
85923
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfDirectorsDeltaFormComponent, [{
|
|
85924
|
+
type: Component,
|
|
85925
|
+
args: [{ standalone: true, selector: "british-columbia-change-of-directors-delta-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, TranslatePipe, BritishColumbiaChangeOfDirectorsFormComponent], template: `<div class="change-of-directors-delta-form">\r
|
|
85926
|
+
<british-columbia-change-of-directors-form\r
|
|
85927
|
+
class="change-of-directors-delta-form-content"\r
|
|
85928
|
+
[form]="form()"\r
|
|
85929
|
+
[task]="task()"\r
|
|
85930
|
+
[errors]="combinedErrors()"\r
|
|
85931
|
+
[isNote]="isNote()"\r
|
|
85932
|
+
[isSubmitted]="submitted()"\r
|
|
85933
|
+
[readonly]="false"\r
|
|
85934
|
+
(visiblyValidChange)="onVisiblyValidChange($event)"\r
|
|
85935
|
+
/>\r
|
|
85936
|
+
\r
|
|
85937
|
+
<div class="change-of-directors-delta-form-actions">\r
|
|
85938
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
85939
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
85940
|
+
</button>\r
|
|
85941
|
+
<button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
|
|
85942
|
+
<span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
|
|
85943
|
+
</button>\r
|
|
85944
|
+
<button\r
|
|
85945
|
+
class="submit"\r
|
|
85946
|
+
color="primary"\r
|
|
85947
|
+
mat-flat-button\r
|
|
85948
|
+
[disabled]="actionsDisabled()"\r
|
|
85949
|
+
(click)="onValidate()"\r
|
|
85950
|
+
>\r
|
|
85951
|
+
<span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
|
|
85952
|
+
</button>\r
|
|
85953
|
+
</div>\r
|
|
85954
|
+
</div>\r
|
|
85955
|
+
`, styles: ["/* src/app/components/british-columbia/change-of-directors/steps/delta/change-of-directors-delta-form.component.scss */\n:host .change-of-directors-delta-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-directors-delta-form-content {\n flex: 1;\n min-height: 0;\n}\n:host .change-of-directors-delta-form-actions {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n:host .change-of-directors-delta-form-actions button {\n margin: 0;\n}\n:host .change-of-directors-delta-form-actions .submit {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=change-of-directors-delta-form.component.css.map */\n"] }]
|
|
85956
|
+
}], null, null);
|
|
85957
|
+
})();
|
|
85958
|
+
(() => {
|
|
85959
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsDeltaFormComponent, { className: "BritishColumbiaChangeOfDirectorsDeltaFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/steps/delta/change-of-directors-delta-form.component.ts", lineNumber: 25 });
|
|
85960
|
+
})();
|
|
85961
|
+
}
|
|
85962
|
+
});
|
|
85963
|
+
|
|
85964
|
+
// src/app/components/british-columbia/change-of-directors/steps/preview/change-of-directors-preview-form.component.ts
|
|
85965
|
+
var BritishColumbiaChangeOfDirectorsPreviewFormComponent;
|
|
85966
|
+
var init_change_of_directors_preview_form_component = __esm({
|
|
85967
|
+
"src/app/components/british-columbia/change-of-directors/steps/preview/change-of-directors-preview-form.component.ts"() {
|
|
85968
|
+
init_core();
|
|
85969
|
+
init_button();
|
|
85970
|
+
init_ngx_translate_core();
|
|
85971
|
+
init_change_of_directors_form_component();
|
|
85972
|
+
init_core();
|
|
85973
|
+
BritishColumbiaChangeOfDirectorsPreviewFormComponent = class _BritishColumbiaChangeOfDirectorsPreviewFormComponent {
|
|
85974
|
+
form = input.required();
|
|
85975
|
+
actionsDisabled = input(false);
|
|
85976
|
+
task = input();
|
|
85977
|
+
errors = input([]);
|
|
85978
|
+
close = output();
|
|
85979
|
+
file = output();
|
|
85980
|
+
static \u0275fac = function BritishColumbiaChangeOfDirectorsPreviewFormComponent_Factory(__ngFactoryType__) {
|
|
85981
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsPreviewFormComponent)();
|
|
85982
|
+
};
|
|
85983
|
+
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaChangeOfDirectorsPreviewFormComponent, selectors: [["british-columbia-change-of-directors-preview-form"]], inputs: { form: [1, "form"], actionsDisabled: [1, "actionsDisabled"], task: [1, "task"], errors: [1, "errors"] }, outputs: { close: "close", file: "file" }, decls: 11, vars: 13, consts: [[1, "change-of-directors-preview-form"], [1, "change-of-directors-preview-form-content", 3, "form", "task", "errors", "isSubmitted", "readonly"], [1, "change-of-directors-preview-form-actions"], ["mat-stroked-button", "", "mat-button", "", 3, "click", "disabled"], [1, "body-1-semibold"], ["color", "primary", "mat-flat-button", "", 1, "submit", 3, "click", "disabled"]], template: function BritishColumbiaChangeOfDirectorsPreviewFormComponent_Template(rf, ctx) {
|
|
85984
|
+
if (rf & 1) {
|
|
85985
|
+
\u0275\u0275elementStart(0, "div", 0);
|
|
85986
|
+
\u0275\u0275element(1, "british-columbia-change-of-directors-form", 1);
|
|
85987
|
+
\u0275\u0275elementStart(2, "div", 2)(3, "button", 3);
|
|
85988
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsPreviewFormComponent_Template_button_click_3_listener() {
|
|
85989
|
+
return ctx.close.emit();
|
|
85990
|
+
});
|
|
85991
|
+
\u0275\u0275elementStart(4, "span", 4);
|
|
85992
|
+
\u0275\u0275text(5);
|
|
85993
|
+
\u0275\u0275pipe(6, "translate");
|
|
85994
|
+
\u0275\u0275elementEnd()();
|
|
85995
|
+
\u0275\u0275elementStart(7, "button", 5);
|
|
85996
|
+
\u0275\u0275listener("click", function BritishColumbiaChangeOfDirectorsPreviewFormComponent_Template_button_click_7_listener() {
|
|
85997
|
+
return ctx.file.emit();
|
|
85998
|
+
});
|
|
85999
|
+
\u0275\u0275elementStart(8, "span", 4);
|
|
86000
|
+
\u0275\u0275text(9);
|
|
86001
|
+
\u0275\u0275pipe(10, "translate");
|
|
86002
|
+
\u0275\u0275elementEnd()()()();
|
|
86003
|
+
}
|
|
86004
|
+
if (rf & 2) {
|
|
86005
|
+
\u0275\u0275advance();
|
|
86006
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("errors", ctx.errors())("isSubmitted", false)("readonly", true);
|
|
86007
|
+
\u0275\u0275advance(2);
|
|
86008
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
86009
|
+
\u0275\u0275advance(2);
|
|
86010
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 9, "Close"));
|
|
86011
|
+
\u0275\u0275advance(2);
|
|
86012
|
+
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
86013
|
+
\u0275\u0275advance(2);
|
|
86014
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 11, "File"));
|
|
86015
|
+
}
|
|
86016
|
+
}, dependencies: [MatButton, TranslatePipe, BritishColumbiaChangeOfDirectorsFormComponent], styles: ["\n\n[_nghost-%COMP%] .change-of-directors-preview-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-directors-preview-form-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n[_nghost-%COMP%] .change-of-directors-preview-form-actions[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n[_nghost-%COMP%] .change-of-directors-preview-form-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n margin: 0;\n}\n/*# sourceMappingURL=change-of-directors-preview-form.component.css.map */"], changeDetection: 0 });
|
|
86017
|
+
};
|
|
86018
|
+
(() => {
|
|
86019
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfDirectorsPreviewFormComponent, [{
|
|
86020
|
+
type: Component,
|
|
86021
|
+
args: [{ standalone: true, selector: "british-columbia-change-of-directors-preview-form", changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, TranslatePipe, BritishColumbiaChangeOfDirectorsFormComponent], template: `<div class="change-of-directors-preview-form">\r
|
|
86022
|
+
<british-columbia-change-of-directors-form\r
|
|
86023
|
+
class="change-of-directors-preview-form-content"\r
|
|
86024
|
+
[form]="form()"\r
|
|
86025
|
+
[task]="task()"\r
|
|
86026
|
+
[errors]="errors()"\r
|
|
86027
|
+
[isSubmitted]="false"\r
|
|
86028
|
+
[readonly]="true"\r
|
|
86029
|
+
/>\r
|
|
86030
|
+
\r
|
|
86031
|
+
<div class="change-of-directors-preview-form-actions">\r
|
|
86032
|
+
<button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
|
|
86033
|
+
<span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
|
|
86034
|
+
</button>\r
|
|
86035
|
+
<button\r
|
|
86036
|
+
class="submit"\r
|
|
86037
|
+
color="primary"\r
|
|
86038
|
+
mat-flat-button\r
|
|
86039
|
+
[disabled]="actionsDisabled()"\r
|
|
86040
|
+
(click)="file.emit()"\r
|
|
86041
|
+
>\r
|
|
86042
|
+
<span class="body-1-semibold">{{ 'File' | translate }}</span>\r
|
|
86043
|
+
</button>\r
|
|
86044
|
+
</div>\r
|
|
86045
|
+
</div>\r
|
|
86046
|
+
`, styles: ["/* src/app/components/british-columbia/change-of-directors/steps/preview/change-of-directors-preview-form.component.scss */\n:host .change-of-directors-preview-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-directors-preview-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .change-of-directors-preview-form-actions {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n:host .change-of-directors-preview-form-actions button {\n margin: 0;\n}\n/*# sourceMappingURL=change-of-directors-preview-form.component.css.map */\n"] }]
|
|
86047
|
+
}], null, null);
|
|
86048
|
+
})();
|
|
86049
|
+
(() => {
|
|
86050
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaChangeOfDirectorsPreviewFormComponent, { className: "BritishColumbiaChangeOfDirectorsPreviewFormComponent", filePath: "src/app/components/british-columbia/change-of-directors/steps/preview/change-of-directors-preview-form.component.ts", lineNumber: 21 });
|
|
86051
|
+
})();
|
|
86052
|
+
}
|
|
86053
|
+
});
|
|
86054
|
+
|
|
84786
86055
|
// src/app/constants/ui/british-columbia-formation-form.constants.ts
|
|
84787
|
-
var BC_NAME_TYPE_OPTIONS,
|
|
86056
|
+
var BC_NAME_TYPE_OPTIONS, labelledValue2, isNamed, isNotifyByMail2, BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, BC_FORMATION_DELTA_CARD_FORM_CORPORATION_DETAILS_FIELDS, BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_FIELDS, BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_ROW_FIELDS, BC_FORMATION_CARD_FORM_REGISTERED_OFFICE_FIELDS, BC_FORMATION_CARD_FORM_RECORDS_OFFICE_FIELDS, BC_FORMATION_DELTA_CARD_FORM_NOTIFICATION_FIELDS, BC_FORMATION_DELTA_CARD_FORM_COMPLETING_PARTY_FIELDS, BC_FORMATION_CARD_FORM_DIRECTORS_FIELDS, BC_FORMATION_CARD_FORM_INCORPORATORS_FIELDS;
|
|
84788
86057
|
var init_british_columbia_formation_form_constants = __esm({
|
|
84789
86058
|
"src/app/constants/ui/british-columbia-formation-form.constants.ts"() {
|
|
84790
86059
|
init_form_enums();
|
|
@@ -84792,8 +86061,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84792
86061
|
init_BritishColumbiaConstants();
|
|
84793
86062
|
init_british_columbia_formation_form_helper();
|
|
84794
86063
|
BC_NAME_TYPE_OPTIONS = Object.values(BCNameType).filter((v) => typeof v === "number").map((v) => ({ label: BCNameTypeLabel[v], value: v }));
|
|
84795
|
-
|
|
86064
|
+
labelledValue2 = (label, value, t) => `<span class="body-1-semibold">${t(label)}:</span> ${value || t("Not specified")}`;
|
|
84796
86065
|
isNamed = (form) => form.get(BCFormationFormControls.CorporationNameType)?.value === BCNameType.Named;
|
|
86066
|
+
isNotifyByMail2 = (form) => form.get(BCFormationFormControls.NotificationMethod)?.value === BCNotificationMethod.Mail;
|
|
84797
86067
|
BC_FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS = [
|
|
84798
86068
|
{
|
|
84799
86069
|
type: FormType.Input,
|
|
@@ -84815,6 +86085,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84815
86085
|
options: BC_NAME_TYPE_OPTIONS,
|
|
84816
86086
|
needTranslate: true,
|
|
84817
86087
|
onChange: (form) => {
|
|
86088
|
+
if (!isNamed(form)) {
|
|
86089
|
+
form.get(BCFormationFormControls.CompanyName)?.setValue("", { emitEvent: false });
|
|
86090
|
+
form.get(BCFormationFormControls.NameReservationNumber)?.setValue("", { emitEvent: false });
|
|
86091
|
+
}
|
|
84818
86092
|
form.get(BCFormationFormControls.CompanyName)?.updateValueAndValidity({ emitEvent: false });
|
|
84819
86093
|
form.get(BCFormationFormControls.NameReservationNumber)?.updateValueAndValidity({ emitEvent: false });
|
|
84820
86094
|
}
|
|
@@ -84823,13 +86097,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84823
86097
|
type: FormType.Text,
|
|
84824
86098
|
formControlName: "",
|
|
84825
86099
|
class: "span-6 beside-select",
|
|
84826
|
-
|
|
84827
|
-
|
|
84828
|
-
|
|
86100
|
+
dynamicLabel: (form, t) => {
|
|
86101
|
+
if (!isNamed(form)) {
|
|
86102
|
+
return BC_NUMBERED_NAME_PREVIEW;
|
|
86103
|
+
}
|
|
86104
|
+
const companyName = form.get(BCFormationFormControls.CompanyName)?.value ?? "";
|
|
86105
|
+
return companyName.trim() ? companyName.trim().toUpperCase() : t("Name preview \u2014 appears exactly as entered");
|
|
86106
|
+
}
|
|
84829
86107
|
},
|
|
84830
86108
|
{
|
|
84831
86109
|
type: FormType.Input,
|
|
84832
|
-
label: "
|
|
86110
|
+
label: "Company Name",
|
|
84833
86111
|
formControlName: BCFormationFormControls.CompanyName,
|
|
84834
86112
|
required: true,
|
|
84835
86113
|
isVisible: isNamed,
|
|
@@ -84837,12 +86115,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84837
86115
|
},
|
|
84838
86116
|
{
|
|
84839
86117
|
type: FormType.Input,
|
|
84840
|
-
label: "Name Reservation
|
|
86118
|
+
label: "Name Reservation (NR) Number",
|
|
84841
86119
|
formControlName: BCFormationFormControls.NameReservationNumber,
|
|
84842
86120
|
required: true,
|
|
84843
86121
|
maxLength: 9,
|
|
84844
86122
|
errorMessage: "Enter a valid Name Reservation number (for example NR1234567)",
|
|
84845
|
-
showRequiredMessage: true,
|
|
84846
86123
|
isVisible: isNamed,
|
|
84847
86124
|
class: "span-6"
|
|
84848
86125
|
},
|
|
@@ -84850,7 +86127,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84850
86127
|
type: FormType.Text,
|
|
84851
86128
|
formControlName: BCFormationFormControls.RequestedDateForIncorporation,
|
|
84852
86129
|
class: "span-12 spaced-text",
|
|
84853
|
-
dynamicLabel: (form, t) =>
|
|
86130
|
+
dynamicLabel: (form, t) => labelledValue2("Requested Date for Incorporation", form.get(BCFormationFormControls.RequestedDateForIncorporation)?.value, t)
|
|
84854
86131
|
},
|
|
84855
86132
|
{
|
|
84856
86133
|
type: FormType.Text,
|
|
@@ -84867,7 +86144,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84867
86144
|
required: true,
|
|
84868
86145
|
maxLength: BC_COMPANY_EMAIL_MAX_LENGTH,
|
|
84869
86146
|
errorMessage: "Enter a valid email address",
|
|
84870
|
-
showRequiredMessage: true,
|
|
84871
86147
|
class: "span-6"
|
|
84872
86148
|
},
|
|
84873
86149
|
{
|
|
@@ -84878,7 +86154,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84878
86154
|
required: true,
|
|
84879
86155
|
maxLength: BC_PASSWORD_MAX_LENGTH,
|
|
84880
86156
|
errorMessage: "Company Password must be 8 to 15 characters",
|
|
84881
|
-
showRequiredMessage: true,
|
|
84882
86157
|
class: "span-6"
|
|
84883
86158
|
}
|
|
84884
86159
|
];
|
|
@@ -84924,13 +86199,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84924
86199
|
type: FormType.Text,
|
|
84925
86200
|
formControlName: BCFormationFormControls.MailingAddress,
|
|
84926
86201
|
class: "span-12",
|
|
84927
|
-
dynamicLabel: (form, t) =>
|
|
86202
|
+
dynamicLabel: (form, t) => labelledValue2("Mailing Address - Full Address", form.get(BCFormationFormControls.MailingAddress)?.value, t)
|
|
84928
86203
|
},
|
|
84929
86204
|
{
|
|
84930
86205
|
type: FormType.Text,
|
|
84931
86206
|
formControlName: BCFormationFormControls.DeliveryAddress,
|
|
84932
86207
|
class: "span-12",
|
|
84933
|
-
dynamicLabel: (form, t) =>
|
|
86208
|
+
dynamicLabel: (form, t) => labelledValue2("Delivery Address - Full Address", form.get(BCFormationFormControls.DeliveryAddress)?.value, t)
|
|
84934
86209
|
}
|
|
84935
86210
|
];
|
|
84936
86211
|
BC_FORMATION_CARD_FORM_RECORDS_OFFICE_FIELDS = [
|
|
@@ -84938,13 +86213,109 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84938
86213
|
type: FormType.Text,
|
|
84939
86214
|
formControlName: BCFormationFormControls.RecordsOfficeMailingAddress,
|
|
84940
86215
|
class: "span-12",
|
|
84941
|
-
dynamicLabel: (form, t) =>
|
|
86216
|
+
dynamicLabel: (form, t) => labelledValue2("Mailing Address - Full Address", form.get(BCFormationFormControls.RecordsOfficeMailingAddress)?.value, t)
|
|
84942
86217
|
},
|
|
84943
86218
|
{
|
|
84944
86219
|
type: FormType.Text,
|
|
84945
86220
|
formControlName: BCFormationFormControls.RecordsOfficeDeliveryAddress,
|
|
84946
86221
|
class: "span-12",
|
|
84947
|
-
dynamicLabel: (form, t) =>
|
|
86222
|
+
dynamicLabel: (form, t) => labelledValue2("Delivery Address - Full Address", form.get(BCFormationFormControls.RecordsOfficeDeliveryAddress)?.value, t)
|
|
86223
|
+
}
|
|
86224
|
+
];
|
|
86225
|
+
BC_FORMATION_DELTA_CARD_FORM_NOTIFICATION_FIELDS = [
|
|
86226
|
+
{
|
|
86227
|
+
type: FormType.Radio,
|
|
86228
|
+
label: "Notification Method",
|
|
86229
|
+
formControlName: BCFormationFormControls.NotificationMethod,
|
|
86230
|
+
required: true,
|
|
86231
|
+
options: BC_NOTIFICATION_METHOD_OPTIONS,
|
|
86232
|
+
needTranslate: true,
|
|
86233
|
+
class: "span-12",
|
|
86234
|
+
onChange: (form) => {
|
|
86235
|
+
const byMail = isNotifyByMail2(form);
|
|
86236
|
+
if (!byMail) {
|
|
86237
|
+
[
|
|
86238
|
+
BCFormationFormControls.NotificationName,
|
|
86239
|
+
BCFormationFormControls.AddressLine1,
|
|
86240
|
+
BCFormationFormControls.AddressLine2,
|
|
86241
|
+
BCFormationFormControls.City,
|
|
86242
|
+
BCFormationFormControls.PostalZip
|
|
86243
|
+
].forEach((control) => form.get(control)?.setValue("", { emitEvent: false }));
|
|
86244
|
+
form.get(BCFormationFormControls.ProvinceState)?.setValue(BC_DEFAULT_PROVINCE_STATE, { emitEvent: false });
|
|
86245
|
+
form.get(BCFormationFormControls.Country)?.setValue(BC_DEFAULT_COUNTRY, { emitEvent: false });
|
|
86246
|
+
}
|
|
86247
|
+
[
|
|
86248
|
+
BCFormationFormControls.NotificationEmail,
|
|
86249
|
+
BCFormationFormControls.NotificationName,
|
|
86250
|
+
BCFormationFormControls.AddressLine1,
|
|
86251
|
+
BCFormationFormControls.City,
|
|
86252
|
+
BCFormationFormControls.ProvinceState,
|
|
86253
|
+
BCFormationFormControls.Country
|
|
86254
|
+
].forEach((control) => form.get(control)?.updateValueAndValidity({ emitEvent: false }));
|
|
86255
|
+
}
|
|
86256
|
+
},
|
|
86257
|
+
{
|
|
86258
|
+
type: FormType.Input,
|
|
86259
|
+
label: "Notification Email",
|
|
86260
|
+
formControlName: BCFormationFormControls.NotificationEmail,
|
|
86261
|
+
isVisible: (form) => !isNotifyByMail2(form),
|
|
86262
|
+
class: "column-3"
|
|
86263
|
+
},
|
|
86264
|
+
{
|
|
86265
|
+
type: FormType.Input,
|
|
86266
|
+
label: "Name",
|
|
86267
|
+
formControlName: BCFormationFormControls.NotificationName,
|
|
86268
|
+
required: true,
|
|
86269
|
+
isVisible: isNotifyByMail2,
|
|
86270
|
+
class: "column-3"
|
|
86271
|
+
},
|
|
86272
|
+
{
|
|
86273
|
+
type: FormType.Input,
|
|
86274
|
+
label: "Address Line 1",
|
|
86275
|
+
formControlName: BCFormationFormControls.AddressLine1,
|
|
86276
|
+
required: true,
|
|
86277
|
+
isVisible: isNotifyByMail2,
|
|
86278
|
+
class: "column-3"
|
|
86279
|
+
},
|
|
86280
|
+
{
|
|
86281
|
+
type: FormType.Input,
|
|
86282
|
+
label: "Address Line 2",
|
|
86283
|
+
formControlName: BCFormationFormControls.AddressLine2,
|
|
86284
|
+
isVisible: isNotifyByMail2,
|
|
86285
|
+
class: "column-3"
|
|
86286
|
+
},
|
|
86287
|
+
{
|
|
86288
|
+
type: FormType.Input,
|
|
86289
|
+
label: "City",
|
|
86290
|
+
formControlName: BCFormationFormControls.City,
|
|
86291
|
+
required: true,
|
|
86292
|
+
isVisible: isNotifyByMail2,
|
|
86293
|
+
class: "column-2"
|
|
86294
|
+
},
|
|
86295
|
+
{
|
|
86296
|
+
type: FormType.Select,
|
|
86297
|
+
label: "Province / State",
|
|
86298
|
+
formControlName: BCFormationFormControls.ProvinceState,
|
|
86299
|
+
required: true,
|
|
86300
|
+
isVisible: isNotifyByMail2,
|
|
86301
|
+
options: BC_PROVINCE_STATE_OPTIONS,
|
|
86302
|
+
class: "span-4"
|
|
86303
|
+
},
|
|
86304
|
+
{
|
|
86305
|
+
type: FormType.Input,
|
|
86306
|
+
label: "Postal / Zip Code",
|
|
86307
|
+
formControlName: BCFormationFormControls.PostalZip,
|
|
86308
|
+
isVisible: isNotifyByMail2,
|
|
86309
|
+
class: "column-2"
|
|
86310
|
+
},
|
|
86311
|
+
{
|
|
86312
|
+
type: FormType.Select,
|
|
86313
|
+
label: "Country",
|
|
86314
|
+
formControlName: BCFormationFormControls.Country,
|
|
86315
|
+
required: true,
|
|
86316
|
+
isVisible: isNotifyByMail2,
|
|
86317
|
+
options: BC_COUNTRY_OPTIONS,
|
|
86318
|
+
class: "span-4"
|
|
84948
86319
|
}
|
|
84949
86320
|
];
|
|
84950
86321
|
BC_FORMATION_DELTA_CARD_FORM_COMPLETING_PARTY_FIELDS = [
|
|
@@ -84975,7 +86346,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84975
86346
|
formControlName: BCFormationFormControls.CompletingPartyEmail,
|
|
84976
86347
|
required: true,
|
|
84977
86348
|
errorMessage: "Enter a valid email address",
|
|
84978
|
-
showRequiredMessage: true,
|
|
84979
86349
|
class: "column-3"
|
|
84980
86350
|
},
|
|
84981
86351
|
{
|
|
@@ -85015,8 +86385,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85015
86385
|
label: "Postal / Zip Code",
|
|
85016
86386
|
formControlName: BCFormationFormControls.PostalZip,
|
|
85017
86387
|
required: true,
|
|
85018
|
-
errorMessage: "Enter a valid Canadian postal code (for example V8W 1X4)",
|
|
85019
|
-
showRequiredMessage: true,
|
|
85020
86388
|
class: "column-2"
|
|
85021
86389
|
},
|
|
85022
86390
|
{
|
|
@@ -85025,11 +86393,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85025
86393
|
formControlName: BCFormationFormControls.Country,
|
|
85026
86394
|
required: true,
|
|
85027
86395
|
options: BC_COMPLETING_PARTY_COUNTRY_OPTIONS,
|
|
85028
|
-
class: "span-4"
|
|
85029
|
-
// Province / State is required for Canada and the US, and the postal code format is Canada-only.
|
|
85030
|
-
onChange: (form) => {
|
|
85031
|
-
[BCFormationFormControls.ProvinceState, BCFormationFormControls.PostalZip].forEach((control) => form.get(control)?.updateValueAndValidity({ emitEvent: false }));
|
|
85032
|
-
}
|
|
86396
|
+
class: "span-4"
|
|
85033
86397
|
},
|
|
85034
86398
|
{
|
|
85035
86399
|
type: FormType.Checkbox,
|
|
@@ -85053,13 +86417,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85053
86417
|
type: FormType.Text,
|
|
85054
86418
|
formControlName: BCFormationFormControls.MailingAddress,
|
|
85055
86419
|
class: "span-12",
|
|
85056
|
-
dynamicLabel: (form, t) =>
|
|
86420
|
+
dynamicLabel: (form, t) => labelledValue2("Mailing Address - Full Address", form.get(BCFormationFormControls.MailingAddress)?.value, t)
|
|
85057
86421
|
},
|
|
85058
86422
|
{
|
|
85059
86423
|
type: FormType.Text,
|
|
85060
86424
|
formControlName: BCFormationFormControls.DeliveryAddress,
|
|
85061
86425
|
class: "span-12",
|
|
85062
|
-
dynamicLabel: (form, t) =>
|
|
86426
|
+
dynamicLabel: (form, t) => labelledValue2("Delivery Address - Full Address", form.get(BCFormationFormControls.DeliveryAddress)?.value, t)
|
|
85063
86427
|
}
|
|
85064
86428
|
];
|
|
85065
86429
|
BC_FORMATION_CARD_FORM_INCORPORATORS_FIELDS = [
|
|
@@ -85067,7 +86431,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85067
86431
|
type: FormType.Text,
|
|
85068
86432
|
formControlName: BCFormationFormControls.FullAddress,
|
|
85069
86433
|
class: "span-12",
|
|
85070
|
-
dynamicLabel: (form, t) =>
|
|
86434
|
+
dynamicLabel: (form, t) => labelledValue2("Full Address", form.get(BCFormationFormControls.FullAddress)?.value, t)
|
|
85071
86435
|
}
|
|
85072
86436
|
];
|
|
85073
86437
|
}
|
|
@@ -85271,18 +86635,37 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85271
86635
|
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOfficeForm_r12)("config", ctx_r0.recordsOfficeFields);
|
|
85272
86636
|
}
|
|
85273
86637
|
}
|
|
85274
|
-
function
|
|
86638
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_11_Template(rf, ctx) {
|
|
86639
|
+
if (rf & 1) {
|
|
86640
|
+
const _r13 = \u0275\u0275getCurrentView();
|
|
86641
|
+
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 8)(2, "filing-form-group", 9);
|
|
86642
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaIncorporationFormComponent_Conditional_11_Template_filing_form_group_visiblyValidChange_2_listener($event) {
|
|
86643
|
+
\u0275\u0275restoreView(_r13);
|
|
86644
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
86645
|
+
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("notification", $event));
|
|
86646
|
+
});
|
|
86647
|
+
\u0275\u0275elementEnd()()();
|
|
86648
|
+
}
|
|
86649
|
+
if (rf & 2) {
|
|
86650
|
+
const ctx_r0 = \u0275\u0275nextContext();
|
|
86651
|
+
const notification_r14 = \u0275\u0275readContextLet(10);
|
|
86652
|
+
\u0275\u0275property("isValid", ctx_r0.sectionValidity["notification"])("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.Notification);
|
|
86653
|
+
\u0275\u0275advance(2);
|
|
86654
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", notification_r14)("config", ctx_r0.notificationFields);
|
|
86655
|
+
}
|
|
86656
|
+
}
|
|
86657
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_14_Template(rf, ctx) {
|
|
85275
86658
|
if (rf & 1) {
|
|
85276
86659
|
\u0275\u0275element(0, "expandable-list-card", 7);
|
|
85277
86660
|
}
|
|
85278
86661
|
if (rf & 2) {
|
|
85279
86662
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85280
|
-
const
|
|
85281
|
-
const
|
|
85282
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("isValid", true)("areItemsOpen",
|
|
86663
|
+
const directorsArray_r15 = \u0275\u0275readContextLet(12);
|
|
86664
|
+
const isOpenDirectors_r16 = \u0275\u0275readContextLet(13);
|
|
86665
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("isValid", true)("areItemsOpen", isOpenDirectors_r16)("isStatusIcon", false)("fields", ctx_r0.directorsFields)("formArray", directorsArray_r15)("title", ctx_r0.groups.Directors);
|
|
85283
86666
|
}
|
|
85284
86667
|
}
|
|
85285
|
-
function
|
|
86668
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_15_Template(rf, ctx) {
|
|
85286
86669
|
if (rf & 1) {
|
|
85287
86670
|
\u0275\u0275elementStart(0, "expandable-card", 4)(1, "h2", 21);
|
|
85288
86671
|
\u0275\u0275text(2);
|
|
@@ -85296,7 +86679,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85296
86679
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(3, 2, "Unchanged"));
|
|
85297
86680
|
}
|
|
85298
86681
|
}
|
|
85299
|
-
function
|
|
86682
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_17_Conditional_1_For_21_Template(rf, ctx) {
|
|
85300
86683
|
if (rf & 1) {
|
|
85301
86684
|
\u0275\u0275elementStart(0, "tr", 21)(1, "th", 27);
|
|
85302
86685
|
\u0275\u0275text(2);
|
|
@@ -85318,22 +86701,22 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85318
86701
|
\u0275\u0275elementEnd()();
|
|
85319
86702
|
}
|
|
85320
86703
|
if (rf & 2) {
|
|
85321
|
-
let
|
|
85322
|
-
const
|
|
85323
|
-
\u0275\u0275classProp("series",
|
|
86704
|
+
let tmp_25_0;
|
|
86705
|
+
const row_r17 = ctx.$implicit;
|
|
86706
|
+
\u0275\u0275classProp("series", row_r17.isSeries);
|
|
85324
86707
|
\u0275\u0275advance(2);
|
|
85325
|
-
\u0275\u0275textInterpolate(
|
|
86708
|
+
\u0275\u0275textInterpolate(row_r17.name);
|
|
85326
86709
|
\u0275\u0275advance(2);
|
|
85327
|
-
\u0275\u0275textInterpolate1(" ",
|
|
86710
|
+
\u0275\u0275textInterpolate1(" ", row_r17.maximumShares === null ? \u0275\u0275pipeBind1(5, 7, "Unlimited") : row_r17.maximumShares || "\u2014", " ");
|
|
85328
86711
|
\u0275\u0275advance(3);
|
|
85329
|
-
\u0275\u0275textInterpolate((
|
|
86712
|
+
\u0275\u0275textInterpolate((tmp_25_0 = row_r17.parValue) !== null && tmp_25_0 !== void 0 ? tmp_25_0 : \u0275\u0275pipeBind1(8, 9, "Without Par Value"));
|
|
85330
86713
|
\u0275\u0275advance(3);
|
|
85331
|
-
\u0275\u0275textInterpolate(
|
|
86714
|
+
\u0275\u0275textInterpolate(row_r17.currency || "\u2014");
|
|
85332
86715
|
\u0275\u0275advance(2);
|
|
85333
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(13, 11,
|
|
86716
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(13, 11, row_r17.hasSpecialRights ? "Yes" : "No"));
|
|
85334
86717
|
}
|
|
85335
86718
|
}
|
|
85336
|
-
function
|
|
86719
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_17_Conditional_1_Template(rf, ctx) {
|
|
85337
86720
|
if (rf & 1) {
|
|
85338
86721
|
\u0275\u0275elementStart(0, "div", 22)(1, "table", 23)(2, "thead")(3, "tr", 18)(4, "th", 24);
|
|
85339
86722
|
\u0275\u0275text(5);
|
|
@@ -85356,7 +86739,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85356
86739
|
\u0275\u0275pipe(18, "translate");
|
|
85357
86740
|
\u0275\u0275elementEnd()()();
|
|
85358
86741
|
\u0275\u0275elementStart(19, "tbody");
|
|
85359
|
-
\u0275\u0275repeaterCreate(20,
|
|
86742
|
+
\u0275\u0275repeaterCreate(20, BritishColumbiaIncorporationFormComponent_Conditional_17_Conditional_1_For_21_Template, 14, 13, "tr", 26, _forTrack04);
|
|
85360
86743
|
\u0275\u0275elementEnd()()();
|
|
85361
86744
|
}
|
|
85362
86745
|
if (rf & 2) {
|
|
@@ -85375,7 +86758,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85375
86758
|
\u0275\u0275repeater(ctx_r0.shareRows());
|
|
85376
86759
|
}
|
|
85377
86760
|
}
|
|
85378
|
-
function
|
|
86761
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_17_Conditional_2_Template(rf, ctx) {
|
|
85379
86762
|
if (rf & 1) {
|
|
85380
86763
|
\u0275\u0275elementStart(0, "p", 21);
|
|
85381
86764
|
\u0275\u0275text(1);
|
|
@@ -85387,10 +86770,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85387
86770
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, "None"));
|
|
85388
86771
|
}
|
|
85389
86772
|
}
|
|
85390
|
-
function
|
|
86773
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_17_Template(rf, ctx) {
|
|
85391
86774
|
if (rf & 1) {
|
|
85392
86775
|
\u0275\u0275elementStart(0, "expandable-card", 6);
|
|
85393
|
-
\u0275\u0275template(1,
|
|
86776
|
+
\u0275\u0275template(1, BritishColumbiaIncorporationFormComponent_Conditional_17_Conditional_1_Template, 22, 15, "div", 22)(2, BritishColumbiaIncorporationFormComponent_Conditional_17_Conditional_2_Template, 3, 3, "p", 21);
|
|
85394
86777
|
\u0275\u0275elementEnd();
|
|
85395
86778
|
}
|
|
85396
86779
|
if (rf & 2) {
|
|
@@ -85400,18 +86783,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85400
86783
|
\u0275\u0275conditional(ctx_r0.shareRows().length ? 1 : 2);
|
|
85401
86784
|
}
|
|
85402
86785
|
}
|
|
85403
|
-
function
|
|
86786
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_20_Template(rf, ctx) {
|
|
85404
86787
|
if (rf & 1) {
|
|
85405
86788
|
\u0275\u0275element(0, "expandable-list-card", 7);
|
|
85406
86789
|
}
|
|
85407
86790
|
if (rf & 2) {
|
|
85408
86791
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85409
|
-
const
|
|
85410
|
-
const
|
|
85411
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("isValid", true)("areItemsOpen",
|
|
86792
|
+
const incorporatorsArray_r18 = \u0275\u0275readContextLet(18);
|
|
86793
|
+
const isOpenIncorporators_r19 = \u0275\u0275readContextLet(19);
|
|
86794
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("isValid", true)("areItemsOpen", isOpenIncorporators_r19)("isStatusIcon", false)("fields", ctx_r0.incorporatorsFields)("formArray", incorporatorsArray_r18)("title", ctx_r0.groups.Incorporators);
|
|
85412
86795
|
}
|
|
85413
86796
|
}
|
|
85414
|
-
function
|
|
86797
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_21_Template(rf, ctx) {
|
|
85415
86798
|
if (rf & 1) {
|
|
85416
86799
|
\u0275\u0275elementStart(0, "expandable-card", 4)(1, "h2", 21);
|
|
85417
86800
|
\u0275\u0275text(2);
|
|
@@ -85425,12 +86808,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85425
86808
|
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(3, 2, "Unchanged"));
|
|
85426
86809
|
}
|
|
85427
86810
|
}
|
|
85428
|
-
function
|
|
86811
|
+
function BritishColumbiaIncorporationFormComponent_Conditional_23_Template(rf, ctx) {
|
|
85429
86812
|
if (rf & 1) {
|
|
85430
|
-
const
|
|
86813
|
+
const _r20 = \u0275\u0275getCurrentView();
|
|
85431
86814
|
\u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 8)(2, "filing-form-group", 9);
|
|
85432
|
-
\u0275\u0275listener("visiblyValidChange", function
|
|
85433
|
-
\u0275\u0275restoreView(
|
|
86815
|
+
\u0275\u0275listener("visiblyValidChange", function BritishColumbiaIncorporationFormComponent_Conditional_23_Template_filing_form_group_visiblyValidChange_2_listener($event) {
|
|
86816
|
+
\u0275\u0275restoreView(_r20);
|
|
85434
86817
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85435
86818
|
return \u0275\u0275resetView(ctx_r0.onSectionValidChange("completingParty", $event));
|
|
85436
86819
|
});
|
|
@@ -85438,10 +86821,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85438
86821
|
}
|
|
85439
86822
|
if (rf & 2) {
|
|
85440
86823
|
const ctx_r0 = \u0275\u0275nextContext();
|
|
85441
|
-
const
|
|
86824
|
+
const completingParty_r21 = \u0275\u0275readContextLet(22);
|
|
85442
86825
|
\u0275\u0275property("isValid", ctx_r0.sectionValidity["completingParty"])("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.CompletingParty);
|
|
85443
86826
|
\u0275\u0275advance(2);
|
|
85444
|
-
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form",
|
|
86827
|
+
\u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", completingParty_r21)("config", ctx_r0.completingPartyFields);
|
|
85445
86828
|
}
|
|
85446
86829
|
}
|
|
85447
86830
|
var _forTrack04, BritishColumbiaIncorporationFormComponent;
|
|
@@ -85479,6 +86862,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85479
86862
|
nameTranslationRowFields = BC_FORMATION_DELTA_CARD_FORM_NAME_TRANSLATION_ROW_FIELDS;
|
|
85480
86863
|
registeredOfficeFields = BC_FORMATION_CARD_FORM_REGISTERED_OFFICE_FIELDS;
|
|
85481
86864
|
recordsOfficeFields = BC_FORMATION_CARD_FORM_RECORDS_OFFICE_FIELDS;
|
|
86865
|
+
notificationFields = BC_FORMATION_DELTA_CARD_FORM_NOTIFICATION_FIELDS;
|
|
85482
86866
|
directorsFields = BC_FORMATION_CARD_FORM_DIRECTORS_FIELDS;
|
|
85483
86867
|
/** Shares and Provisions table rows – same records and order as the eCore payload. */
|
|
85484
86868
|
shareRows = computed(() => BritishColumbiaFormationFormHelper.buildShareStructureRows(this.task()?.entity.shareclasses));
|
|
@@ -85535,7 +86919,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85535
86919
|
static \u0275fac = function BritishColumbiaIncorporationFormComponent_Factory(__ngFactoryType__) {
|
|
85536
86920
|
return new (__ngFactoryType__ || _BritishColumbiaIncorporationFormComponent)();
|
|
85537
86921
|
};
|
|
85538
|
-
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:
|
|
86922
|
+
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: 24, vars: 19, 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) {
|
|
85539
86923
|
if (rf & 1) {
|
|
85540
86924
|
\u0275\u0275elementStart(0, "div", 0);
|
|
85541
86925
|
\u0275\u0275template(1, BritishColumbiaIncorporationFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, BritishColumbiaIncorporationFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
|
|
@@ -85546,54 +86930,60 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85546
86930
|
\u0275\u0275template(7, BritishColumbiaIncorporationFormComponent_Conditional_7_Template, 8, 13, "expandable-card", 5);
|
|
85547
86931
|
\u0275\u0275declareLet(8);
|
|
85548
86932
|
\u0275\u0275template(9, BritishColumbiaIncorporationFormComponent_Conditional_9_Template, 7, 11, "expandable-card", 6);
|
|
85549
|
-
\u0275\u0275declareLet(10)
|
|
85550
|
-
\u0275\u0275template(
|
|
85551
|
-
\u0275\u0275declareLet(
|
|
85552
|
-
\u0275\u0275template(15, BritishColumbiaIncorporationFormComponent_Conditional_15_Template,
|
|
85553
|
-
\u0275\u0275declareLet(16)
|
|
85554
|
-
\u0275\u0275template(
|
|
85555
|
-
\u0275\u0275declareLet(
|
|
85556
|
-
\u0275\u0275template(21, BritishColumbiaIncorporationFormComponent_Conditional_21_Template,
|
|
86933
|
+
\u0275\u0275declareLet(10);
|
|
86934
|
+
\u0275\u0275template(11, BritishColumbiaIncorporationFormComponent_Conditional_11_Template, 3, 6, "expandable-card", 5);
|
|
86935
|
+
\u0275\u0275declareLet(12)(13);
|
|
86936
|
+
\u0275\u0275template(14, BritishColumbiaIncorporationFormComponent_Conditional_14_Template, 1, 7, "expandable-list-card", 7)(15, BritishColumbiaIncorporationFormComponent_Conditional_15_Template, 4, 4, "expandable-card", 4);
|
|
86937
|
+
\u0275\u0275declareLet(16);
|
|
86938
|
+
\u0275\u0275template(17, BritishColumbiaIncorporationFormComponent_Conditional_17_Template, 3, 3, "expandable-card", 6);
|
|
86939
|
+
\u0275\u0275declareLet(18)(19);
|
|
86940
|
+
\u0275\u0275template(20, BritishColumbiaIncorporationFormComponent_Conditional_20_Template, 1, 7, "expandable-list-card", 7)(21, BritishColumbiaIncorporationFormComponent_Conditional_21_Template, 4, 4, "expandable-card", 4);
|
|
86941
|
+
\u0275\u0275declareLet(22);
|
|
86942
|
+
\u0275\u0275template(23, BritishColumbiaIncorporationFormComponent_Conditional_23_Template, 3, 6, "expandable-card", 5);
|
|
85557
86943
|
\u0275\u0275elementEnd()();
|
|
85558
86944
|
}
|
|
85559
86945
|
if (rf & 2) {
|
|
85560
|
-
let
|
|
85561
|
-
let
|
|
86946
|
+
let tmp_11_0;
|
|
86947
|
+
let tmp_16_0;
|
|
85562
86948
|
\u0275\u0275advance();
|
|
85563
86949
|
\u0275\u0275conditional(ctx.isNote() ? 1 : -1);
|
|
85564
86950
|
\u0275\u0275advance();
|
|
85565
86951
|
\u0275\u0275conditional(ctx.errors().length ? 2 : -1);
|
|
85566
86952
|
\u0275\u0275advance(2);
|
|
85567
|
-
const
|
|
86953
|
+
const referenceNumbers_r22 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
|
|
85568
86954
|
\u0275\u0275advance();
|
|
85569
|
-
\u0275\u0275conditional(
|
|
86955
|
+
\u0275\u0275conditional(referenceNumbers_r22 ? 5 : -1);
|
|
85570
86956
|
\u0275\u0275advance();
|
|
85571
|
-
const
|
|
86957
|
+
const corporationDetails_r23 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
|
|
85572
86958
|
\u0275\u0275advance();
|
|
85573
|
-
\u0275\u0275conditional(
|
|
86959
|
+
\u0275\u0275conditional(corporationDetails_r23 ? 7 : -1);
|
|
85574
86960
|
\u0275\u0275advance();
|
|
85575
|
-
const
|
|
86961
|
+
const registeredOfficeForm_r24 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
|
|
85576
86962
|
\u0275\u0275advance();
|
|
85577
|
-
\u0275\u0275conditional(
|
|
86963
|
+
\u0275\u0275conditional(registeredOfficeForm_r24 ? 9 : -1);
|
|
85578
86964
|
\u0275\u0275advance();
|
|
85579
|
-
const
|
|
86965
|
+
const notification_r25 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.Notification));
|
|
85580
86966
|
\u0275\u0275advance();
|
|
85581
|
-
\u0275\
|
|
86967
|
+
\u0275\u0275conditional(notification_r25 ? 11 : -1);
|
|
85582
86968
|
\u0275\u0275advance();
|
|
85583
|
-
\u0275\
|
|
85584
|
-
|
|
86969
|
+
const directorsArray_r26 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
|
|
86970
|
+
\u0275\u0275advance();
|
|
86971
|
+
\u0275\u0275storeLet(((tmp_11_0 = directorsArray_r26 == null ? null : directorsArray_r26.length) !== null && tmp_11_0 !== void 0 ? tmp_11_0 : 0) <= ctx.initiallyOpenCardsCount);
|
|
86972
|
+
\u0275\u0275advance();
|
|
86973
|
+
\u0275\u0275conditional(directorsArray_r26 && directorsArray_r26.length ? 14 : 15);
|
|
86974
|
+
const sharesAndProvisions_r27 = ctx.getFormGroup(ctx.groups.SharesAndProvisions);
|
|
85585
86975
|
\u0275\u0275advance(3);
|
|
85586
|
-
\u0275\u0275conditional(
|
|
86976
|
+
\u0275\u0275conditional(sharesAndProvisions_r27 ? 17 : -1);
|
|
85587
86977
|
\u0275\u0275advance();
|
|
85588
|
-
const
|
|
86978
|
+
const incorporatorsArray_r28 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Incorporators));
|
|
85589
86979
|
\u0275\u0275advance();
|
|
85590
|
-
\u0275\u0275storeLet(((
|
|
86980
|
+
\u0275\u0275storeLet(((tmp_16_0 = incorporatorsArray_r28 == null ? null : incorporatorsArray_r28.length) !== null && tmp_16_0 !== void 0 ? tmp_16_0 : 0) <= ctx.initiallyOpenCardsCount);
|
|
85591
86981
|
\u0275\u0275advance();
|
|
85592
|
-
\u0275\u0275conditional(
|
|
86982
|
+
\u0275\u0275conditional(incorporatorsArray_r28 && incorporatorsArray_r28.length ? 20 : 21);
|
|
85593
86983
|
\u0275\u0275advance(2);
|
|
85594
|
-
const
|
|
86984
|
+
const completingParty_r29 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CompletingParty));
|
|
85595
86985
|
\u0275\u0275advance();
|
|
85596
|
-
\u0275\u0275conditional(
|
|
86986
|
+
\u0275\u0275conditional(completingParty_r29 ? 23 : -1);
|
|
85597
86987
|
}
|
|
85598
86988
|
}, dependencies: [
|
|
85599
86989
|
ExpandableCardComponent,
|
|
@@ -85748,6 +87138,25 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85748
87138
|
</div>\r
|
|
85749
87139
|
</expandable-card>\r
|
|
85750
87140
|
}\r
|
|
87141
|
+
\r
|
|
87142
|
+
@let notification = getFormGroup(groups.Notification);\r
|
|
87143
|
+
\r
|
|
87144
|
+
@if (notification) {\r
|
|
87145
|
+
<expandable-card\r
|
|
87146
|
+
[isValid]="sectionValidity['notification']"\r
|
|
87147
|
+
[isStatusIcon]="statusIcon()"\r
|
|
87148
|
+
[title]="groups.Notification"\r
|
|
87149
|
+
>\r
|
|
87150
|
+
<div class="incorporation-form-item">\r
|
|
87151
|
+
<filing-form-group\r
|
|
87152
|
+
[isSubmitted]="isSubmitted()"\r
|
|
87153
|
+
[form]="notification"\r
|
|
87154
|
+
[config]="notificationFields"\r
|
|
87155
|
+
(visiblyValidChange)="onSectionValidChange('notification', $event)"\r
|
|
87156
|
+
/>\r
|
|
87157
|
+
</div>\r
|
|
87158
|
+
</expandable-card>\r
|
|
87159
|
+
}\r
|
|
85751
87160
|
\r
|
|
85752
87161
|
@let directorsArray = getFormArray(groups.Directors);\r
|
|
85753
87162
|
@let isOpenDirectors =\r
|
|
@@ -85853,7 +87262,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85853
87262
|
}], null, null);
|
|
85854
87263
|
})();
|
|
85855
87264
|
(() => {
|
|
85856
|
-
(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:
|
|
87265
|
+
(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: 57 });
|
|
85857
87266
|
})();
|
|
85858
87267
|
}
|
|
85859
87268
|
});
|
|
@@ -86007,14 +87416,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86007
87416
|
form = input.required();
|
|
86008
87417
|
actionsDisabled = input(false);
|
|
86009
87418
|
task = input();
|
|
86010
|
-
errors = input([]);
|
|
86011
87419
|
close = output();
|
|
86012
87420
|
next = output();
|
|
86013
87421
|
formGroups = BCFormationFormGroups;
|
|
86014
87422
|
static \u0275fac = function BritishColumbiaIncorporationPreviewFormComponent_Factory(__ngFactoryType__) {
|
|
86015
87423
|
return new (__ngFactoryType__ || _BritishColumbiaIncorporationPreviewFormComponent)();
|
|
86016
87424
|
};
|
|
86017
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaIncorporationPreviewFormComponent, selectors: [["british-columbia-incorporation-preview-form"]], inputs: { form: [1, "form"], actionsDisabled: [1, "actionsDisabled"], task: [1, "task"]
|
|
87425
|
+
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: 11, consts: [[1, "incorporation-preview-form"], [1, "incorporation-preview-form-content", 3, "form", "task", "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) {
|
|
86018
87426
|
if (rf & 1) {
|
|
86019
87427
|
\u0275\u0275elementStart(0, "div", 0);
|
|
86020
87428
|
\u0275\u0275element(1, "british-columbia-incorporation-form", 1);
|
|
@@ -86037,15 +87445,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86037
87445
|
}
|
|
86038
87446
|
if (rf & 2) {
|
|
86039
87447
|
\u0275\u0275advance();
|
|
86040
|
-
\u0275\u0275property("form", ctx.form())("task", ctx.task())("
|
|
87448
|
+
\u0275\u0275property("form", ctx.form())("task", ctx.task())("statusIcon", false);
|
|
86041
87449
|
\u0275\u0275advance(2);
|
|
86042
87450
|
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
86043
87451
|
\u0275\u0275advance(2);
|
|
86044
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6,
|
|
87452
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(6, 7, "Close"));
|
|
86045
87453
|
\u0275\u0275advance(2);
|
|
86046
87454
|
\u0275\u0275property("disabled", ctx.actionsDisabled());
|
|
86047
87455
|
\u0275\u0275advance(2);
|
|
86048
|
-
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10,
|
|
87456
|
+
\u0275\u0275textInterpolate(\u0275\u0275pipeBind1(10, 9, "File"));
|
|
86049
87457
|
}
|
|
86050
87458
|
}, 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 });
|
|
86051
87459
|
};
|
|
@@ -86057,7 +87465,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86057
87465
|
class="incorporation-preview-form-content"\r
|
|
86058
87466
|
[form]="form()"\r
|
|
86059
87467
|
[task]="task()"\r
|
|
86060
|
-
[errors]="errors()"\r
|
|
86061
87468
|
[statusIcon]="false"\r
|
|
86062
87469
|
/>\r
|
|
86063
87470
|
\r
|
|
@@ -86089,58 +87496,167 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86089
87496
|
function BritishColumbiaComponent_Conditional_1_Conditional_0_Template(rf, ctx) {
|
|
86090
87497
|
if (rf & 1) {
|
|
86091
87498
|
const _r1 = \u0275\u0275getCurrentView();
|
|
86092
|
-
\u0275\u0275elementStart(0, "british-columbia-
|
|
86093
|
-
\u0275\u0275listener("validate", function
|
|
87499
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-delta-form", 3);
|
|
87500
|
+
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_validate_0_listener() {
|
|
86094
87501
|
\u0275\u0275restoreView(_r1);
|
|
86095
87502
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86096
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
86097
|
-
})("close", function
|
|
87503
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsValidate());
|
|
87504
|
+
})("close", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_close_0_listener() {
|
|
86098
87505
|
\u0275\u0275restoreView(_r1);
|
|
86099
87506
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86100
87507
|
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
86101
|
-
})("save", function
|
|
87508
|
+
})("save", function BritishColumbiaComponent_Conditional_1_Conditional_0_Template_british_columbia_change_of_directors_delta_form_save_0_listener() {
|
|
86102
87509
|
\u0275\u0275restoreView(_r1);
|
|
86103
87510
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86104
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
87511
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSave());
|
|
86105
87512
|
});
|
|
86106
87513
|
\u0275\u0275elementEnd();
|
|
86107
87514
|
}
|
|
86108
87515
|
if (rf & 2) {
|
|
86109
87516
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86110
87517
|
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
86111
|
-
\u0275\u0275property("task", taskData_r3)("
|
|
87518
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.deltaForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors())("isNote", ctx_r1.isNote());
|
|
86112
87519
|
}
|
|
86113
87520
|
}
|
|
86114
87521
|
function BritishColumbiaComponent_Conditional_1_Conditional_1_Template(rf, ctx) {
|
|
86115
87522
|
if (rf & 1) {
|
|
86116
87523
|
const _r4 = \u0275\u0275getCurrentView();
|
|
86117
|
-
\u0275\u0275elementStart(0, "british-columbia-
|
|
86118
|
-
\u0275\u0275listener("
|
|
87524
|
+
\u0275\u0275elementStart(0, "british-columbia-change-of-directors-preview-form", 4);
|
|
87525
|
+
\u0275\u0275listener("close", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_close_0_listener() {
|
|
86119
87526
|
\u0275\u0275restoreView(_r4);
|
|
86120
87527
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86121
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
86122
|
-
})("
|
|
87528
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87529
|
+
})("file", function BritishColumbiaComponent_Conditional_1_Conditional_1_Template_british_columbia_change_of_directors_preview_form_file_0_listener() {
|
|
86123
87530
|
\u0275\u0275restoreView(_r4);
|
|
86124
87531
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86125
|
-
return \u0275\u0275resetView(ctx_r1.
|
|
87532
|
+
return \u0275\u0275resetView(ctx_r1.nextStep.emit());
|
|
86126
87533
|
});
|
|
86127
87534
|
\u0275\u0275elementEnd();
|
|
86128
87535
|
}
|
|
86129
87536
|
if (rf & 2) {
|
|
86130
87537
|
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
86131
87538
|
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
86132
|
-
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("
|
|
87539
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled())("errors", ctx_r1.errors());
|
|
87540
|
+
}
|
|
87541
|
+
}
|
|
87542
|
+
function BritishColumbiaComponent_Conditional_1_Conditional_2_Template(rf, ctx) {
|
|
87543
|
+
if (rf & 1) {
|
|
87544
|
+
const _r5 = \u0275\u0275getCurrentView();
|
|
87545
|
+
\u0275\u0275elementStart(0, "terms-and-conditions", 5);
|
|
87546
|
+
\u0275\u0275listener("prev", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_prev_0_listener() {
|
|
87547
|
+
\u0275\u0275restoreView(_r5);
|
|
87548
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87549
|
+
return \u0275\u0275resetView(ctx_r1.prevStep.emit());
|
|
87550
|
+
})("close", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_close_0_listener() {
|
|
87551
|
+
\u0275\u0275restoreView(_r5);
|
|
87552
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87553
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87554
|
+
})("confirm", function BritishColumbiaComponent_Conditional_1_Conditional_2_Template_terms_and_conditions_confirm_0_listener($event) {
|
|
87555
|
+
\u0275\u0275restoreView(_r5);
|
|
87556
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87557
|
+
return \u0275\u0275resetView(ctx_r1.onChangeOfDirectorsSubmit($event));
|
|
87558
|
+
});
|
|
87559
|
+
\u0275\u0275elementEnd();
|
|
87560
|
+
}
|
|
87561
|
+
if (rf & 2) {
|
|
87562
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87563
|
+
\u0275\u0275property("errors", ctx_r1.errors());
|
|
86133
87564
|
}
|
|
86134
87565
|
}
|
|
86135
87566
|
function BritishColumbiaComponent_Conditional_1_Template(rf, ctx) {
|
|
86136
87567
|
if (rf & 1) {
|
|
86137
|
-
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_1_Conditional_0_Template, 1, 5, "british-columbia-
|
|
87568
|
+
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_1_Conditional_0_Template, 1, 5, "british-columbia-change-of-directors-delta-form", 0)(1, BritishColumbiaComponent_Conditional_1_Conditional_1_Template, 1, 4, "british-columbia-change-of-directors-preview-form", 1)(2, BritishColumbiaComponent_Conditional_1_Conditional_2_Template, 1, 1, "terms-and-conditions", 2);
|
|
87569
|
+
}
|
|
87570
|
+
if (rf & 2) {
|
|
87571
|
+
const ctx_r1 = \u0275\u0275nextContext();
|
|
87572
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
87573
|
+
\u0275\u0275advance();
|
|
87574
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
87575
|
+
\u0275\u0275advance();
|
|
87576
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.TermsAndConditions ? 2 : -1);
|
|
87577
|
+
}
|
|
87578
|
+
}
|
|
87579
|
+
function BritishColumbiaComponent_Conditional_2_Conditional_0_Template(rf, ctx) {
|
|
87580
|
+
if (rf & 1) {
|
|
87581
|
+
const _r6 = \u0275\u0275getCurrentView();
|
|
87582
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-delta-form", 8);
|
|
87583
|
+
\u0275\u0275listener("validate", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_validate_0_listener() {
|
|
87584
|
+
\u0275\u0275restoreView(_r6);
|
|
87585
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87586
|
+
return \u0275\u0275resetView(ctx_r1.onFormationValidate());
|
|
87587
|
+
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_close_0_listener() {
|
|
87588
|
+
\u0275\u0275restoreView(_r6);
|
|
87589
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87590
|
+
return \u0275\u0275resetView(ctx_r1.onClose());
|
|
87591
|
+
})("save", function BritishColumbiaComponent_Conditional_2_Conditional_0_Template_british_columbia_incorporation_delta_form_save_0_listener() {
|
|
87592
|
+
\u0275\u0275restoreView(_r6);
|
|
87593
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87594
|
+
return \u0275\u0275resetView(ctx_r1.onFormationSave());
|
|
87595
|
+
});
|
|
87596
|
+
\u0275\u0275elementEnd();
|
|
87597
|
+
}
|
|
87598
|
+
if (rf & 2) {
|
|
87599
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87600
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
87601
|
+
\u0275\u0275property("task", taskData_r3)("errors", ctx_r1.errors())("isNote", ctx_r1.isNote())("actionsDisabled", ctx_r1.actionsDisabled())("form", ctx_r1.deltaForm());
|
|
87602
|
+
}
|
|
87603
|
+
}
|
|
87604
|
+
function BritishColumbiaComponent_Conditional_2_Conditional_1_Template(rf, ctx) {
|
|
87605
|
+
if (rf & 1) {
|
|
87606
|
+
const _r7 = \u0275\u0275getCurrentView();
|
|
87607
|
+
\u0275\u0275elementStart(0, "british-columbia-incorporation-preview-form", 9);
|
|
87608
|
+
\u0275\u0275listener("next", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_next_0_listener() {
|
|
87609
|
+
\u0275\u0275restoreView(_r7);
|
|
87610
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87611
|
+
return \u0275\u0275resetView(ctx_r1.nextStep.emit());
|
|
87612
|
+
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_1_Template_british_columbia_incorporation_preview_form_close_0_listener() {
|
|
87613
|
+
\u0275\u0275restoreView(_r7);
|
|
87614
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87615
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87616
|
+
});
|
|
87617
|
+
\u0275\u0275elementEnd();
|
|
87618
|
+
}
|
|
87619
|
+
if (rf & 2) {
|
|
87620
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87621
|
+
const taskData_r3 = \u0275\u0275readContextLet(0);
|
|
87622
|
+
\u0275\u0275property("task", taskData_r3)("form", ctx_r1.previewForm())("actionsDisabled", ctx_r1.actionsDisabled());
|
|
87623
|
+
}
|
|
87624
|
+
}
|
|
87625
|
+
function BritishColumbiaComponent_Conditional_2_Conditional_2_Template(rf, ctx) {
|
|
87626
|
+
if (rf & 1) {
|
|
87627
|
+
const _r8 = \u0275\u0275getCurrentView();
|
|
87628
|
+
\u0275\u0275elementStart(0, "terms-and-conditions", 5);
|
|
87629
|
+
\u0275\u0275listener("prev", function BritishColumbiaComponent_Conditional_2_Conditional_2_Template_terms_and_conditions_prev_0_listener() {
|
|
87630
|
+
\u0275\u0275restoreView(_r8);
|
|
87631
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87632
|
+
return \u0275\u0275resetView(ctx_r1.prevStep.emit());
|
|
87633
|
+
})("close", function BritishColumbiaComponent_Conditional_2_Conditional_2_Template_terms_and_conditions_close_0_listener() {
|
|
87634
|
+
\u0275\u0275restoreView(_r8);
|
|
87635
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87636
|
+
return \u0275\u0275resetView(ctx_r1.close.emit());
|
|
87637
|
+
})("confirm", function BritishColumbiaComponent_Conditional_2_Conditional_2_Template_terms_and_conditions_confirm_0_listener($event) {
|
|
87638
|
+
\u0275\u0275restoreView(_r8);
|
|
87639
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87640
|
+
return \u0275\u0275resetView(ctx_r1.onFormationSubmit($event));
|
|
87641
|
+
});
|
|
87642
|
+
\u0275\u0275elementEnd();
|
|
87643
|
+
}
|
|
87644
|
+
if (rf & 2) {
|
|
87645
|
+
const ctx_r1 = \u0275\u0275nextContext(2);
|
|
87646
|
+
\u0275\u0275property("errors", ctx_r1.errors());
|
|
87647
|
+
}
|
|
87648
|
+
}
|
|
87649
|
+
function BritishColumbiaComponent_Conditional_2_Template(rf, ctx) {
|
|
87650
|
+
if (rf & 1) {
|
|
87651
|
+
\u0275\u0275template(0, BritishColumbiaComponent_Conditional_2_Conditional_0_Template, 1, 5, "british-columbia-incorporation-delta-form", 6)(1, BritishColumbiaComponent_Conditional_2_Conditional_1_Template, 1, 3, "british-columbia-incorporation-preview-form", 7)(2, BritishColumbiaComponent_Conditional_2_Conditional_2_Template, 1, 1, "terms-and-conditions", 2);
|
|
86138
87652
|
}
|
|
86139
87653
|
if (rf & 2) {
|
|
86140
87654
|
const ctx_r1 = \u0275\u0275nextContext();
|
|
86141
87655
|
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.Validate ? 0 : -1);
|
|
86142
87656
|
\u0275\u0275advance();
|
|
86143
87657
|
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.FilingPreview ? 1 : -1);
|
|
87658
|
+
\u0275\u0275advance();
|
|
87659
|
+
\u0275\u0275conditional(ctx_r1.activeStep() === ctx_r1.steps.TermsAndConditions ? 2 : -1);
|
|
86144
87660
|
}
|
|
86145
87661
|
}
|
|
86146
87662
|
var BritishColumbiaComponent;
|
|
@@ -86151,11 +87667,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86151
87667
|
init_dialog2();
|
|
86152
87668
|
init_ngx_translate_core();
|
|
86153
87669
|
init_app_enums();
|
|
87670
|
+
init_BritishColumbiaConstants();
|
|
86154
87671
|
init_british_columbia_form_enums();
|
|
87672
|
+
init_british_columbia_change_of_directors_form_helper();
|
|
86155
87673
|
init_british_columbia_formation_form_helper();
|
|
86156
87674
|
init_delta_state_service();
|
|
86157
87675
|
init_common_utils();
|
|
86158
87676
|
init_confirm_modal_component();
|
|
87677
|
+
init_terms_and_conditions_component();
|
|
87678
|
+
init_change_of_directors_delta_form_component();
|
|
87679
|
+
init_change_of_directors_preview_form_component();
|
|
86159
87680
|
init_british_columbia_incorporation_delta_form_component();
|
|
86160
87681
|
init_british_columbia_incorporation_preview_form_component();
|
|
86161
87682
|
init_core();
|
|
@@ -86167,20 +87688,29 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86167
87688
|
actionsDisabled = input(false);
|
|
86168
87689
|
errors = input([]);
|
|
86169
87690
|
close = output();
|
|
87691
|
+
codValidate = output();
|
|
87692
|
+
saveCodDeltaData = output();
|
|
87693
|
+
codSubmit = output();
|
|
86170
87694
|
formationValidate = output();
|
|
86171
87695
|
formationSubmit = output();
|
|
86172
87696
|
saveFormationDeltaData = output();
|
|
86173
87697
|
nextStep = output();
|
|
87698
|
+
prevStep = output();
|
|
86174
87699
|
dialog = inject(MatDialog);
|
|
86175
87700
|
deltaState = inject(DeltaStateService);
|
|
86176
87701
|
translate = inject(TranslateService);
|
|
86177
87702
|
steps = Step;
|
|
87703
|
+
isChangeOfDirectorsTask = isChangeOfPrincipalsTask;
|
|
86178
87704
|
isFormationTask = isFormationTask2;
|
|
86179
87705
|
deltaForm = signal(new FormGroup({}));
|
|
86180
87706
|
previewForm = signal(new FormGroup({}));
|
|
86181
87707
|
constructor() {
|
|
86182
87708
|
effect(() => {
|
|
86183
87709
|
const task = this.task();
|
|
87710
|
+
if (task && isChangeOfPrincipalsTask(task)) {
|
|
87711
|
+
this.deltaForm.set(new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key))));
|
|
87712
|
+
this.deltaState.setBCChangeOfDirectorsInitialDelta(this.generateChangeOfDirectorsDeltaData());
|
|
87713
|
+
}
|
|
86184
87714
|
if (task && isFormationTask2(task)) {
|
|
86185
87715
|
this.deltaForm.set(new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser()))));
|
|
86186
87716
|
this.deltaState.setBCFormationInitialDelta(this.generateFormationDeltaData());
|
|
@@ -86189,7 +87719,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86189
87719
|
effect(() => {
|
|
86190
87720
|
const task = this.task();
|
|
86191
87721
|
const deltaData = task?.deltaData;
|
|
86192
|
-
if (task
|
|
87722
|
+
if (!task || !deltaData) {
|
|
87723
|
+
return;
|
|
87724
|
+
}
|
|
87725
|
+
if (isChangeOfPrincipalsTask(task)) {
|
|
87726
|
+
const form = new FormGroup(BritishColumbiaChangeOfDirectorsFormHelper.generateConfig(task, (key) => this.translate.instant(key)));
|
|
87727
|
+
form.disable();
|
|
87728
|
+
this.previewForm.set(form);
|
|
87729
|
+
if (untracked2(() => this.activeStep()) === Step.Validate) {
|
|
87730
|
+
this.nextStep.emit();
|
|
87731
|
+
}
|
|
87732
|
+
}
|
|
87733
|
+
if (isFormationTask2(task)) {
|
|
86193
87734
|
const form = new FormGroup(BritishColumbiaFormationFormHelper.generateConfig(task, (key) => this.translate.instant(key), untracked2(() => this.currentUser())));
|
|
86194
87735
|
form.disable();
|
|
86195
87736
|
this.previewForm.set(form);
|
|
@@ -86199,6 +87740,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86199
87740
|
}
|
|
86200
87741
|
});
|
|
86201
87742
|
}
|
|
87743
|
+
onChangeOfDirectorsValidate() {
|
|
87744
|
+
markFormGroupTouched(this.deltaForm());
|
|
87745
|
+
this.codValidate.emit(this.generateChangeOfDirectorsDeltaData());
|
|
87746
|
+
}
|
|
87747
|
+
onChangeOfDirectorsSave() {
|
|
87748
|
+
const delta = this.generateChangeOfDirectorsDeltaData();
|
|
87749
|
+
this.deltaState.setBCChangeOfDirectorsInitialDelta(delta);
|
|
87750
|
+
this.saveCodDeltaData.emit(delta);
|
|
87751
|
+
}
|
|
87752
|
+
onChangeOfDirectorsSubmit(termsAndConditions) {
|
|
87753
|
+
this.codSubmit.emit(__spreadProps(__spreadValues({}, this.generateChangeOfDirectorsDeltaData()), {
|
|
87754
|
+
signatoryFirstName: termsAndConditions.firstName,
|
|
87755
|
+
signatoryLastName: termsAndConditions.lastName
|
|
87756
|
+
}));
|
|
87757
|
+
}
|
|
86202
87758
|
onFormationValidate() {
|
|
86203
87759
|
markFormGroupTouched(this.deltaForm());
|
|
86204
87760
|
this.formationValidate.emit(this.generateFormationDeltaData());
|
|
@@ -86208,16 +87764,44 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86208
87764
|
this.deltaState.setBCFormationInitialDelta(delta);
|
|
86209
87765
|
this.saveFormationDeltaData.emit(delta);
|
|
86210
87766
|
}
|
|
86211
|
-
onFormationSubmit() {
|
|
86212
|
-
this.formationSubmit.emit();
|
|
87767
|
+
onFormationSubmit(termsAndConditions) {
|
|
87768
|
+
this.formationSubmit.emit(this.generateFormationDeltaData(termsAndConditions));
|
|
87769
|
+
}
|
|
87770
|
+
generateChangeOfDirectorsDeltaData() {
|
|
87771
|
+
const c = BCChangeOfDirectorsFormControls;
|
|
87772
|
+
const formData = this.deltaForm().getRawValue();
|
|
87773
|
+
const refNumbers = formData[BCChangeOfDirectorsFormGroups.ReferenceNumbers];
|
|
87774
|
+
const filing = formData[BCChangeOfDirectorsFormGroups.FilingDetails];
|
|
87775
|
+
const notification = formData[BCChangeOfDirectorsFormGroups.Notification];
|
|
87776
|
+
const reminder = formData[BCChangeOfDirectorsFormGroups.AnnualReportReminder];
|
|
87777
|
+
const addedOrDeleted = Boolean(filing?.[c.DirectorsAddedOrDeleted]);
|
|
87778
|
+
const notifyByMail = notification?.[c.NotificationMethod] === BCNotificationMethod.Mail;
|
|
87779
|
+
return {
|
|
87780
|
+
referenceNumbers: {
|
|
87781
|
+
referenceNumber: refNumbers?.[c.ClientMatterNumber] ?? null,
|
|
87782
|
+
docketNumber: refNumbers?.[c.DocketNumber] ?? null
|
|
87783
|
+
},
|
|
87784
|
+
filingDetails: {
|
|
87785
|
+
directorsAddedOrDeleted: addedOrDeleted,
|
|
87786
|
+
changeDate: addedOrDeleted ? filing?.[c.ChangeDate] ?? null : void 0
|
|
87787
|
+
},
|
|
87788
|
+
notification: {
|
|
87789
|
+
method: notification?.[c.NotificationMethod] ?? null,
|
|
87790
|
+
email: notifyByMail ? void 0 : notification?.[c.NotificationEmail] ?? null
|
|
87791
|
+
},
|
|
87792
|
+
annualReportReminder: reminder?.[c.AnnualReportReminder] ?? null
|
|
87793
|
+
};
|
|
86213
87794
|
}
|
|
86214
|
-
generateFormationDeltaData() {
|
|
87795
|
+
generateFormationDeltaData(termsAndConditions) {
|
|
86215
87796
|
const formData = this.deltaForm().getRawValue();
|
|
86216
87797
|
const refNumbers = formData[BCFormationFormGroups.ReferenceNumbers];
|
|
86217
87798
|
const corpDetails = formData[BCFormationFormGroups.CorporationDetails];
|
|
87799
|
+
const notification = formData[BCFormationFormGroups.Notification];
|
|
86218
87800
|
const completingParty = formData[BCFormationFormGroups.CompletingParty];
|
|
87801
|
+
const isNamed2 = corpDetails?.[BCFormationFormControls.CorporationNameType] === BCNameType.Named;
|
|
86219
87802
|
const usesNameTranslation = Boolean(corpDetails?.[BCFormationFormControls.UsesNameTranslation]);
|
|
86220
87803
|
const nameTranslations = usesNameTranslation ? (corpDetails?.[BCFormationFormControls.NameTranslations] ?? []).map((row) => (row[BCFormationFormControls.NameTranslation] ?? "").trim()).filter(Boolean) : [];
|
|
87804
|
+
const notifyByMail = notification?.[BCFormationFormControls.NotificationMethod] === BCNotificationMethod.Mail;
|
|
86221
87805
|
const data = {
|
|
86222
87806
|
referenceNumbers: {
|
|
86223
87807
|
referenceNumber: refNumbers?.[BCFormationFormControls.ClientMatterNumber] ?? null,
|
|
@@ -86225,15 +87809,26 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86225
87809
|
},
|
|
86226
87810
|
entityDetails: {
|
|
86227
87811
|
corporationNameType: corpDetails?.[BCFormationFormControls.CorporationNameType] ?? null,
|
|
86228
|
-
|
|
86229
|
-
|
|
86230
|
-
companyName: corpDetails?.[BCFormationFormControls.CompanyName] ?? null,
|
|
86231
|
-
nameReservationNumber: corpDetails?.[BCFormationFormControls.NameReservationNumber] ?? null,
|
|
87812
|
+
companyName: isNamed2 ? corpDetails?.[BCFormationFormControls.CompanyName] ?? null : null,
|
|
87813
|
+
nameReservationNumber: isNamed2 ? corpDetails?.[BCFormationFormControls.NameReservationNumber] ?? null : null,
|
|
86232
87814
|
usesNameTranslation,
|
|
86233
87815
|
nameTranslations,
|
|
86234
87816
|
companyEmail: corpDetails?.[BCFormationFormControls.CompanyEmail] ?? null,
|
|
86235
87817
|
password: corpDetails?.[BCFormationFormControls.CompanyPassword] ?? null
|
|
86236
87818
|
},
|
|
87819
|
+
notification: {
|
|
87820
|
+
method: notification?.[BCFormationFormControls.NotificationMethod] ?? null,
|
|
87821
|
+
email: notifyByMail ? null : notification?.[BCFormationFormControls.NotificationEmail] ?? null,
|
|
87822
|
+
name: notifyByMail ? notification?.[BCFormationFormControls.NotificationName] ?? null : null,
|
|
87823
|
+
mailAddress: notifyByMail ? {
|
|
87824
|
+
addressLine1: notification?.[BCFormationFormControls.AddressLine1] ?? null,
|
|
87825
|
+
addressLine2: notification?.[BCFormationFormControls.AddressLine2] ?? null,
|
|
87826
|
+
city: notification?.[BCFormationFormControls.City] ?? null,
|
|
87827
|
+
provinceState: notification?.[BCFormationFormControls.ProvinceState] ?? null,
|
|
87828
|
+
postalZip: notification?.[BCFormationFormControls.PostalZip] ?? null,
|
|
87829
|
+
country: notification?.[BCFormationFormControls.Country] ?? null
|
|
87830
|
+
} : void 0
|
|
87831
|
+
},
|
|
86237
87832
|
completingParty: {
|
|
86238
87833
|
firstName: completingParty?.[BCFormationFormControls.CompletingPartyFirstName] ?? null,
|
|
86239
87834
|
middleName: completingParty?.[BCFormationFormControls.CompletingPartyMiddleName] ?? null,
|
|
@@ -86251,10 +87846,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86251
87846
|
hasRequiredDocuments: Boolean(completingParty?.[BCFormationFormControls.HasRequiredDocuments])
|
|
86252
87847
|
}
|
|
86253
87848
|
};
|
|
87849
|
+
if (termsAndConditions) {
|
|
87850
|
+
data.signatoryFirstName = termsAndConditions.firstName;
|
|
87851
|
+
data.signatoryLastName = termsAndConditions.lastName;
|
|
87852
|
+
}
|
|
86254
87853
|
return data;
|
|
86255
87854
|
}
|
|
86256
87855
|
onClose() {
|
|
86257
|
-
const
|
|
87856
|
+
const task = this.task();
|
|
87857
|
+
const hasChanges = task && isFormationTask2(task) ? !deepEqual(this.deltaState.bcFormationInitialDelta(), this.generateFormationDeltaData()) : !deepEqual(this.deltaState.bcChangeOfDirectorsInitialDelta(), this.generateChangeOfDirectorsDeltaData());
|
|
86258
87858
|
if (!hasChanges) {
|
|
86259
87859
|
this.close.emit();
|
|
86260
87860
|
return;
|
|
@@ -86270,7 +87870,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86270
87870
|
width: "65rem"
|
|
86271
87871
|
}).afterClosed().subscribe((val) => {
|
|
86272
87872
|
if (val) {
|
|
86273
|
-
|
|
87873
|
+
if (task && isFormationTask2(task)) {
|
|
87874
|
+
this.onFormationSave();
|
|
87875
|
+
} else {
|
|
87876
|
+
this.onChangeOfDirectorsSave();
|
|
87877
|
+
}
|
|
86274
87878
|
}
|
|
86275
87879
|
this.close.emit();
|
|
86276
87880
|
});
|
|
@@ -86278,32 +87882,40 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
86278
87882
|
static \u0275fac = function BritishColumbiaComponent_Factory(__ngFactoryType__) {
|
|
86279
87883
|
return new (__ngFactoryType__ || _BritishColumbiaComponent)();
|
|
86280
87884
|
};
|
|
86281
|
-
static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _BritishColumbiaComponent, selectors: [["british-columbia"]], inputs: { task: [1, "task"], currentUser: [1, "currentUser"], activeStep: [1, "activeStep"], isNote: [1, "isNote"], actionsDisabled: [1, "actionsDisabled"], errors: [1, "errors"] }, outputs: { close: "close", formationValidate: "formationValidate", formationSubmit: "formationSubmit", saveFormationDeltaData: "saveFormationDeltaData", nextStep: "nextStep" }, decls:
|
|
87885
|
+
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) {
|
|
86282
87886
|
if (rf & 1) {
|
|
86283
87887
|
\u0275\u0275declareLet(0);
|
|
86284
|
-
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 2,
|
|
87888
|
+
\u0275\u0275template(1, BritishColumbiaComponent_Conditional_1_Template, 3, 3)(2, BritishColumbiaComponent_Conditional_2_Template, 3, 3);
|
|
86285
87889
|
}
|
|
86286
87890
|
if (rf & 2) {
|
|
86287
|
-
const
|
|
87891
|
+
const taskData_r9 = \u0275\u0275storeLet(ctx.task());
|
|
87892
|
+
\u0275\u0275advance();
|
|
87893
|
+
\u0275\u0275conditional(ctx.isChangeOfDirectorsTask(taskData_r9) ? 1 : -1);
|
|
86288
87894
|
\u0275\u0275advance();
|
|
86289
|
-
\u0275\u0275conditional(ctx.isFormationTask(
|
|
87895
|
+
\u0275\u0275conditional(ctx.isFormationTask(taskData_r9) ? 2 : -1);
|
|
86290
87896
|
}
|
|
86291
87897
|
}, dependencies: [
|
|
87898
|
+
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
87899
|
+
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
86292
87900
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
86293
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
87901
|
+
BritishColumbiaIncorporationPreviewFormComponent,
|
|
87902
|
+
TermsAndConditionsComponent
|
|
86294
87903
|
], styles: ["\n\n[_nghost-%COMP%] {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */"], changeDetection: 0 });
|
|
86295
87904
|
};
|
|
86296
87905
|
(() => {
|
|
86297
87906
|
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaComponent, [{
|
|
86298
87907
|
type: Component,
|
|
86299
87908
|
args: [{ standalone: true, selector: "british-columbia", changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
87909
|
+
BritishColumbiaChangeOfDirectorsDeltaFormComponent,
|
|
87910
|
+
BritishColumbiaChangeOfDirectorsPreviewFormComponent,
|
|
86300
87911
|
BritishColumbiaIncorporationDeltaFormComponent,
|
|
86301
|
-
BritishColumbiaIncorporationPreviewFormComponent
|
|
86302
|
-
|
|
87912
|
+
BritishColumbiaIncorporationPreviewFormComponent,
|
|
87913
|
+
TermsAndConditionsComponent
|
|
87914
|
+
], template: '@let taskData = this.task();\n\n@if (isChangeOfDirectorsTask(taskData)) {\n @if (activeStep() === steps.Validate) {\n <british-columbia-change-of-directors-delta-form\n [task]="taskData"\n [form]="deltaForm()"\n [actionsDisabled]="actionsDisabled()"\n [errors]="errors()"\n [isNote]="isNote()"\n (validate)="onChangeOfDirectorsValidate()"\n (close)="onClose()"\n (save)="onChangeOfDirectorsSave()"\n />\n }\n\n @if (activeStep() === steps.FilingPreview) {\n <british-columbia-change-of-directors-preview-form\n [task]="taskData"\n [form]="previewForm()"\n [actionsDisabled]="actionsDisabled()"\n [errors]="errors()"\n (close)="close.emit()"\n (file)="nextStep.emit()"\n />\n }\n\n @if (activeStep() === steps.TermsAndConditions) {\n <terms-and-conditions\n [errors]="errors()"\n (prev)="prevStep.emit()"\n (close)="close.emit()"\n (confirm)="onChangeOfDirectorsSubmit($event)"\n />\n }\n}\n\n@if (isFormationTask(taskData)) {\n @if (activeStep() === steps.Validate) {\n <british-columbia-incorporation-delta-form\n [task]="taskData"\n [errors]="errors()"\n [isNote]="isNote()"\n [actionsDisabled]="actionsDisabled()"\n [form]="deltaForm()"\n (validate)="onFormationValidate()"\n (close)="onClose()"\n (save)="onFormationSave()"\n />\n }\n\n @if (activeStep() === steps.FilingPreview) {\n <british-columbia-incorporation-preview-form\n [task]="taskData"\n [form]="previewForm()"\n [actionsDisabled]="actionsDisabled()"\n (next)="nextStep.emit()"\n (close)="close.emit()"\n />\n }\n\n @if (activeStep() === steps.TermsAndConditions) {\n <terms-and-conditions\n [errors]="errors()"\n (prev)="prevStep.emit()"\n (close)="close.emit()"\n (confirm)="onFormationSubmit($event)"\n />\n }\n}\n', styles: ["/* src/app/components/british-columbia/british-columbia.component.scss */\n:host {\n display: contents;\n}\n/*# sourceMappingURL=british-columbia.component.css.map */\n"] }]
|
|
86303
87915
|
}], () => [], null);
|
|
86304
87916
|
})();
|
|
86305
87917
|
(() => {
|
|
86306
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber:
|
|
87918
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(BritishColumbiaComponent, { className: "BritishColumbiaComponent", filePath: "src/app/components/british-columbia/british-columbia.component.ts", lineNumber: 65 });
|
|
86307
87919
|
})();
|
|
86308
87920
|
}
|
|
86309
87921
|
});
|
|
@@ -92358,66 +93970,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92358
93970
|
/** POST /filings/ca/bc/incorporation – validates, stages and returns a draft PDF + ServiceOrderId. */
|
|
92359
93971
|
validate(_0, _1) {
|
|
92360
93972
|
return __async(this, arguments, function* (signature, requestBody, opts = {}) {
|
|
92361
|
-
return this.sendStagedIncorporation(signature, "POST", INCORPORATION_PATH, requestBody, opts);
|
|
92362
|
-
});
|
|
92363
|
-
}
|
|
92364
|
-
/** PUT /filings/ca/bc/incorporation/{serviceOrderId} – replaces a staged incorporation and returns a fresh draft PDF. */
|
|
92365
|
-
edit(_0, _1, _2) {
|
|
92366
|
-
return __async(this, arguments, function* (signature, serviceOrderId, requestBody, opts = {}) {
|
|
92367
|
-
if (!serviceOrderId) {
|
|
92368
|
-
throw new Error("Missing serviceOrderId.");
|
|
92369
|
-
}
|
|
92370
|
-
return this.sendStagedIncorporation(signature, "PUT", `${INCORPORATION_PATH}/${encodeURIComponent(serviceOrderId)}`, requestBody, opts);
|
|
92371
|
-
});
|
|
92372
|
-
}
|
|
92373
|
-
/** GET /filings/ca/bc/incorporation/{serviceOrderId} – retrieves the incorporation result. */
|
|
92374
|
-
getResult(_0, _1) {
|
|
92375
|
-
return __async(this, arguments, function* (signature, serviceOrderId, opts = {}) {
|
|
92376
93973
|
ensureAuthInputs(signature);
|
|
92377
|
-
if (!serviceOrderId) {
|
|
92378
|
-
throw new Error("Missing serviceOrderId.");
|
|
92379
|
-
}
|
|
92380
93974
|
const fetchFn = opts.fetchImpl ?? fetch;
|
|
92381
|
-
const resp = yield fetchWithJwtRetry(signature, () => fetchFn
|
|
92382
|
-
|
|
92383
|
-
headers: {
|
|
92384
|
-
Authorization: `Bearer ${signature.jwtToken}`,
|
|
92385
|
-
"x-target-url": this.targetUrl(signature.env, `${INCORPORATION_PATH}/${encodeURIComponent(serviceOrderId)}`)
|
|
92386
|
-
}
|
|
92387
|
-
}));
|
|
92388
|
-
const raw = yield resp.text();
|
|
92389
|
-
const parsed = tryParseJson(raw);
|
|
92390
|
-
if (!parsed.ok) {
|
|
92391
|
-
const err = new Error(`eCore retrieve returned ${resp.status} ${resp.statusText}: ${raw || "(empty response)"}`);
|
|
92392
|
-
err.httpStatus = resp.status;
|
|
92393
|
-
throw err;
|
|
92394
|
-
}
|
|
92395
|
-
const payload = unwrapRequestResults(parsed.value);
|
|
92396
|
-
if (!resp.ok) {
|
|
92397
|
-
const result = {
|
|
92398
|
-
Status: payload?.status,
|
|
92399
|
-
Errors: toValidateErrors(payload) ?? [{ Message: `HTTP ${resp.status}` }]
|
|
92400
|
-
};
|
|
92401
|
-
const err = buildGenericError(resp.status, "eCore retrieve failed", result);
|
|
92402
|
-
err.httpStatus = resp.status;
|
|
92403
|
-
throw err;
|
|
92404
|
-
}
|
|
92405
|
-
return payload;
|
|
92406
|
-
});
|
|
92407
|
-
}
|
|
92408
|
-
/** Shared by validate (POST) and edit (PUT): both stage the incorporation and return a draft + ServiceOrderId. */
|
|
92409
|
-
sendStagedIncorporation(signature, method, path, requestBody, opts) {
|
|
92410
|
-
return __async(this, null, function* () {
|
|
92411
|
-
ensureAuthInputs(signature);
|
|
92412
|
-
const fetchFn = opts.fetchImpl ?? fetch;
|
|
92413
|
-
const resp = yield fetchWithJwtRetry(signature, () => fetchFn(signature.proxyApiUrl, {
|
|
92414
|
-
method,
|
|
92415
|
-
headers: {
|
|
92416
|
-
"Content-Type": "application/json",
|
|
92417
|
-
Authorization: `Bearer ${signature.jwtToken}`,
|
|
92418
|
-
"x-target-url": this.targetUrl(signature.env, path)
|
|
92419
|
-
},
|
|
92420
|
-
body: JSON.stringify(requestBody)
|
|
93975
|
+
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, signature.proxyApiUrl, signature.jwtToken, requestBody, {
|
|
93976
|
+
"x-target-url": this.targetUrl(signature.env, INCORPORATION_PATH)
|
|
92421
93977
|
}));
|
|
92422
93978
|
const raw = yield resp.text();
|
|
92423
93979
|
const parsed = tryParseJson(raw);
|
|
@@ -92515,6 +94071,175 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92515
94071
|
}
|
|
92516
94072
|
});
|
|
92517
94073
|
|
|
94074
|
+
// src/app/services/british-columbia/british-columbia-change-of-directors.service.ts
|
|
94075
|
+
var BritishColumbiaChangeOfDirectorsService;
|
|
94076
|
+
var init_british_columbia_change_of_directors_service = __esm({
|
|
94077
|
+
"src/app/services/british-columbia/british-columbia-change-of-directors.service.ts"() {
|
|
94078
|
+
init_core();
|
|
94079
|
+
init_common_utils();
|
|
94080
|
+
init_core();
|
|
94081
|
+
BritishColumbiaChangeOfDirectorsService = class _BritishColumbiaChangeOfDirectorsService {
|
|
94082
|
+
config;
|
|
94083
|
+
setConfig(config2) {
|
|
94084
|
+
this.config = config2;
|
|
94085
|
+
}
|
|
94086
|
+
validate(_0, _1) {
|
|
94087
|
+
return __async(this, arguments, function* (signature, requestBody, opts = {}) {
|
|
94088
|
+
ensureAuthInputs(signature);
|
|
94089
|
+
const fetchFn = opts.fetchImpl ?? fetch;
|
|
94090
|
+
const url = signature.proxyApiUrl;
|
|
94091
|
+
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing`;
|
|
94092
|
+
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, requestBody, __spreadValues({
|
|
94093
|
+
"x-target-url": targetUrl
|
|
94094
|
+
}, opts.headers ?? {})));
|
|
94095
|
+
const raw = yield resp.text();
|
|
94096
|
+
const parsed = tryParseJson(raw);
|
|
94097
|
+
if (!parsed.ok) {
|
|
94098
|
+
const err2 = new Error(`BC change of directors validation returned ${resp.status} ${resp.statusText}: ${raw || "(empty response)"}`);
|
|
94099
|
+
err2.httpStatus = resp.status;
|
|
94100
|
+
throw err2;
|
|
94101
|
+
}
|
|
94102
|
+
const payload = unwrapRequestResults(parsed.value);
|
|
94103
|
+
if (resp.ok && !payload.Errors?.length) {
|
|
94104
|
+
return payload;
|
|
94105
|
+
}
|
|
94106
|
+
const err = buildValidationError(resp.status, payload);
|
|
94107
|
+
err.validateResult = payload;
|
|
94108
|
+
err.httpStatus = resp.status;
|
|
94109
|
+
throw err;
|
|
94110
|
+
});
|
|
94111
|
+
}
|
|
94112
|
+
getFilingResult(_0, _1) {
|
|
94113
|
+
return __async(this, arguments, function* (signature, serviceOrderId, opts = {}) {
|
|
94114
|
+
ensureAuthInputs(signature);
|
|
94115
|
+
if (!serviceOrderId) {
|
|
94116
|
+
throw new Error("Missing serviceOrderId.");
|
|
94117
|
+
}
|
|
94118
|
+
const fetchFn = opts.fetchImpl ?? fetch;
|
|
94119
|
+
const url = signature.proxyApiUrl;
|
|
94120
|
+
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing/${encodeURIComponent(serviceOrderId)}`;
|
|
94121
|
+
const resp = yield fetchWithJwtRetry(signature, () => fetchFn(url, {
|
|
94122
|
+
method: "GET",
|
|
94123
|
+
headers: __spreadValues({
|
|
94124
|
+
Authorization: `Bearer ${signature.jwtToken}`,
|
|
94125
|
+
"x-target-url": targetUrl
|
|
94126
|
+
}, opts.headers ?? {})
|
|
94127
|
+
}));
|
|
94128
|
+
const raw = yield resp.text();
|
|
94129
|
+
const parsed = tryParseJson(raw);
|
|
94130
|
+
const payload = parsed.ok ? unwrapRequestResults(parsed.value) : { raw };
|
|
94131
|
+
if (resp.ok && !payload.Errors?.length) {
|
|
94132
|
+
return payload;
|
|
94133
|
+
}
|
|
94134
|
+
const err = buildGenericError(resp.status, "BC change of directors filing result failed", payload);
|
|
94135
|
+
err.submitResult = payload;
|
|
94136
|
+
err.httpStatus = resp.status;
|
|
94137
|
+
throw err;
|
|
94138
|
+
});
|
|
94139
|
+
}
|
|
94140
|
+
submitFiling(_0, _1) {
|
|
94141
|
+
return __async(this, arguments, function* (signature, serviceOrderId, opts = {}) {
|
|
94142
|
+
ensureAuthInputs(signature);
|
|
94143
|
+
if (!serviceOrderId) {
|
|
94144
|
+
throw new Error("Missing serviceOrderId.");
|
|
94145
|
+
}
|
|
94146
|
+
const fetchFn = opts.fetchImpl ?? fetch;
|
|
94147
|
+
const url = signature.proxyApiUrl;
|
|
94148
|
+
const targetUrl = opts.endpointPath ?? `${this.getOnbisOrigin()}/filings/ca/bc/maintenance-filing/${encodeURIComponent(serviceOrderId)}/submit`;
|
|
94149
|
+
const resp = yield fetchWithJwtRetry(signature, () => postJson(fetchFn, url, signature.jwtToken, {}, __spreadValues({
|
|
94150
|
+
"x-target-url": targetUrl
|
|
94151
|
+
}, opts.headers ?? {})));
|
|
94152
|
+
const raw = yield resp.text();
|
|
94153
|
+
const parsed = tryParseJson(raw);
|
|
94154
|
+
const payload = parsed.ok ? unwrapRequestResults(parsed.value) : { raw };
|
|
94155
|
+
if (resp.ok && !payload.Errors?.length) {
|
|
94156
|
+
return payload;
|
|
94157
|
+
}
|
|
94158
|
+
const err = buildGenericError(resp.status, "BC change of directors submit failed", payload);
|
|
94159
|
+
err.submitResult = payload;
|
|
94160
|
+
err.httpStatus = resp.status;
|
|
94161
|
+
throw err;
|
|
94162
|
+
});
|
|
94163
|
+
}
|
|
94164
|
+
getOnbisOrigin() {
|
|
94165
|
+
const filingUrl = this.config?.ONFiling;
|
|
94166
|
+
if (!filingUrl) {
|
|
94167
|
+
throw new Error("BritishColumbiaChangeOfDirectorsService: missing EnvConfig.ONFiling.");
|
|
94168
|
+
}
|
|
94169
|
+
return new URL(filingUrl).origin;
|
|
94170
|
+
}
|
|
94171
|
+
static \u0275fac = function BritishColumbiaChangeOfDirectorsService_Factory(__ngFactoryType__) {
|
|
94172
|
+
return new (__ngFactoryType__ || _BritishColumbiaChangeOfDirectorsService)();
|
|
94173
|
+
};
|
|
94174
|
+
static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _BritishColumbiaChangeOfDirectorsService, factory: _BritishColumbiaChangeOfDirectorsService.\u0275fac, providedIn: "root" });
|
|
94175
|
+
};
|
|
94176
|
+
(() => {
|
|
94177
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(BritishColumbiaChangeOfDirectorsService, [{
|
|
94178
|
+
type: Injectable,
|
|
94179
|
+
args: [{
|
|
94180
|
+
providedIn: "root"
|
|
94181
|
+
}]
|
|
94182
|
+
}], null, null);
|
|
94183
|
+
})();
|
|
94184
|
+
}
|
|
94185
|
+
});
|
|
94186
|
+
|
|
94187
|
+
// src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts
|
|
94188
|
+
function buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData) {
|
|
94189
|
+
const incomingDirectors = (task.incomingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
94190
|
+
const outgoingDirectors = (task.outgoingAffiliations ?? []).filter(isDirectorAffiliation);
|
|
94191
|
+
const companyEmail = findCompanyEmail(task);
|
|
94192
|
+
const serviceOrderId = deltaData.serviceOrderId;
|
|
94193
|
+
return __spreadValues({
|
|
94194
|
+
filingType: "changeOfDirectorsFiling",
|
|
94195
|
+
filing: {
|
|
94196
|
+
reference: deltaData.referenceNumbers.referenceNumber ?? null,
|
|
94197
|
+
docket: deltaData.referenceNumbers.docketNumber ?? null,
|
|
94198
|
+
addOrDeleteDirectors: deltaData.filingDetails.directorsAddedOrDeleted,
|
|
94199
|
+
effectiveDate: toYyyyMmDd(deltaData.filingDetails.changeDate) ?? toYyyyMmDd(/* @__PURE__ */ new Date()),
|
|
94200
|
+
addDirectors: incomingDirectors.map((affiliation) => buildDirector(affiliation)),
|
|
94201
|
+
ceaseDirectors: outgoingDirectors.map((affiliation) => buildDirector(affiliation)),
|
|
94202
|
+
editDirectors: [],
|
|
94203
|
+
companyEmail,
|
|
94204
|
+
isAnnualReportReminderRequired: deltaData.annualReportReminder === BCAnnualReportReminder.Yes
|
|
94205
|
+
}
|
|
94206
|
+
}, serviceOrderId ? { ServiceOrderId: serviceOrderId } : {});
|
|
94207
|
+
}
|
|
94208
|
+
function isDirectorAffiliation(affiliation) {
|
|
94209
|
+
return isPrincipalAffiliation2(affiliation) && affiliation.role?.role_name === "Director";
|
|
94210
|
+
}
|
|
94211
|
+
function buildDirector(affiliation) {
|
|
94212
|
+
const profile = affiliation.participant?._profile ?? {};
|
|
94213
|
+
const addresses = getAffiliationAddresses(affiliation);
|
|
94214
|
+
return {
|
|
94215
|
+
firstName: profile.firstName ?? "",
|
|
94216
|
+
middleName: profile.middleName ?? "",
|
|
94217
|
+
lastName: profile.lastName ?? "",
|
|
94218
|
+
isDeliveryAddressSameAsMailing: isDeliveryAddressSameAsMailing(addresses)
|
|
94219
|
+
};
|
|
94220
|
+
}
|
|
94221
|
+
function findCompanyEmail(task) {
|
|
94222
|
+
const affiliations = task.entity.affiliations ?? [];
|
|
94223
|
+
const registeredOffice = BritishColumbiaFormationFormHelper.findSharedAddressAffiliation(affiliations, AddressTitle2.REGISTERED_OFFICE);
|
|
94224
|
+
return registeredOffice?.addresses?.[0]?.communications?.find((communication) => communication.type === "Business Email")?.value ?? task.entity.communications?.find((communication) => communication.type === "Business Email")?.value ?? null;
|
|
94225
|
+
}
|
|
94226
|
+
function getAffiliationAddresses(affiliation) {
|
|
94227
|
+
return affiliation.addresses?.length ? affiliation.addresses : affiliation.parent_affiliation?.addresses ?? [];
|
|
94228
|
+
}
|
|
94229
|
+
function isDeliveryAddressSameAsMailing(addresses) {
|
|
94230
|
+
const mailing = BritishColumbiaFormationFormHelper.pickAddress(addresses, "Mailing");
|
|
94231
|
+
const delivery = BritishColumbiaFormationFormHelper.pickAddress(addresses, "Delivery");
|
|
94232
|
+
return BritishColumbiaFormationFormHelper.formatFullAddress(mailing) === BritishColumbiaFormationFormHelper.formatFullAddress(delivery);
|
|
94233
|
+
}
|
|
94234
|
+
var init_british_columbia_change_of_directors_mapper = __esm({
|
|
94235
|
+
"src/app/helpers/mappers/british-columbia-change-of-directors.mapper.ts"() {
|
|
94236
|
+
init_BritishColumbiaConstants();
|
|
94237
|
+
init_common_models();
|
|
94238
|
+
init_british_columbia_formation_form_helper();
|
|
94239
|
+
init_common_utils();
|
|
94240
|
+
}
|
|
94241
|
+
});
|
|
94242
|
+
|
|
92518
94243
|
// src/app/components/filing/filing.component.ts
|
|
92519
94244
|
function FilingComponent_Conditional_7_Template(rf, ctx) {
|
|
92520
94245
|
if (rf & 1) {
|
|
@@ -92594,6 +94319,26 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92594
94319
|
\u0275\u0275restoreView(_r6);
|
|
92595
94320
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
92596
94321
|
return \u0275\u0275resetView(ctx_r2.close.emit());
|
|
94322
|
+
})("nextStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_nextStep_0_listener() {
|
|
94323
|
+
\u0275\u0275restoreView(_r6);
|
|
94324
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94325
|
+
return \u0275\u0275resetView(ctx_r2.onNextStepClick());
|
|
94326
|
+
})("prevStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_prevStep_0_listener() {
|
|
94327
|
+
\u0275\u0275restoreView(_r6);
|
|
94328
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94329
|
+
return \u0275\u0275resetView(ctx_r2.onOntarioPrevStep());
|
|
94330
|
+
})("codValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_codValidate_0_listener($event) {
|
|
94331
|
+
\u0275\u0275restoreView(_r6);
|
|
94332
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94333
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsValidate($event));
|
|
94334
|
+
})("saveCodDeltaData", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_saveCodDeltaData_0_listener($event) {
|
|
94335
|
+
\u0275\u0275restoreView(_r6);
|
|
94336
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94337
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSave($event));
|
|
94338
|
+
})("codSubmit", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_codSubmit_0_listener() {
|
|
94339
|
+
\u0275\u0275restoreView(_r6);
|
|
94340
|
+
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
94341
|
+
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaChangeOfDirectorsSubmit());
|
|
92597
94342
|
})("formationValidate", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_formationValidate_0_listener($event) {
|
|
92598
94343
|
\u0275\u0275restoreView(_r6);
|
|
92599
94344
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
@@ -92606,10 +94351,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92606
94351
|
\u0275\u0275restoreView(_r6);
|
|
92607
94352
|
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
92608
94353
|
return \u0275\u0275resetView(ctx_r2.onBritishColumbiaFormationSubmit());
|
|
92609
|
-
})("nextStep", function FilingComponent_Conditional_10_Conditional_1_Template_british_columbia_nextStep_0_listener() {
|
|
92610
|
-
\u0275\u0275restoreView(_r6);
|
|
92611
|
-
const ctx_r2 = \u0275\u0275nextContext(2);
|
|
92612
|
-
return \u0275\u0275resetView(ctx_r2.onNextStepClick());
|
|
92613
94354
|
});
|
|
92614
94355
|
\u0275\u0275elementEnd();
|
|
92615
94356
|
}
|
|
@@ -92711,6 +94452,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92711
94452
|
init_british_columbia_formation_mapper();
|
|
92712
94453
|
init_british_columbia_formation_service();
|
|
92713
94454
|
init_delta_state_service();
|
|
94455
|
+
init_british_columbia_change_of_directors_service();
|
|
94456
|
+
init_british_columbia_change_of_directors_mapper();
|
|
92714
94457
|
init_core();
|
|
92715
94458
|
init_button();
|
|
92716
94459
|
FilingComponent = class _FilingComponent {
|
|
@@ -92766,6 +94509,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92766
94509
|
bcFormationService = inject(BritishColumbiaFormationService);
|
|
92767
94510
|
federalUpdateMaintainService = inject(FederalUpdateMaintainService);
|
|
92768
94511
|
updateMaintainService = inject(OntarioUpdateMaintainService);
|
|
94512
|
+
britishColumbiaChangeOfDirectorsService = inject(BritishColumbiaChangeOfDirectorsService);
|
|
92769
94513
|
translate = inject(TranslateService);
|
|
92770
94514
|
isEditButton = computed(() => {
|
|
92771
94515
|
const task = this.task();
|
|
@@ -92804,6 +94548,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92804
94548
|
if (isFormationTask2(task)) {
|
|
92805
94549
|
return `File ${jurisdiction} Articles of Incorporation`;
|
|
92806
94550
|
}
|
|
94551
|
+
if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
94552
|
+
return "File British Columbia Notice of Change of Directors";
|
|
94553
|
+
}
|
|
92807
94554
|
return "";
|
|
92808
94555
|
});
|
|
92809
94556
|
constructor() {
|
|
@@ -92815,6 +94562,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92815
94562
|
this.federalFormationService.setConfig(config2);
|
|
92816
94563
|
this.bcFormationService.setConfig(config2);
|
|
92817
94564
|
this.federalUpdateMaintainService.setConfig(config2);
|
|
94565
|
+
this.britishColumbiaChangeOfDirectorsService.setConfig(config2);
|
|
92818
94566
|
}
|
|
92819
94567
|
});
|
|
92820
94568
|
addStylesVariables();
|
|
@@ -92953,6 +94701,80 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92953
94701
|
}
|
|
92954
94702
|
this.deltaDataChange.emit(deltaData);
|
|
92955
94703
|
}
|
|
94704
|
+
onBritishColumbiaChangeOfDirectorsValidate(deltaData) {
|
|
94705
|
+
return __async(this, null, function* () {
|
|
94706
|
+
const task = this.task();
|
|
94707
|
+
const signature = this._signature();
|
|
94708
|
+
if (!task || !signature || !isChangeOfPrincipalsTask(task)) {
|
|
94709
|
+
return;
|
|
94710
|
+
}
|
|
94711
|
+
try {
|
|
94712
|
+
this.isLoading.set(true);
|
|
94713
|
+
this.errors.set([]);
|
|
94714
|
+
const requestBody = buildBritishColumbiaChangeOfDirectorsValidationRequest(task, deltaData);
|
|
94715
|
+
const response = yield this.britishColumbiaChangeOfDirectorsService.validate(signature, requestBody, this.validateOptions() ?? {});
|
|
94716
|
+
if (this.hasResponseErrors(response))
|
|
94717
|
+
return;
|
|
94718
|
+
const serviceOrderId = response.ServiceOrderId ?? "";
|
|
94719
|
+
if (response.Draft) {
|
|
94720
|
+
this.filingValidateSuccess.emit({
|
|
94721
|
+
searchOrFilingType: getSearchOrFilingType(task),
|
|
94722
|
+
serviceOrderId,
|
|
94723
|
+
validatedOn: /* @__PURE__ */ new Date(),
|
|
94724
|
+
provider: "obr",
|
|
94725
|
+
draftPdf: response.Draft,
|
|
94726
|
+
documentName: this.validateOptions()?.documentName ?? "BC Change of Directors Draft",
|
|
94727
|
+
documentType: "pdf"
|
|
94728
|
+
});
|
|
94729
|
+
}
|
|
94730
|
+
const validatedData = this.task()?.deltaData?.validatedData;
|
|
94731
|
+
if (validatedData) {
|
|
94732
|
+
delete this.task()?.deltaData.validatedData;
|
|
94733
|
+
}
|
|
94734
|
+
this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
|
|
94735
|
+
serviceOrderId,
|
|
94736
|
+
validatedData: JSON.parse(JSON.stringify(requestBody))
|
|
94737
|
+
}));
|
|
94738
|
+
this.close.emit();
|
|
94739
|
+
} catch (response) {
|
|
94740
|
+
this.handleCatchError(response);
|
|
94741
|
+
} finally {
|
|
94742
|
+
this.isLoading.set(false);
|
|
94743
|
+
}
|
|
94744
|
+
});
|
|
94745
|
+
}
|
|
94746
|
+
onBritishColumbiaChangeOfDirectorsSave(deltaData) {
|
|
94747
|
+
const oldDeltaData = this.task()?.deltaData;
|
|
94748
|
+
if (oldDeltaData) {
|
|
94749
|
+
delete this.task()?.deltaData;
|
|
94750
|
+
}
|
|
94751
|
+
this.deltaDataChange.emit(deltaData);
|
|
94752
|
+
}
|
|
94753
|
+
onBritishColumbiaChangeOfDirectorsSubmit() {
|
|
94754
|
+
return __async(this, null, function* () {
|
|
94755
|
+
try {
|
|
94756
|
+
this.isLoading.set(true);
|
|
94757
|
+
this.errors.set([]);
|
|
94758
|
+
const signature = this._signature();
|
|
94759
|
+
const serviceOrderId = this.task()?.deltaData?.serviceOrderId;
|
|
94760
|
+
if (!signature || !serviceOrderId) {
|
|
94761
|
+
throw new Error("Missing serviceOrderId.");
|
|
94762
|
+
}
|
|
94763
|
+
const response = yield this.britishColumbiaChangeOfDirectorsService.submitFiling(signature, serviceOrderId, this.validateOptions() ?? {});
|
|
94764
|
+
if (this.hasResponseErrors(response))
|
|
94765
|
+
return;
|
|
94766
|
+
this.filingSubmitSuccess.emit({
|
|
94767
|
+
serviceOrderId: response.ServiceOrderId ?? serviceOrderId,
|
|
94768
|
+
filedOn: /* @__PURE__ */ new Date()
|
|
94769
|
+
});
|
|
94770
|
+
this.close.emit();
|
|
94771
|
+
} catch (response) {
|
|
94772
|
+
this.handleCatchError(response);
|
|
94773
|
+
} finally {
|
|
94774
|
+
this.isLoading.set(false);
|
|
94775
|
+
}
|
|
94776
|
+
});
|
|
94777
|
+
}
|
|
92956
94778
|
/**
|
|
92957
94779
|
* British Columbia Formation validate (AC8 / AC9): sends the payload to the BC Filing API,
|
|
92958
94780
|
* hands the draft PDF to UEM and saves the delta + ServiceOrderId + full payload.
|
|
@@ -92979,7 +94801,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
92979
94801
|
searchOrFilingType,
|
|
92980
94802
|
serviceOrderId,
|
|
92981
94803
|
validatedOn: /* @__PURE__ */ new Date(),
|
|
92982
|
-
provider: "
|
|
94804
|
+
provider: "obr",
|
|
92983
94805
|
draftPdf: response.Draft ?? "",
|
|
92984
94806
|
documentName: this.validateOptions()?.documentName ?? "Incorporation Draft",
|
|
92985
94807
|
documentType: "pdf"
|
|
@@ -93432,7 +95254,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93432
95254
|
if (rf & 2) {
|
|
93433
95255
|
\u0275\u0275styleProp("height", ctx.modalHeight());
|
|
93434
95256
|
}
|
|
93435
|
-
}, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "
|
|
95257
|
+
}, inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], currentUser: [1, "currentUser"], height: [1, "height"], validateOptions: [1, "validateOptions"], getDocumentBytes: [1, "getDocumentBytes"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "close", "formationValidate", "saveFormationDeltaData", "formationSubmit", "nextStep", "prevStep", "irValidate", "saveIrDeltaData", "irSubmit", "task", "activeStep", "isNote", "actionsDisabled", "errors", "prevData", "irValidationConfig"], [3, "close", "nextStep", "prevStep", "codValidate", "saveCodDeltaData", "codSubmit", "formationValidate", "saveFormationDeltaData", "formationSubmit", "task", "currentUser", "activeStep", "isNote", "actionsDisabled", "errors"], [3, "close", "deltaDataChange", "file", "validate", "umSave", "umValidate", "umSubmit", "nextStep", "actionsDisabled", "isNote", "activeStep", "task", "errors"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
|
|
93436
95258
|
if (rf & 1) {
|
|
93437
95259
|
const _r1 = \u0275\u0275getCurrentView();
|
|
93438
95260
|
\u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
|
|
@@ -93498,13 +95320,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93498
95320
|
\r
|
|
93499
95321
|
@if (isEditButton()) {\r
|
|
93500
95322
|
<div class="filing-header">\r
|
|
93501
|
-
|
|
93502
|
-
|
|
93503
|
-
|
|
93504
|
-
(click)="onEditClick()"\r
|
|
93505
|
-
>\r
|
|
93506
|
-
{{ 'Edit' | translate }}\r
|
|
93507
|
-
</button>\r
|
|
95323
|
+
<button mat-stroked-button [disabled]="isLoading()" (click)="onEditClick()">\r
|
|
95324
|
+
{{ 'Edit' | translate }}\r
|
|
95325
|
+
</button>\r
|
|
93508
95326
|
</div>\r
|
|
93509
95327
|
}\r
|
|
93510
95328
|
\r
|
|
@@ -93512,70 +95330,43 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
93512
95330
|
@let currentTask = task();\r
|
|
93513
95331
|
\r
|
|
93514
95332
|
@if (currentTask) {\r
|
|
93515
|
-
|
|
93516
|
-
|
|
93517
|
-
|
|
93518
|
-
|
|
93519
|
-
|
|
93520
|
-
|
|
93521
|
-
|
|
93522
|
-
|
|
93523
|
-
|
|
93524
|
-
|
|
93525
|
-
|
|
93526
|
-
|
|
93527
|
-
|
|
93528
|
-
|
|
93529
|
-
|
|
93530
|
-
|
|
93531
|
-
|
|
93532
|
-
|
|
93533
|
-
|
|
93534
|
-
|
|
93535
|
-
|
|
93536
|
-
|
|
93537
|
-
|
|
93538
|
-
|
|
93539
|
-
[isNote]="dataWasChanged()"\r
|
|
93540
|
-
[actionsDisabled]="isLoading()"\r
|
|
93541
|
-
[errors]="errors()"\r
|
|
93542
|
-
(close)="close.emit()"\r
|
|
93543
|
-
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
93544
|
-
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
93545
|
-
(formationSubmit)="onBritishColumbiaFormationSubmit()"\r
|
|
93546
|
-
(nextStep)="onNextStepClick()"\r
|
|
93547
|
-
/>\r
|
|
93548
|
-
} @else {\r
|
|
93549
|
-
<federal\r
|
|
93550
|
-
[actionsDisabled]="isLoading()"\r
|
|
93551
|
-
[isNote]="dataWasChanged()"\r
|
|
93552
|
-
[activeStep]="activeStep()"\r
|
|
93553
|
-
[task]="currentTask"\r
|
|
93554
|
-
[errors]="errors()"\r
|
|
93555
|
-
(close)="close.emit()"\r
|
|
93556
|
-
(deltaDataChange)="onFederalFormationSave($event)"\r
|
|
93557
|
-
(file)="onFederalFormationSubmit()"\r
|
|
93558
|
-
(validate)="onFederalValidate($event)"\r
|
|
93559
|
-
(umSave)="onFederalUpdateMaintainSave($event)"\r
|
|
93560
|
-
(umValidate)="onFederalUpdateMaintainValidate($event)"\r
|
|
93561
|
-
(umSubmit)="onFederalUpdateMaintainSubmit()"\r
|
|
93562
|
-
(nextStep)="defineInitialStep()"\r
|
|
93563
|
-
/>\r
|
|
93564
|
-
}\r
|
|
95333
|
+
@if (isOntarioTask(currentTask)) {\r
|
|
95334
|
+
<ontario [task]="currentTask" [activeStep]="activeStep()" [isNote]="dataWasChanged()"\r
|
|
95335
|
+
[actionsDisabled]="isLoading()" [errors]="errors()" [prevData]="prevData()" (close)="close.emit()"\r
|
|
95336
|
+
(formationValidate)="onOntarioFormationValidate($event)" (saveFormationDeltaData)="onOntarioFormationSave($event)"\r
|
|
95337
|
+
(formationSubmit)="onOntarioFormationSubmit()" (nextStep)="onNextStepClick()" (prevStep)="onOntarioPrevStep()"\r
|
|
95338
|
+
[irValidationConfig]="validationConfig()" (irValidate)="validateAndFileInitialReturnTask($event)"\r
|
|
95339
|
+
(saveIrDeltaData)="onOntarioUpdateMaintainSave($event)" (irSubmit)="onInitialReturnSubmit()" />\r
|
|
95340
|
+
} @else if (isBritishColumbiaTask(currentTask)) {\r
|
|
95341
|
+
<british-columbia [task]="currentTask" [currentUser]="currentUser()" [activeStep]="activeStep()"\r
|
|
95342
|
+
[isNote]="dataWasChanged()" [actionsDisabled]="isLoading()" [errors]="errors()" (close)="close.emit()"\r
|
|
95343
|
+
(nextStep)="onNextStepClick()" (prevStep)="onOntarioPrevStep()"\r
|
|
95344
|
+
(codValidate)="onBritishColumbiaChangeOfDirectorsValidate($event)"\r
|
|
95345
|
+
(saveCodDeltaData)="onBritishColumbiaChangeOfDirectorsSave($event)"\r
|
|
95346
|
+
(codSubmit)="onBritishColumbiaChangeOfDirectorsSubmit()"\r
|
|
95347
|
+
(formationValidate)="onBritishColumbiaFormationValidate($event)"\r
|
|
95348
|
+
(saveFormationDeltaData)="onBritishColumbiaFormationSave($event)"\r
|
|
95349
|
+
(formationSubmit)="onBritishColumbiaFormationSubmit()" />\r
|
|
95350
|
+
} @else {\r
|
|
95351
|
+
<federal [actionsDisabled]="isLoading()" [isNote]="dataWasChanged()" [activeStep]="activeStep()"\r
|
|
95352
|
+
[task]="currentTask" [errors]="errors()" (close)="close.emit()" (deltaDataChange)="onFederalFormationSave($event)"\r
|
|
95353
|
+
(file)="onFederalFormationSubmit()" (validate)="onFederalValidate($event)"\r
|
|
95354
|
+
(umSave)="onFederalUpdateMaintainSave($event)" (umValidate)="onFederalUpdateMaintainValidate($event)"\r
|
|
95355
|
+
(umSubmit)="onFederalUpdateMaintainSubmit()" (nextStep)="defineInitialStep()" />\r
|
|
95356
|
+
}\r
|
|
93565
95357
|
}\r
|
|
93566
95358
|
\r
|
|
93567
95359
|
@if (isLoading()) {\r
|
|
93568
|
-
|
|
93569
|
-
|
|
93570
|
-
|
|
95360
|
+
<div class="filing-content-loading">\r
|
|
95361
|
+
<mat-spinner [diameter]="40" />\r
|
|
95362
|
+
</div>\r
|
|
93571
95363
|
}\r
|
|
93572
95364
|
</div>\r
|
|
93573
|
-
</div>\r
|
|
93574
|
-
`, 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'] }]
|
|
95365
|
+
</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'] }]
|
|
93575
95366
|
}], () => [], null);
|
|
93576
95367
|
})();
|
|
93577
95368
|
(() => {
|
|
93578
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber:
|
|
95369
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 86 });
|
|
93579
95370
|
})();
|
|
93580
95371
|
}
|
|
93581
95372
|
});
|
|
@@ -97779,6 +99570,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97779
99570
|
Directors: "Directors",
|
|
97780
99571
|
Officers: "Officers",
|
|
97781
99572
|
"Certified By": "Certified By",
|
|
99573
|
+
"Certified by": "Certified by",
|
|
97782
99574
|
"Expand all": "Expand all",
|
|
97783
99575
|
"Collapse all": "Collapse all",
|
|
97784
99576
|
Add: "Add",
|
|
@@ -97801,6 +99593,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97801
99593
|
"Cancel Edits": "Cancel Edits",
|
|
97802
99594
|
Cancel: "Cancel",
|
|
97803
99595
|
NOTE: "NOTE",
|
|
99596
|
+
"NOTE A new draft needs to be generated as the Entity was changed since the last draft was produced.": "NOTE A new draft needs to be generated as the Entity was changed since the last draft was produced.",
|
|
97804
99597
|
"A new draft needs to be generated as the Entity was changed since the last draft was produced.": "A new draft needs to be generated as the Entity was changed since the last draft was produced.",
|
|
97805
99598
|
"Terms and Conditions": "Terms and Conditions",
|
|
97806
99599
|
"I have read and agree to the Terms and Conditions": "I have read and agree to the Terms and Conditions",
|
|
@@ -98163,10 +99956,25 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
98163
99956
|
"Existing Officer": "Existing Officer",
|
|
98164
99957
|
"No supporting documents have been added to UEM for this entity. Add them in UEM, then try again.": "No supporting documents have been added to UEM for this entity. Add them in UEM, then try again.",
|
|
98165
99958
|
"All supporting documents have already been added.": "All supporting documents have already been added.",
|
|
99959
|
+
"File British Columbia Notice of Change of Directors": "File British Columbia Notice of Change of Directors",
|
|
99960
|
+
"There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing.": "There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing.",
|
|
99961
|
+
"Directors will be added and/or deleted as part of this filing": "Directors will be added and/or deleted as part of this filing",
|
|
99962
|
+
"Date Directors were added or deleted": "Date Directors were added or deleted",
|
|
99963
|
+
"The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past.": "The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past.",
|
|
99964
|
+
"These are the directors on the corporate register as of {{date}}. Director appointments, cessations and changes to a director's details are made on the task before this filing \u2014 they cannot be added, ceased, or edited here. Ceasing or adding a director requires the checkbox and date in Filing Details above.": "These are the directors on the corporate register as of {{date}}. Director appointments, cessations and changes to a director's details are made on the task before this filing \u2014 they cannot be added, ceased, or edited here. Ceasing or adding a director requires the checkbox and date in Filing Details above.",
|
|
99965
|
+
"defaults to Registered Office mailing address": "defaults to Registered Office mailing address",
|
|
99966
|
+
"Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company.": "Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company.",
|
|
99967
|
+
"Annual Report Reminder": "Annual Report Reminder",
|
|
99968
|
+
"Yes, send the annual report reminder": "Yes, send the annual report reminder",
|
|
99969
|
+
"No, I do not need to be reminded": "No, I do not need to be reminded",
|
|
99970
|
+
"Director Information": "Director Information",
|
|
99971
|
+
"Filing Details": "Filing Details",
|
|
99972
|
+
"Incorporation Number": "Incorporation Number",
|
|
99973
|
+
"Filing Fee": "Filing Fee",
|
|
98166
99974
|
"File British Columbia Articles of Incorporation": "File British Columbia Articles of Incorporation",
|
|
98167
99975
|
Named: "Named",
|
|
98168
|
-
"
|
|
98169
|
-
"Name Reservation
|
|
99976
|
+
"Company Name": "Company Name",
|
|
99977
|
+
"Name Reservation (NR) Number": "Name Reservation (NR) Number",
|
|
98170
99978
|
"Name preview \u2014 appears exactly as entered": "Name preview \u2014 appears exactly as entered",
|
|
98171
99979
|
"Company Email": "Company Email",
|
|
98172
99980
|
"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.",
|
|
@@ -98234,8 +100042,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
98234
100042
|
"Canadian Resident": "R\xE9sident canadien",
|
|
98235
100043
|
Officers: "Officiers",
|
|
98236
100044
|
"Certified By": "Certifi\xE9 par",
|
|
100045
|
+
"Certified by": "Certifi\xE9 par",
|
|
98237
100046
|
"Expand all": "Afficher tout",
|
|
98238
|
-
"Collapse all": "Masquer
|
|
100047
|
+
"Collapse all": "Tout Masquer",
|
|
98239
100048
|
Add: "Ajouter",
|
|
98240
100049
|
Update: "Mettre \xE0 jour",
|
|
98241
100050
|
Cease: "Cesser",
|
|
@@ -98251,11 +100060,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
98251
100060
|
"The following issues need to be resolved before proceeding:": "Les probl\xE8mes suivants doivent \xEAtre r\xE9solus avant de poursuivre :",
|
|
98252
100061
|
"All addresses must have a street type and direction specified.": "Toutes les adresses doivent inclure un type de rue et une direction.",
|
|
98253
100062
|
"Validate & Generate Draft": "Valider et g\xE9n\xE9rer le brouillon",
|
|
98254
|
-
File: "
|
|
100063
|
+
File: "Fichier",
|
|
98255
100064
|
Edit: "Modifier",
|
|
98256
100065
|
"Cancel Edits": "Annuler les modifications",
|
|
98257
100066
|
Cancel: "Annuler",
|
|
98258
100067
|
NOTE: "REMARQUE",
|
|
100068
|
+
"NOTE A new draft needs to be generated as the Entity was changed since the last draft was produced.": "REMARQUE Un nouveau projet doit \xEAtre g\xE9n\xE9r\xE9 car l'entit\xE9 a \xE9t\xE9 modifi\xE9e depuis la production du dernier projet.",
|
|
98259
100069
|
"A new draft needs to be generated as the Entity was changed since the last draft was produced.": "Un nouveau brouillon doit \xEAtre g\xE9n\xE9r\xE9 car l'entit\xE9 a \xE9t\xE9 modifi\xE9e depuis la production du dernier brouillon.",
|
|
98260
100070
|
"Terms and Conditions": "Termes et conditions",
|
|
98261
100071
|
"I have read and agree to the Terms and Conditions": "J'ai lu et j'accepte les Termes et conditions",
|
|
@@ -98494,10 +100304,24 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
98494
100304
|
"Existing Officer": "Dirigeant existant",
|
|
98495
100305
|
"No supporting documents have been added to UEM for this entity. Add them in UEM, then try again.": "Aucun document justificatif n'a \xE9t\xE9 ajout\xE9 dans UEM pour cette entit\xE9. Ajoutez-les dans UEM, puis r\xE9essayez.",
|
|
98496
100306
|
"All supporting documents have already been added.": "Tous les documents justificatifs ont d\xE9j\xE0 \xE9t\xE9 ajout\xE9s.",
|
|
98497
|
-
"File British Columbia
|
|
100307
|
+
"File British Columbia Notice of Change of Directors": "D\xE9poser l'avis de changement d'administrateurs de la Colombie-Britannique",
|
|
100308
|
+
"There is no fee for changing the legal name or the address of a director. A filing fee applies when directors are added or deleted as part of this filing.": "Aucuns frais ne s'appliquent au changement du nom l\xE9gal ou de l'adresse d'un administrateur. Des frais de d\xE9p\xF4t s'appliquent lorsque des administrateurs sont ajout\xE9s ou retir\xE9s dans le cadre de ce d\xE9p\xF4t.",
|
|
100309
|
+
"Directors will be added and/or deleted as part of this filing": "Des administrateurs seront ajout\xE9s et/ou retir\xE9s dans le cadre de ce d\xE9p\xF4t",
|
|
100310
|
+
"Date Directors were added or deleted": "Date d'ajout ou de retrait des administrateurs",
|
|
100311
|
+
"The date on which the individual(s) became or ceased to be a director. This date must be today's date or in the past.": "La date \xE0 laquelle la ou les personnes sont devenues administrateurs ou ont cess\xE9 de l'\xEAtre. Cette date doit \xEAtre la date d'aujourd'hui ou une date pass\xE9e.",
|
|
100312
|
+
"These are the directors on the corporate register as of {{date}}. Director appointments, cessations and changes to a director's details are made on the task before this filing \u2014 they cannot be added, ceased, or edited here. Ceasing or adding a director requires the checkbox and date in Filing Details above.": "Voici les administrateurs inscrits au registre de la soci\xE9t\xE9 au {{date}}. Les nominations, cessations et modifications des renseignements d'un administrateur se font dans la t\xE2che avant ce d\xE9p\xF4t \u2014 ils ne peuvent \xEAtre ajout\xE9s, cess\xE9s ou modifi\xE9s ici. L'ajout ou la cessation d'un administrateur exige la case \xE0 cocher et la date dans les D\xE9tails du d\xE9p\xF4t ci-dessus.",
|
|
100313
|
+
"defaults to Registered Office mailing address": "par d\xE9faut, l'adresse postale du si\xE8ge social",
|
|
100314
|
+
"Does this company wish to be reminded to file its annual reports? If an email address is specified, the reminder will be sent to the company's email address. Otherwise, the reminder will be mailed to the registered or head office of the company.": "Cette soci\xE9t\xE9 souhaite-t-elle recevoir un rappel pour le d\xE9p\xF4t de ses rapports annuels ? Si une adresse courriel est indiqu\xE9e, le rappel sera envoy\xE9 \xE0 l'adresse courriel de la soci\xE9t\xE9. Sinon, le rappel sera post\xE9 au si\xE8ge social ou au bureau principal de la soci\xE9t\xE9.",
|
|
100315
|
+
"Annual Report Reminder": "Rappel du rapport annuel",
|
|
100316
|
+
"Yes, send the annual report reminder": "Oui, envoyer le rappel du rapport annuel",
|
|
100317
|
+
"No, I do not need to be reminded": "Non, je n'ai pas besoin de rappel",
|
|
100318
|
+
"Director Information": "Renseignements sur les administrateurs",
|
|
100319
|
+
"Filing Details": "D\xE9tails du d\xE9p\xF4t",
|
|
100320
|
+
"Incorporation Number": "Num\xE9ro de constitution",
|
|
100321
|
+
"Filing Fee": "Frais de d\xE9p\xF4t",
|
|
98498
100322
|
Named: "D\xE9nomination",
|
|
98499
|
-
"
|
|
98500
|
-
"Name Reservation
|
|
100323
|
+
"Company Name": "Nom de la soci\xE9t\xE9",
|
|
100324
|
+
"Name Reservation (NR) Number": "Num\xE9ro de r\xE9servation de nom (NR)",
|
|
98501
100325
|
"Name preview \u2014 appears exactly as entered": "Aper\xE7u du nom \u2014 appara\xEEt exactement tel que saisi",
|
|
98502
100326
|
"Company Email": "Courriel de la soci\xE9t\xE9",
|
|
98503
100327
|
"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.",
|