diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/alphabetIndexer.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/alphabetIndexer.ets index 8eeeba40826894f296e43153c7934eb58fd4af7d..3191158a3a98ae7110a279f5680c3e9758146978 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/alphabetIndexer.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/alphabetIndexer.ets @@ -20,7 +20,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct AlphabetIndexerOnSelect { private value: string[] = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N'] private content: string = "AlphabetIndexer Page" diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets index daded4fbea872129b4248c0636957ffab425441f..f834f3011120c73b0d09bc2c7d7b81bb3ce8714f 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets @@ -21,7 +21,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct CheckBoxGroupSelectAll { @State isSelect: boolean = true; diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/circle.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/circle.ets index 78d0d36e54a23383149119e53f33401885ed4387..32196008e61304b47d2e2f9e662af86eeaa6062a 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/circle.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/circle.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct CircleNe { @State w: string = "100px"; @State h: string = "100px"; diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/common.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/common.ets index d25aa5d921a18abf47e0512c4f555cef32654cb1..271932b6dab66bd67d32e237f4ed9ca57dfeba1a 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/common.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/common.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct CommonBackgroundBlurStyle { +struct CommonBackgroundBlurStyle { @State value: string = '' aboutToAppear() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/common_ts_ets_api.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/common_ts_ets_api.ets index 227f759883e35f56b329774b0272fba1831c7419..2104afd48af1b849f9dba0b5560a28c61afd6a1e 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/common_ts_ets_api.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/common_ts_ets_api.ets @@ -24,7 +24,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct Common_ts_ets_apiStaticClear { +struct Common_ts_ets_apiStaticClear { @StorageLink('varA') varA: number = 2 private label: string = 'count' @StorageLink('highScore') highScore: number = 0 diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/common_y.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/common_y.ets index 7bae03d3f2ab74cab9979c672e1d865f91dd0cfa..626c1a3dcf101010e2d32c7db5596ded1a870a47 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/common_y.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/common_y.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct CommonBackgroundBlurStyle { +struct CommonBackgroundBlurStyle { @State value: string = '' isEnv:boolean = Environment.EnvProp('accessibilityEnabled', 'default') diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/panel_y.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/panel_y.ets index ad0b67cf18e8fc9e94b2d00c940efe9ae23af75c..ce1942b5b759264bf3ccd20852c1d4913f94a8c9 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/panel_y.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/panel_y.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct PanelBackgroundMask { +struct PanelBackgroundMask { @State mode: PanelMode = PanelMode.Full @State navBarPosition:PanelMode = PanelMode.Full aboutToAppear() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/stack_y.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/stack_y.ets index bfe6cdef09caa5b798c1382691b45bdd93c793cf..2332fd6e19f051b292f4dbde895073b8664f2faa 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/stack_y.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/stack_y.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct StackAlignContent { aboutToAppear() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/tabs_y.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/tabs_y.ets index 35d3af266a23e61e4bd6e4f5ef4309b75f754597..647a5437b0ba4511c57d85c0ecef908ff90379ee 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/tabs_y.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/tabs_y.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct TabsBarPosition { private controller: TabsController = new TabsController() diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/curves.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/curves.ets index ff120314467a52aa92b4282f80cc6a2995f4b358..74f0475228a09e4f636debce476aa2d5aa17f897 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/curves.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/curves.ets @@ -20,7 +20,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct CurvesSteps { +struct CurvesSteps { @State curveApi:string = "success" @State curve1:ICurve = Curves.springMotion(0.40, 0.99, 0) @State curve2:ICurve = Curves.responsiveSpringMotion(0.40, 0.99, 0); diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/dom.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/dom.ets index 61eeaa5aa4cbe09a0244014e4154af5862038310..b55168ea8e566898e1b4b63dd46d5b10da90f7c9 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/dom.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/dom.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct DomCreateElement { +struct DomCreateElement { aboutToAppear() { Log.showInfo(TAG, `aboutToAppear DomCreateElement start`) } diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/ellipse.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/ellipse.ets index ab5d5e0aecafb7a0f0fb480d66c0985bdba5521c..f9c55278d1cc42e7fb113c5afc46ea071538ea00 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/ellipse.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/ellipse.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct EllipseNe { @State w: string = "300.00px"; @State h: string = "300.00px"; diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/featureAbility.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/featureAbility.ets index 750d4e41feb3c6e6010bf9690c14dc58ae07a919..3c7b5f89dc0dd09048ac401c5d28f9884ef07465 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/featureAbility.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/featureAbility.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct FeatureAbilityStartAbility { +struct FeatureAbilityStartAbility { aboutToAppear() { Log.showInfo(TAG, `aboutToAppear FeatureAbilityStartAbility start`) } diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gauge.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gauge.ets index 244635ab655655e166661fda0b84131f30b3a48b..28c288bbe5f3b984c08169626fbbf4c8480f42a2 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gauge.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gauge.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct GaugeColors { aboutToAppear() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gesture.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gesture.ets index 88b5ebdb228f85521b5eb9eb338a5e6fcac246e1..7b9fd8354b90d02ab647dc7ca7b8b3a1ef31cfdf 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gesture.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gesture.ets @@ -19,7 +19,6 @@ import events_emitter from '@ohos.events.emitter'; @Entry @Component -export default struct GestureSetDirection { @State offsetX: number = 10 @State offsetY: number = 10 diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid.ets index bf3fce866dbe7437c751c12d8d296ade1f3f5096..14339b4ded48f4cc5736e04ad1a35c6ab8f99b32 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct GridMaxCount { @State Number: String[] = ['5', '6', '7', '8', '9'] aboutToAppear() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gridItem.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gridItem.ets index bbbfd5e4fc06f48510fe28ed101cc2457f314a33..e907afee94da7e1a337c1e2882b7cee81b796b82 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gridItem.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gridItem.ets @@ -19,7 +19,6 @@ import events_emitter from '@ohos.events.emitter'; @Entry @Component -export default struct GridItemOnSelect { @State Number: String[] = ['5', '6', '7', '8', '9'] @State isSelect: boolean = false; diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid_col.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid_col.ets index a0abac00e2aa9c30b13196a1308128688cfd319c..2306df7dd2a5a3afe72d546a379c95ca6b8452bc 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid_col.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid_col.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct Grid_colSpan { aboutToAppear() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid_row.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid_row.ets index f472d6cf88bbcb58fa29ca469708d6144b822421..b6d90ecd1ee2c7352cef9abbf0b70f013113ad36 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid_row.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid_row.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct Grid_rowOnBreakpointChange { aboutToAppear() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/image.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/image.ets index fc877f9decc374f41c3d385625a05bf0fa497ff8..91dffbb172386a295ac84f2db6b19e56d4d85d14 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/image.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/image.ets @@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter'; @Entry @Component -export default + struct ImageExample { build() { Column() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/inspector.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/inspector.ets index 906244a7dab816c8473d22629ee7d0a3ceb78cb0..5240f15d9846193fa15300426756d94ef8e0360f 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/inspector.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/inspector.ets @@ -19,7 +19,6 @@ import events_emitter from '@ohos.events.emitter'; @Entry @Component -export default struct Inspector { @State message: string = 'test' @State setColor:string = '#F9CF93' diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/lazyForEach.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/lazyForEach.ets index 3bd6d00859b6557f44423b5e9c256aaabd7a27b2..76da45be35946c49d3131f86d1644077462f10d8 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/lazyForEach.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/lazyForEach.ets @@ -148,7 +148,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct LazyForEachOnDataAdd { private data: MyDataSource = new MyDataSource() private scroller: Scroller = new Scroller() diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/line.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/line.ets index 0f29bf5f99cd068d1638564caa7e2c6580656bf4..2420e216b2e9fc28112a7757518ee8cd921d25a5 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/line.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/line.ets @@ -19,7 +19,6 @@ let my_line = new Line() @Entry @Component -export default struct LineNe { aboutToAppear() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/list.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/list.ets index f33a87cfdd26751f645982bb905c3939a37ff6da..32ac65e2fa39fcbd358fc809e6c8f229ed925a51 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/list.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/list.ets @@ -19,7 +19,6 @@ import events_emitter from '@ohos.events.emitter'; @Entry @Component -export default struct ListLanes { private arr: number[] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] @State listPosition: number = 0 // 0代表滚动到List顶部,1代表中间值,2代表滚动到List底 diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/list_item.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/list_item.ets index e6c3fc94a0039f83736dcda0f072a2612705a67c..1b2e38be6a170d1a5bafaca015fd14b13b3594ae 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/list_item.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/list_item.ets @@ -19,7 +19,6 @@ import events_emitter from '@ohos.events.emitter'; @Entry @Component -export default struct List_itemOnSelect { aboutToAppear() { Log.showInfo(TAG, `aboutToAppear List_itemOnSelect start`) diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/mediaQuery.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/mediaQuery.ets index f05a02d0f56a0cd2c5ad3910beea58ce19d7324d..24183fb6fe594d029bc642ad3759851618ad5a43 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/mediaQuery.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/mediaQuery.ets @@ -20,7 +20,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct MediaQueryOff { +struct MediaQueryOff { @State color: string = '#000' @State text: string = 'Test' listener = mediaquery.matchMediaSync('(orientation: landscape)') diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/navigator.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/navigator.ets index ecd76d5e343d6a8db4ecc41c851789b1ae7b54f2..787ab5f6afe49ec689175999c75dc69fb3ccbd48 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/navigator.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/navigator.ets @@ -18,7 +18,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct NavigatorTarget { +struct NavigatorTarget { aboutToAppear() { Log.showInfo(TAG, `aboutToAppear NavigatorTarget start`) } diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/panel.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/panel.ets index 4aeb79f585041843fcd5bae2b53144541a6c8033..da12995ee0415916f0e7b68b608fdf38d9fe390b 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/panel.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/panel.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct PanelBackgroundMask { +struct PanelBackgroundMask { @State mode: PanelMode = PanelMode.Full aboutToAppear() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/path.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/path.ets index 2282bc2c1bab80fe8b63e1a4cc87104da1575494..16b171f49d38628eacfe04fbdb5e5fb4d59e5bd5 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/path.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/path.ets @@ -18,7 +18,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct PathNew { +struct PathNew { private path: any = new Path({ width: 100, height: 100, diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/polyLine.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/polyLine.ets index db719f67eddf09465b666047c84ad8d082f27bd4..84bf71422c13b3181ae2c7b800546a80424d0199 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/polyLine.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/polyLine.ets @@ -18,7 +18,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct PolyLineNe { +struct PolyLineNe { private polyline: PolylineAttribute = new Polyline({ width: 100, height: 100 diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/polygon.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/polygon.ets index f0beb3aba6e3e691c89cf252dbc76a6285ae1268..f7101421526e38db584aab24ead2d795c1f47c28 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/polygon.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/polygon.ets @@ -18,7 +18,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct PolygonNe { +struct PolygonNe { private polygon: PolygonAttribute = new Polygon({ width: 100, height: 100 diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/progress.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/progress.ets index 95598b3857b61d01ba0979967caf584e923534d8..fe9d6c4303813aea6179fa6d6eb209e46558ecde 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/progress.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/progress.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct ProgressStyle { aboutToAppear() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/prompt.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/prompt.ets index e54b80ab6c2fb1ea661ae0c8fd88aa13fef96ffc..55818cda5483ffd861ad387d440a1e03ef84fde6 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/prompt.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/prompt.ets @@ -20,7 +20,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct PromptShowDialog { +struct PromptShowDialog { aboutToAppear() { Log.showInfo(TAG, `aboutToAppear PromptShowDialog start`) } diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/promptApi.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/promptApi.ets index 6326cb1218d942d3e012a56ccd1dbdb44b0b6fdb..06ce500513de9f0ffa0d8bdeec933b2036b1c92a 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/promptApi.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/promptApi.ets @@ -20,7 +20,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct PromptShowDialog { +struct PromptShowDialog { aboutToAppear() { Log.showInfo(TAG, `aboutToAppear PromptShowDialog start`) } diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/rect.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/rect.ets index 714e1765c8591458752ca63c649024a424303788..1cc9bdc7158bbfdde2d5f033e750cf126f0df071 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/rect.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/rect.ets @@ -18,7 +18,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct RectNe { +struct RectNe { private rect: RectAttribute = new Rect({ width: '90%', height: 50, diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/router.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/router.ets index dbde00df9c1df3c54ed475e240a9a1816d42ef83..e96397c9c755b081fbd3f511662c6e3a2cc0b0ae 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/router.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/router.ets @@ -21,7 +21,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct RouterEnableAlertBeforeBackPage { +struct RouterEnableAlertBeforeBackPage { aboutToAppear() { Log.showInfo(TAG, `aboutToAppear RouterEnableAlertBeforeBackPage start`) diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/scroll.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/scroll.ets index 8d997149f226eb3d3c3724a1b97c55c1adabf4fa..01f8c565be0584154a7ceab1fad46c4a1554089d 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/scroll.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/scroll.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct ScrollOnScrollBegin { scroller: Scroller = new Scroller() private arr: number[] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/search.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/search.ets index e2a8045741bba287449289db4037d9483fe095ca..11bbbb2eb10600d4ee886fc8459b33e18d25dc7c 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/search.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/search.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct SearchOnCut { +struct SearchOnCut { controller: SearchController = new SearchController() aboutToAppear() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/select.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/select.ets index 56acfb074570b795801454fbd6af6be5f622a282..2a7a080e6e216472c3fdf8273058907a3e823777 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/select.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/select.ets @@ -19,7 +19,6 @@ import events_emitter from '@ohos.events.emitter'; @Entry @Component -export default struct SelectOnSelect { @State selectIndex:number = 1 diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/shape.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/shape.ets index 52e516025c1c19020e37f77047b1493b2d366c01..b34dc5861a7161329e586e57d41cfa41032e59be 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/shape.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/shape.ets @@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct ShapeNe { aboutToAppear() { Log.showInfo(TAG, `aboutToAppear ShapeNe start`) diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/sideBar.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/sideBar.ets index 10fb672b2d215452cbb39f6bbfaad774228cc9d5..0f05c318f30837d9875fba2419e2f60ce05832c8 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/sideBar.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/sideBar.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct SideBarShowSideBar { normalIcon : Resource = $r("app.media.user") selectedIcon: Resource = $r("app.media.userFull") diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/stack.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/stack.ets index bfe6cdef09caa5b798c1382691b45bdd93c793cf..2332fd6e19f051b292f4dbde895073b8664f2faa 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/stack.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/stack.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct StackAlignContent { aboutToAppear() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/stateManagement.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/stateManagement.ets index 389ccfe10df1638c5dfe9abf0a1d769cdaf9882e..7734d6c5a04f52f9c0560efe3ed8255556711aa1 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/stateManagement.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/stateManagement.ets @@ -22,7 +22,6 @@ let storage2 = new LocalStorage({"PropA":47}); @Entry(storage1) @Component -export default struct StateManagementGetShared { @LocalStorageLink("storageSimpleProp") simpleVarName: number = 0 diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/swiper.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/swiper.ets index 4d295994a9ef8d5f11c699b4ef853d7ea57ede4e..f71351f2c050766154c8c081c81115cf4ad44733 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/swiper.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/swiper.ets @@ -44,7 +44,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct SwiperCurve { private swiperController: SwiperController = new SwiperController() diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/tabs.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/tabs.ets index 35d3af266a23e61e4bd6e4f5ef4309b75f754597..647a5437b0ba4511c57d85c0ecef908ff90379ee 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/tabs.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/tabs.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct TabsBarPosition { private controller: TabsController = new TabsController() diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/text.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/text.ets index dbaf1e6c69ea955ae15d16570b4bb89c5448039b..19e5d7e0cb28219a1dfdcf0224d1281b7e225824 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/text.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/text.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct TextMinFontSize { aboutToAppear() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textArea.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textArea.ets index a071527ccc6be1eb414936c782eb52eef5bdbf47..5c4b470a2ca7d2a516b0f217c311ccc453de8434 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textArea.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textArea.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct TextAreaOnCut { aboutToAppear() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textInput.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textInput.ets index 9103407baf777469c59a9a3700fb3f91e3b0749f..d6d9282dc0fd468fffc1431ba5b7ab49484df8fe 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textInput.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textInput.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct TextInputOnEditChange { @State num: number = 0 diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textPicker.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textPicker.ets index cfc3d49e9593eef45ee5fa0b64ead8828dc6eca9..8cd853c453903f9ac9e1bc0fb2291197459d85fc 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textPicker.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textPicker.ets @@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct TextPickerDefaultPickerItemHeight { private select: number = 1 private fruits: string[] = ['1.apple', '2.orange','3.peach', '4.grape'] diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/uiAppearance.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/uiAppearance.ets index ed757806f2ab195ce67d390a2b6e18911ce8a4ed..af5dd5d8b8a34da7f9a33d1dfa22a200bb96bd1a 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/uiAppearance.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/uiAppearance.ets @@ -20,7 +20,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct uiAppearanceSetDarkMode { +struct uiAppearanceSetDarkMode { xcomponentController: XComponentController = new XComponentController() aboutToAppear() { diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/video.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/video.ets index d6790351bef7a39571d556ce07da1814d19d4ec0..7e7490ef50a9335d9c776d38e1b81b835e2c4a75 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/video.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/video.ets @@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct VideoOnFullscreenChange { @State srcs: Resource = $rawfile('videoTest.mp4'); diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/xcomponent.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/xcomponent.ets index 55db887769128f45259f8e642399897829f802ae..dbafc005ac7feff1d9299457664b20b9fac9a71d 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/xcomponent.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/xcomponent.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct XcomponentGetXComponentContext { +struct XcomponentGetXComponentContext { xcomponentController: XComponentController = new XComponentController() aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/alertDialog.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/alertDialog.ets index 56667c8963b12bd1b54045fc29c9b43ea8d0f7c6..cc89ff46b2a42d286ada9d25cd7561bd8936c80b 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/alertDialog.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/alertDialog.ets @@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct AlertDialogCenterStart { aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/animator.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/animator.ets index 7bb0c726ad120268e713e303fce85504369e6abb..965eade8d69edef8b7e08006749cd543f196dd15 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/animator.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/animator.ets @@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct AnimatorOnframe { aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/canvas.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/canvas.ets index 68eb1ed29b6b272dc327979e9be5f85b301da6d4..d72ddad8eefdc36b931ae61ff8cadcccf353b92b 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/canvas.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/canvas.ets @@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct CanvasActualBoundingBoxAscent { private settings: RenderingContextSettings = new RenderingContextSettings(true)//antialias:boolean diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/checkBox.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/checkBox.ets index a5e30c37435814541ade95cac85dab10c9bdf12f..ad0c03fd87898bb2612823a71dceb58085034447 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/checkBox.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/checkBox.ets @@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct CheckBoxGroup { aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets index 59c3785e25d392190ae2ed36dabca17d61a69c7a..413b18224355a1029edd74202708e9cbb42fd4e2 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets @@ -20,7 +20,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct CheckBoxGroupPart { aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/color.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/color.ets index 4afa006f0d6b60229e546a5b665e4be4f3bf1650..baee6c11188bb9ec8dd822de506b29d5fcc085f9 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/color.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/color.ets @@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct ColorEnum { build() { Column() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/common.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/common.ets index da966027458103777c8e96ddb495394016762df7..06f3596fbd0bde759ac85d53e405cf26aded3234 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/common.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/common.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct CommonColorMode { +struct CommonColorMode { // popup构造器定义弹框内容 @Builder popupBuilder() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/copyOption.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/copyOption.ets index 45d9185f2dd57dd13ebc2dc0a0d3380b62dee6e4..9df4205a20882db559daf38cca0de9d090b275f1 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/copyOption.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/copyOption.ets @@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct CopyOption { aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/curves.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/curves.ets index 234d01e3ec45155bc8677943cc80aeaa56545cc0..8eb58c84f7743775d9e23dc4cd72110448b465f4 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/curves.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/curves.ets @@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct CurvesEaseOut { @State widthSize: number = 400 @State heightSize: number = 200 diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/datePicker.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/datePicker.ets index 558b73166c484a252e8963d6c50b240ad480a15a..7c95a5556843510ca8ebdf40f5c03cc16c06e14b 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/datePicker.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/datePicker.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct DatePickerLunar { +struct DatePickerLunar { private selectedDate: Date = new Date('2021-08-08') aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/enums.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/enums.ets index e22cc6b4010383fabe67a8d74b5538abcaf7a3f1..1e34797a4b71a99e4a29080ab95a4cfdc8aa5390 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/enums.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/enums.ets @@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct EnumsCancel { @State widthSize: number = 200 diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/featureAbility.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/featureAbility.ets index c2c1f8f74e46432717f4cf19c0c502940f6e2d6a..d3fe663be785b2dfa87d5d3012063fe5e746ed89 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/featureAbility.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/featureAbility.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct FeatureAbilityStartAbility { +struct FeatureAbilityStartAbility { aboutToAppear() { Log.showInfo(TAG, `aboutToAppear FeatureAbilityStartAbility start`) } diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gesture.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gesture.ets index b9a951d76a3f39c623b4d91a6cc25428bab5697b..123e745ac5ce7f5752631bfa752a0b055e4ae27b 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gesture.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gesture.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct GestureParallel { +struct GestureParallel { aboutToAppear() { Log.showInfo(TAG, `aboutToAppear GestureParallel start`) } diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gridCol.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gridCol.ets index 0d949160c18b711c61c61d7e4a916ed052961342..f592f0fb7a234164d523c17eec8815e54563a1bc 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gridCol.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gridCol.ets @@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct GridColXl { aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gridRow.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gridRow.ets index 95ca6fdfff9a6a4c6ff8b87e5939b26a01a9af53..b9f0677f2dd5957d1bd2efd53aa446585c3aca64 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gridRow.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gridRow.ets @@ -20,7 +20,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct GridRowXl { aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/hoverEffect.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/hoverEffect.ets index 28aec9fabce9ad5b8b24d2c43e1c07731f301683..ab75d75fd05fb39d7edb81d852e1dd3422babd33 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/hoverEffect.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/hoverEffect.ets @@ -20,7 +20,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct HoverEffect { aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/listtest.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/listtest.ets index 058bb23a538f2738d820568d6a4751df24f55fbd..fe21a8f2607937e3f8b6d8842ebd1328e7ba21c2 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/listtest.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/listtest.ets @@ -20,7 +20,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct ListIdle { private arr: number[] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] @State editFlag: boolean = false diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/loadingProgress.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/loadingProgress.ets index 1281a7ba169229dff088b4be865dec30d09fb686..7ea32d038465de06a1324492309a0015f9900dba 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/loadingProgress.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/loadingProgress.ets @@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct LoadingProgressCircular { @State circular:LoadingProgressStyle = LoadingProgressStyle.Circular; @State orbital:LoadingProgressStyle = LoadingProgressStyle.Orbital; diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/progress.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/progress.ets index 057015c5faab833b68bed41a12e1239b78896771..8374476a79223ac92b03452941a47193bfcf0ec0 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/progress.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/progress.ets @@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct ProgressScaleCount { aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/radio.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/radio.ets index 17dab9a83e3135e812e619ac82a7563bfcea7d1e..41e64d9026ab636c8532670669930b8d0037db20 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/radio.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/radio.ets @@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct RadioGroup { aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/refresh.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/refresh.ets index 10c4660f49eaec9a2f492c4cea3735f3bc3968de..ffcfac9cf32c60487b0b51e30fa5b6632f1cb3e8 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/refresh.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/refresh.ets @@ -21,7 +21,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct RefreshDrag { dragRefresh() { var rect = Utils.getComponentRect("Refresh") diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/remoteWindow.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/remoteWindow.ets index 40c64df19733671fdc145f14906ad09bb7456096..4af65ff2cf124cc31df8af827b07a60abdc1fae3 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/remoteWindow.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/remoteWindow.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct FormComponentFormDimension { +struct FormComponentFormDimension { @State target: WindowAnimationTarget = undefined // 通过windowAnimationManager获取 aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/responseType.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/responseType.ets index d892d7305c9042220d1d901320a68efc3e07e0f1..3d21c6ef321feb3d29688fdf9a0f2155334fcceb 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/responseType.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/responseType.ets @@ -20,7 +20,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct ResponseType { aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/router.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/router.ets index 197fe48879831c25a37abca5e22ffe5aedd58c99..4c32075a7fa5d591f9a3526e5dad9d59f37fdea6 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/router.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/router.ets @@ -22,7 +22,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct RouterStandard { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/sidebar.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/sidebar.ets index ee12737a8ebfd56821557a7c18158461ddb14b04..1641c4877cb852ba34fec873e4312d738cb7b48b 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/sidebar.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/sidebar.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct SidebarIcons { +struct SidebarIcons { @State arr: number[] = [1, 2] aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/slider.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/slider.ets index 645f0aaa0c3c4120a9cf18a98a9abbd33169811a..5f54312353397991afa517cd9b63ea84917090d3 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/slider.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/slider.ets @@ -21,7 +21,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct SliderMoving { +struct SliderMoving { @State outSetValue: number = 40; @State move:SliderChangeMode = SliderChangeMode.Moving; slide() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/stateManagement.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/stateManagement.ets index 99b385c0257c5ba609512300c0c9e82660c2fb4c..747e5f00d0ca2ec9a44c58eebfef941f445a093c 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/stateManagement.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/stateManagement.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct StateManagementDARK { +struct StateManagementDARK { aboutToAppear() { Log.showInfo(TAG, `aboutToAppear StateManagementDARK start`) } diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/stepperItem.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/stepperItem.ets index fd55e9512f41c981ed88e5afa95b48759aed4c42..90fd877947ae99aeb7dd793a9e46c376b80c6ef2 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/stepperItem.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/stepperItem.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct StepperItemDisabled { +struct StepperItemDisabled { @State currentIndex: number = 0 @State firstState: ItemState = ItemState.Normal @State secondState: ItemState = ItemState.Normal diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/swiper.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/swiper.ets index 2d10b8c60f11e1aa62ebb2be98210fcc8d9b7de2..ef215f0aa8b0c7e65714e3090fa6860410b61944 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/swiper.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/swiper.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct SwiperMask { +struct SwiperMask { private swiperController: SwiperController = new SwiperController() private data: MyDataSource = new MyDataSource([]) diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/text_input.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/text_input.ets index dd5271d4a3f7879f2a966b442eba4f89f979c745..3b57b46fbc597c34f9479e254d8f9c5b1bb17e04 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/text_input.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/text_input.ets @@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct Text_inputPhoneNumber { +struct Text_inputPhoneNumber { @State text: string = '' @State text1: string = 'PhoneNumber' @State text2: string = 'Address' diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/uiAppearance.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/uiAppearance.ets index 3e5c60eb237ba6e725483fa5b7ca26bab1b19cf0..9da83c127a74d175bfe12bb820a71934c4d73936 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/uiAppearance.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/uiAppearance.ets @@ -23,7 +23,6 @@ uiAppearance.DarkMode.ALWAYS_DARK @Entry @Component -export default struct UiAppearanceALWAYS_DARK { aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/units.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/units.ets index 3c0c963569e156b6c8de078ac3791bf08ca14d98..e343c73d8968658836e7c8992894ff2b241333db 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/units.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/units.ets @@ -20,7 +20,7 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct UnitsModuleName { +struct UnitsModuleName { @State textHeight: number = 50 aboutToAppear() { diff --git a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/web.ets b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/web.ets index 4bdbd6489f9d855e955f0dab0019a598313274c0..c0fb69ef1c62bc0af2077e0ccdc55498ce2479bd 100644 --- a/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/web.ets +++ b/arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/web.ets @@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add'; @Entry @Component -export default struct WebEditText { controller: WebController = new WebController(); webResourceResponse: WebResourceResponse = new WebResourceResponse(); diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/imageAnimator.ets b/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/imageAnimator.ets index 384ba3987b216d51721630ef3e52e4b15e8d6127..32ce05e03cc52673aad53ff9d68991b55a1ff510 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/imageAnimator.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/imageAnimator.ets @@ -84,7 +84,7 @@ struct ImageAnimatorExample { eventId: 114, priority: events_emitter.EventPriority.LOW } - console.info("start to emit action state") + console.info("onRepeat start to emit action state") events_emitter.emit(backEvent, backData) } catch (err) { console.info("emit action state err: " + JSON.stringify(err.message)) @@ -109,7 +109,7 @@ struct ImageAnimatorExample { eventId: 115, priority: events_emitter.EventPriority.LOW } - console.info("button start to emit action state") + console.info("imageAnimator 115 button start to emit action state") events_emitter.emit(backEvent, backData) } catch (err) { console.info("button emit action state err: " + JSON.stringify(err.message)) diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/placement.ets b/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/placement.ets index ca978fd93f9161d00633775e22ebff96fbb2faaa..962075f2d1d5fa1de4fab73ae8f1b96a2e8dbc6c 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/placement.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/placement.ets @@ -64,7 +64,7 @@ struct PlacementExample { eventId: 157, priority: events_emitter.EventPriority.LOW } - console.info("button start to emit action state") + console.info("PlacementExample button start to emit action state") events_emitter.emit(backEvent, backData) }catch(err){ console.info("button emit action state err: " + JSON.stringify(err.message)) @@ -98,7 +98,7 @@ struct PlacementExample { eventId: 158, priority: events_emitter.EventPriority.LOW } - console.info("button1 start to emit action state") + console.info("custom popupOne button1 start to emit action state") events_emitter.emit(backEventOne, backDataOne) }catch(err){ console.info("button1 emit action state err: " + JSON.stringify(err.message)) diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/AnimationStatusJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/AnimationStatusJsunit.test.ets index a663d01ac1d651a7783a0abb555a13316fa8279c..987e2757371000e2d82bab690a8729aea2855f0e 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/AnimationStatusJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/AnimationStatusJsunit.test.ets @@ -74,6 +74,7 @@ export default function animationStatusJsunit() { let callback = (indexEvent) => { console.info("animationStatus03 get state result is: " + JSON.stringify(indexEvent)); expect(indexEvent.data.animationStatus).assertEqual(AnimationStatus.Paused); + done(); } let indexEvent = { eventId: 56, @@ -87,7 +88,6 @@ export default function animationStatusJsunit() { console.info("animationStatus03 click result is: " + JSON.stringify(sendEventByKey('button2',10,""))); await Utils.sleep(1000); console.info('animationStatus03 END'); - done(); }); it('animationStatus04', 0, async function (done) { @@ -96,6 +96,7 @@ export default function animationStatusJsunit() { let callback = (indexEvent) => { console.info("animationStatus04 get state result is: " + JSON.stringify(indexEvent)); expect(indexEvent.data.animationStatus).assertEqual(AnimationStatus.Stopped); + done(); } let indexEvent = { eventId: 57, @@ -109,7 +110,6 @@ export default function animationStatusJsunit() { console.info("animationStatus04 click result is: " + JSON.stringify(sendEventByKey('button3',10,""))); await Utils.sleep(1000); console.info('animationStatus04 END'); - done(); }); }) } \ No newline at end of file diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/BindMenuJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/BindMenuJsunit.test.ets index b6cb427f9ddb0123eb755cba8627c754d4e80804..b1059b2d37db0d325bf296c0d988221570caf5ca 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/BindMenuJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/BindMenuJsunit.test.ets @@ -53,6 +53,7 @@ export default function aboutToDisappearJsunit() { let callback = (indexEvent) => { console.info("bindMenuTest_0100 get state result is: " + JSON.stringify(indexEvent)); expect(indexEvent.data.ACTION).assertEqual(true); + done(); } let indexEvent = { eventId: 64, @@ -66,7 +67,6 @@ export default function aboutToDisappearJsunit() { console.info("bindMenuTest_0100 button click result is: " + JSON.stringify(sendEventByKey('button',10,""))); await Utils.sleep(1000); console.info('bindMenuTest_0100 END'); - done(); }); }) } \ No newline at end of file diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/BindPopupJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/BindPopupJsunit.test.ets index 0eaf11469bbd2b4a42d931f09c2a8f540282a718..7cf0c99325c435c7b27a644f83c812046ad2c30b 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/BindPopupJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/BindPopupJsunit.test.ets @@ -52,6 +52,7 @@ export default function customPopupOptionJsunit(){ console.info("bindPopupTest_0100 get state result is: " + JSON.stringify(indexEvent)); expect(indexEvent.data.enableArrow).assertEqual(true); expect(indexEvent.data.maskColor).assertEqual(0x33000000); + done(); } let indexEvent = { eventId: 67, @@ -67,7 +68,6 @@ export default function customPopupOptionJsunit(){ console.info("bindPopupTest_0100 click Two result is: " + JSON.stringify(sendEventByKey('image',10,""))); await Utils.sleep(1000); console.info('bindPopupTest_0100 END'); - done(); }); it('bindPopupTest_0200', 0, async function (done) { diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets index df7fa84d64d0ba452948b1922e0f2346f60915e2..0b88f58fa5d90523373a074257a372361717404e 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets @@ -52,6 +52,7 @@ export default function transFormJsunit() { console.info("configurationTest_0100 get configurationEvent result is: " + JSON.stringify(backData)); expect(backData.data.COUNTRY).assertEqual(''); expect(backData.data.DIR).assertEqual('ltr'); + done(); } var configurationEvent = { eventId: 78, @@ -63,7 +64,6 @@ export default function transFormJsunit() { } console.info("testAppear01 click result is: " + JSON.stringify(sendEventByKey('button', 10, ""))); console.info('[configurationTest01] END'); - done(); }); }) } diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/ImageAnimatorJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/ImageAnimatorJsunit.test.ets index 2d3b6f056c1e097b8826aa597d79165bfe554dd8..85e807a6becd311ecb5dff6ab420c93287da7cb5 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/ImageAnimatorJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/ImageAnimatorJsunit.test.ets @@ -49,10 +49,11 @@ export default function imageAnimatorJsunit(){ it('imageAnimatorTest_0100', 0, async function (done) { console.info('imageAnimatorTest_0100 START'); - await Utils.sleep(1500); + await Utils.sleep(500); let callback = (indexEvent) => { console.info("imageAnimatorTest_0100 get state result is: " + JSON.stringify(indexEvent)); - expect(indexEvent.data.state).assertEqual(AnimationStatus.Running); + expect(indexEvent.data.state).assertEqual(1); + done(); } let indexEvent = { eventId: 115, @@ -60,13 +61,11 @@ export default function imageAnimatorJsunit(){ } try { events_emitter.on(indexEvent, callback); + console.info("imageAnimatorTest_0100 click result is: " + JSON.stringify(sendEventByKey('button',10,""))); } catch (err) { console.info("imageAnimatorTest_0100 on events_emitter err : " + JSON.stringify(err)); } - console.info("imageAnimatorTest_0100 click result is: " + JSON.stringify(sendEventByKey('button',10,""))); - await Utils.sleep(1000); console.info('imageAnimatorTest_0100 END'); - done(); }); it('imageAnimatorTest_0200', 0, async function (done) { @@ -76,6 +75,7 @@ export default function imageAnimatorJsunit(){ console.info("imageAnimatorTest_0200 get state result is: " + JSON.stringify(indexEvent)); expect(indexEvent.data.state).assertEqual(AnimationStatus.Paused); expect(indexEvent.data.fixedSize).assertEqual(false); + done(); } let indexEvent = { eventId: 116, @@ -89,7 +89,6 @@ export default function imageAnimatorJsunit(){ console.info("imageAnimatorTest_0200 click result is: " + JSON.stringify(sendEventByKey('button1',10,""))); await Utils.sleep(1000); console.info('imageAnimatorTest_0200 END'); - done(); }); it('imageAnimatorTest_0300', 0, async function (done) { @@ -99,6 +98,7 @@ export default function imageAnimatorJsunit(){ console.info("imageAnimatorTest_0300 get state result is: " + JSON.stringify(indexEvent)); expect(indexEvent.data.state).assertEqual(AnimationStatus.Stopped); expect(indexEvent.data.preDecode).assertEqual(0); + done(); } let indexEvent = { eventId: 117, @@ -112,7 +112,6 @@ export default function imageAnimatorJsunit(){ console.info("imageAnimatorTest_0300 click result is: " + JSON.stringify(sendEventByKey('button2',10,""))); await Utils.sleep(1000); console.info('imageAnimatorTest_0300 END'); - done(); }); it('imageAnimatorTest_0400', 0, async function (done) { @@ -120,7 +119,8 @@ export default function imageAnimatorJsunit(){ await Utils.sleep(1500); let callback = (indexEvent) => { console.info("imageAnimatorTest_0400 get state result is: " + JSON.stringify(indexEvent)); - expect(indexEvent.data.fillMode).assertEqual(Forwards); + expect(indexEvent.data.fillMode).assertEqual(0); + done(); } let indexEvent = { eventId: 118, @@ -134,7 +134,6 @@ export default function imageAnimatorJsunit(){ console.info("imageAnimatorTest_0400 click result is: " + JSON.stringify(sendEventByKey('button3',10,""))); await Utils.sleep(1000); console.info('imageAnimatorTest_0400 END'); - done(); }); it('imageAnimatorTest_0500', 0, async function (done) { @@ -143,6 +142,7 @@ export default function imageAnimatorJsunit(){ let callback = (indexEvent) => { console.info("imageAnimatorTest_0500 get state result is: " + JSON.stringify(indexEvent)); expect(indexEvent.data.iterations).assertEqual(1); + done(); } let indexEvent = { eventId: 119, @@ -156,7 +156,6 @@ export default function imageAnimatorJsunit(){ console.info("imageAnimatorTest_0500 click result is: " + JSON.stringify(sendEventByKey('button4',10,""))); await Utils.sleep(1000); console.info('imageAnimatorTest_0500 END'); - done(); }); it('imageAnimatorTest_0600', 0, async function (done) { @@ -202,6 +201,7 @@ export default function imageAnimatorJsunit(){ let callbackOne = (indexEventOne) => { console.info("imageAnimatorTest_0700 get state result is: " + JSON.stringify(indexEventOne)); expect(indexEventOne.data.preDecode).assertEqual(2); + done(); } let indexEventOne = { eventId: 120, @@ -215,7 +215,6 @@ export default function imageAnimatorJsunit(){ console.info("imageAnimatorTest_0700 click result is: " + JSON.stringify(sendEventByKey('button5',10,""))); await Utils.sleep(1000); console.info('imageAnimatorTest_0700 END'); - done(); }); }) } \ No newline at end of file diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/NavigationJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/NavigationJsunit.test.ets index 3768d2978f7c073f219bfdcd8abfeba6dfbd9bd2..3b803b536bcd4f0769c3191522b494c151f878a8 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/NavigationJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/NavigationJsunit.test.ets @@ -63,9 +63,10 @@ export default function navigationJsunit() { let callback = (indexEvent) => { console.info("testNavigation_200 get state result is: " + JSON.stringify(indexEvent)); expect(indexEvent.data.ACTION).assertEqual(false); + done(); } let indexEvent = { - eventId: 136, + eventId: 1366, priority: events_emitter.EventPriority.LOW } try { @@ -76,7 +77,6 @@ export default function navigationJsunit() { console.info("testNavigation_200 click result is: " + JSON.stringify(sendEventByKey('NavigationContent1',10,""))); await Utils.sleep(2000); console.info('testNavigation_200 END'); - done(); }); it('testNavigation_300', 0, async function (done) { diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/PieceJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/PieceJsunit.test.ets index 2c005653400813220b5edbafdd18a4dcc239249c..92653ec14d78c300d4cb0c9b9d1c09d5d01a6fd1 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/PieceJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/PieceJsunit.test.ets @@ -51,6 +51,7 @@ export default function pieceJsunit() { let callback = (indexEvent) => { console.info("test_pieceCode_01 get state result is: " + JSON.stringify(indexEvent)); expect(indexEvent.data.showDelete).assertEqual(true); + done(); } let indexEvent = { eventId: 156, @@ -66,6 +67,7 @@ export default function pieceJsunit() { var callback1 = (eventData) => { console.info("test_pieceCode_01 get event state result is: " + JSON.stringify(eventData)); expect(eventData.data.ACTION).assertEqual(true); + done(); } var innerEventOne = { eventId: 155, @@ -77,7 +79,6 @@ export default function pieceJsunit() { console.info("test_pieceCode_01 on events_emitter err : " + JSON.stringify(err)); } console.info('test_pieceCode_01 END'); - done(); }); }) } \ No newline at end of file diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/PlacementJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/PlacementJsunit.test.ets index ab76c405d54ef3f2fa5125606ee0fac0c88162ef..ce59cc7cd70bdc2138920a7870923e02ced54d64 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/PlacementJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/PlacementJsunit.test.ets @@ -51,6 +51,7 @@ export default function placementJsunit(){ let callback = (indexEvent) => { console.info("placementTest_0100 get state result is: " + JSON.stringify(indexEvent)); expect(indexEvent.data.placement).assertEqual(Placement.TopLeft); + done(); } let indexEvent = { eventId: 157, @@ -65,7 +66,6 @@ export default function placementJsunit(){ await Utils.sleep(1500); console.info("placementTest_0100 clickOne result is: " + JSON.stringify(sendEventByKey('image',10,""))); console.info('placementTest_0100 END'); - done(); }); it('placementTest_0200', 0, async function (done) {