@social-mail/social-mail-client 1.1.1 → 1.1.3

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.
@@ -31247,10 +31247,13 @@ System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/cor
31247
31247
  execute: function () {
31248
31248
  WebSiteService = class WebSiteService {
31249
31249
  get(id) {
31250
+ var _a;
31250
31251
  return __awaiter(this, void 0, void 0, function* () {
31251
- return this.entityService.query(WebSiteFolder).where({
31252
+ const site = yield this.entityService.query(WebSiteFolder).where({
31252
31253
  id
31253
31254
  }, p => x => x.folderID === p.id).include(x => [x.folder, x.hosts, x.versions]).firstOrDefault();
31255
+ (_a = site.versions) === null || _a === void 0 ? void 0 : _a.sort((a, b) => b.snapshotFolderID - a.snapshotFolderID);
31256
+ return site;
31254
31257
  });
31255
31258
  }
31256
31259
  list() {
@@ -32493,7 +32496,7 @@ System.register(["../../../Styler"], function (_export, _context) {
32493
32496
  System.register(["@web-atoms/core/dist/style/styled", "../../Styler"], function (_export, _context) {
32494
32497
  "use strict";
32495
32498
 
32496
- var styled, StylerProperty, stylerVars, svg, stylerLayout;
32499
+ var styled, StylerProperty, stylerVars, svg, svgCross, stylerLayout;
32497
32500
  return {
32498
32501
  setters: [function (_webAtomsCoreDistStyleStyled) {
32499
32502
  styled = _webAtomsCoreDistStyleStyled.default;
@@ -32503,6 +32506,7 @@ System.register(["@web-atoms/core/dist/style/styled", "../../Styler"], function
32503
32506
  }],
32504
32507
  execute: function () {
32505
32508
  svg = `<svg xmlns="http://www.w3.org/2000/svg" height="16" width="14" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"/></svg>`;
32509
+ svgCross = `<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512"><!--!Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.--><path class="fa-secondary" opacity=".4" d="M297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6z"/><path class="fa-primary" d=""/></svg>`;
32506
32510
  _export("stylerLayout", stylerLayout = StylerProperty.create("styler-layout", {
32507
32511
  "wrap-list": styled.css`
32508
32512
  display: flex;
@@ -32605,14 +32609,22 @@ System.register(["@web-atoms/core/dist/style/styled", "../../Styler"], function
32605
32609
  appearance: none;
32606
32610
  outline: none;
32607
32611
  &:checked {
32608
-
32612
+ background-image: url('data:image/svg+xml,${svgCross}');
32609
32613
  }
32610
32614
 
32611
32615
  &:checked ~ nav {
32612
- display: block;
32616
+ display: flex;
32617
+ gap: var(--size-default);
32618
+ flex-direction: column;
32613
32619
  position: absolute;
32614
32620
  right: 10px;
32615
- top: 50px;
32621
+ top: 40px;
32622
+ background-color: canvas;
32623
+ padding: var(--size-default);
32624
+ border-radius: var(--size-default);
32625
+ box-shadow: 0 0 8px 2px gray;
32626
+ min-width: 200px;
32627
+ min-height: 300px;
32616
32628
  }
32617
32629
  }
32618
32630
  }