Skip to content

Commit

Permalink
fix: single entry point - add JS re-exports to old locations (#28518)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpreyskurantov authored Dec 6, 2024
1 parent 453b2b1 commit 24e6b9f
Show file tree
Hide file tree
Showing 81 changed files with 108 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/devextreme/js/animation/easing.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../common/core/animation/easing';
1 change: 1 addition & 0 deletions packages/devextreme/js/animation/position.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/core/animation/position';
1 change: 1 addition & 0 deletions packages/devextreme/js/animation/presets/presets.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../../common/core/animation/presets/presets';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../../common/core/animation/transition_executor/transition_executor';
1 change: 1 addition & 0 deletions packages/devextreme/js/animation/translator.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../common/core/animation/translator';
1 change: 1 addition & 0 deletions packages/devextreme/js/data/array_query.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/data/array_query';
2 changes: 2 additions & 0 deletions packages/devextreme/js/data/array_utils.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../common/data/array_utils';
2 changes: 2 additions & 0 deletions packages/devextreme/js/data/data_source/data_source.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../../common/data/data_source/data_source';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/data/data_source/operation_manager';
2 changes: 2 additions & 0 deletions packages/devextreme/js/data/data_source/utils.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../../common/data/data_source/utils';
2 changes: 2 additions & 0 deletions packages/devextreme/js/data/odata/query_adapter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../../common/data/odata/query_adapter';
1 change: 1 addition & 0 deletions packages/devextreme/js/data/odata/request_dispatcher.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/data/odata/request_dispatcher';
3 changes: 2 additions & 1 deletion packages/devextreme/js/data/odata/utils.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { EdmLiteral, keyConverters } from '../../common/data/odata/utils';
// eslint-disable-next-line import/export
export * from '../../common/data/odata/utils';
1 change: 1 addition & 0 deletions packages/devextreme/js/data/query_adapters.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/data/query_adapters';
1 change: 1 addition & 0 deletions packages/devextreme/js/data/query_implementation.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../common/data/query_implementation';
1 change: 1 addition & 0 deletions packages/devextreme/js/data/remote_query.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/data/remote_query';
1 change: 1 addition & 0 deletions packages/devextreme/js/data/store_helper.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/data/store_helper';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/click.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../common/core/events/click';
2 changes: 2 additions & 0 deletions packages/devextreme/js/events/click.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../common/core/events/click';
2 changes: 2 additions & 0 deletions packages/devextreme/js/events/contextmenu.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../common/core/events/contextmenu';
2 changes: 2 additions & 0 deletions packages/devextreme/js/events/core/emitter.feedback.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../../common/core/events/core/emitter.feedback';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/core/emitter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/core/emitter';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/core/emitter_registrator.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/core/emitter_registrator';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/core/event_registrator.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/core/event_registrator';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/core/event_registrator_callbacks';
3 changes: 3 additions & 0 deletions packages/devextreme/js/events/core/events_engine.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import eventsEngine from '../../common/core/events/core/events_engine';

export default eventsEngine;
1 change: 1 addition & 0 deletions packages/devextreme/js/events/core/events_engine.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/core/events_engine';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/core/hook_touch_props.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/core/hook_touch_props';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/core/keyboard_processor.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/core/keyboard_processor';
2 changes: 2 additions & 0 deletions packages/devextreme/js/events/core/wheel.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../../common/core/events/core/wheel';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/dblclick.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/core/events/dblclick';
2 changes: 2 additions & 0 deletions packages/devextreme/js/events/drag.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../common/core/events/drag';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/gesture/emitter.gesture.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/gesture/emitter.gesture';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/gesture/emitter.gesture.scroll';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/gesture/swipeable.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/gesture/swipeable';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/hold.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/core/events/hold';
2 changes: 2 additions & 0 deletions packages/devextreme/js/events/hover.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../common/core/events/hover';
3 changes: 3 additions & 0 deletions packages/devextreme/js/events/pointer.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import pointer from '../common/core/events/pointer';

export default pointer;
1 change: 1 addition & 0 deletions packages/devextreme/js/events/pointer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/core/events/pointer';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/pointer/base.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/pointer/base';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/pointer/mouse.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/pointer/mouse';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/pointer/mouse_and_touch.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/pointer/mouse_and_touch';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/pointer/observer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/pointer/observer';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/pointer/touch.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/pointer/touch';
2 changes: 2 additions & 0 deletions packages/devextreme/js/events/remove.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../common/core/events/remove';
2 changes: 2 additions & 0 deletions packages/devextreme/js/events/short.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../common/core/events/short';
2 changes: 2 additions & 0 deletions packages/devextreme/js/events/swipe.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../common/core/events/swipe';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/transform.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../common/core/events/transform';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/utils/add_namespace.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/events/utils/add_namespace';
2 changes: 2 additions & 0 deletions packages/devextreme/js/events/utils/event_nodes_disposing.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../../common/core/events/utils/event_nodes_disposing';
2 changes: 2 additions & 0 deletions packages/devextreme/js/events/utils/event_target.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../../common/core/events/utils/event_target';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/utils/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../../common/core/events/utils/index';
2 changes: 2 additions & 0 deletions packages/devextreme/js/events/utils/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/export
export * from '../../common/core/events/utils/index';
1 change: 1 addition & 0 deletions packages/devextreme/js/events/visibility_change.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/core/events/visibility_change';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/localization/cldr-data/accounting_formats';
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/cldr-data/en.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../../common/core/localization/cldr-data/en';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/localization/cldr-data/first_day_of_week_data';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/localization/cldr-data/parent_locales';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../../common/core/localization/cldr-data/supplemental';
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/core.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/core/localization/core';
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/currency.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/core/localization/currency';
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/date.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import dateLocalization from '../common/core/localization/date';

export default dateLocalization;
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/date.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/core/localization/date';
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/default_date_names.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/core/localization/default_date_names';
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/default_messages.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../common/core/localization/default_messages';
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/intl/date.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/localization/intl/date';
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/intl/number.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../../common/core/localization/intl/number';
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/language_codes.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../common/core/localization/language_codes';
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/ldml/date.format.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../../common/core/localization/ldml/date.format';
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/ldml/date.formatter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../../common/core/localization/ldml/date.formatter';
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/ldml/date.parser.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../../common/core/localization/ldml/date.parser';
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/ldml/number.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../../common/core/localization/ldml/number';
3 changes: 3 additions & 0 deletions packages/devextreme/js/localization/message.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import messageLocalization from '../common/core/localization/message';

export default messageLocalization;
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/message.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/core/localization/message';
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/number.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/core/localization/number';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/core/localization/open_xml_currency_format';
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/parentLocale.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '../common/core/localization/parentLocale';
1 change: 1 addition & 0 deletions packages/devextreme/js/localization/utils.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../common/core/localization/utils';
1 change: 1 addition & 0 deletions packages/devextreme/js/mobile/hide_callback.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../common/core/environment/hide_callback';
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '../../common/core/environment/init_mobile_viewport/init_mobile_viewport';
5 changes: 3 additions & 2 deletions packages/devextreme/js/ui/set_template_engine.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
//eslint-disable-next-line no-restricted-exports
export { default } from '../core/set_template_engine';
import setTemplateEngine from '../core/set_template_engine';

export default setTemplateEngine;

0 comments on commit 24e6b9f

Please sign in to comment.