@dyedurham/search-and-file-widget 2.1.31 → 2.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dnd-filing-shell.js +0 -26
- package/package.json +1 -1
package/dnd-filing-shell.js
CHANGED
|
@@ -96961,35 +96961,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96961
96961
|
if (isUpdateMaintain(task)) {
|
|
96962
96962
|
this.serviceOrderId = "";
|
|
96963
96963
|
void this.getCurrentData();
|
|
96964
|
-
} else if (isChangeOfPrincipalsTask(task) && isBritishColumbiaTask(task)) {
|
|
96965
|
-
this.bcDataExtractTaskId = "";
|
|
96966
|
-
void this.refreshBritishColumbiaCurrentDataExtract();
|
|
96967
96964
|
}
|
|
96968
96965
|
this.activeStep.set(Step.Validate);
|
|
96969
96966
|
}
|
|
96970
|
-
refreshBritishColumbiaCurrentDataExtract() {
|
|
96971
|
-
return __async(this, null, function* () {
|
|
96972
|
-
const task = this.task();
|
|
96973
|
-
const signature = this._signature();
|
|
96974
|
-
if (!task || !signature || !isChangeOfPrincipalsTask(task))
|
|
96975
|
-
return;
|
|
96976
|
-
const { request, issues } = buildBritishColumbiaDataExtractOrder(task, task.deltaData?.companyPassword);
|
|
96977
|
-
if (issues.length) {
|
|
96978
|
-
this.errors.set(issues);
|
|
96979
|
-
return;
|
|
96980
|
-
}
|
|
96981
|
-
this.isLoading.set(true);
|
|
96982
|
-
try {
|
|
96983
|
-
this.bcCurrentDataServiceOrderId = yield this.britishColumbiaChangeOfDirectorsService.ensureCurrentDataExtract(signature, request, this.validateOptions() ?? {});
|
|
96984
|
-
this.currentDataExtract.set(this.britishColumbiaChangeOfDirectorsService.getCurrentDataExtract());
|
|
96985
|
-
this.bcDataExtractTaskId = task._id;
|
|
96986
|
-
} catch (error) {
|
|
96987
|
-
this.handleCatchError(error);
|
|
96988
|
-
} finally {
|
|
96989
|
-
this.isLoading.set(false);
|
|
96990
|
-
}
|
|
96991
|
-
});
|
|
96992
|
-
}
|
|
96993
96967
|
parseError(errors) {
|
|
96994
96968
|
return errors.map((item) => (item["ErrorMessage"] ?? item["Message"] ?? "").toString().trim()).filter((message) => message.length > 0);
|
|
96995
96969
|
}
|