Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
550db230
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
550db230
编写于
11月 14, 2022
作者:
O
openharmony_ci
提交者:
Gitee
11月 14, 2022
浏览文件
操作
浏览文件
下载
差异文件
!6363 ace_ets_component_two部分未走回调用例修复 apilack、attrlack页 面代码编译warning修复
Merge pull request !6363 from Nicklaus/master
上级
f24e2d8b
69e638c8
变更
95
隐藏空白更改
内联
并排
Showing
95 changed file
with
57 addition
and
109 deletion
+57
-109
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/alphabetIndexer.ets
.../entry/src/main/ets/MainAbility/pages/alphabetIndexer.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets
...ck/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/circle.ets
...t_apilack/entry/src/main/ets/MainAbility/pages/circle.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/common.ets
...t_apilack/entry/src/main/ets/MainAbility/pages/common.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/common_ts_ets_api.ets
...ntry/src/main/ets/MainAbility/pages/common_ts_ets_api.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/common_y.ets
.../src/main/ets/MainAbility/pages/conponentadd/common_y.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/panel_y.ets
...y/src/main/ets/MainAbility/pages/conponentadd/panel_y.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/stack_y.ets
...y/src/main/ets/MainAbility/pages/conponentadd/stack_y.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/tabs_y.ets
...ry/src/main/ets/MainAbility/pages/conponentadd/tabs_y.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/curves.ets
...t_apilack/entry/src/main/ets/MainAbility/pages/curves.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/dom.ets
...nent_apilack/entry/src/main/ets/MainAbility/pages/dom.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/ellipse.ets
..._apilack/entry/src/main/ets/MainAbility/pages/ellipse.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/featureAbility.ets
...k/entry/src/main/ets/MainAbility/pages/featureAbility.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gauge.ets
...nt_apilack/entry/src/main/ets/MainAbility/pages/gauge.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gesture.ets
..._apilack/entry/src/main/ets/MainAbility/pages/gesture.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid.ets
...ent_apilack/entry/src/main/ets/MainAbility/pages/grid.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gridItem.ets
...apilack/entry/src/main/ets/MainAbility/pages/gridItem.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid_col.ets
...apilack/entry/src/main/ets/MainAbility/pages/grid_col.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid_row.ets
...apilack/entry/src/main/ets/MainAbility/pages/grid_row.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/image.ets
...nt_apilack/entry/src/main/ets/MainAbility/pages/image.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/inspector.ets
...pilack/entry/src/main/ets/MainAbility/pages/inspector.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/lazyForEach.ets
...lack/entry/src/main/ets/MainAbility/pages/lazyForEach.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/line.ets
...ent_apilack/entry/src/main/ets/MainAbility/pages/line.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/list.ets
...ent_apilack/entry/src/main/ets/MainAbility/pages/list.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/list_item.ets
...pilack/entry/src/main/ets/MainAbility/pages/list_item.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/mediaQuery.ets
...ilack/entry/src/main/ets/MainAbility/pages/mediaQuery.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/navigator.ets
...pilack/entry/src/main/ets/MainAbility/pages/navigator.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/panel.ets
...nt_apilack/entry/src/main/ets/MainAbility/pages/panel.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/path.ets
...ent_apilack/entry/src/main/ets/MainAbility/pages/path.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/polyLine.ets
...apilack/entry/src/main/ets/MainAbility/pages/polyLine.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/polygon.ets
..._apilack/entry/src/main/ets/MainAbility/pages/polygon.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/progress.ets
...apilack/entry/src/main/ets/MainAbility/pages/progress.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/prompt.ets
...t_apilack/entry/src/main/ets/MainAbility/pages/prompt.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/promptApi.ets
...pilack/entry/src/main/ets/MainAbility/pages/promptApi.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/rect.ets
...ent_apilack/entry/src/main/ets/MainAbility/pages/rect.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/router.ets
...t_apilack/entry/src/main/ets/MainAbility/pages/router.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/scroll.ets
...t_apilack/entry/src/main/ets/MainAbility/pages/scroll.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/search.ets
...t_apilack/entry/src/main/ets/MainAbility/pages/search.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/select.ets
...t_apilack/entry/src/main/ets/MainAbility/pages/select.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/shape.ets
...nt_apilack/entry/src/main/ets/MainAbility/pages/shape.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/sideBar.ets
..._apilack/entry/src/main/ets/MainAbility/pages/sideBar.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/stack.ets
...nt_apilack/entry/src/main/ets/MainAbility/pages/stack.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/stateManagement.ets
.../entry/src/main/ets/MainAbility/pages/stateManagement.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/swiper.ets
...t_apilack/entry/src/main/ets/MainAbility/pages/swiper.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/tabs.ets
...ent_apilack/entry/src/main/ets/MainAbility/pages/tabs.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/text.ets
...ent_apilack/entry/src/main/ets/MainAbility/pages/text.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textArea.ets
...apilack/entry/src/main/ets/MainAbility/pages/textArea.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textInput.ets
...pilack/entry/src/main/ets/MainAbility/pages/textInput.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textPicker.ets
...ilack/entry/src/main/ets/MainAbility/pages/textPicker.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/uiAppearance.ets
...ack/entry/src/main/ets/MainAbility/pages/uiAppearance.ets
+1
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/video.ets
...nt_apilack/entry/src/main/ets/MainAbility/pages/video.ets
+0
-1
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/xcomponent.ets
...ilack/entry/src/main/ets/MainAbility/pages/xcomponent.ets
+1
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/alertDialog.ets
...lack/entry/src/main/ets/MainAbility/pages/alertDialog.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/animator.ets
...ttrlack/entry/src/main/ets/MainAbility/pages/animator.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/canvas.ets
..._attrlack/entry/src/main/ets/MainAbility/pages/canvas.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/checkBox.ets
...ttrlack/entry/src/main/ets/MainAbility/pages/checkBox.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets
...ck/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/color.ets
...t_attrlack/entry/src/main/ets/MainAbility/pages/color.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/common.ets
..._attrlack/entry/src/main/ets/MainAbility/pages/common.ets
+1
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/copyOption.ets
...rlack/entry/src/main/ets/MainAbility/pages/copyOption.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/curves.ets
..._attrlack/entry/src/main/ets/MainAbility/pages/curves.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/datePicker.ets
...rlack/entry/src/main/ets/MainAbility/pages/datePicker.ets
+1
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/enums.ets
...t_attrlack/entry/src/main/ets/MainAbility/pages/enums.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/featureAbility.ets
...k/entry/src/main/ets/MainAbility/pages/featureAbility.ets
+1
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gesture.ets
...attrlack/entry/src/main/ets/MainAbility/pages/gesture.ets
+1
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gridCol.ets
...attrlack/entry/src/main/ets/MainAbility/pages/gridCol.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gridRow.ets
...attrlack/entry/src/main/ets/MainAbility/pages/gridRow.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/hoverEffect.ets
...lack/entry/src/main/ets/MainAbility/pages/hoverEffect.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/listtest.ets
...ttrlack/entry/src/main/ets/MainAbility/pages/listtest.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/loadingProgress.ets
.../entry/src/main/ets/MainAbility/pages/loadingProgress.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/progress.ets
...ttrlack/entry/src/main/ets/MainAbility/pages/progress.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/radio.ets
...t_attrlack/entry/src/main/ets/MainAbility/pages/radio.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/refresh.ets
...attrlack/entry/src/main/ets/MainAbility/pages/refresh.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/remoteWindow.ets
...ack/entry/src/main/ets/MainAbility/pages/remoteWindow.ets
+1
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/responseType.ets
...ack/entry/src/main/ets/MainAbility/pages/responseType.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/router.ets
..._attrlack/entry/src/main/ets/MainAbility/pages/router.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/sidebar.ets
...attrlack/entry/src/main/ets/MainAbility/pages/sidebar.ets
+1
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/slider.ets
..._attrlack/entry/src/main/ets/MainAbility/pages/slider.ets
+1
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/stateManagement.ets
.../entry/src/main/ets/MainAbility/pages/stateManagement.ets
+1
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/stepperItem.ets
...lack/entry/src/main/ets/MainAbility/pages/stepperItem.ets
+1
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/swiper.ets
..._attrlack/entry/src/main/ets/MainAbility/pages/swiper.ets
+1
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/text_input.ets
...rlack/entry/src/main/ets/MainAbility/pages/text_input.ets
+1
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/uiAppearance.ets
...ack/entry/src/main/ets/MainAbility/pages/uiAppearance.ets
+0
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/units.ets
...t_attrlack/entry/src/main/ets/MainAbility/pages/units.ets
+1
-1
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/web.ets
...ent_attrlack/entry/src/main/ets/MainAbility/pages/web.ets
+0
-1
arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/imageAnimator.ets
...wo/entry/src/main/ets/MainAbility/pages/imageAnimator.ets
+2
-2
arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/placement.ets
...nt_two/entry/src/main/ets/MainAbility/pages/placement.ets
+2
-2
arkui/ace_ets_component_two/entry/src/main/ets/test/AnimationStatusJsunit.test.ets
...wo/entry/src/main/ets/test/AnimationStatusJsunit.test.ets
+2
-2
arkui/ace_ets_component_two/entry/src/main/ets/test/BindMenuJsunit.test.ets
...onent_two/entry/src/main/ets/test/BindMenuJsunit.test.ets
+1
-1
arkui/ace_ets_component_two/entry/src/main/ets/test/BindPopupJsunit.test.ets
...nent_two/entry/src/main/ets/test/BindPopupJsunit.test.ets
+1
-1
arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets
..._two/entry/src/main/ets/test/ConfigurationJsunit.test.ets
+1
-1
arkui/ace_ets_component_two/entry/src/main/ets/test/ImageAnimatorJsunit.test.ets
..._two/entry/src/main/ets/test/ImageAnimatorJsunit.test.ets
+10
-11
arkui/ace_ets_component_two/entry/src/main/ets/test/NavigationJsunit.test.ets
...ent_two/entry/src/main/ets/test/NavigationJsunit.test.ets
+2
-2
arkui/ace_ets_component_two/entry/src/main/ets/test/PieceJsunit.test.ets
...omponent_two/entry/src/main/ets/test/PieceJsunit.test.ets
+2
-1
arkui/ace_ets_component_two/entry/src/main/ets/test/PlacementJsunit.test.ets
...nent_two/entry/src/main/ets/test/PlacementJsunit.test.ets
+1
-1
未找到文件。
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/alphabetIndexer.ets
浏览文件 @
550db230
...
...
@@ -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"
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets
浏览文件 @
550db230
...
...
@@ -21,7 +21,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct CheckBoxGroupSelectAll {
@State isSelect: boolean = true;
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/circle.ets
浏览文件 @
550db230
...
...
@@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct CircleNe {
@State w: string = "100px";
@State h: string = "100px";
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/common.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct CommonBackgroundBlurStyle {
struct CommonBackgroundBlurStyle {
@State value: string = ''
aboutToAppear() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/common_ts_ets_api.ets
浏览文件 @
550db230
...
...
@@ -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
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/common_y.ets
浏览文件 @
550db230
...
...
@@ -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')
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/panel_y.ets
浏览文件 @
550db230
...
...
@@ -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() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/stack_y.ets
浏览文件 @
550db230
...
...
@@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct StackAlignContent {
aboutToAppear() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/tabs_y.ets
浏览文件 @
550db230
...
...
@@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct TabsBarPosition {
private controller: TabsController = new TabsController()
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/curves.ets
浏览文件 @
550db230
...
...
@@ -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);
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/dom.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct DomCreateElement {
struct DomCreateElement {
aboutToAppear() {
Log.showInfo(TAG, `aboutToAppear DomCreateElement start`)
}
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/ellipse.ets
浏览文件 @
550db230
...
...
@@ -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";
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/featureAbility.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct FeatureAbilityStartAbility {
struct FeatureAbilityStartAbility {
aboutToAppear() {
Log.showInfo(TAG, `aboutToAppear FeatureAbilityStartAbility start`)
}
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gauge.ets
浏览文件 @
550db230
...
...
@@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct GaugeColors {
aboutToAppear() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gesture.ets
浏览文件 @
550db230
...
...
@@ -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
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid.ets
浏览文件 @
550db230
...
...
@@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct GridMaxCount {
@State Number: String[] = ['5', '6', '7', '8', '9']
aboutToAppear() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/gridItem.ets
浏览文件 @
550db230
...
...
@@ -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;
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid_col.ets
浏览文件 @
550db230
...
...
@@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct Grid_colSpan {
aboutToAppear() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/grid_row.ets
浏览文件 @
550db230
...
...
@@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct Grid_rowOnBreakpointChange {
aboutToAppear() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/image.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,7 @@ import events_emitter from '@ohos.events.emitter';
@Entry
@Component
export default
struct ImageExample {
build() {
Column() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/inspector.ets
浏览文件 @
550db230
...
...
@@ -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'
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/lazyForEach.ets
浏览文件 @
550db230
...
...
@@ -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()
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/line.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ let my_line = new Line()
@Entry
@Component
export default
struct LineNe {
aboutToAppear() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/list.ets
浏览文件 @
550db230
...
...
@@ -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底
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/list_item.ets
浏览文件 @
550db230
...
...
@@ -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`)
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/mediaQuery.ets
浏览文件 @
550db230
...
...
@@ -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)')
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/navigator.ets
浏览文件 @
550db230
...
...
@@ -18,7 +18,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct NavigatorTarget {
struct NavigatorTarget {
aboutToAppear() {
Log.showInfo(TAG, `aboutToAppear NavigatorTarget start`)
}
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/panel.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct PanelBackgroundMask {
struct PanelBackgroundMask {
@State mode: PanelMode = PanelMode.Full
aboutToAppear() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/path.ets
浏览文件 @
550db230
...
...
@@ -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,
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/polyLine.ets
浏览文件 @
550db230
...
...
@@ -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
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/polygon.ets
浏览文件 @
550db230
...
...
@@ -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
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/progress.ets
浏览文件 @
550db230
...
...
@@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct ProgressStyle {
aboutToAppear() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/prompt.ets
浏览文件 @
550db230
...
...
@@ -20,7 +20,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct PromptShowDialog {
struct PromptShowDialog {
aboutToAppear() {
Log.showInfo(TAG, `aboutToAppear PromptShowDialog start`)
}
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/promptApi.ets
浏览文件 @
550db230
...
...
@@ -20,7 +20,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct PromptShowDialog {
struct PromptShowDialog {
aboutToAppear() {
Log.showInfo(TAG, `aboutToAppear PromptShowDialog start`)
}
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/rect.ets
浏览文件 @
550db230
...
...
@@ -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,
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/router.ets
浏览文件 @
550db230
...
...
@@ -21,7 +21,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct RouterEnableAlertBeforeBackPage {
struct RouterEnableAlertBeforeBackPage {
aboutToAppear() {
Log.showInfo(TAG, `aboutToAppear RouterEnableAlertBeforeBackPage start`)
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/scroll.ets
浏览文件 @
550db230
...
...
@@ -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]
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/search.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct SearchOnCut {
struct SearchOnCut {
controller: SearchController = new SearchController()
aboutToAppear() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/select.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ import events_emitter from '@ohos.events.emitter';
@Entry
@Component
export default
struct SelectOnSelect {
@State selectIndex:number = 1
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/shape.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct ShapeNe {
aboutToAppear() {
Log.showInfo(TAG, `aboutToAppear ShapeNe start`)
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/sideBar.ets
浏览文件 @
550db230
...
...
@@ -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")
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/stack.ets
浏览文件 @
550db230
...
...
@@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct StackAlignContent {
aboutToAppear() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/stateManagement.ets
浏览文件 @
550db230
...
...
@@ -22,7 +22,6 @@ let storage2 = new LocalStorage({"PropA":47});
@Entry(storage1)
@Component
export default
struct StateManagementGetShared {
@LocalStorageLink("storageSimpleProp") simpleVarName: number = 0
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/swiper.ets
浏览文件 @
550db230
...
...
@@ -44,7 +44,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct SwiperCurve {
private swiperController: SwiperController = new SwiperController()
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/tabs.ets
浏览文件 @
550db230
...
...
@@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct TabsBarPosition {
private controller: TabsController = new TabsController()
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/text.ets
浏览文件 @
550db230
...
...
@@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct TextMinFontSize {
aboutToAppear() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textArea.ets
浏览文件 @
550db230
...
...
@@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct TextAreaOnCut {
aboutToAppear() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textInput.ets
浏览文件 @
550db230
...
...
@@ -18,7 +18,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct TextInputOnEditChange {
@State num: number = 0
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/textPicker.ets
浏览文件 @
550db230
...
...
@@ -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']
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/uiAppearance.ets
浏览文件 @
550db230
...
...
@@ -20,7 +20,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct uiAppearanceSetDarkMode {
struct uiAppearanceSetDarkMode {
xcomponentController: XComponentController = new XComponentController()
aboutToAppear() {
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/video.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct VideoOnFullscreenChange {
@State srcs: Resource = $rawfile('videoTest.mp4');
...
...
arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/xcomponent.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct XcomponentGetXComponentContext {
struct XcomponentGetXComponentContext {
xcomponentController: XComponentController = new XComponentController()
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/alertDialog.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct AlertDialogCenterStart {
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/animator.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct AnimatorOnframe {
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/canvas.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct CanvasActualBoundingBoxAscent {
private settings: RenderingContextSettings = new RenderingContextSettings(true)//antialias:boolean
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/checkBox.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct CheckBoxGroup {
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/checkBoxGroup.ets
浏览文件 @
550db230
...
...
@@ -20,7 +20,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct CheckBoxGroupPart {
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/color.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct ColorEnum {
build() {
Column() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/common.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct CommonColorMode {
struct CommonColorMode {
// popup构造器定义弹框内容
@Builder popupBuilder() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/copyOption.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct CopyOption {
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/curves.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct CurvesEaseOut {
@State widthSize: number = 400
@State heightSize: number = 200
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/datePicker.ets
浏览文件 @
550db230
...
...
@@ -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() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/enums.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct EnumsCancel {
@State widthSize: number = 200
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/featureAbility.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct FeatureAbilityStartAbility {
struct FeatureAbilityStartAbility {
aboutToAppear() {
Log.showInfo(TAG, `aboutToAppear FeatureAbilityStartAbility start`)
}
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gesture.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct GestureParallel {
struct GestureParallel {
aboutToAppear() {
Log.showInfo(TAG, `aboutToAppear GestureParallel start`)
}
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gridCol.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct GridColXl {
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/gridRow.ets
浏览文件 @
550db230
...
...
@@ -20,7 +20,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct GridRowXl {
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/hoverEffect.ets
浏览文件 @
550db230
...
...
@@ -20,7 +20,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct HoverEffect {
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/listtest.ets
浏览文件 @
550db230
...
...
@@ -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
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/loadingProgress.ets
浏览文件 @
550db230
...
...
@@ -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;
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/progress.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct ProgressScaleCount {
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/radio.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct RadioGroup {
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/refresh.ets
浏览文件 @
550db230
...
...
@@ -21,7 +21,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct RefreshDrag {
dragRefresh() {
var rect = Utils.getComponentRect("Refresh")
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/remoteWindow.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct FormComponentFormDimension {
struct FormComponentFormDimension {
@State target: WindowAnimationTarget = undefined // 通过windowAnimationManager获取
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/responseType.ets
浏览文件 @
550db230
...
...
@@ -20,7 +20,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct ResponseType {
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/router.ets
浏览文件 @
550db230
...
...
@@ -22,7 +22,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct RouterStandard {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/sidebar.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct SidebarIcons {
struct SidebarIcons {
@State arr: number[] = [1, 2]
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/slider.ets
浏览文件 @
550db230
...
...
@@ -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() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/stateManagement.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct StateManagementDARK {
struct StateManagementDARK {
aboutToAppear() {
Log.showInfo(TAG, `aboutToAppear StateManagementDARK start`)
}
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/stepperItem.ets
浏览文件 @
550db230
...
...
@@ -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
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/swiper.ets
浏览文件 @
550db230
...
...
@@ -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([])
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/text_input.ets
浏览文件 @
550db230
...
...
@@ -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'
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/uiAppearance.ets
浏览文件 @
550db230
...
...
@@ -23,7 +23,6 @@ uiAppearance.DarkMode.ALWAYS_DARK
@Entry
@Component
export default
struct UiAppearanceALWAYS_DARK {
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/units.ets
浏览文件 @
550db230
...
...
@@ -20,7 +20,7 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct UnitsModuleName {
struct UnitsModuleName {
@State textHeight: number = 50
aboutToAppear() {
...
...
arkui/ace_ets_component_attrlack/entry/src/main/ets/MainAbility/pages/web.ets
浏览文件 @
550db230
...
...
@@ -19,7 +19,6 @@ const TAG = 'ets_apiLack_add';
@Entry
@Component
export default
struct WebEditText {
controller: WebController = new WebController();
webResourceResponse: WebResourceResponse = new WebResourceResponse();
...
...
arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/imageAnimator.ets
浏览文件 @
550db230
...
...
@@ -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))
...
...
arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/placement.ets
浏览文件 @
550db230
...
...
@@ -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))
...
...
arkui/ace_ets_component_two/entry/src/main/ets/test/AnimationStatusJsunit.test.ets
浏览文件 @
550db230
...
...
@@ -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
arkui/ace_ets_component_two/entry/src/main/ets/test/BindMenuJsunit.test.ets
浏览文件 @
550db230
...
...
@@ -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
arkui/ace_ets_component_two/entry/src/main/ets/test/BindPopupJsunit.test.ets
浏览文件 @
550db230
...
...
@@ -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) {
...
...
arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets
浏览文件 @
550db230
...
...
@@ -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();
});
})
}
...
...
arkui/ace_ets_component_two/entry/src/main/ets/test/ImageAnimatorJsunit.test.ets
浏览文件 @
550db230
...
...
@@ -49,10 +49,11 @@ export default function imageAnimatorJsunit(){
it('imageAnimatorTest_0100', 0, async function (done) {
console.info('imageAnimatorTest_0100 START');
await Utils.sleep(
1
500);
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
arkui/ace_ets_component_two/entry/src/main/ets/test/NavigationJsunit.test.ets
浏览文件 @
550db230
...
...
@@ -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: 136
6
,
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) {
...
...
arkui/ace_ets_component_two/entry/src/main/ets/test/PieceJsunit.test.ets
浏览文件 @
550db230
...
...
@@ -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
arkui/ace_ets_component_two/entry/src/main/ets/test/PlacementJsunit.test.ets
浏览文件 @
550db230
...
...
@@ -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) {
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录