|
import { LightningElement } from 'lwc';
|
|
import { BaseLayout } from "vlocity_cmt/baseLayout";
|
|
|
|
export default class BaseCustomLayoutComponent extends BaseLayout(LightningElement) {
|
|
// @api recordId;
|
|
// @api theme;
|
|
// @api parent;
|
|
// @api definition;
|
|
// @api isLoaded;
|
|
// @api debug;
|
|
// @api records;
|
|
|
|
connectedCallback() {
|
|
this.cards = this.definition.Cards;
|
|
console.log("This is defination object", JSON.parse(JSON.stringify(this.definition)));
|
|
console.log("This is records", JSON.parse(JSON.stringify(this.records)));
|
|
console.log("This is cards", JSON.parse(JSON.stringify(this.cards)));
|
|
}
|
|
}
|