@social-mail/social-mail-client 1.9.67 → 1.9.69
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.global.css +1 -1
- package/dist/admin/AdminAppIndex.pack.global.css.map +1 -1
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/admin/controls/templates/PreviewTemplate.d.ts +0 -7
- package/dist/admin/controls/templates/PreviewTemplate.d.ts.map +1 -1
- package/dist/admin/controls/templates/PreviewTemplate.js.map +1 -1
- package/dist/common/controls/badge/Badge.d.ts +0 -7
- package/dist/common/controls/badge/Badge.d.ts.map +1 -1
- package/dist/common/controls/badge/Badge.js.map +1 -1
- package/dist/common/controls/charts/Charts.d.ts +0 -9
- package/dist/common/controls/charts/Charts.d.ts.map +1 -1
- package/dist/common/controls/charts/Charts.js.map +1 -1
- package/dist/common/menu/MenuService.d.ts +0 -7
- package/dist/common/menu/MenuService.d.ts.map +1 -1
- package/dist/common/menu/MenuService.js.map +1 -1
- package/dist/common/pages/splash/SplashScreenPage.d.ts +0 -7
- package/dist/common/pages/splash/SplashScreenPage.d.ts.map +1 -1
- package/dist/common/pages/splash/SplashScreenPage.js.map +1 -1
- package/dist/common/pages/websites/detail/WebSiteDetail.d.ts +0 -7
- package/dist/common/pages/websites/detail/WebSiteDetail.d.ts.map +1 -1
- package/dist/common/pages/websites/detail/WebSiteDetail.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.global.css +1 -1
- package/dist/public/channel/ChannelApp.pack.global.css.map +1 -1
- package/dist/public/channel/ChannelApp.pack.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
- package/dist/public/channel/controls/channel-post/ChannelPost.d.ts +0 -16
- package/dist/public/channel/controls/channel-post/ChannelPost.d.ts.map +1 -1
- package/dist/public/channel/controls/channel-post/ChannelPost.js.map +1 -1
- package/dist/public/channel/pages/ChannelCalendarPage.d.ts +0 -11
- package/dist/public/channel/pages/ChannelCalendarPage.d.ts.map +1 -1
- package/dist/public/channel/pages/ChannelCalendarPage.js.map +1 -1
- package/dist/public/channel/pages/comments/PostComments.d.ts +0 -9
- package/dist/public/channel/pages/comments/PostComments.d.ts.map +1 -1
- package/dist/public/channel/pages/comments/PostComments.js.map +1 -1
- package/dist/public/channel/pages/video/ChannelVideosPage.d.ts +0 -9
- package/dist/public/channel/pages/video/ChannelVideosPage.d.ts.map +1 -1
- package/dist/public/channel/pages/video/ChannelVideosPage.js.map +1 -1
- package/dist/public/store/StoreApp.pack.global.css +1 -1
- package/dist/public/store/StoreApp.pack.global.css.map +1 -1
- package/dist/site-editor/blocks/Carousel.d.ts +0 -7
- package/dist/site-editor/blocks/Carousel.d.ts.map +1 -1
- package/dist/site-editor/blocks/Carousel.js.map +1 -1
- package/dist/site-editor/blocks/Components.d.ts +0 -7
- package/dist/site-editor/blocks/Components.d.ts.map +1 -1
- package/dist/site-editor/blocks/Components.js.map +1 -1
- package/dist/site-editor/blocks/FlipBox.d.ts +0 -7
- package/dist/site-editor/blocks/FlipBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/FlipBox.js.map +1 -1
- package/dist/site-editor/blocks/ImageGallery.d.ts +0 -7
- package/dist/site-editor/blocks/ImageGallery.d.ts.map +1 -1
- package/dist/site-editor/blocks/ImageGallery.js.map +1 -1
- package/dist/site-editor/blocks/ImageGrid.d.ts +0 -7
- package/dist/site-editor/blocks/ImageGrid.d.ts.map +1 -1
- package/dist/site-editor/blocks/ImageGrid.js.map +1 -1
- package/dist/site-editor/blocks/InjectBox.d.ts +0 -7
- package/dist/site-editor/blocks/InjectBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/InjectBox.js.map +1 -1
- package/dist/site-editor/blocks/InlineSvg.d.ts +0 -7
- package/dist/site-editor/blocks/InlineSvg.d.ts.map +1 -1
- package/dist/site-editor/blocks/InlineSvg.js.map +1 -1
- package/dist/site-editor/blocks/MarqueeText.d.ts +0 -7
- package/dist/site-editor/blocks/MarqueeText.d.ts.map +1 -1
- package/dist/site-editor/blocks/MarqueeText.js.map +1 -1
- package/dist/site-editor/blocks/PDFFlipBook.d.ts +0 -7
- package/dist/site-editor/blocks/PDFFlipBook.d.ts.map +1 -1
- package/dist/site-editor/blocks/PDFFlipBook.js.map +1 -1
- package/dist/site-editor/blocks/PDFViewer.d.ts +0 -7
- package/dist/site-editor/blocks/PDFViewer.d.ts.map +1 -1
- package/dist/site-editor/blocks/PDFViewer.js.map +1 -1
- package/dist/site-editor/blocks/ScrollAware.d.ts +0 -7
- package/dist/site-editor/blocks/ScrollAware.d.ts.map +1 -1
- package/dist/site-editor/blocks/ScrollAware.js.map +1 -1
- package/dist/site-editor/blocks/VideoPlayer.d.ts +0 -7
- package/dist/site-editor/blocks/VideoPlayer.d.ts.map +1 -1
- package/dist/site-editor/blocks/VideoPlayer.js.map +1 -1
- package/dist/site-editor/editor/HtmlPageEditor.d.ts +1 -0
- package/dist/site-editor/editor/HtmlPageEditor.d.ts.map +1 -1
- package/dist/site-editor/editor/HtmlPageEditor.js +3 -1
- package/dist/site-editor/editor/HtmlPageEditor.js.map +1 -1
- package/dist/site-editor/editor/UndoRedo.d.ts.map +1 -1
- package/dist/site-editor/editor/UndoRedo.js +9 -7
- package/dist/site-editor/editor/UndoRedo.js.map +1 -1
- package/dist/site-editor/editor/guides/UIGuides.d.ts +0 -9
- package/dist/site-editor/editor/guides/UIGuides.d.ts.map +1 -1
- package/dist/site-editor/editor/guides/UIGuides.js.map +1 -1
- package/dist/site-editor/editor/ui/SelectionUI.d.ts +0 -7
- package/dist/site-editor/editor/ui/SelectionUI.d.ts.map +1 -1
- package/dist/site-editor/editor/ui/SelectionUI.js +35 -8
- package/dist/site-editor/editor/ui/SelectionUI.js.map +1 -1
- package/dist/site-editor/properties/controls/multi-value/MultiValueControl.d.ts +0 -7
- package/dist/site-editor/properties/controls/multi-value/MultiValueControl.d.ts.map +1 -1
- package/dist/site-editor/properties/controls/multi-value/MultiValueControl.js.map +1 -1
- package/dist/site-editor/tools/preview/ToolPreview.d.ts +0 -7
- package/dist/site-editor/tools/preview/ToolPreview.d.ts.map +1 -1
- package/dist/site-editor/tools/preview/ToolPreview.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.global.css +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.global.css.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +47 -16
- 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/websites/studio/layers/StudioLayers.d.ts +0 -7
- package/dist/site-editor-app/pages/websites/studio/layers/StudioLayers.d.ts.map +1 -1
- package/dist/site-editor-app/pages/websites/studio/layers/StudioLayers.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.global.css +1 -1
- package/dist/web/AppIndex.pack.global.css.map +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/home/HomePage.d.ts +0 -7
- package/dist/web/page/home/HomePage.d.ts.map +1 -1
- package/dist/web/page/home/HomePage.js.map +1 -1
- package/node_modules/@web-atoms/web-controls/dist/mobile-app/MobileApp.global.css +1 -1
- package/node_modules/@web-atoms/web-controls/dist/mobile-app/MobileApp.global.css.map +1 -1
- package/node_modules/@web-atoms/web-controls/package.json +1 -1
- package/node_modules/@web-atoms/web-controls/src/mobile-app/MobileApp.global.css +4 -0
- package/package.json +2 -2
- package/src/admin/controls/templates/PreviewTemplate.tsx +0 -11
- package/src/common/controls/badge/Badge.tsx +0 -10
- package/src/common/controls/charts/Charts.tsx +0 -12
- package/src/common/menu/MenuService.tsx +0 -11
- package/src/common/pages/splash/SplashScreenPage.tsx +0 -10
- package/src/common/pages/websites/detail/WebSiteDetail.tsx +0 -11
- package/src/public/channel/controls/channel-post/ChannelPost.tsx +0 -20
- package/src/public/channel/pages/ChannelCalendarPage.tsx +0 -14
- package/src/public/channel/pages/comments/PostComments.tsx +0 -12
- package/src/public/channel/pages/video/ChannelVideosPage.tsx +0 -12
- package/src/site-editor/blocks/Carousel.tsx +0 -10
- package/src/site-editor/blocks/Components.tsx +0 -10
- package/src/site-editor/blocks/FlipBox.tsx +0 -10
- package/src/site-editor/blocks/ImageGallery.tsx +0 -11
- package/src/site-editor/blocks/ImageGrid.tsx +0 -10
- package/src/site-editor/blocks/InjectBox.tsx +0 -11
- package/src/site-editor/blocks/InlineSvg.tsx +0 -11
- package/src/site-editor/blocks/MarqueeText.tsx +0 -11
- package/src/site-editor/blocks/PDFFlipBook.tsx +0 -10
- package/src/site-editor/blocks/PDFViewer.tsx +0 -10
- package/src/site-editor/blocks/ScrollAware.tsx +0 -11
- package/src/site-editor/blocks/VideoPlayer.tsx +0 -10
- package/src/site-editor/editor/HtmlPageEditor.tsx +5 -2
- package/src/site-editor/editor/UndoRedo.tsx +9 -7
- package/src/site-editor/editor/guides/UIGuides.tsx +0 -12
- package/src/site-editor/editor/ui/SelectionUI.tsx +43 -17
- package/src/site-editor/properties/controls/multi-value/MultiValueControl.tsx +0 -10
- package/src/site-editor/tools/preview/ToolPreview.tsx +0 -10
- package/src/site-editor-app/pages/websites/studio/layers/StudioLayers.tsx +1 -9
- package/src/tags.d.ts +63 -0
- package/src/web/page/home/HomePage.tsx +0 -10
|
@@ -53559,13 +53559,15 @@ System.register(["@web-atoms/core/dist/core/AtomBinder", "./EditingSymbols"], fu
|
|
|
53559
53559
|
const {
|
|
53560
53560
|
documentObserver
|
|
53561
53561
|
} = this;
|
|
53562
|
-
if (this.silent
|
|
53563
|
-
|
|
53564
|
-
|
|
53565
|
-
|
|
53566
|
-
|
|
53567
|
-
|
|
53568
|
-
d
|
|
53562
|
+
if (this.silent) {
|
|
53563
|
+
if (documentObserver === null || documentObserver === void 0 ? void 0 : documentObserver.length) {
|
|
53564
|
+
for (const x of records) {
|
|
53565
|
+
if (x.target[isDragged]) {
|
|
53566
|
+
continue;
|
|
53567
|
+
}
|
|
53568
|
+
for (const d of documentObserver) {
|
|
53569
|
+
d(x);
|
|
53570
|
+
}
|
|
53569
53571
|
}
|
|
53570
53572
|
}
|
|
53571
53573
|
return;
|
|
@@ -56597,7 +56599,7 @@ System.register([], function (_export, _context) {
|
|
|
56597
56599
|
System.register(["@web-atoms/core/dist/core/XNode", "../../menus/EditorPopupMenu", "../../properties/controls/PropertyEditor", "./SelectionUI.global.css", "../sizes", "./SnapGuides", "../EditingSymbols"], function (_export, _context) {
|
|
56598
56600
|
"use strict";
|
|
56599
56601
|
|
|
56600
|
-
var XNode, EditorPopupMenu, BindEditor, mobileScreenWidth, tabletScreenWidth, SnapGuides, isDragged, ps, beginDrag, setCapture, eventPointerDown, keyboardEditingSymbol, eventKeyDown, previousFocus, updateFocus, eventDoubleClick;
|
|
56602
|
+
var XNode, EditorPopupMenu, BindEditor, mobileScreenWidth, tabletScreenWidth, SnapGuides, isDragged, ps, cssPath, beginDrag, setCapture, eventPointerDown, keyboardEditingSymbol, eventKeyDown, previousFocus, updateFocus, eventDoubleClick;
|
|
56601
56603
|
function SelectionUI() {
|
|
56602
56604
|
return XNode.create("selected-element", {
|
|
56603
56605
|
"data-element": "selection",
|
|
@@ -56678,6 +56680,29 @@ System.register(["@web-atoms/core/dist/core/XNode", "../../menus/EditorPopupMenu
|
|
|
56678
56680
|
}],
|
|
56679
56681
|
execute: function () {
|
|
56680
56682
|
ps = (v, max) => (v * 100 / (max || 1)).toFixed(2);
|
|
56683
|
+
cssPath = el => {
|
|
56684
|
+
const path = [];
|
|
56685
|
+
while (el.nodeType === Node.ELEMENT_NODE) {
|
|
56686
|
+
let selector = el.nodeName.toLowerCase();
|
|
56687
|
+
if (el.id) {
|
|
56688
|
+
selector += '#' + el.id;
|
|
56689
|
+
} else {
|
|
56690
|
+
let nth = 1;
|
|
56691
|
+
let f = el.parentElement.firstElementChild;
|
|
56692
|
+
while (f !== el) {
|
|
56693
|
+
nth++;
|
|
56694
|
+
f = f.nextElementSibling;
|
|
56695
|
+
}
|
|
56696
|
+
selector += ":nth-child(" + nth + ")";
|
|
56697
|
+
}
|
|
56698
|
+
path.unshift(selector);
|
|
56699
|
+
if (el.tagName === "BODY") {
|
|
56700
|
+
break;
|
|
56701
|
+
}
|
|
56702
|
+
el = el.parentNode;
|
|
56703
|
+
}
|
|
56704
|
+
return path.join(" > ");
|
|
56705
|
+
};
|
|
56681
56706
|
beginDrag = (direction, editor, element) => {
|
|
56682
56707
|
const snaps = new SnapGuides(direction, editor, element);
|
|
56683
56708
|
const prefix = editor.maxWidth === tabletScreenWidth ? "styler-tablet" : editor.maxWidth === mobileScreenWidth ? "styler-mobile" : "styler";
|
|
@@ -56708,6 +56733,8 @@ System.register(["@web-atoms/core/dist/core/XNode", "../../menus/EditorPopupMenu
|
|
|
56708
56733
|
element[isDragged] = true;
|
|
56709
56734
|
editor.hover.update(selectedElement.parentElement);
|
|
56710
56735
|
let updateTimer = void 0;
|
|
56736
|
+
const dndStyle = editor.dndStyle;
|
|
56737
|
+
const elementSelector = cssPath(selectedElement);
|
|
56711
56738
|
const move = ({
|
|
56712
56739
|
dx,
|
|
56713
56740
|
dy,
|
|
@@ -56736,14 +56763,18 @@ System.register(["@web-atoms/core/dist/core/XNode", "../../menus/EditorPopupMenu
|
|
|
56736
56763
|
let r = fx(ri);
|
|
56737
56764
|
r = snaps.snap(r);
|
|
56738
56765
|
inset = `${ps(r.top, height)}% ${ps(r.right, width)}% ${ps(r.bottom, height)}% ${ps(r.left, width)}%`;
|
|
56739
|
-
|
|
56766
|
+
let rules = `${elementSelector} {
|
|
56767
|
+
inset: ${inset};
|
|
56768
|
+
`;
|
|
56740
56769
|
if (!r.move) {
|
|
56741
56770
|
resized = true;
|
|
56742
56771
|
newWidth = ps(elementWidth + dx, width) + "%";
|
|
56743
|
-
|
|
56772
|
+
rules += ` width: ${newWidth}; `;
|
|
56744
56773
|
newHeight = ps(elementHeight + dy, height) + "%";
|
|
56745
|
-
|
|
56774
|
+
rules += ` height: ${newHeight}; `;
|
|
56746
56775
|
}
|
|
56776
|
+
rules += "}";
|
|
56777
|
+
dndStyle.replaceSync(rules);
|
|
56747
56778
|
if (!updateTimer) {
|
|
56748
56779
|
updateTimer = setTimeout(() => {
|
|
56749
56780
|
updateTimer = void 0;
|
|
@@ -56757,9 +56788,7 @@ System.register(["@web-atoms/core/dist/core/XNode", "../../menus/EditorPopupMenu
|
|
|
56757
56788
|
element[isDragged] = void 0;
|
|
56758
56789
|
};
|
|
56759
56790
|
const commit = () => {
|
|
56760
|
-
|
|
56761
|
-
selectedElement.style.removeProperty("width");
|
|
56762
|
-
selectedElement.style.removeProperty("height");
|
|
56791
|
+
dndStyle.replaceSync("");
|
|
56763
56792
|
selectedElement.setAttribute(insetAttribute, inset);
|
|
56764
56793
|
if (resized) {
|
|
56765
56794
|
selectedElement.setAttribute(widthAttribute, newWidth);
|
|
@@ -56837,8 +56866,8 @@ System.register(["@web-atoms/core/dist/core/XNode", "../../menus/EditorPopupMenu
|
|
|
56837
56866
|
element.releasePointerCapture(e.pointerId);
|
|
56838
56867
|
element.removeEventListener("pointermove", captureMove);
|
|
56839
56868
|
element.removeEventListener("pointerup", release);
|
|
56840
|
-
sc.resume();
|
|
56841
56869
|
if (!sc.changed) {
|
|
56870
|
+
sc.resume();
|
|
56842
56871
|
const {
|
|
56843
56872
|
selectedElement,
|
|
56844
56873
|
selectedParent
|
|
@@ -57750,7 +57779,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
57750
57779
|
caret.insertRule(`* {
|
|
57751
57780
|
caret-color: currentColor !important;
|
|
57752
57781
|
}`);
|
|
57753
|
-
|
|
57782
|
+
const dndStyle = new this.htmlDocument.defaultView.CSSStyleSheet();
|
|
57783
|
+
this.dndStyle = dndStyle;
|
|
57784
|
+
this.htmlDocument.adoptedStyleSheets = ((_a = this.htmlDocument.adoptedStyleSheets) === null || _a === void 0 ? void 0 : _a.length) ? [...this.htmlDocument.adoptedStyleSheets, caret, dndStyle] : [caret, dndStyle];
|
|
57754
57785
|
const clone = this.htmlDocument;
|
|
57755
57786
|
let stylerCss = clone.querySelector(`link[rel="stylesheet"][styler-css="styler.css"]`);
|
|
57756
57787
|
if (!stylerCss) {
|