@dyedurham/search-and-file-widget 2.0.49 → 2.0.50

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.
Files changed (2) hide show
  1. package/dnd-filing-shell.js +100 -210
  2. package/package.json +9 -9
@@ -58175,6 +58175,21 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
58175
58175
  }
58176
58176
  return t ? t("Not specified") : "Not specified";
58177
58177
  }
58178
+ function getPersonEmail(person) {
58179
+ return person?.communicationEmail || person?.communications?.find((c) => /e-?mail/i.test(c.type))?.value || void 0;
58180
+ }
58181
+ function formatLongDate(value, language = "en") {
58182
+ const match = typeof value === "string" ? /^(\d{4})-(\d{2})-(\d{2})/.exec(value) : null;
58183
+ const date = match ? new Date(Number(match[1]), Number(match[2]) - 1, Number(match[3])) : value instanceof Date && !isNaN(value.getTime()) ? value : null;
58184
+ if (!date) {
58185
+ return "";
58186
+ }
58187
+ return new Intl.DateTimeFormat(language.startsWith("fr") ? "fr-CA" : "en-US", {
58188
+ year: "numeric",
58189
+ month: "long",
58190
+ day: "numeric"
58191
+ }).format(date);
58192
+ }
58178
58193
  function affiliationTypeToChipType(affiliationType) {
58179
58194
  if (!affiliationType) {
58180
58195
  return;
@@ -80058,53 +80073,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80058
80073
  \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(12, 11, field_r3.label) + " " + \u0275\u0275pipeBind1(13, 13, "is required"));
80059
80074
  }
80060
80075
  }
80061
- function FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Conditional_3_Conditional_4_Template(rf, ctx) {
80062
- if (rf & 1) {
80063
- \u0275\u0275elementStart(0, "strong");
80064
- \u0275\u0275text(1);
80065
- \u0275\u0275pipe(2, "translate");
80066
- \u0275\u0275elementEnd();
80067
- }
80068
- if (rf & 2) {
80069
- const field_r3 = \u0275\u0275nextContext(5).$implicit;
80070
- \u0275\u0275advance();
80071
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, field_r3.infoTitle));
80072
- }
80073
- }
80074
- function FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Conditional_3_Template(rf, ctx) {
80075
- if (rf & 1) {
80076
- \u0275\u0275elementStart(0, "span", 32)(1, "mat-icon");
80077
- \u0275\u0275text(2, "info");
80078
- \u0275\u0275elementEnd();
80079
- \u0275\u0275elementStart(3, "span", 34);
80080
- \u0275\u0275template(4, FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Conditional_3_Conditional_4_Template, 3, 3, "strong");
80081
- \u0275\u0275elementStart(5, "span");
80082
- \u0275\u0275text(6);
80083
- \u0275\u0275pipe(7, "translate");
80084
- \u0275\u0275elementEnd()()();
80085
- }
80086
- if (rf & 2) {
80087
- const field_r3 = \u0275\u0275nextContext(4).$implicit;
80088
- \u0275\u0275advance(4);
80089
- \u0275\u0275conditional(field_r3.infoTitle ? 4 : -1);
80090
- \u0275\u0275advance(2);
80091
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(7, 2, field_r3.infoText));
80092
- }
80093
- }
80094
- function FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Conditional_6_Template(rf, ctx) {
80095
- if (rf & 1) {
80096
- \u0275\u0275elementStart(0, "mat-hint");
80097
- \u0275\u0275text(1);
80098
- \u0275\u0275pipe(2, "translate");
80099
- \u0275\u0275elementEnd();
80100
- }
80101
- if (rf & 2) {
80102
- const field_r3 = \u0275\u0275nextContext(4).$implicit;
80103
- \u0275\u0275advance();
80104
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(2, 1, field_r3.hint));
80105
- }
80106
- }
80107
- function FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Conditional_7_Template(rf, ctx) {
80076
+ function FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Conditional_5_Template(rf, ctx) {
80108
80077
  if (rf & 1) {
80109
80078
  \u0275\u0275elementStart(0, "mat-hint", 23);
80110
80079
  \u0275\u0275text(1);
@@ -80119,7 +80088,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80119
80088
  \u0275\u0275textInterpolate2("", \u0275\u0275pipeBind1(2, 4, "Previously saved value"), ": ", previousValue_r13, "");
80120
80089
  }
80121
80090
  }
80122
- function FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Conditional_8_Template(rf, ctx) {
80091
+ function FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Conditional_6_Template(rf, ctx) {
80123
80092
  if (rf & 1) {
80124
80093
  \u0275\u0275elementStart(0, "mat-icon", 22);
80125
80094
  \u0275\u0275text(1, "warning_amber");
@@ -80135,10 +80104,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80135
80104
  \u0275\u0275elementStart(0, "span", 8);
80136
80105
  \u0275\u0275text(1);
80137
80106
  \u0275\u0275pipe(2, "translate");
80138
- \u0275\u0275template(3, FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Conditional_3_Template, 8, 4, "span", 32);
80139
80107
  \u0275\u0275elementEnd();
80140
- \u0275\u0275elementStart(4, "mat-form-field", 9)(5, "input", 33);
80141
- \u0275\u0275listener("input", function FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Template_input_input_5_listener() {
80108
+ \u0275\u0275elementStart(3, "mat-form-field", 9)(4, "input", 32);
80109
+ \u0275\u0275listener("input", function FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Template_input_input_4_listener() {
80142
80110
  \u0275\u0275restoreView(_r22);
80143
80111
  const field_r3 = \u0275\u0275nextContext(3).$implicit;
80144
80112
  \u0275\u0275nextContext();
@@ -80146,42 +80114,36 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80146
80114
  return \u0275\u0275resetView(field_r3.onChange && field_r3.onChange(form_r4));
80147
80115
  });
80148
80116
  \u0275\u0275elementEnd();
80149
- \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);
80150
- \u0275\u0275elementStart(9, "mat-error");
80151
- \u0275\u0275text(10);
80117
+ \u0275\u0275template(5, FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Conditional_5_Template, 3, 6, "mat-hint", 21)(6, FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Conditional_6_Template, 2, 2, "mat-icon", 20);
80118
+ \u0275\u0275elementStart(7, "mat-error");
80119
+ \u0275\u0275text(8);
80120
+ \u0275\u0275pipe(9, "translate");
80121
+ \u0275\u0275pipe(10, "translate");
80152
80122
  \u0275\u0275pipe(11, "translate");
80153
- \u0275\u0275pipe(12, "translate");
80154
- \u0275\u0275pipe(13, "translate");
80155
80123
  \u0275\u0275elementEnd()();
80156
80124
  }
80157
80125
  if (rf & 2) {
80158
- let tmp_21_0;
80159
- let tmp_24_0;
80126
+ let tmp_19_0;
80160
80127
  \u0275\u0275nextContext(2);
80161
80128
  const previousValue_r13 = \u0275\u0275readContextLet(0);
80162
80129
  const field_r3 = \u0275\u0275nextContext().$implicit;
80163
- \u0275\u0275classProp("warning", !!previousValue_r13)("body-1-semibold", field_r3.bold);
80164
- \u0275\u0275advance();
80165
- \u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(2, 14, field_r3.label) + (field_r3.required ? " *" : ""), " ");
80166
- \u0275\u0275advance(2);
80167
- \u0275\u0275conditional(field_r3.infoText ? 3 : -1);
80168
- \u0275\u0275advance(2);
80169
- \u0275\u0275property("type", (tmp_21_0 = field_r3.inputType) !== null && tmp_21_0 !== void 0 ? tmp_21_0 : "text")("readonly", field_r3.readonly)("formControlName", field_r3.formControlName);
80170
- \u0275\u0275attribute("maxlength", (tmp_24_0 = field_r3.maxLength) !== null && tmp_24_0 !== void 0 ? tmp_24_0 : null);
80130
+ \u0275\u0275classProp("warning", !!previousValue_r13);
80171
80131
  \u0275\u0275advance();
80172
- \u0275\u0275conditional(field_r3.hint ? 6 : -1);
80132
+ \u0275\u0275textInterpolate1(" ", \u0275\u0275pipeBind1(2, 9, field_r3.label) + (field_r3.required ? " *" : ""), " ");
80133
+ \u0275\u0275advance(3);
80134
+ \u0275\u0275property("type", (tmp_19_0 = field_r3.inputType) !== null && tmp_19_0 !== void 0 ? tmp_19_0 : "text")("readonly", field_r3.readonly)("formControlName", field_r3.formControlName);
80173
80135
  \u0275\u0275advance();
80174
- \u0275\u0275conditional(previousValue_r13 != null ? 7 : -1);
80136
+ \u0275\u0275conditional(previousValue_r13 != null ? 5 : -1);
80175
80137
  \u0275\u0275advance();
80176
- \u0275\u0275conditional(previousValue_r13 != null ? 8 : -1);
80138
+ \u0275\u0275conditional(previousValue_r13 != null ? 6 : -1);
80177
80139
  \u0275\u0275advance(2);
80178
- \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"));
80140
+ \u0275\u0275textInterpolate(field_r3.errorMessage ? \u0275\u0275pipeBind1(9, 11, field_r3.errorMessage) : \u0275\u0275pipeBind1(10, 13, field_r3.label) + " " + \u0275\u0275pipeBind1(11, 15, "is required"));
80179
80141
  }
80180
80142
  }
80181
80143
  function FilingFormGroupComponent_For_5_Conditional_0_Case_7_Template(rf, ctx) {
80182
80144
  if (rf & 1) {
80183
80145
  \u0275\u0275elementStart(0, "div");
80184
- \u0275\u0275template(1, FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Template, 14, 22);
80146
+ \u0275\u0275template(1, FilingFormGroupComponent_For_5_Conditional_0_Case_7_Conditional_1_Template, 12, 17);
80185
80147
  \u0275\u0275elementEnd();
80186
80148
  }
80187
80149
  if (rf & 2) {
@@ -80202,7 +80164,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80202
80164
  \u0275\u0275text(1);
80203
80165
  \u0275\u0275pipe(2, "translate");
80204
80166
  \u0275\u0275elementEnd();
80205
- \u0275\u0275elementStart(3, "mat-form-field", 9)(4, "textarea", 35);
80167
+ \u0275\u0275elementStart(3, "mat-form-field", 9)(4, "textarea", 33);
80206
80168
  \u0275\u0275listener("change", function FilingFormGroupComponent_For_5_Conditional_0_Case_8_Conditional_1_Template_textarea_change_4_listener() {
80207
80169
  \u0275\u0275restoreView(_r23);
80208
80170
  const field_r3 = \u0275\u0275nextContext(3).$implicit;
@@ -80236,7 +80198,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80236
80198
  }
80237
80199
  function FilingFormGroupComponent_For_5_Conditional_0_Case_9_Template(rf, ctx) {
80238
80200
  if (rf & 1) {
80239
- \u0275\u0275element(0, "checkbox-list", 36);
80201
+ \u0275\u0275element(0, "checkbox-list", 34);
80240
80202
  }
80241
80203
  if (rf & 2) {
80242
80204
  let tmp_18_0;
@@ -80247,7 +80209,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80247
80209
  }
80248
80210
  function FilingFormGroupComponent_For_5_Conditional_0_Case_10_Conditional_1_Template(rf, ctx) {
80249
80211
  if (rf & 1) {
80250
- \u0275\u0275element(0, "p", 38);
80212
+ \u0275\u0275element(0, "p", 36);
80251
80213
  }
80252
80214
  if (rf & 2) {
80253
80215
  \u0275\u0275nextContext();
@@ -80257,14 +80219,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80257
80219
  const \u0275$index_7_r15 = ctx_r13.$index;
80258
80220
  const \u0275$count_7_r16 = ctx_r13.$count;
80259
80221
  \u0275\u0275classMap(field_r3.class);
80260
- \u0275\u0275classProp("last", \u0275$index_7_r15 === \u0275$count_7_r16 - 1)("body-1-semibold", field_r3.bold);
80222
+ \u0275\u0275classProp("last", \u0275$index_7_r15 === \u0275$count_7_r16 - 1);
80261
80223
  \u0275\u0275property("innerHTML", label_r24, \u0275\u0275sanitizeHtml);
80262
80224
  }
80263
80225
  }
80264
80226
  function FilingFormGroupComponent_For_5_Conditional_0_Case_10_Template(rf, ctx) {
80265
80227
  if (rf & 1) {
80266
80228
  \u0275\u0275declareLet(0);
80267
- \u0275\u0275template(1, FilingFormGroupComponent_For_5_Conditional_0_Case_10_Conditional_1_Template, 1, 7, "p", 37);
80229
+ \u0275\u0275template(1, FilingFormGroupComponent_For_5_Conditional_0_Case_10_Conditional_1_Template, 1, 5, "p", 35);
80268
80230
  }
80269
80231
  if (rf & 2) {
80270
80232
  const field_r3 = \u0275\u0275nextContext(2).$implicit;
@@ -80416,7 +80378,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80416
80378
  { provide: DateAdapter, useClass: MomentDateAdapter },
80417
80379
  { provide: MAT_DATE_FORMATS, useValue: MY_DATE_FORMATS },
80418
80380
  { provide: MAT_DATE_LOCALE, useValue: "en-GB" }
80419
- ])], decls: 6, vars: 4, consts: [["autocompleteRef", "matAutocomplete"], ["picker", ""], [1, "filling-form-fields", 3, "formGroup"], [3, "class"], [3, "last", "class"], [3, "class", "warning"], [3, "warning", "class"], [3, "class", "formControlName", "items"], [1, "filling-form-fields-item-label", "body-1-regular"], ["appearance", "outline"], ["matInput", "", 3, "change", "formControlName", "matAutocomplete"], [3, "optionSelected", "displayWith"], [1, "filing-form-group-select-option", 3, "value"], ["disabled", ""], ["matSuffix", "", 1, "suffix-container"], ["matSuffix", ""], ["mat-icon-button", "", 3, "click"], [1, "arrow-icon"], [3, "change", "formControlName"], [1, "body-1-regular", "black"], ["matSuffix", "", 1, "filling-form-fields-item-icon", 3, "warning"], [1, "filling-form-fields-item-hint", 3, "warning"], ["matSuffix", "", 1, "filling-form-fields-item-icon"], [1, "filling-form-fields-item-hint"], [1, "filling-form-fields-item-label", "body-1-regular", 3, "id"], [1, "filling-form-fields-radio-group", 3, "change", "formControlName"], [3, "value"], [3, "options", "control", "required"], [1, "filling-form-fields-item-label", "body-1-regular", 3, "warning"], ["matInput", "", 3, "dateChange", "matDatepicker", "formControlName"], ["matSuffix", "", 3, "for"], ["matDatepickerToggleIcon", ""], ["tabindex", "0", 1, "filling-form-fields-item-info"], ["matInput", "", 3, "input", "type", "readonly", "formControlName"], [1, "filling-form-fields-item-info-tooltip"], ["matInput", "", 3, "change", "readonly", "formControlName"], [3, "formControlName", "items"], [1, "filling-form-fields-item-text", "body-1-regular", "grey", 3, "last", "body-1-semibold", "class", "innerHTML"], [1, "filling-form-fields-item-text", "body-1-regular", "grey", 3, "innerHTML"]], template: function FilingFormGroupComponent_Template(rf, ctx) {
80381
+ ])], decls: 6, vars: 4, consts: [["autocompleteRef", "matAutocomplete"], ["picker", ""], [1, "filling-form-fields", 3, "formGroup"], [3, "class"], [3, "last", "class"], [3, "class", "warning"], [3, "warning", "class"], [3, "class", "formControlName", "items"], [1, "filling-form-fields-item-label", "body-1-regular"], ["appearance", "outline"], ["matInput", "", 3, "change", "formControlName", "matAutocomplete"], [3, "optionSelected", "displayWith"], [1, "filing-form-group-select-option", 3, "value"], ["disabled", ""], ["matSuffix", "", 1, "suffix-container"], ["matSuffix", ""], ["mat-icon-button", "", 3, "click"], [1, "arrow-icon"], [3, "change", "formControlName"], [1, "body-1-regular", "black"], ["matSuffix", "", 1, "filling-form-fields-item-icon", 3, "warning"], [1, "filling-form-fields-item-hint", 3, "warning"], ["matSuffix", "", 1, "filling-form-fields-item-icon"], [1, "filling-form-fields-item-hint"], [1, "filling-form-fields-item-label", "body-1-regular", 3, "id"], [1, "filling-form-fields-radio-group", 3, "change", "formControlName"], [3, "value"], [3, "options", "control", "required"], [1, "filling-form-fields-item-label", "body-1-regular", 3, "warning"], ["matInput", "", 3, "dateChange", "matDatepicker", "formControlName"], ["matSuffix", "", 3, "for"], ["matDatepickerToggleIcon", ""], ["matInput", "", 3, "input", "type", "readonly", "formControlName"], ["matInput", "", 3, "change", "readonly", "formControlName"], [3, "formControlName", "items"], [1, "filling-form-fields-item-text", "body-1-regular", "grey", 3, "last", "class", "innerHTML"], [1, "filling-form-fields-item-text", "body-1-regular", "grey", 3, "innerHTML"]], template: function FilingFormGroupComponent_Template(rf, ctx) {
80420
80382
  if (rf & 1) {
80421
80383
  \u0275\u0275declareLet(0)(1);
80422
80384
  \u0275\u0275elementStart(2, "section")(3, "div", 2);
@@ -80468,7 +80430,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80468
80430
  MatRadioButton,
80469
80431
  TranslatePipe,
80470
80432
  CheckboxListComponent
80471
- ], styles: ['\n\n[_nghost-%COMP%] {\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%] {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #006fd6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:hover .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%], \n[_nghost-%COMP%] .filling-form-fields-item-info[_ngcontent-%COMP%]:focus .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields-item-info-tooltip[_ngcontent-%COMP%] {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
80433
+ ], styles: ['\n\n[_nghost-%COMP%] {\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select {\n display: flex;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .arrow-icon {\n pointer-events: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-checkbox-text[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-empty[_ngcontent-%COMP%] {\n width: 100%;\n height: 80px;\n}\n[_nghost-%COMP%] .filling-form-fields-item[_ngcontent-%COMP%] {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item.text-area[_ngcontent-%COMP%] .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%] {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .filling-form-fields-item-text[_ngcontent-%COMP%]:not(.last) {\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n[_nghost-%COMP%] .filling-form-fields-item.warning[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-label[_ngcontent-%COMP%] {\n color: var(--filing-modal-color-grey);\n}\n[_nghost-%COMP%] .filling-form-fields-item-label.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-hint.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon[_ngcontent-%COMP%] {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n[_nghost-%COMP%] .filling-form-fields-item-icon.warning[_ngcontent-%COMP%] {\n color: #845400;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields.submitted[_ngcontent-%COMP%] .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-form-field-error {\n display: none;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%]:not(.submitted) .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value {\n line-height: 18px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] input, \n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] textarea {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n[_nghost-%COMP%] .filling-form-fields[_ngcontent-%COMP%] .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n[_nghost-%COMP%] .span-1[_ngcontent-%COMP%] {\n grid-column: span 1;\n}\n[_nghost-%COMP%] .span-2[_ngcontent-%COMP%] {\n grid-column: span 2;\n}\n[_nghost-%COMP%] .span-3[_ngcontent-%COMP%] {\n grid-column: span 3;\n}\n[_nghost-%COMP%] .span-4[_ngcontent-%COMP%] {\n grid-column: span 4;\n}\n[_nghost-%COMP%] .span-5[_ngcontent-%COMP%] {\n grid-column: span 5;\n}\n[_nghost-%COMP%] .span-6[_ngcontent-%COMP%] {\n grid-column: span 6;\n}\n[_nghost-%COMP%] .span-8[_ngcontent-%COMP%] {\n grid-column: span 8;\n}\n[_nghost-%COMP%] .span-12[_ngcontent-%COMP%] {\n grid-column: span 12;\n}\n[_nghost-%COMP%] .column-1[_ngcontent-%COMP%] {\n grid-column: 1/span 2;\n}\n[_nghost-%COMP%] .column-2[_ngcontent-%COMP%] {\n grid-column: 1/span 4;\n}\n[_nghost-%COMP%] .column-3[_ngcontent-%COMP%] {\n grid-column: 1/span 6;\n}\n[_nghost-%COMP%] .epl-readonly-field[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n[_nghost-%COMP%] .epl-info-panel-field[_ngcontent-%COMP%] {\n container-type: inline-size;\n}\n[_nghost-%COMP%] input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n[_nghost-%COMP%] .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n[_nghost-%COMP%] .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n[_nghost-%COMP%] .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n [_nghost-%COMP%] .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] {\n background: white !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option[_ngcontent-%COMP%] .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
80472
80434
  };
80473
80435
  (() => {
80474
80436
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FilingFormGroupComponent, [{
@@ -80683,36 +80645,19 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80683
80645
  @if (field.label) {\r
80684
80646
  <span\r
80685
80647
  [class.warning]="!!previousValue"\r
80686
- [class.body-1-semibold]="field.bold"\r
80687
80648
  class="filling-form-fields-item-label body-1-regular"\r
80688
80649
  >\r
80689
80650
  {{ (field.label | translate) + (field.required ? " *" : "") }}\r
80690
- @if (field.infoText) {\r
80691
- <span class="filling-form-fields-item-info" tabindex="0">\r
80692
- <mat-icon>info</mat-icon>\r
80693
- <span class="filling-form-fields-item-info-tooltip">\r
80694
- @if (field.infoTitle) {\r
80695
- <strong>{{ field.infoTitle | translate }}</strong>\r
80696
- }\r
80697
- <span>{{ field.infoText | translate }}</span>\r
80698
- </span>\r
80699
- </span>\r
80700
- }\r
80701
80651
  </span>\r
80702
80652
  \r
80703
80653
  <mat-form-field appearance="outline">\r
80704
80654
  <input\r
80705
80655
  matInput\r
80706
80656
  [type]="field.inputType ?? 'text'"\r
80707
- [attr.maxlength]="field.maxLength ?? null"\r
80708
80657
  [readonly]="field.readonly"\r
80709
80658
  [formControlName]="field.formControlName"\r
80710
80659
  (input)="field.onChange && field.onChange(form)"\r
80711
80660
  />\r
80712
- \r
80713
- @if (field.hint) {\r
80714
- <mat-hint>{{ field.hint | translate }}</mat-hint>\r
80715
- }\r
80716
80661
  \r
80717
80662
  @if (previousValue != null) {\r
80718
80663
  <mat-hint\r
@@ -80760,13 +80705,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80760
80705
  @case (types.Text) {\r
80761
80706
  @let label = field.dynamicLabel ? field.dynamicLabel(form, translateFn, prevData()) : field.label;\r
80762
80707
  @if (label) {\r
80763
- <p\r
80764
- [class.last]="last"\r
80765
- [class.body-1-semibold]="field.bold"\r
80766
- class="filling-form-fields-item-text body-1-regular grey"\r
80767
- [class]="field.class"\r
80768
- [innerHTML]="label"\r
80769
- ></p>\r
80708
+ <p [class.last]="last" class="filling-form-fields-item-text body-1-regular grey" [class]="field.class" [innerHTML]="label" ></p>\r
80770
80709
  }\r
80771
80710
  }\r
80772
80711
  }\r
@@ -80774,7 +80713,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
80774
80713
  }\r
80775
80714
  </div>\r
80776
80715
  </section>\r
80777
- `, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n overflow: hidden;\n}\n:host .filling-form-fields {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select {\n display: flex;\n}\n:host .filling-form-fields ::ng-deep .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n:host .filling-form-fields ::ng-deep .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .arrow-icon {\n pointer-events: none;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .filling-form-fields-checkbox {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n:host .filling-form-fields-checkbox:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-checkbox-text {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-empty {\n width: 100%;\n height: 80px;\n}\n:host .filling-form-fields-item {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n:host .filling-form-fields-item-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields-item-text:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-hint {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n:host .filling-form-fields-item.warning {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-label {\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-item-label.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-info {\n position: relative;\n display: inline-flex;\n align-items: center;\n margin-left: 6px;\n vertical-align: middle;\n}\n:host .filling-form-fields-item-info .mat-icon {\n width: 18px;\n height: 18px;\n font-size: 18px;\n line-height: 18px;\n color: #006fd6 !important;\n}\n:host .filling-form-fields-item-info:hover .filling-form-fields-item-info-tooltip,\n:host .filling-form-fields-item-info:focus .filling-form-fields-item-info-tooltip {\n display: flex;\n}\n:host .filling-form-fields-item-info-tooltip {\n position: absolute;\n z-index: 10;\n top: -12px;\n left: 28px;\n display: none;\n width: 220px;\n flex-direction: column;\n gap: 8px;\n padding: 16px 18px;\n border: 1px solid #d8dbe1;\n border-radius: 8px;\n background: #f5f6f8;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);\n color: #2f343b;\n line-height: 20px;\n white-space: normal;\n}\n:host .filling-form-fields-item-hint.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-icon {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n:host .filling-form-fields-item-icon.warning {\n color: #845400;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-form-field-error {\n display: none;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n:host .filling-form-fields ::ng-deep {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n line-height: 18px;\n}\n:host .filling-form-fields ::ng-deep input,\n:host .filling-form-fields ::ng-deep textarea {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n:host .span-1 {\n grid-column: span 1;\n}\n:host .span-2 {\n grid-column: span 2;\n}\n:host .span-3 {\n grid-column: span 3;\n}\n:host .span-4 {\n grid-column: span 4;\n}\n:host .span-5 {\n grid-column: span 5;\n}\n:host .span-6 {\n grid-column: span 6;\n}\n:host .span-8 {\n grid-column: span 8;\n}\n:host .span-12 {\n grid-column: span 12;\n}\n:host .column-1 {\n grid-column: 1/span 2;\n}\n:host .column-2 {\n grid-column: 1/span 4;\n}\n:host .column-3 {\n grid-column: 1/span 6;\n}\n:host ::ng-deep input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n.filing-form-group-select-option {\n background: white !important;\n}\n.filing-form-group-select-option ::ng-deep .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option ::ng-deep .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
80716
+ `, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n overflow: hidden;\n}\n:host .filling-form-fields {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n column-gap: 16px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select {\n display: flex;\n}\n:host .filling-form-fields ::ng-deep .mdc-checkbox__background {\n border: 3px solid #6a6c6f;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio-group {\n display: flex;\n flex-wrap: wrap;\n column-gap: 24px;\n}\n:host .filling-form-fields ::ng-deep .filling-form-fields-radio .mdc-form-field > label {\n padding-left: 0;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-arrow-wrapper {\n display: none;\n}\n:host .filling-form-fields ::ng-deep .suffix-container {\n display: flex;\n align-items: center;\n padding-right: 12px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-icon-suffix .mat-icon {\n display: flex;\n align-items: center;\n}\n:host .filling-form-fields ::ng-deep .arrow-icon {\n pointer-events: none;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-form-field-infix {\n display: flex !important;\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n font-size: 14px !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .filling-form-fields-checkbox {\n display: flex;\n flex-direction: column;\n justify-content: center;\n line-height: 2rem;\n}\n:host .filling-form-fields-checkbox:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-checkbox-text {\n display: flex;\n align-items: center;\n gap: 8px;\n line-height: 20px;\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-empty {\n width: 100%;\n height: 80px;\n}\n:host .filling-form-fields-item {\n --mat-sys-primary: #6b6f76;\n --mat-sys-primary-container: #e4e5e8;\n --mat-sys-surface-tint: #6b6f76;\n --mat-sys-outline: #c7c9cf;\n --mat-sys-outline-variant: #dfe1e6;\n --mdc-icon-button-state-layer-size: 36px;\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-text-field-wrapper {\n padding: 0 !important;\n}\n:host .filling-form-fields-item.text-area ::ng-deep .mat-mdc-input-element {\n padding: 0 12px;\n min-height: 230px !important;\n max-height: 230px !important;\n}\n:host .filling-form-fields-item-text {\n font-size: 14px !important;\n}\n:host .filling-form-fields-item-text:not(.last) {\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-hint {\n display: flex;\n align-items: center;\n font-size: 12px;\n}\n:host .filling-form-fields-item.warning {\n --mdc-outlined-text-field-outline-color: #845400;\n --mdc-outlined-text-field-outline-width: 2px;\n --mat-sys-on-surface: #845400;\n color: #845400;\n padding-bottom: 16px;\n}\n:host .filling-form-fields-item-label {\n color: var(--filing-modal-color-grey);\n}\n:host .filling-form-fields-item-label.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-hint.warning {\n color: #845400;\n}\n:host .filling-form-fields-item-icon {\n font-size: 22px;\n line-height: 22px;\n height: 22px;\n width: 22px;\n}\n:host .filling-form-fields-item-icon.warning {\n color: #845400;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-mdc-checkbox.ng-invalid .mdc-checkbox__background {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid {\n padding: 0 0 12px;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__leading {\n border-color: #ff3e3e !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mdc-notched-outline__trailing {\n border-color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-datepicker-toggle-default-icon {\n color: #E22222 !important;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-form-field-error {\n color: #E22222 !important;\n font-size: 12px;\n font-family: "Open Sans";\n}\n:host .filling-form-fields.submitted ::ng-deep .mat-form-field-invalid .mat-mdc-select-arrow {\n color: #E22222 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__leading {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mdc-notched-outline__trailing {\n border-color: #d6d6d6 !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-datepicker-toggle-default-icon {\n color: #4a4a4a !important;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-form-field-error {\n display: none;\n}\n:host .filling-form-fields:not(.submitted) ::ng-deep .mat-mdc-select-arrow {\n color: #d6d6d6 !important;\n}\n:host .filling-form-fields ::ng-deep {\n --mat-form-field-container-vertical-padding: 6px;\n --mat-form-field-container-height: 36px;\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value {\n line-height: 18px;\n}\n:host .filling-form-fields ::ng-deep input,\n:host .filling-form-fields ::ng-deep textarea {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mat-mdc-select-value-text {\n font-family: "Open Sans";\n}\n:host .filling-form-fields ::ng-deep .mdc-text-field--disabled {\n background-color: #F5F5F5 !important;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__leading {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-left-radius: 8px;\n border-bottom-left-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-notched-outline__trailing {\n border-width: 1px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\n}\n:host .filling-form-fields ::ng-deep .mdc-icon-button .mat-icon {\n display: flex !important;\n align-items: center !important;\n justify-content: center !important;\n}\n:host .span-1 {\n grid-column: span 1;\n}\n:host .span-2 {\n grid-column: span 2;\n}\n:host .span-3 {\n grid-column: span 3;\n}\n:host .span-4 {\n grid-column: span 4;\n}\n:host .span-5 {\n grid-column: span 5;\n}\n:host .span-6 {\n grid-column: span 6;\n}\n:host .span-8 {\n grid-column: span 8;\n}\n:host .span-12 {\n grid-column: span 12;\n}\n:host .column-1 {\n grid-column: 1/span 2;\n}\n:host .column-2 {\n grid-column: 1/span 4;\n}\n:host .column-3 {\n grid-column: 1/span 6;\n}\n:host .epl-readonly-field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n}\n:host .epl-info-panel-field {\n container-type: inline-size;\n}\n:host ::ng-deep input {\n font-size: 14px !important;\n color: var(--filing-modal-color-grey) !important;\n}\n:host ::ng-deep .epl-readonly-value {\n display: flex;\n align-items: center;\n min-height: 36px;\n padding: 0 16px;\n border: 1px solid #F5F5F5;\n border-radius: 8px;\n background-color: #F5F5F5;\n overflow-wrap: anywhere;\n}\n:host ::ng-deep .epl-info-panel {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n column-gap: 16px;\n row-gap: 12px;\n padding: 12px;\n border-radius: 8px;\n background-color: #F5F5F5;\n}\n:host ::ng-deep .epl-info-panel-item {\n display: flex;\n flex-direction: column;\n gap: 2px;\n}\n@container (max-width: 560px) {\n :host ::ng-deep .epl-info-panel {\n grid-template-columns: minmax(0, 1fr);\n }\n}\n.filing-form-group-select-option {\n background: white !important;\n}\n.filing-form-group-select-option ::ng-deep .mat-pseudo-checkbox-checked {\n background: transparent !important;\n}\n.filing-form-group-select-option ::ng-deep .mdc-list-item__primary-text {\n font-family: "Open Sans";\n font-size: 14px !important;\n}\n/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
80778
80717
  }], () => [], null);
80779
80718
  })();
80780
80719
  (() => {
@@ -86603,8 +86542,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86603
86542
  FederalFormationFormControl2["Email"] = "email";
86604
86543
  FederalFormationFormControl2["BusinessActivities"] = "businessActivities";
86605
86544
  FederalFormationFormControl2["PrincipalOfficeInOntario"] = "principalOfficeInOntario";
86606
- FederalFormationFormControl2["UseDifferentAddressForService"] = "useDifferentAddressForService";
86607
- FederalFormationFormControl2["ServiceAddressUid"] = "serviceAddressUid";
86608
86545
  FederalFormationFormControl2["ContactInOntario"] = "contactInOntario";
86609
86546
  FederalFormationFormControl2["ChiefOfficerManagerInOntario"] = "chiefOfficerManagerInOntario";
86610
86547
  FederalFormationFormControl2["PersonAuthorizingTheFiling"] = "personAuthorizingTheFiling";
@@ -86812,14 +86749,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86812
86749
  });
86813
86750
 
86814
86751
  // src/app/constants/federal-formation-form.contants.ts
86815
- var dynamicOptionsCache, FEDERAL_INCORPORATION_TYPE_OPTIONS, FEDERAL_INCORPORATION_ROLE_OPTIONS, FEDERAL_LEGAL_ENDING_OPTIONS, FEDERAL_SIGNIFICANT_CONTROL_TYPE_OPTIONS, FEDERAL_EXCLUSION_REASON_OPTIONS, FEDERAL_ISC_TYPE_OF_INTEREST_OPTIONS, FEDERAL_ISC_SHARE_HOLDING_METHOD_OPTIONS, FEDERAL_ISC_JOINT_HOLDING_TYPE_OPTIONS, FEDERAL_ISC_PERCENTAGE_INTEREST_OPTIONS, GENERATE_FEDERAL_FORMATION_FORM_INCORPORATION_DETAILS, FEDERAL_FORMATION_ARTICLES_OF_INCORPORATION, FEDERAL_FORMATION_FORM_DIRECTORS, FEDERAL_FORMATION_FORM_SIGNIFICANT_CONTROL, FEDERAL_FORMATION_FORM_ADDITIONAL_INFORMATION, generateFederalFormationFormContactControl, generateFederalFormationFormRegisteredOfficeAddressControl, generateFederalFormationFormInviteDirectorsToBeManagersControl, federalFormationFormIndividualsWithSignificantControl, GENERATE_FEDERAL_FORMATION_FORM_EXTRA_PROVINCIAL_LICENSES, GENERATE_FEDERAL_FORMATION_FORM_SIGNATORY_CONTROL;
86752
+ var FEDERAL_INCORPORATION_TYPE_OPTIONS, FEDERAL_INCORPORATION_ROLE_OPTIONS, FEDERAL_LEGAL_ENDING_OPTIONS, FEDERAL_SIGNIFICANT_CONTROL_TYPE_OPTIONS, FEDERAL_EXCLUSION_REASON_OPTIONS, FEDERAL_ISC_TYPE_OF_INTEREST_OPTIONS, FEDERAL_ISC_SHARE_HOLDING_METHOD_OPTIONS, FEDERAL_ISC_JOINT_HOLDING_TYPE_OPTIONS, FEDERAL_ISC_PERCENTAGE_INTEREST_OPTIONS, GENERATE_FEDERAL_FORMATION_FORM_INCORPORATION_DETAILS, FEDERAL_FORMATION_ARTICLES_OF_INCORPORATION, FEDERAL_FORMATION_FORM_DIRECTORS, FEDERAL_FORMATION_FORM_SIGNIFICANT_CONTROL, FEDERAL_FORMATION_FORM_ADDITIONAL_INFORMATION, generateFederalFormationFormContactControl, generateFederalFormationFormRegisteredOfficeAddressControl, generateFederalFormationFormInviteDirectorsToBeManagersControl, federalFormationFormIndividualsWithSignificantControl, GENERATE_FEDERAL_FORMATION_FORM_EXTRA_PROVINCIAL_LICENSES, GENERATE_FEDERAL_FORMATION_FORM_SIGNATORY_CONTROL;
86816
86753
  var init_federal_formation_form_contants = __esm({
86817
86754
  "src/app/constants/federal-formation-form.contants.ts"() {
86818
86755
  init_form_enums();
86819
86756
  init_federal_form_enum();
86820
86757
  init_FederalConstants();
86758
+ init_common_constants();
86821
86759
  init_common_utils();
86822
- dynamicOptionsCache = /* @__PURE__ */ new Map();
86823
86760
  FEDERAL_INCORPORATION_TYPE_OPTIONS = Object.values(NameType2).filter((v) => typeof v === "number").map((v) => ({ label: NameTypeLabel2[v], value: v }));
86824
86761
  FEDERAL_INCORPORATION_ROLE_OPTIONS = Object.values(SignatoryRole3).filter((v) => typeof v === "number").map((v) => ({ label: SignatoryRoleLabel[v], value: v }));
86825
86762
  FEDERAL_LEGAL_ENDING_OPTIONS = Object.values(LegalElement).filter((v) => typeof v === "number").map((v) => ({ label: LegalElementLabel[v], value: v }));
@@ -86846,6 +86783,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86846
86783
  if (!NAME_TYPES_REQUIRING_RESERVATION.includes(incorporationType)) {
86847
86784
  form.get(FederalFormationFormControl.PrimaryNuansReportReservation)?.setValue("", { emitEvent: false });
86848
86785
  form.get(FederalFormationFormControl.PrimaryReservationDate)?.setValue("", { emitEvent: false });
86786
+ form.get(FederalFormationFormControl.SecondaryReservationNumber)?.setValue("", { emitEvent: false });
86787
+ form.get(FederalFormationFormControl.SecondaryReservationDate)?.setValue("", { emitEvent: false });
86849
86788
  }
86850
86789
  if (incorporationType !== NameType2.NonPreapproved) {
86851
86790
  form.get(FederalFormationFormControl.BusinessActivities)?.setValue("", { emitEvent: false });
@@ -86853,8 +86792,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86853
86792
  form.get(FederalFormationFormControl.ClienteleMarketType)?.setValue("", { emitEvent: false });
86854
86793
  form.get(FederalFormationFormControl.KeywordOrigin)?.setValue("", { emitEvent: false });
86855
86794
  form.get(FederalFormationFormControl.SimilarNamesSearchedOrRegistered)?.setValue("", { emitEvent: false });
86856
- form.get(FederalFormationFormControl.SecondaryReservationNumber)?.setValue("", { emitEvent: false });
86857
- form.get(FederalFormationFormControl.SecondaryReservationDate)?.setValue("", { emitEvent: false });
86858
86795
  }
86859
86796
  if (incorporationType !== NameType2.Numbered) {
86860
86797
  form.get(FederalFormationFormControl.LegalElement)?.setValue("", { emitEvent: false });
@@ -86909,13 +86846,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86909
86846
  label: "Proposed Corporate Name in other official language (if applicable)",
86910
86847
  formControlName: FederalFormationFormControl.ProposedCorporateNameInOtherOfficialLanguage,
86911
86848
  class: "span-6",
86912
- isVisible: (form) => Boolean(form.get(FederalFormationFormControl.ProposedCorporateNameInOtherOfficialLanguage)?.value) && NameType2.NonPreapproved === form.get(FederalFormationFormControl.NameType)?.value
86849
+ isVisible: (form) => Boolean(form.get(FederalFormationFormControl.ProposedCorporateNameInOtherOfficialLanguage)?.value) && NAME_TYPES_REQUIRING_RESERVATION.includes(form.get(FederalFormationFormControl.NameType)?.value)
86913
86850
  },
86914
86851
  {
86915
86852
  type: FormType.Input,
86916
86853
  label: "Nuans Report Reservation #",
86917
86854
  formControlName: FederalFormationFormControl.SecondaryReservationNumber,
86918
- isVisible: (form) => Boolean(form.get(FederalFormationFormControl.ProposedCorporateNameInOtherOfficialLanguage)?.value) && NameType2.NonPreapproved === form.get(FederalFormationFormControl.NameType)?.value,
86855
+ isVisible: (form) => Boolean(form.get(FederalFormationFormControl.ProposedCorporateNameInOtherOfficialLanguage)?.value) && NAME_TYPES_REQUIRING_RESERVATION.includes(form.get(FederalFormationFormControl.NameType)?.value),
86919
86856
  class: "span-3",
86920
86857
  required: true
86921
86858
  },
@@ -86923,7 +86860,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86923
86860
  type: FormType.Date,
86924
86861
  label: "Reservation Date",
86925
86862
  formControlName: FederalFormationFormControl.SecondaryReservationDate,
86926
- isVisible: (form) => Boolean(form.get(FederalFormationFormControl.ProposedCorporateNameInOtherOfficialLanguage)?.value) && NameType2.NonPreapproved === form.get(FederalFormationFormControl.NameType)?.value,
86863
+ required: true,
86864
+ isVisible: (form) => Boolean(form.get(FederalFormationFormControl.ProposedCorporateNameInOtherOfficialLanguage)?.value) && NAME_TYPES_REQUIRING_RESERVATION.includes(form.get(FederalFormationFormControl.NameType)?.value),
86927
86865
  class: "span-3"
86928
86866
  },
86929
86867
  {
@@ -87281,33 +87219,15 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87281
87219
  }
87282
87220
  ];
87283
87221
  };
87284
- GENERATE_FEDERAL_FORMATION_FORM_EXTRA_PROVINCIAL_LICENSES = (addressMap, affiliationsMap) => {
87222
+ GENERATE_FEDERAL_FORMATION_FORM_EXTRA_PROVINCIAL_LICENSES = (addressMap, affiliationsMap, affiliationDetailsMap, formatDate2) => {
87285
87223
  return [
87286
87224
  {
87287
- type: FormType.Text,
87288
- label: "Business activity:",
87289
- formControlName: "",
87290
- class: "span-12",
87291
- bold: true
87292
- },
87293
- {
87294
- type: FormType.Input,
87295
- label: "NAICS (North American Industry Classification) Code",
87225
+ type: FormType.Select,
87226
+ label: "Business Activity",
87296
87227
  formControlName: FederalFormationFormControl.BusinessActivities,
87228
+ options: NAICS_CODES,
87297
87229
  class: "span-12",
87298
- required: true,
87299
- bold: true,
87300
- maxLength: 4,
87301
- infoTitle: "4-digit limit",
87302
- infoText: "Corporations Canada limits the NAICS code to 4 digits.",
87303
- errorMessage: "Enter a NAICS code up to 4 digits",
87304
- onChange: (form) => {
87305
- const control = form.get(FederalFormationFormControl.BusinessActivities);
87306
- const value = String(control?.value ?? "").replace(/\D/g, "").slice(0, 4);
87307
- if (control?.value !== value) {
87308
- control?.setValue(value, { emitEvent: false });
87309
- }
87310
- }
87230
+ required: true
87311
87231
  },
87312
87232
  {
87313
87233
  type: FormType.Text,
@@ -87328,54 +87248,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87328
87248
  type: FormType.Select,
87329
87249
  label: "Principal Office in Ontario",
87330
87250
  formControlName: FederalFormationFormControl.PrincipalOfficeInOntario,
87331
- onChange: (form) => {
87332
- const serviceAddressUidControl = form.get(FederalFormationFormControl.ServiceAddressUid);
87333
- if (form.get(FederalFormationFormControl.PrincipalOfficeInOntario)?.value === serviceAddressUidControl?.value) {
87334
- serviceAddressUidControl?.setValue("", { emitEvent: false });
87335
- }
87336
- },
87337
87251
  dynamicOptions: (form) => {
87338
87252
  return addressMap.get(form.get(FormationFormControls.Id)?.value) ?? [];
87339
87253
  },
87340
87254
  class: "span-12",
87341
87255
  required: true
87342
87256
  },
87343
- {
87344
- type: FormType.Checkbox,
87345
- label: "Use a different address for service",
87346
- formControlName: FederalFormationFormControl.UseDifferentAddressForService,
87347
- required: false,
87348
- onChange: (form) => {
87349
- if (form.get(FederalFormationFormControl.UseDifferentAddressForService)?.value)
87350
- return;
87351
- form.get(FederalFormationFormControl.ServiceAddressUid)?.reset(null, { emitEvent: false });
87352
- form.get(FederalFormationFormControl.ContactInOntario)?.reset(null, { emitEvent: false });
87353
- },
87354
- class: "span-12"
87355
- },
87356
- {
87357
- type: FormType.Select,
87358
- dynamicLabel: (form, t) => {
87359
- return `${t("Address for Service in")} ${form.get(FormationFormControls.Province)?.value}`;
87360
- },
87361
- formControlName: FederalFormationFormControl.ServiceAddressUid,
87362
- isVisible: (form) => form.get(FederalFormationFormControl.UseDifferentAddressForService)?.value,
87363
- dynamicOptions: (form) => {
87364
- const id = form.get(FormationFormControls.Id)?.value;
87365
- const principalOfficeInOntario = form.get(FederalFormationFormControl.PrincipalOfficeInOntario)?.value;
87366
- const cacheKey = `${id}::${principalOfficeInOntario ?? ""}`;
87367
- const cached = dynamicOptionsCache.get(cacheKey);
87368
- if (cached) {
87369
- return cached;
87370
- }
87371
- const options = addressMap.get(id) ?? [];
87372
- const result = principalOfficeInOntario ? options.filter((item) => item.value !== principalOfficeInOntario) : options;
87373
- dynamicOptionsCache.set(cacheKey, result);
87374
- return result;
87375
- },
87376
- class: "span-12",
87377
- required: false
87378
- },
87379
87257
  {
87380
87258
  type: FormType.Select,
87381
87259
  label: "Contact in Ontario",
@@ -87383,16 +87261,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87383
87261
  dynamicOptions: (form) => {
87384
87262
  return affiliationsMap.get(form.get(FormationFormControls.Id)?.value) ?? [];
87385
87263
  },
87386
- isVisible: (form) => form.get(FederalFormationFormControl.UseDifferentAddressForService)?.value,
87387
87264
  class: "span-6",
87388
87265
  required: true
87389
87266
  },
87390
87267
  {
87391
87268
  type: FormType.Text,
87392
- dynamicLabel: (_, t) => `<span class="body-1-regular grey">${t("Contact Details")}:</span>`,
87269
+ dynamicLabel: (form, t) => {
87270
+ const details = affiliationDetailsMap.get(form.get(FederalFormationFormControl.ContactInOntario)?.value);
87271
+ return `<span class="filling-form-fields-item-label body-1-regular">${t("Email Address")}</span><span class="epl-readonly-value body-1-regular black">${details?.email || t("Not specified")}</span>`;
87272
+ },
87393
87273
  formControlName: "",
87394
- class: "span-12",
87395
- required: true
87274
+ isVisible: (form) => !!form.get(FederalFormationFormControl.ContactInOntario)?.value,
87275
+ class: "span-6 epl-readonly-field"
87396
87276
  },
87397
87277
  {
87398
87278
  type: FormType.Select,
@@ -87401,15 +87281,27 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87401
87281
  dynamicOptions: (form) => {
87402
87282
  return affiliationsMap.get(form.get(FormationFormControls.Id)?.value) ?? [];
87403
87283
  },
87404
- class: "span-6",
87284
+ // Starts its own row so the optional email beside Contact in Ontario never shifts it.
87285
+ class: "column-3",
87405
87286
  required: false
87406
87287
  },
87288
+ {
87289
+ type: FormType.Text,
87290
+ dynamicLabel: (form, t) => {
87291
+ const details = affiliationDetailsMap.get(form.get(FederalFormationFormControl.ChiefOfficerManagerInOntario)?.value);
87292
+ const item = (label, value) => `<span class="epl-info-panel-item"><span class="body-2-regular grey">${t(label)}</span><span class="body-1-regular black">${value || t("Not specified")}</span></span>`;
87293
+ return '<span class="epl-info-panel">' + item("Address", details?.address) + item("Individual Effective Date", formatDate2(details?.individualEffectiveDate)) + item("Address Effective Date", formatDate2(details?.addressEffectiveDate)) + "</span>";
87294
+ },
87295
+ formControlName: "",
87296
+ isVisible: (form) => !!form.get(FederalFormationFormControl.ChiefOfficerManagerInOntario)?.value,
87297
+ class: "span-12 epl-info-panel-field"
87298
+ },
87407
87299
  {
87408
87300
  type: FormType.Select,
87409
87301
  label: "Person Authorizing the Filing",
87410
87302
  formControlName: FederalFormationFormControl.PersonAuthorizingTheFiling,
87411
87303
  dynamicOptions: (form) => affiliationsMap.get(form.get(FormationFormControls.Id)?.value) ?? [],
87412
- class: "span-6",
87304
+ class: "column-3",
87413
87305
  required: true
87414
87306
  },
87415
87307
  {
@@ -87825,14 +87717,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87825
87717
  });
87826
87718
  config2[FederalFormationFormGroups.Directors] = new FormArray(directorGroups);
87827
87719
  }
87720
+ const secondaryName = task.entity?._profile?.secondary_name;
87721
+ const secondaryReservationValidators = secondaryName ? [requiredIfValueIn(FederalFormationFormControl.NameType, NAME_TYPES_REQUIRING_RESERVATION)] : [];
87828
87722
  const incorporationConfig = {
87829
87723
  [FederalFormationFormControl.NameType]: new FormControl(corporateName?.nameType ?? null, Validators.required),
87830
87724
  [FederalFormationFormControl.ProposedCorporateName]: new FormControl({ value: task.entity._profile.name ?? null, disabled: true }, requiredIfNotValue(FederalFormationFormControl.NameType, NameType2.Numbered)),
87831
87725
  [FederalFormationFormControl.PrimaryNuansReportReservation]: new FormControl(corporateName?.primaryNameReservationNumber ?? "", requiredIfValueIn(FederalFormationFormControl.NameType, NAME_TYPES_REQUIRING_RESERVATION)),
87832
87726
  [FederalFormationFormControl.PrimaryReservationDate]: new FormControl(corporateName?.primaryNameReservationDate ?? "", requiredIfValueIn(FederalFormationFormControl.NameType, NAME_TYPES_REQUIRING_RESERVATION)),
87833
87727
  [FederalFormationFormControl.ProposedCorporateNameInOtherOfficialLanguage]: new FormControl({ value: task.entity._profile.secondary_name ?? null, disabled: true }, Validators.required),
87834
- [FederalFormationFormControl.SecondaryReservationNumber]: new FormControl(""),
87835
- [FederalFormationFormControl.SecondaryReservationDate]: new FormControl(""),
87728
+ // Shown (and so required) whenever the entity has a French name and the name type needs a reservation,
87729
+ // regardless of whether the entity is a numbered company.
87730
+ [FederalFormationFormControl.SecondaryReservationNumber]: new FormControl(corporateName?.secondaryNameReservationNumber ?? "", secondaryReservationValidators),
87731
+ [FederalFormationFormControl.SecondaryReservationDate]: new FormControl(corporateName?.secondaryNameReservationDate ?? "", secondaryReservationValidators),
87836
87732
  [FederalFormationFormControl.LegalElement]: new FormControl(corporateName?.legalElement ?? task.entity._profile.legal_entity_identifier ?? null, requiredIfValue(FederalFormationFormControl.NameType, NameType2.Numbered)),
87837
87733
  [FederalFormationFormControl.NamePreapprovalConfirmationNumber]: new FormControl(corporateName?.preapprovalConfirmationNumber ?? "", requiredIfValue(FederalFormationFormControl.NameType, NameType2.Preapproved)),
87838
87734
  [FederalFormationFormControl.BusinessActivities]: new FormControl(corporateName?.businessActivity ?? null),
@@ -87849,11 +87745,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87849
87745
  incorporationConfig[FederalFormationFormControl.ReservationNumber] = new FormControl(corporateName?.primaryNameReservationNumber ?? ext._name_reservationID ?? null, requiredIf(FederalFormationFormControl.EntityName));
87850
87746
  incorporationConfig[FederalFormationFormControl.ReservationDate] = new FormControl(corporateName?.primaryNameReservationDate ?? ext._name_reservation_date ?? null, requiredIf(FederalFormationFormControl.EntityName));
87851
87747
  }
87852
- const secondaryName = task.entity?._profile?.secondary_name;
87853
87748
  if (!isNumberedCompany && secondaryName) {
87854
87749
  incorporationConfig[FederalFormationFormControl.SecondaryName] = new FormControl({ value: secondaryName, disabled: true });
87855
- incorporationConfig[FederalFormationFormControl.SecondaryReservationNumber] = new FormControl(corporateName?.secondaryNameReservationNumber ?? "", requiredIf(FederalFormationFormControl.SecondaryName));
87856
- incorporationConfig[FederalFormationFormControl.SecondaryReservationDate] = new FormControl(corporateName?.secondaryNameReservationDate ?? "", requiredIf(FederalFormationFormControl.SecondaryName));
87857
87750
  }
87858
87751
  config2[FederalFormationFormGroups.CorporateName] = new FormGroup(incorporationConfig);
87859
87752
  config2[FederalFormationFormGroups.SignificantControl] = new FormGroup({
@@ -87873,10 +87766,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87873
87766
  [FormationFormControls.Province]: new FormControl(eplRegisteredOffice?.addresses?.[0]?.province_state),
87874
87767
  [FederalFormationFormControl.RegistrationDate]: new FormControl({ value: data.registration_date ?? null, disabled: true }),
87875
87768
  [FederalFormationFormControl.OfficialEmail]: new FormControl({ value: officialEmail, disabled: true }),
87876
- [FederalFormationFormControl.BusinessActivities]: new FormControl(deltaData?.businessActivity ?? null, [Validators.required, Validators.pattern(/^\d{1,4}$/)]),
87769
+ [FederalFormationFormControl.BusinessActivities]: new FormControl(deltaData?.businessActivity ?? null, Validators.required),
87877
87770
  [FederalFormationFormControl.PrincipalOfficeInOntario]: new FormControl(deltaData?.principalOfficeAddressUid ?? null, Validators.required),
87878
- [FederalFormationFormControl.UseDifferentAddressForService]: new FormControl(!!deltaData?.serviceAddressUid),
87879
- [FederalFormationFormControl.ServiceAddressUid]: new FormControl(deltaData?.serviceAddressUid ?? null),
87880
87771
  [FederalFormationFormControl.ContactInOntario]: new FormControl(deltaData?.contactUid ?? null, Validators.required),
87881
87772
  [FederalFormationFormControl.ChiefOfficerManagerInOntario]: new FormControl(deltaData?.chiefManagerUid ?? null),
87882
87773
  [FederalFormationFormControl.PersonAuthorizingTheFiling]: new FormControl(deltaData?.signatoryUid ?? null, Validators.required),
@@ -88466,6 +88357,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88466
88357
  generateEPLFields(registrations) {
88467
88358
  const eplAddressesMap = /* @__PURE__ */ new Map();
88468
88359
  const eplAffiliationsMap = /* @__PURE__ */ new Map();
88360
+ const eplAffiliationDetailsMap = /* @__PURE__ */ new Map();
88469
88361
  for (const registration of registrations) {
88470
88362
  const addressOptions = [];
88471
88363
  const affiliationsOptions = [];
@@ -88476,6 +88368,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88476
88368
  label: getPersonName(affiliation.participant),
88477
88369
  value: affiliation._id
88478
88370
  });
88371
+ const affiliationAddress = affiliation.addresses?.[0] || affiliation.parent_affiliation?.addresses?.[0];
88372
+ eplAffiliationDetailsMap.set(affiliation._id, {
88373
+ email: getPersonEmail(affiliation.participant),
88374
+ address: affiliationAddress ? this.formatAddressLabel(affiliationAddress) : void 0,
88375
+ individualEffectiveDate: affiliation.start_date,
88376
+ addressEffectiveDate: affiliationAddress?.effective_date
88377
+ });
88479
88378
  for (const address of affiliation.addresses) {
88480
88379
  const display = address.display;
88481
88380
  addressOptions.push({
@@ -88496,7 +88395,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88496
88395
  eplAddressesMap.set(registration.uid, addressOptions);
88497
88396
  eplAffiliationsMap.set(registration.uid, affiliationsOptions);
88498
88397
  }
88499
- return GENERATE_FEDERAL_FORMATION_FORM_EXTRA_PROVINCIAL_LICENSES(eplAddressesMap, eplAffiliationsMap);
88398
+ return GENERATE_FEDERAL_FORMATION_FORM_EXTRA_PROVINCIAL_LICENSES(eplAddressesMap, eplAffiliationsMap, eplAffiliationDetailsMap, (value) => formatLongDate(value, this.translate.currentLang));
88500
88399
  }
88501
88400
  generateISCAddressesMap(affiliations) {
88502
88401
  const map2 = /* @__PURE__ */ new Map();
@@ -88897,7 +88796,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
88897
88796
  }], () => [], null);
88898
88797
  })();
88899
88798
  (() => {
88900
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalIncorporationFormComponent, { className: "FederalIncorporationFormComponent", filePath: "src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.ts", lineNumber: 73 });
88799
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalIncorporationFormComponent, { className: "FederalIncorporationFormComponent", filePath: "src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.ts", lineNumber: 75 });
88901
88800
  })();
88902
88801
  }
88903
88802
  });
@@ -90569,7 +90468,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
90569
90468
  extraProvincialLicenses[uid] = {
90570
90469
  businessActivity: epl[FederalFormationFormControl.BusinessActivities],
90571
90470
  principalOfficeAddressUid: epl[FederalFormationFormControl.PrincipalOfficeInOntario],
90572
- serviceAddressUid: epl[FederalFormationFormControl.UseDifferentAddressForService] ? epl[FederalFormationFormControl.ServiceAddressUid] : null,
90573
90471
  contactUid: epl[FederalFormationFormControl.ContactInOntario],
90574
90472
  chiefManagerUid: epl[FederalFormationFormControl.ChiefOfficerManagerInOntario],
90575
90473
  signatoryUid: epl[FederalFormationFormControl.PersonAuthorizingTheFiling],
@@ -91649,8 +91547,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
91649
91547
  const registeredOfficeAddress = registeredOffice?.addresses?.[0] || registeredOffice?.parent_affiliation?.addresses?.[0];
91650
91548
  let operatingAddress;
91651
91549
  if (deltaData.principalOfficeAddressUid) {
91652
- const affiliations2 = registration.affiliations ?? [];
91653
- for (const aff of affiliations2) {
91550
+ const affiliations = registration.affiliations ?? [];
91551
+ for (const aff of affiliations) {
91654
91552
  operatingAddress = aff.addresses?.find((a) => a.uid === deltaData.principalOfficeAddressUid) ?? aff.parent_affiliation?.addresses?.find((a) => a.uid === deltaData.principalOfficeAddressUid);
91655
91553
  if (operatingAddress)
91656
91554
  break;
@@ -91663,16 +91561,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
91663
91561
  const chiefManager = [...registration.affiliations ?? []].find((affiliation) => affiliation._id === deltaData.chiefManagerUid);
91664
91562
  const chiefManagerAddress = chiefManager?.addresses?.[0] || chiefManager?.parent_affiliation?.addresses?.[0];
91665
91563
  const signatoryManager = [...registration.affiliations ?? []].find((affiliation) => affiliation._id === deltaData.signatoryUid);
91666
- const affiliations = registration.affiliations ?? [];
91667
- const contactAffiliation = deltaData.contactUid ? affiliations.find((aff) => aff._id === deltaData.contactUid) : void 0;
91668
- let serviceAddress;
91669
- if (deltaData.serviceAddressUid) {
91670
- for (const aff of affiliations) {
91671
- serviceAddress = aff.addresses?.find((a) => a.uid === deltaData.serviceAddressUid) ?? aff.parent_affiliation?.addresses?.find((a) => a.uid === deltaData.serviceAddressUid);
91672
- if (serviceAddress)
91673
- break;
91674
- }
91675
- }
91564
+ const contactAffiliation = deltaData.contactUid ? (registration.affiliations ?? []).find((aff) => aff._id === deltaData.contactUid) : void 0;
91676
91565
  return {
91677
91566
  Jurisdiction: CANProvinceToCode(registration._compliance.home_jurisdiction),
91678
91567
  epFiling: {
@@ -91688,8 +91577,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
91688
91577
  FirstName: contactAffiliation.participant._profile.firstName,
91689
91578
  LastName: contactAffiliation.participant._profile.lastName,
91690
91579
  PhoneNumber: formatPhone(pickPhone(contactAffiliation.participant)),
91691
- Email: pickEmail(contactAffiliation.participant),
91692
- Office: serviceAddress ? mapAddress2(serviceAddress) : void 0
91580
+ Email: pickEmail(contactAffiliation.participant)
91693
91581
  } : void 0,
91694
91582
  ChiefManager: chiefManager ? {
91695
91583
  FirstName: chiefManager.participant._profile.firstName,
@@ -97838,6 +97726,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
97838
97726
  "Cease Role": "Cease Role",
97839
97727
  Remove: "Remove",
97840
97728
  "Effective Date": "Effective Date",
97729
+ "Individual Effective Date": "Individual Effective Date",
97730
+ "Address Effective Date": "Address Effective Date",
97841
97731
  "Ceased Date": "Ceased Date",
97842
97732
  New: "New",
97843
97733
  Previous: "Previous",
@@ -98103,7 +97993,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
98103
97993
  "Countries Of Citizenship": "Countries Of Citizenship",
98104
97994
  "Countries Of Residence": "Countries Of Residence",
98105
97995
  "Date business activity will begin": "Date business activity will begin",
98106
- "Address for Service in": "Address for Service in",
98107
97996
  "Requested Date for Incorporation": "Requested Date for Incorporation",
98108
97997
  I: "I",
98109
97998
  "confirm that the draft PDF document has been signed by all the required person(s) in accordance with the Act, Regulations and Director's/Registrar's Requirements.": "confirm that the draft PDF document has been signed by all the required person(s) in accordance with the Act, Regulations and Director's/Registrar's Requirements.",
@@ -98286,6 +98175,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
98286
98175
  "Cease Role": "Cesser le r\xF4le",
98287
98176
  Remove: "Supprimer",
98288
98177
  "Effective Date": "Date d'entr\xE9e en vigueur",
98178
+ "Individual Effective Date": "Date d'entr\xE9e en vigueur de la personne",
98179
+ "Address Effective Date": "Date d'entr\xE9e en vigueur de l'adresse",
98289
98180
  "Ceased Date": "Date de cessation",
98290
98181
  New: "Nouveau",
98291
98182
  Previous: "Pr\xE9c\xE9dent",
@@ -98428,7 +98319,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
98428
98319
  "Countries Of Citizenship": "Pays de citoyennet\xE9",
98429
98320
  "Countries Of Residence": "Pays de r\xE9sidence",
98430
98321
  "Date business activity will begin": "Date de d\xE9but de l'activit\xE9 commerciale",
98431
- "Address for Service in": "Adresse aux fins de signification en",
98432
98322
  "Requested Date for Incorporation": "Date demand\xE9e pour la constitution",
98433
98323
  I: "Je",
98434
98324
  "confirm that the draft PDF document has been signed by all the required person(s) in accordance with the Act, Regulations and Director's/Registrar's Requirements.": "confirme que le document PDF de brouillon a \xE9t\xE9 sign\xE9 par toutes les personnes requises conform\xE9ment \xE0 la Loi, aux r\xE8glements et aux exigences du directeur/registraire.",
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
- {
2
- "name": "@dyedurham/search-and-file-widget",
3
- "version": "2.0.49",
4
- "description": "",
5
- "main": "dnd-filing-shell.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
9
- "author": "",
1
+ {
2
+ "name": "@dyedurham/search-and-file-widget",
3
+ "version": "2.0.50",
4
+ "description": "",
5
+ "main": "dnd-filing-shell.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "",
10
10
  "license": "ISC"
11
11
  }