@spartacus/schematics
Version:
Spartacus schematics
217 lines • 19.7 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.migrate = exports.CONSTRUCTOR_DEPRECATION_DATA = void 0;
const constructor_deprecations_1 = require("../../mechanism/constructor-deprecations/constructor-deprecations");
const abstract_store_item_component_migration_1 = require("./data/abstract-store-item.component.migration");
const add_to_saved_cart_component_migration_1 = require("./data/add-to-saved-cart.component.migration");
const added_to_cart_dialog_component_migration_1 = require("./data/added-to-cart-dialog.component.migration");
const address_book_component_migration_1 = require("./data/address-book.component.migration");
const address_book_component_service_migration_1 = require("./data/address-book.component.service.migration");
const address_form_component_migration_1 = require("./data/address-form.component.migration");
const anonymous_consent_management_banner_component_migration_1 = require("./data/anonymous-consent-management-banner.component.migration");
const anonymous_consent_open_dialog_component_migration_1 = require("./data/anonymous-consent-open-dialog.component.migration");
const asm_auth_http_header_service_migration_1 = require("./data/asm-auth-http-header.service.migration");
const auth_http_header_service_migration_1 = require("./data/auth-http-header.service.migration");
const auth_redirect_service_migration_1 = require("./data/auth-redirect.service.migration");
const base_page_meta_resolver_migration_1 = require("./data/base-page-meta.resolver.migration");
const cart_details_component_migration_1 = require("./data/cart-details.component.migration");
const cart_item_list_component_migration_1 = require("./data/cart-item-list.component.migration");
const cart_item_component_migration_1 = require("./data/cart-item.component.migration");
const cart_list_item_component_migration_1 = require("./data/cart-list-item.component.migration");
const cart_page_event_builder_migration_1 = require("./data/cart-page-event.builder.migration");
const category_page_meta_resolver_migration_1 = require("./data/category-page-meta.resolver.migration");
const cdc_logout_guard_migration_1 = require("./data/cdc-logout.guard.migration");
const checkout_auth_guard_1 = require("./data/checkout-auth.guard");
const checkout_event_module_migration_1 = require("./data/checkout-event.module.migration");
const checkout_page_meta_resolver_migration_1 = require("./data/checkout-page-meta.resolver.migration");
const cms_components_service_migration_1 = require("./data/cms-components.service.migration");
const component_wrapper_directive_migration_1 = require("./data/component-wrapper.directive.migration");
const configuration_service_migration_1 = require("./data/configuration.service.migration");
const configurator_attribute_checkbox_list_component_migration_1 = require("./data/configurator-attribute-checkbox-list.component.migration");
const configurator_attribute_drop_down_component_migration_1 = require("./data/configurator-attribute-drop-down.component.migration");
const configurator_attribute_input_field_component_migration_1 = require("./data/configurator-attribute-input-field.component.migration");
const configurator_attribute_numeric_input_field_component_migration_1 = require("./data/configurator-attribute-numeric-input-field.component.migration");
const configurator_attribute_radio_button_component_migration_1 = require("./data/configurator-attribute-radio-button.component.migration");
const configurator_cart_entry_info_component_migration_1 = require("./data/configurator-cart-entry-info.component.migration");
const configurator_cart_service_migration_1 = require("./data/configurator-cart.service.migration");
const configurator_form_component_migration_1 = require("./data/configurator-form.component.migration");
const configurator_group_menu_component_migration_1 = require("./data/configurator-group-menu.component.migration");
const configurator_issues_notification_component_migration_1 = require("./data/configurator-issues-notification.component.migration");
const configurator_overview_attribute_component_migration_1 = require("./data/configurator-overview-attribute.component.migration");
const configurator_storefront_utils_service_migration_1 = require("./data/configurator-storefront-utils.service.migration");
const configurator_update_message_component_migration_1 = require("./data/configurator-update-message.component.migration");
const content_page_meta_resolver_migration_1 = require("./data/content-page-meta.resolver.migration");
const currency_service_migration_1 = require("./data/currency.service.migration");
const delete_item_component_migration_1 = require("./data/delete-item.component.migration");
const dynamic_attribute_service_migration_1 = require("./data/dynamic-attribute.service.migration");
const event_service_migration_1 = require("./data/event.service.migration");
const express_checkout_service_migration_1 = require("./data/express-checkout.service.migration");
const google_map_renderer_service_migration_1 = require("./data/google-map-renderer.service.migration");
const guest_register_form_component_migration_1 = require("./data/guest-register-form.component.migration");
const home_page_event_builder_migration_1 = require("./data/home-page-event.builder.migration");
const language_service_migration_1 = require("./data/language.service.migration");
const login_register_component_migration_1 = require("./data/login-register.component.migration");
const logout_guard_migration_1 = require("./data/logout.guard.migration");
const media_service_migration_1 = require("./data/media.service.migration");
const modal_service_migration_1 = require("./data/modal.service.migration");
const navigation_ui_component_migration_1 = require("./data/navigation-ui.component.migration");
const on_navigate_focus_service_migration_1 = require("./data/on-navigate-focus.service.migration");
const order_detail_items_component_migration_1 = require("./data/order-detail-items.component.migration");
const organization_page_meta_resolver_migration_1 = require("./data/organization-page-meta.resolver.migration");
const page_meta_service_migration_1 = require("./data/page-meta.service.migration");
const popover_directive_migration_1 = require("./data/popover.directive.migration");
const product_grid_item_component_migration_1 = require("./data/product-grid-item.component.migration");
const product_list_component_service_migration_1 = require("./data/product-list-component.service.migration");
const product_list_item_component_migration_1 = require("./data/product-list-item.component.migration");
const product_loading_service_migration_1 = require("./data/product-loading.service.migration");
const product_page_event_builder_migration_1 = require("./data/product-page-event.builder.migration");
const product_page_meta_resolver_migration_1 = require("./data/product-page-meta.resolver.migration");
const protected_routes_service_migration_1 = require("./data/protected-routes.service.migration");
const qualtrics_loader_service_migration_1 = require("./data/qualtrics-loader.service.migration");
const replenishment_order_cancellation_component_migration_1 = require("./data/replenishment-order-cancellation.component.migration");
const replenishment_order_history_component_migration_1 = require("./data/replenishment-order-history.component.migration");
const routing_service_migration_1 = require("./data/routing.service.migration");
const saved_cart_details_action_component_migration_1 = require("./data/saved-cart-details-action.component.migration");
const saved_cart_details_overview_component_migration_1 = require("./data/saved-cart-details-overview.component.migration");
const saved_cart_form_dialog_component_migration_1 = require("./data/saved-cart-form-dialog.component.migration");
const saved_cart_list_component_migration_1 = require("./data/saved-cart-list.component.migration");
const schedule_component_migration_1 = require("./data/schedule.component.migration");
const search_box_component_service_migration_1 = require("./data/search-box-component.service.migration");
const search_box_component_migration_1 = require("./data/search-box.component.migration");
const search_page_meta_resolver_migration_1 = require("./data/search-page-meta.resolver.migration");
const store_finder_list_item_component_migration_1 = require("./data/store-finder-list-item.component.migration");
const store_finder_list_component_migration_1 = require("./data/store-finder-list.component.migration");
const store_finder_store_description_component_migration_1 = require("./data/store-finder-store-description.component.migration");
const store_finder_service_migration_1 = require("./data/store-finder.service.migration");
const tab_paragraph_container_component_migration_1 = require("./data/tab-paragraph-container.component.migration");
const toggle_status_component_migration_1 = require("./data/toggle-status.component.migration");
const unit_address_form_service_migration_1 = require("./data/unit-address-form.service.migration");
const unit_children_component_migration_1 = require("./data/unit-children.component.migration");
const unit_cost_centers_component_migration_1 = require("./data/unit-cost-centers.component.migration");
const unit_user_list_component_migration_1 = require("./data/unit-user-list.component.migration");
const update_email_component_service_migration_1 = require("./data/update-email-component.service.migration");
const user_address_service_migration_1 = require("./data/user-address-service.migration");
const user_group_user_list_component_migration_1 = require("./data/user-group-user-list.component.migration");
const window_ref_migration_1 = require("./data/window-ref.migration");
exports.CONSTRUCTOR_DEPRECATION_DATA = [
configuration_service_migration_1.CONFIGURATION_SERVICE_MIGRATION,
media_service_migration_1.MEDIA_SERVICE_MIGRATION,
unit_children_component_migration_1.UNIT_CHILDREN_COMPONENT_MIGRATION,
unit_cost_centers_component_migration_1.UNIT_COST_CENTERS_COMPONENT_MIGRATION,
unit_user_list_component_migration_1.UNIT_USER_LIST_COMPONENT_MIGRATION,
cart_page_event_builder_migration_1.CART_PAGE_EVENT_BUILDER_COMPONENT_MIGRATION_V1,
cart_page_event_builder_migration_1.CART_PAGE_EVENT_BUILDER_COMPONENT_MIGRATION_V2,
home_page_event_builder_migration_1.HOME_PAGE_EVENT_BUILDER_COMPONENT_MIGRATION,
event_service_migration_1.EVENT_SERVICE_CONSTRUCTOR_DEPRECATION,
product_page_event_builder_migration_1.PRODUCT_PAGE_EVENT_BUILDER_COMPONENT_MIGRATION,
search_box_component_service_migration_1.SEARCH_BOX_COMPONENT_SERVICE_MIGRATION,
currency_service_migration_1.CURRENCY_SERVICE_MIGRATION,
language_service_migration_1.LANGUAGE_SERVICE_MIGRATION,
page_meta_service_migration_1.PAGE_META_SERVICE_MIGRATION,
base_page_meta_resolver_migration_1.BASE_PAGE_META_RESOLVER_MIGRATION,
content_page_meta_resolver_migration_1.CONTENT_PAGE_META_RESOLVER_MIGRATION_V1,
content_page_meta_resolver_migration_1.CONTENT_PAGE_META_RESOLVER_MIGRATION_V2,
product_page_meta_resolver_migration_1.PRODUCT_PAGE_META_RESOLVER_MIGRATION_V1,
product_page_meta_resolver_migration_1.PRODUCT_PAGE_META_RESOLVER_MIGRATION_V2,
search_page_meta_resolver_migration_1.SEARCH_PAGE_META_RESOLVER_MIGRATION,
checkout_page_meta_resolver_migration_1.CHECKOUT_PAGE_META_RESOLVER_MIGRATION,
category_page_meta_resolver_migration_1.CATEGORY_PAGE_META_RESOLVER_MIGRATION,
organization_page_meta_resolver_migration_1.ORGANIZATION_PAGE_META_RESOLVER_MIGRATION,
routing_service_migration_1.ROUTING_SERVICE_MIGRATION_V1,
routing_service_migration_1.ROUTING_SERVICE_MIGRATION_V2,
component_wrapper_directive_migration_1.COMPONENT_WRAPPER_CONSTRUCTOR_MIGRATION,
store_finder_service_migration_1.STORE_FINDER_SERVICE_MIGRATION,
abstract_store_item_component_migration_1.ABSTRACT_STORE_ITEM_COMPONENT_MIGRATION,
schedule_component_migration_1.SCHEDULE_COMPONENT_MIGRATION,
store_finder_list_item_component_migration_1.STORE_FINDER_LIST_ITEM_COMPONENT_MIGRATION,
store_finder_list_component_migration_1.STORE_FINDER_LIST_COMPONENT_MIGRATION,
store_finder_store_description_component_migration_1.STORE_FINDER_STORE_DESCRIPTION_COMPONENT_MIGRATION,
google_map_renderer_service_migration_1.GOOGLE_MAP_RENDERER_SERVICE_MIGRATION_V1,
google_map_renderer_service_migration_1.GOOGLE_MAP_RENDERER_SERVICE_MIGRATION_V2,
configurator_cart_service_migration_1.CONFIGURATOR_CART_SERVICE_MIGRATION,
address_book_component_service_migration_1.ADDRESS_BOOK_COMPONENT_SERVICE_MIGRATION,
address_book_component_migration_1.ADDRESS_BOOK_COMPONENT_MIGRATION,
address_form_component_migration_1.ADDRESS_FORM_COMPONENT_MIGRATION_V1,
address_form_component_migration_1.ADDRESS_FORM_COMPONENT_MIGRATION_V2,
user_address_service_migration_1.USER_ADDRESS_SERVICE_MIGRATION,
checkout_event_module_migration_1.CHECKOUT_EVENT_MODULE_MIGRATION,
saved_cart_list_component_migration_1.SAVED_CART_LIST_COMPONENT_MIGRATION_V1,
saved_cart_list_component_migration_1.SAVED_CART_LIST_COMPONENT_MIGRATION_V2,
saved_cart_form_dialog_component_migration_1.SAVED_CART_FORM_DIALOG_COMPONENT_MIGRATION,
qualtrics_loader_service_migration_1.QUALTRICS_LOADER_SERVICE_MIGRATION,
login_register_component_migration_1.LOGIN_REGISTER_COMPONENT_MIGRATION,
add_to_saved_cart_component_migration_1.ADD_TO_SAVED_CART_COMPONENT_MIGRATION_V1,
add_to_saved_cart_component_migration_1.ADD_TO_SAVED_CART_COMPONENT_MIGRATION_V2,
anonymous_consent_management_banner_component_migration_1.ANONYMOUS_CONSENT_MANAGEMENT_BANNER_COMPONENT_MIGRATION_V1,
anonymous_consent_management_banner_component_migration_1.ANONYMOUS_CONSENT_MANAGEMENT_BANNER_COMPONENT_MIGRATION_V2,
anonymous_consent_open_dialog_component_migration_1.ANONYMOUS_CONSENT_OPEN_DIALOG_COMPONENT_MIGRATION_V1,
anonymous_consent_open_dialog_component_migration_1.ANONYMOUS_CONSENT_OPEN_DIALOG_COMPONENT_MIGRATION_V2,
replenishment_order_cancellation_component_migration_1.REPLENISHMENT_ORDER_CANCELLATION_COMPONENT_MIGRATION_V1,
replenishment_order_cancellation_component_migration_1.REPLENISHMENT_ORDER_CANCELLATION_COMPONENT_MIGRATION_V2,
replenishment_order_history_component_migration_1.REPLENISHMENT_ORDER_HISTORY_COMPONENT_MIGRATION_V1,
replenishment_order_history_component_migration_1.REPLENISHMENT_ORDER_HISTORY_COMPONENT_MIGRATION_V2,
saved_cart_details_action_component_migration_1.SAVED_CART_DETAILS_ACTION_COMPONENT_MIGRATION_V1,
saved_cart_details_action_component_migration_1.SAVED_CART_DETAILS_ACTION_COMPONENT_MIGRATION_V2,
saved_cart_details_action_component_migration_1.SAVED_CART_DETAILS_ACTION_COMPONENT_MIGRATION_V3,
saved_cart_details_overview_component_migration_1.SAVED_CART_DETAILS_OVERVIEW_COMPONENT_MIGRATION_V1,
saved_cart_details_overview_component_migration_1.SAVED_CART_DETAILS_OVERVIEW_COMPONENT_MIGRATION_V2,
dynamic_attribute_service_migration_1.DYNAMIC_ATTRIBUTE_SERVICE_MIGRATION,
window_ref_migration_1.WINDOW_REF_MIGRATION,
configurator_attribute_checkbox_list_component_migration_1.CONFIGURATOR_ATTRIBUTE_CHECKBOX_LIST_COMPONENT_MIGRATION,
configurator_attribute_drop_down_component_migration_1.CONFIGURATOR_ATTRIBUTE_DROP_DOWN_COMPONENT_MIGRATION,
configurator_attribute_numeric_input_field_component_migration_1.CONFIGURATOR_ATTRIBUTE_NUMERIC_INPUT_FIELD_COMPONENT_MIGRATION,
configurator_attribute_input_field_component_migration_1.CONFIGURATOR_ATTRIBUTE_INPUT_FIELD_COMPONENT_MIGRATION,
configurator_attribute_radio_button_component_migration_1.CONFIGURATOR_ATTRIBUTE_RADIO_BUTTON_COMPONENT_MIGRATION,
configurator_group_menu_component_migration_1.CONFIGURATOR_GROUP_MENU_COMPONENT_MIGRATION,
configurator_storefront_utils_service_migration_1.CONFIGURATOR_STOREFRONT_UTILS_SERVICE_MIGRATION,
navigation_ui_component_migration_1.NAVIGATION_UI_COMPONENT_MIGRATION,
configurator_form_component_migration_1.CONFIGURATOR_FORM_COMPONENT_MIGRATION,
configurator_update_message_component_migration_1.CONFIGURATOR_UPDATE_MESSAGE_COMPONENT_MIGRATION,
cart_list_item_component_migration_1.CART_LIST_ITEM_COMPONENT_MIGRATION_V1,
cart_list_item_component_migration_1.CART_LIST_ITEM_COMPONENT_MIGRATION_V2,
cart_list_item_component_migration_1.CART_LIST_ITEM_COMPONENT_MIGRATION_V3,
search_box_component_migration_1.SEARCH_BOX_COMPONENT_MIGRATION,
user_group_user_list_component_migration_1.USER_GROUP_USER_LIST_COMPONENT_MIGRATION,
toggle_status_component_migration_1.TOGGLE_STATUS_COMPONENT_MIGRATION_V1,
toggle_status_component_migration_1.TOGGLE_STATUS_COMPONENT_MIGRATION_V2,
delete_item_component_migration_1.DELETE_ITEM_COMPONENT_MIGRATION,
cms_components_service_migration_1.CMS_COMPONENTS_SERVICE_MIGRATION_1,
cms_components_service_migration_1.CMS_COMPONENTS_SERVICE_MIGRATION_2,
cms_components_service_migration_1.CMS_COMPONENTS_SERVICE_MIGRATION_3,
asm_auth_http_header_service_migration_1.ASM_AUTH_HTTP_HEADER_SERVICE_MIGRATION,
auth_http_header_service_migration_1.AUTH_HTTP_HEADER_SERVICE_MIGRATION,
auth_redirect_service_migration_1.AUTH_REDIRECT_SERVICE_MIGRATION,
protected_routes_service_migration_1.PROTECTED_ROUTES_SERVICE_MIGRATION,
product_list_item_component_migration_1.PRODUCT_LIST_ITEM_COMPONENT_MIGRATION,
product_list_component_service_migration_1.PRODUCT_LIST_COMPONENT_SERVICE_MIGRATION,
product_grid_item_component_migration_1.PRODUCT_GRID_ITEM_COMPONENT_MIGRATION,
cart_item_component_migration_1.CART_ITEM_COMPONENT_MIGRATION,
...cart_item_list_component_migration_1.CART_ITEM_LIST_COMPONENT_MIGRATIONS,
configurator_cart_entry_info_component_migration_1.CONFIGURATOR_CART_ENTRY_INFO_COMPONENT_MIGRATION,
configurator_issues_notification_component_migration_1.CONFIGURATOR_ISSUES_NOTIFICATION_COMPONENT_MIGRATION,
configurator_overview_attribute_component_migration_1.CONFIGURATOR_OVERVIEW_ATTRIBUTE_COMPONENT_MIGRATION,
logout_guard_migration_1.LOGOUT_GUARD_CONSTRUCTOR_MIGRATION,
cdc_logout_guard_migration_1.CDC_LOGOUT_GUARD_CONSTRUCTOR_MIGRATION,
update_email_component_service_migration_1.UPDATE_EMAIL_COMPONENT_SERVICE_MIGRATION,
added_to_cart_dialog_component_migration_1.ADDED_TO_CART_DIALOG_COMPONENT_MIGRATION,
cart_details_component_migration_1.CART_DETAILS_COMPONENT_MIGRATION,
order_detail_items_component_migration_1.ORDER_DETAIL_ITEMS_COMPONENT_MIGRATION,
express_checkout_service_migration_1.EXPRESS_CHECKOUT_SERVICE_MIGRATION,
modal_service_migration_1.MODAL_SERVICE_MIGRATION_V1,
modal_service_migration_1.MODAL_SERVICE_MIGRATION_V2,
tab_paragraph_container_component_migration_1.TAB_PARAGRAPH_CONTAINER_COMPONENT_CONSTRUCTOR_DEPRECATION,
tab_paragraph_container_component_migration_1.TAB_PARAGRAPH_CONTAINER_COMPONENT_CONSTRUCTOR_DEPRECATION_2,
checkout_auth_guard_1.CHECKOUT_AUTH_GUARD_MIGRATION,
unit_address_form_service_migration_1.UNIT_ADDRESS_FORM_SERVICE_MIGRATION,
guest_register_form_component_migration_1.GUEST_REGISTER_FORM_COMPONENT_MIGRATION,
product_loading_service_migration_1.PRODUCT_LOADING_SERVICE_MIGRATION,
popover_directive_migration_1.POPOVER_DIRECTIVE_CONSTRUCTOR_MIGRATION,
on_navigate_focus_service_migration_1.ON_NAVIGATE_FOCUS_SERVICE_MIGRATION,
];
function migrate() {
return (tree, context) => {
return constructor_deprecations_1.migrateConstructorDeprecation(tree, context, exports.CONSTRUCTOR_DEPRECATION_DATA);
};
}
exports.migrate = migrate;
//# sourceMappingURL=constructor-deprecations.js.map