1 /* 2 * Copyright (c) 2023-2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef OHOS_ABILITY_BASE_AUTO_FILL_TYPE_H 17 #define OHOS_ABILITY_BASE_AUTO_FILL_TYPE_H 18 19 namespace OHOS { 20 namespace AbilityBase { 21 enum class AutoFillType { 22 UNSPECIFIED = 0, 23 PASSWORD, 24 USER_NAME, 25 NEW_PASSWORD, 26 FULL_STREET_ADDRESS, 27 HOUSE_NUMBER, 28 DISTRICT_ADDRESS, 29 CITY_ADDRESS, 30 PROVINCE_ADDRESS, 31 COUNTRY_ADDRESS, 32 PERSON_FULL_NAME, 33 PERSON_LAST_NAME, 34 PERSON_FIRST_NAME, 35 PHONE_NUMBER, 36 PHONE_COUNTRY_CODE, 37 FULL_PHONE_NUMBER, 38 EMAIL_ADDRESS, 39 BANK_CARD_NUMBER, 40 ID_CARD_NUMBER, 41 PRECISE_TIME, 42 HOUR_AND_MINUTE, 43 DATE, 44 MONTH, 45 YEAR, 46 NICKNAME, 47 DETAIL_INFO_WITHOUT_STREET, 48 FORMAT_ADDRESS, 49 }; 50 51 enum class PopupPlacement { 52 LEFT = 0, 53 RIGHT, 54 TOP, 55 BOTTOM, 56 TOP_LEFT, 57 TOP_RIGHT, 58 BOTTOM_LEFT, 59 BOTTOM_RIGHT, 60 LEFT_TOP, 61 LEFT_BOTTOM, 62 RIGHT_TOP, 63 RIGHT_BOTTOM, 64 NONE, 65 }; 66 } // namespace AbilityBase 67 } // namespace OHOS 68 #endif // OHOS_ABILITY_BASE_AUTO_FILL_TYPE_H