@dyedurham/search-and-file-widget 1.6.23 → 1.6.24

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 +31 -45
  2. package/package.json +1 -1
@@ -57918,33 +57918,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
57918
57918
  }
57919
57919
  return obj;
57920
57920
  }
57921
- function copyWithShape(shape, source) {
57922
- if (shape === null || shape === void 0) {
57923
- return source;
57924
- }
57925
- if (Array.isArray(shape)) {
57926
- if (!Array.isArray(source)) {
57927
- return [];
57928
- }
57929
- if (!shape.length) {
57930
- return source.map((item) => copyWithShape(item, item));
57931
- }
57932
- return source.map((item) => copyWithShape(shape[0], item));
57933
- }
57934
- if (typeof shape !== "object") {
57935
- return source;
57936
- }
57937
- if (source === null || source === void 0 || typeof source !== "object") {
57938
- return source;
57939
- }
57940
- const result = {};
57941
- for (const key of Object.keys(shape)) {
57942
- if (Object.prototype.hasOwnProperty.call(source, key)) {
57943
- result[key] = copyWithShape(shape[key], source[key]);
57944
- }
57945
- }
57946
- return result;
57947
- }
57948
57921
  function toYyyyMmDd(d) {
57949
57922
  if (!d)
57950
57923
  return void 0;
@@ -58563,12 +58536,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
58563
58536
  type: FormType.Text,
58564
58537
  label: "",
58565
58538
  formControlName: "",
58566
- dynamicLabel: (form) => {
58539
+ dynamicLabel: (form, t) => {
58567
58540
  const email = form.get(FormationFormControls.OfficialEmail)?.value;
58568
58541
  if (!email) {
58569
58542
  return "";
58570
58543
  }
58571
- return `<span class="body-1-semibold">Email:</span> ${email}`;
58544
+ return `<span class="body-1-semibold">${t("Email")}:</span> ${email}`;
58572
58545
  },
58573
58546
  class: "span-12"
58574
58547
  };
@@ -81467,7 +81440,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
81467
81440
  dynamicLabel: (form, t) => {
81468
81441
  const ceaseDate = form.get(IRFormControls.CeaseDate)?.value;
81469
81442
  if (ceaseDate) {
81470
- return `<span class="body-1-semibold">${t("Cease Date")}:</span> ${ceaseDate}`;
81443
+ return `<span class="body-1-semibold">${t("Cease Date")}:</span> ${t(ceaseDate)}`;
81471
81444
  }
81472
81445
  return "";
81473
81446
  },
@@ -83394,13 +83367,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
83394
83367
  },
83395
83368
  {
83396
83369
  type: FormType.Text,
83397
- dynamicLabel: (form) => `Address: ${getAddressPreview(form)}`,
83370
+ dynamicLabel: (form, t) => `${t("Address")}: ${getAddressPreview(form)}`,
83398
83371
  formControlName: "",
83399
83372
  class: "span-12"
83400
83373
  },
83401
83374
  {
83402
83375
  type: FormType.Text,
83403
- dynamicLabel: (form) => `Email: ${form.get(FederalFormationFormControl.Email)?.value}`,
83376
+ dynamicLabel: (form, t) => `${t("Email")}: ${form.get(FederalFormationFormControl.Email)?.value}`,
83404
83377
  formControlName: FederalFormationFormControl.Email,
83405
83378
  class: "span-12"
83406
83379
  }
@@ -83542,19 +83515,19 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
83542
83515
  return [
83543
83516
  {
83544
83517
  type: FormType.Text,
83545
- dynamicLabel: (form) => `Date Of Birth: ${form.get(FederalFormationFormControl.DateOfBirth)?.value}`,
83518
+ dynamicLabel: (form, t) => `${t("Date Of Birth")}: ${form.get(FederalFormationFormControl.DateOfBirth)?.value}`,
83546
83519
  formControlName: FederalFormationFormControl.DateOfBirth,
83547
83520
  class: "span-12"
83548
83521
  },
83549
83522
  {
83550
83523
  type: FormType.Text,
83551
- dynamicLabel: (form) => `<span>Countries Of Citizenship: ${form.get(FederalFormationFormControl.CountriesOfCitizenship)?.value}</span> </br> <span>Countries Of Residence: ${form.get(FederalFormationFormControl.CountriesOfResidence)?.value}</span>`,
83524
+ dynamicLabel: (form, t) => `<span>${t("Countries Of Citizenship")}: ${form.get(FederalFormationFormControl.CountriesOfCitizenship)?.value}</span> </br> <span>${t("Countries Of Residence")}: ${form.get(FederalFormationFormControl.CountriesOfResidence)?.value}</span>`,
83552
83525
  formControlName: "",
83553
83526
  class: "span-12"
83554
83527
  },
83555
83528
  {
83556
83529
  type: FormType.Text,
83557
- dynamicLabel: (form) => `Residential Address: ${getAddressPreview(form)}`,
83530
+ dynamicLabel: (form, t) => `${t("Residential Address")}: ${getAddressPreview(form)}`,
83558
83531
  formControlName: FederalFormationFormControl.DateOfBirth,
83559
83532
  class: "span-12"
83560
83533
  },
@@ -83630,18 +83603,18 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
83630
83603
  },
83631
83604
  {
83632
83605
  type: FormType.Text,
83633
- dynamicLabel: (form) => `Date business activity will begin: ${form.get(FederalFormationFormControl.RegistrationDate)?.value ?? ""}`,
83606
+ dynamicLabel: (form, t) => `${t("Date business activity will begin")}: ${form.get(FederalFormationFormControl.RegistrationDate)?.value ?? ""}`,
83634
83607
  formControlName: FederalFormationFormControl.RegistrationDate,
83635
83608
  class: "span-12"
83636
83609
  },
83637
83610
  {
83638
83611
  type: FormType.Text,
83639
- dynamicLabel: (form) => {
83612
+ dynamicLabel: (form, t) => {
83640
83613
  const email = form.get(FederalFormationFormControl.OfficialEmail)?.value;
83641
83614
  if (!email) {
83642
83615
  return "";
83643
83616
  }
83644
- return `<span class="body-1-semibold">Official Email:</span> ${email}`;
83617
+ return `<span class="body-1-semibold">${t("Official Email")}:</span> ${email}`;
83645
83618
  },
83646
83619
  formControlName: FederalFormationFormControl.OfficialEmail,
83647
83620
  class: "span-12"
@@ -83671,8 +83644,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
83671
83644
  },
83672
83645
  {
83673
83646
  type: FormType.Select,
83674
- dynamicLabel: (form) => {
83675
- return `Address for Service in ${form.get(FormationFormControls.Province)?.value}`;
83647
+ dynamicLabel: (form, t) => {
83648
+ return `${t("Address for Service in")} ${form.get(FormationFormControls.Province)?.value}`;
83676
83649
  },
83677
83650
  formControlName: FederalFormationFormControl.ServiceAddressUid,
83678
83651
  isVisible: (form) => form.get(FederalFormationFormControl.UseDifferentAddressForService)?.value,
@@ -83705,7 +83678,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
83705
83678
  },
83706
83679
  {
83707
83680
  type: FormType.Text,
83708
- dynamicLabel: () => `<span class="body-1-regular grey">Contact Details:</span>`,
83681
+ dynamicLabel: (_, t) => `<span class="body-1-regular grey">${t("Contact Details")}:</span>`,
83709
83682
  formControlName: "",
83710
83683
  class: "span-12",
83711
83684
  required: true
@@ -89129,7 +89102,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
89129
89102
  this.activeStep.set(Step.Validate);
89130
89103
  return;
89131
89104
  }
89132
- const dataWasChanged = !deepEqual(currentMappedPayload, copyWithShape(currentMappedPayload, taskFromDeltaData));
89105
+ const dataWasChanged = !deepEqual(currentMappedPayload, taskFromDeltaData);
89133
89106
  this.dataWasChanged.set(dataWasChanged);
89134
89107
  this.activeStep.set(dataWasChanged ? Step.Validate : Step.FilingPreview);
89135
89108
  }
@@ -89298,7 +89271,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
89298
89271
  }], () => [], null);
89299
89272
  })();
89300
89273
  (() => {
89301
- (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 73 });
89274
+ (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 72 });
89302
89275
  })();
89303
89276
  }
89304
89277
  });
@@ -93771,6 +93744,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
93771
93744
  "Annual Return Year": "Annual Return Year",
93772
93745
  "Confirm Address Parts": "Confirm Address Parts",
93773
93746
  "Contact Details": "Contact Details",
93747
+ "Date Of Birth": "Date Of Birth",
93748
+ "Countries Of Citizenship": "Countries Of Citizenship",
93749
+ "Countries Of Residence": "Countries Of Residence",
93750
+ "Date business activity will begin": "Date business activity will begin",
93751
+ "Address for Service in": "Address for Service in",
93774
93752
  "Requested Date for Incorporation": "Requested Date for Incorporation",
93775
93753
  I: "I",
93776
93754
  "confirm that the draft PDF document has been signed by all the required person(s) in accordance with the Act, Regulations and Director's/Registrar's Requirements.": "confirm that the draft PDF document has been signed by all the required person(s) in accordance with the Act, Regulations and Director's/Registrar's Requirements.",
@@ -93837,6 +93815,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
93837
93815
  "Corporate name": "Corporate name",
93838
93816
  "Business Number": "Business Number",
93839
93817
  Address: "Address",
93818
+ "Residential Address": "Residential Address",
93840
93819
  "Anniversary Date": "Anniversary Date",
93841
93820
  "Year of Filing": "Year of Filing",
93842
93821
  "Annual Meeting": "Annual Meeting",
@@ -93895,8 +93874,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
93895
93874
  "Canadian Resident": "R\xE9sident canadien",
93896
93875
  Officers: "Officiers",
93897
93876
  "Certified By": "Certifi\xE9 par",
93898
- "Expand all": "Afficher Tout",
93899
- "Collapse all": "Tout Masquer",
93877
+ "Expand all": "Afficher tout",
93878
+ "Collapse all": "Masquer tout",
93900
93879
  Add: "Ajouter",
93901
93880
  Update: "Mettre \xE0 jour",
93902
93881
  Cease: "Cesser",
@@ -93956,6 +93935,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
93956
93935
  "Also an Incorporator": "\xC9galement fondateur",
93957
93936
  "Care Of": "Aux soins de",
93958
93937
  City: "Ville",
93938
+ Close: "Fermer",
93959
93939
  Province: "Province",
93960
93940
  "Province / State": "Province / \xC9tat",
93961
93941
  "Postal Code": "Code postal",
@@ -94040,6 +94020,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94040
94020
  "Annual Return Year": "Ann\xE9e de la d\xE9claration annuelle",
94041
94021
  "Confirm Address Parts": "Confirmer les \xE9l\xE9ments de l'adresse",
94042
94022
  "Contact Details": "Coordonn\xE9es",
94023
+ "Date Of Birth": "Date de naissance",
94024
+ "Countries Of Citizenship": "Pays de citoyennet\xE9",
94025
+ "Countries Of Residence": "Pays de r\xE9sidence",
94026
+ "Date business activity will begin": "Date de d\xE9but de l'activit\xE9 commerciale",
94027
+ "Address for Service in": "Adresse aux fins de signification en",
94043
94028
  "Requested Date for Incorporation": "Date demand\xE9e pour la constitution",
94044
94029
  I: "Je",
94045
94030
  "confirm that the draft PDF document has been signed by all the required person(s) in accordance with the Act, Regulations and Director's/Registrar's Requirements.": "confirme que le document PDF de brouillon a \xE9t\xE9 sign\xE9 par toutes les personnes requises conform\xE9ment \xE0 la Loi, aux r\xE8glements et aux exigences du directeur/registraire.",
@@ -94105,6 +94090,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
94105
94090
  "Corporate name": "Nom de la soci\xE9t\xE9",
94106
94091
  "Business Number": "Num\xE9ro d'entreprise",
94107
94092
  Address: "Adresse",
94093
+ "Residential Address": "Adresse r\xE9sidentielle",
94108
94094
  "Anniversary Date": "Date anniversaire",
94109
94095
  "Year of Filing": "Ann\xE9e de d\xE9p\xF4t",
94110
94096
  "Annual Meeting": "Assembl\xE9e annuelle",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyedurham/search-and-file-widget",
3
- "version": "1.6.23",
3
+ "version": "1.6.24",
4
4
  "description": "",
5
5
  "main": "dnd-filing-shell.js",
6
6
  "scripts": {