@social-mail/social-mail-client 1.2.133 → 1.2.134

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.
Files changed (27) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +12 -109
  2. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  3. package/dist/admin/AdminAppIndex.pack.min.js +1 -1
  4. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  5. package/dist/site-editor/properties/controls/SizeEditorControl.d.ts +3 -23
  6. package/dist/site-editor/properties/controls/SizeEditorControl.d.ts.map +1 -1
  7. package/dist/site-editor/properties/controls/SizeEditorControl.js +6 -101
  8. package/dist/site-editor/properties/controls/SizeEditorControl.js.map +1 -1
  9. package/dist/site-editor/properties/groups/PositionGroupEditor.d.ts.map +1 -1
  10. package/dist/site-editor/properties/groups/PositionGroupEditor.js +6 -8
  11. package/dist/site-editor/properties/groups/PositionGroupEditor.js.map +1 -1
  12. package/dist/site-editor/properties/groups/SizeGroupEditor.d.ts.map +1 -1
  13. package/dist/site-editor/properties/groups/SizeGroupEditor.js.map +1 -1
  14. package/dist/site-editor/style-editor/StyleEditor.d.ts +2 -0
  15. package/dist/site-editor/style-editor/StyleEditor.d.ts.map +1 -0
  16. package/dist/site-editor/style-editor/StyleEditor.js +24 -0
  17. package/dist/site-editor/style-editor/StyleEditor.js.map +1 -0
  18. package/dist/tsconfig.tsbuildinfo +1 -1
  19. package/dist/web/AppIndex.pack.js +12 -109
  20. package/dist/web/AppIndex.pack.js.map +1 -1
  21. package/dist/web/AppIndex.pack.min.js +1 -1
  22. package/dist/web/AppIndex.pack.min.js.map +1 -1
  23. package/package.json +1 -1
  24. package/src/site-editor/properties/controls/SizeEditorControl.tsx +108 -104
  25. package/src/site-editor/properties/groups/PositionGroupEditor.tsx +21 -22
  26. package/src/site-editor/properties/groups/SizeGroupEditor.tsx +0 -1
  27. package/src/site-editor/style-editor/StyleEditor.tsx +22 -0
@@ -1,24 +1,4 @@
1
- import type { StylerProperty, StylerPropertyOption } from "../../styler/Styler";
2
- import { AtomControl } from "@web-atoms/core/dist/web/controls/AtomControl";
3
- import HtmlPageEditor from "../../editor/HtmlPageEditor";
4
- export declare const BindSizeEditor: import("@web-atoms/core/dist/core/Bind").IBinder<AtomControl & {
5
- parent: HtmlPageEditor;
6
- }>;
7
- export default class SizeEditorControl extends AtomControl {
8
- label: string;
9
- property: StylerProperty;
10
- custom: string;
11
- values: StylerPropertyOption[];
12
- get isCustom(): boolean;
13
- set isCustom(v: boolean);
14
- get propertyValue(): string;
15
- set propertyValue(v: string);
16
- get valueAsNumber(): number;
17
- set valueAsNumber(v: number);
18
- private _value;
19
- private _isChanging;
20
- private _old;
21
- init(): Promise<void>;
22
- protected preCreate(): void;
23
- }
1
+ import { DropDownProperty } from "./PropertyEditor";
2
+ declare const SizeEditorControl: typeof DropDownProperty;
3
+ export default SizeEditorControl;
24
4
  //# sourceMappingURL=SizeEditorControl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SizeEditorControl.d.ts","sourceRoot":"","sources":["../../../../src/site-editor/properties/controls/SizeEditorControl.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAI5E,OAAO,cAAc,MAAM,6BAA6B,CAAC;AAEzD,eAAO,MAAM,cAAc;YAA2C,cAAc;EAAI,CAAC;AAEzF,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,WAAW;IAG/C,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,cAAc,CAAC;IAGzB,MAAM,EAAE,MAAM,CAAC;IAEf,MAAM,EAAE,oBAAoB,EAAE,CAAC;IAEtC,IAAW,QAAQ,YAElB;IAED,IAAW,QAAQ,CAAC,CAAC,SAAA,EAMpB;IAED,IAAW,aAAa,WAEvB;IAED,IAAW,aAAa,CAAC,CAAC,QAAA,EAWzB;IAED,IAAW,aAAa,WAMvB;IAED,IAAW,aAAa,CAAC,CAAC,QAAA,EAEzB;IAED,OAAO,CAAC,MAAM,CAAM;IACpB,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,IAAI,CAAM;IAEZ,IAAI;IAsCV,SAAS,CAAC,SAAS,IAAI,IAAI;CAI9B"}
1
+ {"version":3,"file":"SizeEditorControl.d.ts","sourceRoot":"","sources":["../../../../src/site-editor/properties/controls/SizeEditorControl.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,QAAA,MAAM,iBAAiB,yBAAmB,CAAC;AAC3C,eAAe,iBAAiB,CAAC"}
@@ -1,109 +1,14 @@
1
- System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "@web-atoms/core/dist/web/controls/AtomControl", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dist/core/AtomBinder"], function (_export, _context) {
1
+ System.register(["./PropertyEditor"], function (_export, _context) {
2
2
  "use strict";
3
3
 
4
- var __awaiter, __decorate, __metadata, BindableProperty, AtomControl, XNode, Bind, AtomBinder, SizeEditorControl, BindSizeEditor;
5
- _export("default", void 0);
4
+ var DropDownProperty, SizeEditorControl;
6
5
  return {
7
- setters: [function (_tslib) {
8
- __awaiter = _tslib.__awaiter;
9
- __decorate = _tslib.__decorate;
10
- __metadata = _tslib.__metadata;
11
- }, function (_webAtomsCoreDistCoreBindableProperty) {
12
- BindableProperty = _webAtomsCoreDistCoreBindableProperty.BindableProperty;
13
- }, function (_webAtomsCoreDistWebControlsAtomControl) {
14
- AtomControl = _webAtomsCoreDistWebControlsAtomControl.AtomControl;
15
- }, function (_webAtomsCoreDistCoreXNode) {
16
- XNode = _webAtomsCoreDistCoreXNode.default;
17
- }, function (_webAtomsCoreDistCoreBind) {
18
- Bind = _webAtomsCoreDistCoreBind.default;
19
- }, function (_webAtomsCoreDistCoreAtomBinder) {
20
- AtomBinder = _webAtomsCoreDistCoreAtomBinder.AtomBinder;
6
+ setters: [function (_PropertyEditor) {
7
+ DropDownProperty = _PropertyEditor.DropDownProperty;
21
8
  }],
22
9
  execute: function () {
23
- _export("BindSizeEditor", BindSizeEditor = Bind.forControl());
24
- _export("default", SizeEditorControl = class SizeEditorControl extends AtomControl {
25
- constructor() {
26
- super(...arguments);
27
- this._value = "";
28
- this._isChanging = false;
29
- this._old = "";
30
- }
31
- get isCustom() {
32
- return this.propertyValue === "custom";
33
- }
34
- set isCustom(v) {
35
- if (v) {
36
- this.propertyValue = "custom";
37
- } else {
38
- this.propertyValue = this._old;
39
- }
40
- }
41
- get propertyValue() {
42
- return this._value;
43
- }
44
- set propertyValue(v) {
45
- if (this._isChanging) {
46
- return;
47
- }
48
- this._isChanging = true;
49
- this._old = v && v !== "custom" ? this._value : this._old;
50
- this._value = v;
51
- AtomBinder.refreshValue(this, "propertyValue");
52
- AtomBinder.refreshValue(this, "valueAsNumber");
53
- AtomBinder.refreshValue(this, "isCustom");
54
- this._isChanging = false;
55
- }
56
- get valueAsNumber() {
57
- var _a;
58
- const v = this.propertyValue;
59
- if (!v || v === "custom") {
60
- return 0;
61
- }
62
- return (_a = this.values.findIndex(item => item.name === v)) !== null && _a !== void 0 ? _a : 0;
63
- }
64
- set valueAsNumber(v) {
65
- var _a;
66
- this.propertyValue = ((_a = this.values[v]) === null || _a === void 0 ? void 0 : _a.name) || this._old;
67
- }
68
- init() {
69
- return __awaiter(this, void 0, void 0, function* () {
70
- const parent = this.parent;
71
- const pv = parent.selection.style(this.property.key);
72
- this.values = this.property.values.filter(x => x.name !== "custom");
73
- this.render(XNode.create("div", {
74
- propertyValue: Bind.sourceTwoWays(pv, x => x.source.value),
75
- custom: Bind.sourceTwoWays(pv, x => x.source.custom),
76
- "data-element": "property-editor",
77
- "data-display": "flex",
78
- "data-justify-items": "stretch"
79
- }, XNode.create("div", {
80
- "data-layout": "row"
81
- }, XNode.create("label", {
82
- "data-font-size": "small",
83
- text: Bind.oneWay(() => this.label)
84
- }), XNode.create("input", {
85
- type: "checkbox",
86
- checked: Bind.twoWaysImmediate(() => this.isCustom)
87
- })), XNode.create("div", null, XNode.create("input", {
88
- "style-display": Bind.oneWay(() => !this.isCustom),
89
- type: "range",
90
- min: 0,
91
- max: this.values.length - 2,
92
- value: Bind.twoWays(() => this.valueAsNumber)
93
- }), XNode.create("input", {
94
- "style-display": Bind.oneWay(() => this.isCustom),
95
- type: "text",
96
- value: Bind.twoWaysImmediate(() => this.custom)
97
- }))));
98
- });
99
- }
100
- preCreate() {
101
- this.runAfterInit(() => this.app.runAsync(() => this.init()));
102
- }
103
- });
104
- __decorate([BindableProperty, __metadata("design:type", String)], SizeEditorControl.prototype, "label", void 0);
105
- __decorate([BindableProperty, __metadata("design:type", Function)], SizeEditorControl.prototype, "property", void 0);
106
- __decorate([BindableProperty, __metadata("design:type", String)], SizeEditorControl.prototype, "custom", void 0);
10
+ SizeEditorControl = DropDownProperty;
11
+ _export("default", SizeEditorControl);
107
12
  }
108
13
  };
109
14
  });
@@ -1 +1 @@
1
- {"version":3,"names":["SizeEditorControl","BindSizeEditor","_export","setters","_tslib","BindableProperty","_webAtomsCoreDistCoreBindableProperty","_webAtomsCoreDistWebControlsAtomControl","AtomControl","_webAtomsCoreDistCoreXNode","XNode","default","_webAtomsCoreDistCoreBind","Bind","_webAtomsCoreDistCoreAtomBinder","AtomBinder","execute","forControl","constructor","_value","_isChanging","_old","isCustom","propertyValue","v","refreshValue","valueAsNumber","_a","values","findIndex","item","name","init","parent","pv","selection","style","property","key","filter","x","render","create","sourceTwoWays","source","value","custom","text","oneWay","label","type","checked","twoWaysImmediate","min","max","length","twoWays","preCreate","runAfterInit","app","runAsync","__decorate"],"sources":["../../../../src/site-editor/properties/controls/SizeEditorControl.tsx"],"sourcesContent":[null],"mappings":";;;iGAUqBA,iBAAkB,EAAAC,cAAA;EAAAC,OAAA;EAAA;IAAAC,OAAA,a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"version":3,"names":["DropDownProperty","_PropertyEditor","execute","SizeEditorControl","_export"],"sources":["../../../../src/site-editor/properties/controls/SizeEditorControl.tsx"],"sourcesContent":[null],"mappings":";;;;;;MAOSA,gBAAgB,GAAAC,eAAA,CAAhBD,gBAAgB;IAAA;IAAAE,OAAA,WAAAA,CAAA;MAEnBC,iBAAiB,GAAGH,gBAAgB;MAAAI,OAAA,YAC3BD,iBAAiB;IAAA;EAAA;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"PositionGroupEditor.d.ts","sourceRoot":"","sources":["../../../../src/site-editor/properties/groups/PositionGroupEditor.tsx"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,mBAAmB,QA2B1C"}
1
+ {"version":3,"file":"PositionGroupEditor.d.ts","sourceRoot":"","sources":["../../../../src/site-editor/properties/groups/PositionGroupEditor.tsx"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,mBAAmB,QA0B1C"}
@@ -1,43 +1,41 @@
1
1
  System.register(["@web-atoms/core/dist/core/XNode", "../controls/PropertyEditor", "../../styler/StylerSet", "../controls/SizeEditorControl"], function (_export, _context) {
2
2
  "use strict";
3
3
 
4
- var XNode, DropDownProperty, ExpanderPropertyEditor, StylerSet, SizeEditorControl, BindSizeEditor, properties;
4
+ var XNode, BindEditor, DropDownProperty, ExpanderPropertyEditor, StylerSet, SizeEditorControl, properties;
5
5
  function PositionGroupEditor() {
6
6
  return XNode.create(ExpanderPropertyEditor, {
7
7
  label: "Position"
8
8
  }, XNode.create(DropDownProperty, {
9
9
  label: "Position",
10
10
  property: properties.stylerPosition
11
- }), XNode.create(SizeEditorControl, {
11
+ }), XNode.create("section", {
12
+ "style-display": BindEditor.oneWay(e => /relative|fixed|absolute|sticky/i.test(e.selection.currentStyle.position))
13
+ }, XNode.create(SizeEditorControl, {
12
14
  label: "Left",
13
- "style-display": BindSizeEditor.oneWay(e => /relative|fixed|absolute|sticky/i.test(e.parent.selection.currentStyle.position)),
14
15
  property: properties.stylerLeft
15
16
  }), XNode.create(SizeEditorControl, {
16
17
  label: "Top",
17
- "style-display": BindSizeEditor.oneWay(e => /relative|fixed|absolute|sticky/i.test(e.parent.selection.currentStyle.position)),
18
18
  property: properties.stylerTop
19
19
  }), XNode.create(SizeEditorControl, {
20
20
  label: "Right",
21
- "style-display": BindSizeEditor.oneWay(e => /relative|fixed|absolute|sticky/i.test(e.parent.selection.currentStyle.position)),
22
21
  property: properties.stylerRight
23
22
  }), XNode.create(SizeEditorControl, {
24
23
  label: "Bottom",
25
- "style-display": BindSizeEditor.oneWay(e => /relative|fixed|absolute|sticky/i.test(e.parent.selection.currentStyle.position)),
26
24
  property: properties.stylerBottom
27
- }));
25
+ })));
28
26
  }
29
27
  _export("default", PositionGroupEditor);
30
28
  return {
31
29
  setters: [function (_webAtomsCoreDistCoreXNode) {
32
30
  XNode = _webAtomsCoreDistCoreXNode.default;
33
31
  }, function (_controlsPropertyEditor) {
32
+ BindEditor = _controlsPropertyEditor.BindEditor;
34
33
  DropDownProperty = _controlsPropertyEditor.DropDownProperty;
35
34
  ExpanderPropertyEditor = _controlsPropertyEditor.ExpanderPropertyEditor;
36
35
  }, function (_stylerStylerSet) {
37
36
  StylerSet = _stylerStylerSet.StylerSet;
38
37
  }, function (_controlsSizeEditorControl) {
39
38
  SizeEditorControl = _controlsSizeEditorControl.default;
40
- BindSizeEditor = _controlsSizeEditorControl.BindSizeEditor;
41
39
  }],
42
40
  execute: function () {
43
41
  ({
@@ -1 +1 @@
1
- {"version":3,"names":["PositionGroupEditor","XNode","create","ExpanderPropertyEditor","label","DropDownProperty","property","properties","stylerPosition","SizeEditorControl","BindSizeEditor","oneWay","e","test","parent","selection","currentStyle","position","stylerLeft","stylerTop","stylerRight","stylerBottom","_export","setters","_webAtomsCoreDistCoreXNode","default","_controlsPropertyEditor","_stylerStylerSet","StylerSet","_controlsSizeEditorControl","execute","instance"],"sources":["../../../../src/site-editor/properties/groups/PositionGroupEditor.tsx"],"sourcesCont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,UAAU,CAACc;IAAY,EAC/B,CACe;EAC7B;EAACC,OAAA,YA3BuBtB,mBAAmB;EAAA;IAAAuB,OAAA,aAAAC,0BAAA;MAPpCvB,KAAK,GAAAuB,0BAAA,CAAAC,OAAA;IAAA,aAAAC,uBAAA;MACHrB,gBAAgB,GAAAqB,uBAAA,CAAhBrB,gBAAgB;MAAEF,sBAAsB,GAAAuB,uBAAA,CAAtBvB,sBAAsB;IAAA,aAAAwB,gBAAA;MACxCC,SAAS,GAAAD,gBAAA,CAATC,SAAS;IAAA,aAAAC,0BAAA;MACXpB,iBAAiB,GAAAoB,0BAAA,CAAAJ,OAAA;MAAIf,cAAc,GAAAmB,0BAAA,CAAdnB,cAAc;IAAA;IAAAoB,OAAA,WAAAA,CAAA;MAAA,CAEpC;QAAEvB;MAAU,CAAE,GAAGqB,SAAS,CAACG,QAAQ;IAAA;EAAA;AAAA"}
1
+ {"version":3,"names":["PositionGroupEditor","XNode","create","ExpanderPropertyEditor","label","DropDownProperty","property","properties","stylerPosition","BindEditor","oneWay","e","test","selection","currentStyle","position","SizeEditorControl","stylerLeft","stylerTop","stylerRight","stylerBottom","_export","setters","_webAtomsCoreDistCoreXNode","default","_controlsPropertyEditor","_stylerStylerSet","StylerSet","_controlsSizeEditorControl","execute","instance"],"sources":["../../../../src/site-editor/properties/groups/PositionGroupEditor.tsx"],"sourcesContent":[null],"mappings":";;;;EAOc,SAAUA,mBAAmBA,CAAA;IACvC,OAAOC,KAAA,CAAAC,MAAA,CAACC,sBAAsB;MAACC,KAAK,EAAC;IAAU,GAC3CH,KAAA,CAAAC,MAAA,CAACG,gBAAgB;MACbD,KAAK,EAAC,UAAU;MAChBE,QAAQ,EAAEC,UAAU,CAACC;IAAc,EACjC,EACNP,KAAA,CAAAC,MAAA;MAAA,iBACmBO,UAAU,CAACC,MAAM,CAAEC,CAAC,IAAK,iCAAiC,CAACC,IAAI,CAACD,CAAC,CAACE,SAAS,CAACC,YAAY,CAACC,QAAQ,CAAC;IAAC,GAClHd,KAAA,CAAAC,MAAA,CAACc,iBAAiB;MACdZ,KAAK,EAAC,MAAM;MACZE,QAAQ,EAAEC,UAAU,CAACU;IAAU,EAC7B,EACNhB,KAAA,CAAAC,MAAA,CAACc,iBAAiB;MACdZ,KAAK,EAAC,KAAK;MACXE,QAAQ,EAAEC,UAAU,CAACW;IAAS,EAC5B,EACNjB,KAAA,CAAAC,MAAA,CAACc,iBAAiB;MACdZ,KAAK,EAAC,OAAO;MACbE,QAAQ,EAAEC,UAAU,CAACY;IAAW,EAC9B,EACNlB,KAAA,CAAAC,MAAA,CAACc,iBAAiB;MACdZ,KAAK,EAAC,QAAQ;MACdE,QAAQ,EAAEC,UAAU,CAACa;IAAY,EAC/B,CACA,CACW;EAC7B;EAACC,OAAA,YA1BuBrB,mBAAmB;EAAA;IAAAsB,OAAA,aAAAC,0BAAA;MAPpCtB,KAAK,GAAAsB,0BAAA,CAAAC,OAAA;IAAA,aAAAC,uBAAA;MACHhB,UAAU,GAAAgB,uBAAA,CAAVhB,UAAU;MAAEJ,gBAAgB,GAAAoB,uBAAA,CAAhBpB,gBAAgB;MAAEF,sBAAsB,GAAAsB,uBAAA,CAAtBtB,sBAAsB;IAAA,aAAAuB,gBAAA;MACpDC,SAAS,GAAAD,gBAAA,CAATC,SAAS;IAAA,aAAAC,0BAAA;MACXZ,iBAAiB,GAAAY,0BAAA,CAAAJ,OAAA;IAAA;IAAAK,OAAA,WAAAA,CAAA;MAAA,CAElB;QAAEtB;MAAU,CAAE,GAAGoB,SAAS,CAACG,QAAQ;IAAA;EAAA;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"SizeGroupEditor.d.ts","sourceRoot":"","sources":["../../../../src/site-editor/properties/groups/SizeGroupEditor.tsx"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,eAAe,QA2BtC"}
1
+ {"version":3,"file":"SizeGroupEditor.d.ts","sourceRoot":"","sources":["../../../../src/site-editor/properties/groups/SizeGroupEditor.tsx"],"names":[],"mappings":"AAMA,MAAM,CAAC,OAAO,UAAU,eAAe,QA2BtC"}
@@ -1 +1 @@
1
- {"version":3,"names":["SizeGroupEditor","XNode","create","ExpanderPropertyEditor","label","DropDownProperty","property","properties","stylerWidth","stylerHeight","stylerMinWidth","stylerMinHeight","stylerMaxWidth","stylerMaxHeight","_export","setters","_webAtomsCoreDistCoreXNode","default","_controlsPropertyEditor","_stylerStylerSet","StylerSet","execute","instance"],"sources":["../../../../src/site-editor/properties/groups/SizeGroupEditor.tsx"],"sourcesContent":[null],"mappings":";;;;EAOc,SAAUA,eAAeA,CAAA;IACnC,OAAOC,KAAA,CAAAC,MAAA,CAACC,sBAAsB;MAACC,KAAK,EAAC;IAAM,GACvCH,KAAA,CAAAC,MAAA,CAACG,gBAAgB;MACbD,KAAK,EAAC,OAAO;MACbE,QAAQ,EAAEC,UAAU,CAACC;IAAW,EAC9B,EACNP,KAAA,CAAAC,MAAA,CAACG,gBAAgB;MACbD,KAAK,EAAC,QAAQ;MACdE,QAAQ,EAAEC,UAAU,CAACE;IAAY,EAC/B,EACNR,KAAA,CAAAC,MAAA,CAACG,gBAAgB;MACbD,KAAK,EAAC,WAAW;MACjBE,QAAQ,EAAEC,UAAU,CAACG;IAAc,EACjC,EACNT,KAAA,CAAAC,MAAA,CAACG,gBAAgB;MACbD,KAAK,EAAC,YAAY;MAClBE,QAAQ,EAAEC,UAAU,CAACI;IAAe,EAClC,EACNV,KAAA,CAAAC,MAAA,CAACG,gBAAgB;MACbD,KAAK,EAAC,WAAW;MACjBE,QAAQ,EAAEC,UAAU,CAACK;IAAc,EACjC,EACNX,KAAA,CAAAC,MAAA,CAACG,gBAAgB;MACbD,KAAK,EAAC,YAAY;MAClBE,QAAQ,EAAEC,UAAU,CAACM;IAAe,EAClC,CACe;EAC7B;EAACC,OAAA,YA3BuBd,eAAe;EAAA;IAAAe,OAAA,aAAAC,0BAAA;MAPhCf,KAAK,GAAAe,0BAAA,CAAAC,OAAA;IAAA,aAAAC,uBAAA;MACHb,gBAAgB,GAAAa,uBAAA,CAAhBb,gBAAgB;MAAEF,sBAAsB,GAAAe,uBAAA,CAAtBf,sBAAsB;IAAA,aAAAgB,gBAAA;MACxCC,SAAS,GAAAD,gBAAA,CAATC,SAAS;IAAA;IAAAC,OAAA,WAAAA,CAAA;MAAA,CAGZ;QAAEd;MAAU,CAAE,GAAGa,SAAS,CAACE,QAAQ;IAAA;EAAA;AAAA"}
1
+ {"version":3,"names":["SizeGroupEditor","XNode","create","ExpanderPropertyEditor","label","DropDownProperty","property","properties","stylerWidth","stylerHeight","stylerMinWidth","stylerMinHeight","stylerMaxWidth","stylerMaxHeight","_export","setters","_webAtomsCoreDistCoreXNode","default","_controlsPropertyEditor","_stylerStylerSet","StylerSet","execute","instance"],"sources":["../../../../src/site-editor/properties/groups/SizeGroupEditor.tsx"],"sourcesContent":[null],"mappings":";;;;EAMc,SAAUA,eAAeA,CAAA;IACnC,OAAOC,KAAA,CAAAC,MAAA,CAACC,sBAAsB;MAACC,KAAK,EAAC;IAAM,GACvCH,KAAA,CAAAC,MAAA,CAACG,gBAAgB;MACbD,KAAK,EAAC,OAAO;MACbE,QAAQ,EAAEC,UAAU,CAACC;IAAW,EAC9B,EACNP,KAAA,CAAAC,MAAA,CAACG,gBAAgB;MACbD,KAAK,EAAC,QAAQ;MACdE,QAAQ,EAAEC,UAAU,CAACE;IAAY,EAC/B,EACNR,KAAA,CAAAC,MAAA,CAACG,gBAAgB;MACbD,KAAK,EAAC,WAAW;MACjBE,QAAQ,EAAEC,UAAU,CAACG;IAAc,EACjC,EACNT,KAAA,CAAAC,MAAA,CAACG,gBAAgB;MACbD,KAAK,EAAC,YAAY;MAClBE,QAAQ,EAAEC,UAAU,CAACI;IAAe,EAClC,EACNV,KAAA,CAAAC,MAAA,CAACG,gBAAgB;MACbD,KAAK,EAAC,WAAW;MACjBE,QAAQ,EAAEC,UAAU,CAACK;IAAc,EACjC,EACNX,KAAA,CAAAC,MAAA,CAACG,gBAAgB;MACbD,KAAK,EAAC,YAAY;MAClBE,QAAQ,EAAEC,UAAU,CAACM;IAAe,EAClC,CACe;EAC7B;EAACC,OAAA,YA3BuBd,eAAe;EAAA;IAAAe,OAAA,aAAAC,0BAAA;MANhCf,KAAK,GAAAe,0BAAA,CAAAC,OAAA;IAAA,aAAAC,uBAAA;MACHb,gBAAgB,GAAAa,uBAAA,CAAhBb,gBAAgB;MAAEF,sBAAsB,GAAAe,uBAAA,CAAtBf,sBAAsB;IAAA,aAAAgB,gBAAA;MACxCC,SAAS,GAAAD,gBAAA,CAATC,SAAS;IAAA;IAAAC,OAAA,WAAAA,CAAA;MAAA,CAEZ;QAAEd;MAAU,CAAE,GAAGa,SAAS,CAACE,QAAQ;IAAA;EAAA;AAAA"}
@@ -0,0 +1,2 @@
1
+ export default function StyleEditor(): any;
2
+ //# sourceMappingURL=StyleEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StyleEditor.d.ts","sourceRoot":"","sources":["../../../src/site-editor/style-editor/StyleEditor.tsx"],"names":[],"mappings":"AAaA,MAAM,CAAC,OAAO,UAAU,WAAW,QAQlC"}
@@ -0,0 +1,24 @@
1
+ System.register(["@web-atoms/core/dist/core/XNode", "../properties/groups/AttributeEditor", "@web-atoms/web-controls/dist/basic/Expander"], function (_export, _context) {
2
+ "use strict";
3
+
4
+ var XNode, AttributeEditor, Expander;
5
+ function StyleEditor() {
6
+ return XNode.create("div", {
7
+ "data-layout": "vertical-flex-stretch-items"
8
+ }, XNode.create(AttributeEditor, null), XNode.create(Expander, {
9
+ isExpanded: false
10
+ }, XNode.create("header", null, "General")));
11
+ }
12
+ _export("default", StyleEditor);
13
+ return {
14
+ setters: [function (_webAtomsCoreDistCoreXNode) {
15
+ XNode = _webAtomsCoreDistCoreXNode.default;
16
+ }, function (_propertiesGroupsAttributeEditor) {
17
+ AttributeEditor = _propertiesGroupsAttributeEditor.default;
18
+ }, function (_webAtomsWebControlsDistBasicExpander) {
19
+ Expander = _webAtomsWebControlsDistBasicExpander.default;
20
+ }],
21
+ execute: function () {}
22
+ };
23
+ });
24
+ //# sourceMappingURL=StyleEditor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleEditor","XNode","create","AttributeEditor","Expander","isExpanded","_export","setters","_webAtomsCoreDistCoreXNode","default","_propertiesGroupsAttributeEditor","_webAtomsWebControlsDistBasicExpander","execute"],"sources":["../../../src/site-editor/style-editor/StyleEditor.tsx"],"sourcesContent":[null],"mappings":";;;;EAac,SAAUA,WAAWA,CAAA;IAC/B,OAAOC,KAAA,CAAAC,MAAA;MAAA,eACS;IAA6B,GACrCD,KAAA,CAAAC,MAAA,CAACC,eAAe,OAAE,EACtBF,KAAA,CAAAC,MAAA,CAACE,QAAQ;MAACC,UAAU,EAAE;IAAK,GACvBJ,KAAA,CAAAC,MAAA,2BAAwB,CACjB,CACT;EACV;EAACI,OAAA,YARuBN,WAAW;EAAA;IAAAO,OAAA,aAAAC,0BAAA;MAb5BP,KAAK,GAAAO,0BAAA,CAAAC,OAAA;IAAA,aAAAC,gCAAA;MACLP,eAAe,GAAAO,gCAAA,CAAAD,OAAA;IAAA,aAAAE,qCAAA;MAQfP,QAAQ,GAAAO,qCAAA,CAAAF,OAAA;IAAA;IAAAG,OAAA,WAAAA,CAAA;EAAA;AAAA"}