@dloizides/auth-web 1.25.0 → 1.25.1
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/CHANGELOG.md +5 -0
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.25.1
|
|
4
|
+
|
|
5
|
+
**Deletion date as yyyy-MM-dd (BEAD-1 "Bead pattern app" step 15).** `<AccountDeletionForm>` shows the scheduled deletion
|
|
6
|
+
date as the UTC calendar day in `yyyy-MM-dd`, matching the server pages, instead of the viewer's locale and timezone.
|
|
7
|
+
|
|
3
8
|
## 1.25.0
|
|
4
9
|
|
|
5
10
|
**Opt-in hidden tenant name (BEAD-1 "Bead pattern app", D-RUN-33 "Jinx sign-up drops the Workspace name box").**
|
package/dist/index.js
CHANGED
|
@@ -5829,6 +5829,13 @@ var AccountDeletionTestIds = {
|
|
|
5829
5829
|
emailNotSent: "account-deletion-email-not-sent",
|
|
5830
5830
|
alreadyRequested: "account-deletion-already-requested"
|
|
5831
5831
|
};
|
|
5832
|
+
|
|
5833
|
+
// src/components/scheduledDetail.ts
|
|
5834
|
+
var ISO_CALENDAR_DATE_LENGTH = 10;
|
|
5835
|
+
function scheduledDetail(receipt, labels) {
|
|
5836
|
+
const date = new Date(receipt?.scheduledDeletionDate ?? "");
|
|
5837
|
+
return Number.isNaN(date.getTime()) ? null : interpolate(labels.scheduledDate, { date: date.toISOString().slice(0, ISO_CALENDAR_DATE_LENGTH) });
|
|
5838
|
+
}
|
|
5832
5839
|
function errorText(errorKey, seconds, labels) {
|
|
5833
5840
|
switch (errorKey) {
|
|
5834
5841
|
case null:
|
|
@@ -5847,10 +5854,6 @@ function errorText(errorKey, seconds, labels) {
|
|
|
5847
5854
|
return labels.errorFailed;
|
|
5848
5855
|
}
|
|
5849
5856
|
}
|
|
5850
|
-
function scheduledDetail(receipt, labels) {
|
|
5851
|
-
const date = new Date(receipt?.scheduledDeletionDate ?? "");
|
|
5852
|
-
return Number.isNaN(date.getTime()) ? null : interpolate(labels.scheduledDate, { date: date.toLocaleDateString() });
|
|
5853
|
-
}
|
|
5854
5857
|
function noticeCopy(phase, receipt, labels) {
|
|
5855
5858
|
if (phase === "alreadyRequested" /* AlreadyRequested */) {
|
|
5856
5859
|
return {
|