ref |> 适配新版本900 IDE
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Showing
22 changed files
with
36 additions
and
39 deletions
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | "license": "Apache-2.0", | 2 | "license": "Apache-2.0", |
| 3 | "devDependencies": {}, | 3 | "devDependencies": {}, |
| 4 | "author": "", | 4 | "author": "", |
| 5 | - "name": "wdconstant", | 5 | + "name": "wdConstant", |
| 6 | "description": "Please describe the basic information.", | 6 | "description": "Please describe the basic information.", |
| 7 | "main": "Index.ets", | 7 | "main": "Index.ets", |
| 8 | "version": "1.0.0", | 8 | "version": "1.0.0", |
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | "license": "Apache-2.0", | 2 | "license": "Apache-2.0", |
| 3 | "devDependencies": {}, | 3 | "devDependencies": {}, |
| 4 | "author": "", | 4 | "author": "", |
| 5 | - "name": "wdjsbridge", | 5 | + "name": "wdJsBridge", |
| 6 | "description": "Please describe the basic information.", | 6 | "description": "Please describe the basic information.", |
| 7 | "main": "Index.ets", | 7 | "main": "Index.ets", |
| 8 | "version": "1.0.0", | 8 | "version": "1.0.0", |
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | "license": "Apache-2.0", | 2 | "license": "Apache-2.0", |
| 3 | "devDependencies": {}, | 3 | "devDependencies": {}, |
| 4 | "author": "", | 4 | "author": "", |
| 5 | - "name": "wdkit", | 5 | + "name": "wdKit", |
| 6 | "description": "Please describe the basic information.", | 6 | "description": "Please describe the basic information.", |
| 7 | "main": "Index.ets", | 7 | "main": "Index.ets", |
| 8 | "version": "1.0.0", | 8 | "version": "1.0.0", |
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | "license": "Apache-2.0", | 2 | "license": "Apache-2.0", |
| 3 | "devDependencies": {}, | 3 | "devDependencies": {}, |
| 4 | "author": "", | 4 | "author": "", |
| 5 | - "name": "wdnetwork", | 5 | + "name": "wdNetwork", |
| 6 | "description": "Please describe the basic information.", | 6 | "description": "Please describe the basic information.", |
| 7 | "main": "Index.ets", | 7 | "main": "Index.ets", |
| 8 | "version": "1.0.0", | 8 | "version": "1.0.0", |
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | "license": "Apache-2.0", | 2 | "license": "Apache-2.0", |
| 3 | "devDependencies": {}, | 3 | "devDependencies": {}, |
| 4 | "author": "", | 4 | "author": "", |
| 5 | - "name": "wdrouter", | 5 | + "name": "wdRouter", |
| 6 | "description": "Please describe the basic information.", | 6 | "description": "Please describe the basic information.", |
| 7 | "main": "Index.ets", | 7 | "main": "Index.ets", |
| 8 | "version": "1.0.0", | 8 | "version": "1.0.0", |
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | "license": "Apache-2.0", | 2 | "license": "Apache-2.0", |
| 3 | "devDependencies": {}, | 3 | "devDependencies": {}, |
| 4 | "author": "", | 4 | "author": "", |
| 5 | - "name": "wdwebcomponent", | 5 | + "name": "wdWebComponent", |
| 6 | "description": "Please describe the basic information.", | 6 | "description": "Please describe the basic information.", |
| 7 | "main": "Index.ets", | 7 | "main": "Index.ets", |
| 8 | "version": "1.0.0", | 8 | "version": "1.0.0", |
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | "license": "Apache-2.0", | 2 | "license": "Apache-2.0", |
| 3 | "devDependencies": {}, | 3 | "devDependencies": {}, |
| 4 | "author": "", | 4 | "author": "", |
| 5 | - "name": "wdbean", | 5 | + "name": "wdBean", |
| 6 | "description": "Please describe the basic information.", | 6 | "description": "Please describe the basic information.", |
| 7 | "main": "Index.ets", | 7 | "main": "Index.ets", |
| 8 | "version": "1.0.0", | 8 | "version": "1.0.0", |
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | "license": "Apache-2.0", | 2 | "license": "Apache-2.0", |
| 3 | "devDependencies": {}, | 3 | "devDependencies": {}, |
| 4 | "author": "", | 4 | "author": "", |
| 5 | - "name": "wdcomponent", | 5 | + "name": "wdComponent", |
| 6 | "description": "Please describe the basic information.", | 6 | "description": "Please describe the basic information.", |
| 7 | "main": "Index.ets", | 7 | "main": "Index.ets", |
| 8 | "version": "1.0.0", | 8 | "version": "1.0.0", |
| @@ -30,7 +30,7 @@ import { WDRouterPage, WDRouterRule } from 'wdRouter/Index'; | @@ -30,7 +30,7 @@ import { WDRouterPage, WDRouterRule } from 'wdRouter/Index'; | ||
| 30 | import { PageRepository } from '../repository/PageRepository'; | 30 | import { PageRepository } from '../repository/PageRepository'; |
| 31 | import { OperRowListView } from './view/OperRowListView'; | 31 | import { OperRowListView } from './view/OperRowListView'; |
| 32 | import { CommentDialogView } from './CommentDialogView'; | 32 | import { CommentDialogView } from './CommentDialogView'; |
| 33 | -import { CustomTitleUI } from 'wdcomponent/ets/components/reusable/CustomTitleUI'; | 33 | +import { CustomTitleUI } from './reusable/CustomTitleUI'; |
| 34 | 34 | ||
| 35 | const TAG = 'H5NewsWebPageComponent' | 35 | const TAG = 'H5NewsWebPageComponent' |
| 36 | 36 |
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | "license": "Apache-2.0", | 2 | "license": "Apache-2.0", |
| 3 | "devDependencies": {}, | 3 | "devDependencies": {}, |
| 4 | "author": "", | 4 | "author": "", |
| 5 | - "name": "wddetailplayapi", | 5 | + "name": "wdDetailPlayApi", |
| 6 | "description": "Please describe the basic information.", | 6 | "description": "Please describe the basic information.", |
| 7 | "main": "Index.ets", | 7 | "main": "Index.ets", |
| 8 | "version": "1.0.0", | 8 | "version": "1.0.0", |
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | "license": "Apache-2.0", | 2 | "license": "Apache-2.0", |
| 3 | "devDependencies": {}, | 3 | "devDependencies": {}, |
| 4 | "author": "", | 4 | "author": "", |
| 5 | - "name": "wddetailplaylive", | 5 | + "name": "wdDetailPlayLive", |
| 6 | "description": "Please describe the basic information.", | 6 | "description": "Please describe the basic information.", |
| 7 | "main": "Index.ets", | 7 | "main": "Index.ets", |
| 8 | "version": "1.0.0", | 8 | "version": "1.0.0", |
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | "license": "Apache-2.0", | 2 | "license": "Apache-2.0", |
| 3 | "devDependencies": {}, | 3 | "devDependencies": {}, |
| 4 | "author": "", | 4 | "author": "", |
| 5 | - "name": "wddetailplayshortvideo", | 5 | + "name": "wdDetailPlayShortVideo", |
| 6 | "description": "Please describe the basic information.", | 6 | "description": "Please describe the basic information.", |
| 7 | "main": "Index.ets", | 7 | "main": "Index.ets", |
| 8 | "version": "1.0.0", | 8 | "version": "1.0.0", |
| 1 | { | 1 | { |
| 2 | - "name": "wdhwability", | 2 | + "name": "wdHwAbility", |
| 3 | "version": "1.0.0", | 3 | "version": "1.0.0", |
| 4 | "description": "Please describe the basic information.", | 4 | "description": "Please describe the basic information.", |
| 5 | "main": "Index.ets", | 5 | "main": "Index.ets", |
| @@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
| 7 | "license": "Apache-2.0", | 7 | "license": "Apache-2.0", |
| 8 | "packageType": "InterfaceHar", | 8 | "packageType": "InterfaceHar", |
| 9 | "dependencies": { | 9 | "dependencies": { |
| 10 | - "library": "file:./src/main/ets/getuiPush/GT-HM-1.0.4.har", | 10 | + "GtSDK": "file:./src/main/ets/getuiPush/GT-HM-1.0.4.har", |
| 11 | "neonui":"file:./src/main/ets/voiceRecognizer/neonui.har", | 11 | "neonui":"file:./src/main/ets/voiceRecognizer/neonui.har", |
| 12 | "wdConstant": "file:../../commons/wdConstant", | 12 | "wdConstant": "file:../../commons/wdConstant", |
| 13 | "wdLogin": "file:../../features/wdLogin", | 13 | "wdLogin": "file:../../features/wdLogin", |
| @@ -4,7 +4,7 @@ import PushManager, { | @@ -4,7 +4,7 @@ import PushManager, { | ||
| 4 | GTCmdMessage, GTNotificationMessage, GTTransmitMessage, PushConst, | 4 | GTCmdMessage, GTNotificationMessage, GTTransmitMessage, PushConst, |
| 5 | SetTagCmdMessage, | 5 | SetTagCmdMessage, |
| 6 | Tag, | 6 | Tag, |
| 7 | - UnBindAliasCmdMessage } from 'library'; | 7 | + UnBindAliasCmdMessage } from 'GtSDK'; |
| 8 | import { AppUtils, DeviceUtil, EmitterEventId, EmitterUtils, Logger, SPHelper } from 'wdKit/Index'; | 8 | import { AppUtils, DeviceUtil, EmitterEventId, EmitterUtils, Logger, SPHelper } from 'wdKit/Index'; |
| 9 | import { HostEnum, HostManager, HttpBizUtil, HttpUrlUtils, HttpUtils, ResponseDTO } from 'wdNetwork/Index'; | 9 | import { HostEnum, HostManager, HttpBizUtil, HttpUrlUtils, HttpUtils, ResponseDTO } from 'wdNetwork/Index'; |
| 10 | import { notificationManager } from '@kit.NotificationKit'; | 10 | import { notificationManager } from '@kit.NotificationKit'; |
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | "license": "Apache-2.0", | 2 | "license": "Apache-2.0", |
| 3 | "devDependencies": {}, | 3 | "devDependencies": {}, |
| 4 | "author": "", | 4 | "author": "", |
| 5 | - "name": "wdlogin", | 5 | + "name": "wdLogin", |
| 6 | "description": "Please describe the basic information.", | 6 | "description": "Please describe the basic information.", |
| 7 | "main": "Index.ets", | 7 | "main": "Index.ets", |
| 8 | "version": "1.0.0", | 8 | "version": "1.0.0", |
| 1 | -import ArrayList from '@ohos.util.ArrayList'; | ||
| 2 | -import { Params } from '../../../../../../../commons/wdRouter/oh_modules/wdBean/Index'; | ||
| 3 | -import router from '@ohos.router'; | ||
| 4 | -import { LoginViewModel } from './LoginViewModel'; | ||
| 5 | -import { BreakpointSystem, CustomToast, DateTimeUtils, Logger, SPHelper, ToastUtils } from 'wdKit'; | ||
| 6 | -import { | ||
| 7 | - SpConstants | ||
| 8 | -} from '../../../../../../../commons/wdNetwork/oh_modules/wdConstant/src/main/ets/constants/SpConstants' | ||
| 9 | -import data_preferences from '@ohos.data.preferences'; | ||
| 10 | -import { WDRouterPage, WDRouterRule } from 'wdRouter'; | ||
| 11 | -import { TrackingPageBrowse, TrackConstants, TrackingButton } from 'wdTracking/Index'; | 1 | +import { Params } from 'wdBean' |
| 2 | +import router from '@ohos.router' | ||
| 3 | +import { LoginViewModel } from './LoginViewModel' | ||
| 4 | +import { BreakpointSystem, CustomToast, DateTimeUtils, Logger, SPHelper, ToastUtils } from 'wdKit' | ||
| 5 | +import { SpConstants } from 'wdConstant' | ||
| 6 | +import { WDRouterPage, WDRouterRule } from 'wdRouter' | ||
| 7 | +import { TrackingPageBrowse, TrackConstants, TrackingButton } from 'wdTracking' | ||
| 12 | 8 | ||
| 13 | const TAG = "SettingPasswordLayout" | 9 | const TAG = "SettingPasswordLayout" |
| 14 | 10 |
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | "license": "Apache-2.0", | 2 | "license": "Apache-2.0", |
| 3 | "devDependencies": {}, | 3 | "devDependencies": {}, |
| 4 | "author": "", | 4 | "author": "", |
| 5 | - "name": "wdplayer", | 5 | + "name": "wdPlayer", |
| 6 | "description": "Please describe the basic information.", | 6 | "description": "Please describe the basic information.", |
| 7 | "main": "Index.ets", | 7 | "main": "Index.ets", |
| 8 | "version": "1.0.0", | 8 | "version": "1.0.0", |
| 1 | import router from '@ohos.router'; | 1 | import router from '@ohos.router'; |
| 2 | -import { Params } from '../../../../../../../commons/wdRouter/oh_modules/wdBean/src/main/ets/bean/content/Params'; | 2 | +import { Params } from 'wdBean/Index'; |
| 3 | import { Logger, ToastUtils } from 'wdKit'; | 3 | import { Logger, ToastUtils } from 'wdKit'; |
| 4 | import { CustomTitleUI } from 'wdComponent/src/main/ets/components/reusable/CustomTitleUI'; | 4 | import { CustomTitleUI } from 'wdComponent/src/main/ets/components/reusable/CustomTitleUI'; |
| 5 | import {BusinessError, pasteboard} from '@kit.BasicServicesKit'; | 5 | import {BusinessError, pasteboard} from '@kit.BasicServicesKit'; |
| @@ -18,6 +18,7 @@ | @@ -18,6 +18,7 @@ | ||
| 18 | "abilities": [ | 18 | "abilities": [ |
| 19 | { | 19 | { |
| 20 | "name": "EntryAbility", | 20 | "name": "EntryAbility", |
| 21 | +// "launchType": "singleton", | ||
| 21 | // 这里不能改动,和后台推送有绑定 | 22 | // 这里不能改动,和后台推送有绑定 |
| 22 | "srcEntry": "./ets/entryability/EntryAbility.ets", | 23 | "srcEntry": "./ets/entryability/EntryAbility.ets", |
| 23 | "description": "$string:app_desc", | 24 | "description": "$string:app_desc", |
| @@ -143,11 +144,11 @@ | @@ -143,11 +144,11 @@ | ||
| 143 | }, | 144 | }, |
| 144 | { // 默认的 | 145 | { // 默认的 |
| 145 | "entities": [ | 146 | "entities": [ |
| 146 | - "entity.system.home", | 147 | + "entity.system.home" |
| 147 | ], | 148 | ], |
| 148 | "actions": [ | 149 | "actions": [ |
| 149 | - "action.system.home", | ||
| 150 | - ], | 150 | + "action.system.home" |
| 151 | + ] | ||
| 151 | 152 | ||
| 152 | }, | 153 | }, |
| 153 | { // H5换端 | 154 | { // H5换端 |
| @@ -159,7 +160,7 @@ | @@ -159,7 +160,7 @@ | ||
| 159 | "scheme": "rmrbapp", | 160 | "scheme": "rmrbapp", |
| 160 | "host": "rmrb.app", | 161 | "host": "rmrb.app", |
| 161 | "path": "openwith" | 162 | "path": "openwith" |
| 162 | - }, | 163 | + } |
| 163 | ]}, | 164 | ]}, |
| 164 | { // 推送 | 165 | { // 推送 |
| 165 | "actions": [ | 166 | "actions": [ |
| @@ -173,7 +174,7 @@ | @@ -173,7 +174,7 @@ | ||
| 173 | "path": 'openwith' | 174 | "path": 'openwith' |
| 174 | } | 175 | } |
| 175 | ] | 176 | ] |
| 176 | - }, | 177 | + } |
| 177 | ] | 178 | ] |
| 178 | } | 179 | } |
| 179 | ], | 180 | ], |
| @@ -216,7 +217,7 @@ | @@ -216,7 +217,7 @@ | ||
| 216 | }, | 217 | }, |
| 217 | { | 218 | { |
| 218 | "name": "ohos.permission.INTERNET" | 219 | "name": "ohos.permission.INTERNET" |
| 219 | - }, | 220 | + } |
| 220 | ], | 221 | ], |
| 221 | "extensionAbilities": [ | 222 | "extensionAbilities": [ |
| 222 | { | 223 | { |
| @@ -230,7 +231,7 @@ | @@ -230,7 +231,7 @@ | ||
| 230 | "name": "ohos.extension.form", | 231 | "name": "ohos.extension.form", |
| 231 | "resource": "$profile:form_config" | 232 | "resource": "$profile:form_config" |
| 232 | } | 233 | } |
| 233 | - ], | 234 | + ] |
| 234 | 235 | ||
| 235 | } | 236 | } |
| 236 | ] | 237 | ] |
-
Please register or login to post a comment