@social-mail/social-mail-client 1.4.103 → 1.4.104
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/dist/admin/AdminAppIndex.pack.js +17 -4
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.local.less.css +23 -5
- package/dist/admin/AdminAppIndex.pack.local.less.css.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/date/DateFormats.d.ts +3 -1
- package/dist/common/date/DateFormats.d.ts.map +1 -1
- package/dist/common/date/DateFormats.js +13 -2
- package/dist/common/date/DateFormats.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.js +13 -2
- package/dist/public/channel/ChannelApp.pack.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
- package/dist/public/store/StoreApp.pack.js +13 -2
- package/dist/public/store/StoreApp.pack.js.map +1 -1
- package/dist/public/store/StoreApp.pack.min.js +1 -1
- package/dist/public/store/StoreApp.pack.min.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +17 -4
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.local.less.css +23 -5
- package/dist/site-editor-app/SiteEditorApp.pack.local.less.css.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +2 -2
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +17 -4
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.local.less.css +23 -5
- package/dist/web/AppIndex.pack.local.less.css.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/page/mails/MailboxContacts.js +4 -2
- package/dist/web/page/mails/MailboxContacts.js.map +1 -1
- package/dist/web/page/mails/styles/mailbox-contacts.local.less.css +23 -5
- package/dist/web/page/mails/styles/mailbox-contacts.local.less.css.map +1 -1
- package/package.json +1 -1
- package/src/common/date/DateFormats.ts +9 -2
- package/src/web/page/mails/MailboxContacts.tsx +2 -2
- package/src/web/page/mails/styles/mailbox-contacts.local.less +24 -5
|
@@ -32100,7 +32100,11 @@ System.register(["@web-atoms/date-time/dist/DateTime"], function (_export, _cont
|
|
|
32100
32100
|
})) !== null && _a !== void 0 ? _a : def;
|
|
32101
32101
|
},
|
|
32102
32102
|
relative: {
|
|
32103
|
-
short(d
|
|
32103
|
+
short(d, {
|
|
32104
|
+
suffix
|
|
32105
|
+
} = {
|
|
32106
|
+
suffix: "ago"
|
|
32107
|
+
}) {
|
|
32104
32108
|
if (!d) {
|
|
32105
32109
|
return "";
|
|
32106
32110
|
}
|
|
@@ -32109,7 +32113,14 @@ System.register(["@web-atoms/date-time/dist/DateTime"], function (_export, _cont
|
|
|
32109
32113
|
if (now < d) {
|
|
32110
32114
|
return "in " + DateFormats.diff(d);
|
|
32111
32115
|
}
|
|
32112
|
-
|
|
32116
|
+
const diff = DateFormats.diff(d);
|
|
32117
|
+
if (diff === "now") {
|
|
32118
|
+
return "now";
|
|
32119
|
+
}
|
|
32120
|
+
if (!suffix) {
|
|
32121
|
+
return diff;
|
|
32122
|
+
}
|
|
32123
|
+
return diff + " " + suffix;
|
|
32113
32124
|
}
|
|
32114
32125
|
}
|
|
32115
32126
|
});
|
|
@@ -39969,12 +39980,14 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
39969
39980
|
text: item.unread,
|
|
39970
39981
|
title: `Unread ${item.unread} out of ${item.total}`
|
|
39971
39982
|
}), item.openThreads && XNode.create("div", {
|
|
39972
|
-
class: "threads",
|
|
39983
|
+
class: "open-threads",
|
|
39973
39984
|
text: toKMBString(item.openThreads)
|
|
39974
39985
|
}), XNode.create("div", {
|
|
39975
39986
|
class: "updated",
|
|
39976
39987
|
title: DateFormats.withWeekDayAndTime(item.dateUpdated),
|
|
39977
|
-
text: DateFormats.relative.short(item.dateUpdated
|
|
39988
|
+
text: DateFormats.relative.short(item.dateUpdated, {
|
|
39989
|
+
suffix: ""
|
|
39990
|
+
})
|
|
39978
39991
|
}));
|
|
39979
39992
|
}
|
|
39980
39993
|
})), XNode.create("div", {
|