@social-mail/social-mail-client 1.2.142 → 1.2.144
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 +80 -13
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +3 -3
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/site-editor/editor/WebSitePageEditor.js +1 -1
- package/dist/site-editor/editor/WebSitePageEditor.js.map +1 -1
- package/dist/site-editor/properties/Properties.d.ts.map +1 -1
- package/dist/site-editor/properties/Properties.js +5 -3
- package/dist/site-editor/properties/Properties.js.map +1 -1
- package/dist/site-editor/properties/groups/ImageEditor.d.ts +2 -0
- package/dist/site-editor/properties/groups/ImageEditor.d.ts.map +1 -0
- package/dist/site-editor/properties/groups/ImageEditor.js +41 -0
- package/dist/site-editor/properties/groups/ImageEditor.js.map +1 -0
- package/dist/site-editor/styler/StylerSet.d.ts +4 -0
- package/dist/site-editor/styler/StylerSet.d.ts.map +1 -1
- package/dist/site-editor/styler/StylerSet.js +6 -8
- package/dist/site-editor/styler/StylerSet.js.map +1 -1
- package/dist/site-editor/styler/properties/img/stylerImage.d.ts +8 -0
- package/dist/site-editor/styler/properties/img/stylerImage.d.ts.map +1 -0
- package/dist/site-editor/styler/properties/img/stylerImage.js +20 -0
- package/dist/site-editor/styler/properties/img/stylerImage.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +80 -13
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +3 -3
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/site-editor/editor/WebSitePageEditor.tsx +1 -1
- package/src/site-editor/properties/Properties.tsx +2 -0
- package/src/site-editor/properties/groups/ImageEditor.tsx +28 -0
- package/src/site-editor/styler/StylerSet.ts +3 -5
- package/src/site-editor/styler/properties/img/stylerImage.ts +14 -0
|
@@ -70,7 +70,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "./HtmlP
|
|
|
70
70
|
script.setAttribute("web-components", "social");
|
|
71
71
|
script.setAttribute("async", "true");
|
|
72
72
|
script.setAttribute("defer", "true");
|
|
73
|
-
this.htmlDocument.
|
|
73
|
+
this.htmlDocument.head.appendChild(script);
|
|
74
74
|
}
|
|
75
75
|
script.setAttribute("src", "//www.unpkg.com/@social-mail/web-components@latest/dist/components.js");
|
|
76
76
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["WebSitePageEditor","_export","setters","_tslib","BindableProperty","_webAtomsCoreDistCoreBindableProperty","_HtmlPageEditor","HtmlPageEditor","default","_webPageFilesMediaChooseMediaPage","ChooseMediaPage","_webAtomsWebControlsDistPageNavigator","PageNavigator","_stylerStylerSet","StylerSet","_webAtomsCoreDistCoreInjectProperty","InjectProperty","_webPageFilesServiceCloudFileService","CloudFileService","_webAtomsCoreDistViewModelAction","Action","_codeEditorCodeEditorPage","CodeEditorPage","execute","constructor","folder","changeImage","file","size","pushPageForResult","accept","src","appFileID","fileContentID","name","insertImage","openVariables","cloudFileService","children","firstOrDefault","changedFile","addStyleSheet","setStylerSheet","stylerCSS","createFile","instance","toString","vars","varsCss","script","htmlDocument","querySelector","createElement","setAttribute","
|
|
1
|
+
{"version":3,"names":["WebSitePageEditor","_export","setters","_tslib","BindableProperty","_webAtomsCoreDistCoreBindableProperty","_HtmlPageEditor","HtmlPageEditor","default","_webPageFilesMediaChooseMediaPage","ChooseMediaPage","_webAtomsWebControlsDistPageNavigator","PageNavigator","_stylerStylerSet","StylerSet","_webAtomsCoreDistCoreInjectProperty","InjectProperty","_webPageFilesServiceCloudFileService","CloudFileService","_webAtomsCoreDistViewModelAction","Action","_codeEditorCodeEditorPage","CodeEditorPage","execute","constructor","folder","changeImage","file","size","pushPageForResult","accept","src","appFileID","fileContentID","name","insertImage","openVariables","cloudFileService","children","firstOrDefault","changedFile","addStyleSheet","setStylerSheet","stylerCSS","createFile","instance","toString","vars","varsCss","script","htmlDocument","querySelector","createElement","setAttribute","head","appendChild","document","href","link","iterator","Array","from","querySelectorAll","getAttribute","rel","fileName","css","content","File","type","saveFile","parentID","getFile","__decorate","onEvent"],"sources":["../../../src/site-editor/editor/WebSitePageEditor.tsx"],"sourcesContent":[null],"mappings":";;;gLAWqBA,iBAAkB;EAAAC,OAAA;EAAA;IAAAC,OAAA,aAAAC,MAAA;;;;;MAX9BC,gBAAgB,GAAAC,qCAAA,CAAhBD,gBAAgB;IAAA,aAAAE,eAAA;MAElBC,cAAc,GAAAD,eAAA,CAAAE,OAAA;IAAA,aAAAC,iCAAA;MACdC,eAAe,GAAAD,iCAAA,CAAAD,OAAA;IAAA,aAAAG,qCAAA;MACfC,aAAa,GAAAD,qCAAA,CAAAH,OAAA;IAAA,aAAAK,gBAAA;MACXC,SAAS,GAAAD,gBAAA,CAATC,SAAS;IAAA,aAAAC,mCAAA;MACXC,cAAc,GAAAD,mCAAA,CAAAP,OAAA;IAAA,aAAAS,oCAAA;MACdC,gBAAgB,GAAAD,oCAAA,CAAAT,OAAA;IAAA,aAAAW,gCAAA;MAChBC,MAAM,GAAAD,gCAAA,CAAAX,OAAA;IAAA,aAAAa,yBAAA;MACNC,cAAc,GAAAD,yBAAA,CAAAb,OAAA;IAAA;IAAAe,OAAA,WAAAA,CAAA;MAAAtB,OAAA,YAEAD,iBAAkB,GAAzB,MAAOA,iBAAkB,SAAQO,cAAc;QAA7DiB,YAAA;;UAGW,KAAAC,MAAM,GAAa,IAAI;QAsElC;QAjEUC,WAAWA,CAAA;;YACb,MAAM;cAAEC,IAAI;cAAEC;YAAI,CAAE,GAAG,MAAMhB,aAAa,CAACiB,iBAAiB,CAACnB,eAAe,EAAE;cAAEe,MAAM,EAAE,IAAI,CAACA,MAAM;cAAEK,MAAM,EAAE;YAAS,CAAE,CAAC;YACzH,MAAMC,GAAG,GAAI,wBAAwBH,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AQ,EAAE;cAAEI,IAAI,EAAE;YAAU,CAAE,CAAC;YAC/D,MAAM;cAAErC;YAAS,CAAE,GAAG,MAAM,IAAI,CAACK,gBAAgB,CAACiC,QAAQ,CAAC;cAAEC,QAAQ,EAAE,IAAI,CAAC9C,MAAM,CAACO,SAAS;cAAEP,MAAM,EAAE,QAAQ;cAAE0C;YAAO,CAAE,CAAC;YAC1H,MAAMxC,IAAI,GAAG,MAAM,IAAI,CAACU,gBAAgB,CAACmC,OAAO,CAACxC,SAAS,CAAC;YAC3D,OAAOL,IAAI;UACf,CAAC;;OACJ;MAvEG8C,UAAA,EAACrE,gBAAgB,E,kFACc;MAE/BqE,UAAA,EAACzD,cAAc,E,0BACWE,gBAAgB,E,0DAAC;MASrCuD,UAAA,EADLrD,MAAM,CAAC;QAAEsD,OAAO,EAAE;MAAgB,CAAC,CAAC,E,wKAKpC;IAAA;EAAA;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Properties.d.ts","sourceRoot":"","sources":["../../../src/site-editor/properties/Properties.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Properties.d.ts","sourceRoot":"","sources":["../../../src/site-editor/properties/Properties.tsx"],"names":[],"mappings":"AAYA,MAAM,CAAC,OAAO,UAAU,UAAU,QAkBjC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
System.register(["@web-atoms/core/dist/core/XNode", "./groups/LayoutEditor", "./groups/TextPropertyEditor", "./groups/BorderGroupEditor", "./groups/SizeGroupEditor", "./groups/SpaceGroupEditor", "./groups/PositionGroupEditor", "./groups/BackgroundGroupEditor", "./groups/AttributeEditor"], function (_export, _context) {
|
|
1
|
+
System.register(["@web-atoms/core/dist/core/XNode", "./groups/LayoutEditor", "./groups/TextPropertyEditor", "./groups/BorderGroupEditor", "./groups/SizeGroupEditor", "./groups/SpaceGroupEditor", "./groups/PositionGroupEditor", "./groups/BackgroundGroupEditor", "./groups/AttributeEditor", "./groups/ImageEditor"], function (_export, _context) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var XNode, LayoutEditor, TextPropertyEditor, BorderGroupEditor, SizeGroupEditor, SpaceGroupEditor, PositionGroupEditor, BackgroundGroupEditor, AttributeEditor;
|
|
4
|
+
var XNode, LayoutEditor, TextPropertyEditor, BorderGroupEditor, SizeGroupEditor, SpaceGroupEditor, PositionGroupEditor, BackgroundGroupEditor, AttributeEditor, ImageEditor;
|
|
5
5
|
function Properties() {
|
|
6
6
|
return XNode.create("div", {
|
|
7
7
|
"data-layout": "vertical-flex-stretch-items"
|
|
8
|
-
}, XNode.create(AttributeEditor, null), XNode.create(LayoutEditor, null), XNode.create(SizeGroupEditor, null), XNode.create(BorderGroupEditor, null), XNode.create(SpaceGroupEditor, null), XNode.create(PositionGroupEditor, null), XNode.create(BackgroundGroupEditor, null), XNode.create(TextPropertyEditor, null));
|
|
8
|
+
}, XNode.create(AttributeEditor, null), XNode.create(LayoutEditor, null), XNode.create(ImageEditor, null), XNode.create(SizeGroupEditor, null), XNode.create(BorderGroupEditor, null), XNode.create(SpaceGroupEditor, null), XNode.create(PositionGroupEditor, null), XNode.create(BackgroundGroupEditor, null), XNode.create(TextPropertyEditor, null));
|
|
9
9
|
}
|
|
10
10
|
_export("default", Properties);
|
|
11
11
|
return {
|
|
@@ -27,6 +27,8 @@ System.register(["@web-atoms/core/dist/core/XNode", "./groups/LayoutEditor", "./
|
|
|
27
27
|
BackgroundGroupEditor = _groupsBackgroundGroupEditor.default;
|
|
28
28
|
}, function (_groupsAttributeEditor) {
|
|
29
29
|
AttributeEditor = _groupsAttributeEditor.default;
|
|
30
|
+
}, function (_groupsImageEditor) {
|
|
31
|
+
ImageEditor = _groupsImageEditor.default;
|
|
30
32
|
}],
|
|
31
33
|
execute: function () {}
|
|
32
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Properties","XNode","create","AttributeEditor","LayoutEditor","SizeGroupEditor","BorderGroupEditor","SpaceGroupEditor","PositionGroupEditor","BackgroundGroupEditor","TextPropertyEditor","_export","setters","_webAtomsCoreDistCoreXNode","default","_groupsLayoutEditor","_groupsTextPropertyEditor","_groupsBorderGroupEditor","_groupsSizeGroupEditor","_groupsSpaceGroupEditor","_groupsPositionGroupEditor","_groupsBackgroundGroupEditor","_groupsAttributeEditor","execute"],"sources":["../../../src/site-editor/properties/Properties.tsx"],"sourcesContent":[null],"mappings":";;;;
|
|
1
|
+
{"version":3,"names":["Properties","XNode","create","AttributeEditor","LayoutEditor","ImageEditor","SizeGroupEditor","BorderGroupEditor","SpaceGroupEditor","PositionGroupEditor","BackgroundGroupEditor","TextPropertyEditor","_export","setters","_webAtomsCoreDistCoreXNode","default","_groupsLayoutEditor","_groupsTextPropertyEditor","_groupsBorderGroupEditor","_groupsSizeGroupEditor","_groupsSpaceGroupEditor","_groupsPositionGroupEditor","_groupsBackgroundGroupEditor","_groupsAttributeEditor","_groupsImageEditor","execute"],"sources":["../../../src/site-editor/properties/Properties.tsx"],"sourcesContent":[null],"mappings":";;;;EAYc,SAAUA,UAAUA,CAAA;IAE9B,OAAOC,KAAA,CAAAC,MAAA;MAAA,eACS;IAA6B,GACrCD,KAAA,CAAAC,MAAA,CAACC,eAAe,OAAE,EAClBF,KAAA,CAAAC,MAAA,CAACE,YAAY,OAAE,EACfH,KAAA,CAAAC,MAAA,CAACG,WAAW,OAAE,EACdJ,KAAA,CAAAC,MAAA,CAACI,eAAe,OAAE,EAClBL,KAAA,CAAAC,MAAA,CAACK,iBAAiB,OAAE,EACpBN,KAAA,CAAAC,MAAA,CAACM,gBAAgB,OAAE,EACnBP,KAAA,CAAAC,MAAA,CAACO,mBAAmB,OAAE,EACtBR,KAAA,CAAAC,MAAA,CAACQ,qBAAqB,OAAE,EAExBT,KAAA,CAAAC,MAAA,CAACS,kBAAkB,OAAE,CAEvB;EAGV;EAACC,OAAA,YAlBuBZ,UAAU;EAAA;IAAAa,OAAA,aAAAC,0BAAA;MAZ3Bb,KAAK,GAAAa,0BAAA,CAAAC,OAAA;IAAA,aAAAC,mBAAA;MACLZ,YAAY,GAAAY,mBAAA,CAAAD,OAAA;IAAA,aAAAE,yBAAA;MACZN,kBAAkB,GAAAM,yBAAA,CAAAF,OAAA;IAAA,aAAAG,wBAAA;MAElBX,iBAAiB,GAAAW,wBAAA,CAAAH,OAAA;IAAA,aAAAI,sBAAA;MACjBb,eAAe,GAAAa,sBAAA,CAAAJ,OAAA;IAAA,aAAAK,uBAAA;MACfZ,gBAAgB,GAAAY,uBAAA,CAAAL,OAAA;IAAA,aAAAM,0BAAA;MAChBZ,mBAAmB,GAAAY,0BAAA,CAAAN,OAAA;IAAA,aAAAO,4BAAA;MACnBZ,qBAAqB,GAAAY,4BAAA,CAAAP,OAAA;IAAA,aAAAQ,sBAAA;MACrBpB,eAAe,GAAAoB,sBAAA,CAAAR,OAAA;IAAA,aAAAS,kBAAA;MACfnB,WAAW,GAAAmB,kBAAA,CAAAT,OAAA;IAAA;IAAAU,OAAA,WAAAA,CAAA;EAAA;AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageEditor.d.ts","sourceRoot":"","sources":["../../../../src/site-editor/properties/groups/ImageEditor.tsx"],"names":[],"mappings":"AAMA,MAAM,CAAC,OAAO,UAAU,WAAW,QAqBlC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
System.register(["@web-atoms/core/dist/core/XNode", "../controls/PropertyEditor", "../../styler/StylerSet"], function (_export, _context) {
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var XNode, BindEditor, DropDownProperty, ExpanderPropertyEditor, StylerSet, properties;
|
|
5
|
+
function ImageEditor() {
|
|
6
|
+
return XNode.create(ExpanderPropertyEditor, {
|
|
7
|
+
"style-display": BindEditor.oneWay(x => /^img$/i.test(x.selection.name)),
|
|
8
|
+
label: "Image"
|
|
9
|
+
}, XNode.create(DropDownProperty, {
|
|
10
|
+
label: "Object Fit",
|
|
11
|
+
property: properties.stylerObjectFit
|
|
12
|
+
}), XNode.create(DropDownProperty, {
|
|
13
|
+
label: "Orientation",
|
|
14
|
+
property: properties.stylerImageOrientation
|
|
15
|
+
}), XNode.create(DropDownProperty, {
|
|
16
|
+
label: "Rendering",
|
|
17
|
+
property: properties.stylerImageRendering
|
|
18
|
+
}), XNode.create(DropDownProperty, {
|
|
19
|
+
label: "Resolution",
|
|
20
|
+
property: properties.stylerImageResolution
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
_export("default", ImageEditor);
|
|
24
|
+
return {
|
|
25
|
+
setters: [function (_webAtomsCoreDistCoreXNode) {
|
|
26
|
+
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
27
|
+
}, function (_controlsPropertyEditor) {
|
|
28
|
+
BindEditor = _controlsPropertyEditor.BindEditor;
|
|
29
|
+
DropDownProperty = _controlsPropertyEditor.DropDownProperty;
|
|
30
|
+
ExpanderPropertyEditor = _controlsPropertyEditor.ExpanderPropertyEditor;
|
|
31
|
+
}, function (_stylerStylerSet) {
|
|
32
|
+
StylerSet = _stylerStylerSet.StylerSet;
|
|
33
|
+
}],
|
|
34
|
+
execute: function () {
|
|
35
|
+
({
|
|
36
|
+
properties
|
|
37
|
+
} = StylerSet.instance);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=ImageEditor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ImageEditor","XNode","create","ExpanderPropertyEditor","BindEditor","oneWay","x","test","selection","name","label","DropDownProperty","property","properties","stylerObjectFit","stylerImageOrientation","stylerImageRendering","stylerImageResolution","_export","setters","_webAtomsCoreDistCoreXNode","default","_controlsPropertyEditor","_stylerStylerSet","StylerSet","execute","instance"],"sources":["../../../../src/site-editor/properties/groups/ImageEditor.tsx"],"sourcesContent":[null],"mappings":";;;;EAMc,SAAUA,WAAWA,CAAA;IAC/B,OAAOC,KAAA,CAAAC,MAAA,CAACC,sBAAsB;MAAA,iBACXC,UAAU,CAACC,MAAM,CAAEC,CAAC,IAAK,QAAQ,CAACC,IAAI,CAACD,CAAC,CAACE,SAAS,CAACC,IAAI,CAAC,CAAC;MACxEC,KAAK,EAAC;IAAO,GACbT,KAAA,CAAAC,MAAA,CAACS,gBAAgB;MACbD,KAAK,EAAC,YAAY;MAClBE,QAAQ,EAAEC,UAAU,CAACC;IAAe,EAClC,EACNb,KAAA,CAAAC,MAAA,CAACS,gBAAgB;MACbD,KAAK,EAAC,aAAa;MACnBE,QAAQ,EAAEC,UAAU,CAACE;IAAsB,EACzC,EACNd,KAAA,CAAAC,MAAA,CAACS,gBAAgB;MACbD,KAAK,EAAC,WAAW;MACjBE,QAAQ,EAAEC,UAAU,CAACG;IAAoB,EACvC,EACNf,KAAA,CAAAC,MAAA,CAACS,gBAAgB;MACbD,KAAK,EAAC,YAAY;MAClBE,QAAQ,EAAEC,UAAU,CAACI;IAAqB,EACxC,CACe;EAC7B;EAACC,OAAA,YArBuBlB,WAAW;EAAA;IAAAmB,OAAA,aAAAC,0BAAA;MAN5BnB,KAAK,GAAAmB,0BAAA,CAAAC,OAAA;IAAA,aAAAC,uBAAA;MACHlB,UAAU,GAAAkB,uBAAA,CAAVlB,UAAU;MAAEO,gBAAgB,GAAAW,uBAAA,CAAhBX,gBAAgB;MAAER,sBAAsB,GAAAmB,uBAAA,CAAtBnB,sBAAsB;IAAA,aAAAoB,gBAAA;MACpDC,SAAS,GAAAD,gBAAA,CAATC,SAAS;IAAA;IAAAC,OAAA,WAAAA,CAAA;MAAA,CAEZ;QAAEZ;MAAU,CAAE,GAAGW,SAAS,CAACE,QAAQ;IAAA;EAAA;AAAA"}
|
|
@@ -3,6 +3,10 @@ export declare class StylerSet {
|
|
|
3
3
|
vars: any[];
|
|
4
4
|
varsCss: string;
|
|
5
5
|
properties: {
|
|
6
|
+
stylerObjectFit: import("./Styler").StylerProperty;
|
|
7
|
+
stylerImageOrientation: import("./Styler").StylerProperty;
|
|
8
|
+
stylerImageRendering: import("./Styler").StylerProperty;
|
|
9
|
+
stylerImageResolution: import("./Styler").StylerProperty;
|
|
6
10
|
stylerBackground: import("./Styler").StylerProperty;
|
|
7
11
|
stylerBackgroundColor: import("./Styler").StylerProperty;
|
|
8
12
|
stylerBackgroundImage: import("./Styler").StylerProperty;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StylerSet.d.ts","sourceRoot":"","sources":["../../../src/site-editor/styler/StylerSet.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StylerSet.d.ts","sourceRoot":"","sources":["../../../src/site-editor/styler/StylerSet.ts"],"names":[],"mappings":"AAuBA,qBAAa,SAAS;IAElB,OAAc,QAAQ,YAAmB;IAEzC,IAAI,QAAQ;IAEZ,OAAO,SAA8B;IAErC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAaR;IAEF,QAAQ;CA2CX"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
System.register(["./Styler", "./properties/stylerBorder", "./properties/layouts/display", "./properties/layouts/flex/flex", "./properties/layouts/items-position/itemsPosition", "./properties/layouts/layout", "./properties/stylerPosition", "./properties/stylerSizes", "./properties/stylerSpace", "./properties/text/stylerText", "./properties/stylerBackground", "./properties/color-sets/stylerColorSets", "./StylerSets"], function (_export, _context) {
|
|
1
|
+
System.register(["./Styler", "./properties/stylerBorder", "./properties/layouts/display", "./properties/layouts/flex/flex", "./properties/layouts/items-position/itemsPosition", "./properties/layouts/layout", "./properties/stylerPosition", "./properties/stylerSizes", "./properties/stylerSpace", "./properties/text/stylerText", "./properties/stylerBackground", "./properties/color-sets/stylerColorSets", "./StylerSets", "./properties/img/stylerImage"], function (_export, _context) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var StylerVariable, stylerVars, stylerBorder, stylerDisplay, stylerFlexDirection, itemPositions, stylerLayout, stylerPosition, stylerSizes, stylerSpace, stylerText, stylerBackground, stylerColorSets, StylerSets, StylerSet, vars;
|
|
4
|
+
var StylerVariable, stylerVars, stylerBorder, stylerDisplay, stylerFlexDirection, itemPositions, stylerLayout, stylerPosition, stylerSizes, stylerSpace, stylerText, stylerBackground, stylerColorSets, StylerSets, stylerImage, StylerSet, vars;
|
|
5
5
|
_export("StylerSet", void 0);
|
|
6
6
|
return {
|
|
7
7
|
setters: [function (_Styler) {
|
|
@@ -31,6 +31,8 @@ System.register(["./Styler", "./properties/stylerBorder", "./properties/layouts/
|
|
|
31
31
|
stylerColorSets = _propertiesColorSetsStylerColorSets.stylerColorSets;
|
|
32
32
|
}, function (_StylerSets) {
|
|
33
33
|
StylerSets = _StylerSets.StylerSets;
|
|
34
|
+
}, function (_propertiesImgStylerImage) {
|
|
35
|
+
stylerImage = _propertiesImgStylerImage.stylerImage;
|
|
34
36
|
}],
|
|
35
37
|
execute: function () {
|
|
36
38
|
vars = [];
|
|
@@ -44,12 +46,12 @@ System.register(["./Styler", "./properties/stylerBorder", "./properties/layouts/
|
|
|
44
46
|
constructor() {
|
|
45
47
|
this.vars = vars;
|
|
46
48
|
this.varsCss = this.vars.join("\n\t\t\t");
|
|
47
|
-
this.properties = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({
|
|
49
|
+
this.properties = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({
|
|
48
50
|
stylerLayout,
|
|
49
51
|
stylerColorSets,
|
|
50
52
|
stylerDisplay,
|
|
51
53
|
stylerFlexDirection
|
|
52
|
-
}, stylerBorder), itemPositions), stylerText), stylerSizes), stylerSpace), stylerPosition), stylerBackground);
|
|
54
|
+
}, stylerBorder), itemPositions), stylerText), stylerSizes), stylerSpace), stylerPosition), stylerBackground), stylerImage);
|
|
53
55
|
}
|
|
54
56
|
toString() {
|
|
55
57
|
const properties = [];
|
|
@@ -79,10 +81,6 @@ System.register(["./Styler", "./properties/stylerBorder", "./properties/layouts/
|
|
|
79
81
|
color: var(--default-text-color);
|
|
80
82
|
}
|
|
81
83
|
|
|
82
|
-
img {
|
|
83
|
-
object-fit: none;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
84
|
${StylerSets.low.join("\n")}
|
|
87
85
|
|
|
88
86
|
${properties.join("\n")}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["StylerSet","vars","_export","setters","_Styler","StylerVariable","stylerVars","_propertiesStylerBorder","stylerBorder","_propertiesLayoutsDisplay","stylerDisplay","_propertiesLayoutsFlexFlex","stylerFlexDirection","_propertiesLayoutsItemsPositionItemsPosition","itemPositions","_propertiesLayoutsLayout","stylerLayout","_propertiesStylerPosition","stylerPosition","_propertiesStylerSizes","stylerSizes","_propertiesStylerSpace","stylerSpace","_propertiesTextStylerText","stylerText","_propertiesStylerBackground","stylerBackground","_propertiesColorSetsStylerColorSets","stylerColorSets","_StylerSets","StylerSets","execute","key","Object","prototype","hasOwnProperty","call","element","push","name","value","constructor","varsCss","join","properties","assign","toString","low","high","instance"],"sources":["../../../src/site-editor/styler/StylerSet.ts"],"sourcesContent":[null],"mappings":";;;
|
|
1
|
+
{"version":3,"names":["StylerSet","vars","_export","setters","_Styler","StylerVariable","stylerVars","_propertiesStylerBorder","stylerBorder","_propertiesLayoutsDisplay","stylerDisplay","_propertiesLayoutsFlexFlex","stylerFlexDirection","_propertiesLayoutsItemsPositionItemsPosition","itemPositions","_propertiesLayoutsLayout","stylerLayout","_propertiesStylerPosition","stylerPosition","_propertiesStylerSizes","stylerSizes","_propertiesStylerSpace","stylerSpace","_propertiesTextStylerText","stylerText","_propertiesStylerBackground","stylerBackground","_propertiesColorSetsStylerColorSets","stylerColorSets","_StylerSets","StylerSets","_propertiesImgStylerImage","stylerImage","execute","key","Object","prototype","hasOwnProperty","call","element","push","name","value","constructor","varsCss","join","properties","assign","toString","low","high","instance"],"sources":["../../../src/site-editor/styler/StylerSet.ts"],"sourcesContent":[null],"m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AACL,IAAI,CAAC,IAAI,CAAC;;;;;;SAMvB;QACL;;MA9Dc7C,SAAA,CAAAmD,QAAQ,GAAG,IAAInD,SAAS,EAAE;MAgE3C;IAAC;EAAA;AAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StylerProperty } from "../../Styler";
|
|
2
|
+
export declare const stylerImage: {
|
|
3
|
+
stylerObjectFit: StylerProperty;
|
|
4
|
+
stylerImageOrientation: StylerProperty;
|
|
5
|
+
stylerImageRendering: StylerProperty;
|
|
6
|
+
stylerImageResolution: StylerProperty;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=stylerImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stylerImage.d.ts","sourceRoot":"","sources":["../../../../../src/site-editor/styler/properties/img/stylerImage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAwC,MAAM,cAAc,CAAC;AAEpF,eAAO,MAAM,WAAW;;;;;CAWvB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
System.register(["../../Styler"], function (_export, _context) {
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var StylerProperty, createSet, stylerImage;
|
|
5
|
+
return {
|
|
6
|
+
setters: [function (_Styler) {
|
|
7
|
+
StylerProperty = _Styler.StylerProperty;
|
|
8
|
+
createSet = _Styler.createSet;
|
|
9
|
+
}],
|
|
10
|
+
execute: function () {
|
|
11
|
+
_export("stylerImage", stylerImage = {
|
|
12
|
+
stylerObjectFit: new StylerProperty("styler-object-fit", createSet("object-fit", ["contain", "cover", "fill", "none", "scale-down"])),
|
|
13
|
+
stylerImageOrientation: new StylerProperty("styler-image-orientation", createSet("image-orientation", ["none", "from-image"])),
|
|
14
|
+
stylerImageRendering: new StylerProperty("styler-image-rendering", createSet("image-rendering", ["auto", "smooth", "high-quality", "crisp-edges", "pixelated"])),
|
|
15
|
+
stylerImageResolution: new StylerProperty("styler-image-resolution", createSet("image-resolution", ["from-image", "snap"]))
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=stylerImage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StylerProperty","_Styler","createSet","execute","_export","stylerImage","stylerObjectFit","stylerImageOrientation","stylerImageRendering","stylerImageResolution"],"sources":["../../../../../src/site-editor/styler/properties/img/stylerImage.ts"],"sourcesContent":[null],"mappings":";;;;;;MAASA,cAAc,GAAAC,OAAA,CAAdD,cAAc;MAAEE,SAAS,GAAAD,OAAA,CAATC,SAAS;IAAA;IAAAC,OAAA,WAAAA,CAAA;MAAAC,OAAA,gBAErBC,WAAW,GAAG;QACvBC,eAAe,EAAE,IAAIN,cAAc,CAAC,mBAAmB,EACnDE,SAAS,CAAC,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC;QAChFK,sBAAsB,EAAE,IAAIP,cAAc,CAAC,0BAA0B,EACjEE,SAAS,CAAC,mBAAmB,EAAE,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC;QAC3DM,oBAAoB,EAAE,IAAIR,cAAc,CAAC,wBAAwB,EAC7DE,SAAS,CAAC,iBAAiB,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,aAAa,EACzE,WAAW,CAAC,CAAC,CAAC;QACtBO,qBAAqB,EAAE,IAAIT,cAAc,CAAC,yBAAyB,EAC/DE,SAAS,CAAC,kBAAkB,EAAE,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;OAE5D;IAAA;EAAA;AAAA"}
|