@spartacus/schematics
Version:
Spartacus schematics
45 lines • 1.5 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.COMPONENT_WRAPPER_CONSTRUCTOR_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
exports.COMPONENT_WRAPPER_CONSTRUCTOR_MIGRATION = {
class: constants_1.COMPONENT_WRAPPER_DIRECTIVE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedParams: [
{
className: constants_1.VIEW_CONTAINER_REF,
importPath: constants_1.ANGULAR_CORE,
},
{
className: constants_1.CMS_COMPONENTS_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
{
className: constants_1.INJECTOR,
importPath: constants_1.ANGULAR_CORE,
},
{
className: constants_1.DYNAMIC_ATTRIBUTE_SERVICE,
importPath: constants_1.ANGULAR_CORE,
},
{
className: constants_1.RENDERER_2,
importPath: constants_1.ANGULAR_CORE,
},
{
className: constants_1.COMPONENT_HANDLER_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.CMS_INJECTOR_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
],
addParams: [
{
className: constants_1.EVENT_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
],
};
//# sourceMappingURL=component-wrapper.directive.migration.js.map