@dyedurham/search-and-file-widget 1.3.6 → 1.3.8

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 +687 -88
  2. package/package.json +1 -1
@@ -56777,6 +56777,14 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
56777
56777
  useClass: handler
56778
56778
  };
56779
56779
  }
56780
+ function provideTranslateService(config2 = {}) {
56781
+ return defaultProviders(__spreadValues({
56782
+ compiler: provideTranslateCompiler(TranslateNoOpCompiler),
56783
+ parser: provideTranslateParser(TranslateDefaultParser),
56784
+ loader: provideTranslateLoader(TranslateNoOpLoader),
56785
+ missingTranslationHandler: provideMissingTranslationHandler(DefaultMissingTranslationHandler)
56786
+ }, config2), true);
56787
+ }
56780
56788
  function defaultProviders(config2 = {}, provideStore) {
56781
56789
  const providers = [];
56782
56790
  if (config2.loader) {
@@ -86813,7 +86821,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86813
86821
  function FilingComponent_Conditional_10_Conditional_0_Conditional_0_Template(rf, ctx) {
86814
86822
  if (rf & 1) {
86815
86823
  const _r4 = \u0275\u0275getCurrentView();
86816
- \u0275\u0275elementStart(0, "delta-form", 12);
86824
+ \u0275\u0275elementStart(0, "delta-form", 10);
86817
86825
  \u0275\u0275listener("close", function FilingComponent_Conditional_10_Conditional_0_Conditional_0_Template_delta_form_close_0_listener() {
86818
86826
  \u0275\u0275restoreView(_r4);
86819
86827
  const ctx_r2 = \u0275\u0275nextContext(3);
@@ -86842,7 +86850,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86842
86850
  function FilingComponent_Conditional_10_Conditional_0_Conditional_1_Template(rf, ctx) {
86843
86851
  if (rf & 1) {
86844
86852
  const _r6 = \u0275\u0275getCurrentView();
86845
- \u0275\u0275elementStart(0, "preview-form", 13);
86853
+ \u0275\u0275elementStart(0, "preview-form", 11);
86846
86854
  \u0275\u0275listener("next", function FilingComponent_Conditional_10_Conditional_0_Conditional_1_Template_preview_form_next_0_listener() {
86847
86855
  \u0275\u0275restoreView(_r6);
86848
86856
  const ctx_r2 = \u0275\u0275nextContext(3);
@@ -86863,7 +86871,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86863
86871
  function FilingComponent_Conditional_10_Conditional_0_Conditional_2_Template(rf, ctx) {
86864
86872
  if (rf & 1) {
86865
86873
  const _r7 = \u0275\u0275getCurrentView();
86866
- \u0275\u0275elementStart(0, "terms-and-conditions", 14);
86874
+ \u0275\u0275elementStart(0, "terms-and-conditions", 12);
86867
86875
  \u0275\u0275listener("prev", function FilingComponent_Conditional_10_Conditional_0_Conditional_2_Template_terms_and_conditions_prev_0_listener() {
86868
86876
  \u0275\u0275restoreView(_r7);
86869
86877
  const ctx_r2 = \u0275\u0275nextContext(3);
@@ -86878,7 +86886,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86878
86886
  }
86879
86887
  function FilingComponent_Conditional_10_Conditional_0_Template(rf, ctx) {
86880
86888
  if (rf & 1) {
86881
- \u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_0_Conditional_0_Template, 1, 5, "delta-form", 10)(1, FilingComponent_Conditional_10_Conditional_0_Conditional_1_Template, 1, 3, "preview-form", 11)(2, FilingComponent_Conditional_10_Conditional_0_Conditional_2_Template, 1, 0, "terms-and-conditions");
86889
+ \u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_0_Conditional_0_Template, 1, 5, "delta-form", 8)(1, FilingComponent_Conditional_10_Conditional_0_Conditional_1_Template, 1, 3, "preview-form", 9)(2, FilingComponent_Conditional_10_Conditional_0_Conditional_2_Template, 1, 0, "terms-and-conditions");
86882
86890
  }
86883
86891
  if (rf & 2) {
86884
86892
  const ctx_r2 = \u0275\u0275nextContext(2);
@@ -86889,95 +86897,104 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
86889
86897
  \u0275\u0275conditional(ctx_r2.activeStep() === ctx_r2.steps.TermsAndConditions ? 2 : -1);
86890
86898
  }
86891
86899
  }
86892
- function FilingComponent_Conditional_10_Conditional_1_Template(rf, ctx) {
86900
+ function FilingComponent_Conditional_10_Conditional_1_Conditional_0_Template(rf, ctx) {
86893
86901
  if (rf & 1) {
86894
86902
  const _r8 = \u0275\u0275getCurrentView();
86895
86903
  \u0275\u0275elementStart(0, "comparison-form", 15);
86896
- \u0275\u0275listener("validate", function FilingComponent_Conditional_10_Conditional_1_Template_comparison_form_validate_0_listener() {
86904
+ \u0275\u0275listener("validate", function FilingComponent_Conditional_10_Conditional_1_Conditional_0_Template_comparison_form_validate_0_listener() {
86897
86905
  \u0275\u0275restoreView(_r8);
86898
- const ctx_r2 = \u0275\u0275nextContext(2);
86906
+ const ctx_r2 = \u0275\u0275nextContext(3);
86899
86907
  return \u0275\u0275resetView(ctx_r2.onDataComparisonNextClick());
86900
- })("close", function FilingComponent_Conditional_10_Conditional_1_Template_comparison_form_close_0_listener() {
86908
+ })("close", function FilingComponent_Conditional_10_Conditional_1_Conditional_0_Template_comparison_form_close_0_listener() {
86901
86909
  \u0275\u0275restoreView(_r8);
86902
- const ctx_r2 = \u0275\u0275nextContext(2);
86910
+ const ctx_r2 = \u0275\u0275nextContext(3);
86903
86911
  return \u0275\u0275resetView(ctx_r2.onClose());
86904
- })("save", function FilingComponent_Conditional_10_Conditional_1_Template_comparison_form_save_0_listener() {
86912
+ })("save", function FilingComponent_Conditional_10_Conditional_1_Conditional_0_Template_comparison_form_save_0_listener() {
86905
86913
  \u0275\u0275restoreView(_r8);
86906
- const ctx_r2 = \u0275\u0275nextContext(2);
86914
+ const ctx_r2 = \u0275\u0275nextContext(3);
86907
86915
  return \u0275\u0275resetView(ctx_r2.onSaveChanges());
86908
86916
  });
86909
86917
  \u0275\u0275elementEnd();
86910
86918
  }
86911
86919
  if (rf & 2) {
86912
- const ctx_r2 = \u0275\u0275nextContext(2);
86920
+ const ctx_r2 = \u0275\u0275nextContext(3);
86913
86921
  const currentTask_r5 = \u0275\u0275readContextLet(9);
86914
86922
  \u0275\u0275property("form", ctx_r2.previewForm)("taskType", currentTask_r5._taskType)("actionsDisabled", ctx_r2.isLoading())("validationConfig", ctx_r2.validationConfig())("errors", ctx_r2.errors())("readonly", false)("isNote", ctx_r2.dataWasChanged());
86915
86923
  }
86916
86924
  }
86917
- function FilingComponent_Conditional_10_Conditional_2_Template(rf, ctx) {
86925
+ function FilingComponent_Conditional_10_Conditional_1_Conditional_1_Template(rf, ctx) {
86918
86926
  if (rf & 1) {
86919
86927
  const _r9 = \u0275\u0275getCurrentView();
86920
86928
  \u0275\u0275elementStart(0, "comparison-form", 16);
86921
- \u0275\u0275listener("close", function FilingComponent_Conditional_10_Conditional_2_Template_comparison_form_close_0_listener() {
86929
+ \u0275\u0275listener("close", function FilingComponent_Conditional_10_Conditional_1_Conditional_1_Template_comparison_form_close_0_listener() {
86922
86930
  \u0275\u0275restoreView(_r9);
86923
- const ctx_r2 = \u0275\u0275nextContext(2);
86931
+ const ctx_r2 = \u0275\u0275nextContext(3);
86924
86932
  return \u0275\u0275resetView(ctx_r2.onClose());
86925
- })("save", function FilingComponent_Conditional_10_Conditional_2_Template_comparison_form_save_0_listener() {
86933
+ })("save", function FilingComponent_Conditional_10_Conditional_1_Conditional_1_Template_comparison_form_save_0_listener() {
86926
86934
  \u0275\u0275restoreView(_r9);
86927
- const ctx_r2 = \u0275\u0275nextContext(2);
86935
+ const ctx_r2 = \u0275\u0275nextContext(3);
86928
86936
  return \u0275\u0275resetView(ctx_r2.onSaveChanges());
86929
- })("file", function FilingComponent_Conditional_10_Conditional_2_Template_comparison_form_file_0_listener() {
86937
+ })("file", function FilingComponent_Conditional_10_Conditional_1_Conditional_1_Template_comparison_form_file_0_listener() {
86930
86938
  \u0275\u0275restoreView(_r9);
86931
- const ctx_r2 = \u0275\u0275nextContext(2);
86939
+ const ctx_r2 = \u0275\u0275nextContext(3);
86932
86940
  return \u0275\u0275resetView(ctx_r2.onPreviewNextClick());
86933
86941
  });
86934
86942
  \u0275\u0275elementEnd();
86935
86943
  }
86936
86944
  if (rf & 2) {
86937
- const ctx_r2 = \u0275\u0275nextContext(2);
86945
+ const ctx_r2 = \u0275\u0275nextContext(3);
86938
86946
  const currentTask_r5 = \u0275\u0275readContextLet(9);
86939
86947
  \u0275\u0275property("form", ctx_r2.previewForm)("taskType", currentTask_r5._taskType)("actionsDisabled", ctx_r2.isLoading())("validationConfig", ctx_r2.validationConfig())("errors", ctx_r2.errors())("readonly", true);
86940
86948
  }
86941
86949
  }
86942
- function FilingComponent_Conditional_10_Conditional_3_Conditional_0_Template(rf, ctx) {
86950
+ function FilingComponent_Conditional_10_Conditional_1_Conditional_2_Conditional_0_Template(rf, ctx) {
86943
86951
  if (rf & 1) {
86944
86952
  const _r10 = \u0275\u0275getCurrentView();
86945
- \u0275\u0275elementStart(0, "terms-and-conditions", 14);
86946
- \u0275\u0275listener("prev", function FilingComponent_Conditional_10_Conditional_3_Conditional_0_Template_terms_and_conditions_prev_0_listener() {
86953
+ \u0275\u0275elementStart(0, "terms-and-conditions", 12);
86954
+ \u0275\u0275listener("prev", function FilingComponent_Conditional_10_Conditional_1_Conditional_2_Conditional_0_Template_terms_and_conditions_prev_0_listener() {
86947
86955
  \u0275\u0275restoreView(_r10);
86948
- const ctx_r2 = \u0275\u0275nextContext(3);
86956
+ const ctx_r2 = \u0275\u0275nextContext(4);
86949
86957
  return \u0275\u0275resetView(ctx_r2.onTermsAndConditionsPrevClick());
86950
- })("confirm", function FilingComponent_Conditional_10_Conditional_3_Conditional_0_Template_terms_and_conditions_confirm_0_listener($event) {
86958
+ })("confirm", function FilingComponent_Conditional_10_Conditional_1_Conditional_2_Conditional_0_Template_terms_and_conditions_confirm_0_listener($event) {
86951
86959
  \u0275\u0275restoreView(_r10);
86952
- const ctx_r2 = \u0275\u0275nextContext(3);
86960
+ const ctx_r2 = \u0275\u0275nextContext(4);
86953
86961
  return \u0275\u0275resetView(ctx_r2.onInitialReturnSubmit($event));
86954
86962
  });
86955
86963
  \u0275\u0275elementEnd();
86956
86964
  }
86957
86965
  }
86958
- function FilingComponent_Conditional_10_Conditional_3_Template(rf, ctx) {
86966
+ function FilingComponent_Conditional_10_Conditional_1_Conditional_2_Template(rf, ctx) {
86959
86967
  if (rf & 1) {
86960
- \u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_3_Conditional_0_Template, 1, 0, "terms-and-conditions");
86968
+ \u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_1_Conditional_2_Conditional_0_Template, 1, 0, "terms-and-conditions");
86961
86969
  }
86962
86970
  if (rf & 2) {
86963
- const ctx_r2 = \u0275\u0275nextContext(2);
86971
+ const ctx_r2 = \u0275\u0275nextContext(3);
86964
86972
  \u0275\u0275conditional(ctx_r2.activeStep() === ctx_r2.steps.TermsAndConditions ? 0 : -1);
86965
86973
  }
86966
86974
  }
86975
+ function FilingComponent_Conditional_10_Conditional_1_Template(rf, ctx) {
86976
+ if (rf & 1) {
86977
+ \u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_1_Conditional_0_Template, 1, 7, "comparison-form", 13)(1, FilingComponent_Conditional_10_Conditional_1_Conditional_1_Template, 1, 6, "comparison-form", 14)(2, FilingComponent_Conditional_10_Conditional_1_Conditional_2_Template, 1, 1);
86978
+ }
86979
+ if (rf & 2) {
86980
+ const ctx_r2 = \u0275\u0275nextContext(2);
86981
+ \u0275\u0275conditional(ctx_r2.activeStep() === ctx_r2.steps.Validate ? 0 : -1);
86982
+ \u0275\u0275advance();
86983
+ \u0275\u0275conditional(ctx_r2.activeStep() === ctx_r2.steps.FilingPreview ? 1 : -1);
86984
+ \u0275\u0275advance();
86985
+ \u0275\u0275conditional(ctx_r2.activeStep() === ctx_r2.steps.TermsAndConditions ? 2 : -1);
86986
+ }
86987
+ }
86967
86988
  function FilingComponent_Conditional_10_Template(rf, ctx) {
86968
86989
  if (rf & 1) {
86969
- \u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_0_Template, 3, 3)(1, FilingComponent_Conditional_10_Conditional_1_Template, 1, 7, "comparison-form", 8)(2, FilingComponent_Conditional_10_Conditional_2_Template, 1, 6, "comparison-form", 9)(3, FilingComponent_Conditional_10_Conditional_3_Template, 1, 1);
86990
+ \u0275\u0275template(0, FilingComponent_Conditional_10_Conditional_0_Template, 3, 3)(1, FilingComponent_Conditional_10_Conditional_1_Template, 3, 3);
86970
86991
  }
86971
86992
  if (rf & 2) {
86972
86993
  const ctx_r2 = \u0275\u0275nextContext();
86973
86994
  const currentTask_r5 = \u0275\u0275readContextLet(9);
86974
86995
  \u0275\u0275conditional(ctx_r2.isFormationTask(currentTask_r5) ? 0 : -1);
86975
86996
  \u0275\u0275advance();
86976
- \u0275\u0275conditional(ctx_r2.activeStep() === ctx_r2.steps.Validate ? 1 : -1);
86977
- \u0275\u0275advance();
86978
- \u0275\u0275conditional(ctx_r2.activeStep() === ctx_r2.steps.FilingPreview ? 2 : -1);
86979
- \u0275\u0275advance();
86980
- \u0275\u0275conditional(ctx_r2.activeStep() === ctx_r2.steps.TermsAndConditions ? 3 : -1);
86997
+ \u0275\u0275conditional(ctx_r2.isInitialReturnTask(currentTask_r5) ? 1 : -1);
86981
86998
  }
86982
86999
  }
86983
87000
  function FilingComponent_Conditional_11_Template(rf, ctx) {
@@ -87032,6 +87049,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87032
87049
  proxyApiUrl = input();
87033
87050
  jwtToken = input();
87034
87051
  task = input();
87052
+ height = input();
87035
87053
  validateOptions = input();
87036
87054
  deltaDataChange = output();
87037
87055
  filingValidateSuccess = output();
@@ -87059,6 +87077,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87059
87077
  close: () => this.close.emit()
87060
87078
  };
87061
87079
  });
87080
+ isFormationTask = isFormationTask;
87081
+ isInitialReturnTask = isInitialReturnTask;
87062
87082
  dialog = inject(MatDialog);
87063
87083
  formationService = inject(FormationService);
87064
87084
  initialReturnService = inject(InitialReturnService);
@@ -87085,6 +87105,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87085
87105
  deltaForm = new FormGroup({});
87086
87106
  previewForm = new FormGroup({});
87087
87107
  previewFormInitialValue = {};
87108
+ deltaFormInitialValue = {};
87088
87109
  errors = signal([]);
87089
87110
  title = computed(() => {
87090
87111
  const task = this.task();
@@ -87108,8 +87129,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87108
87129
  effect(() => {
87109
87130
  const task = this.task();
87110
87131
  if (task) {
87111
- this.translate.setDefaultLang(this.language() || "en");
87132
+ this.translate.use(this.language() || "en");
87112
87133
  this.deltaForm = new FormGroup(this.generateDeltaFormFieldsConfig(task));
87134
+ this.deltaFormInitialValue = this.deltaForm.getRawValue();
87113
87135
  }
87114
87136
  });
87115
87137
  effect(() => {
@@ -87150,15 +87172,11 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87150
87172
  validateAndFileFormationTask(form, termsAndConditions) {
87151
87173
  return __async(this, null, function* () {
87152
87174
  const deltaData = this.generateFormationDeltaData(form, termsAndConditions);
87153
- this.deltaDataChange.emit({
87154
- deltaData: __spreadProps(__spreadValues({}, deltaData), { signature: this._signature() })
87155
- });
87175
+ this.deltaDataChange.emit(deltaData);
87156
87176
  const signature = this._signature();
87157
87177
  if (signature) {
87158
87178
  const response = yield this.formationService.validate(signature, deltaData, this.serviceOrderId, this.validateOptions() ?? {});
87159
- this.deltaDataChange.emit({
87160
- deltaData: __spreadProps(__spreadValues({}, deltaData), { task: this.task() })
87161
- });
87179
+ this.deltaDataChange.emit(deltaData);
87162
87180
  const isoTimestamp = (/* @__PURE__ */ new Date()).toISOString();
87163
87181
  this.filingValidateSuccess.emit({
87164
87182
  searchOrFilingType: "ontarioIncorporation",
@@ -87330,9 +87348,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87330
87348
  const signature = this._signature();
87331
87349
  if (signature) {
87332
87350
  const response = yield this.initialReturnService.submitInitialReturnValidationToECore(signature, payload, this.serviceOrderId, this.validateOptions());
87333
- this.deltaDataChange.emit({
87334
- deltaData: __spreadProps(__spreadValues({}, formData), { task: this.task() })
87335
- });
87351
+ this.deltaDataChange.emit(formData);
87336
87352
  return response;
87337
87353
  }
87338
87354
  return null;
@@ -87400,7 +87416,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87400
87416
  return errors.map((item) => item["ErrorMessage"].toString());
87401
87417
  }
87402
87418
  onClose() {
87403
- if (deepEqual(this.previewFormInitialValue, this.previewForm.getRawValue())) {
87419
+ if (isInitialReturnTask(this.task()) && deepEqual(this.previewFormInitialValue, this.previewForm.getRawValue())) {
87420
+ this.close.emit();
87421
+ } else if (isFormationTask(this.task()) && deepEqual(this.deltaFormInitialValue, this.deltaForm.getRawValue())) {
87404
87422
  this.close.emit();
87405
87423
  } else {
87406
87424
  this.dialog.open(ConfirmModalComponent, {
@@ -87422,7 +87440,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87422
87440
  }
87423
87441
  onSaveDeltaFormChanges() {
87424
87442
  const formData = this.generateFormationDeltaData(this.deltaForm);
87425
- this.deltaDataChange.emit({ deltaData: formData, signature: this._signature() });
87443
+ this.deltaDataChange.emit(formData);
87426
87444
  }
87427
87445
  generateFormationDeltaData(form, termsAndConditions) {
87428
87446
  const formData = form.getRawValue();
@@ -87441,7 +87459,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87441
87459
  }
87442
87460
  onSaveChanges() {
87443
87461
  const formData = this.previewForm.getRawValue();
87444
- this.deltaDataChange.emit({ deltaData: formData, signature: this._signature() });
87462
+ this.deltaDataChange.emit(formData);
87445
87463
  }
87446
87464
  onPreviewNextClick() {
87447
87465
  this.activeStep.set(Step.TermsAndConditions);
@@ -87457,7 +87475,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87457
87475
  this.errors.set([]);
87458
87476
  if (isInitialReturnTask(task)) {
87459
87477
  yield this.validateAndFileInitialReturnTask(this.previewForm);
87460
- this.deltaDataChange.emit({ deltaData: __spreadProps(__spreadValues({}, this.previewForm.getRawValue()), { task: this.task() }) });
87478
+ this.deltaDataChange.emit(this.previewForm.getRawValue());
87461
87479
  }
87462
87480
  } catch (response) {
87463
87481
  console.error(response);
@@ -87573,11 +87591,10 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87573
87591
  this.activeStep.set(Step.FilingPreview);
87574
87592
  }
87575
87593
  }
87576
- isFormationTask = isFormationTask;
87577
87594
  static \u0275fac = function FilingComponent_Factory(__ngFactoryType__) {
87578
87595
  return new (__ngFactoryType__ || _FilingComponent)();
87579
87596
  };
87580
- static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _FilingComponent, selectors: [["app-filing"]], inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], validateOptions: [1, "validateOptions"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 7, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "form", "taskType", "actionsDisabled", "validationConfig", "errors", "readonly", "isNote"], [3, "form", "taskType", "actionsDisabled", "validationConfig", "errors", "readonly"], [3, "errors", "isNote", "actionsDisabled", "form", "taskType"], [3, "form", "taskType", "actionsDisabled"], [3, "close", "validate", "previous", "save", "errors", "isNote", "actionsDisabled", "form", "taskType"], [3, "next", "close", "form", "taskType", "actionsDisabled"], [3, "prev", "confirm"], [3, "validate", "close", "save", "form", "taskType", "actionsDisabled", "validationConfig", "errors", "readonly", "isNote"], [3, "close", "save", "file", "form", "taskType", "actionsDisabled", "validationConfig", "errors", "readonly"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
87597
+ static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _FilingComponent, selectors: [["app-filing"]], inputs: { env: [1, "env"], config: [1, "config"], language: [1, "language"], proxyApiUrl: [1, "proxyApiUrl"], jwtToken: [1, "jwtToken"], task: [1, "task"], height: [1, "height"], validateOptions: [1, "validateOptions"] }, outputs: { deltaDataChange: "deltaDataChange", filingValidateSuccess: "filingValidateSuccess", filingSubmitSuccess: "filingSubmitSuccess", close: "close" }, decls: 12, vars: 9, consts: [[1, "filing"], [1, "filing-title"], [1, "filing-title-text"], [1, "filing-title-action", 3, "click"], [1, "filing-header"], [1, "filing-content"], [1, "filing-content-loading"], ["mat-stroked-button", "", 3, "click", "disabled"], [3, "errors", "isNote", "actionsDisabled", "form", "taskType"], [3, "form", "taskType", "actionsDisabled"], [3, "close", "validate", "previous", "save", "errors", "isNote", "actionsDisabled", "form", "taskType"], [3, "next", "close", "form", "taskType", "actionsDisabled"], [3, "prev", "confirm"], [3, "form", "taskType", "actionsDisabled", "validationConfig", "errors", "readonly", "isNote"], [3, "form", "taskType", "actionsDisabled", "validationConfig", "errors", "readonly"], [3, "validate", "close", "save", "form", "taskType", "actionsDisabled", "validationConfig", "errors", "readonly", "isNote"], [3, "close", "save", "file", "form", "taskType", "actionsDisabled", "validationConfig", "errors", "readonly"], [3, "diameter"]], template: function FilingComponent_Template(rf, ctx) {
87581
87598
  if (rf & 1) {
87582
87599
  const _r1 = \u0275\u0275getCurrentView();
87583
87600
  \u0275\u0275elementStart(0, "div", 0)(1, "div", 1)(2, "h1", 2);
@@ -87594,15 +87611,17 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87594
87611
  \u0275\u0275template(7, FilingComponent_Conditional_7_Template, 4, 4, "div", 4);
87595
87612
  \u0275\u0275elementStart(8, "div", 5);
87596
87613
  \u0275\u0275declareLet(9);
87597
- \u0275\u0275template(10, FilingComponent_Conditional_10_Template, 4, 4)(11, FilingComponent_Conditional_11_Template, 2, 1, "div", 6);
87614
+ \u0275\u0275template(10, FilingComponent_Conditional_10_Template, 2, 2)(11, FilingComponent_Conditional_11_Template, 2, 1, "div", 6);
87598
87615
  \u0275\u0275elementEnd()();
87599
87616
  }
87600
87617
  if (rf & 2) {
87601
87618
  \u0275\u0275advance(3);
87602
- \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(4, 4, ctx.title()));
87619
+ \u0275\u0275textInterpolate(\u0275\u0275pipeBind1(4, 6, ctx.title()));
87603
87620
  \u0275\u0275advance(4);
87604
87621
  \u0275\u0275conditional(ctx.isEditButton() ? 7 : -1);
87605
- \u0275\u0275advance(2);
87622
+ \u0275\u0275advance();
87623
+ \u0275\u0275styleProp("height", ctx.height());
87624
+ \u0275\u0275advance();
87606
87625
  const currentTask_r11 = \u0275\u0275storeLet(ctx.task());
87607
87626
  \u0275\u0275advance();
87608
87627
  \u0275\u0275conditional(currentTask_r11 ? 10 : -1);
@@ -87652,7 +87671,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87652
87671
  </div>\r
87653
87672
  }\r
87654
87673
  \r
87655
- <div class="filing-content">\r
87674
+ <div [style.height]="height()" class="filing-content">\r
87656
87675
  @let currentTask = task();\r
87657
87676
  \r
87658
87677
  @if (currentTask) {\r
@@ -87689,41 +87708,43 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
87689
87708
  }\r
87690
87709
  }\r
87691
87710
  \r
87692
- @if (activeStep() === steps.Validate) {\r
87693
- <comparison-form\r
87694
- [form]="previewForm"\r
87695
- [taskType]="currentTask._taskType"\r
87696
- [actionsDisabled]="isLoading()"\r
87697
- [validationConfig]="validationConfig()"\r
87698
- [errors]="errors()"\r
87699
- [readonly]="false"\r
87700
- [isNote]="dataWasChanged()"\r
87701
- (validate)="onDataComparisonNextClick()"\r
87702
- (close)="onClose()"\r
87703
- (save)="onSaveChanges()"\r
87704
- />\r
87705
- }\r
87711
+ @if (isInitialReturnTask(currentTask)) {\r
87712
+ @if (activeStep() === steps.Validate) {\r
87713
+ <comparison-form\r
87714
+ [form]="previewForm"\r
87715
+ [taskType]="currentTask._taskType"\r
87716
+ [actionsDisabled]="isLoading()"\r
87717
+ [validationConfig]="validationConfig()"\r
87718
+ [errors]="errors()"\r
87719
+ [readonly]="false"\r
87720
+ [isNote]="dataWasChanged()"\r
87721
+ (validate)="onDataComparisonNextClick()"\r
87722
+ (close)="onClose()"\r
87723
+ (save)="onSaveChanges()"\r
87724
+ />\r
87725
+ }\r
87706
87726
  \r
87707
- @if (activeStep() === steps.FilingPreview) {\r
87708
- <comparison-form\r
87709
- [form]="previewForm"\r
87710
- [taskType]="currentTask._taskType"\r
87711
- [actionsDisabled]="isLoading()"\r
87712
- [validationConfig]="validationConfig()"\r
87713
- [errors]="errors()"\r
87714
- [readonly]="true"\r
87715
- (close)="onClose()"\r
87716
- (save)="onSaveChanges()"\r
87717
- (file)="onPreviewNextClick()"\r
87718
- />\r
87719
- }\r
87727
+ @if (activeStep() === steps.FilingPreview) {\r
87728
+ <comparison-form\r
87729
+ [form]="previewForm"\r
87730
+ [taskType]="currentTask._taskType"\r
87731
+ [actionsDisabled]="isLoading()"\r
87732
+ [validationConfig]="validationConfig()"\r
87733
+ [errors]="errors()"\r
87734
+ [readonly]="true"\r
87735
+ (close)="onClose()"\r
87736
+ (save)="onSaveChanges()"\r
87737
+ (file)="onPreviewNextClick()"\r
87738
+ />\r
87739
+ }\r
87720
87740
  \r
87721
- @if (activeStep() === steps.TermsAndConditions) {\r
87722
87741
  @if (activeStep() === steps.TermsAndConditions) {\r
87723
- <terms-and-conditions\r
87724
- (prev)="onTermsAndConditionsPrevClick()"\r
87725
- (confirm)="onInitialReturnSubmit($event)"\r
87726
- />\r
87742
+ @if (activeStep() === steps.TermsAndConditions) {\r
87743
+ <terms-and-conditions\r
87744
+ (prev)="onTermsAndConditionsPrevClick()"\r
87745
+ (confirm)="onInitialReturnSubmit($event)"\r
87746
+ />\r
87747
+ }\r
87727
87748
  }\r
87728
87749
  }\r
87729
87750
  }\r
@@ -92177,6 +92198,564 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
92177
92198
  }
92178
92199
  });
92179
92200
 
92201
+ // src/assets/i18n/en.json
92202
+ var en_default;
92203
+ var init_en = __esm({
92204
+ "src/assets/i18n/en.json"() {
92205
+ en_default = {
92206
+ "File Article Of Incorporation": "File Article Of Incorporation",
92207
+ "File Initial Return": "File Initial Return",
92208
+ "You have unsaved changes": "You have unsaved changes",
92209
+ "Do you want to save before closing?": "Do you want to save before closing?",
92210
+ Yes: "Yes",
92211
+ No: "No",
92212
+ "Street Type": "Street Type",
92213
+ Direction: "Direction",
92214
+ "Canadian Resident": "Canadian Resident",
92215
+ Directors: "Directors",
92216
+ Officers: "Officers",
92217
+ "Certified By": "Certified By",
92218
+ "Expand all": "Expand all",
92219
+ "Collapse all": "Collapse all",
92220
+ Add: "Add",
92221
+ Update: "Update",
92222
+ Cease: "Cease",
92223
+ Remove: "Remove",
92224
+ "Effective Date": "Effective Date",
92225
+ "Ceased Date": "Ceased Date",
92226
+ New: "New",
92227
+ Previous: "Previous",
92228
+ "The following issues need to be resolved before proceeding:": "The following issues need to be resolved before proceeding:",
92229
+ "All addresses must have a street type and direction specified.": "All addresses must have a street type and direction specified.",
92230
+ "Validate & Generate Draft": "Validate & Generate Draft",
92231
+ File: "File",
92232
+ Edit: "Edit",
92233
+ "Cancel Edits": "Cancel Edits",
92234
+ Cancel: "Cancel",
92235
+ NOTE: "NOTE",
92236
+ "A new draft needs to be generated as the Entity was changed since the last draft was produced.": "A new draft needs to be generated as the Entity was changed since the last draft was produced.",
92237
+ "Terms and Conditions": "Terms and Conditions",
92238
+ "I have read and agree to the Terms and Conditions": "I have read and agree to the Terms and Conditions",
92239
+ Signatory: "Signatory",
92240
+ "First name": "First name",
92241
+ "Last name": "Last name",
92242
+ Proceed: "Proceed",
92243
+ Back: "Back",
92244
+ "General Info": "General Info",
92245
+ "Number Of Directors": "Number Of Directors",
92246
+ Incorporators: "Incorporators",
92247
+ "Shares And Restrictions": "Shares & Restrictions",
92248
+ "Corporation Details": "Corporation Details",
92249
+ "Extra Details": "Extra Details",
92250
+ "Authorized Representative": "Authorized Representative",
92251
+ "Contact Information": "Contact Information",
92252
+ "Records OfficeAddress": "Records Office Address",
92253
+ "Request Options": "Request Options",
92254
+ Principals: "Principals",
92255
+ "Change Certification": "Change Certification",
92256
+ "Business Activity": "Business Activity",
92257
+ "Registered Office Address": "Registered Office Address",
92258
+ Certification: "Certification",
92259
+ Added: "Added",
92260
+ Ceased: "Ceased",
92261
+ Changed: "Edited",
92262
+ Removed: "Removed",
92263
+ "Street Name": "Street Name",
92264
+ "Street Direction": "Street Direction",
92265
+ "Street Number": "Street Number",
92266
+ StreetNumber: "Street Number",
92267
+ "Unit Number": "Unit Number",
92268
+ "Unit Type": "Unit Type",
92269
+ "Official Email": "Official Email",
92270
+ "Legal Identifier": "Legal Identifier",
92271
+ Name: "Name",
92272
+ "Effective Type": "Effective Type",
92273
+ "Naics Code": "Naics Code",
92274
+ "Is Canadian Resident": "Is Canadian Resident",
92275
+ "Also an Incorporator": "Also an Incorporator",
92276
+ "Care Of": "Care Of",
92277
+ City: "City",
92278
+ Province: "Province",
92279
+ "Province / State": "Province / State",
92280
+ "Postal Code": "Postal Code",
92281
+ Country: "Country",
92282
+ "Country Code": "Country Code",
92283
+ Code: "Code",
92284
+ "Restrictions On Business": "Restrictions On Business",
92285
+ "Restrictions On Share Classes": "Restrictions On Share Classes",
92286
+ "Restrictions On Share Rights": "Restrictions On Share Rights",
92287
+ "Restrictions On Share Transfers": "Restrictions On Share Transfers",
92288
+ "Director Type": "Director Type",
92289
+ "Range Min": "Range Min",
92290
+ "Range Max": "Range Max",
92291
+ "Address 1": "Address 1",
92292
+ "Address 2": "Address 2",
92293
+ "Address 3": "Address 3",
92294
+ "Address Continued": "Address Continued",
92295
+ "Address Locale": "Address Locale",
92296
+ "Address Standard Lot": "Address Standard Lot",
92297
+ "Area Code": "Area Code",
92298
+ "Authorizer Name": "Authorizer Name",
92299
+ "Authorizer Type": "Authorizer Type",
92300
+ "Bypass XSD Validation": "Bypass XSD Validation",
92301
+ "Bypass XSD validation": "Bypass XSD Validation",
92302
+ "Cease Date": "Cease Date",
92303
+ "Cease Date: ": "Cease Date: ",
92304
+ "Certification Date": "Certification Date",
92305
+ "City/Town": "City/Town",
92306
+ "Country Telephone Code": "Country Telephone Code",
92307
+ "Corporation Info": "Corporation Info",
92308
+ "Corporation Name": "Corporation Name",
92309
+ "Corporation Number": "Corporation Number",
92310
+ "Docket Number": "Docket Number",
92311
+ "Elected Date": "Elected Date",
92312
+ "Elected Date: ": "Elected Date: ",
92313
+ Email: "Email",
92314
+ "Email Address": "Email Address",
92315
+ "Entity Identifier": "Entity Identifier",
92316
+ "Entity Identifier: ": "Entity Identifier: ",
92317
+ "External Corporation Info": "External Corporation Info",
92318
+ Fax: "Fax",
92319
+ "First Name": "First Name",
92320
+ French: "French",
92321
+ "Generate PDF": "Generate PDF",
92322
+ "Include Request ID": "Include Request ID",
92323
+ "Include request ID": "Include Request ID",
92324
+ "Incorporation Date": "Incorporation Date",
92325
+ "Language Preference": "Language Preference",
92326
+ "Last Name": "Last Name",
92327
+ "Middle Name": "Middle Name",
92328
+ "NAICS Code": "NAICS Code",
92329
+ "Officer Position": "Officer Position",
92330
+ Phone: "Phone",
92331
+ "Phone Number": "Phone Number",
92332
+ Position: "Position",
92333
+ "Position: ": "Position: ",
92334
+ "Post Code": "Post Code",
92335
+ "Postal / Zip": "Postal / Zip",
92336
+ "Primary Activity": "Primary Activity",
92337
+ "Client/Matter Number": "Client/Matter Number",
92338
+ "Region Name": "Region Name",
92339
+ "Resident Canadian": "Resident Canadian",
92340
+ Role: "Role",
92341
+ "Save Draft": "Save Draft",
92342
+ "Save draft": "Save Draft",
92343
+ State: "State",
92344
+ "Street Address Continued": "Street Address Continued",
92345
+ "Street Number Suffix": "Street Number Suffix",
92346
+ "Submit Request": "Submit Request",
92347
+ "Submit request": "Submit Request",
92348
+ "UI Mode": "UI Mode",
92349
+ "UI mode": "UI Mode",
92350
+ North: "North",
92351
+ South: "South",
92352
+ East: "East",
92353
+ West: "West",
92354
+ Northeast: "Northeast",
92355
+ Northwest: "Northwest",
92356
+ Southeast: "Southeast",
92357
+ Southwest: "Southwest",
92358
+ None: "None",
92359
+ Limited: "Limited",
92360
+ Ltd: "Ltd",
92361
+ Incorporated: "Incorporated",
92362
+ Inc: "Inc",
92363
+ Corporation: "Corporation",
92364
+ Corp: "Corp",
92365
+ Abbey: "Abbey",
92366
+ Acres: "Acres",
92367
+ Alley: "Alley",
92368
+ Avenue: "Avenue",
92369
+ Bay: "Bay",
92370
+ Beach: "Beach",
92371
+ Bend: "Bend",
92372
+ Boulevard: "Boulevard",
92373
+ "By-pass": "By-pass",
92374
+ Byway: "Byway",
92375
+ Campus: "Campus",
92376
+ Cape: "Cape",
92377
+ Centre: "Centre",
92378
+ Chase: "Chase",
92379
+ Circle: "Circle",
92380
+ Circuit: "Circuit",
92381
+ Close: "Close",
92382
+ Common: "Common",
92383
+ Concession: "Concession",
92384
+ Corners: "Corners",
92385
+ Court: "Court",
92386
+ Cove: "Cove",
92387
+ Crescent: "Crescent",
92388
+ Crossing: "Crossing",
92389
+ "Cul-de-sac": "Cul-de-sac",
92390
+ Dale: "Dale",
92391
+ Dell: "Dell",
92392
+ Diversion: "Diversion",
92393
+ Downs: "Downs",
92394
+ Drive: "Drive",
92395
+ Farm: "Farm",
92396
+ Field: "Field",
92397
+ Forest: "Forest",
92398
+ Freeway: "Freeway",
92399
+ Front: "Front",
92400
+ Gardens: "Gardens",
92401
+ Gate: "Gate",
92402
+ Glade: "Glade",
92403
+ Glen: "Glen",
92404
+ Green: "Green",
92405
+ Grounds: "Grounds",
92406
+ Grove: "Grove",
92407
+ Harbour: "Harbour",
92408
+ Heath: "Heath",
92409
+ Heights: "Heights",
92410
+ Highlands: "Highlands",
92411
+ Highway: "Highway",
92412
+ Hill: "Hill",
92413
+ Hollow: "Hollow",
92414
+ Inlet: "Inlet",
92415
+ Island: "Island",
92416
+ Key: "Key",
92417
+ Knoll: "Knoll",
92418
+ Landing: "Landing",
92419
+ Lane: "Lane",
92420
+ Limits: "Limits",
92421
+ Line: "Line",
92422
+ Link: "Link",
92423
+ Lookout: "Lookout",
92424
+ Loop: "Loop",
92425
+ Mall: "Mall",
92426
+ Manor: "Manor",
92427
+ Maze: "Maze",
92428
+ Meadow: "Meadow",
92429
+ Mews: "Mews",
92430
+ Moor: "Moor",
92431
+ Mount: "Mount",
92432
+ Mountain: "Mountain",
92433
+ Orchard: "Orchard",
92434
+ Parade: "Parade",
92435
+ Park: "Park",
92436
+ Parkway: "Parkway",
92437
+ Passage: "Passage",
92438
+ Path: "Path",
92439
+ Pathway: "Pathway",
92440
+ Pines: "Pines",
92441
+ Place: "Place",
92442
+ Plateau: "Plateau",
92443
+ Plaza: "Plaza",
92444
+ Point: "Point",
92445
+ Port: "Port",
92446
+ Private: "Private",
92447
+ Promenade: "Promenade",
92448
+ Quay: "Quay",
92449
+ Ramp: "Ramp",
92450
+ Ridge: "Ridge",
92451
+ Rise: "Rise",
92452
+ Road: "Road",
92453
+ Route: "Route",
92454
+ Row: "Row",
92455
+ Run: "Run",
92456
+ Square: "Square",
92457
+ Street: "Street",
92458
+ Subdivision: "Subdivision",
92459
+ Terrace: "Terrace",
92460
+ Thicket: "Thicket",
92461
+ Towers: "Towers",
92462
+ Townline: "Townline",
92463
+ Trail: "Trail",
92464
+ Turnabout: "Turnabout",
92465
+ Vale: "Vale",
92466
+ Via: "Via",
92467
+ View: "View",
92468
+ Village: "Village",
92469
+ Villas: "Villas",
92470
+ Vista: "Vista",
92471
+ Walk: "Walk",
92472
+ Way: "Way",
92473
+ Wharf: "Wharf",
92474
+ Wood: "Wood",
92475
+ Wynd: "Wynd"
92476
+ };
92477
+ }
92478
+ });
92479
+
92480
+ // src/assets/i18n/fr.json
92481
+ var fr_default;
92482
+ var init_fr = __esm({
92483
+ "src/assets/i18n/fr.json"() {
92484
+ fr_default = {
92485
+ "File Article Of Incorporation": "D\xE9poser l'acte constitutif",
92486
+ "File Initial Return": "D\xE9claration initiale",
92487
+ "You have unsaved changes": "Vous avez des modifications non enregistr\xE9es",
92488
+ "Do you want to save before closing?": "Voulez-vous enregistrer avant de fermer ?",
92489
+ Yes: "Oui",
92490
+ No: "Non",
92491
+ "Registered Office Address": "Adresse du si\xE8ge social",
92492
+ "Street Type": "Type de rue",
92493
+ Direction: "Direction",
92494
+ "Canadian Resident": "R\xE9sident canadien",
92495
+ Officers: "Officiers",
92496
+ "Certified By": "Certifi\xE9 par",
92497
+ "Expand all": "Afficher Tout",
92498
+ "Collapse all": "Tout Masquer",
92499
+ Add: "Ajouter",
92500
+ Update: "Mettre \xE0 jour",
92501
+ Cease: "Cesser",
92502
+ Remove: "Supprimer",
92503
+ "Effective Date": "Date d'entr\xE9e en vigueur",
92504
+ "Ceased Date": "Date de cessation",
92505
+ New: "Nouveau",
92506
+ Previous: "Pr\xE9c\xE9dent",
92507
+ "The following issues need to be resolved before proceeding:": "Les probl\xE8mes suivants doivent \xEAtre r\xE9solus avant de poursuivre :",
92508
+ "All addresses must have a street type and direction specified.": "Toutes les adresses doivent inclure un type de rue et une direction.",
92509
+ "Validate & Generate Draft": "Valider et g\xE9n\xE9rer le brouillon",
92510
+ File: "Fichier",
92511
+ Edit: "Modifier",
92512
+ "Cancel Edits": "Annuler les modifications",
92513
+ Cancel: "Annuler",
92514
+ NOTE: "REMARQUE",
92515
+ "A new draft needs to be generated as the Entity was changed since the last draft was produced.": "Un nouveau projet doit \xEAtre g\xE9n\xE9r\xE9 car l'entit\xE9 a \xE9t\xE9 modifi\xE9e depuis la production du dernier projet.",
92516
+ "Terms and Conditions": "Termes et conditions",
92517
+ "I have read and agree to the Terms and Conditions": "J'ai lu et j'accepte les Termes et conditions",
92518
+ Signatory: "Signataire",
92519
+ "First name": "Pr\xE9nom",
92520
+ "Last name": "Nom de famille",
92521
+ Proceed: "Continuer",
92522
+ Back: "Retour",
92523
+ "General Info": "Informations g\xE9n\xE9rales",
92524
+ "Number Of Directors": "Nombre de directeurs",
92525
+ Incorporators: "Fondateurs",
92526
+ Directors: "Directeurs",
92527
+ "Shares And Restrictions": "Actions et restrictions",
92528
+ "Corporation Details": "D\xE9tails de la soci\xE9t\xE9",
92529
+ "Extra Details": "D\xE9tails suppl\xE9mentaires",
92530
+ "Records Office Address": "Adresse du bureau des registres",
92531
+ "Contact Information": "Coordonn\xE9es",
92532
+ RequestOptions: "Options de demande",
92533
+ Principals: "Dirigeants",
92534
+ "Change Certification": "Attestation de modification",
92535
+ "Business Activity": "Activit\xE9 commerciale",
92536
+ Certification: "Attestation",
92537
+ "Authorized Representative": "Repr\xE9sentant autoris\xE9",
92538
+ Added: "Ajout\xE9",
92539
+ Ceased: "Radi\xE9",
92540
+ Changed: "Modifi\xE9",
92541
+ Removed: "Supprim\xE9",
92542
+ "Street Name": "Nom de rue",
92543
+ "Street Direction": "Direction de rue",
92544
+ "Street Number": "Num\xE9ro de rue",
92545
+ StreetNumber: "Num\xE9ro de rue",
92546
+ "Unit Number": "Num\xE9ro d'unit\xE9",
92547
+ "Unit Type": "Type d'unit\xE9",
92548
+ "Official Email": "Courriel officiel",
92549
+ "Legal Identifier": "Identifiant l\xE9gal",
92550
+ Name: "Nom",
92551
+ "Effective Type": "Type d'effet",
92552
+ "Naics Code": "Code SCIAN",
92553
+ "Is Canadian Resident": "Est r\xE9sident canadien",
92554
+ "Also an Incorporator": "\xC9galement fondateur",
92555
+ "Care Of": "Aux soins de",
92556
+ City: "Ville",
92557
+ Province: "Province",
92558
+ "Province / State": "Province / \xC9tat",
92559
+ "Postal Code": "Code postal",
92560
+ Country: "Pays",
92561
+ "Country Code": "Code de pays",
92562
+ Code: "Code",
92563
+ "Restrictions On Business": "Restrictions sur les activit\xE9s commerciales",
92564
+ "Restrictions On Share Classes": "Restrictions sur les cat\xE9gories d'actions",
92565
+ "Restrictions On Share Rights": "Restrictions sur les droits des actionnaires",
92566
+ "Restrictions On Share Transfers": "Restrictions sur les transferts d'actions",
92567
+ "Director Type": "Type de directeur",
92568
+ "Range Min": "Minimum de la plage",
92569
+ "Range Max": "Maximum de la plage",
92570
+ "Address 1": "Adresse 1",
92571
+ "Address 2": "Adresse 2",
92572
+ "Address 3": "Adresse 3",
92573
+ "Address Continued": "Suite de l'adresse",
92574
+ "Address Locale": "Localit\xE9 de l'adresse",
92575
+ "Address Standard Lot": "Lot standard de l'adresse",
92576
+ "Area Code": "Indicatif r\xE9gional",
92577
+ "Authorizer Name": "Nom de l'autorisateur",
92578
+ "Authorizer Type": "Type d'autorisateur",
92579
+ "Bypass XSD Validation": "Ignorer la validation XSD",
92580
+ "Bypass XSD validation": "Ignorer la validation XSD",
92581
+ "Cease Date": "Date de cessation",
92582
+ "Cease Date: ": "Date de cessation : ",
92583
+ "Certification Date": "Date de certification",
92584
+ "City/Town": "Ville",
92585
+ "Country Telephone Code": "Indicatif t\xE9l\xE9phonique du pays",
92586
+ "Corporation Info": "Renseignements sur la soci\xE9t\xE9",
92587
+ "Corporation Name": "Nom de la soci\xE9t\xE9",
92588
+ "Corporation Number": "Num\xE9ro de la soci\xE9t\xE9",
92589
+ "Docket Number": "Num\xE9ro de dossier",
92590
+ "Elected Date": "Date d'\xE9lection",
92591
+ "Elected Date: ": "Date d'\xE9lection : ",
92592
+ Email: "Courriel",
92593
+ "Email Address": "Adresse courriel",
92594
+ "Entity Identifier": "Identifiant de l'entit\xE9",
92595
+ "Entity Identifier: ": "Identifiant de l'entit\xE9 : ",
92596
+ "External Corporation Info": "Renseignements externes sur la soci\xE9t\xE9",
92597
+ Fax: "T\xE9l\xE9copieur",
92598
+ "First Name": "Pr\xE9nom",
92599
+ French: "Fran\xE7ais",
92600
+ "Generate PDF": "G\xE9n\xE9rer le PDF",
92601
+ "Include Request ID": "Inclure l'identifiant de la demande",
92602
+ "Include request ID": "Inclure l'identifiant de la demande",
92603
+ "Incorporation Date": "Date de constitution",
92604
+ "Language Preference": "Pr\xE9f\xE9rence linguistique",
92605
+ "Last Name": "Nom de famille",
92606
+ "Middle Name": "Deuxi\xE8me pr\xE9nom",
92607
+ "NAICS Code": "Code SCIAN",
92608
+ "Officer Position": "Poste de dirigeant",
92609
+ Phone: "T\xE9l\xE9phone",
92610
+ "Phone Number": "Num\xE9ro de t\xE9l\xE9phone",
92611
+ Position: "Poste",
92612
+ "Position: ": "Poste : ",
92613
+ "Post Code": "Code postal",
92614
+ "Postal / Zip": "Code postal / ZIP",
92615
+ "Primary Activity": "Activit\xE9 principale",
92616
+ "Client/Matter Number": "Client / Num\xE9ro de dossier",
92617
+ "Region Name": "Nom de la r\xE9gion",
92618
+ "Resident Canadian": "R\xE9sident canadien",
92619
+ Role: "R\xF4le",
92620
+ "Save Draft": "Enregistrer le brouillon",
92621
+ "Save draft": "Enregistrer le brouillon",
92622
+ State: "\xC9tat",
92623
+ "Street Address Continued": "Suite de l'adresse de rue",
92624
+ "Street Number Suffix": "Suffixe du num\xE9ro de rue",
92625
+ "Submit Request": "Soumettre la demande",
92626
+ "Submit request": "Soumettre la demande",
92627
+ "UI Mode": "Mode d'interface",
92628
+ "UI mode": "Mode d'interface",
92629
+ North: "Nord",
92630
+ South: "Sud",
92631
+ East: "Est",
92632
+ West: "Ouest",
92633
+ Northeast: "Nord-Est",
92634
+ Northwest: "Nord-Ouest",
92635
+ Southeast: "Sud-Est",
92636
+ Southwest: "Sud-Ouest",
92637
+ None: "Aucun",
92638
+ Limited: "Limit\xE9e",
92639
+ Ltd: "Lt\xE9e",
92640
+ Incorporated: "Incorpor\xE9e",
92641
+ Inc: "Inc.",
92642
+ Corporation: "Corporation",
92643
+ Corp: "Corp.",
92644
+ Abbey: "Abbaye",
92645
+ Acres: "Acres",
92646
+ Alley: "Ruelle",
92647
+ Avenue: "Avenue",
92648
+ Bay: "Baie",
92649
+ Beach: "Plage",
92650
+ Bend: "Courbe",
92651
+ Boulevard: "Boulevard",
92652
+ "By-pass": "Contournement",
92653
+ Byway: "Chemin secondaire",
92654
+ Campus: "Campus",
92655
+ Cape: "Cap",
92656
+ Centre: "Centre",
92657
+ Chase: "All\xE9e",
92658
+ Circle: "Cercle",
92659
+ Circuit: "Circuit",
92660
+ Close: "Impasse",
92661
+ Common: "Terrain commun",
92662
+ Concession: "Concession",
92663
+ Corners: "Carrefour",
92664
+ Court: "Cour",
92665
+ Cove: "Anse",
92666
+ Crescent: "Croissant",
92667
+ Crossing: "Croisement",
92668
+ "Cul-de-sac": "Cul-de-sac",
92669
+ Dale: "Vall\xE9e",
92670
+ Dell: "Vallon",
92671
+ Diversion: "D\xE9viation",
92672
+ Downs: "Collines",
92673
+ Drive: "All\xE9e priv\xE9e",
92674
+ Farm: "Ferme",
92675
+ Field: "Champ",
92676
+ Forest: "For\xEAt",
92677
+ Freeway: "Autoroute",
92678
+ Front: "Front",
92679
+ Gardens: "Jardins",
92680
+ Gate: "Portail",
92681
+ Glade: "Clairi\xE8re",
92682
+ Glen: "Vallon bois\xE9",
92683
+ Green: "Vert",
92684
+ Grounds: "Terrain",
92685
+ Grove: "Bosquet",
92686
+ Harbour: "Port",
92687
+ Heath: "Lande",
92688
+ Heights: "Hauteurs",
92689
+ Highlands: "Hautes-terres",
92690
+ Highway: "Route",
92691
+ Hill: "Colline",
92692
+ Hollow: "Creux",
92693
+ Inlet: "Anse",
92694
+ Island: "\xCEle",
92695
+ Key: "Quai",
92696
+ Knoll: "Monticule",
92697
+ Landing: "D\xE9barcad\xE8re",
92698
+ Lane: "Voie",
92699
+ Limits: "Limites",
92700
+ Line: "Ligne",
92701
+ Link: "Liaison",
92702
+ Lookout: "Belv\xE9d\xE8re",
92703
+ Loop: "Boucle",
92704
+ Mall: "Mail",
92705
+ Manor: "Manoir",
92706
+ Maze: "Labyrinthe",
92707
+ Meadow: "Prairie",
92708
+ Mews: "Ruelle",
92709
+ Moor: "Lande",
92710
+ Mount: "Mont",
92711
+ Mountain: "Montagne",
92712
+ Orchard: "Verger",
92713
+ Parade: "Promenade",
92714
+ Park: "Parc",
92715
+ Parkway: "Promenade parc",
92716
+ Passage: "Passage",
92717
+ Path: "Sentier",
92718
+ Pathway: "Sentier",
92719
+ Pines: "Pins",
92720
+ Place: "Place",
92721
+ Plateau: "Plateau",
92722
+ Plaza: "Plaza",
92723
+ Point: "Pointe",
92724
+ Port: "Port",
92725
+ Private: "Priv\xE9e",
92726
+ Promenade: "Promenade",
92727
+ Quay: "Quai",
92728
+ Ramp: "Rampe",
92729
+ Ridge: "Cr\xEAte",
92730
+ Rise: "Mont\xE9e",
92731
+ Road: "Route",
92732
+ Route: "Route",
92733
+ Row: "Rang\xE9e",
92734
+ Run: "Ruisseau",
92735
+ Square: "Square",
92736
+ Street: "Rue",
92737
+ Subdivision: "Subdivision",
92738
+ Terrace: "Terrasse",
92739
+ Thicket: "Hallier",
92740
+ Towers: "Tours",
92741
+ Townline: "Limite de canton",
92742
+ Trail: "Sentier",
92743
+ Turnabout: "Rond-point",
92744
+ Vale: "Val",
92745
+ Via: "Via",
92746
+ View: "Vue",
92747
+ Village: "Village",
92748
+ Villas: "Villas",
92749
+ Vista: "Panorama",
92750
+ Walk: "Promenade",
92751
+ Way: "Voie",
92752
+ Wharf: "Quai",
92753
+ Wood: "Bois",
92754
+ Wynd: "Ruelle"
92755
+ };
92756
+ }
92757
+ });
92758
+
92180
92759
  // src/main.ts
92181
92760
  var require_main = __commonJS({
92182
92761
  "src/main.ts"(exports$1) {
@@ -92185,9 +92764,29 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
92185
92764
  init_filing_component();
92186
92765
  init_animations();
92187
92766
  init_core2();
92767
+ init_ngx_translate_core();
92768
+ init_en();
92769
+ init_esm();
92770
+ init_fr();
92188
92771
  (() => __async(null, null, function* () {
92189
92772
  const app = yield createApplication({
92190
- providers: [provideAnimations(), provideNativeDateAdapter()]
92773
+ providers: [
92774
+ provideAnimations(),
92775
+ provideNativeDateAdapter(),
92776
+ provideTranslateService({
92777
+ loader: {
92778
+ provide: TranslateLoader,
92779
+ useFactory: () => ({
92780
+ getTranslation: (lan) => {
92781
+ if (lan === "fr") {
92782
+ return of(fr_default);
92783
+ }
92784
+ return of(en_default);
92785
+ }
92786
+ })
92787
+ }
92788
+ })
92789
+ ]
92191
92790
  });
92192
92791
  const filingElement = createCustomElement(FilingComponent, {
92193
92792
  injector: app.injector
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyedurham/search-and-file-widget",
3
- "version": "1.3.6",
3
+ "version": "1.3.8",
4
4
  "description": "",
5
5
  "main": "dnd-filing-shell.js",
6
6
  "scripts": {