@social-mail/social-mail-client 1.8.329 → 1.8.331
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 +33 -5
- 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/commands/CommonCommands.d.ts +2 -0
- package/dist/common/commands/CommonCommands.d.ts.map +1 -1
- package/dist/common/commands/CommonCommands.js +16 -0
- package/dist/common/commands/CommonCommands.js.map +1 -1
- package/dist/common/menu/MenuService.d.ts +1 -0
- package/dist/common/menu/MenuService.d.ts.map +1 -1
- package/dist/common/menu/MenuService.js +7 -1
- package/dist/common/menu/MenuService.js.map +1 -1
- package/dist/common/pages/files/service/CloudFileService.d.ts +2 -1
- package/dist/common/pages/files/service/CloudFileService.d.ts.map +1 -1
- package/dist/common/pages/files/service/CloudFileService.js +3 -1
- package/dist/common/pages/files/service/CloudFileService.js.map +1 -1
- package/dist/common/pages/websites/list/WebSiteListPage.d.ts.map +1 -1
- package/dist/common/pages/websites/list/WebSiteListPage.js +5 -2
- package/dist/common/pages/websites/list/WebSiteListPage.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.js +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js +1 -1
- package/dist/public/preview/pdf/PreviewPDF.pack.js +1 -1
- package/dist/public/preview/pdf/PreviewPDF.pack.min.js +1 -1
- package/dist/public/preview/video/PreviewVideo.pack.js +1 -1
- package/dist/public/preview/video/PreviewVideo.pack.min.js +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.js +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.min.js +1 -1
- package/dist/public/store/StoreApp.pack.js +1 -1
- package/dist/public/store/StoreApp.pack.min.js +1 -1
- package/dist/site-editor/editor/ui/SelectionUI.d.ts.map +1 -1
- package/dist/site-editor/editor/ui/SelectionUI.js +47 -6
- package/dist/site-editor/editor/ui/SelectionUI.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +80 -11
- 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/style/GlobalStyle.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +52 -5
- 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/dist/web/drawer/AppDrawer.d.ts.map +1 -1
- package/dist/web/drawer/AppDrawer.js +19 -0
- package/dist/web/drawer/AppDrawer.js.map +1 -1
- package/node_modules/@web-atoms/web-controls/dist/mobile-app/MasterDetailPage.d.ts.map +1 -1
- package/node_modules/@web-atoms/web-controls/dist/mobile-app/MasterDetailPage.js +1 -0
- package/node_modules/@web-atoms/web-controls/dist/mobile-app/MasterDetailPage.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/mobile-app/MasterDetailPage.tsx +1 -0
- package/package.json +2 -2
- package/src/common/commands/CommonCommands.ts +14 -0
- package/src/common/menu/MenuService.tsx +7 -2
- package/src/common/pages/files/service/CloudFileService.ts +4 -1
- package/src/common/pages/websites/list/WebSiteListPage.tsx +6 -2
- package/src/site-editor/editor/ui/SelectionUI.tsx +56 -6
- package/src/style/GlobalStyle.ts +1 -1
- package/src/web/drawer/AppDrawer.tsx +20 -0
|
@@ -23494,7 +23494,8 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
23494
23494
|
CloudFileService = class CloudFileService {
|
|
23495
23495
|
topSites() {
|
|
23496
23496
|
return __awaiter(this, arguments, void 0, function* ({
|
|
23497
|
-
search = void 0
|
|
23497
|
+
search = void 0,
|
|
23498
|
+
isDesign = false
|
|
23498
23499
|
} = {}) {
|
|
23499
23500
|
const userID = SocialMailApp.user.userID;
|
|
23500
23501
|
let q = this.entityService.query(WebSite);
|
|
@@ -23504,6 +23505,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
23504
23505
|
search
|
|
23505
23506
|
}, p => x => Sql.text.iLike(x.folder.name, p.search));
|
|
23506
23507
|
}
|
|
23508
|
+
q = isDesign ? q.where(x => x.isDesign === true) : q.where(x => x.isDesign === false);
|
|
23507
23509
|
const top = yield (search ? q : q.orderByDescending({
|
|
23508
23510
|
userID
|
|
23509
23511
|
}, p => x => x.folder.userPins.some(s => p.userID === s.userID))).thenByDescending(x => x.currentVersionID).include(x => x.folder.creator).toPagedList({
|
|
@@ -26316,6 +26318,7 @@ System.register(["../PageNavigator", "./MobileApp", "@web-atoms/core/dist/web/co
|
|
|
26316
26318
|
element
|
|
26317
26319
|
} = lastDetail;
|
|
26318
26320
|
lastDetail.dispose();
|
|
26321
|
+
this.lastDetail = null;
|
|
26319
26322
|
element.remove();
|
|
26320
26323
|
if (this.scrollEveryNewTarget) {
|
|
26321
26324
|
this.scrollTargetIntoView();
|
|
@@ -41236,6 +41239,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
41236
41239
|
this.mailboxes = [];
|
|
41237
41240
|
this.channels = [];
|
|
41238
41241
|
this.drives = [];
|
|
41242
|
+
this.designs = [];
|
|
41239
41243
|
this.selectedObject = null;
|
|
41240
41244
|
this.search = null;
|
|
41241
41245
|
this.showSearch = false;
|
|
@@ -41257,7 +41261,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
41257
41261
|
if (cancelToken === null || cancelToken === void 0 ? void 0 : cancelToken.cancelled) {
|
|
41258
41262
|
return;
|
|
41259
41263
|
}
|
|
41260
|
-
const [mailboxes, channels, drives, websites] = yield Promise.all([ms.top({
|
|
41264
|
+
const [mailboxes, channels, drives, websites, designs] = yield Promise.all([ms.top({
|
|
41261
41265
|
search
|
|
41262
41266
|
}), ms.top({
|
|
41263
41267
|
search,
|
|
@@ -41266,15 +41270,20 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
41266
41270
|
search
|
|
41267
41271
|
}), fs.topSites({
|
|
41268
41272
|
search
|
|
41273
|
+
}), fs.topSites({
|
|
41274
|
+
search,
|
|
41275
|
+
isDesign: true
|
|
41269
41276
|
})]);
|
|
41270
41277
|
this.mailboxes.remove(x => x !== this.selectedObject);
|
|
41271
41278
|
this.channels.remove(x => x !== this.selectedObject);
|
|
41272
41279
|
this.drives.remove(x => x !== this.selectedObject);
|
|
41273
41280
|
this.websites.remove(x => x !== this.selectedObject);
|
|
41281
|
+
this.designs.remove(x => x !== this.selectedObject);
|
|
41274
41282
|
this.add(this.mailboxes, ...mailboxes);
|
|
41275
41283
|
this.add(this.channels, ...channels);
|
|
41276
41284
|
this.add(this.drives, ...drives);
|
|
41277
41285
|
this.add(this.websites, ...websites);
|
|
41286
|
+
this.add(this.designs, ...designs);
|
|
41278
41287
|
if (this.isFirstSearch) {
|
|
41279
41288
|
this.showSearch = [this.mailboxes, this.channels, this.websites].some(x => x.length > 2);
|
|
41280
41289
|
this.isFirstSearch = false;
|
|
@@ -46194,6 +46203,8 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
46194
46203
|
}
|
|
46195
46204
|
init() {
|
|
46196
46205
|
return __awaiter(this, void 0, void 0, function* () {
|
|
46206
|
+
this.showDesigns = /design/i.test(this.parameters.type);
|
|
46207
|
+
this.showTemplates = /template/i.test(this.parameters.type);
|
|
46197
46208
|
this.headerRenderer = () => XNode.create("div", {
|
|
46198
46209
|
"data-layout": "header-row"
|
|
46199
46210
|
}, XNode.create("input", {
|
|
@@ -46234,8 +46245,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
46234
46245
|
}
|
|
46235
46246
|
createNewWebsite() {
|
|
46236
46247
|
return __awaiter(this, void 0, void 0, function* () {
|
|
46237
|
-
yield PageNavigator.pushPageForResult(WebSiteEditor);
|
|
46238
|
-
|
|
46248
|
+
const model = yield PageNavigator.pushPageForResult(WebSiteEditor);
|
|
46249
|
+
this.selectedItem = model;
|
|
46250
|
+
this.version++;
|
|
46239
46251
|
});
|
|
46240
46252
|
}
|
|
46241
46253
|
changeSettings() {
|
|
@@ -48055,6 +48067,22 @@ System.register(["@web-atoms/core/dist/core/Command", "../apiPath", "../../servi
|
|
|
48055
48067
|
routeOrder: 2000,
|
|
48056
48068
|
openPage: () => _context.import("../pages/websites/list/WebSiteListPage")
|
|
48057
48069
|
});
|
|
48070
|
+
CommonCommands.openWebSiteDesignList = Command.create({
|
|
48071
|
+
route: "/social-mail/website/designs",
|
|
48072
|
+
routeOrder: 2000,
|
|
48073
|
+
routeDefaults: {
|
|
48074
|
+
type: "design"
|
|
48075
|
+
},
|
|
48076
|
+
openPage: () => _context.import("../pages/websites/list/WebSiteListPage")
|
|
48077
|
+
});
|
|
48078
|
+
CommonCommands.openWebSiteTemplateList = Command.create({
|
|
48079
|
+
route: "/social-mail/website/templates",
|
|
48080
|
+
routeOrder: 2000,
|
|
48081
|
+
routeDefaults: {
|
|
48082
|
+
type: "template"
|
|
48083
|
+
},
|
|
48084
|
+
openPage: () => _context.import("../pages/websites/list/WebSiteListPage")
|
|
48085
|
+
});
|
|
48058
48086
|
CommonCommands.accessTokenList = Command.create({
|
|
48059
48087
|
route: "/user/access-tokens",
|
|
48060
48088
|
openPage: () => _context.import("../pages/user/access-tokens/AccessTokenListPage")
|
|
@@ -50806,7 +50834,7 @@ System.register(["@web-atoms/core/dist/core/types", "@web-atoms/core/dist/core/A
|
|
|
50806
50834
|
execute: function () {
|
|
50807
50835
|
_export("___UMD", ___UMD = UMD);
|
|
50808
50836
|
addLinkTag("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap");
|
|
50809
|
-
addLinkTag("https://dtzkc6yot8xw8.cloudfront.net/npm/package/@c8private/fa-icons@
|
|
50837
|
+
addLinkTag("https://dtzkc6yot8xw8.cloudfront.net/npm/package/@c8private/fa-icons@7.0.0/css/all.min.css");
|
|
50810
50838
|
addLinkTag("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0");
|
|
50811
50839
|
addLinkTag("https://cdn.jsdelivr.net/npm/file-icon-vectors@1.0.0/dist/file-icon-vivid.min.css");
|
|
50812
50840
|
}
|