@spartacus/schematics
Version:
Spartacus schematics
57 lines • 2.26 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ANONYMOUS_CONSENT_OPEN_DIALOG_COMPONENT_MIGRATION_V2 = exports.ANONYMOUS_CONSENT_OPEN_DIALOG_COMPONENT_MIGRATION_V1 = void 0;
const constants_1 = require("../../../../shared/constants");
exports.ANONYMOUS_CONSENT_OPEN_DIALOG_COMPONENT_MIGRATION_V1 = {
// storefrontlib/cms-components/anonymous-consent-management/open-dialog/anonymous-consent-open-dialog.component.ts
class: constants_1.ANONYMOUS_CONSENT_OPEN_DIALOG_COMPONENT,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedParams: [
{
className: constants_1.VIEW_CONTAINER_REF,
importPath: constants_1.ANGULAR_CORE,
},
{
className: constants_1.ANONYMOUS_CONSENT_LAUNCH_DIALOG_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
],
removeParams: [
{
className: constants_1.ANONYMOUS_CONSENT_LAUNCH_DIALOG_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
],
addParams: [
{
className: constants_1.LAUNCH_DIALOG_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
],
};
exports.ANONYMOUS_CONSENT_OPEN_DIALOG_COMPONENT_MIGRATION_V2 = {
// storefrontlib/cms-components/anonymous-consent-management/open-dialog/anonymous-consent-open-dialog.component.ts
class: constants_1.ANONYMOUS_CONSENT_OPEN_DIALOG_COMPONENT,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedParams: [
{
className: constants_1.VIEW_CONTAINER_REF,
importPath: constants_1.ANGULAR_CORE,
},
{
className: constants_1.ANONYMOUS_CONSENT_LAUNCH_DIALOG_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
{
className: constants_1.LAUNCH_DIALOG_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
],
removeParams: [
{
className: constants_1.ANONYMOUS_CONSENT_LAUNCH_DIALOG_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
],
};
//# sourceMappingURL=anonymous-consent-open-dialog.component.migration.js.map