"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.imports = void 0;
const transpile_1 = require("../../transpile");
const utils_1 = require("../utils");
exports.imports = [
    { name: 'WmDonutChart', from: '@wavemaker/app-rn-runtime/components/chart/donut-chart/donut-chart.component' },
    { name: 'WmPartialContainer', from: '@wavemaker/app-rn-runtime/components/page/partial-container/partial-container.component' }
];
exports.default = {
    pre: (element, context) => {
        const classname = 'app-donut-chart ' + (element.getAttribute('class') || '');
        element.setAttribute('class', classname);
        return `<WmDonutChart ${(0, utils_1.getRenderItemPartial)(context)} ${(0, transpile_1.transformAttrs)(element, context)}>`;
    },
    post: (element, context) => '</WmDonutChart>',
    imports: (element, context) => exports.imports
};
//# sourceMappingURL=donut-chart.transformer.js.map