@social-mail/social-mail-client 1.8.276 → 1.8.278
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/common/CDN.d.ts.map +1 -1
- package/dist/common/CDN.js +6 -4
- package/dist/common/CDN.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.js +6 -4
- 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/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 -5
- 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/package.json +1 -1
- package/src/common/CDN.ts +10 -5
- package/src/site-editor/properties/groups/EffectGroup.tsx +4 -0
- package/src/site-editor/suggestions/properties/effects.ts +17 -0
- 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
package/dist/common/CDN.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CDN.d.ts","sourceRoot":"","sources":["../../src/common/CDN.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,GAAG;kBAEE,MAAM;
|
|
1
|
+
{"version":3,"file":"CDN.d.ts","sourceRoot":"","sources":["../../src/common/CDN.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,GAAG;kBAEE,MAAM;CASvB,CAAC"}
|
package/dist/common/CDN.js
CHANGED
|
@@ -6,12 +6,14 @@ System.register([], function (_export, _context) {
|
|
|
6
6
|
setters: [],
|
|
7
7
|
execute: function () {
|
|
8
8
|
cdn = (_b = (_a = window.socialMail) === null || _a === void 0 ? void 0 : _a.cdn) !== null && _b !== void 0 ? _b : "";
|
|
9
|
-
if (cdn) {
|
|
10
|
-
cdn = "https://" + cdn;
|
|
11
|
-
}
|
|
12
9
|
_export("CDN", CDN = {
|
|
13
10
|
toCDNUrl(url) {
|
|
14
|
-
|
|
11
|
+
if (/^https?\:\/\//i.test(url)) {
|
|
12
|
+
const u = new URL(url);
|
|
13
|
+
u.hostname = cdn;
|
|
14
|
+
return u.toString();
|
|
15
|
+
}
|
|
16
|
+
return "https://" + cdn + url;
|
|
15
17
|
}
|
|
16
18
|
});
|
|
17
19
|
}
|
package/dist/common/CDN.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["cdn","_b","_a","window","socialMail","_export","CDN","toCDNUrl","url"],"sources":["../../src/common/CDN.ts"],"sourcesContent":[null],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"names":["cdn","_b","_a","window","socialMail","_export","CDN","toCDNUrl","url","test","u","URL","hostname","toString"],"sources":["../../src/common/CDN.ts"],"sourcesContent":[null],"mappings":";;;;;;;MAAMA,GAAG,GAAG,CAAAC,EAAA,IAAAC,EAAA,GAACC,MAAc,CAACC,UAAU,cAAAF,EAAA,uBAAAA,EAAA,CAAEF,GAAG,cAAAC,EAAA,cAAAA,EAAA,GAAI,EAAE;MAAAI,OAAA,QAKpCC,GAAG,GAAG;QAEfC,QAAQA,CAACC,GAAW;UAChB,IAAI,gBAAgB,CAACC,IAAI,CAACD,GAAG,CAAC,EAAE;YAC5B,MAAME,CAAC,GAAG,IAAIC,GAAG,CAACH,GAAG,CAAC;YACtBE,CAAC,CAACE,QAAQ,GAAGZ,GAAG;YAChB,OAAOU,CAAC,CAACG,QAAQ,EAAE;UACvB;UACA,OAAO,UAAU,GAAGb,GAAG,GAAGQ,GAAG;QACjC;OAEH;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -22089,12 +22089,14 @@ System.register([], function (_export, _context) {
|
|
|
22089
22089
|
setters: [],
|
|
22090
22090
|
execute: function () {
|
|
22091
22091
|
cdn = (_b = (_a = window.socialMail) === null || _a === void 0 ? void 0 : _a.cdn) !== null && _b !== void 0 ? _b : "";
|
|
22092
|
-
if (cdn) {
|
|
22093
|
-
cdn = "https://" + cdn;
|
|
22094
|
-
}
|
|
22095
22092
|
_export("CDN", CDN = {
|
|
22096
22093
|
toCDNUrl(url) {
|
|
22097
|
-
|
|
22094
|
+
if (/^https?\:\/\//i.test(url)) {
|
|
22095
|
+
const u = new URL(url);
|
|
22096
|
+
u.hostname = cdn;
|
|
22097
|
+
return u.toString();
|
|
22098
|
+
}
|
|
22099
|
+
return "https://" + cdn + url;
|
|
22098
22100
|
}
|
|
22099
22101
|
});
|
|
22100
22102
|
}
|