interface_sdk-js/kits/@kit.ArkUI.d.ts
yangziyong 7b5e254df0 modify chipchoup @kit.ArkUI.d.ts
Signed-off-by: yangziyong <nsyangziyong@huawei.com>
Change-Id: If82c138050bcba1f816f71fbd325cbdb3d1b7fc4
2024-04-11 19:12:14 +08:00

133 lines
8.5 KiB
TypeScript

/*
* Copyright (c) 2022-2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file
* @kit ArkUI
*/
import windowAnimationManager from '@ohos.animation.windowAnimationManager';
import Animator, { AnimatorOptions, AnimatorResult } from '@ohos.animator';
import WindowExtensionAbility, { WindowExtensionContext } from '@ohos.application.WindowExtensionAbility';
import {
Chip, ChipOptions, ChipSize, IconCommonOptions, LabelMarginOptions, LabelOptions, PrefixIconOptions,
SuffixIconOptions
} from '@ohos.arkui.advanced.Chip';
import {
IconOptions, LabelOptions as ChipItemLabelOptions, ChipGroupItemOptions, ChipItemStyle, ChipGroupSpaceOptions, IconItemOptions, IconGroupSuffix, ChipGroup
} from '@ohos.arkui.advanced.ChipGroup';
import {
ComposeListItem, ContentItem, IconType, OperateButton, OperateCheck, OperateIcon, OperateItem
} from '@ohos.arkui.advanced.ComposeListItem';
import { ComposeTitleBar, ComposeTitleBarMenuItem } from '@ohos.arkui.advanced.ComposeTitleBar';
import { CounterComponent, CounterOptions, CounterType, DateData } from '@ohos.arkui.advanced.Counter';
import {
AlertDialog, ButtonOptions, ConfirmDialog, LoadingDialog, SelectDialog, TipsDialog, CustomContentDialog
} from '@ohos.arkui.advanced.Dialog';
import {
EditableLeftIconType, EditableTitleBar, EditableTitleBarMenuItem
} from '@ohos.arkui.advanced.EditableTitleBar';
import { MarginType, PromptOptions, ExceptionPrompt } from '@ohos.arkui.advanced.ExceptionPrompt';
import { Filter, FilterParams, FilterResult, FilterType } from '@ohos.arkui.advanced.Filter';
import { GridObjectSortComponentType, GridObjectSortComponentItem, GridObjectSortComponentOptions, GridObjectSortComponent } from '@ohos.arkui.advanced.GridObjectSortComponent';
import {
Popup, PopupButtonOptions, PopupIconOptions, PopupOptions, PopupTextOptions
} from '@ohos.arkui.advanced.Popup';
import { ProgressButton } from '@ohos.arkui.advanced.ProgressButton';
import {
CapsuleSegmentButtonConstructionOptions, CapsuleSegmentButtonOptions, SegmentButton,
SegmentButtonItemOptionsArray, SegmentButtonOptions, TabSegmentButtonConstructionOptions, TabSegmentButtonOptions
} from '@ohos.arkui.advanced.SegmentButton';
import {
EditorEventInfo, EditorMenuOptions, ExpandedMenuOptions, SelectionMenu, SelectionMenuOptions
} from '@ohos.arkui.advanced.SelectionMenu';
import { SelectTitleBar, SelectTitleBarMenuItem } from '@ohos.arkui.advanced.SelectTitleBar';
import { SplitLayout } from '@ohos.arkui.advanced.SplitLayout';
import { OperationOption, OperationType, SelectOptions, SubHeader } from '@ohos.arkui.advanced.SubHeader';
import { SwipeRefresher } from '@ohos.arkui.advanced.SwipeRefresher';
import { TabTitleBar, TabTitleBarMenuItem, TabTitleBarTabItem } from '@ohos.arkui.advanced.TabTitleBar';
import { ItemState, ToolBar, ToolBarOption, ToolBarOptions } from '@ohos.arkui.advanced.ToolBar';
import {
CallbackParam, NodeParam, TreeController, TreeListenType, TreeListener, TreeListenerManager, TreeView
} from '@ohos.arkui.advanced.TreeView';
import componentSnapshot from '@ohos.arkui.componentSnapshot';
import componentUtils from '@ohos.arkui.componentUtils';
import dragController from '@ohos.arkui.dragController';
import { DrawableDescriptor, LayeredDrawableDescriptor } from '@ohos.arkui.drawableDescriptor';
import inspector from '@ohos.arkui.inspector';
import { NodeRenderType, RenderOptions, BuilderNode, NodeController, FrameNode, DrawContext, Size, Offset, Position, Pivot, Scale, Translation, Matrix4, Rotation, Frame, RenderNode, XComponentNode, ComponentContent } from '@ohos.arkui.node';
import uiObserver from '@ohos.arkui.observer';
import performanceMonitor from '@ohos.arkui.performanceMonitor';
import { RectShape, CircleShape, EllipseShape, PathShape } from '@ohos.arkui.shape';
import {
AtomicServiceBar, ComponentUtils, DragController, Font, KeyboardAvoidMode, MediaQuery, OverlayManager, PromptAction, Router,
UIContext, UIInspector, UIObserver
} from '@ohos.arkui.UIContext';
import curves from '@ohos.curves';
import dragInteraction from '@ohos.deviceStatus.dragInteraction';
import display from '@ohos.display';
import font from '@ohos.font';
import matrix4 from '@ohos.matrix4';
import MeasureText, { MeasureOptions } from '@ohos.measure';
import mediaquery from '@ohos.mediaquery';
import PiPWindow from '@ohos.PiPWindow';
import pluginComponentManager from '@ohos.pluginComponent';
import prompt from '@ohos.prompt';
import promptAction from '@ohos.promptAction';
import router from '@ohos.router';
import screen from '@ohos.screen';
import screenshot from '@ohos.screenshot';
import uiAppearance from '@ohos.uiAppearance';
import uiExtensionHost from '@ohos.uiExtensionHost';
import window from '@ohos.window';
import App, { AppResponse, RequestFullWindowOptions, ScreenOnVisibleOptions } from '@system.app';
import Configuration, { LocaleResponse } from '@system.configuration';
import SystemMediaQuery, { MediaQueryEvent, MediaQueryList } from '@system.mediaquery';
import Prompt, {
Button, ShowActionMenuOptions, ShowDialogOptions, ShowDialogSuccessResponse,
ShowToastOptions
} from '@system.prompt';
import SystemRouter, {
BackRouterOptions, DisableAlertBeforeBackPageOptions, EnableAlertBeforeBackPageOptions,
RouterOptions, RouterState
} from '@system.router';
export {
AlertDialog, Animator, AnimatorOptions, AnimatorResult, App, AppResponse, AtomicServiceBar,
BackRouterOptions, BuilderNode, Button, ButtonOptions, CallbackParam,
CapsuleSegmentButtonConstructionOptions, CapsuleSegmentButtonOptions, Chip, ChipOptions, ChipSize, CircleShape, ComponentUtils,
ComposeListItem, ComposeTitleBar, ComposeTitleBarMenuItem, Configuration, ConfirmDialog, ContentItem,
CounterComponent, CounterOptions, CounterType, DateData, DisableAlertBeforeBackPageOptions, DragController,
DrawableDescriptor, DrawContext, EditableLeftIconType, EditableTitleBar, EditableTitleBarMenuItem, EditorEventInfo,
EditorMenuOptions, EllipseShape, EnableAlertBeforeBackPageOptions, ExceptionPrompt, ExpandedMenuOptions, Filter, FilterParams, FilterResult,
FilterType, Font, Frame, FrameNode, GridObjectSortComponent, GridObjectSortComponentItem, GridObjectSortComponentOptions,
GridObjectSortComponentType, IconCommonOptions, IconType, ItemState, KeyboardAvoidMode, LabelMarginOptions,
LabelOptions, LayeredDrawableDescriptor, LoadingDialog, LocaleResponse, MarginType, Matrix4, MeasureOptions, MeasureText,
MediaQuery, MediaQueryEvent, MediaQueryList, NodeController, NodeParam, NodeRenderType, Offset, OperateButton, OperateCheck, OperateIcon,
OperateItem, OperationOption, OperationType, OverlayManager, PathShape, PiPWindow, Pivot, Popup, PopupButtonOptions, PopupIconOptions, PopupOptions,
PopupTextOptions, Position, PrefixIconOptions, ProgressButton, Prompt, PromptAction, PromptOptions, RectShape, RenderNode, RenderOptions,
RequestFullWindowOptions, Rotation, Router, RouterOptions, RouterState, Scale, ScreenOnVisibleOptions, SegmentButton, SegmentButtonItemOptionsArray,
SegmentButtonOptions, SelectDialog, SelectOptions, SelectTitleBar, SelectTitleBarMenuItem, SelectionMenu,
SelectionMenuOptions, ShowActionMenuOptions, ShowDialogOptions, ShowDialogSuccessResponse,
ShowToastOptions, Size, SplitLayout, SubHeader, SuffixIconOptions, SwipeRefresher, SystemMediaQuery, SystemRouter,
TabSegmentButtonConstructionOptions, TabSegmentButtonOptions, TabTitleBar, TabTitleBarMenuItem, TabTitleBarTabItem,
TipsDialog, ToolBar, ToolBarOption, ToolBarOptions, Translation, TreeController, TreeListenType, TreeListener,
TreeListenerManager, TreeView, UIContext, UIInspector, UIObserver, WindowExtensionAbility,
WindowExtensionContext, XComponentNode, ComponentContent, componentSnapshot, componentUtils, curves, display, dragController, dragInteraction,
font, inspector, matrix4, mediaquery, performanceMonitor, pluginComponentManager, prompt, promptAction, router,
screen, screenshot, uiAppearance, uiExtensionHost, uiObserver, window, windowAnimationManager, CustomContentDialog,
IconOptions, ChipItemLabelOptions, ChipGroupItemOptions, ChipItemStyle, ChipGroupSpaceOptions, IconItemOptions, IconGroupSuffix, ChipGroup
};