@sitecore/sc-contenthub-webclient-sdk
Version:
Sitecore Content Hub WebClient SDK.
125 lines • 4.47 kB
JavaScript
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { JsonElementType, JsonObject, JsonProperty } from "ta-json";
let GeneralRowSettings = class GeneralRowSettings {
};
__decorate([
JsonProperty("rowWidthType"),
__metadata("design:type", String)
], GeneralRowSettings.prototype, "rowWidthType", void 0);
__decorate([
JsonProperty("rowWidthValue"),
__metadata("design:type", String)
], GeneralRowSettings.prototype, "rowWidthValue", void 0);
__decorate([
JsonProperty("marginTop"),
__metadata("design:type", String)
], GeneralRowSettings.prototype, "marginTop", void 0);
__decorate([
JsonProperty("marginBottom"),
__metadata("design:type", String)
], GeneralRowSettings.prototype, "marginBottom", void 0);
__decorate([
JsonProperty("paddingTop"),
__metadata("design:type", String)
], GeneralRowSettings.prototype, "paddingTop", void 0);
__decorate([
JsonProperty("paddingBottom"),
__metadata("design:type", String)
], GeneralRowSettings.prototype, "paddingBottom", void 0);
__decorate([
JsonProperty("paddingLeft"),
__metadata("design:type", String)
], GeneralRowSettings.prototype, "paddingLeft", void 0);
__decorate([
JsonProperty("paddingRight"),
__metadata("design:type", String)
], GeneralRowSettings.prototype, "paddingRight", void 0);
__decorate([
JsonProperty("backgroundColor"),
__metadata("design:type", String)
], GeneralRowSettings.prototype, "backgroundColor", void 0);
__decorate([
JsonProperty("backgroundImage"),
__metadata("design:type", String)
], GeneralRowSettings.prototype, "backgroundImage", void 0);
__decorate([
JsonProperty("backgroundPosition"),
__metadata("design:type", String)
], GeneralRowSettings.prototype, "backgroundPosition", void 0);
GeneralRowSettings = __decorate([
JsonObject()
], GeneralRowSettings);
export { GeneralRowSettings };
let Responsiveness = class Responsiveness {
};
__decorate([
JsonProperty("lg"),
__metadata("design:type", Number)
], Responsiveness.prototype, "lg", void 0);
__decorate([
JsonProperty("md"),
__metadata("design:type", Number)
], Responsiveness.prototype, "md", void 0);
__decorate([
JsonProperty("sm"),
__metadata("design:type", Number)
], Responsiveness.prototype, "sm", void 0);
__decorate([
JsonProperty("xs"),
__metadata("design:type", Number)
], Responsiveness.prototype, "xs", void 0);
Responsiveness = __decorate([
JsonObject()
], Responsiveness);
export { Responsiveness };
let Positioning = class Positioning {
};
__decorate([
JsonProperty("direction"),
__metadata("design:type", String)
], Positioning.prototype, "direction", void 0);
__decorate([
JsonProperty("alignment"),
__metadata("design:type", String)
], Positioning.prototype, "alignment", void 0);
Positioning = __decorate([
JsonObject()
], Positioning);
export { Positioning };
let PageRowSettings = class PageRowSettings {
constructor() {
this.responsiveness = [];
this.positioning = [];
}
};
__decorate([
JsonProperty("layout"),
__metadata("design:type", String)
], PageRowSettings.prototype, "layout", void 0);
__decorate([
JsonProperty("general"),
__metadata("design:type", GeneralRowSettings)
], PageRowSettings.prototype, "general", void 0);
__decorate([
JsonProperty("responsiveness"),
JsonElementType(Responsiveness),
__metadata("design:type", Array)
], PageRowSettings.prototype, "responsiveness", void 0);
__decorate([
JsonProperty("positioning"),
JsonElementType(Positioning),
__metadata("design:type", Array)
], PageRowSettings.prototype, "positioning", void 0);
PageRowSettings = __decorate([
JsonObject()
], PageRowSettings);
export { PageRowSettings };
//# sourceMappingURL=page-row-settings.js.map