@social-mail/social-mail-client 1.2.125 → 1.2.127
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 +51 -15
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +13 -9
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/controls/collection-editor/CollectionEditor.js +2 -2
- package/dist/common/controls/collection-editor/CollectionEditor.js.map +1 -1
- package/dist/common/pages/mailboxes/MailboxDetailPage.d.ts +1 -0
- package/dist/common/pages/mailboxes/MailboxDetailPage.d.ts.map +1 -1
- package/dist/common/pages/mailboxes/MailboxDetailPage.js +26 -6
- package/dist/common/pages/mailboxes/MailboxDetailPage.js.map +1 -1
- package/dist/model/model.d.ts +1 -0
- package/dist/model/model.d.ts.map +1 -1
- package/dist/model/model.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/site-editor/blocks/Columns3.d.ts.map +1 -1
- package/dist/site-editor/blocks/Columns3.js +1 -0
- package/dist/site-editor/blocks/Columns3.js.map +1 -1
- package/dist/site-editor/blocks/PriceBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/PriceBox.js +19 -5
- package/dist/site-editor/blocks/PriceBox.js.map +1 -1
- package/dist/site-editor/properties/groups/BorderGroupEditor.js +1 -1
- package/dist/site-editor/properties/groups/BorderGroupEditor.js.map +1 -1
- package/dist/site-editor/styler/Styler.d.ts +4 -0
- package/dist/site-editor/styler/Styler.d.ts.map +1 -1
- package/dist/site-editor/styler/Styler.js +2 -1
- package/dist/site-editor/styler/Styler.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +51 -15
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +13 -9
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/common/controls/collection-editor/CollectionEditor.tsx +3 -3
- package/src/common/pages/mailboxes/MailboxDetailPage.tsx +27 -7
- package/src/model/model.ts +1 -0
- package/src/site-editor/blocks/Columns3.tsx +1 -0
- package/src/site-editor/blocks/PriceBox.tsx +29 -11
- package/src/site-editor/properties/groups/BorderGroupEditor.tsx +1 -1
- package/src/site-editor/styler/Styler.ts +3 -0
|
@@ -20612,13 +20612,13 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/web-con
|
|
|
20612
20612
|
text: label
|
|
20613
20613
|
})), XNode.create("div", null, XNode.create(AtomRepeater, {
|
|
20614
20614
|
presenter: Bind.presenter(c => repeater = c),
|
|
20615
|
-
"data-layout": "
|
|
20615
|
+
"data-layout": "data-grid",
|
|
20616
20616
|
"event-delete-collection-item": ce => deleteItem(ce.detail),
|
|
20617
20617
|
items: items,
|
|
20618
20618
|
footer: true,
|
|
20619
20619
|
itemRenderer: item => {
|
|
20620
20620
|
const node = itemRenderer(item);
|
|
20621
|
-
node.children.push(XNode.create("
|
|
20621
|
+
node.children.push(XNode.create("span", null, XNode.create(DeleteIconButton, {
|
|
20622
20622
|
"data-click-event": "delete-collection-item"
|
|
20623
20623
|
})));
|
|
20624
20624
|
return node;
|
|
@@ -39142,6 +39142,7 @@ System.register(["@web-atoms/core/dist/style/styled", "@web-atoms/core/dist/core
|
|
|
39142
39142
|
relSize7XL: "80rem",
|
|
39143
39143
|
relSizeFull: "100%",
|
|
39144
39144
|
relSizeProse: "65ch",
|
|
39145
|
+
transparent: "transparent",
|
|
39145
39146
|
bodyColor: "#dddddd50",
|
|
39146
39147
|
defaultColor: "canvas",
|
|
39147
39148
|
defaultTextColor: "canvastext",
|
|
@@ -39204,7 +39205,7 @@ System.register(["@web-atoms/core/dist/style/styled", "@web-atoms/core/dist/core
|
|
|
39204
39205
|
navBarBackDropFilter: "blur(14px) saturate(180%)"
|
|
39205
39206
|
}));
|
|
39206
39207
|
_export("sizeVarList", sizeVarList = [stylerVars.sizeTiny, stylerVars.sizeSmall, stylerVars.sizeSmaller, stylerVars.sizeDefault, stylerVars.sizeLarger, stylerVars.sizeLarge, stylerVars.sizeMobileWidth, stylerVars.sizeTabletWidth, stylerVars.size10Pc, stylerVars.size20Pc, stylerVars.size25Pc, stylerVars.size30Pc, stylerVars.size33Pc, stylerVars.size40Pc, stylerVars.size50Pc, stylerVars.size60Pc, stylerVars.size66Pc, stylerVars.size70Pc, stylerVars.size75Pc, stylerVars.size80Pc, stylerVars.size90Pc, stylerVars.size100Pc, stylerVars.rem1, stylerVars.rem2, stylerVars.rem3, stylerVars.rem4, stylerVars.rem5, stylerVars.rem7_5, stylerVars.rem10, stylerVars.rem12_5, stylerVars.rem15, stylerVars.relSizeXS, stylerVars.relSizeSmall, stylerVars.relSizeMedium, stylerVars.relSizeLarge, stylerVars.relSizeXL, stylerVars.relSize2XL, stylerVars.relSize3XL, stylerVars.relSize4XL, stylerVars.relSize5XL, stylerVars.relSize6XL, stylerVars.relSize7XL, stylerVars.relSizeFull, stylerVars.relSizeProse]);
|
|
39207
|
-
_export("colorVarList", colorVarList = [stylerVars.defaultColor, stylerVars.defaultTextColor, stylerVars.accentColor, stylerVars.accentTextColor, stylerVars.acceptColor, stylerVars.accentTextColor, stylerVars.borderColor, stylerVars.goColor, stylerVars.goTextColor, stylerVars.headerColor, stylerVars.headerTextColor, stylerVars.hoverColor, stylerVars.hoverTextColor, stylerVars.linkColor, stylerVars.noteColor, stylerVars.noteTextColor, stylerVars.rejectColor, stylerVars.rejectTextColor, stylerVars.selectionColor, stylerVars.selectionTextColor, stylerVars.stopColor, stylerVars.stopTextColor, stylerVars.warningColor, stylerVars.warningTextColor]);
|
|
39208
|
+
_export("colorVarList", colorVarList = [stylerVars.transparent, stylerVars.defaultColor, stylerVars.defaultTextColor, stylerVars.accentColor, stylerVars.accentTextColor, stylerVars.acceptColor, stylerVars.accentTextColor, stylerVars.borderColor, stylerVars.goColor, stylerVars.goTextColor, stylerVars.headerColor, stylerVars.headerTextColor, stylerVars.hoverColor, stylerVars.hoverTextColor, stylerVars.linkColor, stylerVars.noteColor, stylerVars.noteTextColor, stylerVars.rejectColor, stylerVars.rejectTextColor, stylerVars.selectionColor, stylerVars.selectionTextColor, stylerVars.stopColor, stylerVars.stopTextColor, stylerVars.warningColor, stylerVars.warningTextColor]);
|
|
39208
39209
|
_export("StylerVariable", StylerVariable = class StylerVariable {
|
|
39209
39210
|
get currentValue() {
|
|
39210
39211
|
if (this._currentValue) {
|
|
@@ -40496,7 +40497,7 @@ System.register(["@web-atoms/core/dist/core/XNode", "../controls/PropertyEditor"
|
|
|
40496
40497
|
}), XNode.create(SizeEditorControl, {
|
|
40497
40498
|
label: "Radius",
|
|
40498
40499
|
property: properties.stylerBorderRadius
|
|
40499
|
-
}), XNode.create(
|
|
40500
|
+
}), XNode.create(DropDownProperty, {
|
|
40500
40501
|
label: "Color",
|
|
40501
40502
|
property: properties.stylerBorderColor
|
|
40502
40503
|
}), XNode.create(SizeEditorControl, {
|
|
@@ -41955,6 +41956,7 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@social-mail/soc
|
|
|
41955
41956
|
border-radius: ${stylerVars.sizeDefault};
|
|
41956
41957
|
justify-items: center;
|
|
41957
41958
|
align-items: stretch;
|
|
41959
|
+
justify-content: space-evenly;
|
|
41958
41960
|
contain: content;
|
|
41959
41961
|
|
|
41960
41962
|
@media (min-width: 600px) {
|
|
@@ -42120,7 +42122,7 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@web-atoms/core/
|
|
|
42120
42122
|
execute: function () {
|
|
42121
42123
|
StylerSets.register("low", styled.css`
|
|
42122
42124
|
|
|
42123
|
-
|
|
42125
|
+
max-width: 300px;
|
|
42124
42126
|
|
|
42125
42127
|
display: flex;
|
|
42126
42128
|
flex-direction: column;
|
|
@@ -42147,8 +42149,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@web-atoms/core/
|
|
|
42147
42149
|
}
|
|
42148
42150
|
|
|
42149
42151
|
& > [styler-element=highlight] {
|
|
42150
|
-
background: #008000;
|
|
42151
|
-
color: white;
|
|
42152
42152
|
padding: ${stylerVars.sizeSmall};
|
|
42153
42153
|
padding-left: ${stylerVars.sizeDefault};
|
|
42154
42154
|
padding-right: ${stylerVars.sizeDefault};
|
|
@@ -42178,7 +42178,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@web-atoms/core/
|
|
|
42178
42178
|
}
|
|
42179
42179
|
|
|
42180
42180
|
& > [styler-element=saving] {
|
|
42181
|
-
color: green;
|
|
42182
42181
|
}
|
|
42183
42182
|
|
|
42184
42183
|
& > footer {
|
|
@@ -42188,6 +42187,12 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@web-atoms/core/
|
|
|
42188
42187
|
border-top: solid 1px ${stylerVars.borderColor};
|
|
42189
42188
|
}
|
|
42190
42189
|
|
|
42190
|
+
& > ul[style-element=features] {
|
|
42191
|
+
& > li {
|
|
42192
|
+
list-style-image: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22600%22%20height%3D%22600%22%3E%3Cpath%20d%3D%22m7.7%2C404.6c0%2C0%20115.2%2C129.7%20138.2%2C182.68l99%2C0c41.5-126.7%20202.7-429.1%20340.92-535.1c28.6-36.8-43.3-52-101.35-27.62-87.5%2C36.7-252.5%2C317.2-283.3%2C384.64-43.7%2C11.5-89.8-73.7-89.84-73.7z%22%20fill%3D%22%236c4%22%2F%3E%3C%2Fsvg%3E)
|
|
42193
|
+
}
|
|
42194
|
+
}
|
|
42195
|
+
|
|
42191
42196
|
`.expand("[styler-layout=price-box]"));
|
|
42192
42197
|
_export("PriceTable", PriceTable = Block({
|
|
42193
42198
|
className: "fad fa-square-dollar",
|
|
@@ -42197,29 +42202,37 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@web-atoms/core/
|
|
|
42197
42202
|
}, XNode.create("section", {
|
|
42198
42203
|
"styler-layout": "price-box"
|
|
42199
42204
|
}, XNode.create("h6", {
|
|
42205
|
+
"styler-background-color": "go-color",
|
|
42206
|
+
"styler-color": "go-text-color",
|
|
42200
42207
|
"styler-element": "highlight"
|
|
42201
42208
|
}, "Save 10%"), XNode.create("h3", null, "Price Name"), XNode.create("h5", {
|
|
42202
42209
|
"styler-element": "strike-through"
|
|
42203
42210
|
}, "$4.99"), XNode.create("h4", {
|
|
42204
42211
|
"styler-element": "price"
|
|
42205
42212
|
}, "$3.99"), XNode.create("h4", {
|
|
42213
|
+
"styler-color": "go-color",
|
|
42206
42214
|
"styler-element": "saving"
|
|
42207
42215
|
}, "$12"), XNode.create("a", {
|
|
42208
42216
|
href: "",
|
|
42209
42217
|
"styler-element": "buy-button"
|
|
42210
42218
|
}, "Buy Now"), XNode.create("h6", {
|
|
42211
42219
|
"styler-element": "money-back"
|
|
42212
|
-
}, "30-day Money Back"), XNode.create("ul",
|
|
42220
|
+
}, "30-day Money Back"), XNode.create("ul", {
|
|
42221
|
+
"style-element": "features"
|
|
42222
|
+
}, XNode.create("li", null, "Feature 1"), XNode.create("li", null, "Feature 2"), XNode.create("li", {
|
|
42213
42223
|
"styler-element": "none"
|
|
42214
42224
|
}, "Feature 3")), XNode.create("hr", null), XNode.create("footer", null, "Small Footer Information")), XNode.create("section", {
|
|
42215
42225
|
"styler-layout": "price-box"
|
|
42216
42226
|
}, XNode.create("h6", {
|
|
42227
|
+
"styler-background-color": "go-color",
|
|
42228
|
+
"styler-color": "go-text-color",
|
|
42217
42229
|
"styler-element": "highlight"
|
|
42218
42230
|
}, "Save 10%"), XNode.create("h3", null, "Price Name"), XNode.create("h5", {
|
|
42219
42231
|
"styler-element": "strike-through"
|
|
42220
42232
|
}, "$4.99"), XNode.create("h4", {
|
|
42221
42233
|
"styler-element": "price"
|
|
42222
42234
|
}, "$3.99"), XNode.create("h4", {
|
|
42235
|
+
"styler-color": "go-color",
|
|
42223
42236
|
"styler-element": "saving"
|
|
42224
42237
|
}, "$12"), XNode.create("a", {
|
|
42225
42238
|
href: "",
|
|
@@ -42231,12 +42244,15 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "@web-atoms/core/
|
|
|
42231
42244
|
}, "Feature 3")), XNode.create("hr", null), XNode.create("footer", null, "Small Footer Information")), XNode.create("section", {
|
|
42232
42245
|
"styler-layout": "price-box"
|
|
42233
42246
|
}, XNode.create("h6", {
|
|
42247
|
+
"styler-background-color": "go-color",
|
|
42248
|
+
"styler-color": "go-text-color",
|
|
42234
42249
|
"styler-element": "highlight"
|
|
42235
42250
|
}, "Save 10%"), XNode.create("h3", null, "Price Name"), XNode.create("h5", {
|
|
42236
42251
|
"styler-element": "strike-through"
|
|
42237
42252
|
}, "$4.99"), XNode.create("h4", {
|
|
42238
42253
|
"styler-element": "price"
|
|
42239
42254
|
}, "$3.99"), XNode.create("h4", {
|
|
42255
|
+
"styler-color": "go-color",
|
|
42240
42256
|
"styler-element": "saving"
|
|
42241
42257
|
}, "$12"), XNode.create("a", {
|
|
42242
42258
|
href: "",
|
|
@@ -44750,10 +44766,10 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
44750
44766
|
|
|
44751
44767
|
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/common/pages/mailboxes/settings/EditSyncTargetPage");
|
|
44752
44768
|
|
|
44753
|
-
System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "@web-atoms/core/dist/core/XNode", "../../controls/collection-editor/CollectionEditor", "./settings/EditSyncTargetPage", "./services/MailboxService", "@web-atoms/core/dist/core/InjectProperty", "@web-atoms/core/dist/view-model/Action"], function (_export, _context) {
|
|
44769
|
+
System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "@web-atoms/core/dist/core/XNode", "../../controls/collection-editor/CollectionEditor", "./settings/EditSyncTargetPage", "./services/MailboxService", "@web-atoms/core/dist/core/InjectProperty", "@web-atoms/core/dist/view-model/Action", "@web-atoms/core/dist/web/services/PopupService"], function (_export, _context) {
|
|
44754
44770
|
"use strict";
|
|
44755
44771
|
|
|
44756
|
-
var __awaiter, __decorate, __metadata, ContentPage, XNode, CollectionEditor, EditSyncTargetPage, MailboxService, InjectProperty, Action, MailboxDetailPage;
|
|
44772
|
+
var __awaiter, __decorate, __metadata, ContentPage, XNode, CollectionEditor, EditSyncTargetPage, MailboxService, InjectProperty, Action, PopupService, MailboxDetailPage;
|
|
44757
44773
|
_export("default", void 0);
|
|
44758
44774
|
return {
|
|
44759
44775
|
setters: [function (_tslib) {
|
|
@@ -44774,6 +44790,8 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
44774
44790
|
InjectProperty = _webAtomsCoreDistCoreInjectProperty.default;
|
|
44775
44791
|
}, function (_webAtomsCoreDistViewModelAction) {
|
|
44776
44792
|
Action = _webAtomsCoreDistViewModelAction.default;
|
|
44793
|
+
}, function (_webAtomsCoreDistWebServicesPopupService) {
|
|
44794
|
+
PopupService = _webAtomsCoreDistWebServicesPopupService.default;
|
|
44777
44795
|
}],
|
|
44778
44796
|
execute: function () {
|
|
44779
44797
|
_export("default", MailboxDetailPage = class MailboxDetailPage extends ContentPage {
|
|
@@ -44792,13 +44810,13 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
44792
44810
|
username,
|
|
44793
44811
|
host
|
|
44794
44812
|
},
|
|
44795
|
-
itemRenderer: item => XNode.create("
|
|
44813
|
+
itemRenderer: item => XNode.create("div", null, XNode.create("span", null, XNode.create("span", {
|
|
44796
44814
|
text: item.protocol
|
|
44797
|
-
})), XNode.create("
|
|
44815
|
+
})), XNode.create("span", null, XNode.create("span", {
|
|
44798
44816
|
text: item.username
|
|
44799
|
-
})), XNode.create("
|
|
44817
|
+
})), XNode.create("span", null, XNode.create("span", {
|
|
44800
44818
|
text: item.host
|
|
44801
|
-
})), XNode.create("
|
|
44819
|
+
})), XNode.create("span", null, item.active ? XNode.create("i", {
|
|
44802
44820
|
"data-click-event": "pause-sync",
|
|
44803
44821
|
class: "fas fa-pause",
|
|
44804
44822
|
title: "Pause Sync"
|
|
@@ -44806,6 +44824,10 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
44806
44824
|
"data-click-event": "start-sync",
|
|
44807
44825
|
class: "fas fa-play",
|
|
44808
44826
|
title: "Start Sync"
|
|
44827
|
+
})), XNode.create("span", null, XNode.create("i", {
|
|
44828
|
+
"data-click-event": "check-sync-logs",
|
|
44829
|
+
class: "fas fa-circle-info",
|
|
44830
|
+
title: "Check Logs"
|
|
44809
44831
|
})))
|
|
44810
44832
|
}));
|
|
44811
44833
|
});
|
|
@@ -44824,6 +44846,17 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
44824
44846
|
yield this.init();
|
|
44825
44847
|
});
|
|
44826
44848
|
}
|
|
44849
|
+
checkSyncLogs(item) {
|
|
44850
|
+
var _a, _b;
|
|
44851
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
44852
|
+
const syncState = JSON.parse((_a = item.syncLog) !== null && _a !== void 0 ? _a : "{}");
|
|
44853
|
+
yield PopupService.alert({
|
|
44854
|
+
message: XNode.create("div", null, XNode.create("pre", null, ...((_b = syncState.log) !== null && _b !== void 0 ? _b : []).map(x => [XNode.create("span", {
|
|
44855
|
+
text: x
|
|
44856
|
+
}), XNode.create("br", null)]).flat(2)))
|
|
44857
|
+
});
|
|
44858
|
+
});
|
|
44859
|
+
}
|
|
44827
44860
|
});
|
|
44828
44861
|
__decorate([InjectProperty, __metadata("design:type", MailboxService)], MailboxDetailPage.prototype, "mailboxService", void 0);
|
|
44829
44862
|
__decorate([Action({
|
|
@@ -44834,6 +44867,9 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
44834
44867
|
onEvent: "start-sync",
|
|
44835
44868
|
confirm: "Are you sure you want to start the sync?"
|
|
44836
44869
|
}), __metadata("design:type", Function), __metadata("design:paramtypes", [Object]), __metadata("design:returntype", Promise)], MailboxDetailPage.prototype, "startSync", null);
|
|
44870
|
+
__decorate([Action({
|
|
44871
|
+
onEvent: "check-sync-logs"
|
|
44872
|
+
}), __metadata("design:type", Function), __metadata("design:paramtypes", [Object]), __metadata("design:returntype", Promise)], MailboxDetailPage.prototype, "checkSyncLogs", null);
|
|
44837
44873
|
}
|
|
44838
44874
|
};
|
|
44839
44875
|
});
|