@social-mail/social-mail-client 1.2.367 → 1.2.368
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 +12 -9
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +2 -2
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +12 -9
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +1 -1
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/public/store/Store.pack.js +9 -6
- package/dist/public/store/Store.pack.js.map +1 -1
- package/dist/public/store/Store.pack.min.js +1 -1
- package/dist/public/store/Store.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +12 -9
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +2 -2
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/page/mails/service/ConversationService.js +3 -3
- package/dist/web/page/mails/service/ConversationService.js.map +1 -1
- package/node_modules/@web-atoms/web-controls/dist/basic/AtomRepeater.d.ts.map +1 -1
- package/node_modules/@web-atoms/web-controls/dist/basic/AtomRepeater.js +9 -6
- package/node_modules/@web-atoms/web-controls/dist/basic/AtomRepeater.js.map +1 -1
- package/node_modules/@web-atoms/web-controls/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@web-atoms/web-controls/package.json +1 -1
- package/node_modules/@web-atoms/web-controls/src/basic/AtomRepeater.tsx +9 -8
- package/package.json +2 -2
- package/src/web/page/mails/service/ConversationService.tsx +1 -1
|
@@ -12902,7 +12902,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/AtomBinder", "@web-atoms/co
|
|
|
12902
12902
|
_export("SameObjectValue", SameObjectValue = item => item);
|
|
12903
12903
|
SelectAllControl = class SelectAllControl extends AtomControl {
|
|
12904
12904
|
preCreate() {
|
|
12905
|
-
this.element.
|
|
12905
|
+
this.element.setAttribute("data-select-all", "select-all");
|
|
12906
12906
|
this.items = [];
|
|
12907
12907
|
this.selectedItems = [];
|
|
12908
12908
|
this.render(XNode.create(SelectAllControl, {
|
|
@@ -13141,7 +13141,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/AtomBinder", "@web-atoms/co
|
|
|
13141
13141
|
const items = this.items;
|
|
13142
13142
|
let start = getFirstChild(container);
|
|
13143
13143
|
while (start) {
|
|
13144
|
-
const index = start.
|
|
13144
|
+
const index = start.getAttribute("data-item-index");
|
|
13145
13145
|
const item = items[~~index];
|
|
13146
13146
|
action(item, start);
|
|
13147
13147
|
start = start.nextElementSibling;
|
|
@@ -13153,7 +13153,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/AtomBinder", "@web-atoms/co
|
|
|
13153
13153
|
const items = this.items;
|
|
13154
13154
|
let node = getFirstChild(container);
|
|
13155
13155
|
while (node) {
|
|
13156
|
-
const index = node.
|
|
13156
|
+
const index = node.getAttribute("data-item-index");
|
|
13157
13157
|
const item = items[~~index];
|
|
13158
13158
|
let element = node;
|
|
13159
13159
|
if (itemSelector) {
|
|
@@ -13179,7 +13179,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/AtomBinder", "@web-atoms/co
|
|
|
13179
13179
|
const items = this.items;
|
|
13180
13180
|
let element = getFirstChild(container);
|
|
13181
13181
|
while (element) {
|
|
13182
|
-
const index = element.
|
|
13182
|
+
const index = element.getAttribute("data-item-index");
|
|
13183
13183
|
const item = items[~~index];
|
|
13184
13184
|
yield {
|
|
13185
13185
|
item,
|
|
@@ -13347,6 +13347,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/AtomBinder", "@web-atoms/co
|
|
|
13347
13347
|
start.removeAttribute("data-selected-item");
|
|
13348
13348
|
}
|
|
13349
13349
|
start = start.nextElementSibling;
|
|
13350
|
+
if (start.hasAttribute("data-footer")) {
|
|
13351
|
+
break;
|
|
13352
|
+
}
|
|
13350
13353
|
}
|
|
13351
13354
|
}
|
|
13352
13355
|
updateItems(container, force) {
|
|
@@ -13432,7 +13435,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/AtomBinder", "@web-atoms/co
|
|
|
13432
13435
|
const vp = (_b = this.valuePath) !== null && _b !== void 0 ? _b : i => i;
|
|
13433
13436
|
const si = ((_c = this.selectedItems) !== null && _c !== void 0 ? _c : []).map(vp);
|
|
13434
13437
|
while (element) {
|
|
13435
|
-
const index = ~~element.
|
|
13438
|
+
const index = ~~element.getAttribute("data-item-index");
|
|
13436
13439
|
const item = items[index];
|
|
13437
13440
|
const v = vp(item);
|
|
13438
13441
|
if (si.indexOf(v) !== -1) {
|
|
@@ -13450,7 +13453,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/AtomBinder", "@web-atoms/co
|
|
|
13450
13453
|
let element = container.firstElementChild;
|
|
13451
13454
|
const vf = (_b = this.visibilityFilter) !== null && _b !== void 0 ? _b : MatchTrue;
|
|
13452
13455
|
while (element) {
|
|
13453
|
-
const index = ~~element.
|
|
13456
|
+
const index = ~~element.getAttribute("data-item-index");
|
|
13454
13457
|
const item = items[index];
|
|
13455
13458
|
if (vf(item)) {
|
|
13456
13459
|
element.removeAttribute("data-ui-display");
|
|
@@ -23275,7 +23278,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
23275
23278
|
}],
|
|
23276
23279
|
execute: function () {
|
|
23277
23280
|
_export("renderMail", renderMail = AtomControl.registerProperty("data-html", "html", (c, e, value) => {
|
|
23278
|
-
var _a;
|
|
23281
|
+
var _a, _b;
|
|
23279
23282
|
if (!value) {
|
|
23280
23283
|
e.innerHTML = "";
|
|
23281
23284
|
return;
|
|
@@ -23308,7 +23311,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
23308
23311
|
if (src) {
|
|
23309
23312
|
if (src.startsWith("cid:")) {
|
|
23310
23313
|
cid = src.substring(4);
|
|
23311
|
-
const a = mail.attachments.find(x => x.contentID === cid);
|
|
23314
|
+
const a = (_a = mail.attachments) === null || _a === void 0 ? void 0 : _a.find(x => x.contentID === cid);
|
|
23312
23315
|
if (a) {
|
|
23313
23316
|
iterator.setAttribute("src", apiPath(`/api/files/${a.appFileID}/${a.fileContentID}/${a.name}`));
|
|
23314
23317
|
}
|
|
@@ -23327,7 +23330,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
23327
23330
|
mode: "open"
|
|
23328
23331
|
});
|
|
23329
23332
|
shadow.appendChild(msg);
|
|
23330
|
-
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((
|
|
23333
|
+
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_b = thread.email) === null || _b === void 0 ? void 0 : _b.senderID)) {
|
|
23331
23334
|
const timeRead = DateTime.now;
|
|
23332
23335
|
thread.timeRead = timeRead;
|
|
23333
23336
|
const control = AtomControl.from(e);
|