@dyedurham/search-and-file-widget 1.5.1 → 1.5.3

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 +320 -170
  2. package/package.json +1 -1
@@ -49712,7 +49712,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
49712
49712
  var init_OntarioConstants = __esm({
49713
49713
  "src/app/constants/OntarioConstants.ts"() {
49714
49714
  (function(NameType2) {
49715
- NameType2[NameType2["None"] = 0] = "None";
49716
49715
  NameType2[NameType2["Numbered"] = 1] = "Numbered";
49717
49716
  NameType2[NameType2["NamedEnglish"] = 2] = "NamedEnglish";
49718
49717
  NameType2[NameType2["NamedFrench"] = 3] = "NamedFrench";
@@ -49720,7 +49719,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
49720
49719
  NameType2[NameType2["NamedCombined"] = 5] = "NamedCombined";
49721
49720
  })(NameType || (NameType = {}));
49722
49721
  NameTypeLabel = {
49723
- [NameType.None]: "None",
49724
49722
  [NameType.Numbered]: "Numbered",
49725
49723
  [NameType.NamedEnglish]: "English name",
49726
49724
  [NameType.NamedFrench]: "French name",
@@ -49783,11 +49781,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
49783
49781
  }
49784
49782
  function transformDirectors(affiliations, incorporatorIds, deltaData) {
49785
49783
  const directors = affiliations.filter((aff) => aff.kind === "PrincipalAffiliationV3" && aff.role.role_name === DirectorRole.DIRECTOR);
49786
- return directors.map((director, index) => {
49784
+ return directors.map((director) => {
49787
49785
  const address = director.addresses?.[0] || director.parent_affiliation?.addresses?.[0];
49788
49786
  const person = director.participant;
49789
49787
  const participantId = person._id;
49790
- const directorDelta = deltaData.directors?.[index];
49788
+ const directorDelta = deltaData.directors?.[participantId];
49791
49789
  const email = person["communicationEmail"] || "";
49792
49790
  const firstName = person._profile.firstName || "";
49793
49791
  const lastName = person._profile.lastName || "";
@@ -49805,7 +49803,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
49805
49803
  });
49806
49804
  }
49807
49805
  function transformIncorporators(incorporators, deltaData) {
49808
- let personIndex = 0;
49809
49806
  return incorporators?.map((incorporator) => {
49810
49807
  const isEntity = incorporator.type?.toLowerCase() === "entity";
49811
49808
  if (isEntity) {
@@ -49817,7 +49814,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
49817
49814
  CompanyNumber: incorporator.incorporator_reg_number
49818
49815
  };
49819
49816
  } else {
49820
- const incorporatorDelta = deltaData.incorporators?.[personIndex++];
49817
+ const id = incorporator.profileID?.toString();
49818
+ const incorporatorDelta = id ? deltaData.incorporators?.[id] : void 0;
49821
49819
  return __spreadProps(__spreadValues({
49822
49820
  FirstName: incorporator.firstName,
49823
49821
  LastName: incorporator.lastName
@@ -49838,10 +49836,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
49838
49836
  const requestedStr = requested.toISOString().split("T")[0];
49839
49837
  return todayStr === requestedStr ? ECoreEffectiveType.CurrentDate : ECoreEffectiveType.FutureDate;
49840
49838
  }
49841
- function createCoverLetter(officialBusinessEmail, termsAndConditions) {
49839
+ function createCoverLetter(officialBusinessEmail, contact) {
49842
49840
  return {
49843
- FirstName: termsAndConditions?.firstName || "",
49844
- LastName: termsAndConditions?.lastName || "",
49841
+ FirstName: contact?._profile?.name || "",
49842
+ LastName: contact?._profile?.["secondary_name"] || "",
49845
49843
  Email: officialBusinessEmail || "",
49846
49844
  ContactPhone: {
49847
49845
  CountryCode: "1",
@@ -49870,7 +49868,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
49870
49868
  }
49871
49869
  return { code: naicsString.trim(), description: "" };
49872
49870
  }
49873
- function formationTaskToECore(task, deltaData, termsAndConditions) {
49871
+ function formationTaskToECore(task, deltaData) {
49874
49872
  const entityDetails = deltaData.entityDetails;
49875
49873
  const sharesRestrictions = deltaData.sharesRestrictions;
49876
49874
  const isNumbered = entityDetails.corporationNameType === NameType.Numbered;
@@ -49894,13 +49892,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
49894
49892
  const officialBusinessEmail = registeredOfficeAddress?.communications?.find((c) => c.type === "Business Email")?.value;
49895
49893
  const naicsData = task.entity._profile?.naics;
49896
49894
  const requestedDate = task._ext._future_filing_date ? new Date(task._ext._future_filing_date).toISOString().split("T")[0] : (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
49895
+ const contact = task.entity.affiliations.find((a) => a._id === deltaData.contact?.contact);
49897
49896
  const eCorePayload = {
49898
49897
  IncorporationType: entityDetails.corporationNameType,
49899
49898
  LegalEnding: legalEnding,
49900
49899
  EnglishName: englishName,
49901
49900
  FrenchName: frenchName,
49902
49901
  RegisteredOffice: transformAddress(registeredOfficeAddress, deltaData.registeredOfficeAddress),
49903
- CoverLetter: createCoverLetter(officialBusinessEmail, termsAndConditions),
49902
+ CoverLetter: createCoverLetter(officialBusinessEmail, contact?.target),
49904
49903
  DirectorNumberType: task.entity._articles?.min_directors === task.entity._articles?.max_directors ? ECoreDirectorNumberType.Fixed : ECoreDirectorNumberType.Range,
49905
49904
  MinimumNumberOfDirectors: task.entity._articles?.min_directors,
49906
49905
  MaximumNumberOfDirectors: task.entity._articles?.max_directors,
@@ -50187,7 +50186,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
50187
50186
  });
50188
50187
 
50189
50188
  // src/app/app.constants.ts
50190
- var UNIT_TYPE_OPTIONS, STREET_TYPE_OPTIONS_EN, STREET_TYPE_OPTIONS_ECORE_EN, STREET_DIRECTION_ECORE_OPTIONS, STREET_DIRECTION_OPTIONS, LEGAL_ENDING_OPTIONS, STREET_TYPE_TO_ECORE, STREET_DIRECTION_TO_ECORE, ECORE_DIRECTOR_NUMBER_TYPE_MAP;
50189
+ var UNIT_TYPE_OPTIONS, STREET_TYPE_OPTIONS, STREET_TYPE_OPTIONS_ECORE_EN, STREET_DIRECTION_ECORE_OPTIONS, STREET_DIRECTION_OPTIONS, LEGAL_ENDING_OPTIONS, STREET_TYPE_TO_ECORE, STREET_DIRECTION_TO_ECORE, ECORE_DIRECTOR_NUMBER_TYPE_MAP;
50191
50190
  var init_app_constants = __esm({
50192
50191
  "src/app/app.constants.ts"() {
50193
50192
  init_app_enums();
@@ -50200,37 +50199,78 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
50200
50199
  { label: "Unit", value: ECoreCanadianUnitType.UNIT },
50201
50200
  { label: "Unit\xE9", value: ECoreCanadianUnitType.UNIT\u00C9 }
50202
50201
  ];
50203
- STREET_TYPE_OPTIONS_EN = [
50202
+ STREET_TYPE_OPTIONS = [
50204
50203
  { label: "Abbey", value: ECoreStreetType.ABBEY },
50204
+ { label: "Access", value: ECoreStreetType.ACCESS },
50205
+ { label: "Acre", value: ECoreStreetType.ACRE },
50205
50206
  { label: "Acres", value: ECoreStreetType.ACRES },
50207
+ { label: "Aire", value: ECoreStreetType.AIRE },
50208
+ { label: "Allee", value: ECoreStreetType.ALLEE },
50206
50209
  { label: "Alley", value: ECoreStreetType.ALLEY },
50210
+ { label: "Aut", value: ECoreStreetType.AUT },
50211
+ { label: "Av", value: ECoreStreetType.AV },
50207
50212
  { label: "Avenue", value: ECoreStreetType.AVE },
50213
+ { label: "Baie", value: ECoreStreetType.BAIE },
50208
50214
  { label: "Bay", value: ECoreStreetType.BAY },
50209
50215
  { label: "Beach", value: ECoreStreetType.BEACH },
50210
50216
  { label: "Bend", value: ECoreStreetType.BEND },
50217
+ { label: "Bloc", value: ECoreStreetType.BLOC },
50218
+ { label: "Block", value: ECoreStreetType.BLOCK },
50219
+ { label: "Bluff", value: ECoreStreetType.BLUFF },
50220
+ { label: "Bluffs", value: ECoreStreetType.BLUFFS },
50221
+ { label: "Boul", value: ECoreStreetType.BOUL },
50211
50222
  { label: "Boulevard", value: ECoreStreetType.BLVD },
50223
+ { label: "Br", value: ECoreStreetType.BR },
50224
+ { label: "Bret", value: ECoreStreetType.BRET },
50225
+ { label: "Bridge", value: ECoreStreetType.BRIDGE },
50226
+ { label: "Brge", value: ECoreStreetType.BRGE },
50227
+ { label: "Brook", value: ECoreStreetType.BROOK },
50228
+ { label: "Burrow", value: ECoreStreetType.BURROW },
50212
50229
  { label: "By-pass", value: ECoreStreetType.BYPASS },
50213
50230
  { label: "Byway", value: ECoreStreetType.BYWAY },
50231
+ { label: "C", value: ECoreStreetType.C },
50214
50232
  { label: "Campus", value: ECoreStreetType.CAMPUS },
50233
+ { label: "Cap", value: ECoreStreetType.CAP },
50215
50234
  { label: "Cape", value: ECoreStreetType.CAPE },
50235
+ { label: "Car", value: ECoreStreetType.CAR },
50236
+ { label: "Carref", value: ECoreStreetType.CARREF },
50216
50237
  { label: "Centre", value: ECoreStreetType.CTR },
50238
+ { label: "Cercle", value: ECoreStreetType.CERCLE },
50239
+ { label: "Ch", value: ECoreStreetType.CH },
50217
50240
  { label: "Chase", value: ECoreStreetType.CHASE },
50218
50241
  { label: "Circle", value: ECoreStreetType.CIR },
50219
50242
  { label: "Circuit", value: ECoreStreetType.CIRCT },
50220
50243
  { label: "Close", value: ECoreStreetType.CLOSE },
50221
50244
  { label: "Common", value: ECoreStreetType.COMMON },
50222
50245
  { label: "Concession", value: ECoreStreetType.CONC },
50223
- { label: "Corners", value: ECoreStreetType.CRNRS },
50224
- { label: "Court", value: ECoreStreetType.CRT },
50246
+ { label: "Cote", value: ECoreStreetType.COTE },
50247
+ { label: "Cour", value: ECoreStreetType.COUR },
50248
+ { label: "Cours", value: ECoreStreetType.COURS },
50225
50249
  { label: "Cove", value: ECoreStreetType.COVE },
50226
50250
  { label: "Crescent", value: ECoreStreetType.CRES },
50251
+ { label: "Crest", value: ECoreStreetType.CREST },
50252
+ { label: "Corners", value: ECoreStreetType.CRNRS },
50253
+ { label: "Croft", value: ECoreStreetType.CROFT },
50254
+ { label: "Crois", value: ECoreStreetType.CROIS },
50227
50255
  { label: "Crossing", value: ECoreStreetType.CROSS },
50256
+ { label: "Crossroad", value: ECoreStreetType.CRSSRD },
50228
50257
  { label: "Cul-de-sac", value: ECoreStreetType.CDS },
50258
+ { label: "Curve", value: ECoreStreetType.CURVE },
50259
+ { label: "Court", value: ECoreStreetType.CRT },
50229
50260
  { label: "Dale", value: ECoreStreetType.DALE },
50230
50261
  { label: "Dell", value: ECoreStreetType.DELL },
50262
+ { label: "Desste", value: ECoreStreetType.DESSTE },
50231
50263
  { label: "Diversion", value: ECoreStreetType.DIVERS },
50232
50264
  { label: "Downs", value: ECoreStreetType.DOWNS },
50233
50265
  { label: "Drive", value: ECoreStreetType.DR },
50266
+ { label: "Driveway", value: ECoreStreetType.DRWY },
50267
+ { label: "Drpass", value: ECoreStreetType.DRPASS },
50268
+ { label: "Ech", value: ECoreStreetType.ECH },
50269
+ { label: "End", value: ECoreStreetType.END },
50270
+ { label: "Espl", value: ECoreStreetType.ESPL },
50271
+ { label: "Estate", value: ECoreStreetType.ESTATE },
50272
+ { label: "Expy", value: ECoreStreetType.EXPY },
50273
+ { label: "Exten", value: ECoreStreetType.EXTEN },
50234
50274
  { label: "Farm", value: ECoreStreetType.FARM },
50235
50275
  { label: "Field", value: ECoreStreetType.FIELD },
50236
50276
  { label: "Forest", value: ECoreStreetType.FOREST },
@@ -50238,24 +50278,30 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
50238
50278
  { label: "Front", value: ECoreStreetType.FRONT },
50239
50279
  { label: "Gardens", value: ECoreStreetType.GDNS },
50240
50280
  { label: "Gate", value: ECoreStreetType.GATE },
50281
+ { label: "Gateway", value: ECoreStreetType.GTWY },
50241
50282
  { label: "Glade", value: ECoreStreetType.GLADE },
50242
50283
  { label: "Glen", value: ECoreStreetType.GLEN },
50243
50284
  { label: "Green", value: ECoreStreetType.GREEN },
50244
50285
  { label: "Grounds", value: ECoreStreetType.GRNDS },
50245
50286
  { label: "Grove", value: ECoreStreetType.GROVE },
50246
50287
  { label: "Harbour", value: ECoreStreetType.HARBR },
50288
+ { label: "Haven", value: ECoreStreetType.HAVEN },
50247
50289
  { label: "Heath", value: ECoreStreetType.HEATH },
50290
+ { label: "Height", value: ECoreStreetType.HEIGHT },
50248
50291
  { label: "Heights", value: ECoreStreetType.HTS },
50249
50292
  { label: "Highlands", value: ECoreStreetType.HGHLDS },
50250
50293
  { label: "Highway", value: ECoreStreetType.HWY },
50251
50294
  { label: "Hill", value: ECoreStreetType.HILL },
50252
50295
  { label: "Hollow", value: ECoreStreetType.HOLLOW },
50296
+ { label: "Ile", value: ECoreStreetType.ILE },
50297
+ { label: "Imp", value: ECoreStreetType.IMP },
50253
50298
  { label: "Inlet", value: ECoreStreetType.INLET },
50254
50299
  { label: "Island", value: ECoreStreetType.ISLAND },
50255
50300
  { label: "Key", value: ECoreStreetType.KEY },
50256
50301
  { label: "Knoll", value: ECoreStreetType.KNOLL },
50257
50302
  { label: "Landing", value: ECoreStreetType.LANDNG },
50258
50303
  { label: "Lane", value: ECoreStreetType.LANE },
50304
+ { label: "Laneway", value: ECoreStreetType.LANEWY },
50259
50305
  { label: "Limits", value: ECoreStreetType.LMTS },
50260
50306
  { label: "Line", value: ECoreStreetType.LINE },
50261
50307
  { label: "Link", value: ECoreStreetType.LINK },
@@ -50266,48 +50312,74 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
50266
50312
  { label: "Maze", value: ECoreStreetType.MAZE },
50267
50313
  { label: "Meadow", value: ECoreStreetType.MEADOW },
50268
50314
  { label: "Mews", value: ECoreStreetType.MEWS },
50315
+ { label: "Mikan", value: ECoreStreetType.MIKAN },
50316
+ { label: "Montee", value: ECoreStreetType.MONTEE },
50269
50317
  { label: "Moor", value: ECoreStreetType.MOOR },
50270
50318
  { label: "Mount", value: ECoreStreetType.MOUNT },
50271
50319
  { label: "Mountain", value: ECoreStreetType.MTN },
50272
50320
  { label: "Orchard", value: ECoreStreetType.ORCH },
50273
50321
  { label: "Parade", value: ECoreStreetType.PARADE },
50322
+ { label: "Parc", value: ECoreStreetType.PARC },
50274
50323
  { label: "Park", value: ECoreStreetType.PK },
50275
50324
  { label: "Parkway", value: ECoreStreetType.PKY },
50276
- { label: "Passage", value: ECoreStreetType.PASS },
50325
+ { label: "Pass", value: ECoreStreetType.PASS },
50277
50326
  { label: "Path", value: ECoreStreetType.PATH },
50278
50327
  { label: "Pathway", value: ECoreStreetType.PTWAY },
50328
+ { label: "Peak", value: ECoreStreetType.PEAK },
50279
50329
  { label: "Pines", value: ECoreStreetType.PINES },
50280
50330
  { label: "Place", value: ECoreStreetType.PL },
50331
+ { label: "Place (Alt)", value: ECoreStreetType.PLACE },
50281
50332
  { label: "Plateau", value: ECoreStreetType.PLAT },
50282
50333
  { label: "Plaza", value: ECoreStreetType.PLAZA },
50334
+ { label: "Pointe", value: ECoreStreetType.POINTE },
50283
50335
  { label: "Point", value: ECoreStreetType.PT },
50284
50336
  { label: "Port", value: ECoreStreetType.PORT },
50285
50337
  { label: "Private", value: ECoreStreetType.PVT },
50286
50338
  { label: "Promenade", value: ECoreStreetType.PROM },
50339
+ { label: "Quai", value: ECoreStreetType.QUAI },
50287
50340
  { label: "Quay", value: ECoreStreetType.QUAY },
50288
50341
  { label: "Ramp", value: ECoreStreetType.RAMP },
50342
+ { label: "Rang", value: ECoreStreetType.RANG },
50289
50343
  { label: "Range", value: ECoreStreetType.RG },
50344
+ { label: "Reach", value: ECoreStreetType.REACH },
50345
+ { label: "Rdpt", value: ECoreStreetType.RDPT },
50290
50346
  { label: "Ridge", value: ECoreStreetType.RIDGE },
50291
50347
  { label: "Rise", value: ECoreStreetType.RISE },
50348
+ { label: "Rive", value: ECoreStreetType.RIVE },
50349
+ { label: "Rle", value: ECoreStreetType.RLE },
50292
50350
  { label: "Road", value: ECoreStreetType.RD },
50293
50351
  { label: "Route", value: ECoreStreetType.RTE },
50294
50352
  { label: "Row", value: ECoreStreetType.ROW },
50353
+ { label: "Rtofwy", value: ECoreStreetType.RTOFWY },
50354
+ { label: "Ruis", value: ECoreStreetType.RUIS },
50355
+ { label: "Rue", value: ECoreStreetType.RUE },
50295
50356
  { label: "Run", value: ECoreStreetType.RUN },
50357
+ { label: "Sectn", value: ECoreStreetType.SECTN },
50358
+ { label: "Sent", value: ECoreStreetType.SENT },
50359
+ { label: "Siderd", value: ECoreStreetType.SIDERD },
50296
50360
  { label: "Square", value: ECoreStreetType.SQ },
50297
50361
  { label: "Street", value: ECoreStreetType.ST },
50362
+ { label: "Stroll", value: ECoreStreetType.STROLL },
50298
50363
  { label: "Subdivision", value: ECoreStreetType.SUBDIV },
50364
+ { label: "Summit", value: ECoreStreetType.SUMMIT },
50299
50365
  { label: "Terrace", value: ECoreStreetType.TERR },
50300
50366
  { label: "Thicket", value: ECoreStreetType.THICK },
50301
- { label: "Towers", value: ECoreStreetType.TOWERS },
50367
+ { label: "Tili", value: ECoreStreetType.TILI },
50302
50368
  { label: "Townline", value: ECoreStreetType.TLINE },
50369
+ { label: "Towers", value: ECoreStreetType.TOWERS },
50370
+ { label: "Trace", value: ECoreStreetType.TRACE },
50303
50371
  { label: "Trail", value: ECoreStreetType.TRAIL },
50304
- { label: "Turnabout", value: ECoreStreetType.TRNABT },
50372
+ { label: "Trnabt", value: ECoreStreetType.TRNABT },
50373
+ { label: "Trunk", value: ECoreStreetType.TRUNK },
50374
+ { label: "Tsse", value: ECoreStreetType.TSSE },
50375
+ { label: "Union", value: ECoreStreetType.UNION },
50305
50376
  { label: "Vale", value: ECoreStreetType.VALE },
50306
50377
  { label: "Via", value: ECoreStreetType.VIA },
50307
50378
  { label: "View", value: ECoreStreetType.VIEW },
50308
50379
  { label: "Village", value: ECoreStreetType.VILLGE },
50309
50380
  { label: "Villas", value: ECoreStreetType.VILLAS },
50310
50381
  { label: "Vista", value: ECoreStreetType.VISTA },
50382
+ { label: "Voie", value: ECoreStreetType.VOIE },
50311
50383
  { label: "Walk", value: ECoreStreetType.WALK },
50312
50384
  { label: "Way", value: ECoreStreetType.WAY },
50313
50385
  { label: "Wharf", value: ECoreStreetType.WHARF },
@@ -50439,14 +50511,22 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
50439
50511
  { label: "Southwest", value: "SW" }
50440
50512
  ];
50441
50513
  STREET_DIRECTION_OPTIONS = [
50442
- { label: "North", value: ECoreCanadianStreetDirectionType.N },
50443
- { label: "South", value: ECoreCanadianStreetDirectionType.S },
50444
- { label: "East", value: ECoreCanadianStreetDirectionType.E },
50445
- { label: "West", value: ECoreCanadianStreetDirectionType.W },
50446
- { label: "Northeast", value: ECoreCanadianStreetDirectionType.NE },
50447
- { label: "Northwest", value: ECoreCanadianStreetDirectionType.NW },
50448
- { label: "Southeast", value: ECoreCanadianStreetDirectionType.SE },
50449
- { label: "Southwest", value: ECoreCanadianStreetDirectionType.SW }
50514
+ { label: "N", value: ECoreCanadianStreetDirectionType.N },
50515
+ { label: "NF", value: ECoreCanadianStreetDirectionType.NF },
50516
+ { label: "NE", value: ECoreCanadianStreetDirectionType.NE },
50517
+ { label: "NEF", value: ECoreCanadianStreetDirectionType.NEF },
50518
+ { label: "NW", value: ECoreCanadianStreetDirectionType.NW },
50519
+ { label: "NWF", value: ECoreCanadianStreetDirectionType.NWF },
50520
+ { label: "S", value: ECoreCanadianStreetDirectionType.S },
50521
+ { label: "SF", value: ECoreCanadianStreetDirectionType.SF },
50522
+ { label: "SE", value: ECoreCanadianStreetDirectionType.SE },
50523
+ { label: "SEF", value: ECoreCanadianStreetDirectionType.SEF },
50524
+ { label: "SW", value: ECoreCanadianStreetDirectionType.SW },
50525
+ { label: "SWF", value: ECoreCanadianStreetDirectionType.SWF },
50526
+ { label: "E", value: ECoreCanadianStreetDirectionType.E },
50527
+ { label: "EF", value: ECoreCanadianStreetDirectionType.EF },
50528
+ { label: "W", value: ECoreCanadianStreetDirectionType.W },
50529
+ { label: "WF", value: ECoreCanadianStreetDirectionType.WF }
50450
50530
  ];
50451
50531
  LEGAL_ENDING_OPTIONS = [
50452
50532
  { label: "Corp.", value: ECoreLegalEndingType.Corp },
@@ -50700,6 +50780,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
50700
50780
  FormationFormControls2["RequestedDateForIncorporation"] = "requestedDateForIncorporation";
50701
50781
  FormationFormControls2["LawyerSigningOpinion"] = "lawyerSigningOpinion";
50702
50782
  FormationFormControls2["OtherProvisions"] = "otherProvisions";
50783
+ FormationFormControls2["Contact"] = "contact";
50703
50784
  })(FormationFormControls || (FormationFormControls = {}));
50704
50785
  (function(InitialReturnFormControls2) {
50705
50786
  InitialReturnFormControls2["CorporationNumber"] = "CorporationNumber";
@@ -50836,6 +50917,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
50836
50917
  FormationFormGroups2["Incorporators"] = "Incorporators";
50837
50918
  FormationFormGroups2["Directors"] = "Directors";
50838
50919
  FormationFormGroups2["RegisteredOfficeAddress"] = "Registered Office Address";
50920
+ FormationFormGroups2["Contact"] = "Contact";
50839
50921
  })(FormationFormGroups || (FormationFormGroups = {}));
50840
50922
  (function(InitialReturnFormGroups2) {
50841
50923
  InitialReturnFormGroups2["CorporationDetails"] = "Corporation Details";
@@ -51072,7 +51154,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51072
51154
  const careOf = addressForm.get(FormationFormControls.CareOf)?.value;
51073
51155
  const streetType = addressForm.get(FormationFormControls.StreetType)?.value;
51074
51156
  const streetDirection = addressForm.get(FormationFormControls.StreetDirection)?.value;
51075
- const streetTypeValue = STREET_TYPE_OPTIONS_EN.find((item) => item.value === streetType)?.label ?? "";
51157
+ const streetTypeValue = STREET_TYPE_OPTIONS.find((item) => item.value === streetType)?.label ?? "";
51076
51158
  const streetDirectionValue = STREET_DIRECTION_OPTIONS.find((item) => item.value === streetDirection)?.label ?? "";
51077
51159
  const unitSummary = [unitTypeValue, unitNumber].filter(Boolean).join(" ");
51078
51160
  const streetSummary = [addressForm.get(FormationFormControls.StreetNumber)?.value, addressForm.get(FormationFormControls.StreetName)?.value, streetTypeValue, streetDirectionValue].filter(Boolean).join(" ");
@@ -51080,7 +51162,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51080
51162
  const city = addressForm.get(FormationFormControls.City)?.value;
51081
51163
  const postalCode = addressForm.get(FormationFormControls.PostalCode)?.value;
51082
51164
  const country = addressForm.get(FormationFormControls.Country)?.value;
51083
- const countrySummary = [province, city, postalCode, country].filter(Boolean).join(" ");
51165
+ const countrySummary = [city, province, postalCode, country].filter(Boolean).join(", ");
51084
51166
  return `<span class="body-1-semibold">Full Address:</span> ${[careOf, unitSummary, streetSummary, countrySummary].filter(Boolean).join(", ")}`;
51085
51167
  }
51086
51168
  var init_common_utils = __esm({
@@ -51303,7 +51385,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51303
51385
  });
51304
51386
 
51305
51387
  // src/app/constants/ontario-formation-form.constants.ts
51306
- var ONTARIO_LEGAL_IDENTIFIER_OPTIONS, ONTARIO_NAME_TYPE_OPTIONS, FORMATION_DELTA_FORM_AFFILIATION_FIELDS, FORMATION_DELTA_FORM_GENERAL_FIELDS, FORMATION_DELTA_FORM_PERSON_FIELDS, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT, FORMATION_DELTA_CARD_FORM_ADDRESS_FIELDS_MAP, EMAIL_TEXT_FIELD, RESIDENT_CHECKBOX_FIELD, FORMATION_DELTA_CARD_FORM_INCORPORATORS_FIELDS_MAP, FORMATION_DELTA_CARD_FORM_DIRECTORS_FIELDS_MAP, FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT, FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_SHARES_AND_PROVISIONS, FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT, FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT, FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT, FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, generateFormationDeltaCardFormCorporationDetails, FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_LAWYER, FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_CONFIRM_ADDRESS, formationEnabledFieldsMap;
51388
+ var ONTARIO_LEGAL_IDENTIFIER_OPTIONS, ONTARIO_NAME_TYPE_OPTIONS, FORMATION_DELTA_FORM_AFFILIATION_FIELDS, FORMATION_DELTA_FORM_GENERAL_FIELDS, FORMATION_DELTA_FORM_PERSON_FIELDS, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT, FORMATION_DELTA_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT, FORMATION_DELTA_CARD_FORM_ADDRESS_FIELDS_MAP, EMAIL_TEXT_FIELD, RESIDENT_CHECKBOX_FIELD, FORMATION_DELTA_CARD_FORM_INCORPORATORS_FIELDS_MAP, FORMATION_DELTA_CARD_FORM_DIRECTORS_FIELDS_MAP, FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_NO_SUIT, FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_SHARES_AND_PROVISIONS, FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_CANADIAN_SUIT, FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_NO_SUIT, FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_INTERNATIONAL_SUIT, FORMATION_DELTA_CARD_FORM_REFERENCE_NUMBERS_FIELDS, generateFormationDeltaCardFormCorporationDetails, generateOntarioFormationFormContactControl, FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_LAWYER, FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_CONFIRM_ADDRESS, formationEnabledFieldsMap;
51307
51389
  var init_ontario_formation_form_constants = __esm({
51308
51390
  "src/app/constants/ontario-formation-form.constants.ts"() {
51309
51391
  init_form_enums();
@@ -51328,7 +51410,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51328
51410
  label: "Street Type",
51329
51411
  placeholder: "",
51330
51412
  formControlName: FormationFormControls.StreetType,
51331
- options: STREET_TYPE_OPTIONS_EN,
51413
+ options: STREET_TYPE_OPTIONS,
51332
51414
  required: true
51333
51415
  },
51334
51416
  {
@@ -51443,7 +51525,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51443
51525
  label: "Street Type",
51444
51526
  placeholder: "",
51445
51527
  formControlName: FormationFormControls.StreetType,
51446
- options: STREET_TYPE_OPTIONS_EN,
51528
+ options: STREET_TYPE_OPTIONS,
51447
51529
  required: true
51448
51530
  },
51449
51531
  {
@@ -51569,7 +51651,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51569
51651
  placeholder: "",
51570
51652
  class: "span-4",
51571
51653
  formControlName: FormationFormControls.StreetType,
51572
- options: STREET_TYPE_OPTIONS_EN
51654
+ options: STREET_TYPE_OPTIONS
51573
51655
  },
51574
51656
  {
51575
51657
  type: FormType.Select,
@@ -51617,7 +51699,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51617
51699
  label: "Street Number",
51618
51700
  placeholder: "",
51619
51701
  required: true,
51620
- class: "column-1 span-2",
51702
+ class: "column-3 span-2",
51621
51703
  formControlName: FormationFormControls.StreetNumber
51622
51704
  },
51623
51705
  {
@@ -51633,7 +51715,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51633
51715
  placeholder: "",
51634
51716
  formControlName: FormationFormControls.StreetType,
51635
51717
  class: "span-4",
51636
- options: STREET_TYPE_OPTIONS_EN
51718
+ options: STREET_TYPE_OPTIONS
51637
51719
  },
51638
51720
  {
51639
51721
  type: FormType.Select,
@@ -51712,7 +51794,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51712
51794
  label: "Street Number",
51713
51795
  placeholder: "",
51714
51796
  formControlName: FormationFormControls.StreetNumber,
51715
- class: "span-2 column-1"
51797
+ class: "span-2 column-3"
51716
51798
  },
51717
51799
  {
51718
51800
  type: FormType.Input,
@@ -51782,7 +51864,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51782
51864
  label: "Street Type",
51783
51865
  placeholder: "",
51784
51866
  formControlName: FormationFormControls.StreetType,
51785
- options: STREET_TYPE_OPTIONS_EN,
51867
+ options: STREET_TYPE_OPTIONS,
51786
51868
  required: true
51787
51869
  },
51788
51870
  {
@@ -51888,7 +51970,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
51888
51970
  label: "Street Type",
51889
51971
  placeholder: "",
51890
51972
  formControlName: FormationFormControls.StreetType,
51891
- options: STREET_TYPE_OPTIONS_EN,
51973
+ options: STREET_TYPE_OPTIONS,
51892
51974
  required: true
51893
51975
  },
51894
51976
  {
@@ -52073,6 +52155,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
52073
52155
  label: "Legal Identifier",
52074
52156
  formControlName: FormationFormControls.LegalEnding,
52075
52157
  required: true,
52158
+ isVisible: (form) => {
52159
+ const corporationNameType = form.get(FormationFormControls.CorporationNameType)?.value;
52160
+ return corporationNameType === NameType.Numbered;
52161
+ },
52076
52162
  options: LEGAL_ENDING_OPTIONS
52077
52163
  },
52078
52164
  {
@@ -52082,7 +52168,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
52082
52168
  formControlName: FormationFormControls.ProposedCorporationNameEng,
52083
52169
  required: true,
52084
52170
  isVisible: (form) => form.get(FormationFormControls.CorporationNameType)?.value === NameType.NamedBilingual,
52085
- options: proposedOptions
52171
+ options: proposedOptions,
52172
+ class: "column-3"
52086
52173
  },
52087
52174
  {
52088
52175
  type: FormType.Select,
@@ -52090,6 +52177,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
52090
52177
  label: "Corporation Name",
52091
52178
  formControlName: FormationFormControls.ProposedCorporationNameEng,
52092
52179
  required: true,
52180
+ class: "column-3",
52093
52181
  isVisible: (form) => form.get(FormationFormControls.CorporationNameType)?.value === NameType.NamedCombined || form.get(FormationFormControls.CorporationNameType)?.value === NameType.NamedEnglish,
52094
52182
  options: proposedOptions
52095
52183
  },
@@ -52117,6 +52205,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
52117
52205
  label: "Proposed Corporation Name (French)",
52118
52206
  formControlName: FormationFormControls.ProposedCorporationNameFr,
52119
52207
  required: true,
52208
+ class: "column-3",
52120
52209
  isVisible: (form) => form.get(FormationFormControls.CorporationNameType)?.value === NameType.NamedFrench || form.get(FormationFormControls.CorporationNameType)?.value === NameType.NamedBilingual,
52121
52210
  options: proposedOptions
52122
52211
  },
@@ -52172,6 +52261,31 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
52172
52261
  }
52173
52262
  ];
52174
52263
  };
52264
+ generateOntarioFormationFormContactControl = (contacts) => {
52265
+ const contactsOptions = contacts.map((contact) => ({ label: [contact.target?._profile?.name, contact.target?._profile?.secondary_name].join(" "), value: contact._id }));
52266
+ return [
52267
+ {
52268
+ type: FormType.Select,
52269
+ label: "Contact",
52270
+ formControlName: FormationFormControls.Contact,
52271
+ required: true,
52272
+ options: contactsOptions,
52273
+ class: "span-12"
52274
+ },
52275
+ {
52276
+ type: FormType.Text,
52277
+ dynamicLabel: (form) => {
52278
+ const id = form.get(FormationFormControls.Contact)?.value;
52279
+ const contact = contacts.find((contact2) => contact2._id === id);
52280
+ return `Contact Details: ${contact?.addresses[0]?.emails?.primary} | ${contact?.addresses[0]?.contact_numbers?.primary}`;
52281
+ },
52282
+ formControlName: "",
52283
+ required: false,
52284
+ isVisible: (form) => form.get(FormationFormControls.Contact)?.value,
52285
+ class: "span-12"
52286
+ }
52287
+ ];
52288
+ };
52175
52289
  FORMATION_DELTA_CARD_FORM_CORPORATION_LEGAL_OPINION_LAWYER = [
52176
52290
  {
52177
52291
  type: FormType.Select,
@@ -52206,7 +52320,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
52206
52320
  label: "Street Type",
52207
52321
  formControlName: FormationFormControls.StreetType,
52208
52322
  class: "span-3",
52209
- options: STREET_TYPE_OPTIONS_EN
52323
+ options: STREET_TYPE_OPTIONS
52210
52324
  },
52211
52325
  {
52212
52326
  type: FormType.Select,
@@ -52403,7 +52517,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
52403
52517
  static generateConfig(task) {
52404
52518
  const directors = (task.entity.affiliations ?? []).filter((a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director");
52405
52519
  const incorporators = task._ext._incorporators ?? [];
52406
- incorporators.filter((incorporator) => incorporator.type?.toLowerCase() !== "entity");
52407
52520
  const directorsGroups = [];
52408
52521
  const incorporatorsGroups = [];
52409
52522
  let registeredOfficeAddress = null;
@@ -52412,14 +52525,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
52412
52525
  const officialBusinessEmail = address?.communications?.find((c) => c.type === "Business Email")?.value;
52413
52526
  const entityDetailsDelta = delta?.entityDetails;
52414
52527
  if (directors.length) {
52415
- directors.forEach((director, index) => {
52416
- const form = this.generateAffiliationFormGroup(director, delta?.directors?.[index]);
52528
+ directors.forEach((director) => {
52529
+ const participantId = director.participant._id;
52530
+ const form = this.generateAffiliationFormGroup(director, delta?.directors?.[participantId]);
52417
52531
  directorsGroups.push(form);
52418
52532
  });
52419
52533
  }
52420
52534
  if (incorporators) {
52421
- incorporators.forEach((incorporator, index) => {
52422
- const form = this.generateIncorporatorFormGroup(incorporator, delta?.incorporators?.[index]);
52535
+ incorporators.forEach((incorporator) => {
52536
+ const id = incorporator.profileID?.toString();
52537
+ const form = this.generateIncorporatorFormGroup(incorporator, id ? delta?.incorporators?.[id] : void 0);
52423
52538
  incorporatorsGroups.push(form);
52424
52539
  });
52425
52540
  }
@@ -52467,6 +52582,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
52467
52582
  if (incorporatorsGroups.length) {
52468
52583
  config2[FormationFormGroups.Incorporators] = new FormArray(incorporatorsGroups);
52469
52584
  }
52585
+ config2[FormationFormGroups.Contact] = new FormGroup({
52586
+ [FormationFormControls.Contact]: new FormControl(delta?.contact?.contact ?? "", Validators.required)
52587
+ });
52470
52588
  return config2;
52471
52589
  }
52472
52590
  static generateReferenceNumbersFormGroup(deltaData) {
@@ -78664,7 +78782,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78664
78782
  AutocompleteFieldComponent,
78665
78783
  MatIconButton,
78666
78784
  MatMomentDateModule
78667
- ], styles: ['\n\n[_nghost-%COMP%] {\n height: 100%;\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #e8e8e8;\n --mat-sys-body-large-size: 14px;\n --mat-sys-body-large-line-height: 14px;\n}\n[_nghost-%COMP%] .filling-form-title[_ngcontent-%COMP%] {\n color: #4a4a4a;\n margin: 0;\n padding-bottom: 8px;\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%] .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: #444444;\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 --mat-sys-on-surface-variant: #4a4a4a;\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[_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: #444444;\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-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: 2px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\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.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/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
78785
+ ], styles: ['\n\n[_nghost-%COMP%] {\n height: 100%;\n overflow: hidden;\n}\n[_nghost-%COMP%] .filling-form[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #e8e8e8;\n --mat-sys-body-large-size: 14px;\n --mat-sys-body-large-line-height: 14px;\n}\n[_nghost-%COMP%] .filling-form-title[_ngcontent-%COMP%] {\n color: #4a4a4a;\n margin: 0;\n padding-bottom: 8px;\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%] .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: #444444;\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 --mat-sys-on-surface-variant: #4a4a4a;\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[_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: #444444;\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-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%] .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.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/*# sourceMappingURL=filing-form-group.component.css.map */'], changeDetection: 0 });
78668
78786
  };
78669
78787
  (() => {
78670
78788
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(FilingFormGroupComponent, [{
@@ -78918,7 +79036,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
78918
79036
  </div>\r
78919
79037
  </div>\r
78920
79038
  </section>\r
78921
- `, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n height: 100%;\n overflow: hidden;\n}\n:host .filling-form {\n --mdc-outlined-text-field-outline-color: #e8e8e8;\n --mat-sys-body-large-size: 14px;\n --mat-sys-body-large-line-height: 14px;\n}\n:host .filling-form-title {\n color: #4a4a4a;\n margin: 0;\n padding-bottom: 8px;\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 .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: #444444;\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 --mat-sys-on-surface-variant: #4a4a4a;\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 {\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: #444444;\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-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: 2px !important;\n border-color: #d6d6d6 !important;\n border-top-right-radius: 8px;\n border-bottom-right-radius: 8px;\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.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/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
79039
+ `, styles: ['/* src/app/components/form/filing-form-group/filing-form-group.component.scss */\n:host {\n height: 100%;\n overflow: hidden;\n}\n:host .filling-form {\n --mdc-outlined-text-field-outline-color: #e8e8e8;\n --mat-sys-body-large-size: 14px;\n --mat-sys-body-large-line-height: 14px;\n}\n:host .filling-form-title {\n color: #4a4a4a;\n margin: 0;\n padding-bottom: 8px;\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 .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: #444444;\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 --mat-sys-on-surface-variant: #4a4a4a;\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 {\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: #444444;\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-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 .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.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/*# sourceMappingURL=filing-form-group.component.css.map */\n'] }]
78922
79040
  }], null, null);
78923
79041
  })();
78924
79042
  (() => {
@@ -79333,7 +79451,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
79333
79451
  function OntarioIncorporationFormComponent_Conditional_5_Template(rf, ctx) {
79334
79452
  if (rf & 1) {
79335
79453
  \u0275\u0275elementStart(0, "expandable-card", 4)(1, "div", 10);
79336
- \u0275\u0275element(2, "filing-form-group", 13);
79454
+ \u0275\u0275element(2, "filing-form-group", 11);
79337
79455
  \u0275\u0275elementEnd()();
79338
79456
  }
79339
79457
  if (rf & 2) {
@@ -79347,7 +79465,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
79347
79465
  function OntarioIncorporationFormComponent_Conditional_7_Template(rf, ctx) {
79348
79466
  if (rf & 1) {
79349
79467
  \u0275\u0275elementStart(0, "expandable-card", 5)(1, "div", 10);
79350
- \u0275\u0275element(2, "filing-form-group", 13);
79468
+ \u0275\u0275element(2, "filing-form-group", 11);
79351
79469
  \u0275\u0275elementEnd()();
79352
79470
  }
79353
79471
  if (rf & 2) {
@@ -79361,7 +79479,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
79361
79479
  function OntarioIncorporationFormComponent_Conditional_8_Conditional_1_Template(rf, ctx) {
79362
79480
  if (rf & 1) {
79363
79481
  \u0275\u0275elementStart(0, "expandable-card", 5);
79364
- \u0275\u0275element(1, "filing-form-group", 13)(2, "filing-form-group", 13);
79482
+ \u0275\u0275element(1, "filing-form-group", 11)(2, "filing-form-group", 11);
79365
79483
  \u0275\u0275elementEnd();
79366
79484
  }
79367
79485
  if (rf & 2) {
@@ -79390,16 +79508,16 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
79390
79508
  function OntarioIncorporationFormComponent_Conditional_10_Template(rf, ctx) {
79391
79509
  if (rf & 1) {
79392
79510
  \u0275\u0275elementStart(0, "expandable-card", 5);
79393
- \u0275\u0275element(1, "filing-form-group", 13);
79511
+ \u0275\u0275element(1, "filing-form-group", 11);
79394
79512
  \u0275\u0275elementEnd();
79395
79513
  }
79396
79514
  if (rf & 2) {
79397
- let tmp_14_0;
79515
+ let tmp_15_0;
79398
79516
  const ctx_r0 = \u0275\u0275nextContext();
79399
79517
  const registeredOfficeForm_r6 = \u0275\u0275readContextLet(9);
79400
79518
  \u0275\u0275property("isValid", !registeredOfficeForm_r6.invalid)("isStatusIcon", ctx_r0.statusIcon())("title", ctx_r0.groups.RegisteredOfficeAddress);
79401
79519
  \u0275\u0275advance();
79402
- \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOfficeForm_r6)("config", ctx_r0.affiliationCardFieldsMap[(tmp_14_0 = registeredOfficeForm_r6.get(ctx_r0.formationFormControls.AffiliationAddressType)) == null ? null : tmp_14_0.value]);
79520
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", registeredOfficeForm_r6)("config", ctx_r0.affiliationCardFieldsMap[(tmp_15_0 = registeredOfficeForm_r6.get(ctx_r0.formationFormControls.AffiliationAddressType)) == null ? null : tmp_15_0.value]);
79403
79521
  }
79404
79522
  }
79405
79523
  function OntarioIncorporationFormComponent_Conditional_14_Template(rf, ctx) {
@@ -79416,7 +79534,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
79416
79534
  function OntarioIncorporationFormComponent_Conditional_16_Template(rf, ctx) {
79417
79535
  if (rf & 1) {
79418
79536
  \u0275\u0275elementStart(0, "expandable-card", 7);
79419
- \u0275\u0275element(1, "filing-form-group", 13);
79537
+ \u0275\u0275element(1, "filing-form-group", 11);
79420
79538
  \u0275\u0275elementEnd();
79421
79539
  }
79422
79540
  if (rf & 2) {
@@ -79438,6 +79556,20 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
79438
79556
  \u0275\u0275property("isOpen", isOpenIncorporators_r11)("isStatusIcon", ctx_r0.statusIcon())("config", ctx_r0.incorporatorsCardFieldsMap)("configKey", ctx_r0.controls.AffiliationAddressType)("formArray", incorporatorsArray_r10)("title", ctx_r0.groups.Incorporators);
79439
79557
  }
79440
79558
  }
79559
+ function OntarioIncorporationFormComponent_Conditional_20_Template(rf, ctx) {
79560
+ if (rf & 1) {
79561
+ \u0275\u0275elementStart(0, "expandable-card", 9);
79562
+ \u0275\u0275element(1, "filing-form-group", 11);
79563
+ \u0275\u0275elementEnd();
79564
+ }
79565
+ if (rf & 2) {
79566
+ const ctx_r0 = \u0275\u0275nextContext();
79567
+ const contact_r12 = \u0275\u0275readContextLet(19);
79568
+ \u0275\u0275property("isStatusIcon", true)("isValid", !contact_r12.invalid)("title", ctx_r0.groups.Contact);
79569
+ \u0275\u0275advance();
79570
+ \u0275\u0275property("isSubmitted", ctx_r0.isSubmitted())("form", contact_r12)("config", ctx_r0.contactsFields);
79571
+ }
79572
+ }
79441
79573
  var OntarioIncorporationFormComponent;
79442
79574
  var init_ontario_incorporation_form_component = __esm({
79443
79575
  "src/app/components/ontario/incorporation/ontario-incorporation-form/ontario-incorporation-form.component.ts"() {
@@ -79468,6 +79600,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
79468
79600
  incorporatorsCardFieldsMap = FORMATION_DELTA_CARD_FORM_INCORPORATORS_FIELDS_MAP;
79469
79601
  directorsCardFieldsMap = FORMATION_DELTA_CARD_FORM_DIRECTORS_FIELDS_MAP;
79470
79602
  sharesAndProvincesFields = FORMATION_PREVIEW_CARD_FORM_AFFILIATION_FIELDS_SHARES_AND_PROVISIONS;
79603
+ contactsFields = [];
79471
79604
  corporationDetailsCardFields = [];
79472
79605
  initiallyOpenCardsCount = 3;
79473
79606
  directorsSubtitle = computed(() => {
@@ -79482,6 +79615,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
79482
79615
  const profile = this.task()?.entity._profile;
79483
79616
  this.corporationDetailsCardFields = generateFormationDeltaCardFormCorporationDetails(profile?.name ?? "", profile?.secondary_name ?? "");
79484
79617
  });
79618
+ effect(() => {
79619
+ const task = this.task();
79620
+ if (task) {
79621
+ const contacts = task.entity.affiliations.filter((a) => a.role.role_name === "Contact");
79622
+ this.contactsFields = generateOntarioFormationFormContactControl(contacts);
79623
+ }
79624
+ });
79485
79625
  }
79486
79626
  get isLegalOpinion() {
79487
79627
  return !!this.form().get(this.groups.CorporationDetails)?.get(this.controls.LegalOpinionWasRequired)?.value;
@@ -79495,7 +79635,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
79495
79635
  static \u0275fac = function OntarioIncorporationFormComponent_Factory(__ngFactoryType__) {
79496
79636
  return new (__ngFactoryType__ || _OntarioIncorporationFormComponent)();
79497
79637
  };
79498
- static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _OntarioIncorporationFormComponent, selectors: [["ontario-incorporation-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], statusIcon: [1, "statusIcon"], isSubmitted: [1, "isSubmitted"] }, decls: 27, vars: 20, 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, "subtitle", "isOpen", "isStatusIcon", "config", "configKey", "formArray", "title"], [3, "isStatusIcon", "title"], [3, "isOpen", "isStatusIcon", "config", "configKey", "formArray", "title"], ["title", "Contact"], [1, "incorporation-form-item"], [1, "incorporation-form-item-title"], [1, "body-1-semibold"], [3, "isSubmitted", "form", "config"]], template: function OntarioIncorporationFormComponent_Template(rf, ctx) {
79638
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _OntarioIncorporationFormComponent, selectors: [["ontario-incorporation-form"]], inputs: { form: [1, "form"], task: [1, "task"], errors: [1, "errors"], isNote: [1, "isNote"], statusIcon: [1, "statusIcon"], isSubmitted: [1, "isSubmitted"] }, decls: 21, 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, "subtitle", "isOpen", "isStatusIcon", "config", "configKey", "formArray", "title"], [3, "isStatusIcon", "title"], [3, "isOpen", "isStatusIcon", "config", "configKey", "formArray", "title"], [3, "isStatusIcon", "isValid", "title"], [1, "incorporation-form-item"], [3, "isSubmitted", "form", "config"]], template: function OntarioIncorporationFormComponent_Template(rf, ctx) {
79499
79639
  if (rf & 1) {
79500
79640
  \u0275\u0275elementStart(0, "div", 0);
79501
79641
  \u0275\u0275template(1, OntarioIncorporationFormComponent_Conditional_1_Template, 1, 1, "alert", 1)(2, OntarioIncorporationFormComponent_Conditional_2_Template, 1, 1, "alert", 2);
@@ -79512,58 +79652,51 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
79512
79652
  \u0275\u0275template(16, OntarioIncorporationFormComponent_Conditional_16_Template, 2, 5, "expandable-card", 7);
79513
79653
  \u0275\u0275declareLet(17);
79514
79654
  \u0275\u0275template(18, OntarioIncorporationFormComponent_Conditional_18_Template, 1, 6, "expandable-list-card", 8);
79515
- \u0275\u0275elementStart(19, "expandable-card", 9)(20, "div", 10)(21, "p", 11);
79516
- \u0275\u0275text(22);
79517
- \u0275\u0275elementEnd();
79518
- \u0275\u0275elementStart(23, "p")(24, "span", 12);
79519
- \u0275\u0275text(25, " Contact Details:");
79520
- \u0275\u0275elementEnd();
79521
- \u0275\u0275text(26);
79522
- \u0275\u0275elementEnd()()()()();
79655
+ \u0275\u0275declareLet(19);
79656
+ \u0275\u0275template(20, OntarioIncorporationFormComponent_Conditional_20_Template, 2, 6, "expandable-card", 9);
79657
+ \u0275\u0275elementEnd()();
79523
79658
  }
79524
79659
  if (rf & 2) {
79525
79660
  let tmp_11_0;
79526
79661
  let tmp_15_0;
79527
- let tmp_17_0;
79528
- let tmp_18_0;
79529
79662
  \u0275\u0275advance();
79530
79663
  \u0275\u0275conditional(ctx.isNote() ? 1 : -1);
79531
79664
  \u0275\u0275advance();
79532
79665
  \u0275\u0275conditional(ctx.errors().length ? 2 : -1);
79533
79666
  \u0275\u0275advance(2);
79534
- const referenceNumbers_r12 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
79667
+ const referenceNumbers_r13 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.ReferenceNumbers));
79535
79668
  \u0275\u0275advance();
79536
- \u0275\u0275conditional(referenceNumbers_r12 ? 5 : -1);
79669
+ \u0275\u0275conditional(referenceNumbers_r13 ? 5 : -1);
79537
79670
  \u0275\u0275advance();
79538
- const corporationDetails_r13 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
79671
+ const corporationDetails_r14 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.CorporationDetails));
79539
79672
  \u0275\u0275advance();
79540
- \u0275\u0275conditional(corporationDetails_r13 ? 7 : -1);
79673
+ \u0275\u0275conditional(corporationDetails_r14 ? 7 : -1);
79541
79674
  \u0275\u0275advance();
79542
79675
  \u0275\u0275conditional(ctx.isLegalOpinion ? 8 : -1);
79543
79676
  \u0275\u0275advance();
79544
- const registeredOfficeForm_r14 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
79677
+ const registeredOfficeForm_r15 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.RegisteredOfficeAddress));
79545
79678
  \u0275\u0275advance();
79546
- \u0275\u0275conditional(registeredOfficeForm_r14 ? 10 : -1);
79679
+ \u0275\u0275conditional(registeredOfficeForm_r15 ? 10 : -1);
79547
79680
  \u0275\u0275advance();
79548
- const incorporatorsArray_r15 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Incorporators));
79681
+ const incorporatorsArray_r16 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Incorporators));
79549
79682
  \u0275\u0275advance();
79550
- const directorsArray_r16 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
79683
+ const directorsArray_r17 = \u0275\u0275storeLet(ctx.getFormArray(ctx.groups.Directors));
79551
79684
  \u0275\u0275advance();
79552
- \u0275\u0275storeLet(((tmp_11_0 = directorsArray_r16 == null ? null : directorsArray_r16.length) !== null && tmp_11_0 !== void 0 ? tmp_11_0 : 0) <= ctx.initiallyOpenCardsCount);
79685
+ \u0275\u0275storeLet(((tmp_11_0 = directorsArray_r17 == null ? null : directorsArray_r17.length) !== null && tmp_11_0 !== void 0 ? tmp_11_0 : 0) <= ctx.initiallyOpenCardsCount);
79553
79686
  \u0275\u0275advance();
79554
- \u0275\u0275conditional(directorsArray_r16 ? 14 : -1);
79687
+ \u0275\u0275conditional(directorsArray_r17 ? 14 : -1);
79555
79688
  \u0275\u0275advance();
79556
- const sharesAndRestrictions_r17 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.SharesAndRestrictions));
79689
+ const sharesAndRestrictions_r18 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.SharesAndRestrictions));
79557
79690
  \u0275\u0275advance();
79558
- \u0275\u0275conditional(sharesAndRestrictions_r17 ? 16 : -1);
79691
+ \u0275\u0275conditional(sharesAndRestrictions_r18 ? 16 : -1);
79559
79692
  \u0275\u0275advance();
79560
- \u0275\u0275storeLet(((tmp_15_0 = incorporatorsArray_r15 == null ? null : incorporatorsArray_r15.length) !== null && tmp_15_0 !== void 0 ? tmp_15_0 : 0) <= ctx.initiallyOpenCardsCount);
79693
+ \u0275\u0275storeLet(((tmp_15_0 = incorporatorsArray_r16 == null ? null : incorporatorsArray_r16.length) !== null && tmp_15_0 !== void 0 ? tmp_15_0 : 0) <= ctx.initiallyOpenCardsCount);
79561
79694
  \u0275\u0275advance();
79562
- \u0275\u0275conditional(incorporatorsArray_r15 ? 18 : -1);
79563
- \u0275\u0275advance(4);
79564
- \u0275\u0275textInterpolate((tmp_17_0 = ctx.task()) == null ? null : tmp_17_0.entity == null ? null : tmp_17_0.entity._profile == null ? null : tmp_17_0.entity._profile.name);
79565
- \u0275\u0275advance(4);
79566
- \u0275\u0275textInterpolate2(" ", (tmp_18_0 = ctx.task()) == null ? null : tmp_18_0.entity == null ? null : tmp_18_0.entity._profile == null ? null : tmp_18_0.entity._profile.emails == null ? null : tmp_18_0.entity._profile.emails.primary, " | ", (tmp_18_0 = ctx.task()) == null ? null : tmp_18_0.entity == null ? null : tmp_18_0.entity._profile == null ? null : tmp_18_0.entity._profile.contact_numbers == null ? null : tmp_18_0.entity._profile.contact_numbers.primary, "");
79695
+ \u0275\u0275conditional(incorporatorsArray_r16 ? 18 : -1);
79696
+ \u0275\u0275advance();
79697
+ const contact_r19 = \u0275\u0275storeLet(ctx.getFormGroup(ctx.groups.Contact));
79698
+ \u0275\u0275advance();
79699
+ \u0275\u0275conditional(contact_r19 ? 20 : -1);
79567
79700
  }
79568
79701
  }, dependencies: [
79569
79702
  ExpandableCardComponent,
@@ -79580,7 +79713,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
79580
79713
  FilingFormGroupComponent,
79581
79714
  ExpandableListCardComponent,
79582
79715
  AlertComponent
79583
- ], template: '<div class="incorporation-form">\n @if (isNote()) {\n <alert [type]="alertType.Info" title="Entity changed" content="A new draft needs to be generated as the Entity was changed since the last draft was produced."/>\n }\n\n @if (errors().length) {\n <alert title="The following issues need to be resolved before proceeding:" [content]="errors()"/>\n }\n\n <div class="incorporation-form-content">\n @let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\n\n @if (referenceNumbers) {\n <expandable-card [title]="groups.ReferenceNumbers">\n <div class="incorporation-form-item">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="referenceNumbers" [config]="referenceNumbersFields"/>\n </div>\n </expandable-card>\n }\n\n @let corporationDetails = getFormGroup(groups.CorporationDetails);\n\n @if (corporationDetails) {\n <expandable-card [isValid]="!corporationDetails.invalid" [isStatusIcon]="statusIcon()" [title]="groups.CorporationDetails">\n <div class="incorporation-form-item">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="corporationDetails" [config]="corporationDetailsCardFields"/>\n </div>\n </expandable-card>\n }\n\n @if (isLegalOpinion) {\n @let legalOpinion = getFormGroup(groups.LegalOpinion);\n\n @if (legalOpinion) {\n <expandable-card [isValid]="!legalOpinion.invalid" [isStatusIcon]="statusIcon()" [title]="groups.LegalOpinion">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="legalOpinion" [config]="legalOpinionLawyerFields"/>\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="legalOpinion" [config]="legalOpinionConfirmAddressFields"/>\n </expandable-card>\n }\n }\n\n @let registeredOfficeForm = getFormGroup(groups.RegisteredOfficeAddress);\n\n @if (registeredOfficeForm) {\n <expandable-card [isValid]="!registeredOfficeForm.invalid" [isStatusIcon]="statusIcon()" [title]="groups.RegisteredOfficeAddress">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="registeredOfficeForm" [config]="affiliationCardFieldsMap[registeredOfficeForm.get(formationFormControls.AffiliationAddressType)?.value]"/>\n </expandable-card>\n }\n\n @let incorporatorsArray = getFormArray(groups.Incorporators);\n @let directorsArray = getFormArray(groups.Directors);\n\n @let isOpenDirectors = (directorsArray?.length ?? 0) <= initiallyOpenCardsCount;\n @if (directorsArray) {\n <expandable-list-card [subtitle]="directorsSubtitle()" [isOpen]="isOpenDirectors" [isStatusIcon]="statusIcon()" [config]="directorsCardFieldsMap" [configKey]="controls.AffiliationAddressType" [formArray]="directorsArray" [title]="groups.Directors"/>\n }\n\n @let sharesAndRestrictions = getFormGroup(groups.SharesAndRestrictions);\n\n @if (sharesAndRestrictions) {\n <expandable-card [isStatusIcon]="false" [title]="groups.SharesAndRestrictions">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="sharesAndRestrictions" [config]="sharesAndProvincesFields"/>\n </expandable-card>\n }\n\n @let isOpenIncorporators = (incorporatorsArray?.length ?? 0) <= initiallyOpenCardsCount;\n\n @if (incorporatorsArray) {\n <expandable-list-card [isOpen]="isOpenIncorporators" [isStatusIcon]="statusIcon()" [config]="incorporatorsCardFieldsMap" [configKey]="controls.AffiliationAddressType" [formArray]="incorporatorsArray" [title]="groups.Incorporators"/>\n }\n\n <expandable-card title="Contact">\n <div class="incorporation-form-item">\n <p class="incorporation-form-item-title">{{task()?.entity?._profile?.name}}</p>\n <p> <span class="body-1-semibold"> Contact Details:</span> {{task()?.entity?._profile?.emails?.primary}} | {{task()?.entity?._profile?.contact_numbers?.primary}}</p>\n </div>\n </expandable-card>\n </div>\n</div>\n', styles: ["/* src/app/components/ontario/incorporation/ontario-incorporation-form/ontario-incorporation-form.component.scss */\n:host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n:host .incorporation-form {\n display: flex;\n height: 100%;\n flex-direction: column;\n gap: 16px;\n}\n:host .incorporation-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow: auto;\n min-height: 0;\n}\n:host .incorporation-form-content-subtitle {\n color: #444444;\n padding-bottom: 8px;\n}\n:host .incorporation-form-subtitle {\n color: #666666;\n}\n:host .incorporation-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .incorporation-form-item-title {\n color: #485673;\n}\n/*# sourceMappingURL=ontario-incorporation-form.component.css.map */\n"] }]
79716
+ ], template: '<div class="incorporation-form">\r\n @if (isNote()) {\r\n <alert [type]="alertType.Info" title="Entity changed" content="A new draft needs to be generated as the Entity was changed since the last draft was produced."/>\r\n }\r\n\r\n @if (errors().length) {\r\n <alert title="The following issues need to be resolved before proceeding:" [content]="errors()"/>\r\n }\r\n\r\n <div class="incorporation-form-content">\r\n @let referenceNumbers = getFormGroup(groups.ReferenceNumbers);\r\n\r\n @if (referenceNumbers) {\r\n <expandable-card [title]="groups.ReferenceNumbers">\r\n <div class="incorporation-form-item">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="referenceNumbers" [config]="referenceNumbersFields"/>\r\n </div>\r\n </expandable-card>\r\n }\r\n\r\n @let corporationDetails = getFormGroup(groups.CorporationDetails);\r\n\r\n @if (corporationDetails) {\r\n <expandable-card [isValid]="!corporationDetails.invalid" [isStatusIcon]="statusIcon()" [title]="groups.CorporationDetails">\r\n <div class="incorporation-form-item">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="corporationDetails" [config]="corporationDetailsCardFields"/>\r\n </div>\r\n </expandable-card>\r\n }\r\n\r\n @if (isLegalOpinion) {\r\n @let legalOpinion = getFormGroup(groups.LegalOpinion);\r\n\r\n @if (legalOpinion) {\r\n <expandable-card [isValid]="!legalOpinion.invalid" [isStatusIcon]="statusIcon()" [title]="groups.LegalOpinion">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="legalOpinion" [config]="legalOpinionLawyerFields"/>\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="legalOpinion" [config]="legalOpinionConfirmAddressFields"/>\r\n </expandable-card>\r\n }\r\n }\r\n\r\n @let registeredOfficeForm = getFormGroup(groups.RegisteredOfficeAddress);\r\n\r\n @if (registeredOfficeForm) {\r\n <expandable-card [isValid]="!registeredOfficeForm.invalid" [isStatusIcon]="statusIcon()" [title]="groups.RegisteredOfficeAddress">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="registeredOfficeForm" [config]="affiliationCardFieldsMap[registeredOfficeForm.get(formationFormControls.AffiliationAddressType)?.value]"/>\r\n </expandable-card>\r\n }\r\n\r\n @let incorporatorsArray = getFormArray(groups.Incorporators);\r\n @let directorsArray = getFormArray(groups.Directors);\r\n\r\n @let isOpenDirectors = (directorsArray?.length ?? 0) <= initiallyOpenCardsCount;\r\n @if (directorsArray) {\r\n <expandable-list-card [subtitle]="directorsSubtitle()" [isOpen]="isOpenDirectors" [isStatusIcon]="statusIcon()" [config]="directorsCardFieldsMap" [configKey]="controls.AffiliationAddressType" [formArray]="directorsArray" [title]="groups.Directors"/>\r\n }\r\n\r\n @let sharesAndRestrictions = getFormGroup(groups.SharesAndRestrictions);\r\n\r\n @if (sharesAndRestrictions) {\r\n <expandable-card [isStatusIcon]="false" [title]="groups.SharesAndRestrictions">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="sharesAndRestrictions" [config]="sharesAndProvincesFields"/>\r\n </expandable-card>\r\n }\r\n\r\n @let isOpenIncorporators = (incorporatorsArray?.length ?? 0) <= initiallyOpenCardsCount;\r\n\r\n @if (incorporatorsArray) {\r\n <expandable-list-card [isOpen]="isOpenIncorporators" [isStatusIcon]="statusIcon()" [config]="incorporatorsCardFieldsMap" [configKey]="controls.AffiliationAddressType" [formArray]="incorporatorsArray" [title]="groups.Incorporators"/>\r\n }\r\n\r\n @let contact = getFormGroup(groups.Contact);\r\n @if (contact) {\r\n <expandable-card [isStatusIcon]="true" [isValid]="!contact.invalid" [title]="groups.Contact">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="contact" [config]="contactsFields"/>\r\n </expandable-card>\r\n }\r\n </div>\r\n</div>\r\n', styles: ["/* src/app/components/ontario/incorporation/ontario-incorporation-form/ontario-incorporation-form.component.scss */\n:host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n:host .incorporation-form {\n display: flex;\n height: 100%;\n flex-direction: column;\n gap: 16px;\n}\n:host .incorporation-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow: auto;\n min-height: 0;\n}\n:host .incorporation-form-content-subtitle {\n color: #444444;\n padding-bottom: 8px;\n}\n:host .incorporation-form-subtitle {\n color: #666666;\n}\n:host .incorporation-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .incorporation-form-item-title {\n color: #485673;\n}\n/*# sourceMappingURL=ontario-incorporation-form.component.css.map */\n"] }]
79584
79717
  }], () => [], null);
79585
79718
  })();
79586
79719
  (() => {
@@ -79673,35 +79806,35 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
79673
79806
  MatButton,
79674
79807
  TranslatePipe,
79675
79808
  OntarioIncorporationFormComponent
79676
- ], template: `<div class="incorporation-delta-form">
79677
- <ontario-incorporation-form
79678
- class="incorporation-delta-form-content"
79679
- [form]="form()"
79680
- [task]="task()"
79681
- [errors]="errors()"
79682
- [isNote]="isNote()"
79683
- [isSubmitted]="submitted()"
79684
- [statusIcon]="true"
79685
- />
79686
-
79687
- <div class="incorporation-delta-form-actions">
79688
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
79689
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>
79690
- </button>
79691
- <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>
79692
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>
79693
- </button>
79694
- <button
79695
- class="submit"
79696
- color="primary"
79697
- mat-flat-button
79698
- [disabled]="actionsDisabled()"
79699
- (click)="onValidate()"
79700
- >
79701
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>
79702
- </button>
79703
- </div>
79704
- </div>
79809
+ ], template: `<div class="incorporation-delta-form">\r
79810
+ <ontario-incorporation-form\r
79811
+ class="incorporation-delta-form-content"\r
79812
+ [form]="form()"\r
79813
+ [task]="task()"\r
79814
+ [errors]="errors()"\r
79815
+ [isNote]="isNote()"\r
79816
+ [isSubmitted]="submitted()"\r
79817
+ [statusIcon]="true"\r
79818
+ />\r
79819
+ \r
79820
+ <div class="incorporation-delta-form-actions">\r
79821
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
79822
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
79823
+ </button>\r
79824
+ <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
79825
+ <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
79826
+ </button>\r
79827
+ <button\r
79828
+ class="submit"\r
79829
+ color="primary"\r
79830
+ mat-flat-button\r
79831
+ [disabled]="actionsDisabled()"\r
79832
+ (click)="onValidate()"\r
79833
+ >\r
79834
+ <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
79835
+ </button>\r
79836
+ </div>\r
79837
+ </div>\r
79705
79838
  `, styles: ["/* src/app/components/ontario/incorporation/steps/delta/ontario-incorporation-delta-form.component.scss */\n:host .incorporation-delta-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .incorporation-delta-form-content {\n flex: 1;\n min-height: 0;\n}\n:host .incorporation-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 .incorporation-delta-form-actions button {\n margin: 0;\n}\n:host .incorporation-delta-form-actions .submit {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=ontario-incorporation-delta-form.component.css.map */\n"] }]
79706
79839
  }], null, null);
79707
79840
  })();
@@ -85402,7 +85535,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85402
85535
  FilingFormGroupComponent,
85403
85536
  TranslatePipe,
85404
85537
  MatButton
85405
- ], styles: ["\n\n[_nghost-%COMP%] .terms-and-conditions[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #e8e8e8;\n --mat-form-field-filled-with-label-container-padding-top: 12px;\n --mat-form-field-filled-with-label-container-padding-bottom: 2px;\n --mat-form-field-container-height: 36px;\n --mdc-filled-text-field-container-color: transparent;\n height: 100%;\n color: #8c8e90;\n}\n[_nghost-%COMP%] .terms-and-conditions[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .terms-and-conditions-card-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: calc(100% - 25px);\n}\n[_nghost-%COMP%] .terms-and-conditions-text-wrapper[_ngcontent-%COMP%] {\n border: 1px solid #A1B5C7;\n border-radius: 8px;\n overflow: hidden;\n}\n[_nghost-%COMP%] .terms-and-conditions-text[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: 100%;\n overflow: auto;\n max-height: 420px;\n padding: 8px;\n color: #444444;\n}\n[_nghost-%COMP%] .terms-and-conditions-form[_ngcontent-%COMP%] {\n height: 100%;\n padding-top: 16px;\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n[_nghost-%COMP%] .terms-and-conditions-form-title[_ngcontent-%COMP%] {\n color: black;\n margin: 0;\n}\n[_nghost-%COMP%] .terms-and-conditions-form-input[_ngcontent-%COMP%] {\n width: 100%;\n}\n[_nghost-%COMP%] .terms-and-conditions-form-input[_ngcontent-%COMP%] .mdc-text-field, \n[_nghost-%COMP%] .terms-and-conditions-form-input[_ngcontent-%COMP%] .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .terms-and-conditions-form-container[_ngcontent-%COMP%] {\n display: flex;\n gap: 16px;\n}\n[_nghost-%COMP%] .terms-and-conditions-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%] .terms-and-conditions-form-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n margin: 0;\n}\n[_nghost-%COMP%] .terms-and-conditions-content[_ngcontent-%COMP%] {\n height: calc(100% - 67px);\n overflow: auto;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n/*# sourceMappingURL=terms-and-conditions.component.css.map */"], changeDetection: 0 });
85538
+ ], styles: ["\n\n[_nghost-%COMP%] .terms-and-conditions[_ngcontent-%COMP%] {\n --mdc-outlined-text-field-outline-color: #e8e8e8;\n --mat-form-field-filled-with-label-container-padding-top: 12px;\n --mat-form-field-filled-with-label-container-padding-bottom: 2px;\n --mat-form-field-container-height: 36px;\n --mdc-filled-text-field-container-color: transparent;\n height: 100%;\n color: #8c8e90;\n}\n[_nghost-%COMP%] .terms-and-conditions[_ngcontent-%COMP%] .mdc-label {\n font-size: 14px !important;\n}\n[_nghost-%COMP%] .terms-and-conditions-card-content[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: calc(100% - 25px);\n}\n[_nghost-%COMP%] .terms-and-conditions-text-wrapper[_ngcontent-%COMP%] {\n border: 1px solid #A1B5C7;\n border-radius: 8px;\n overflow: hidden;\n}\n[_nghost-%COMP%] .terms-and-conditions-text[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n overflow: auto;\n max-height: 420px;\n padding: 8px;\n color: #444444;\n}\n[_nghost-%COMP%] .terms-and-conditions-form[_ngcontent-%COMP%] {\n height: 100%;\n padding-top: 16px;\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n[_nghost-%COMP%] .terms-and-conditions-form-title[_ngcontent-%COMP%] {\n color: black;\n margin: 0;\n}\n[_nghost-%COMP%] .terms-and-conditions-form-input[_ngcontent-%COMP%] {\n width: 100%;\n}\n[_nghost-%COMP%] .terms-and-conditions-form-input[_ngcontent-%COMP%] .mdc-text-field, \n[_nghost-%COMP%] .terms-and-conditions-form-input[_ngcontent-%COMP%] .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n[_nghost-%COMP%] .terms-and-conditions-form-container[_ngcontent-%COMP%] {\n display: flex;\n gap: 16px;\n}\n[_nghost-%COMP%] .terms-and-conditions-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%] .terms-and-conditions-form-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%] {\n margin: 0;\n}\n[_nghost-%COMP%] .terms-and-conditions-content[_ngcontent-%COMP%] {\n height: calc(100% - 67px);\n overflow: auto;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n/*# sourceMappingURL=terms-and-conditions.component.css.map */"], changeDetection: 0 });
85406
85539
  };
85407
85540
  (() => {
85408
85541
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(TermsAndConditionsComponent, [{
@@ -85679,7 +85812,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85679
85812
  </button>\r
85680
85813
  </div>\r
85681
85814
  </div>\r
85682
- `, styles: ["/* src/app/components/terms-and-conditions/terms-and-conditions.component.scss */\n:host .terms-and-conditions {\n --mdc-outlined-text-field-outline-color: #e8e8e8;\n --mat-form-field-filled-with-label-container-padding-top: 12px;\n --mat-form-field-filled-with-label-container-padding-bottom: 2px;\n --mat-form-field-container-height: 36px;\n --mdc-filled-text-field-container-color: transparent;\n height: 100%;\n color: #8c8e90;\n}\n:host .terms-and-conditions ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .terms-and-conditions-card-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: calc(100% - 25px);\n}\n:host .terms-and-conditions-text-wrapper {\n border: 1px solid #A1B5C7;\n border-radius: 8px;\n overflow: hidden;\n}\n:host .terms-and-conditions-text {\n display: flex;\n flex-direction: column;\n height: 100%;\n overflow: auto;\n max-height: 420px;\n padding: 8px;\n color: #444444;\n}\n:host .terms-and-conditions-form {\n height: 100%;\n padding-top: 16px;\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n:host .terms-and-conditions-form-title {\n color: black;\n margin: 0;\n}\n:host .terms-and-conditions-form-input {\n width: 100%;\n}\n:host .terms-and-conditions-form-input::ng-deep .mdc-text-field,\n:host .terms-and-conditions-form-input::ng-deep .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .terms-and-conditions-form-container {\n display: flex;\n gap: 16px;\n}\n:host .terms-and-conditions-form-actions {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n:host .terms-and-conditions-form-actions button {\n margin: 0;\n}\n:host .terms-and-conditions-content {\n height: calc(100% - 67px);\n overflow: auto;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n/*# sourceMappingURL=terms-and-conditions.component.css.map */\n"] }]
85815
+ `, styles: ["/* src/app/components/terms-and-conditions/terms-and-conditions.component.scss */\n:host .terms-and-conditions {\n --mdc-outlined-text-field-outline-color: #e8e8e8;\n --mat-form-field-filled-with-label-container-padding-top: 12px;\n --mat-form-field-filled-with-label-container-padding-bottom: 2px;\n --mat-form-field-container-height: 36px;\n --mdc-filled-text-field-container-color: transparent;\n height: 100%;\n color: #8c8e90;\n}\n:host .terms-and-conditions ::ng-deep .mdc-label {\n font-size: 14px !important;\n}\n:host .terms-and-conditions-card-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: calc(100% - 25px);\n}\n:host .terms-and-conditions-text-wrapper {\n border: 1px solid #A1B5C7;\n border-radius: 8px;\n overflow: hidden;\n}\n:host .terms-and-conditions-text {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n overflow: auto;\n max-height: 420px;\n padding: 8px;\n color: #444444;\n}\n:host .terms-and-conditions-form {\n height: 100%;\n padding-top: 16px;\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n:host .terms-and-conditions-form-title {\n color: black;\n margin: 0;\n}\n:host .terms-and-conditions-form-input {\n width: 100%;\n}\n:host .terms-and-conditions-form-input::ng-deep .mdc-text-field,\n:host .terms-and-conditions-form-input::ng-deep .mat-mdc-form-field-error-wrapper {\n padding: 0;\n}\n:host .terms-and-conditions-form-container {\n display: flex;\n gap: 16px;\n}\n:host .terms-and-conditions-form-actions {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n gap: 8px;\n padding-top: 16px;\n}\n:host .terms-and-conditions-form-actions button {\n margin: 0;\n}\n:host .terms-and-conditions-content {\n height: calc(100% - 67px);\n overflow: auto;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n/*# sourceMappingURL=terms-and-conditions.component.css.map */\n"] }]
85683
85816
  }], null, null);
85684
85817
  })();
85685
85818
  (() => {
@@ -87870,12 +88003,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87870
88003
  const legalOpinionData = formData[FormationFormGroups.LegalOpinion];
87871
88004
  const registeredOffice = formData[FormationFormGroups.RegisteredOfficeAddress];
87872
88005
  const sharesAndRestrictions = formData[FormationFormGroups.SharesAndRestrictions];
88006
+ const contact = formData[FormationFormGroups.Contact];
88007
+ const isNumbered = corpDetails?.[FormationFormControls.CorporationNameType] === ECoreIncorporationType.Numbered;
87873
88008
  const data = {
87874
88009
  entityDetails: {
87875
88010
  referenceNumber: refNumbers?.[FormationFormControls.ClientMatterNumber] ?? null,
87876
88011
  docketNumber: refNumbers?.[FormationFormControls.DocketNumber] ?? null,
87877
88012
  corporationNameType: corpDetails?.[FormationFormControls.CorporationNameType] ?? null,
87878
- legalIdentifier: corpDetails?.[FormationFormControls.LegalEnding] ?? null,
88013
+ legalIdentifier: isNumbered ? corpDetails?.[FormationFormControls.LegalEnding] : null,
87879
88014
  corporationNameEnglish: corpDetails?.[FormationFormControls.ProposedCorporationNameEng] ?? null,
87880
88015
  nuansReportEnglishReferenceNumber: corpDetails?.[FormationFormControls.NuansReportReferenceEng] ?? null,
87881
88016
  nuansReportEnglishReferenceDate: corpDetails?.[FormationFormControls.NuansReportDateEng] ?? null,
@@ -87891,34 +88026,49 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87891
88026
  streetType: registeredOffice?.[FormationFormControls.StreetType] ?? null,
87892
88027
  streetDirection: registeredOffice?.[FormationFormControls.StreetDirection] ?? null
87893
88028
  },
87894
- directors: (formData[FormationFormGroups.Directors] ?? []).map((d) => ({
87895
- address: {
87896
- unitType: d[FormationFormControls.UnitType] ?? null,
87897
- unitNumber: d[FormationFormControls.UnitNumber] ?? null,
87898
- streetNumber: d[FormationFormControls.StreetNumber] ?? null,
87899
- streetName: d[FormationFormControls.StreetName] ?? null,
87900
- streetType: d[FormationFormControls.StreetType] ?? null,
87901
- streetDirection: d[FormationFormControls.StreetDirection] ?? null
87902
- },
87903
- residentCanadian: d[FormationFormControls.IsResident] ?? false
87904
- })),
87905
- incorporators: (formData[FormationFormGroups.Incorporators] ?? []).map((inc) => ({
87906
- address: {
87907
- unitType: inc[FormationFormControls.UnitType] ?? null,
87908
- unitNumber: inc[FormationFormControls.UnitNumber] ?? null,
87909
- streetNumber: inc[FormationFormControls.StreetNumber] ?? null,
87910
- streetName: inc[FormationFormControls.StreetName] ?? null,
87911
- streetType: inc[FormationFormControls.StreetType] ?? null,
87912
- streetDirection: inc[FormationFormControls.StreetDirection] ?? null
87913
- },
87914
- residentCanadian: inc[FormationFormControls.IsResident] ?? false
87915
- })),
88029
+ directors: (formData[FormationFormGroups.Directors] ?? []).reduce((acc, d) => {
88030
+ const id = d[FormationFormControls.Id];
88031
+ if (id) {
88032
+ acc[id] = {
88033
+ address: {
88034
+ unitType: d[FormationFormControls.UnitType] ?? null,
88035
+ unitNumber: d[FormationFormControls.UnitNumber] ?? null,
88036
+ streetNumber: d[FormationFormControls.StreetNumber] ?? null,
88037
+ streetName: d[FormationFormControls.StreetName] ?? null,
88038
+ streetType: d[FormationFormControls.StreetType] ?? null,
88039
+ streetDirection: d[FormationFormControls.StreetDirection] ?? null
88040
+ },
88041
+ residentCanadian: d[FormationFormControls.IsResident] ?? false
88042
+ };
88043
+ }
88044
+ return acc;
88045
+ }, {}),
88046
+ incorporators: (formData[FormationFormGroups.Incorporators] ?? []).reduce((acc, inc) => {
88047
+ const id = inc[FormationFormControls.Id];
88048
+ if (id) {
88049
+ acc[id] = {
88050
+ address: {
88051
+ unitType: inc[FormationFormControls.UnitType] ?? null,
88052
+ unitNumber: inc[FormationFormControls.UnitNumber] ?? null,
88053
+ streetNumber: inc[FormationFormControls.StreetNumber] ?? null,
88054
+ streetName: inc[FormationFormControls.StreetName] ?? null,
88055
+ streetType: inc[FormationFormControls.StreetType] ?? null,
88056
+ streetDirection: inc[FormationFormControls.StreetDirection] ?? null
88057
+ },
88058
+ residentCanadian: inc[FormationFormControls.IsResident] ?? false
88059
+ };
88060
+ }
88061
+ return acc;
88062
+ }, {}),
87916
88063
  sharesRestrictions: {
87917
88064
  restrictionsOnBusiness: sharesAndRestrictions[FormationFormControls.RestrictionsOnBusiness],
87918
88065
  restrictionsOnShareClasses: sharesAndRestrictions[FormationFormControls.RestrictionsOnShareClasses],
87919
88066
  restrictionsOnShareRights: sharesAndRestrictions[FormationFormControls.RestrictionsOnShareRights],
87920
88067
  restrictionsOnShareTransfers: sharesAndRestrictions[FormationFormControls.RestrictionsOnShareTransfers],
87921
88068
  otherProvisions: sharesAndRestrictions[FormationFormControls.OtherProvisions]
88069
+ },
88070
+ contact: {
88071
+ contact: contact[FormationFormControls.Contact]
87922
88072
  }
87923
88073
  };
87924
88074
  if (corpDetails[FormationFormControls.LegalOpinionWasRequired] && corpDetails[FormationFormControls.CorporationNameType] !== ECoreIncorporationType.Numbered) {
@@ -90416,7 +90566,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
90416
90566
  ExpandableListCardComponent,
90417
90567
  DocumentsComponent,
90418
90568
  AlertComponent
90419
- ], template: '<div class="incorporation-form">\n @if (isNote()) {\n <alert [type]="alertType.Info" title="Entity changed" content="A new draft needs to be generated as the Entity was changed since the last draft was produced."/>\n }\n\n @if (errors().length) {\n <alert title="The following issues need to be resolved before proceeding:" [content]="errors()"/>\n }\n\n <div class="incorporation-form-content">\n @let incorporationDetails = getFormGroup(groups.IncorporationDetails);\n\n @if (incorporationDetails) {\n <expandable-card [isValid]="!incorporationDetails.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.IncorporationDetails">\n <div class="incorporation-form-item">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="incorporationDetails" [config]="incorporationFields"/>\n </div>\n </expandable-card>\n }\n\n @let directorsArray = getFormArray(groups.Directors);\n\n @if (directorsArray) {\n <expandable-list-card [isSubmitted]="isSubmitted()" [isOpen]="directorsArray.length <= initiallyOpenCardsCount" [fields]="directorsFields" [formArray]="getFormArray(groups.Directors)" [title]="groups.Directors"/>\n }\n\n @let significantControl = getFormGroup(groups.SignificantControl);\n\n @if (significantControl) {\n <expandable-card [isValid]="!significantControl.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.SignificantControl">\n <div class="incorporation-form-item">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="significantControl" [config]="significantControlFields"/>\n </div>\n </expandable-card>\n }\n\n @if (significantControl.get(controls.SignificantControlType)?.value === significantControlType.ListISC) {\n @let individualsWithSignificantControlArray = getFormArray(groups.IndividualsWithSignificantControl);\n @if (individualsWithSignificantControlArray) {\n <expandable-list-card [isSubmitted]="isSubmitted()" [isStatusIcon]="isStatusIcon()" [fields]="individualsWithSignificantControlFields" [formArray]="individualsWithSignificantControlArray" [title]="groups.IndividualsWithSignificantControl"/>\n }\n }\n\n @let extraProvincialLicensesArray = getFormArray(groups.ExtraProvincialLicenses);\n\n @if (extraProvincialLicensesArray) {\n <expandable-list-card [isSubmitted]="isSubmitted()" [isStatusIcon]="isStatusIcon()" [fields]="extraProvincialLicensesFields" [formArray]="extraProvincialLicensesArray" [title]="groups.ExtraProvincialLicenses"/>\n }\n\n @let additionalInformation = getFormGroup(groups.AdditionalInformation);\n @let incorporationType = incorporationDetails.get(controls.IncorporationType)?.value;\n\n @if (additionalInformation && incorporationType !== incorporationTypes.NonPreapproved) {\n <expandable-card [title]="groups.AdditionalInformation">\n <div class="incorporation-form-item">\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="additionalInformation" [config]="additionalInformationFields"/>\n </div>\n </expandable-card>\n }\n\n <documents\n [documents]="documents()"\n [selectedDocuments]="selectedDocuments()"\n (addDocuments)="addDocuments.emit($event)"\n (removeDocument)="removeDocument.emit($event)"\n />\n\n <ng-content></ng-content>\n </div>\n</div>\n', styles: ["/* src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.scss */\n:host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n:host .incorporation-form {\n display: flex;\n height: 100%;\n flex-direction: column;\n gap: 16px;\n}\n:host .incorporation-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow: auto;\n min-height: 0;\n}\n:host .incorporation-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n/*# sourceMappingURL=federal-incorporation-form.component.css.map */\n"] }]
90569
+ ], template: '<div class="incorporation-form">\r\n @if (isNote()) {\r\n <alert [type]="alertType.Info" title="Entity changed" content="A new draft needs to be generated as the Entity was changed since the last draft was produced."/>\r\n }\r\n\r\n @if (errors().length) {\r\n <alert title="The following issues need to be resolved before proceeding:" [content]="errors()"/>\r\n }\r\n\r\n <div class="incorporation-form-content">\r\n @let incorporationDetails = getFormGroup(groups.IncorporationDetails);\r\n\r\n @if (incorporationDetails) {\r\n <expandable-card [isValid]="!incorporationDetails.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.IncorporationDetails">\r\n <div class="incorporation-form-item">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="incorporationDetails" [config]="incorporationFields"/>\r\n </div>\r\n </expandable-card>\r\n }\r\n\r\n @let directorsArray = getFormArray(groups.Directors);\r\n\r\n @if (directorsArray) {\r\n <expandable-list-card [isSubmitted]="isSubmitted()" [isOpen]="directorsArray.length <= initiallyOpenCardsCount" [fields]="directorsFields" [formArray]="getFormArray(groups.Directors)" [title]="groups.Directors"/>\r\n }\r\n\r\n @let significantControl = getFormGroup(groups.SignificantControl);\r\n\r\n @if (significantControl) {\r\n <expandable-card [isValid]="!significantControl.invalid" [isStatusIcon]="isStatusIcon()" [title]="groups.SignificantControl">\r\n <div class="incorporation-form-item">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="significantControl" [config]="significantControlFields"/>\r\n </div>\r\n </expandable-card>\r\n }\r\n\r\n @if (significantControl.get(controls.SignificantControlType)?.value === significantControlType.ListISC) {\r\n @let individualsWithSignificantControlArray = getFormArray(groups.IndividualsWithSignificantControl);\r\n @if (individualsWithSignificantControlArray) {\r\n <expandable-list-card [isSubmitted]="isSubmitted()" [isStatusIcon]="isStatusIcon()" [fields]="individualsWithSignificantControlFields" [formArray]="individualsWithSignificantControlArray" [title]="groups.IndividualsWithSignificantControl"/>\r\n }\r\n }\r\n\r\n @let extraProvincialLicensesArray = getFormArray(groups.ExtraProvincialLicenses);\r\n\r\n @if (extraProvincialLicensesArray) {\r\n <expandable-list-card [isSubmitted]="isSubmitted()" [isStatusIcon]="isStatusIcon()" [fields]="extraProvincialLicensesFields" [formArray]="extraProvincialLicensesArray" [title]="groups.ExtraProvincialLicenses"/>\r\n }\r\n\r\n @let additionalInformation = getFormGroup(groups.AdditionalInformation);\r\n @let incorporationType = incorporationDetails.get(controls.IncorporationType)?.value;\r\n\r\n @if (additionalInformation && incorporationType !== incorporationTypes.NonPreapproved) {\r\n <expandable-card [title]="groups.AdditionalInformation">\r\n <div class="incorporation-form-item">\r\n <filing-form-group [isSubmitted]="isSubmitted()" [form]="additionalInformation" [config]="additionalInformationFields"/>\r\n </div>\r\n </expandable-card>\r\n }\r\n\r\n <documents\r\n [documents]="documents()"\r\n [selectedDocuments]="selectedDocuments()"\r\n (addDocuments)="addDocuments.emit($event)"\r\n (removeDocument)="removeDocument.emit($event)"\r\n />\r\n\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n', styles: ["/* src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.scss */\n:host {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n}\n:host .incorporation-form {\n display: flex;\n height: 100%;\n flex-direction: column;\n gap: 16px;\n}\n:host .incorporation-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n flex: 1;\n overflow: auto;\n min-height: 0;\n}\n:host .incorporation-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n/*# sourceMappingURL=federal-incorporation-form.component.css.map */\n"] }]
90420
90570
  }], () => [], null);
90421
90571
  })();
90422
90572
  (() => {
@@ -90518,38 +90668,38 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
90518
90668
  MatButton,
90519
90669
  TranslatePipe,
90520
90670
  FederalIncorporationFormComponent
90521
- ], template: `<div class="incorporation-delta-form">
90522
- <federal-incorporation-form
90523
- class="incorporation-delta-form-content"
90524
- [form]="form()"
90525
- [task]="task()"
90526
- [errors]="errors()"
90527
- [isNote]="isNote()"
90528
- [isSubmitted]="submitted()"
90529
- [documents]="documents()"
90530
- [selectedDocuments]="selectedDocuments()"
90531
- (addDocuments)="addDocuments.emit($event)"
90532
- (removeDocument)="removeDocument.emit($event)"
90533
- />
90534
-
90535
- <div class="incorporation-delta-form-actions">
90536
- <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">
90537
- <span class="body-1-semibold">{{ 'Close' | translate }}</span>
90538
- </button>
90539
- <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>
90540
- <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>
90541
- </button>
90542
- <button
90543
- class="submit"
90544
- color="primary"
90545
- mat-flat-button
90546
- [disabled]="actionsDisabled()"
90547
- (click)="onValidate()"
90548
- >
90549
- <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>
90550
- </button>
90551
- </div>
90552
- </div>
90671
+ ], template: `<div class="incorporation-delta-form">\r
90672
+ <federal-incorporation-form\r
90673
+ class="incorporation-delta-form-content"\r
90674
+ [form]="form()"\r
90675
+ [task]="task()"\r
90676
+ [errors]="errors()"\r
90677
+ [isNote]="isNote()"\r
90678
+ [isSubmitted]="submitted()"\r
90679
+ [documents]="documents()"\r
90680
+ [selectedDocuments]="selectedDocuments()"\r
90681
+ (addDocuments)="addDocuments.emit($event)"\r
90682
+ (removeDocument)="removeDocument.emit($event)"\r
90683
+ />\r
90684
+ \r
90685
+ <div class="incorporation-delta-form-actions">\r
90686
+ <button [disabled]="actionsDisabled()" mat-stroked-button mat-button (click)="close.emit()">\r
90687
+ <span class="body-1-semibold">{{ 'Close' | translate }}</span>\r
90688
+ </button>\r
90689
+ <button (click)="save.emit()" [disabled]="actionsDisabled()" mat-stroked-button mat-button>\r
90690
+ <span class="body-1-semibold">{{ 'Save Changes' | translate }}</span>\r
90691
+ </button>\r
90692
+ <button\r
90693
+ class="submit"\r
90694
+ color="primary"\r
90695
+ mat-flat-button\r
90696
+ [disabled]="actionsDisabled()"\r
90697
+ (click)="onValidate()"\r
90698
+ >\r
90699
+ <span class="body-1-semibold">{{ 'Validate & Generate Draft' | translate }}</span>\r
90700
+ </button>\r
90701
+ </div>\r
90702
+ </div>\r
90553
90703
  `, styles: ["/* src/app/components/federal/incorporation/steps/delta/federal-incorporation-delta-form.component.scss */\n:host .incorporation-delta-form {\n display: flex;\n flex-direction: column;\n gap: 16px;\n height: 100%;\n}\n:host .incorporation-delta-form-content {\n display: flex;\n flex-direction: column;\n gap: 16px;\n overflow: auto;\n}\n:host .incorporation-delta-form-item {\n display: flex;\n flex-direction: column;\n gap: 16px;\n}\n:host .incorporation-delta-form-errors {\n padding: 0 16px;\n}\n:host .incorporation-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 .incorporation-delta-form-actions button {\n margin: 0;\n}\n:host .incorporation-delta-form-actions .submit {\n padding-left: 30px;\n padding-right: 30px;\n}\n/*# sourceMappingURL=federal-incorporation-delta-form.component.css.map */\n"] }]
90554
90704
  }], null, null);
90555
90705
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyedurham/search-and-file-widget",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "description": "",
5
5
  "main": "dnd-filing-shell.js",
6
6
  "scripts": {