@spartacus/schematics
Version:
Spartacus schematics
65 lines • 2.71 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.REPLENISHMENT_ORDER_CANCELLATION_COMPONENT_MIGRATION_V2 = exports.REPLENISHMENT_ORDER_CANCELLATION_COMPONENT_MIGRATION_V1 = void 0;
const constants_1 = require("../../../../shared/constants");
exports.REPLENISHMENT_ORDER_CANCELLATION_COMPONENT_MIGRATION_V1 = {
// storefrontlib/cms-components/myaccount/order/replenishment-order-details/replenishment-order-cancellation/replenishment-order-cancellation.component.ts
class: constants_1.REPLENISHMENT_ORDER_CANCELLATION_COMPONENT,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedParams: [
{
className: constants_1.USER_REPLENISHMENT_ORDER_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.REPLENISHMENT_ORDER_CANCELLATION_LAUNCH_DIALOG_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
{
className: constants_1.VIEW_CONTAINER_REF,
importPath: constants_1.ANGULAR_CORE,
},
],
removeParams: [
{
className: constants_1.REPLENISHMENT_ORDER_CANCELLATION_LAUNCH_DIALOG_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
],
addParams: [
{
className: constants_1.LAUNCH_DIALOG_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
],
};
exports.REPLENISHMENT_ORDER_CANCELLATION_COMPONENT_MIGRATION_V2 = {
// storefrontlib/cms-components/myaccount/order/replenishment-order-details/replenishment-order-cancellation/replenishment-order-cancellation.component.ts
class: constants_1.REPLENISHMENT_ORDER_CANCELLATION_COMPONENT,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedParams: [
{
className: constants_1.USER_REPLENISHMENT_ORDER_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.REPLENISHMENT_ORDER_CANCELLATION_LAUNCH_DIALOG_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
{
className: constants_1.VIEW_CONTAINER_REF,
importPath: constants_1.ANGULAR_CORE,
},
{
className: constants_1.LAUNCH_DIALOG_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
],
removeParams: [
{
className: constants_1.REPLENISHMENT_ORDER_CANCELLATION_LAUNCH_DIALOG_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
],
};
//# sourceMappingURL=replenishment-order-cancellation.component.migration.js.map