@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
|
@@ -19852,7 +19852,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/AtomBinder", "@web-atoms/co
|
|
|
19852
19852
|
_export("SameObjectValue", SameObjectValue = item => item);
|
|
19853
19853
|
SelectAllControl = class SelectAllControl extends AtomControl {
|
|
19854
19854
|
preCreate() {
|
|
19855
|
-
this.element.
|
|
19855
|
+
this.element.setAttribute("data-select-all", "select-all");
|
|
19856
19856
|
this.items = [];
|
|
19857
19857
|
this.selectedItems = [];
|
|
19858
19858
|
this.render(XNode.create(SelectAllControl, {
|
|
@@ -20091,7 +20091,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/AtomBinder", "@web-atoms/co
|
|
|
20091
20091
|
const items = this.items;
|
|
20092
20092
|
let start = getFirstChild(container);
|
|
20093
20093
|
while (start) {
|
|
20094
|
-
const index = start.
|
|
20094
|
+
const index = start.getAttribute("data-item-index");
|
|
20095
20095
|
const item = items[~~index];
|
|
20096
20096
|
action(item, start);
|
|
20097
20097
|
start = start.nextElementSibling;
|
|
@@ -20103,7 +20103,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/AtomBinder", "@web-atoms/co
|
|
|
20103
20103
|
const items = this.items;
|
|
20104
20104
|
let node = getFirstChild(container);
|
|
20105
20105
|
while (node) {
|
|
20106
|
-
const index = node.
|
|
20106
|
+
const index = node.getAttribute("data-item-index");
|
|
20107
20107
|
const item = items[~~index];
|
|
20108
20108
|
let element = node;
|
|
20109
20109
|
if (itemSelector) {
|
|
@@ -20129,7 +20129,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/AtomBinder", "@web-atoms/co
|
|
|
20129
20129
|
const items = this.items;
|
|
20130
20130
|
let element = getFirstChild(container);
|
|
20131
20131
|
while (element) {
|
|
20132
|
-
const index = element.
|
|
20132
|
+
const index = element.getAttribute("data-item-index");
|
|
20133
20133
|
const item = items[~~index];
|
|
20134
20134
|
yield {
|
|
20135
20135
|
item,
|
|
@@ -20297,6 +20297,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/AtomBinder", "@web-atoms/co
|
|
|
20297
20297
|
start.removeAttribute("data-selected-item");
|
|
20298
20298
|
}
|
|
20299
20299
|
start = start.nextElementSibling;
|
|
20300
|
+
if (start.hasAttribute("data-footer")) {
|
|
20301
|
+
break;
|
|
20302
|
+
}
|
|
20300
20303
|
}
|
|
20301
20304
|
}
|
|
20302
20305
|
updateItems(container, force) {
|
|
@@ -20382,7 +20385,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/AtomBinder", "@web-atoms/co
|
|
|
20382
20385
|
const vp = (_b = this.valuePath) !== null && _b !== void 0 ? _b : i => i;
|
|
20383
20386
|
const si = ((_c = this.selectedItems) !== null && _c !== void 0 ? _c : []).map(vp);
|
|
20384
20387
|
while (element) {
|
|
20385
|
-
const index = ~~element.
|
|
20388
|
+
const index = ~~element.getAttribute("data-item-index");
|
|
20386
20389
|
const item = items[index];
|
|
20387
20390
|
const v = vp(item);
|
|
20388
20391
|
if (si.indexOf(v) !== -1) {
|
|
@@ -20400,7 +20403,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/AtomBinder", "@web-atoms/co
|
|
|
20400
20403
|
let element = container.firstElementChild;
|
|
20401
20404
|
const vf = (_b = this.visibilityFilter) !== null && _b !== void 0 ? _b : MatchTrue;
|
|
20402
20405
|
while (element) {
|
|
20403
|
-
const index = ~~element.
|
|
20406
|
+
const index = ~~element.getAttribute("data-item-index");
|
|
20404
20407
|
const item = items[index];
|
|
20405
20408
|
if (vf(item)) {
|
|
20406
20409
|
element.removeAttribute("data-ui-display");
|
|
@@ -27367,7 +27370,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
27367
27370
|
}],
|
|
27368
27371
|
execute: function () {
|
|
27369
27372
|
_export("renderMail", renderMail = AtomControl.registerProperty("data-html", "html", (c, e, value) => {
|
|
27370
|
-
var _a;
|
|
27373
|
+
var _a, _b;
|
|
27371
27374
|
if (!value) {
|
|
27372
27375
|
e.innerHTML = "";
|
|
27373
27376
|
return;
|
|
@@ -27400,7 +27403,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
27400
27403
|
if (src) {
|
|
27401
27404
|
if (src.startsWith("cid:")) {
|
|
27402
27405
|
cid = src.substring(4);
|
|
27403
|
-
const a = mail.attachments.find(x => x.contentID === cid);
|
|
27406
|
+
const a = (_a = mail.attachments) === null || _a === void 0 ? void 0 : _a.find(x => x.contentID === cid);
|
|
27404
27407
|
if (a) {
|
|
27405
27408
|
iterator.setAttribute("src", apiPath(`/api/files/${a.appFileID}/${a.fileContentID}/${a.name}`));
|
|
27406
27409
|
}
|
|
@@ -27419,7 +27422,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
27419
27422
|
mode: "open"
|
|
27420
27423
|
});
|
|
27421
27424
|
shadow.appendChild(msg);
|
|
27422
|
-
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((
|
|
27425
|
+
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_b = thread.email) === null || _b === void 0 ? void 0 : _b.senderID)) {
|
|
27423
27426
|
const timeRead = DateTime.now;
|
|
27424
27427
|
thread.timeRead = timeRead;
|
|
27425
27428
|
const control = AtomControl.from(e);
|