@social-mail/social-mail-client 1.4.90 → 1.4.92
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 +4 -1
- package/dist/admin/AdminAppIndex.pack.js.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/controls/collection-editor/CollectionEditorEx.js +4 -1
- package/dist/common/controls/collection-editor/CollectionEditorEx.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +21 -4
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/site-editor-app/pages/store/products/ProductEditor.d.ts +3 -0
- package/dist/site-editor-app/pages/store/products/ProductEditor.d.ts.map +1 -1
- package/dist/site-editor-app/pages/store/products/ProductEditor.js +17 -3
- package/dist/site-editor-app/pages/store/products/ProductEditor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/page/mails/MailboxContacts.d.ts.map +1 -1
- package/dist/web/page/mails/MailboxContacts.js.map +1 -1
- package/package.json +1 -1
- package/src/common/controls/collection-editor/CollectionEditorEx.tsx +8 -1
- package/src/site-editor-app/pages/store/products/ProductEditor.tsx +15 -1
- package/src/web/page/mails/MailboxContacts.tsx +1 -4
|
@@ -25973,6 +25973,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
25973
25973
|
this.relation = null;
|
|
25974
25974
|
this.element.setAttribute("data-collection-editor-ex", "collection-editor-ex");
|
|
25975
25975
|
this.runAfterInit(() => this.app.runAsync(() => this.init()));
|
|
25976
|
+
this.bindEvent(document.body, "deleteCollectionItem", ce => !ce.defaultPrevented && this.deleteItem(ce.detail));
|
|
25976
25977
|
}
|
|
25977
25978
|
init() {
|
|
25978
25979
|
var _a;
|
|
@@ -26002,7 +26003,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
26002
26003
|
}), XNode.create("div", null, XNode.create(AtomRepeater, {
|
|
26003
26004
|
presenter: Bind.presenter(c => this.repeater = c),
|
|
26004
26005
|
"data-layout": this.layout,
|
|
26005
|
-
"event-delete-collection-item": ce => this.deleteItem(ce.detail),
|
|
26006
26006
|
items: Bind.oneWay(() => this.items),
|
|
26007
26007
|
footer: Bind.oneWay(() => {
|
|
26008
26008
|
var _a;
|
|
@@ -26030,6 +26030,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
26030
26030
|
itemRenderer: item => {
|
|
26031
26031
|
var _a, _b;
|
|
26032
26032
|
const node = this.itemRenderer(item);
|
|
26033
|
+
if (!node) {
|
|
26034
|
+
return XNode.create("div", null);
|
|
26035
|
+
}
|
|
26033
26036
|
const na = (_a = node.attributes) !== null && _a !== void 0 ? _a : node.attributes = {};
|
|
26034
26037
|
na["data-margin"] = "default";
|
|
26035
26038
|
node.children.push(XNode.create("span", null, XNode.create(DeleteIconButton, {
|