@social-mail/social-mail-client 1.8.277 → 1.8.279
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 +6 -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/public/channel/ChannelApp.pack.js +42 -3
- package/dist/public/channel/ChannelApp.pack.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
- package/dist/public/channel/UrlService.d.ts +1 -0
- package/dist/public/channel/UrlService.d.ts.map +1 -1
- package/dist/public/channel/UrlService.js +18 -0
- package/dist/public/channel/UrlService.js.map +1 -1
- package/dist/public/channel/controls/channel-post/ChannelPost.js +4 -1
- package/dist/public/channel/controls/channel-post/ChannelPost.js.map +1 -1
- package/dist/public/channel/pages/posts/ChannelPage.d.ts +1 -3
- package/dist/public/channel/pages/posts/ChannelPage.d.ts.map +1 -1
- package/dist/public/channel/pages/posts/ChannelPage.js +14 -1
- package/dist/public/channel/pages/posts/ChannelPage.js.map +1 -1
- package/dist/public/contact-us/ContactUsApp.d.ts.map +1 -1
- package/dist/public/contact-us/ContactUsApp.js +5 -0
- package/dist/public/contact-us/ContactUsApp.js.map +1 -1
- package/dist/public/contact-us/ContactUsApp.pack.js +5 -0
- package/dist/public/contact-us/ContactUsApp.pack.js.map +1 -1
- package/dist/public/contact-us/ContactUsApp.pack.min.js +1 -1
- package/dist/public/contact-us/ContactUsApp.pack.min.js.map +1 -1
- package/dist/site-editor/properties/groups/EffectGroup.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/EffectGroup.js +3 -0
- package/dist/site-editor/properties/groups/EffectGroup.js.map +1 -1
- package/dist/site-editor/suggestions/editorSuggestions.d.ts +4 -0
- package/dist/site-editor/suggestions/editorSuggestions.d.ts.map +1 -1
- package/dist/site-editor/suggestions/properties/effects.d.ts +4 -0
- package/dist/site-editor/suggestions/properties/effects.d.ts.map +1 -1
- package/dist/site-editor/suggestions/properties/effects.js +3 -1
- package/dist/site-editor/suggestions/properties/effects.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +12 -2
- 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 +6 -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/dist/web/page/mails/service/ConversationService.d.ts.map +1 -1
- package/dist/web/page/mails/service/ConversationService.js +6 -1
- package/dist/web/page/mails/service/ConversationService.js.map +1 -1
- package/package.json +1 -1
- package/src/public/channel/UrlService.ts +14 -0
- package/src/public/channel/controls/channel-post/ChannelPost.tsx +2 -2
- package/src/public/channel/pages/posts/ChannelPage.tsx +17 -2
- package/src/public/contact-us/ContactUsApp.tsx +6 -0
- package/src/site-editor/properties/groups/EffectGroup.tsx +4 -0
- package/src/site-editor/suggestions/properties/effects.ts +17 -0
- package/src/web/page/mails/service/ConversationService.tsx +6 -1
- package/styler-lite/styler.css +1 -1
- package/styler-lite/styler.css.map +1 -1
- package/styler-lite/styles/properties/effects/filter.css +3 -0
|
@@ -22252,6 +22252,24 @@ System.register(["../../common/apiPath", "../../common/CDN", "../../common/Slugg
|
|
|
22252
22252
|
}
|
|
22253
22253
|
return `/${cid}/calendar/`;
|
|
22254
22254
|
},
|
|
22255
|
+
toBuyUrl({
|
|
22256
|
+
emailID,
|
|
22257
|
+
email: {
|
|
22258
|
+
subject
|
|
22259
|
+
},
|
|
22260
|
+
mailbox: {
|
|
22261
|
+
emailAddress: {
|
|
22262
|
+
emailAddress
|
|
22263
|
+
}
|
|
22264
|
+
}
|
|
22265
|
+
}) {
|
|
22266
|
+
const cid = "@" + emailAddress.split("@")[0];
|
|
22267
|
+
const slug = "buy/" + emailID;
|
|
22268
|
+
if (AppLocation.isLocalTesting) {
|
|
22269
|
+
return `?${Date.now()}#!/${cid}/${slug}`;
|
|
22270
|
+
}
|
|
22271
|
+
return `/${cid}/${slug}`;
|
|
22272
|
+
},
|
|
22255
22273
|
toBlogUrl({
|
|
22256
22274
|
emailID,
|
|
22257
22275
|
email: {
|
|
@@ -24432,10 +24450,15 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
24432
24450
|
for (const a of Array.from(msg.querySelectorAll(`a[hash-tag]`))) {
|
|
24433
24451
|
const tag = a.getAttribute("hash-tag");
|
|
24434
24452
|
const tokens = tag.toLowerCase().split("/");
|
|
24435
|
-
|
|
24453
|
+
const [name, price, currency] = tokens;
|
|
24454
|
+
if (name !== "#price") {
|
|
24436
24455
|
continue;
|
|
24437
24456
|
}
|
|
24457
|
+
email.price = price;
|
|
24458
|
+
email.currency = currency;
|
|
24438
24459
|
root.setAttribute("enable-buy", "true");
|
|
24460
|
+
root.setAttribute("price", tokens[2]);
|
|
24461
|
+
root.setAttribute("currency", tokens[1]);
|
|
24439
24462
|
}
|
|
24440
24463
|
if (/img|video/i.test(firstVisibleElement === null || firstVisibleElement === void 0 ? void 0 : firstVisibleElement.tagName)) {
|
|
24441
24464
|
root.setAttribute("has-poster", "true");
|
|
@@ -24713,7 +24736,10 @@ System.register(["@web-atoms/core/dist/core/XNode", "../../../../model/model", "
|
|
|
24713
24736
|
}, XNode.create("inline-svg", {
|
|
24714
24737
|
"attr-src": UMD.resolvePath("@social-mail/social-mail-client/content/images/icons/comment-plus.svg"),
|
|
24715
24738
|
"style-max-height": "15px"
|
|
24716
|
-
}), "Reply"), XNode.create("
|
|
24739
|
+
}), "Reply"), !email.email.parentID && XNode.create("button", {
|
|
24740
|
+
"data-click-event": "buy-now",
|
|
24741
|
+
"data-element": "buy-now"
|
|
24742
|
+
}, "Buy Now"), XNode.create("share-button", {
|
|
24717
24743
|
title: email.email.subject,
|
|
24718
24744
|
href: location.href
|
|
24719
24745
|
}, XNode.create("i", {
|
|
@@ -27229,7 +27255,20 @@ System.register(["tslib", "../../BlogService", "../../../../model/model", "@web-
|
|
|
27229
27255
|
buyNowClick({
|
|
27230
27256
|
email
|
|
27231
27257
|
}) {
|
|
27232
|
-
|
|
27258
|
+
const body = `
|
|
27259
|
+
I am interested in purchasing ${email.subject}
|
|
27260
|
+
For price ${email.price} ${email.currency.toUpperCase()} mentioned on the website.
|
|
27261
|
+
Please revert back to me with the quotation and method of payment including taxes and shipping if any..
|
|
27262
|
+
|
|
27263
|
+
My information...
|
|
27264
|
+
Name:
|
|
27265
|
+
Email:
|
|
27266
|
+
Phone:
|
|
27267
|
+
Address:
|
|
27268
|
+
|
|
27269
|
+
...
|
|
27270
|
+
`;
|
|
27271
|
+
location.href = "/contact.html?body=" + encodeURIComponent(body);
|
|
27233
27272
|
}
|
|
27234
27273
|
reactAction(email, emoji) {
|
|
27235
27274
|
const {
|