From 167a0f8d21379ed2310a661284bf4f6125779cc5 Mon Sep 17 00:00:00 2001 From: jiyong_sd Date: Wed, 16 Mar 2022 22:40:59 +0800 Subject: [PATCH] modified api Signed-off-by: jiyong_sd Change-Id: I6b2b1d6997dd1eca8c13f428fc229a53744187ff --- .../js/test/ActsDataAbilityJsTest.test.js | 2 +- .../ets/MainAbility/images/swipeDirection.ets | 2 +- .../ets/MainAbility/pages/NavigatorCode.ets | 2 +- .../main/ets/MainAbility/pages/PieceCode.ets | 2 +- .../src/main/ets/MainAbility/pages/QrCode.ets | 2 +- .../MainAbility/pages/aboutToDisappear.ets | 2 +- .../ets/MainAbility/pages/alphabetIndexer.ets | 2 +- .../main/ets/MainAbility/pages/animate.ets | 2 +- .../ets/MainAbility/pages/animationStatus.ets | 2 +- .../main/ets/MainAbility/pages/appStorage.ets | 2 +- .../src/main/ets/MainAbility/pages/appear.ets | 2 +- .../main/ets/MainAbility/pages/areaChange.ets | 2 +- .../src/main/ets/MainAbility/pages/badge.ets | 2 +- .../main/ets/MainAbility/pages/barState.ets | 2 +- .../main/ets/MainAbility/pages/bindMenu.ets | 2 +- .../main/ets/MainAbility/pages/bindPopup.ets | 2 +- .../src/main/ets/MainAbility/pages/blank.ets | 2 +- .../src/main/ets/MainAbility/pages/button.ets | 2 +- .../src/main/ets/MainAbility/pages/canvas.ets | 2 +- .../main/ets/MainAbility/pages/canvas2.ets | 2 +- .../main/ets/MainAbility/pages/checkbox.ets | 2 +- .../ets/MainAbility/pages/checkboxGroup.ets | 2 +- .../src/main/ets/MainAbility/pages/circle.ets | 2 +- .../ets/MainAbility/pages/configuration.ets | 2 +- .../src/main/ets/MainAbility/pages/curves.ets | 2 +- .../pages/customDialogController.ets | 2 +- .../main/ets/MainAbility/pages/datePicker.ets | 2 +- .../main/ets/MainAbility/pages/direction.ets | 2 +- .../main/ets/MainAbility/pages/direction2.ets | 2 +- .../main/ets/MainAbility/pages/divider.ets | 2 +- .../main/ets/MainAbility/pages/edgeEffect.ets | 2 +- .../main/ets/MainAbility/pages/ellipse.ets | 2 +- .../src/main/ets/MainAbility/pages/enable.ets | 2 +- .../ets/MainAbility/pages/enumsFlexAlign.ets | 2 +- .../pages/enumsHorizontalAlign.ets | 2 +- .../main/ets/MainAbility/pages/enumsImage.ets | 2 +- .../ets/MainAbility/pages/enumsItemAlign.ets | 2 +- .../MainAbility/pages/enumsLineCapStyle.ets | 2 +- .../MainAbility/pages/enumsVerticalAlign.ets | 2 +- .../main/ets/MainAbility/pages/fillMode.ets | 2 +- .../ets/MainAbility/pages/flexDirection.ets | 2 +- .../main/ets/MainAbility/pages/flexWrap.ets | 2 +- .../main/ets/MainAbility/pages/fontWeight.ets | 2 +- .../src/main/ets/MainAbility/pages/gauge.ets | 152 +++++++++--------- .../pages/general-properties/PanGesture.ets | 2 +- .../general-properties/ResponseRegion.ets | 2 +- .../pages/general-properties/background.ets | 2 +- .../pages/general-properties/border.ets | 2 +- .../pages/general-properties/clickEvent.ets | 2 +- .../general-properties/colorGradient.ets | 2 +- .../pages/general-properties/flex.ets | 2 +- .../pages/general-properties/gridSettings.ets | 2 +- .../pages/general-properties/imageEffects.ets | 2 +- .../general-properties/layoutConstraints.ets | 2 +- .../general-properties/opacitySetting.ets | 2 +- .../general-properties/positionSetting.ets | 2 +- .../general-properties/shapeClipping.ets | 2 +- .../pages/general-properties/sizeSetting.ets | 2 +- .../pages/general-properties/textStyle.ets | 2 +- .../pages/general-properties/touch.ets | 2 +- .../pages/general-properties/touchAble.ets | 2 +- .../pages/general-properties/transForm.ets | 2 +- .../pages/general-properties/visibility.ets | 2 +- .../MainAbility/pages/geometryTransition.ets | 2 +- .../ets/MainAbility/pages/gestureMode.ets | 2 +- .../MainAbility/pages/gradientDirection.ets | 2 +- .../src/main/ets/MainAbility/pages/grid.ets | 2 +- .../ets/MainAbility/pages/gridContainer.ets | 2 +- .../main/ets/MainAbility/pages/gridPage.ets | 2 +- .../ets/MainAbility/pages/imageAnimator.ets | 2 +- .../main/ets/MainAbility/pages/imageFit.ets | 2 +- .../main/ets/MainAbility/pages/keyEvent.ets | 2 +- .../main/ets/MainAbility/pages/lifecycle.ets | 2 +- .../src/main/ets/MainAbility/pages/line.ets | 2 +- .../src/main/ets/MainAbility/pages/list.ets | 2 +- .../main/ets/MainAbility/pages/listItem.ets | 2 +- .../ets/MainAbility/pages/loadingProgress.ets | 2 +- .../MainAbility/pages/longPressGesture.ets | 2 +- .../main/ets/MainAbility/pages/marquee.ets | 2 +- .../main/ets/MainAbility/pages/motionPath.ets | 2 +- .../main/ets/MainAbility/pages/mouseEvent.ets | 2 +- .../main/ets/MainAbility/pages/navigation.ets | 2 +- .../ets/MainAbility/pages/ohosMatrix4.ets | 2 +- .../main/ets/MainAbility/pages/ohosPrompt.ets | 2 +- .../ets/MainAbility/pages/ohosRouterB.ets | 2 +- .../main/ets/MainAbility/pages/overlay.ets | 2 +- .../ets/MainAbility/pages/pageTransition.ets | 2 +- .../ets/MainAbility/pages/pageTransition2.ets | 2 +- .../ets/MainAbility/pages/panDirection.ets | 2 +- .../src/main/ets/MainAbility/pages/panel.ets | 2 +- .../ets/MainAbility/pages/parallelGesture.ets | 2 +- .../src/main/ets/MainAbility/pages/path.ets | 2 +- .../ets/MainAbility/pages/patternLock.ets | 2 +- .../main/ets/MainAbility/pages/placement.ets | 2 +- .../main/ets/MainAbility/pages/playMode.ets | 2 +- .../ets/MainAbility/pages/priorityGesture.ets | 2 +- .../main/ets/MainAbility/pages/progress.ets | 2 +- .../src/main/ets/MainAbility/pages/rating.ets | 2 +- .../main/ets/MainAbility/pages/refresh.ets | 2 +- .../main/ets/MainAbility/pages/richText.ets | 2 +- .../src/main/ets/MainAbility/pages/row.ets | 2 +- .../main/ets/MainAbility/pages/scrollBar.ets | 2 +- .../main/ets/MainAbility/pages/scrollCode.ets | 2 +- .../src/main/ets/MainAbility/pages/search.ets | 2 +- .../src/main/ets/MainAbility/pages/select.ets | 2 +- .../src/main/ets/MainAbility/pages/shape.ets | 2 +- .../MainAbility/pages/sharedTransition.ets | 2 +- .../MainAbility/pages/sharedTransition2.ets | 2 +- .../main/ets/MainAbility/pages/sideBar.ets | 2 +- .../src/main/ets/MainAbility/pages/slider.ets | 2 +- .../main/ets/MainAbility/pages/sourceType.ets | 2 +- .../src/main/ets/MainAbility/pages/span.ets | 2 +- .../main/ets/MainAbility/pages/stateStyle.ets | 2 +- .../main/ets/MainAbility/pages/stepper.ets | 2 +- .../ets/MainAbility/pages/swipeDirection.ets | 2 +- .../src/main/ets/MainAbility/pages/swiper.ets | 2 +- .../ets/MainAbility/pages/systemPrompt.ets | 2 +- .../ets/MainAbility/pages/systemRouterB.ets | 2 +- .../src/main/ets/MainAbility/pages/tabs.ets | 2 +- .../main/ets/MainAbility/pages/tapGesture.ets | 2 +- .../src/main/ets/MainAbility/pages/text.ets | 2 +- .../main/ets/MainAbility/pages/textArea.ets | 2 +- .../main/ets/MainAbility/pages/textClock.ets | 2 +- .../main/ets/MainAbility/pages/textInput.ets | 2 +- .../MainAbility/pages/textPickerDialog.ets | 2 +- .../main/ets/MainAbility/pages/textTimer.ets | 2 +- .../main/ets/MainAbility/pages/timeStamp.ets | 2 +- .../src/main/ets/MainAbility/pages/toggle.ets | 2 +- .../main/ets/MainAbility/pages/transition.ets | 2 +- .../src/main/ets/MainAbility/pages/video.ets | 2 +- .../src/main/ets/MainAbility/pages/zIndex.ets | 2 +- .../test/SharedTransitionJsunit.test.ets | 2 +- .../main/ets/MainAbility/test/List.test.ets | 2 +- 133 files changed, 208 insertions(+), 208 deletions(-) mode change 100755 => 100644 ace/ace_ets_component/entry/src/main/ets/MainAbility/images/swipeDirection.ets mode change 100755 => 100644 ace/ace_ets_component/entry/src/main/ets/MainAbility/test/SharedTransitionJsunit.test.ets diff --git a/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/test/ActsDataAbilityJsTest.test.js b/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/test/ActsDataAbilityJsTest.test.js index 01e2bfe05..c0880a187 100644 --- a/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/test/ActsDataAbilityJsTest.test.js +++ b/aafwk/aafwk_standard/ActsDataAbilityJsTest/entry/src/main/js/test/ActsDataAbilityJsTest.test.js @@ -14,7 +14,7 @@ */ import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index" import featureAbility from '@ohos.ability.featureAbility' -import ohosDataAbility from '@ohos.data.dataability' +import ohosDataAbility from '@ohos.data.dataAbility' describe('ActsDataAbilityJsTest', function () { let dataAbilityUri = ("dataability:///com.example.myapplication.DataAbility"); diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/images/swipeDirection.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/images/swipeDirection.ets old mode 100755 new mode 100644 index 705f1293a..40553dc98 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/images/swipeDirection.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/images/swipeDirection.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component struct PanGestureExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/NavigatorCode.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/NavigatorCode.ets index c5ea4fbe4..bd380f315 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/NavigatorCode.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/NavigatorCode.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/PieceCode.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/PieceCode.ets index af569b0f0..270f8ad30 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/PieceCode.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/PieceCode.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/QrCode.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/QrCode.ets index ddfd5a7d9..cf602a258 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/QrCode.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/QrCode.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/aboutToDisappear.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/aboutToDisappear.ets index f31e5203b..50ff7694c 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/aboutToDisappear.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/aboutToDisappear.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/alphabetIndexer.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/alphabetIndexer.ets index d96f5f370..0f1b4eb05 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/alphabetIndexer.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/alphabetIndexer.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component struct AlphabetIndexerSample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/animate.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/animate.ets index b5d618a2d..7e6e18a2e 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/animate.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/animate.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/animationStatus.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/animationStatus.ets index b1dfd8caa..619e85b57 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/animationStatus.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/animationStatus.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/appStorage.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/appStorage.ets index 604ac2863..cb5bef924 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/appStorage.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/appStorage.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/appear.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/appear.ets index 6ed544298..e646a392c 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/appear.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/appear.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' import prompt from '@system.prompt' @Entry diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/areaChange.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/areaChange.ets index 554dd94cf..d55db9e24 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/areaChange.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/areaChange.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component struct AreaExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/badge.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/badge.ets index f31804155..fe2bc5b65 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/badge.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/badge.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/barState.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/barState.ets index 6b3a71b83..d515b1321 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/barState.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/barState.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component struct ScrollBarExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/bindMenu.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/bindMenu.ets index 3ce33b16b..55695c662 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/bindMenu.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/bindMenu.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/bindPopup.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/bindPopup.ets index be2fc5fee..72d274eea 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/bindPopup.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/bindPopup.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/blank.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/blank.ets index 387be78fa..e2789eba8 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/blank.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/blank.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/button.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/button.ets index 5ced5f62e..729917905 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/button.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/button.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/canvas.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/canvas.ets index 451f0e9ea..d342b09be 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/canvas.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/canvas.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/canvas2.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/canvas2.ets index f50b17fc6..816367159 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/canvas2.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/canvas2.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/checkbox.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/checkbox.ets index c446a49b8..3aee96e4a 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/checkbox.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/checkbox.ets @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/checkboxGroup.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/checkboxGroup.ets index 881bbd477..d4ee65cea 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/checkboxGroup.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/checkboxGroup.ets @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/circle.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/circle.ets index 418fc3c6f..364aa0e4b 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/circle.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/circle.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component struct CircleExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/configuration.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/configuration.ets index c34f4b960..f69ea4a04 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/configuration.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/configuration.ets @@ -14,7 +14,7 @@ * limitations under the License. */ import Configuration from '@system.configuration'; -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component struct promptExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/curves.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/curves.ets index b62012d41..43911d099 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/curves.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/curves.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; import Curves from '@ohos.curves' @Entry diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/customDialogController.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/customDialogController.ets index dabd3f770..50383253c 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/customDialogController.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/customDialogController.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @CustomDialog struct CustomDialogExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/datePicker.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/datePicker.ets index 3ef5b1b0e..54819de51 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/datePicker.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/datePicker.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component struct DatePickerExample01 { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/direction.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/direction.ets index 0511f6585..1ca26cf3f 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/direction.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/direction.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/direction2.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/direction2.ets index af2b57262..c4d0aad3c 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/direction2.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/direction2.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/divider.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/divider.ets index 9478afdcf..8dcc3ad0a 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/divider.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/divider.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component struct DividerExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/edgeEffect.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/edgeEffect.ets index e8d824960..89290280b 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/edgeEffect.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/edgeEffect.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ellipse.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ellipse.ets index 28f182812..af2ae7740 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ellipse.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ellipse.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enable.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enable.ets index 822565589..6567eefda 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enable.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enable.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsFlexAlign.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsFlexAlign.ets index dd0b9b82a..80da6b45b 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsFlexAlign.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsFlexAlign.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsHorizontalAlign.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsHorizontalAlign.ets index b85803ebd..218fb62c3 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsHorizontalAlign.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsHorizontalAlign.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsImage.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsImage.ets index 8285bbc43..84de880c2 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsImage.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsImage.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsItemAlign.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsItemAlign.ets index 82318e0db..81d63ad8d 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsItemAlign.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsItemAlign.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsLineCapStyle.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsLineCapStyle.ets index 30b58839d..c38cf02ec 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsLineCapStyle.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsLineCapStyle.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsVerticalAlign.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsVerticalAlign.ets index 3fb9d4d3b..d574b433f 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsVerticalAlign.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/enumsVerticalAlign.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/fillMode.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/fillMode.ets index b10d525f6..bdcad9499 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/fillMode.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/fillMode.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component struct fillModeExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/flexDirection.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/flexDirection.ets index c7c9e9f52..062bd4aa2 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/flexDirection.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/flexDirection.ets @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/flexWrap.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/flexWrap.ets index a2ade0fe4..6ba3026fc 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/flexWrap.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/flexWrap.ets @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/fontWeight.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/fontWeight.ets index 3cbb0034c..4d657bf2b 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/fontWeight.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/fontWeight.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component struct ContentTable { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gauge.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gauge.ets index 0ceaaa43a..49fd9f4f2 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gauge.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gauge.ets @@ -1,76 +1,76 @@ -// @ts-nocheck -/** - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -import events_emitter from '@ohos.emitter'; - -@Entry -@Component -struct GaugeExample { - @State gaugeValue: string = 50; - @State strokeWidthValue: string = 20; - @State startAngleValue: string = 210; - @State endAngleValue: string = 150; - @State colorValues: Array = [[0x317AF7, 1], [0x5BA854, 1], [0xE08C3A, 1], [0x9C554B, 1], [0xD94838, 1]]; - - private stateChangCallBack = (eventData) => { - if (eventData != null) { - console.info("gauge page state change called:" + JSON.stringify(eventData)); - if(eventData.data.gaugeValue != null) { - this.gaugeValue = eventData.data.gaugeValue; - } - if(eventData.data.strokeWidthValue != null) { - this.strokeWidthValue = eventData.data.strokeWidthValue; - } - if(eventData.data.startAngleValue != null) { - this.startAngleValue = eventData.data.startAngleValue; - } - if(eventData.data.endAngleValue != null) { - this.endAngleValue = eventData.data.endAngleValue; - } - if(eventData.data.colorValues != null) { - this.colorValues = JSON.parse(eventData.data.colorValues); - } - } - } - - onPageShow() { - console.info('gauge page show called'); - var stateChangeEvent = { - eventId: 1, - priority: events_emitter.EventPriority.LOW - } - events_emitter.on(stateChangeEvent, this.stateChangCallBack); - - var stateChangeEventTwo = { - eventId: 2, - priority: events_emitter.EventPriority.LOW - } - events_emitter.on(stateChangeEventTwo, this.stateChangCallBack); - } - - build() { - Column() { - Gauge({ value: 0, min: 0, max: 100 }) - .key("gauge") - .value(`${this.gaugeValue}`) - .startAngle(`${this.startAngleValue}`) - .endAngle(`${this.endAngleValue}`) - .colors(this.colorValues) - .strokeWidth(`${this.strokeWidthValue}`) - .width(200).height(200) - }.width('100%').margin({ top: 300 }) - } -} - +// @ts-nocheck +/** + * Copyright (c) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import events_emitter from '@ohos.events.emitter'; + +@Entry +@Component +struct GaugeExample { + @State gaugeValue: string = 50; + @State strokeWidthValue: string = 20; + @State startAngleValue: string = 210; + @State endAngleValue: string = 150; + @State colorValues: Array = [[0x317AF7, 1], [0x5BA854, 1], [0xE08C3A, 1], [0x9C554B, 1], [0xD94838, 1]]; + + private stateChangCallBack = (eventData) => { + if (eventData != null) { + console.info("gauge page state change called:" + JSON.stringify(eventData)); + if(eventData.data.gaugeValue != null) { + this.gaugeValue = eventData.data.gaugeValue; + } + if(eventData.data.strokeWidthValue != null) { + this.strokeWidthValue = eventData.data.strokeWidthValue; + } + if(eventData.data.startAngleValue != null) { + this.startAngleValue = eventData.data.startAngleValue; + } + if(eventData.data.endAngleValue != null) { + this.endAngleValue = eventData.data.endAngleValue; + } + if(eventData.data.colorValues != null) { + this.colorValues = JSON.parse(eventData.data.colorValues); + } + } + } + + onPageShow() { + console.info('gauge page show called'); + var stateChangeEvent = { + eventId: 1, + priority: events_emitter.EventPriority.LOW + } + events_emitter.on(stateChangeEvent, this.stateChangCallBack); + + var stateChangeEventTwo = { + eventId: 2, + priority: events_emitter.EventPriority.LOW + } + events_emitter.on(stateChangeEventTwo, this.stateChangCallBack); + } + + build() { + Column() { + Gauge({ value: 0, min: 0, max: 100 }) + .key("gauge") + .value(`${this.gaugeValue}`) + .startAngle(`${this.startAngleValue}`) + .endAngle(`${this.endAngleValue}`) + .colors(this.colorValues) + .strokeWidth(`${this.strokeWidthValue}`) + .width(200).height(200) + }.width('100%').margin({ top: 300 }) + } +} + diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/PanGesture.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/PanGesture.ets index c275265c1..2b8f0ae3b 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/PanGesture.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/PanGesture.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/ResponseRegion.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/ResponseRegion.ets index 530360711..c3928f78a 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/ResponseRegion.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/ResponseRegion.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/background.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/background.ets index 879a843e4..cbd67fb8b 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/background.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/background.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/border.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/border.ets index 941664788..1914a589c 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/border.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/border.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/clickEvent.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/clickEvent.ets index 1182d03d9..55938a183 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/clickEvent.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/clickEvent.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/colorGradient.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/colorGradient.ets index 8e4ddb80f..b9bbf47ae 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/colorGradient.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/colorGradient.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/flex.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/flex.ets index a003153a0..ef2858bdb 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/flex.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/flex.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/gridSettings.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/gridSettings.ets index 925824670..650a88941 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/gridSettings.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/gridSettings.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/imageEffects.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/imageEffects.ets index 39432be91..0bbacea16 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/imageEffects.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/imageEffects.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/layoutConstraints.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/layoutConstraints.ets index 135cf0a4d..2cd75c55e 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/layoutConstraints.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/layoutConstraints.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; class ContainerInfo { label : string = '' diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/opacitySetting.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/opacitySetting.ets index 4bf2f93fc..f5c34431e 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/opacitySetting.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/opacitySetting.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component struct OpacityExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/positionSetting.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/positionSetting.ets index c32fe2ab7..8a39b1fed 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/positionSetting.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/positionSetting.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component struct PositionSetting { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/shapeClipping.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/shapeClipping.ets index 2e402ecd1..e6723de8d 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/shapeClipping.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/shapeClipping.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component struct ClipAndMaskExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/sizeSetting.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/sizeSetting.ets index 2b2ae0554..6497468ba 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/sizeSetting.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/sizeSetting.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/textStyle.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/textStyle.ets index cb4d84739..beb0ca973 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/textStyle.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/textStyle.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/touch.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/touch.ets index dd7209fe7..91498affb 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/touch.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/touch.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Preview diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/touchAble.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/touchAble.ets index 087d9067b..1a5369384 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/touchAble.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/touchAble.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/transForm.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/transForm.ets index 388955aeb..9d847095d 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/transForm.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/transForm.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' import Matrix4 from '@ohos.matrix4' @Entry diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/visibility.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/visibility.ets index cc2ba4ca8..f0efb90fa 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/visibility.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/general-properties/visibility.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/geometryTransition.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/geometryTransition.ets index 583112d24..9baa590cd 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/geometryTransition.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/geometryTransition.ets @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gestureMode.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gestureMode.ets index 92a8bb8bc..0af198407 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gestureMode.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gestureMode.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component struct GestureGroupExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gradientDirection.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gradientDirection.ets index 47eb8c5ca..ef7316fb1 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gradientDirection.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gradientDirection.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component struct linearGradientExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/grid.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/grid.ets index 9161a7d03..e58a67687 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/grid.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/grid.ets @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gridContainer.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gridContainer.ets index 7d9ff8456..4077f6540 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gridContainer.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gridContainer.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gridPage.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gridPage.ets index 946cae6aa..d39141a79 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gridPage.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/gridPage.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/imageAnimator.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/imageAnimator.ets index dcf9adecf..98fb9ad91 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/imageAnimator.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/imageAnimator.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component struct ImageAnimatorExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/imageFit.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/imageFit.ets index 741808c14..f659b4dc5 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/imageFit.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/imageFit.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component struct ImageExample1 { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/keyEvent.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/keyEvent.ets index 69147194f..a5f16dafc 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/keyEvent.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/keyEvent.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/lifecycle.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/lifecycle.ets index 8d8f1ea1e..3f9a5e681 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/lifecycle.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/lifecycle.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/line.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/line.ets index 0c6a52fb5..ca32685ae 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/line.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/line.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/list.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/list.ets index b3b2350ef..91c7239b3 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/list.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/list.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/listItem.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/listItem.ets index 11419b8fe..554080a60 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/listItem.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/listItem.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/loadingProgress.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/loadingProgress.ets index 0cd364c7b..e515e3338 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/loadingProgress.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/loadingProgress.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/longPressGesture.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/longPressGesture.ets index 191dbcf35..647bd32e2 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/longPressGesture.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/longPressGesture.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/marquee.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/marquee.ets index b2e1be54d..ecec05bc7 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/marquee.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/marquee.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/motionPath.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/motionPath.ets index 4f05c9681..18ae81be9 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/motionPath.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/motionPath.ets @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/mouseEvent.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/mouseEvent.ets index f8e30e3d1..44b1c81da 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/mouseEvent.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/mouseEvent.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/navigation.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/navigation.ets index a52380206..de22da3e6 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/navigation.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/navigation.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ohosMatrix4.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ohosMatrix4.ets index a9e76ade7..2a4065dfb 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ohosMatrix4.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ohosMatrix4.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' import Matrix4 from '@ohos.matrix4' import prompt from '@system.prompt' diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ohosPrompt.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ohosPrompt.ets index f3a53affc..2f6a024ac 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ohosPrompt.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ohosPrompt.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' import prompt from '@ohos.prompt' @Entry diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ohosRouterB.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ohosRouterB.ets index 1281ec1a2..8cca7ea66 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ohosRouterB.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/ohosRouterB.ets @@ -13,7 +13,7 @@ * limitations under the License. */ import router from '@system.router'; -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component struct OhosRouterB { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/overlay.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/overlay.ets index b545a3a47..e35277bf4 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/overlay.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/overlay.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/pageTransition.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/pageTransition.ets index 0cb6713b2..d9693f2ba 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/pageTransition.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/pageTransition.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component struct PageTransitionExample1 { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/pageTransition2.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/pageTransition2.ets index e2251bb15..a16c291ae 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/pageTransition2.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/pageTransition2.ets @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component struct AExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/panDirection.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/panDirection.ets index de54bc426..20d18d81f 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/panDirection.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/panDirection.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component struct PanGestureExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/panel.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/panel.ets index c52af08b3..415a7fe72 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/panel.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/panel.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/parallelGesture.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/parallelGesture.ets index b1519513d..0e4de743f 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/parallelGesture.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/parallelGesture.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/path.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/path.ets index 20344889f..5c7b0e91a 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/path.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/path.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/patternLock.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/patternLock.ets index 53e12e9b8..03b81a88d 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/patternLock.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/patternLock.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/placement.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/placement.ets index ec471be9f..a9b2b9572 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/placement.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/placement.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/playMode.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/playMode.ets index 3a9678d76..1d2c4c4ea 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/playMode.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/playMode.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/priorityGesture.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/priorityGesture.ets index 43267f8fe..c37975d2f 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/priorityGesture.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/priorityGesture.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/progress.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/progress.ets index 5b8dc1545..8b18e95fc 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/progress.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/progress.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/rating.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/rating.ets index bf2ae1938..3537f9598 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/rating.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/rating.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/refresh.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/refresh.ets index 5b4492c0e..5ac154ce1 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/refresh.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/refresh.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import eventsEmitter from '@ohos.emitter'; +import eventsEmitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/richText.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/richText.ets index a22f5b6c0..5193854ac 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/richText.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/richText.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import eventsEmitter from '@ohos.emitter'; +import eventsEmitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/row.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/row.ets index 87c878455..a97170668 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/row.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/row.ets @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/scrollBar.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/scrollBar.ets index 0e5061d78..b9e418387 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/scrollBar.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/scrollBar.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/scrollCode.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/scrollCode.ets index 2f7c79821..b835c9f93 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/scrollCode.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/scrollCode.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/search.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/search.ets index aa2490cbb..7fcfe767a 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/search.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/search.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/select.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/select.ets index a33ad13b8..b58caf330 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/select.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/select.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component struct SliderExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/shape.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/shape.ets index aa8844283..95ac6e2f1 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/shape.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/shape.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sharedTransition.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sharedTransition.ets index bda6e37b9..3a31b9ad2 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sharedTransition.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sharedTransition.ets @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sharedTransition2.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sharedTransition2.ets index 7b2dd8ef9..88253ee62 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sharedTransition2.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sharedTransition2.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sideBar.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sideBar.ets index 64e3273ed..5ef92e0fb 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sideBar.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sideBar.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/slider.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/slider.ets index 5b6c06b25..9ffc4d846 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/slider.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/slider.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sourceType.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sourceType.ets index af7184c18..29636c5c2 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sourceType.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/sourceType.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/span.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/span.ets index e24548fbd..d4d1159ab 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/span.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/span.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/stateStyle.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/stateStyle.ets index 0d0ccea53..0d3855cb1 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/stateStyle.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/stateStyle.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/stepper.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/stepper.ets index f3090524a..01c2c797d 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/stepper.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/stepper.ets @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/swipeDirection.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/swipeDirection.ets index 705f1293a..40553dc98 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/swipeDirection.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/swipeDirection.ets @@ -14,7 +14,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component struct PanGestureExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/swiper.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/swiper.ets index 6627945f0..e6457971b 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/swiper.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/swiper.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' class MyDataSource implements IDataSource { private list: number[] = [] diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/systemPrompt.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/systemPrompt.ets index 4e39fb548..7d0e30787 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/systemPrompt.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/systemPrompt.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; import prompt from '@system.prompt'; @Entry diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/systemRouterB.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/systemRouterB.ets index db64b56d4..ea8ecd062 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/systemRouterB.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/systemRouterB.ets @@ -14,7 +14,7 @@ */ import router from '@system.router'; -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/tabs.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/tabs.ets index 2fdba77e8..de1b62789 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/tabs.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/tabs.ets @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/tapGesture.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/tapGesture.ets index f927c536d..b57f0113e 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/tapGesture.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/tapGesture.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/text.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/text.ets index 6e17fc7d5..fc4612abc 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/text.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/text.ets @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textArea.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textArea.ets index 7599ccc06..07d04e19a 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textArea.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textArea.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textClock.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textClock.ets index eea01df8b..066613dc5 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textClock.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textClock.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textInput.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textInput.ets index cfbef5804..3fce75405 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textInput.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textInput.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textPickerDialog.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textPickerDialog.ets index 2678132c7..9f0be8d3f 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textPickerDialog.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textPickerDialog.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textTimer.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textTimer.ets index fd78092a6..b2093fca5 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textTimer.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/textTimer.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/timeStamp.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/timeStamp.ets index 272156b7d..8eda4ca77 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/timeStamp.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/timeStamp.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component struct ClickExample { diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/toggle.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/toggle.ets index 4f7ffc036..a15d440a2 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/toggle.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/toggle.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter'; +import events_emitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/transition.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/transition.ets index a32258b42..5ba4b3535 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/transition.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/transition.ets @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/video.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/video.ets index 1d6c58470..a5f9a41aa 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/video.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/video.ets @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import eventsEmitter from '@ohos.emitter'; +import eventsEmitter from '@ohos.events.emitter'; @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/zIndex.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/zIndex.ets index a31ecaa14..888c60830 100755 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/zIndex.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/pages/zIndex.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' @Entry @Component diff --git a/ace/ace_ets_component/entry/src/main/ets/MainAbility/test/SharedTransitionJsunit.test.ets b/ace/ace_ets_component/entry/src/main/ets/MainAbility/test/SharedTransitionJsunit.test.ets old mode 100755 new mode 100644 index dbc2f2a9a..74f108069 --- a/ace/ace_ets_component/entry/src/main/ets/MainAbility/test/SharedTransitionJsunit.test.ets +++ b/ace/ace_ets_component/entry/src/main/ets/MainAbility/test/SharedTransitionJsunit.test.ets @@ -15,7 +15,7 @@ */ import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index.ets" import router from '@system.router'; -import events_emitter from '@ohos.emitter' +import events_emitter from '@ohos.events.emitter' import Utils from './Utils'; export default function sharedTransitionJsunit() { diff --git a/telephony/telephonyjstest/contact_function/entry/src/main/ets/MainAbility/test/List.test.ets b/telephony/telephonyjstest/contact_function/entry/src/main/ets/MainAbility/test/List.test.ets index 0da9c5410..590531a74 100644 --- a/telephony/telephonyjstest/contact_function/entry/src/main/ets/MainAbility/test/List.test.ets +++ b/telephony/telephonyjstest/contact_function/entry/src/main/ets/MainAbility/test/List.test.ets @@ -18,7 +18,7 @@ import CalllogTest from './contact/Calllog_test.js' import ContactCardTest from './contact/ContactCard_test.js' import ContactsTest from './contact/Contacts_test.js' import GroupsTest from './contact/Groups_test.js' -import ObjectInterfaceTest from './contact/ObjectInterface_test.js' +#import ObjectInterfaceTest from './contact/ObjectInterface_test.js' import RecoveryTest from './contact/recovery_test.js' import VoicemailTest from './contact/Voicemail_test.js' import ContactClassTest from './contact/ContactClass_test.js' -- GitLab