@spartacus/schematics
Version:
Spartacus schematics
24 lines • 991 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SEARCH_BOX_COMPONENT_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
exports.SEARCH_BOX_COMPONENT_MIGRATION = {
// storefrontlibs\scr\cms-components\navigation\search-box\search-box.component.ts
class: constants_1.SEARCH_BOX_COMPONENT,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedParams: [
{ className: constants_1.SEARCH_BOX_COMPONENT_SERVICE, importPath: constants_1.SPARTACUS_CORE },
{
className: constants_1.CMS_COMPONENT_DATA_CLASS,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
{ className: constants_1.WINDOW_REF, importPath: constants_1.SPARTACUS_CORE },
],
addParams: [
{
className: constants_1.ROUTING_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
],
};
//# sourceMappingURL=search-box.component.migration.js.map