161847f8eSopenharmony_ci/* 261847f8eSopenharmony_ci * Copyright (c) 2021-2023 Huawei Device Co., Ltd. 361847f8eSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 461847f8eSopenharmony_ci * you may not use this file except in compliance with the License. 561847f8eSopenharmony_ci * You may obtain a copy of the License at 661847f8eSopenharmony_ci * 761847f8eSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 861847f8eSopenharmony_ci * 961847f8eSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 1061847f8eSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 1161847f8eSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1261847f8eSopenharmony_ci * See the License for the specific language governing permissions and 1361847f8eSopenharmony_ci * limitations under the License. 1461847f8eSopenharmony_ci */ 1561847f8eSopenharmony_ci 1661847f8eSopenharmony_ci/** 1761847f8eSopenharmony_ci * @file 1861847f8eSopenharmony_ci * @kit ArkUI 1961847f8eSopenharmony_ci */ 2061847f8eSopenharmony_ci 2161847f8eSopenharmony_ci/** 2261847f8eSopenharmony_ci * Defines the badge position property. 2361847f8eSopenharmony_ci * 2461847f8eSopenharmony_ci * @enum { number } 2561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 2661847f8eSopenharmony_ci * @since 7 2761847f8eSopenharmony_ci */ 2861847f8eSopenharmony_ci/** 2961847f8eSopenharmony_ci * Defines the badge position property. 3061847f8eSopenharmony_ci * 3161847f8eSopenharmony_ci * @enum { number } 3261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 3361847f8eSopenharmony_ci * @form 3461847f8eSopenharmony_ci * @since 9 3561847f8eSopenharmony_ci */ 3661847f8eSopenharmony_ci/** 3761847f8eSopenharmony_ci * Defines the badge position property. 3861847f8eSopenharmony_ci * 3961847f8eSopenharmony_ci * @enum { number } 4061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 4161847f8eSopenharmony_ci * @crossplatform 4261847f8eSopenharmony_ci * @form 4361847f8eSopenharmony_ci * @since 10 4461847f8eSopenharmony_ci */ 4561847f8eSopenharmony_ci/** 4661847f8eSopenharmony_ci * Defines the badge position property. 4761847f8eSopenharmony_ci * 4861847f8eSopenharmony_ci * @enum { number } 4961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 5061847f8eSopenharmony_ci * @crossplatform 5161847f8eSopenharmony_ci * @form 5261847f8eSopenharmony_ci * @atomicservice 5361847f8eSopenharmony_ci * @since 11 5461847f8eSopenharmony_ci */ 5561847f8eSopenharmony_cideclare enum BadgePosition { 5661847f8eSopenharmony_ci /** 5761847f8eSopenharmony_ci * The dot is displayed vertically centered on the right. 5861847f8eSopenharmony_ci * 5961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 6061847f8eSopenharmony_ci * @since 7 6161847f8eSopenharmony_ci */ 6261847f8eSopenharmony_ci /** 6361847f8eSopenharmony_ci * The dot is displayed vertically centered on the right. 6461847f8eSopenharmony_ci * 6561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 6661847f8eSopenharmony_ci * @form 6761847f8eSopenharmony_ci * @since 9 6861847f8eSopenharmony_ci */ 6961847f8eSopenharmony_ci /** 7061847f8eSopenharmony_ci * The dot is displayed vertically centered on the right. 7161847f8eSopenharmony_ci * 7261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 7361847f8eSopenharmony_ci * @crossplatform 7461847f8eSopenharmony_ci * @form 7561847f8eSopenharmony_ci * @since 10 7661847f8eSopenharmony_ci */ 7761847f8eSopenharmony_ci /** 7861847f8eSopenharmony_ci * The dot is displayed vertically centered on the right. 7961847f8eSopenharmony_ci * 8061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 8161847f8eSopenharmony_ci * @crossplatform 8261847f8eSopenharmony_ci * @form 8361847f8eSopenharmony_ci * @atomicservice 8461847f8eSopenharmony_ci * @since 11 8561847f8eSopenharmony_ci */ 8661847f8eSopenharmony_ci RightTop, 8761847f8eSopenharmony_ci 8861847f8eSopenharmony_ci /** 8961847f8eSopenharmony_ci * Dots are displayed in the upper right corner. 9061847f8eSopenharmony_ci * 9161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 9261847f8eSopenharmony_ci * @since 7 9361847f8eSopenharmony_ci */ 9461847f8eSopenharmony_ci /** 9561847f8eSopenharmony_ci * Dots are displayed in the upper right corner. 9661847f8eSopenharmony_ci * 9761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 9861847f8eSopenharmony_ci * @form 9961847f8eSopenharmony_ci * @since 9 10061847f8eSopenharmony_ci */ 10161847f8eSopenharmony_ci /** 10261847f8eSopenharmony_ci * Dots are displayed in the upper right corner. 10361847f8eSopenharmony_ci * 10461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 10561847f8eSopenharmony_ci * @crossplatform 10661847f8eSopenharmony_ci * @form 10761847f8eSopenharmony_ci * @since 10 10861847f8eSopenharmony_ci */ 10961847f8eSopenharmony_ci /** 11061847f8eSopenharmony_ci * Dots are displayed in the upper right corner. 11161847f8eSopenharmony_ci * 11261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 11361847f8eSopenharmony_ci * @crossplatform 11461847f8eSopenharmony_ci * @form 11561847f8eSopenharmony_ci * @atomicservice 11661847f8eSopenharmony_ci * @since 11 11761847f8eSopenharmony_ci */ 11861847f8eSopenharmony_ci Right, 11961847f8eSopenharmony_ci 12061847f8eSopenharmony_ci /** 12161847f8eSopenharmony_ci * The dot is displayed in the left vertical center. 12261847f8eSopenharmony_ci * 12361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 12461847f8eSopenharmony_ci * @since 7 12561847f8eSopenharmony_ci */ 12661847f8eSopenharmony_ci /** 12761847f8eSopenharmony_ci * The dot is displayed in the left vertical center. 12861847f8eSopenharmony_ci * 12961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 13061847f8eSopenharmony_ci * @form 13161847f8eSopenharmony_ci * @since 9 13261847f8eSopenharmony_ci */ 13361847f8eSopenharmony_ci /** 13461847f8eSopenharmony_ci * The dot is displayed in the left vertical center. 13561847f8eSopenharmony_ci * 13661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 13761847f8eSopenharmony_ci * @crossplatform 13861847f8eSopenharmony_ci * @form 13961847f8eSopenharmony_ci * @since 10 14061847f8eSopenharmony_ci */ 14161847f8eSopenharmony_ci /** 14261847f8eSopenharmony_ci * The dot is displayed in the left vertical center. 14361847f8eSopenharmony_ci * 14461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 14561847f8eSopenharmony_ci * @crossplatform 14661847f8eSopenharmony_ci * @form 14761847f8eSopenharmony_ci * @atomicservice 14861847f8eSopenharmony_ci * @since 11 14961847f8eSopenharmony_ci */ 15061847f8eSopenharmony_ci Left, 15161847f8eSopenharmony_ci} 15261847f8eSopenharmony_ci 15361847f8eSopenharmony_ci/** 15461847f8eSopenharmony_ci * BadgeStyle object 15561847f8eSopenharmony_ci * 15661847f8eSopenharmony_ci * @interface BadgeStyle 15761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 15861847f8eSopenharmony_ci * @since 7 15961847f8eSopenharmony_ci */ 16061847f8eSopenharmony_ci/** 16161847f8eSopenharmony_ci * BadgeStyle object 16261847f8eSopenharmony_ci * 16361847f8eSopenharmony_ci * @interface BadgeStyle 16461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 16561847f8eSopenharmony_ci * @form 16661847f8eSopenharmony_ci * @since 9 16761847f8eSopenharmony_ci */ 16861847f8eSopenharmony_ci/** 16961847f8eSopenharmony_ci * BadgeStyle object 17061847f8eSopenharmony_ci * 17161847f8eSopenharmony_ci * @interface BadgeStyle 17261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 17361847f8eSopenharmony_ci * @crossplatform 17461847f8eSopenharmony_ci * @form 17561847f8eSopenharmony_ci * @since 10 17661847f8eSopenharmony_ci */ 17761847f8eSopenharmony_ci/** 17861847f8eSopenharmony_ci * BadgeStyle object 17961847f8eSopenharmony_ci * 18061847f8eSopenharmony_ci * @interface BadgeStyle 18161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 18261847f8eSopenharmony_ci * @crossplatform 18361847f8eSopenharmony_ci * @form 18461847f8eSopenharmony_ci * @atomicservice 18561847f8eSopenharmony_ci * @since 11 18661847f8eSopenharmony_ci */ 18761847f8eSopenharmony_cideclare interface BadgeStyle { 18861847f8eSopenharmony_ci /** 18961847f8eSopenharmony_ci * Text Color 19061847f8eSopenharmony_ci * 19161847f8eSopenharmony_ci * @type { ?ResourceColor } 19261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 19361847f8eSopenharmony_ci * @since 7 19461847f8eSopenharmony_ci */ 19561847f8eSopenharmony_ci /** 19661847f8eSopenharmony_ci * Text Color 19761847f8eSopenharmony_ci * 19861847f8eSopenharmony_ci * @type { ?ResourceColor } 19961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 20061847f8eSopenharmony_ci * @form 20161847f8eSopenharmony_ci * @since 9 20261847f8eSopenharmony_ci */ 20361847f8eSopenharmony_ci /** 20461847f8eSopenharmony_ci * Text Color 20561847f8eSopenharmony_ci * 20661847f8eSopenharmony_ci * @type { ?ResourceColor } 20761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 20861847f8eSopenharmony_ci * @crossplatform 20961847f8eSopenharmony_ci * @form 21061847f8eSopenharmony_ci * @since 10 21161847f8eSopenharmony_ci */ 21261847f8eSopenharmony_ci /** 21361847f8eSopenharmony_ci * Text Color 21461847f8eSopenharmony_ci * 21561847f8eSopenharmony_ci * @type { ?ResourceColor } 21661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 21761847f8eSopenharmony_ci * @crossplatform 21861847f8eSopenharmony_ci * @form 21961847f8eSopenharmony_ci * @atomicservice 22061847f8eSopenharmony_ci * @since 11 22161847f8eSopenharmony_ci */ 22261847f8eSopenharmony_ci color?: ResourceColor; 22361847f8eSopenharmony_ci 22461847f8eSopenharmony_ci /** 22561847f8eSopenharmony_ci * Text size. 22661847f8eSopenharmony_ci * 22761847f8eSopenharmony_ci * @type { ?(number | string) } 22861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 22961847f8eSopenharmony_ci * @since 7 23061847f8eSopenharmony_ci */ 23161847f8eSopenharmony_ci /** 23261847f8eSopenharmony_ci * Text size. 23361847f8eSopenharmony_ci * 23461847f8eSopenharmony_ci * @type { ?(number | string) } 23561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 23661847f8eSopenharmony_ci * @form 23761847f8eSopenharmony_ci * @since 9 23861847f8eSopenharmony_ci */ 23961847f8eSopenharmony_ci /** 24061847f8eSopenharmony_ci * Text size. 24161847f8eSopenharmony_ci * 24261847f8eSopenharmony_ci * @type { ?(number | string) } 24361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 24461847f8eSopenharmony_ci * @crossplatform 24561847f8eSopenharmony_ci * @form 24661847f8eSopenharmony_ci * @since 10 24761847f8eSopenharmony_ci */ 24861847f8eSopenharmony_ci /** 24961847f8eSopenharmony_ci * Text size. 25061847f8eSopenharmony_ci * 25161847f8eSopenharmony_ci * @type { ?(number | string) } 25261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 25361847f8eSopenharmony_ci * @crossplatform 25461847f8eSopenharmony_ci * @form 25561847f8eSopenharmony_ci * @atomicservice 25661847f8eSopenharmony_ci * @since 11 25761847f8eSopenharmony_ci */ 25861847f8eSopenharmony_ci fontSize?: number | string; 25961847f8eSopenharmony_ci 26061847f8eSopenharmony_ci /** 26161847f8eSopenharmony_ci * Size of a badge. 26261847f8eSopenharmony_ci * 26361847f8eSopenharmony_ci * @type { ?(number | string) } 26461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 26561847f8eSopenharmony_ci * @since 7 26661847f8eSopenharmony_ci */ 26761847f8eSopenharmony_ci /** 26861847f8eSopenharmony_ci * Size of a badge. 26961847f8eSopenharmony_ci * 27061847f8eSopenharmony_ci * @type { ?(number | string) } 27161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 27261847f8eSopenharmony_ci * @form 27361847f8eSopenharmony_ci * @since 9 27461847f8eSopenharmony_ci */ 27561847f8eSopenharmony_ci /** 27661847f8eSopenharmony_ci * Size of a badge. 27761847f8eSopenharmony_ci * 27861847f8eSopenharmony_ci * @type { ?(number | string) } 27961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 28061847f8eSopenharmony_ci * @crossplatform 28161847f8eSopenharmony_ci * @form 28261847f8eSopenharmony_ci * @since 10 28361847f8eSopenharmony_ci */ 28461847f8eSopenharmony_ci /** 28561847f8eSopenharmony_ci * Size of a badge. 28661847f8eSopenharmony_ci * 28761847f8eSopenharmony_ci * @type { ?(number | string) } 28861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 28961847f8eSopenharmony_ci * @crossplatform 29061847f8eSopenharmony_ci * @form 29161847f8eSopenharmony_ci * @atomicservice 29261847f8eSopenharmony_ci * @since 11 29361847f8eSopenharmony_ci */ 29461847f8eSopenharmony_ci badgeSize?: number | string; 29561847f8eSopenharmony_ci 29661847f8eSopenharmony_ci /** 29761847f8eSopenharmony_ci * Color of the badge. 29861847f8eSopenharmony_ci * 29961847f8eSopenharmony_ci * @type { ?ResourceColor } 30061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 30161847f8eSopenharmony_ci * @since 7 30261847f8eSopenharmony_ci */ 30361847f8eSopenharmony_ci /** 30461847f8eSopenharmony_ci * Color of the badge. 30561847f8eSopenharmony_ci * 30661847f8eSopenharmony_ci * @type { ?ResourceColor } 30761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 30861847f8eSopenharmony_ci * @form 30961847f8eSopenharmony_ci * @since 9 31061847f8eSopenharmony_ci */ 31161847f8eSopenharmony_ci /** 31261847f8eSopenharmony_ci * Color of the badge. 31361847f8eSopenharmony_ci * 31461847f8eSopenharmony_ci * @type { ?ResourceColor } 31561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 31661847f8eSopenharmony_ci * @crossplatform 31761847f8eSopenharmony_ci * @form 31861847f8eSopenharmony_ci * @since 10 31961847f8eSopenharmony_ci */ 32061847f8eSopenharmony_ci /** 32161847f8eSopenharmony_ci * Color of the badge. 32261847f8eSopenharmony_ci * 32361847f8eSopenharmony_ci * @type { ?ResourceColor } 32461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 32561847f8eSopenharmony_ci * @crossplatform 32661847f8eSopenharmony_ci * @form 32761847f8eSopenharmony_ci * @atomicservice 32861847f8eSopenharmony_ci * @since 11 32961847f8eSopenharmony_ci */ 33061847f8eSopenharmony_ci badgeColor?: ResourceColor; 33161847f8eSopenharmony_ci 33261847f8eSopenharmony_ci /** 33361847f8eSopenharmony_ci * Define the border color of the badge. 33461847f8eSopenharmony_ci * 33561847f8eSopenharmony_ci * @type { ?ResourceColor } 33661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 33761847f8eSopenharmony_ci * @crossplatform 33861847f8eSopenharmony_ci * @since 10 33961847f8eSopenharmony_ci */ 34061847f8eSopenharmony_ci /** 34161847f8eSopenharmony_ci * Define the border color of the badge. 34261847f8eSopenharmony_ci * 34361847f8eSopenharmony_ci * @type { ?ResourceColor } 34461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 34561847f8eSopenharmony_ci * @crossplatform 34661847f8eSopenharmony_ci * @atomicservice 34761847f8eSopenharmony_ci * @since 11 34861847f8eSopenharmony_ci */ 34961847f8eSopenharmony_ci borderColor?: ResourceColor; 35061847f8eSopenharmony_ci 35161847f8eSopenharmony_ci /** 35261847f8eSopenharmony_ci * Define the border width of the badge. 35361847f8eSopenharmony_ci * 35461847f8eSopenharmony_ci * @type { ?Length } 35561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 35661847f8eSopenharmony_ci * @crossplatform 35761847f8eSopenharmony_ci * @since 10 35861847f8eSopenharmony_ci */ 35961847f8eSopenharmony_ci /** 36061847f8eSopenharmony_ci * Define the border width of the badge. 36161847f8eSopenharmony_ci * 36261847f8eSopenharmony_ci * @type { ?Length } 36361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 36461847f8eSopenharmony_ci * @crossplatform 36561847f8eSopenharmony_ci * @atomicservice 36661847f8eSopenharmony_ci * @since 11 36761847f8eSopenharmony_ci */ 36861847f8eSopenharmony_ci borderWidth?: Length; 36961847f8eSopenharmony_ci 37061847f8eSopenharmony_ci /** 37161847f8eSopenharmony_ci * Define the font weight of the badge. 37261847f8eSopenharmony_ci * 37361847f8eSopenharmony_ci * @type { ?(number | FontWeight | string) } 37461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 37561847f8eSopenharmony_ci * @crossplatform 37661847f8eSopenharmony_ci * @since 10 37761847f8eSopenharmony_ci */ 37861847f8eSopenharmony_ci /** 37961847f8eSopenharmony_ci * Define the font weight of the badge. 38061847f8eSopenharmony_ci * 38161847f8eSopenharmony_ci * @type { ?(number | FontWeight | string) } 38261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 38361847f8eSopenharmony_ci * @crossplatform 38461847f8eSopenharmony_ci * @atomicservice 38561847f8eSopenharmony_ci * @since 11 38661847f8eSopenharmony_ci */ 38761847f8eSopenharmony_ci fontWeight?: number | FontWeight | string; 38861847f8eSopenharmony_ci} 38961847f8eSopenharmony_ci 39061847f8eSopenharmony_ci/** 39161847f8eSopenharmony_ci * Defines the base param of badge. 39261847f8eSopenharmony_ci * 39361847f8eSopenharmony_ci * @interface BadgeParam 39461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 39561847f8eSopenharmony_ci * @since 7 39661847f8eSopenharmony_ci */ 39761847f8eSopenharmony_ci/** 39861847f8eSopenharmony_ci * Defines the base param of badge. 39961847f8eSopenharmony_ci * 40061847f8eSopenharmony_ci * @interface BadgeParam 40161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 40261847f8eSopenharmony_ci * @form 40361847f8eSopenharmony_ci * @since 9 40461847f8eSopenharmony_ci */ 40561847f8eSopenharmony_ci/** 40661847f8eSopenharmony_ci * Defines the base param of badge. 40761847f8eSopenharmony_ci * 40861847f8eSopenharmony_ci * @interface BadgeParam 40961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 41061847f8eSopenharmony_ci * @crossplatform 41161847f8eSopenharmony_ci * @form 41261847f8eSopenharmony_ci * @since 10 41361847f8eSopenharmony_ci */ 41461847f8eSopenharmony_ci/** 41561847f8eSopenharmony_ci * Defines the base param of badge. 41661847f8eSopenharmony_ci * 41761847f8eSopenharmony_ci * @interface BadgeParam 41861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 41961847f8eSopenharmony_ci * @crossplatform 42061847f8eSopenharmony_ci * @form 42161847f8eSopenharmony_ci * @atomicservice 42261847f8eSopenharmony_ci * @since 11 42361847f8eSopenharmony_ci */ 42461847f8eSopenharmony_cideclare interface BadgeParam { 42561847f8eSopenharmony_ci /** 42661847f8eSopenharmony_ci * Set the display position of the prompt point. 42761847f8eSopenharmony_ci * 42861847f8eSopenharmony_ci * @type { ?(BadgePosition) } 42961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 43061847f8eSopenharmony_ci * @since 7 43161847f8eSopenharmony_ci */ 43261847f8eSopenharmony_ci /** 43361847f8eSopenharmony_ci * Set the display position of the prompt point. 43461847f8eSopenharmony_ci * 43561847f8eSopenharmony_ci * @type { ?(BadgePosition) } 43661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 43761847f8eSopenharmony_ci * @form 43861847f8eSopenharmony_ci * @since 9 43961847f8eSopenharmony_ci */ 44061847f8eSopenharmony_ci /** 44161847f8eSopenharmony_ci * Set the display position of the prompt point. 44261847f8eSopenharmony_ci * 44361847f8eSopenharmony_ci * @type { ?(BadgePosition | Position) } 44461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 44561847f8eSopenharmony_ci * @crossplatform 44661847f8eSopenharmony_ci * @form 44761847f8eSopenharmony_ci * @since 10 44861847f8eSopenharmony_ci */ 44961847f8eSopenharmony_ci /** 45061847f8eSopenharmony_ci * Set the display position of the prompt point. 45161847f8eSopenharmony_ci * 45261847f8eSopenharmony_ci * @type { ?(BadgePosition | Position) } 45361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 45461847f8eSopenharmony_ci * @crossplatform 45561847f8eSopenharmony_ci * @form 45661847f8eSopenharmony_ci * @atomicservice 45761847f8eSopenharmony_ci * @since 11 45861847f8eSopenharmony_ci */ 45961847f8eSopenharmony_ci position?: BadgePosition | Position; 46061847f8eSopenharmony_ci 46161847f8eSopenharmony_ci /** 46261847f8eSopenharmony_ci * Defines the style of the Badge component, including the text color, size, dot color, and size. 46361847f8eSopenharmony_ci * 46461847f8eSopenharmony_ci * @type { BadgeStyle } 46561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 46661847f8eSopenharmony_ci * @since 7 46761847f8eSopenharmony_ci */ 46861847f8eSopenharmony_ci /** 46961847f8eSopenharmony_ci * Defines the style of the Badge component, including the text color, size, dot color, and size. 47061847f8eSopenharmony_ci * 47161847f8eSopenharmony_ci * @type { BadgeStyle } 47261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 47361847f8eSopenharmony_ci * @form 47461847f8eSopenharmony_ci * @since 9 47561847f8eSopenharmony_ci */ 47661847f8eSopenharmony_ci /** 47761847f8eSopenharmony_ci * Defines the style of the Badge component, including the text color, size, dot color, and size. 47861847f8eSopenharmony_ci * 47961847f8eSopenharmony_ci * @type { BadgeStyle } 48061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 48161847f8eSopenharmony_ci * @crossplatform 48261847f8eSopenharmony_ci * @form 48361847f8eSopenharmony_ci * @since 10 48461847f8eSopenharmony_ci */ 48561847f8eSopenharmony_ci /** 48661847f8eSopenharmony_ci * Defines the style of the Badge component, including the text color, size, dot color, and size. 48761847f8eSopenharmony_ci * 48861847f8eSopenharmony_ci * @type { BadgeStyle } 48961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 49061847f8eSopenharmony_ci * @crossplatform 49161847f8eSopenharmony_ci * @form 49261847f8eSopenharmony_ci * @atomicservice 49361847f8eSopenharmony_ci * @since 11 49461847f8eSopenharmony_ci */ 49561847f8eSopenharmony_ci style: BadgeStyle; 49661847f8eSopenharmony_ci} 49761847f8eSopenharmony_ci 49861847f8eSopenharmony_ci/** 49961847f8eSopenharmony_ci * Defines the badge param with count and maxCount. 50061847f8eSopenharmony_ci * 50161847f8eSopenharmony_ci * @interface BadgeParamWithNumber 50261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 50361847f8eSopenharmony_ci * @since 7 50461847f8eSopenharmony_ci */ 50561847f8eSopenharmony_ci/** 50661847f8eSopenharmony_ci * Defines the badge param with count and maxCount. 50761847f8eSopenharmony_ci * 50861847f8eSopenharmony_ci * @interface BadgeParamWithNumber 50961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 51061847f8eSopenharmony_ci * @form 51161847f8eSopenharmony_ci * @since 9 51261847f8eSopenharmony_ci */ 51361847f8eSopenharmony_ci/** 51461847f8eSopenharmony_ci * Defines the badge param with count and maxCount. 51561847f8eSopenharmony_ci * 51661847f8eSopenharmony_ci * @interface BadgeParamWithNumber 51761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 51861847f8eSopenharmony_ci * @crossplatform 51961847f8eSopenharmony_ci * @form 52061847f8eSopenharmony_ci * @since 10 52161847f8eSopenharmony_ci */ 52261847f8eSopenharmony_ci/** 52361847f8eSopenharmony_ci * Defines the badge param with count and maxCount. 52461847f8eSopenharmony_ci * 52561847f8eSopenharmony_ci * @interface BadgeParamWithNumber 52661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 52761847f8eSopenharmony_ci * @crossplatform 52861847f8eSopenharmony_ci * @form 52961847f8eSopenharmony_ci * @atomicservice 53061847f8eSopenharmony_ci * @since 11 53161847f8eSopenharmony_ci */ 53261847f8eSopenharmony_cideclare interface BadgeParamWithNumber extends BadgeParam { 53361847f8eSopenharmony_ci /** 53461847f8eSopenharmony_ci * Set the number of reminder messages. 53561847f8eSopenharmony_ci * 53661847f8eSopenharmony_ci * @type { number } 53761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 53861847f8eSopenharmony_ci * @since 7 53961847f8eSopenharmony_ci */ 54061847f8eSopenharmony_ci /** 54161847f8eSopenharmony_ci * Set the number of reminder messages. 54261847f8eSopenharmony_ci * 54361847f8eSopenharmony_ci * @type { number } 54461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 54561847f8eSopenharmony_ci * @form 54661847f8eSopenharmony_ci * @since 9 54761847f8eSopenharmony_ci */ 54861847f8eSopenharmony_ci /** 54961847f8eSopenharmony_ci * Set the number of reminder messages. 55061847f8eSopenharmony_ci * 55161847f8eSopenharmony_ci * @type { number } 55261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 55361847f8eSopenharmony_ci * @crossplatform 55461847f8eSopenharmony_ci * @form 55561847f8eSopenharmony_ci * @since 10 55661847f8eSopenharmony_ci */ 55761847f8eSopenharmony_ci /** 55861847f8eSopenharmony_ci * Set the number of reminder messages. 55961847f8eSopenharmony_ci * 56061847f8eSopenharmony_ci * @type { number } 56161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 56261847f8eSopenharmony_ci * @crossplatform 56361847f8eSopenharmony_ci * @form 56461847f8eSopenharmony_ci * @atomicservice 56561847f8eSopenharmony_ci * @since 11 56661847f8eSopenharmony_ci */ 56761847f8eSopenharmony_ci count: number; 56861847f8eSopenharmony_ci 56961847f8eSopenharmony_ci /** 57061847f8eSopenharmony_ci * Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 57161847f8eSopenharmony_ci * 57261847f8eSopenharmony_ci * @type { ?number } 57361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 57461847f8eSopenharmony_ci * @since 7 57561847f8eSopenharmony_ci */ 57661847f8eSopenharmony_ci /** 57761847f8eSopenharmony_ci * Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 57861847f8eSopenharmony_ci * 57961847f8eSopenharmony_ci * @type { ?number } 58061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 58161847f8eSopenharmony_ci * @form 58261847f8eSopenharmony_ci * @since 9 58361847f8eSopenharmony_ci */ 58461847f8eSopenharmony_ci /** 58561847f8eSopenharmony_ci * Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 58661847f8eSopenharmony_ci * 58761847f8eSopenharmony_ci * @type { ?number } 58861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 58961847f8eSopenharmony_ci * @crossplatform 59061847f8eSopenharmony_ci * @form 59161847f8eSopenharmony_ci * @since 10 59261847f8eSopenharmony_ci */ 59361847f8eSopenharmony_ci /** 59461847f8eSopenharmony_ci * Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 59561847f8eSopenharmony_ci * 59661847f8eSopenharmony_ci * @type { ?number } 59761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 59861847f8eSopenharmony_ci * @crossplatform 59961847f8eSopenharmony_ci * @form 60061847f8eSopenharmony_ci * @atomicservice 60161847f8eSopenharmony_ci * @since 11 60261847f8eSopenharmony_ci */ 60361847f8eSopenharmony_ci maxCount?: number; 60461847f8eSopenharmony_ci} 60561847f8eSopenharmony_ci 60661847f8eSopenharmony_ci/** 60761847f8eSopenharmony_ci * Defines the badge param with string value. 60861847f8eSopenharmony_ci * 60961847f8eSopenharmony_ci * @interface BadgeParamWithString 61061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 61161847f8eSopenharmony_ci * @since 7 61261847f8eSopenharmony_ci */ 61361847f8eSopenharmony_ci/** 61461847f8eSopenharmony_ci * Defines the badge param with string value. 61561847f8eSopenharmony_ci * 61661847f8eSopenharmony_ci * @interface BadgeParamWithString 61761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 61861847f8eSopenharmony_ci * @form 61961847f8eSopenharmony_ci * @since 9 62061847f8eSopenharmony_ci */ 62161847f8eSopenharmony_ci/** 62261847f8eSopenharmony_ci * Defines the badge param with string value. 62361847f8eSopenharmony_ci * 62461847f8eSopenharmony_ci * @interface BadgeParamWithString 62561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 62661847f8eSopenharmony_ci * @crossplatform 62761847f8eSopenharmony_ci * @form 62861847f8eSopenharmony_ci * @since 10 62961847f8eSopenharmony_ci */ 63061847f8eSopenharmony_ci/** 63161847f8eSopenharmony_ci * Defines the badge param with string value. 63261847f8eSopenharmony_ci * 63361847f8eSopenharmony_ci * @interface BadgeParamWithString 63461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 63561847f8eSopenharmony_ci * @crossplatform 63661847f8eSopenharmony_ci * @form 63761847f8eSopenharmony_ci * @atomicservice 63861847f8eSopenharmony_ci * @since 11 63961847f8eSopenharmony_ci */ 64061847f8eSopenharmony_cideclare interface BadgeParamWithString extends BadgeParam { 64161847f8eSopenharmony_ci /** 64261847f8eSopenharmony_ci * Text string of the prompt content. 64361847f8eSopenharmony_ci * 64461847f8eSopenharmony_ci * @type { string } 64561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 64661847f8eSopenharmony_ci * @since 7 64761847f8eSopenharmony_ci */ 64861847f8eSopenharmony_ci /** 64961847f8eSopenharmony_ci * Text string of the prompt content. 65061847f8eSopenharmony_ci * 65161847f8eSopenharmony_ci * @type { string } 65261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 65361847f8eSopenharmony_ci * @form 65461847f8eSopenharmony_ci * @since 9 65561847f8eSopenharmony_ci */ 65661847f8eSopenharmony_ci /** 65761847f8eSopenharmony_ci * Text string of the prompt content. 65861847f8eSopenharmony_ci * 65961847f8eSopenharmony_ci * @type { string } 66061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 66161847f8eSopenharmony_ci * @crossplatform 66261847f8eSopenharmony_ci * @form 66361847f8eSopenharmony_ci * @since 10 66461847f8eSopenharmony_ci */ 66561847f8eSopenharmony_ci /** 66661847f8eSopenharmony_ci * Text string of the prompt content. 66761847f8eSopenharmony_ci * 66861847f8eSopenharmony_ci * @type { string } 66961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 67061847f8eSopenharmony_ci * @crossplatform 67161847f8eSopenharmony_ci * @form 67261847f8eSopenharmony_ci * @atomicservice 67361847f8eSopenharmony_ci * @since 11 67461847f8eSopenharmony_ci */ 67561847f8eSopenharmony_ci value: string; 67661847f8eSopenharmony_ci} 67761847f8eSopenharmony_ci 67861847f8eSopenharmony_ci/** 67961847f8eSopenharmony_ci * Defines Badge Component. 68061847f8eSopenharmony_ci * 68161847f8eSopenharmony_ci * @interface BadgeInterface 68261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 68361847f8eSopenharmony_ci * @since 7 68461847f8eSopenharmony_ci */ 68561847f8eSopenharmony_ci/** 68661847f8eSopenharmony_ci * Defines Badge Component. 68761847f8eSopenharmony_ci * 68861847f8eSopenharmony_ci * @interface BadgeInterface 68961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 69061847f8eSopenharmony_ci * @form 69161847f8eSopenharmony_ci * @since 9 69261847f8eSopenharmony_ci */ 69361847f8eSopenharmony_ci/** 69461847f8eSopenharmony_ci * Defines Badge Component. 69561847f8eSopenharmony_ci * 69661847f8eSopenharmony_ci * @interface BadgeInterface 69761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 69861847f8eSopenharmony_ci * @crossplatform 69961847f8eSopenharmony_ci * @form 70061847f8eSopenharmony_ci * @since 10 70161847f8eSopenharmony_ci */ 70261847f8eSopenharmony_ci/** 70361847f8eSopenharmony_ci * Defines Badge Component. 70461847f8eSopenharmony_ci * 70561847f8eSopenharmony_ci * @interface BadgeInterface 70661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 70761847f8eSopenharmony_ci * @crossplatform 70861847f8eSopenharmony_ci * @form 70961847f8eSopenharmony_ci * @atomicservice 71061847f8eSopenharmony_ci * @since 11 71161847f8eSopenharmony_ci */ 71261847f8eSopenharmony_ciinterface BadgeInterface { 71361847f8eSopenharmony_ci /** 71461847f8eSopenharmony_ci * position: Set the display position of the prompt point. 71561847f8eSopenharmony_ci * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 71661847f8eSopenharmony_ci * count: Set the number of reminder messages. 71761847f8eSopenharmony_ci * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 71861847f8eSopenharmony_ci * 71961847f8eSopenharmony_ci * @param { BadgeParamWithNumber } value 72061847f8eSopenharmony_ci * @returns { BadgeAttribute } 72161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 72261847f8eSopenharmony_ci * @since 7 72361847f8eSopenharmony_ci */ 72461847f8eSopenharmony_ci /** 72561847f8eSopenharmony_ci * position: Set the display position of the prompt point. 72661847f8eSopenharmony_ci * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 72761847f8eSopenharmony_ci * count: Set the number of reminder messages. 72861847f8eSopenharmony_ci * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 72961847f8eSopenharmony_ci * 73061847f8eSopenharmony_ci * @param { BadgeParamWithNumber } value 73161847f8eSopenharmony_ci * @returns { BadgeAttribute } 73261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 73361847f8eSopenharmony_ci * @form 73461847f8eSopenharmony_ci * @since 9 73561847f8eSopenharmony_ci */ 73661847f8eSopenharmony_ci /** 73761847f8eSopenharmony_ci * position: Set the display position of the prompt point. 73861847f8eSopenharmony_ci * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 73961847f8eSopenharmony_ci * count: Set the number of reminder messages. 74061847f8eSopenharmony_ci * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 74161847f8eSopenharmony_ci * 74261847f8eSopenharmony_ci * @param { BadgeParamWithNumber } value 74361847f8eSopenharmony_ci * @returns { BadgeAttribute } 74461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 74561847f8eSopenharmony_ci * @crossplatform 74661847f8eSopenharmony_ci * @form 74761847f8eSopenharmony_ci * @since 10 74861847f8eSopenharmony_ci */ 74961847f8eSopenharmony_ci /** 75061847f8eSopenharmony_ci * position: Set the display position of the prompt point. 75161847f8eSopenharmony_ci * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 75261847f8eSopenharmony_ci * count: Set the number of reminder messages. 75361847f8eSopenharmony_ci * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 75461847f8eSopenharmony_ci * 75561847f8eSopenharmony_ci * @param { BadgeParamWithNumber } value 75661847f8eSopenharmony_ci * @returns { BadgeAttribute } 75761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 75861847f8eSopenharmony_ci * @crossplatform 75961847f8eSopenharmony_ci * @form 76061847f8eSopenharmony_ci * @atomicservice 76161847f8eSopenharmony_ci * @since 11 76261847f8eSopenharmony_ci */ 76361847f8eSopenharmony_ci (value: BadgeParamWithNumber): BadgeAttribute; 76461847f8eSopenharmony_ci 76561847f8eSopenharmony_ci /** 76661847f8eSopenharmony_ci * value: Text string of the prompt content. 76761847f8eSopenharmony_ci * position: Set the display position of the prompt point. 76861847f8eSopenharmony_ci * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 76961847f8eSopenharmony_ci * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 77061847f8eSopenharmony_ci * 77161847f8eSopenharmony_ci * @param { BadgeParamWithString } value 77261847f8eSopenharmony_ci * @returns { BadgeAttribute } 77361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 77461847f8eSopenharmony_ci * @since 7 77561847f8eSopenharmony_ci */ 77661847f8eSopenharmony_ci /** 77761847f8eSopenharmony_ci * value: Text string of the prompt content. 77861847f8eSopenharmony_ci * position: Set the display position of the prompt point. 77961847f8eSopenharmony_ci * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 78061847f8eSopenharmony_ci * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 78161847f8eSopenharmony_ci * 78261847f8eSopenharmony_ci * @param { BadgeParamWithString } value 78361847f8eSopenharmony_ci * @returns { BadgeAttribute } 78461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 78561847f8eSopenharmony_ci * @form 78661847f8eSopenharmony_ci * @since 9 78761847f8eSopenharmony_ci */ 78861847f8eSopenharmony_ci /** 78961847f8eSopenharmony_ci * value: Text string of the prompt content. 79061847f8eSopenharmony_ci * position: Set the display position of the prompt point. 79161847f8eSopenharmony_ci * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 79261847f8eSopenharmony_ci * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 79361847f8eSopenharmony_ci * 79461847f8eSopenharmony_ci * @param { BadgeParamWithString } value 79561847f8eSopenharmony_ci * @returns { BadgeAttribute } 79661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 79761847f8eSopenharmony_ci * @crossplatform 79861847f8eSopenharmony_ci * @form 79961847f8eSopenharmony_ci * @since 10 80061847f8eSopenharmony_ci */ 80161847f8eSopenharmony_ci /** 80261847f8eSopenharmony_ci * value: Text string of the prompt content. 80361847f8eSopenharmony_ci * position: Set the display position of the prompt point. 80461847f8eSopenharmony_ci * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 80561847f8eSopenharmony_ci * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 80661847f8eSopenharmony_ci * 80761847f8eSopenharmony_ci * @param { BadgeParamWithString } value 80861847f8eSopenharmony_ci * @returns { BadgeAttribute } 80961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 81061847f8eSopenharmony_ci * @crossplatform 81161847f8eSopenharmony_ci * @form 81261847f8eSopenharmony_ci * @atomicservice 81361847f8eSopenharmony_ci * @since 11 81461847f8eSopenharmony_ci */ 81561847f8eSopenharmony_ci (value: BadgeParamWithString): BadgeAttribute; 81661847f8eSopenharmony_ci} 81761847f8eSopenharmony_ci 81861847f8eSopenharmony_ci/** 81961847f8eSopenharmony_ci * Defines Badge Component attribute. 82061847f8eSopenharmony_ci * 82161847f8eSopenharmony_ci * @extends CommonMethod<BadgeAttribute> 82261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 82361847f8eSopenharmony_ci * @since 7 82461847f8eSopenharmony_ci */ 82561847f8eSopenharmony_ci/** 82661847f8eSopenharmony_ci * Defines Badge Component attribute. 82761847f8eSopenharmony_ci * 82861847f8eSopenharmony_ci * @extends CommonMethod<BadgeAttribute> 82961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 83061847f8eSopenharmony_ci * @form 83161847f8eSopenharmony_ci * @since 9 83261847f8eSopenharmony_ci */ 83361847f8eSopenharmony_ci/** 83461847f8eSopenharmony_ci * Defines Badge Component attribute. 83561847f8eSopenharmony_ci * 83661847f8eSopenharmony_ci * @extends CommonMethod<BadgeAttribute> 83761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 83861847f8eSopenharmony_ci * @crossplatform 83961847f8eSopenharmony_ci * @form 84061847f8eSopenharmony_ci * @since 10 84161847f8eSopenharmony_ci */ 84261847f8eSopenharmony_ci/** 84361847f8eSopenharmony_ci * Defines Badge Component attribute. 84461847f8eSopenharmony_ci * 84561847f8eSopenharmony_ci * @extends CommonMethod<BadgeAttribute> 84661847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 84761847f8eSopenharmony_ci * @crossplatform 84861847f8eSopenharmony_ci * @form 84961847f8eSopenharmony_ci * @atomicservice 85061847f8eSopenharmony_ci * @since 11 85161847f8eSopenharmony_ci */ 85261847f8eSopenharmony_cideclare class BadgeAttribute extends CommonMethod<BadgeAttribute> {} 85361847f8eSopenharmony_ci 85461847f8eSopenharmony_ci/** 85561847f8eSopenharmony_ci * Defines Badge Component. 85661847f8eSopenharmony_ci * 85761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 85861847f8eSopenharmony_ci * @since 7 85961847f8eSopenharmony_ci */ 86061847f8eSopenharmony_ci/** 86161847f8eSopenharmony_ci * Defines Badge Component. 86261847f8eSopenharmony_ci * 86361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 86461847f8eSopenharmony_ci * @form 86561847f8eSopenharmony_ci * @since 9 86661847f8eSopenharmony_ci */ 86761847f8eSopenharmony_ci/** 86861847f8eSopenharmony_ci * Defines Badge Component. 86961847f8eSopenharmony_ci * 87061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 87161847f8eSopenharmony_ci * @crossplatform 87261847f8eSopenharmony_ci * @form 87361847f8eSopenharmony_ci * @since 10 87461847f8eSopenharmony_ci */ 87561847f8eSopenharmony_ci/** 87661847f8eSopenharmony_ci * Defines Badge Component. 87761847f8eSopenharmony_ci * 87861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 87961847f8eSopenharmony_ci * @crossplatform 88061847f8eSopenharmony_ci * @form 88161847f8eSopenharmony_ci * @atomicservice 88261847f8eSopenharmony_ci * @since 11 88361847f8eSopenharmony_ci */ 88461847f8eSopenharmony_cideclare const Badge: BadgeInterface; 88561847f8eSopenharmony_ci 88661847f8eSopenharmony_ci/** 88761847f8eSopenharmony_ci * Defines Badge Component instance. 88861847f8eSopenharmony_ci * 88961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 89061847f8eSopenharmony_ci * @since 7 89161847f8eSopenharmony_ci */ 89261847f8eSopenharmony_ci/** 89361847f8eSopenharmony_ci * Defines Badge Component instance. 89461847f8eSopenharmony_ci * 89561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 89661847f8eSopenharmony_ci * @form 89761847f8eSopenharmony_ci * @since 9 89861847f8eSopenharmony_ci */ 89961847f8eSopenharmony_ci/** 90061847f8eSopenharmony_ci * Defines Badge Component instance. 90161847f8eSopenharmony_ci * 90261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 90361847f8eSopenharmony_ci * @crossplatform 90461847f8eSopenharmony_ci * @form 90561847f8eSopenharmony_ci * @since 10 90661847f8eSopenharmony_ci */ 90761847f8eSopenharmony_ci/** 90861847f8eSopenharmony_ci * Defines Badge Component instance. 90961847f8eSopenharmony_ci * 91061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full 91161847f8eSopenharmony_ci * @crossplatform 91261847f8eSopenharmony_ci * @form 91361847f8eSopenharmony_ci * @atomicservice 91461847f8eSopenharmony_ci * @since 11 91561847f8eSopenharmony_ci */ 91661847f8eSopenharmony_cideclare const BadgeInstance: BadgeAttribute; 917