@social-mail/social-mail-client 1.8.379 → 1.8.381
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 +28 -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.d.ts +1 -0
- package/dist/common/controls/collection-editor/CollectionEditorEx.d.ts.map +1 -1
- package/dist/common/controls/collection-editor/CollectionEditorEx.js +27 -1
- package/dist/common/controls/collection-editor/CollectionEditorEx.js.map +1 -1
- package/dist/common/pages/mailboxes/MailboxDetailPage.d.ts.map +1 -1
- package/dist/common/pages/mailboxes/MailboxDetailPage.js +1 -0
- package/dist/common/pages/mailboxes/MailboxDetailPage.js.map +1 -1
- package/dist/site-editor/properties/Properties.d.ts.map +1 -1
- package/dist/site-editor/properties/Properties.js +5 -3
- package/dist/site-editor/properties/Properties.js.map +1 -1
- package/dist/site-editor/properties/groups/AnimatedMaskGroupEditor.d.ts +2 -0
- package/dist/site-editor/properties/groups/AnimatedMaskGroupEditor.d.ts.map +1 -0
- package/dist/site-editor/properties/groups/AnimatedMaskGroupEditor.js +26 -0
- package/dist/site-editor/properties/groups/AnimatedMaskGroupEditor.js.map +1 -0
- package/dist/site-editor-app/SiteEditorApp.pack.js +63 -5
- 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/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +28 -1
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/common/controls/collection-editor/CollectionEditorEx.tsx +23 -1
- package/src/common/pages/mailboxes/MailboxDetailPage.tsx +1 -0
- package/src/site-editor/properties/Properties.tsx +2 -1
- package/src/site-editor/properties/groups/AnimatedMaskGroupEditor.tsx +14 -0
- package/styler-lite/styler.css +1 -1
- package/styler-lite/styler.css.map +1 -1
- package/styler-lite/styles/animations/mask-animations.css +35 -0
|
@@ -27557,7 +27557,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
27557
27557
|
System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-controls/dist/basic/AtomRepeater", "@web-atoms/core/dist/core/ExpressionParser", "../buttons/IconButton", "@web-atoms/web-controls/dist/PageNavigator", "@web-atoms/core/dist/core/Bind", "../../../services/EntityService", "../../../model/model", "@web-atoms/core/dist/web/controls/AtomControl", "@web-atoms/core/dist/view-model/Action", "./CollectionEditorEx.global.css", "@web-atoms/core/dist/web/services/PopupService"], function (_export, _context) {
|
|
27558
27558
|
"use strict";
|
|
27559
27559
|
|
|
27560
|
-
var __awaiter, __decorate, __metadata, XNode, AtomRepeater, ExpressionParser, AddIconTextButton, DeleteIconButton, PageNavigator, Bind, EntityService, modelEntitySchemas, AtomControl, Action, PopupService, ValidationContext, CollectionEditorEx, hasKeys;
|
|
27560
|
+
var __awaiter, __decorate, __metadata, XNode, AtomRepeater, ExpressionParser, AddIconTextButton, DeleteIconButton, EditIconButton, PageNavigator, Bind, EntityService, modelEntitySchemas, AtomControl, Action, PopupService, ValidationContext, CollectionEditorEx, hasKeys;
|
|
27561
27561
|
_export({
|
|
27562
27562
|
ValidationContext: void 0,
|
|
27563
27563
|
default: void 0
|
|
@@ -27576,6 +27576,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
27576
27576
|
}, function (_buttonsIconButton) {
|
|
27577
27577
|
AddIconTextButton = _buttonsIconButton.AddIconTextButton;
|
|
27578
27578
|
DeleteIconButton = _buttonsIconButton.DeleteIconButton;
|
|
27579
|
+
EditIconButton = _buttonsIconButton.EditIconButton;
|
|
27579
27580
|
}, function (_webAtomsWebControlsDistPageNavigator) {
|
|
27580
27581
|
PageNavigator = _webAtomsWebControlsDistPageNavigator.default;
|
|
27581
27582
|
}, function (_webAtomsCoreDistCoreBind) {
|
|
@@ -27700,6 +27701,11 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
27700
27701
|
}
|
|
27701
27702
|
const na = (_a = node.attributes) !== null && _a !== void 0 ? _a : node.attributes = {};
|
|
27702
27703
|
na["data-margin"] = "default";
|
|
27704
|
+
if (this.editPage) {
|
|
27705
|
+
node.children.push(XNode.create("span", null, XNode.create(EditIconButton, {
|
|
27706
|
+
"data-click-event": "edit-collection-item"
|
|
27707
|
+
})));
|
|
27708
|
+
}
|
|
27703
27709
|
node.children.push(XNode.create("span", null, XNode.create(DeleteIconButton, {
|
|
27704
27710
|
"data-click-event": "delete-collection-item"
|
|
27705
27711
|
})));
|
|
@@ -27735,6 +27741,23 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
27735
27741
|
items.remove(item);
|
|
27736
27742
|
});
|
|
27737
27743
|
}
|
|
27744
|
+
editItem(item) {
|
|
27745
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
27746
|
+
const {
|
|
27747
|
+
editPage
|
|
27748
|
+
} = this;
|
|
27749
|
+
const edited = yield PageNavigator.pushPageForResult(editPage, Object.assign({}, item));
|
|
27750
|
+
if (!edited) {
|
|
27751
|
+
return;
|
|
27752
|
+
}
|
|
27753
|
+
for (const key in edited) {
|
|
27754
|
+
if (Object.prototype.hasOwnProperty.call(edited, key)) {
|
|
27755
|
+
const element = edited[key];
|
|
27756
|
+
item[key] = element;
|
|
27757
|
+
}
|
|
27758
|
+
}
|
|
27759
|
+
});
|
|
27760
|
+
}
|
|
27738
27761
|
onAddItem() {
|
|
27739
27762
|
return __awaiter(this, void 0, void 0, function* () {
|
|
27740
27763
|
var _a;
|
|
@@ -27801,6 +27824,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
27801
27824
|
confirm: "Are you sure you want to delete this?",
|
|
27802
27825
|
confirmTitle: "Confirm Delete"
|
|
27803
27826
|
}), __metadata("design:type", Function), __metadata("design:paramtypes", [Object]), __metadata("design:returntype", Promise)], CollectionEditorEx.prototype, "deleteItem", null);
|
|
27827
|
+
__decorate([Action({
|
|
27828
|
+
onEvent: "edit-collection-item"
|
|
27829
|
+
}), __metadata("design:type", Function), __metadata("design:paramtypes", [Object]), __metadata("design:returntype", Promise)], CollectionEditorEx.prototype, "editItem", null);
|
|
27804
27830
|
__decorate([Action({}), __metadata("design:type", Function), __metadata("design:paramtypes", []), __metadata("design:returntype", Promise)], CollectionEditorEx.prototype, "onAddItem", null);
|
|
27805
27831
|
}
|
|
27806
27832
|
};
|
|
@@ -48585,6 +48611,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
48585
48611
|
model: this.model,
|
|
48586
48612
|
field: x => x.syncTargets,
|
|
48587
48613
|
addPage: EditSyncTargetPage,
|
|
48614
|
+
editPage: EditSyncTargetPage,
|
|
48588
48615
|
addItemDefaults: {
|
|
48589
48616
|
username,
|
|
48590
48617
|
host
|