@dyedurham/search-and-file-widget 2.1.28 → 2.1.29
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 +11 -19
- package/package.json +1 -1
package/dnd-filing-shell.js
CHANGED
|
@@ -95690,7 +95690,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95690
95690
|
}, opts);
|
|
95691
95691
|
const id = body?.currentDataServiceOrderId ?? body?.CurrentDataServiceOrderId;
|
|
95692
95692
|
if (!ok || !id || String(body?.status ?? "").toLowerCase() === "failed") {
|
|
95693
|
-
throw this.failure(status, "
|
|
95693
|
+
throw this.failure(status, "BC current data extract order failed", body, raw);
|
|
95694
95694
|
}
|
|
95695
95695
|
return String(id);
|
|
95696
95696
|
});
|
|
@@ -95707,7 +95707,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
95707
95707
|
return body ?? {};
|
|
95708
95708
|
}
|
|
95709
95709
|
if (!ok || state2 === "failed" || state2 === "sourceunavailable") {
|
|
95710
|
-
throw this.failure(status, "
|
|
95710
|
+
throw this.failure(status, "BC current data extract failed", body, raw);
|
|
95711
95711
|
}
|
|
95712
95712
|
if (Date.now() >= deadline) {
|
|
95713
95713
|
throw new Error("The registry is still preparing the current data after 10 minutes. Please try again later.");
|
|
@@ -96180,7 +96180,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96180
96180
|
init_british_columbia_change_of_directors_service();
|
|
96181
96181
|
init_british_columbia_change_of_directors_mapper();
|
|
96182
96182
|
init_british_columbia_maintenance_service();
|
|
96183
|
-
init_british_columbia_change_of_office_addresses_form_helper();
|
|
96184
96183
|
init_british_columbia_change_of_office_addresses_mapper();
|
|
96185
96184
|
init_core();
|
|
96186
96185
|
init_button();
|
|
@@ -96366,8 +96365,8 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96366
96365
|
}
|
|
96367
96366
|
/**
|
|
96368
96367
|
* Orders the registry's current office addresses as soon as the Change of Office Addresses opens,
|
|
96369
|
-
* so each office shows its registry address as "Previous". If the registry is unavailable the
|
|
96370
|
-
* falls back to the Entity's own addresses, and Validate orders the extract again.
|
|
96368
|
+
* so each office shows its registry address as "Previous". If the registry is unavailable the error
|
|
96369
|
+
* is shown, the form falls back to the Entity's own addresses, and Validate orders the extract again.
|
|
96371
96370
|
*/
|
|
96372
96371
|
loadBritishColumbiaOfficeAddressExtract(task) {
|
|
96373
96372
|
return __async(this, null, function* () {
|
|
@@ -96394,7 +96393,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96394
96393
|
if (isActive()) {
|
|
96395
96394
|
this.bcCoaExtractId = "";
|
|
96396
96395
|
this.currentDataExtract.set(void 0);
|
|
96397
|
-
|
|
96396
|
+
this.handleCatchError(error);
|
|
96398
96397
|
}
|
|
96399
96398
|
} finally {
|
|
96400
96399
|
if (isLatest()) {
|
|
@@ -96708,19 +96707,12 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96708
96707
|
this.errors.set([]);
|
|
96709
96708
|
const opts = this.validateOptions() ?? {};
|
|
96710
96709
|
const context2 = this.getBritishColumbiaOfficeAddressContext(task, signature);
|
|
96711
|
-
|
|
96712
|
-
let filingData = deltaData;
|
|
96710
|
+
const extractId = this.bcCoaExtractId;
|
|
96713
96711
|
if (!extractId) {
|
|
96714
|
-
|
|
96715
|
-
|
|
96716
|
-
this.bcCoaExtractId = extractId;
|
|
96717
|
-
const { registeredOffice, recordsOffice } = BritishColumbiaChangeOfOfficeAddressesFormHelper.resolveOfficeAddresses(task, extract);
|
|
96718
|
-
filingData = __spreadProps(__spreadValues({}, deltaData), {
|
|
96719
|
-
registeredOffice: registeredOffice ?? deltaData.registeredOffice,
|
|
96720
|
-
recordsOffice: recordsOffice ?? deltaData.recordsOffice
|
|
96721
|
-
});
|
|
96712
|
+
this.errors.set(["The current BC data extract is not ready yet. Please wait and try again."]);
|
|
96713
|
+
return;
|
|
96722
96714
|
}
|
|
96723
|
-
const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task,
|
|
96715
|
+
const requestBody = buildBCChangeOfOfficeAddressesValidateRequest(task, deltaData);
|
|
96724
96716
|
const response = yield this.bcMaintenanceService.validate(signature, requestBody, extractId, context2, opts);
|
|
96725
96717
|
if (this.hasResponseErrors(response))
|
|
96726
96718
|
return;
|
|
@@ -96738,7 +96730,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
96738
96730
|
documentType: "pdf"
|
|
96739
96731
|
});
|
|
96740
96732
|
}
|
|
96741
|
-
this.deltaDataChange.emit(__spreadProps(__spreadValues({},
|
|
96733
|
+
this.deltaDataChange.emit(__spreadProps(__spreadValues({}, deltaData), {
|
|
96742
96734
|
serviceOrderId,
|
|
96743
96735
|
// The corporation number is added by the service, not by the request builder, so it is
|
|
96744
96736
|
// stored explicitly (the access code is deliberately left out) to detect entity changes.
|
|
@@ -97374,7 +97366,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
97374
97366
|
}], () => [], null);
|
|
97375
97367
|
})();
|
|
97376
97368
|
(() => {
|
|
97377
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber:
|
|
97369
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FilingComponent, { className: "FilingComponent", filePath: "src/app/components/filing/filing.component.ts", lineNumber: 98 });
|
|
97378
97370
|
})();
|
|
97379
97371
|
}
|
|
97380
97372
|
});
|