From 14501da3708eb45e4ce7efc9fc6235a69ceed1c3 Mon Sep 17 00:00:00 2001 From: Corina Gum <> Date: Wed, 18 Mar 2026 12:08:59 -0700 Subject: [PATCH 1/9] Deprecate actions that now have generated replacements --- packages/cards/src/actions/submit/im-back.ts | 12 ++++++++++++ packages/cards/src/actions/submit/invoke.ts | 12 ++++++++++++ packages/cards/src/actions/submit/message-back.ts | 12 ++++++++++++ packages/cards/src/actions/submit/sign-in.ts | 12 ++++++++++++ packages/cards/src/actions/submit/task-fetch.ts | 12 ++++++++++++ 5 files changed, 60 insertions(+) diff --git a/packages/cards/src/actions/submit/im-back.ts b/packages/cards/src/actions/submit/im-back.ts index 9c5219284..466a60ed0 100644 --- a/packages/cards/src/actions/submit/im-back.ts +++ b/packages/cards/src/actions/submit/im-back.ts @@ -4,6 +4,9 @@ import { MSTeamsData } from './ms-teams-data'; export type IMBackActionOptions = SubmitActionOptions & { data: MSTeamsData }; +/** + * @deprecated This type is deprecated. Please use {@link IImBackSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export interface IIMBackAction extends ISubmitAction { /** * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties. @@ -11,6 +14,9 @@ export interface IIMBackAction extends ISubmitAction { data: MSTeamsData; } +/** + * @deprecated This class is deprecated. Please use {@link ImBackSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export class IMBackAction extends SubmitAction implements IIMBackAction { /** * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties. @@ -38,6 +44,9 @@ export class IMBackAction extends SubmitAction implements IIMBackAction { } } +/** + * @deprecated This type is deprecated. Please use {@link IImBackSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export interface IIMBackData { type: 'imBack'; @@ -47,6 +56,9 @@ export interface IIMBackData { value: string; } +/** + * @deprecated This class is deprecated. Please use {@link ImBackSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export class IMBackData implements IIMBackData { type: 'imBack'; diff --git a/packages/cards/src/actions/submit/invoke.ts b/packages/cards/src/actions/submit/invoke.ts index 84892bf36..277b6a5bd 100644 --- a/packages/cards/src/actions/submit/invoke.ts +++ b/packages/cards/src/actions/submit/invoke.ts @@ -4,6 +4,9 @@ import { MSTeamsData } from './ms-teams-data'; export type InvokeActionOptions = SubmitActionOptions & { data: MSTeamsData }; +/** + * @deprecated This type is deprecated. Please use {@link IInvokeSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export interface IInvokeAction extends ISubmitAction { /** * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties. @@ -11,6 +14,9 @@ export interface IInvokeAction extends ISubmitAction { data: MSTeamsData; } +/** + * @deprecated This class is deprecated. Please use {@link InvokeSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export class InvokeAction extends SubmitAction implements IInvokeAction { /** * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties. @@ -38,6 +44,9 @@ export class InvokeAction extends SubmitAction implements IInvokeAction { } } +/** + * @deprecated This type is deprecated. Please use {@link IInvokeSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export interface IInvokeData { type: 'invoke'; @@ -47,6 +56,9 @@ export interface IInvokeData { value?: any; } +/** + * @deprecated This class is deprecated. Please use {@link InvokeSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export class InvokeData implements IInvokeData { type: 'invoke'; diff --git a/packages/cards/src/actions/submit/message-back.ts b/packages/cards/src/actions/submit/message-back.ts index b01cdccb0..54de4555d 100644 --- a/packages/cards/src/actions/submit/message-back.ts +++ b/packages/cards/src/actions/submit/message-back.ts @@ -6,6 +6,9 @@ export type MessageBackActionOptions = SubmitActionOptions & { data: MSTeamsData; }; +/** + * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export interface IMessageBackAction extends ISubmitAction { /** * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties. @@ -13,6 +16,9 @@ export interface IMessageBackAction extends ISubmitAction { data: MSTeamsData; } +/** + * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export class MessageBackAction extends SubmitAction implements IMessageBackAction { /** * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties. @@ -37,6 +43,9 @@ export class MessageBackAction extends SubmitAction implements IMessageBackActio } } +/** + * @deprecated This type is deprecated. Please use {@link IMessageBackSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export interface IMessageBackData { type: 'messageBack'; @@ -58,6 +67,9 @@ export interface IMessageBackData { value: string; } +/** + * @deprecated This class is deprecated. Please use {@link MessageBackSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export class MessageBackData implements IMessageBackData { type: 'messageBack'; diff --git a/packages/cards/src/actions/submit/sign-in.ts b/packages/cards/src/actions/submit/sign-in.ts index facdf9cb9..84bb429da 100644 --- a/packages/cards/src/actions/submit/sign-in.ts +++ b/packages/cards/src/actions/submit/sign-in.ts @@ -4,6 +4,9 @@ import { MSTeamsData } from './ms-teams-data'; export type SignInActionOptions = SubmitActionOptions & { data: MSTeamsData }; +/** + * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export interface ISignInAction extends ISubmitAction { /** * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties. @@ -11,6 +14,9 @@ export interface ISignInAction extends ISubmitAction { data: MSTeamsData; } +/** + * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export class SignInAction extends SubmitAction implements ISignInAction { /** * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties. @@ -38,6 +44,9 @@ export class SignInAction extends SubmitAction implements ISignInAction { } } +/** + * @deprecated This type is deprecated. Please use {@link ISigninSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export interface ISignInData { type: 'signin'; @@ -47,6 +56,9 @@ export interface ISignInData { value: string; } +/** + * @deprecated This class is deprecated. Please use {@link SigninSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export class SignInData implements ISignInData { type: 'signin'; diff --git a/packages/cards/src/actions/submit/task-fetch.ts b/packages/cards/src/actions/submit/task-fetch.ts index 8bda1f414..b84e6855f 100644 --- a/packages/cards/src/actions/submit/task-fetch.ts +++ b/packages/cards/src/actions/submit/task-fetch.ts @@ -11,6 +11,9 @@ export type TaskFetchDataValues = { type?: never; }; +/** + * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export interface ITaskFetchAction extends ISubmitAction { /** * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties. @@ -18,6 +21,9 @@ export interface ITaskFetchAction extends ISubmitAction { data: MSTeamsData; } +/** + * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export class TaskFetchAction extends SubmitAction implements ITaskFetchAction { /** * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties. @@ -50,10 +56,16 @@ export class TaskFetchAction extends SubmitAction implements ITaskFetchAction { } } +/** + * @deprecated This type is deprecated. Please use {@link ITaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export interface ITaskFetchData { type: 'task/fetch'; } +/** + * @deprecated This class is deprecated. Please use {@link TaskFetchSubmitActionData} instead. This will be removed in a future version of the SDK. + */ export class TaskFetchData implements MSTeamsData { msteams = { type: 'task/fetch' as const, From 5603f87897e5892fb877b89fbab83db3e327df1d Mon Sep 17 00:00:00 2001 From: Corina Gum <> Date: Wed, 18 Mar 2026 12:14:51 -0700 Subject: [PATCH 2/9] Remove manually created ITabInfo in favor of generated version --- packages/cards/src/common/index.ts | 1 - packages/cards/src/common/tab-info.ts | 24 ------------------------ packages/cards/src/index.ts | 1 - 3 files changed, 26 deletions(-) delete mode 100644 packages/cards/src/common/index.ts delete mode 100644 packages/cards/src/common/tab-info.ts diff --git a/packages/cards/src/common/index.ts b/packages/cards/src/common/index.ts deleted file mode 100644 index 4725e4672..000000000 --- a/packages/cards/src/common/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './tab-info'; diff --git a/packages/cards/src/common/tab-info.ts b/packages/cards/src/common/tab-info.ts deleted file mode 100644 index 4c0ebd4ef..000000000 --- a/packages/cards/src/common/tab-info.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * Information about the content to embed in an iFrame. - */ -export interface ITabInfo { - /** - * The URL to open in an iFrame. - */ - contentUrl: string; - - /** - * Optional. Website URL to the content, allowing users to open this content in the browser (if they prefer). - */ - websiteUrl?: string; - - /** - * Name for the content. This will be displayed as the title of the window hosting the iFrame. - */ - name: string; - - /** - * Unique entity id for this content (e.g., random UUID). - */ - entityId: string; -} diff --git a/packages/cards/src/index.ts b/packages/cards/src/index.ts index 64eb2e15c..34bf35ad7 100644 --- a/packages/cards/src/index.ts +++ b/packages/cards/src/index.ts @@ -1,3 +1,2 @@ export * from './core'; export * from './actions'; -export * from './common'; From 0f4d660fe33a2fa32d7b4d818f665ac70529aa72 Mon Sep 17 00:00:00 2001 From: Corina Gum <> Date: Wed, 18 Mar 2026 12:16:31 -0700 Subject: [PATCH 3/9] Updated CollabStageAction to use generated types --- .../src/actions/submit/collab-stage.spec.ts | 23 ++-- .../cards/src/actions/submit/collab-stage.ts | 114 +++++------------- 2 files changed, 47 insertions(+), 90 deletions(-) diff --git a/packages/cards/src/actions/submit/collab-stage.spec.ts b/packages/cards/src/actions/submit/collab-stage.spec.ts index 6e3e25277..cf3f1f612 100644 --- a/packages/cards/src/actions/submit/collab-stage.spec.ts +++ b/packages/cards/src/actions/submit/collab-stage.spec.ts @@ -1,14 +1,19 @@ -import { CollabStageAction, CollabStageData, CollabStageValueData } from './collab-stage'; +import { CollabStageAction } from './collab-stage'; +import { CollabStageInvokeDataValue, InvokeSubmitActionData, SubmitActionData } from '../../core'; describe('Actions.Submit.CollabStage', () => { it('should build', () => { - const action = new CollabStageAction().withData(new CollabStageData()).withValue({ + const action = new CollabStageAction().withData( + new InvokeSubmitActionData(undefined) + ).withValue({ name: 'test', entityId: 'test', contentUrl: 'http://localhost/tabs/test', }); - expect(action.data.msteams.value?.tabInfo).toEqual({ + const msteams = action.data.msteams as InvokeSubmitActionData; + const value = msteams.value as CollabStageInvokeDataValue; + expect(value.tabInfo).toEqual({ name: 'test', entityId: 'test', contentUrl: 'http://localhost/tabs/test', @@ -17,18 +22,20 @@ describe('Actions.Submit.CollabStage', () => { it('should build from interface', () => { const action = CollabStageAction.from({ - data: { - msteams: new CollabStageData( - new CollabStageValueData({ + data: new SubmitActionData({ + msteams: new InvokeSubmitActionData( + new CollabStageInvokeDataValue({ name: 'test', entityId: 'test', contentUrl: 'http://localhost/tabs/test', }) ), - }, + }), }); - expect(action.data.msteams.value?.tabInfo).toEqual({ + const msteams = action.data.msteams as InvokeSubmitActionData; + const value = msteams.value as CollabStageInvokeDataValue; + expect(value.tabInfo).toEqual({ name: 'test', entityId: 'test', contentUrl: 'http://localhost/tabs/test', diff --git a/packages/cards/src/actions/submit/collab-stage.ts b/packages/cards/src/actions/submit/collab-stage.ts index e7cf9f69c..74c278a2a 100644 --- a/packages/cards/src/actions/submit/collab-stage.ts +++ b/packages/cards/src/actions/submit/collab-stage.ts @@ -1,11 +1,18 @@ -import { ITabInfo } from '../../common'; - -import { ISubmitAction, SubmitAction, SubmitActionOptions } from '../../core'; - -import { MSTeamsData } from './ms-teams-data'; +import { + CollabStageInvokeDataValue, + ICollabStageInvokeDataValue, + IInvokeSubmitActionData, + InvokeSubmitActionData, + ISubmitAction, + ISubmitActionData, + ITabInfo, + SubmitAction, + SubmitActionData, + SubmitActionOptions, +} from '../../core'; export type CollabStageActionOptions = SubmitActionOptions & { - data: MSTeamsData; + data: ISubmitActionData; }; /** @@ -13,9 +20,9 @@ export type CollabStageActionOptions = SubmitActionOptions & { */ export interface ICollabStageAction extends ISubmitAction { /** - * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties. + * Initial data that input fields will be combined with. These are essentially 'hidden' properties. */ - data: MSTeamsData; + data: ISubmitActionData; } /** @@ -23,95 +30,38 @@ export interface ICollabStageAction extends ISubmitAction { */ export class CollabStageAction extends SubmitAction implements ICollabStageAction { /** - * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties. + * Initial data that input fields will be combined with. These are essentially 'hidden' properties. */ - data: MSTeamsData; + data: ISubmitActionData; constructor(tab?: ITabInfo, options: SubmitActionOptions = {}) { super(options); Object.assign(this, options); - this.data = { - msteams: { - type: 'invoke', - value: tab - ? { - type: 'tab/tabInfoAction', - tabInfo: tab, - } + this.data = new SubmitActionData({ + msteams: new InvokeSubmitActionData( + tab + ? new CollabStageInvokeDataValue(tab) : undefined, - }, - }; + ), + }); } static from(options: CollabStageActionOptions) { - return new CollabStageAction(options.data.msteams.value?.tabInfo, options); + const msteams = options.data.msteams as IInvokeSubmitActionData | undefined; + const value = msteams?.value as ICollabStageInvokeDataValue | undefined; + return new CollabStageAction(value?.tabInfo, options); } - withData(value: ICollabStageData) { - super.withData({ msteams: value }); + withData(value: IInvokeSubmitActionData) { + super.withData(new SubmitActionData({ msteams: value })); return this; } withValue(value: ITabInfo) { - this.data.msteams.value = new CollabStageValueData(value); + const msteams = this.data.msteams as IInvokeSubmitActionData | undefined; + if (msteams) { + msteams.value = new CollabStageInvokeDataValue(value); + } return this; } } - -/** - * Contains the Adaptive Card action data in {@link CollabStageAction}. - */ -export interface ICollabStageData { - type: 'invoke'; - - /** - * Set the value to send with the invoke - */ - value?: ICollabStageValueData; -} - -/** - * Contains the Adaptive Card action data in {@link CollabStageAction}. - */ -export class CollabStageData implements ICollabStageData { - type: 'invoke'; - - /** - * Set the value to send with the invoke - */ - value?: ICollabStageValueData; - - constructor(value?: ICollabStageValueData) { - this.type = 'invoke'; - this.value = value; - } -} - -/** - * Contains the Adaptive Card action value data in {@link CollabStageActionData}. - */ -export interface ICollabStageValueData { - type: 'tab/tabInfoAction'; - - /** - * Information about the iFrame content, rendered in the collab stage popout window. - */ - tabInfo: ITabInfo; -} - -/** - * Contains the Adaptive Card action value data in {@link CollabStageActionData}. - */ -export class CollabStageValueData implements ICollabStageValueData { - type: 'tab/tabInfoAction'; - - /** - * Information about the iFrame content, rendered in the collab stage popout window. - */ - tabInfo: ITabInfo; - - constructor(tab: ITabInfo) { - this.type = 'tab/tabInfoAction'; - this.tabInfo = tab; - } -} From 9a678184b812850a5edeaf54d62250703a97866f Mon Sep 17 00:00:00 2001 From: Corina Gum <> Date: Wed, 18 Mar 2026 16:04:17 -0700 Subject: [PATCH 4/9] Apply 3/18 generated core --- .../cards/src/actions/submit/collab-stage.ts | 4 +- packages/cards/src/core.ts | 14894 +++++++++------- 2 files changed, 8172 insertions(+), 6726 deletions(-) diff --git a/packages/cards/src/actions/submit/collab-stage.ts b/packages/cards/src/actions/submit/collab-stage.ts index 74c278a2a..a0da237df 100644 --- a/packages/cards/src/actions/submit/collab-stage.ts +++ b/packages/cards/src/actions/submit/collab-stage.ts @@ -40,7 +40,7 @@ export class CollabStageAction extends SubmitAction implements ICollabStageActio this.data = new SubmitActionData({ msteams: new InvokeSubmitActionData( tab - ? new CollabStageInvokeDataValue(tab) + ? new CollabStageInvokeDataValue({ tabInfo: tab }) : undefined, ), }); @@ -60,7 +60,7 @@ export class CollabStageAction extends SubmitAction implements ICollabStageActio withValue(value: ITabInfo) { const msteams = this.data.msteams as IInvokeSubmitActionData | undefined; if (msteams) { - msteams.value = new CollabStageInvokeDataValue(value); + msteams.value = new CollabStageInvokeDataValue({ tabInfo: value }); } return this; } diff --git a/packages/cards/src/core.ts b/packages/cards/src/core.ts index ba582596f..a76e1e83d 100644 --- a/packages/cards/src/core.ts +++ b/packages/cards/src/core.ts @@ -1,2863 +1,146 @@ - - -/* - This file was automatically generated by a tool on 05/02/2025, 4:26 PM UTC. - It includes declarations for Adaptive Card features available in Teams. -*/ -export type CardElement = - | IContainer - | IActionSet - | IColumnSet - | IMedia - | IRichTextBlock - | ITable - | ITextBlock - | IFactSet - | IImageSet - | IImage - | ITextInput - | IDateInput - | ITimeInput - | INumberInput - | IToggleInput - | IChoiceSetInput - | IRatingInput - | IRating - | ICompoundButton - | IIcon - | ICarousel - | IBadge - | IDonutChart - | IPieChart - | IGroupedVerticalBarChart - | IVerticalBarChart - | IHorizontalBarChart - | IStackedHorizontalBarChart - | ILineChart - | IGaugeChart - | ICodeBlock - | IComUserMicrosoftGraphComponent - | IComUsersMicrosoftGraphComponent - | IComResourceMicrosoftGraphComponent - | IComFileMicrosoftGraphComponent - | IComEventMicrosoftGraphComponent; - -export type CardAction = - | ISubmitAction - | IOpenUrlAction - | IExecuteAction - | IToggleVisibilityAction - | IShowCardAction - | IResetInputsAction; - -export type IconName = - | 'AccessTime' - | 'Accessibility' - | 'AccessibilityCheckmark' - | 'Add' - | 'AddCircle' - | 'AddSquare' - | 'AddSquareMultiple' - | 'AddSubtractCircle' - | 'Airplane' - | 'AirplaneLanding' - | 'AirplaneTakeOff' - | 'Album' - | 'AlbumAdd' - | 'Alert' - | 'AlertBadge' - | 'AlertOff' - | 'AlertOn' - | 'AlertSnooze' - | 'AlertUrgent' - | 'AlignBottom' - | 'AlignCenterHorizontal' - | 'AlignCenterVertical' - | 'AlignDistributeBottom' - | 'AlignDistributeLeft' - | 'AlignDistributeRight' - | 'AlignDistributeTop' - | 'AlignEndHorizontal' - | 'AlignEndVertical' - | 'AlignLeft' - | 'AlignRight' - | 'AlignSpaceAroundHorizontal' - | 'AlignSpaceAroundVertical' - | 'AlignSpaceBetweenHorizontal' - | 'AlignSpaceBetweenVertical' - | 'AlignSpaceEvenlyHorizontal' - | 'AlignSpaceEvenlyVertical' - | 'AlignSpaceFitVertical' - | 'AlignStartHorizontal' - | 'AlignStartVertical' - | 'AlignStraighten' - | 'AlignStretchHorizontal' - | 'AlignStretchVertical' - | 'AlignTop' - | 'AnimalCat' - | 'AnimalDog' - | 'AnimalRabbit' - | 'AnimalRabbitOff' - | 'AnimalTurtle' - | 'AppFolder' - | 'AppGeneric' - | 'AppRecent' - | 'AppStore' - | 'AppTitle' - | 'ApprovalsApp' - | 'Apps' - | 'AppsAddIn' - | 'AppsList' - | 'AppsListDetail' - | 'Archive' - | 'ArchiveArrowBack' - | 'ArchiveMultiple' - | 'ArchiveSettings' - | 'ArrowAutofitContent' - | 'ArrowAutofitDown' - | 'ArrowAutofitHeight' - | 'ArrowAutofitHeightDotted' - | 'ArrowAutofitHeightIn' - | 'ArrowAutofitUp' - | 'ArrowAutofitWidth' - | 'ArrowAutofitWidthDotted' - | 'ArrowBetweenDown' - | 'ArrowBetweenUp' - | 'ArrowBidirectionalLeftRight' - | 'ArrowBidirectionalUpDown' - | 'ArrowBounce' - | 'ArrowCircleDown' - | 'ArrowCircleDownDouble' - | 'ArrowCircleDownRight' - | 'ArrowCircleDownSplit' - | 'ArrowCircleDownUp' - | 'ArrowCircleLeft' - | 'ArrowCircleRight' - | 'ArrowCircleUp' - | 'ArrowCircleUpLeft' - | 'ArrowCircleUpRight' - | 'ArrowClockwise' - | 'ArrowClockwiseDashes' - | 'ArrowCollapseAll' - | 'ArrowCounterclockwise' - | 'ArrowCounterclockwiseDashes' - | 'ArrowCurveDownLeft' - | 'ArrowCurveDownRight' - | 'ArrowCurveUpLeft' - | 'ArrowCurveUpRight' - | 'ArrowDown' - | 'ArrowDownExclamation' - | 'ArrowDownLeft' - | 'ArrowDownload' - | 'ArrowDownloadOff' - | 'ArrowEject' - | 'ArrowEnter' - | 'ArrowEnterLeft' - | 'ArrowEnterUp' - | 'ArrowExit' - | 'ArrowExpand' - | 'ArrowExport' - | 'ArrowExportLtr' - | 'ArrowExportRtl' - | 'ArrowExportUp' - | 'ArrowFit' - | 'ArrowFitIn' - | 'ArrowFlowDiagonalUpRight' - | 'ArrowFlowUpRight' - | 'ArrowFlowUpRightRectangleMultiple' - | 'ArrowForward' - | 'ArrowForwardDownLightning' - | 'ArrowForwardDownPerson' - | 'ArrowHookDownLeft' - | 'ArrowHookDownRight' - | 'ArrowHookUpLeft' - | 'ArrowHookUpRight' - | 'ArrowImport' - | 'ArrowJoin' - | 'ArrowLeft' - | 'ArrowMaximize' - | 'ArrowMaximizeVertical' - | 'ArrowMinimize' - | 'ArrowMinimizeVertical' - | 'ArrowMove' - | 'ArrowMoveInward' - | 'ArrowNext' - | 'ArrowOutlineDownLeft' - | 'ArrowOutlineUpRight' - | 'ArrowParagraph' - | 'ArrowPrevious' - | 'ArrowRedo' - | 'ArrowRepeat1' - | 'ArrowRepeatAll' - | 'ArrowRepeatAllOff' - | 'ArrowReply' - | 'ArrowReplyAll' - | 'ArrowReplyDown' - | 'ArrowReset' - | 'ArrowRight' - | 'ArrowRotateClockwise' - | 'ArrowRotateCounterclockwise' - | 'ArrowRouting' - | 'ArrowRoutingRectangleMultiple' - | 'ArrowShuffle' - | 'ArrowShuffleOff' - | 'ArrowSort' - | 'ArrowSortDown' - | 'ArrowSortDownLines' - | 'ArrowSortUp' - | 'ArrowSplit' - | 'ArrowSprint' - | 'ArrowSquareDown' - | 'ArrowSquareUpRight' - | 'ArrowStepBack' - | 'ArrowStepIn' - | 'ArrowStepInDiagonalDownLeft' - | 'ArrowStepInLeft' - | 'ArrowStepInRight' - | 'ArrowStepOut' - | 'ArrowStepOver' - | 'ArrowSwap' - | 'ArrowSync' - | 'ArrowSyncCheckmark' - | 'ArrowSyncCircle' - | 'ArrowSyncDismiss' - | 'ArrowSyncOff' - | 'ArrowTrending' - | 'ArrowTrendingCheckmark' - | 'ArrowTrendingDown' - | 'ArrowTrendingLines' - | 'ArrowTrendingSettings' - | 'ArrowTrendingSparkle' - | 'ArrowTrendingText' - | 'ArrowTrendingWrench' - | 'ArrowTurnBidirectionalDownRight' - | 'ArrowTurnDownLeft' - | 'ArrowTurnDownRight' - | 'ArrowTurnDownUp' - | 'ArrowTurnLeftDown' - | 'ArrowTurnLeftRight' - | 'ArrowTurnLeftUp' - | 'ArrowTurnRight' - | 'ArrowTurnRightDown' - | 'ArrowTurnRightLeft' - | 'ArrowTurnRightUp' - | 'ArrowTurnUpDown' - | 'ArrowTurnUpLeft' - | 'ArrowUndo' - | 'ArrowUp' - | 'ArrowUpLeft' - | 'ArrowUpRight' - | 'ArrowUpRightDashes' - | 'ArrowUpSquareSettings' - | 'ArrowUpload' - | 'ArrowWrap' - | 'ArrowWrapOff' - | 'ArrowsBidirectional' - | 'Attach' - | 'AttachArrowRight' - | 'AttachText' - | 'AutoFitHeight' - | 'AutoFitWidth' - | 'Autocorrect' - | 'Autosum' - | 'Backpack' - | 'BackpackAdd' - | 'Backspace' - | 'Badge' - | 'Balloon' - | 'BarcodeScanner' - | 'Battery0' - | 'Battery10' - | 'Battery1' - | 'Battery2' - | 'Battery3' - | 'Battery4' - | 'Battery5' - | 'Battery6' - | 'Battery7' - | 'Battery8' - | 'Battery9' - | 'BatteryCharge' - | 'BatteryCheckmark' - | 'BatterySaver' - | 'BatteryWarning' - | 'Beach' - | 'Beaker' - | 'BeakerAdd' - | 'BeakerDismiss' - | 'BeakerEdit' - | 'BeakerEmpty' - | 'BeakerOff' - | 'BeakerSettings' - | 'Bed' - | 'BezierCurveSquare' - | 'BinFull' - | 'BinRecycle' - | 'BinRecycleFull' - | 'BinderTriangle' - | 'Bluetooth' - | 'BluetoothConnected' - | 'BluetoothDisabled' - | 'BluetoothSearching' - | 'Blur' - | 'Board' - | 'BoardGames' - | 'BoardHeart' - | 'BoardSplit' - | 'Book' - | 'BookAdd' - | 'BookArrowClockwise' - | 'BookClock' - | 'BookCoins' - | 'BookCompass' - | 'BookContacts' - | 'BookDatabase' - | 'BookDefault' - | 'BookDismiss' - | 'BookExclamationMark' - | 'BookGlobe' - | 'BookInformation' - | 'BookLetter' - | 'BookNumber' - | 'BookOpen' - | 'BookOpenGlobe' - | 'BookOpenMicrophone' - | 'BookPulse' - | 'BookQuestionMark' - | 'BookQuestionMarkRtl' - | 'BookSearch' - | 'BookStar' - | 'BookTemplate' - | 'BookTheta' - | 'BookToolbox' - | 'Bookmark' - | 'BookmarkAdd' - | 'BookmarkMultiple' - | 'BookmarkOff' - | 'BookmarkSearch' - | 'BorderAll' - | 'BorderBottom' - | 'BorderBottomDouble' - | 'BorderBottomThick' - | 'BorderInside' - | 'BorderLeft' - | 'BorderLeftRight' - | 'BorderNone' - | 'BorderOutside' - | 'BorderOutsideThick' - | 'BorderRight' - | 'BorderTop' - | 'BorderTopBottom' - | 'BorderTopBottomDouble' - | 'BorderTopBottomThick' - | 'Bot' - | 'BotAdd' - | 'BotSparkle' - | 'BowTie' - | 'BowlChopsticks' - | 'BowlSalad' - | 'Box' - | 'BoxArrowLeft' - | 'BoxArrowUp' - | 'BoxCheckmark' - | 'BoxDismiss' - | 'BoxEdit' - | 'BoxMultiple' - | 'BoxMultipleArrowLeft' - | 'BoxMultipleArrowRight' - | 'BoxMultipleCheckmark' - | 'BoxMultipleSearch' - | 'BoxSearch' - | 'BoxToolbox' - | 'Braces' - | 'BracesCheckmark' - | 'BracesDismiss' - | 'BracesVariable' - | 'BrainCircuit' - | 'Branch' - | 'BranchCompare' - | 'BranchFork' - | 'BranchForkHint' - | 'BranchForkLink' - | 'BranchRequest' - | 'BreakoutRoom' - | 'Briefcase' - | 'BriefcaseMedical' - | 'BriefcaseOff' - | 'BriefcasePerson' - | 'BriefcaseSearch' - | 'BrightnessHigh' - | 'BrightnessLow' - | 'BroadActivityFeed' - | 'Broom' - | 'BubbleMultiple' - | 'Bug' - | 'BugArrowCounterclockwise' - | 'BugProhibited' - | 'Building' - | 'BuildingBank' - | 'BuildingBankLink' - | 'BuildingBankToolbox' - | 'BuildingCloud' - | 'BuildingDesktop' - | 'BuildingFactory' - | 'BuildingGovernment' - | 'BuildingGovernmentSearch' - | 'BuildingHome' - | 'BuildingLighthouse' - | 'BuildingMosque' - | 'BuildingMultiple' - | 'BuildingPeople' - | 'BuildingRetail' - | 'BuildingRetailMoney' - | 'BuildingRetailMore' - | 'BuildingRetailShield' - | 'BuildingRetailToolbox' - | 'BuildingShop' - | 'BuildingSkyscraper' - | 'BuildingSwap' - | 'BuildingTownhouse' - | 'Button' - | 'Calculator' - | 'CalculatorArrowClockwise' - | 'CalculatorMultiple' - | 'Calendar' - | 'Calendar3Day' - | 'CalendarAdd' - | 'CalendarAgenda' - | 'CalendarArrowCounterclockwise' - | 'CalendarArrowDown' - | 'CalendarArrowRight' - | 'CalendarAssistant' - | 'CalendarCancel' - | 'CalendarChat' - | 'CalendarCheckmark' - | 'CalendarClock' - | 'CalendarDataBar' - | 'CalendarDate' - | 'CalendarDay' - | 'CalendarEdit' - | 'CalendarEmpty' - | 'CalendarError' - | 'CalendarEye' - | 'CalendarInfo' - | 'CalendarLink' - | 'CalendarLock' - | 'CalendarLtr' - | 'CalendarMail' - | 'CalendarMention' - | 'CalendarMonth' - | 'CalendarMultiple' - | 'CalendarNote' - | 'CalendarPattern' - | 'CalendarPerson' - | 'CalendarPhone' - | 'CalendarPlay' - | 'CalendarQuestionMark' - | 'CalendarRecord' - | 'CalendarReply' - | 'CalendarRtl' - | 'CalendarSearch' - | 'CalendarSettings' - | 'CalendarShield' - | 'CalendarStar' - | 'CalendarSync' - | 'CalendarToday' - | 'CalendarToolbox' - | 'CalendarVideo' - | 'CalendarWeekNumbers' - | 'CalendarWeekStart' - | 'CalendarWorkWeek' - | 'Call' - | 'CallAdd' - | 'CallCheckmark' - | 'CallConnecting' - | 'CallDismiss' - | 'CallEnd' - | 'CallExclamation' - | 'CallForward' - | 'CallInbound' - | 'CallMissed' - | 'CallOutbound' - | 'CallPark' - | 'CallPause' - | 'CallProhibited' - | 'CallTransfer' - | 'CallWarning' - | 'CalligraphyPen' - | 'CalligraphyPenCheckmark' - | 'CalligraphyPenError' - | 'CalligraphyPenQuestionMark' - | 'Camera' - | 'CameraAdd' - | 'CameraDome' - | 'CameraEdit' - | 'CameraOff' - | 'CameraSparkles' - | 'CameraSwitch' - | 'CardUi' - | 'CaretDown' - | 'CaretDownRight' - | 'CaretLeft' - | 'CaretRight' - | 'CaretUp' - | 'Cart' - | 'Cast' - | 'CastMultiple' - | 'CatchUp' - | 'Cd' - | 'Cellular3G' - | 'Cellular4G' - | 'Cellular5G' - | 'CellularData1' - | 'CellularData2' - | 'CellularData3' - | 'CellularData4' - | 'CellularData5' - | 'CellularOff' - | 'CellularWarning' - | 'CenterHorizontal' - | 'CenterVertical' - | 'Certificate' - | 'Channel' - | 'ChannelAdd' - | 'ChannelAlert' - | 'ChannelArrowLeft' - | 'ChannelDismiss' - | 'ChannelShare' - | 'ChannelSubtract' - | 'ChartMultiple' - | 'ChartPerson' - | 'Chat' - | 'ChatAdd' - | 'ChatArrowBack' - | 'ChatArrowDoubleBack' - | 'ChatBubblesQuestion' - | 'ChatCursor' - | 'ChatDismiss' - | 'ChatEmpty' - | 'ChatHelp' - | 'ChatLock' - | 'ChatMail' - | 'ChatMultiple' - | 'ChatMultipleHeart' - | 'ChatOff' - | 'ChatSettings' - | 'ChatSparkle' - | 'ChatVideo' - | 'ChatWarning' - | 'Check' - | 'Checkbox1' - | 'Checkbox2' - | 'CheckboxArrowRight' - | 'CheckboxChecked' - | 'CheckboxCheckedSync' - | 'CheckboxIndeterminate' - | 'CheckboxPerson' - | 'CheckboxUnchecked' - | 'CheckboxWarning' - | 'Checkmark' - | 'CheckmarkCircle' - | 'CheckmarkCircleSquare' - | 'CheckmarkLock' - | 'CheckmarkNote' - | 'CheckmarkSquare' - | 'CheckmarkStarburst' - | 'CheckmarkUnderlineCircle' - | 'Chess' - | 'ChevronCircleDown' - | 'ChevronCircleLeft' - | 'ChevronCircleRight' - | 'ChevronCircleUp' - | 'ChevronDoubleDown' - | 'ChevronDoubleLeft' - | 'ChevronDoubleRight' - | 'ChevronDoubleUp' - | 'ChevronDown' - | 'ChevronDownUp' - | 'ChevronLeft' - | 'ChevronRight' - | 'ChevronUp' - | 'ChevronUpDown' - | 'Circle' - | 'CircleEdit' - | 'CircleEraser' - | 'CircleHalfFill' - | 'CircleHint' - | 'CircleHintHalfVertical' - | 'CircleImage' - | 'CircleLine' - | 'CircleMultipleSubtractCheckmark' - | 'CircleOff' - | 'CircleSmall' - | 'City' - | 'Class' - | 'Classification' - | 'ClearFormatting' - | 'Clipboard' - | 'Clipboard3Day' - | 'ClipboardArrowRight' - | 'ClipboardBrush' - | 'ClipboardBulletList' - | 'ClipboardBulletListLtr' - | 'ClipboardBulletListRtl' - | 'ClipboardCheckmark' - | 'ClipboardClock' - | 'ClipboardCode' - | 'ClipboardDataBar' - | 'ClipboardDay' - | 'ClipboardEdit' - | 'ClipboardError' - | 'ClipboardHeart' - | 'ClipboardImage' - | 'ClipboardLetter' - | 'ClipboardLink' - | 'ClipboardMathFormula' - | 'ClipboardMonth' - | 'ClipboardMore' - | 'ClipboardMultiple' - | 'ClipboardNote' - | 'ClipboardNumber123' - | 'ClipboardPaste' - | 'ClipboardPulse' - | 'ClipboardSearch' - | 'ClipboardSettings' - | 'ClipboardTask' - | 'ClipboardTaskAdd' - | 'ClipboardTaskList' - | 'ClipboardTaskListLtr' - | 'ClipboardTaskListRtl' - | 'ClipboardText' - | 'ClipboardTextEdit' - | 'ClipboardTextLtr' - | 'ClipboardTextRtl' - | 'Clock' - | 'ClockAlarm' - | 'ClockArrowDownload' - | 'ClockDismiss' - | 'ClockLock' - | 'ClockPause' - | 'ClockToolbox' - | 'ClosedCaption' - | 'ClosedCaptionOff' - | 'Cloud' - | 'CloudAdd' - | 'CloudArchive' - | 'CloudArrowDown' - | 'CloudArrowUp' - | 'CloudBeaker' - | 'CloudBidirectional' - | 'CloudCheckmark' - | 'CloudCube' - | 'CloudDatabase' - | 'CloudDesktop' - | 'CloudDismiss' - | 'CloudEdit' - | 'CloudError' - | 'CloudFlow' - | 'CloudLink' - | 'CloudOff' - | 'CloudSwap' - | 'CloudSync' - | 'CloudWords' - | 'Clover' - | 'Code' - | 'CodeBlock' - | 'CodeCircle' - | 'CodeCs' - | 'CodeCsRectangle' - | 'CodeFs' - | 'CodeFsRectangle' - | 'CodeJs' - | 'CodeJsRectangle' - | 'CodePy' - | 'CodePyRectangle' - | 'CodeRb' - | 'CodeRbRectangle' - | 'CodeText' - | 'CodeTextEdit' - | 'CodeTextOff' - | 'CodeTs' - | 'CodeTsRectangle' - | 'CodeVb' - | 'CodeVbRectangle' - | 'Collections' - | 'CollectionsAdd' - | 'Color' - | 'ColorBackground' - | 'ColorBackgroundAccent' - | 'ColorFill' - | 'ColorFillAccent' - | 'ColorLine' - | 'ColorLineAccent' - | 'Column' - | 'ColumnArrowRight' - | 'ColumnDoubleCompare' - | 'ColumnEdit' - | 'ColumnSingle' - | 'ColumnSingleCompare' - | 'ColumnTriple' - | 'ColumnTripleEdit' - | 'Comma' - | 'Comment' - | 'CommentAdd' - | 'CommentArrowLeft' - | 'CommentArrowRight' - | 'CommentCheckmark' - | 'CommentDismiss' - | 'CommentEdit' - | 'CommentError' - | 'CommentLightning' - | 'CommentLink' - | 'CommentMention' - | 'CommentMultiple' - | 'CommentMultipleCheckmark' - | 'CommentMultipleLink' - | 'CommentNote' - | 'CommentOff' - | 'Communication' - | 'CommunicationPerson' - | 'CommunicationShield' - | 'CompassNorthwest' - | 'Component2DoubleTapSwipeDown' - | 'Component2DoubleTapSwipeUp' - | 'Compose' - | 'Cone' - | 'ConferenceRoom' - | 'Connected' - | 'Connector' - | 'ContactCard' - | 'ContactCardGroup' - | 'ContactCardLink' - | 'ContactCardRibbon' - | 'ContentSettings' - | 'ContentView' - | 'ContentViewGallery' - | 'ContentViewGalleryLightning' - | 'ContractDownLeft' - | 'ContractUpRight' - | 'ControlButton' - | 'ConvertRange' - | 'Cookies' - | 'Copy' - | 'CopyAdd' - | 'CopyArrowRight' - | 'CopySelect' - | 'Couch' - | 'CreditCardClock' - | 'CreditCardPerson' - | 'CreditCardToolbox' - | 'Crop' - | 'CropInterim' - | 'CropInterimOff' - | 'CropSparkle' - | 'Crown' - | 'CrownSubtract' - | 'Cube' - | 'CubeAdd' - | 'CubeArrowCurveDown' - | 'CubeLink' - | 'CubeMultiple' - | 'CubeQuick' - | 'CubeRotate' - | 'CubeSync' - | 'CubeTree' - | 'CurrencyDollarEuro' - | 'CurrencyDollarRupee' - | 'Cursor' - | 'CursorClick' - | 'CursorHover' - | 'CursorHoverOff' - | 'CursorProhibited' - | 'Cut' - | 'DarkTheme' - | 'DataArea' - | 'DataBarHorizontal' - | 'DataBarHorizontalDescending' - | 'DataBarVertical' - | 'DataBarVerticalAdd' - | 'DataBarVerticalAscending' - | 'DataBarVerticalStar' - | 'DataFunnel' - | 'DataHistogram' - | 'DataLine' - | 'DataPie' - | 'DataScatter' - | 'DataSunburst' - | 'DataTreemap' - | 'DataTrending' - | 'DataUsage' - | 'DataUsageEdit' - | 'DataUsageSettings' - | 'DataUsageToolbox' - | 'DataWaterfall' - | 'DataWhisker' - | 'Database' - | 'DatabaseArrowDown' - | 'DatabaseArrowRight' - | 'DatabaseArrowUp' - | 'DatabaseLightning' - | 'DatabaseLink' - | 'DatabaseMultiple' - | 'DatabasePerson' - | 'DatabasePlugConnected' - | 'DatabaseSearch' - | 'DatabaseStack' - | 'DatabaseSwitch' - | 'DatabaseWarning' - | 'DatabaseWindow' - | 'DecimalArrowLeft' - | 'DecimalArrowRight' - | 'Delete' - | 'DeleteArrowBack' - | 'DeleteDismiss' - | 'DeleteLines' - | 'DeleteOff' - | 'Dentist' - | 'DesignIdeas' - | 'Desk' - | 'Desktop' - | 'DesktopArrowDown' - | 'DesktopArrowRight' - | 'DesktopCheckmark' - | 'DesktopCursor' - | 'DesktopEdit' - | 'DesktopFlow' - | 'DesktopKeyboard' - | 'DesktopMac' - | 'DesktopPulse' - | 'DesktopSignal' - | 'DesktopSpeaker' - | 'DesktopSpeakerOff' - | 'DesktopSync' - | 'DesktopToolbox' - | 'DesktopTower' - | 'DeveloperBoard' - | 'DeveloperBoardLightning' - | 'DeveloperBoardLightningToolbox' - | 'DeveloperBoardSearch' - | 'DeviceEq' - | 'DeviceMeetingRoom' - | 'DeviceMeetingRoomRemote' - | 'Diagram' - | 'Dialpad' - | 'DialpadOff' - | 'DialpadQuestionMark' - | 'Diamond' - | 'Directions' - | 'Dishwasher' - | 'Dismiss' - | 'DismissCircle' - | 'DismissSquare' - | 'DismissSquareMultiple' - | 'Diversity' - | 'DividerShort' - | 'DividerTall' - | 'Dock' - | 'DockRow' - | 'Doctor' - | 'Document100' - | 'Document' - | 'DocumentAdd' - | 'DocumentArrowDown' - | 'DocumentArrowLeft' - | 'DocumentArrowRight' - | 'DocumentArrowUp' - | 'DocumentBorder' - | 'DocumentBorderPrint' - | 'DocumentBriefcase' - | 'DocumentBulletList' - | 'DocumentBulletListArrowLeft' - | 'DocumentBulletListClock' - | 'DocumentBulletListCube' - | 'DocumentBulletListMultiple' - | 'DocumentBulletListOff' - | 'DocumentCatchUp' - | 'DocumentCheckmark' - | 'DocumentChevronDouble' - | 'DocumentContract' - | 'DocumentCopy' - | 'DocumentCs' - | 'DocumentCss' - | 'DocumentCube' - | 'DocumentData' - | 'DocumentDataLink' - | 'DocumentDataLock' - | 'DocumentDatabase' - | 'DocumentDismiss' - | 'DocumentEdit' - | 'DocumentEndnote' - | 'DocumentError' - | 'DocumentFit' - | 'DocumentFlowchart' - | 'DocumentFolder' - | 'DocumentFooter' - | 'DocumentFooterDismiss' - | 'DocumentFs' - | 'DocumentHeader' - | 'DocumentHeaderArrowDown' - | 'DocumentHeaderDismiss' - | 'DocumentHeaderFooter' - | 'DocumentHeart' - | 'DocumentHeartPulse' - | 'DocumentImage' - | 'DocumentJava' - | 'DocumentJavascript' - | 'DocumentJs' - | 'DocumentKey' - | 'DocumentLandscape' - | 'DocumentLandscapeData' - | 'DocumentLandscapeSplit' - | 'DocumentLandscapeSplitHint' - | 'DocumentLightning' - | 'DocumentLink' - | 'DocumentLock' - | 'DocumentMargins' - | 'DocumentMention' - | 'DocumentMultiple' - | 'DocumentMultiplePercent' - | 'DocumentMultipleProhibited' - | 'DocumentMultipleSync' - | 'DocumentNumber1' - | 'DocumentOnePage' - | 'DocumentOnePageAdd' - | 'DocumentOnePageBeaker' - | 'DocumentOnePageColumns' - | 'DocumentOnePageLink' - | 'DocumentOnePageMultiple' - | 'DocumentOnePageSparkle' - | 'DocumentPageBottomCenter' - | 'DocumentPageBottomLeft' - | 'DocumentPageBottomRight' - | 'DocumentPageBreak' - | 'DocumentPageNumber' - | 'DocumentPageTopCenter' - | 'DocumentPageTopLeft' - | 'DocumentPageTopRight' - | 'DocumentPdf' - | 'DocumentPercent' - | 'DocumentPerson' - | 'DocumentPill' - | 'DocumentPrint' - | 'DocumentProhibited' - | 'DocumentPy' - | 'DocumentQuestionMark' - | 'DocumentQueue' - | 'DocumentQueueAdd' - | 'DocumentQueueMultiple' - | 'DocumentRb' - | 'DocumentRibbon' - | 'DocumentSass' - | 'DocumentSave' - | 'DocumentSearch' - | 'DocumentSettings' - | 'DocumentSplitHint' - | 'DocumentSplitHintOff' - | 'DocumentSync' - | 'DocumentTable' - | 'DocumentTableArrowRight' - | 'DocumentTableCheckmark' - | 'DocumentTableCube' - | 'DocumentTableSearch' - | 'DocumentTableTruck' - | 'DocumentTarget' - | 'DocumentText' - | 'DocumentTextClock' - | 'DocumentTextExtract' - | 'DocumentTextLink' - | 'DocumentTextToolbox' - | 'DocumentToolbox' - | 'DocumentTs' - | 'DocumentVb' - | 'DocumentWidth' - | 'DocumentYml' - | 'Door' - | 'DoorArrowLeft' - | 'DoorArrowRight' - | 'DoorTag' - | 'DoubleSwipeDown' - | 'DoubleSwipeUp' - | 'DoubleTapSwipeDown' - | 'DoubleTapSwipeUp' - | 'Drafts' - | 'Drag' - | 'DrawImage' - | 'DrawShape' - | 'DrawText' - | 'Drawer' - | 'DrawerAdd' - | 'DrawerArrowDownload' - | 'DrawerDismiss' - | 'DrawerPlay' - | 'DrawerSubtract' - | 'DrinkBeer' - | 'DrinkBottle' - | 'DrinkBottleOff' - | 'DrinkCoffee' - | 'DrinkMargarita' - | 'DrinkToGo' - | 'DrinkWine' - | 'DriveTrain' - | 'Drop' - | 'DualScreen' - | 'DualScreenAdd' - | 'DualScreenArrowRight' - | 'DualScreenArrowUp' - | 'DualScreenClock' - | 'DualScreenClosedAlert' - | 'DualScreenDesktop' - | 'DualScreenDismiss' - | 'DualScreenGroup' - | 'DualScreenHeader' - | 'DualScreenLock' - | 'DualScreenMirror' - | 'DualScreenPagination' - | 'DualScreenSettings' - | 'DualScreenSpan' - | 'DualScreenSpeaker' - | 'DualScreenStatusBar' - | 'DualScreenTablet' - | 'DualScreenUpdate' - | 'DualScreenVerticalScroll' - | 'DualScreenVibrate' - | 'Dumbbell' - | 'Dust' - | 'Earth' - | 'EarthLeaf' - | 'Edit' - | 'EditArrowBack' - | 'EditOff' - | 'EditProhibited' - | 'EditSettings' - | 'Elevator' - | 'Emoji' - | 'EmojiAdd' - | 'EmojiAngry' - | 'EmojiEdit' - | 'EmojiHand' - | 'EmojiHint' - | 'EmojiLaugh' - | 'EmojiMeh' - | 'EmojiMultiple' - | 'EmojiSad' - | 'EmojiSadSlight' - | 'EmojiSmileSlight' - | 'EmojiSparkle' - | 'EmojiSurprise' - | 'Engine' - | 'EqualCircle' - | 'EqualOff' - | 'Eraser' - | 'EraserMedium' - | 'EraserSegment' - | 'EraserSmall' - | 'EraserTool' - | 'ErrorCircle' - | 'ErrorCircleSettings' - | 'ExpandUpLeft' - | 'ExpandUpRight' - | 'ExtendedDock' - | 'Eye' - | 'EyeLines' - | 'EyeOff' - | 'EyeTracking' - | 'EyeTrackingOff' - | 'Eyedropper' - | 'EyedropperOff' - | 'FStop' - | 'FastAcceleration' - | 'FastForward' - | 'Fax' - | 'Feed' - | 'Filmstrip' - | 'FilmstripImage' - | 'FilmstripOff' - | 'FilmstripPlay' - | 'FilmstripSplit' - | 'Filter' - | 'FilterAdd' - | 'FilterDismiss' - | 'FilterSync' - | 'Fingerprint' - | 'Fire' - | 'Fireplace' - | 'FixedWidth' - | 'Flag' - | 'FlagCheckered' - | 'FlagClock' - | 'FlagOff' - | 'FlagPride' - | 'FlagPrideIntersexInclusiveProgress' - | 'FlagPridePhiladelphia' - | 'FlagPrideProgress' - | 'Flash' - | 'FlashAdd' - | 'FlashAuto' - | 'FlashCheckmark' - | 'FlashFlow' - | 'FlashOff' - | 'FlashPlay' - | 'FlashSettings' - | 'FlashSparkle' - | 'Flashlight' - | 'FlashlightOff' - | 'FlipHorizontal' - | 'FlipVertical' - | 'Flow' - | 'Flowchart' - | 'FlowchartCircle' - | 'Fluent' - | 'Fluid' - | 'Folder' - | 'FolderAdd' - | 'FolderArrowLeft' - | 'FolderArrowRight' - | 'FolderArrowUp' - | 'FolderBriefcase' - | 'FolderGlobe' - | 'FolderLightning' - | 'FolderLink' - | 'FolderList' - | 'FolderMail' - | 'FolderMultiple' - | 'FolderOpen' - | 'FolderOpenVertical' - | 'FolderPeople' - | 'FolderPerson' - | 'FolderProhibited' - | 'FolderSearch' - | 'FolderSwap' - | 'FolderSync' - | 'FolderZip' - | 'FontDecrease' - | 'FontIncrease' - | 'FontSpaceTrackingIn' - | 'FontSpaceTrackingOut' - | 'Food' - | 'FoodApple' - | 'FoodCake' - | 'FoodCarrot' - | 'FoodChickenLeg' - | 'FoodEgg' - | 'FoodFish' - | 'FoodGrains' - | 'FoodPizza' - | 'FoodToast' - | 'Form' - | 'FormMultiple' - | 'FormNew' - | 'Fps120' - | 'Fps240' - | 'Fps30' - | 'Fps60' - | 'Fps960' - | 'Frame' - | 'FullScreenMaximize' - | 'FullScreenMinimize' - | 'Games' - | 'GanttChart' - | 'Gas' - | 'GasPump' - | 'Gather' - | 'Gauge' - | 'GaugeAdd' - | 'Gavel' - | 'GavelProhibited' - | 'Gesture' - | 'Gif' - | 'Gift' - | 'GiftCard' - | 'GiftCardAdd' - | 'GiftCardArrowRight' - | 'GiftCardMoney' - | 'GiftCardMultiple' - | 'GiftOpen' - | 'Glance' - | 'GlanceDefault' - | 'GlanceHorizontal' - | 'GlanceHorizontalSparkle' - | 'GlanceHorizontalSparkles' - | 'Glasses' - | 'GlassesOff' - | 'Globe' - | 'GlobeAdd' - | 'GlobeArrowForward' - | 'GlobeArrowUp' - | 'GlobeClock' - | 'GlobeDesktop' - | 'GlobeError' - | 'GlobeLocation' - | 'GlobePerson' - | 'GlobeProhibited' - | 'GlobeSearch' - | 'GlobeShield' - | 'GlobeStar' - | 'GlobeSurface' - | 'GlobeSync' - | 'GlobeVideo' - | 'GlobeWarning' - | 'Grid' - | 'GridCircles' - | 'GridDots' - | 'GridKanban' - | 'Group' - | 'GroupDismiss' - | 'GroupList' - | 'GroupReturn' - | 'Guardian' - | 'Guest' - | 'GuestAdd' - | 'Guitar' - | 'HandDraw' - | 'HandLeft' - | 'HandLeftChat' - | 'HandOpenHeart' - | 'HandRight' - | 'HandRightOff' - | 'HandWave' - | 'Handshake' - | 'HardDrive' - | 'HardDriveCall' - | 'HatGraduation' - | 'HatGraduationAdd' - | 'HatGraduationSparkle' - | 'Hd' - | 'Hdr' - | 'HdrOff' - | 'Headphones' - | 'HeadphonesSoundWave' - | 'Headset' - | 'HeadsetAdd' - | 'HeadsetVr' - | 'Heart' - | 'HeartBroken' - | 'HeartCircle' - | 'HeartCircleHint' - | 'HeartOff' - | 'HeartPulse' - | 'HeartPulseCheckmark' - | 'HeartPulseError' - | 'HeartPulseWarning' - | 'Hexagon' - | 'HexagonThree' - | 'Highlight' - | 'HighlightAccent' - | 'HighlightLink' - | 'History' - | 'HistoryDismiss' - | 'Home' - | 'HomeAdd' - | 'HomeCheckmark' - | 'HomeDatabase' - | 'HomeHeart' - | 'HomeMore' - | 'HomePerson' - | 'HomeSplit' - | 'Hourglass' - | 'HourglassHalf' - | 'HourglassOneQuarter' - | 'HourglassThreeQuarter' - | 'Icons' - | 'Image' - | 'ImageAdd' - | 'ImageAltText' - | 'ImageArrowBack' - | 'ImageArrowCounterclockwise' - | 'ImageArrowForward' - | 'ImageBorder' - | 'ImageCircle' - | 'ImageCopy' - | 'ImageEdit' - | 'ImageGlobe' - | 'ImageMultiple' - | 'ImageMultipleOff' - | 'ImageOff' - | 'ImageProhibited' - | 'ImageReflection' - | 'ImageSearch' - | 'ImageShadow' - | 'ImageSparkle' - | 'ImageStack' - | 'ImageTable' - | 'ImmersiveReader' - | 'Important' - | 'Incognito' - | 'Info' - | 'InfoShield' - | 'InkStroke' - | 'InkStrokeArrowDown' - | 'InkStrokeArrowUpDown' - | 'InkingTool' - | 'InkingToolAccent' - | 'InprivateAccount' - | 'Insert' - | 'IosArrow' - | 'IosArrowLtr' - | 'IosArrowRtl' - | 'IosChevronRight' - | 'Iot' - | 'IotAlert' - | 'Javascript' - | 'Joystick' - | 'Key' - | 'KeyCommand' - | 'KeyMultiple' - | 'KeyReset' - | 'Keyboard123' - | 'Keyboard' - | 'KeyboardDock' - | 'KeyboardLayoutFloat' - | 'KeyboardLayoutOneHandedLeft' - | 'KeyboardLayoutResize' - | 'KeyboardLayoutSplit' - | 'KeyboardMouse' - | 'KeyboardShift' - | 'KeyboardShiftUppercase' - | 'KeyboardTab' - | 'Kiosk' - | 'Laptop' - | 'LaptopDismiss' - | 'LaptopMultiple' - | 'LaptopSettings' - | 'LaptopShield' - | 'LaserTool' - | 'Lasso' - | 'LauncherSettings' - | 'Layer' - | 'LayerDiagonal' - | 'LayerDiagonalAdd' - | 'LayerDiagonalPerson' - | 'LayoutCellFour' - | 'LayoutCellFourFocusBottomLeft' - | 'LayoutCellFourFocusBottomRight' - | 'LayoutCellFourFocusTopLeft' - | 'LayoutCellFourFocusTopRight' - | 'LayoutColumnFour' - | 'LayoutColumnFourFocusCenterLeft' - | 'LayoutColumnFourFocusCenterRight' - | 'LayoutColumnFourFocusLeft' - | 'LayoutColumnFourFocusRight' - | 'LayoutColumnOneThirdLeft' - | 'LayoutColumnOneThirdRight' - | 'LayoutColumnOneThirdRightHint' - | 'LayoutColumnThree' - | 'LayoutColumnThreeFocusCenter' - | 'LayoutColumnThreeFocusLeft' - | 'LayoutColumnThreeFocusRight' - | 'LayoutColumnTwo' - | 'LayoutColumnTwoFocusLeft' - | 'LayoutColumnTwoFocusRight' - | 'LayoutColumnTwoSplitLeft' - | 'LayoutColumnTwoSplitLeftFocusBottomLeft' - | 'LayoutColumnTwoSplitLeftFocusRight' - | 'LayoutColumnTwoSplitLeftFocusTopLeft' - | 'LayoutColumnTwoSplitRight' - | 'LayoutColumnTwoSplitRightFocusBottomRight' - | 'LayoutColumnTwoSplitRightFocusLeft' - | 'LayoutColumnTwoSplitRightFocusTopRight' - | 'LayoutRowFour' - | 'LayoutRowFourFocusBottom' - | 'LayoutRowFourFocusCenterBottom' - | 'LayoutRowFourFocusCenterTop' - | 'LayoutRowFourFocusTop' - | 'LayoutRowThree' - | 'LayoutRowThreeFocusBottom' - | 'LayoutRowThreeFocusCenter' - | 'LayoutRowThreeFocusTop' - | 'LayoutRowTwo' - | 'LayoutRowTwoFocusBottom' - | 'LayoutRowTwoFocusTop' - | 'LayoutRowTwoSplitBottom' - | 'LayoutRowTwoSplitBottomFocusBottomLeft' - | 'LayoutRowTwoSplitBottomFocusBottomRight' - | 'LayoutRowTwoSplitBottomFocusTop' - | 'LayoutRowTwoSplitTop' - | 'LayoutRowTwoSplitTopFocusBottom' - | 'LayoutRowTwoSplitTopFocusTopLeft' - | 'LayoutRowTwoSplitTopFocusTopRight' - | 'LeafOne' - | 'LeafThree' - | 'LeafTwo' - | 'LearningApp' - | 'Library' - | 'Lightbulb' - | 'LightbulbCheckmark' - | 'LightbulbCircle' - | 'LightbulbFilament' - | 'LightbulbPerson' - | 'Likert' - | 'Line' - | 'LineDashes' - | 'LineHorizontal1' - | 'LineHorizontal1Dashes' - | 'LineHorizontal2DashesSolid' - | 'LineHorizontal3' - | 'LineHorizontal4' - | 'LineHorizontal4Search' - | 'LineHorizontal5' - | 'LineHorizontal5Error' - | 'LineStyle' - | 'LineThickness' - | 'Link' - | 'LinkAdd' - | 'LinkDismiss' - | 'LinkEdit' - | 'LinkMultiple' - | 'LinkPerson' - | 'LinkSettings' - | 'LinkSquare' - | 'LinkToolbox' - | 'List' - | 'ListBar' - | 'ListBarTree' - | 'ListBarTreeOffset' - | 'ListRtl' - | 'Live' - | 'LiveOff' - | 'LocalLanguage' - | 'Location' - | 'LocationAdd' - | 'LocationAddLeft' - | 'LocationAddRight' - | 'LocationAddUp' - | 'LocationArrow' - | 'LocationArrowLeft' - | 'LocationArrowRight' - | 'LocationArrowUp' - | 'LocationDismiss' - | 'LocationLive' - | 'LocationOff' - | 'LocationTargetSquare' - | 'LockClosed' - | 'LockClosedKey' - | 'LockMultiple' - | 'LockOpen' - | 'LockShield' - | 'Lottery' - | 'Luggage' - | 'Mail' - | 'MailAdd' - | 'MailAlert' - | 'MailAllRead' - | 'MailAllUnread' - | 'MailArrowDoubleBack' - | 'MailArrowDown' - | 'MailArrowForward' - | 'MailArrowUp' - | 'MailAttach' - | 'MailCheckmark' - | 'MailClock' - | 'MailCopy' - | 'MailDismiss' - | 'MailEdit' - | 'MailError' - | 'MailInbox' - | 'MailInboxAdd' - | 'MailInboxAll' - | 'MailInboxArrowDown' - | 'MailInboxArrowRight' - | 'MailInboxArrowUp' - | 'MailInboxCheckmark' - | 'MailInboxDismiss' - | 'MailLink' - | 'MailList' - | 'MailMultiple' - | 'MailOff' - | 'MailOpenPerson' - | 'MailPause' - | 'MailProhibited' - | 'MailRead' - | 'MailReadMultiple' - | 'MailRewind' - | 'MailSettings' - | 'MailShield' - | 'MailTemplate' - | 'MailUnread' - | 'MailWarning' - | 'Mailbox' - | 'Map' - | 'MapDrive' - | 'Markdown' - | 'MatchAppLayout' - | 'MathFormatLinear' - | 'MathFormatProfessional' - | 'MathFormula' - | 'MathSymbols' - | 'Maximize' - | 'MeetNow' - | 'Megaphone' - | 'MegaphoneCircle' - | 'MegaphoneLoud' - | 'MegaphoneOff' - | 'Memory' - | 'Mention' - | 'MentionArrowDown' - | 'MentionBrackets' - | 'Merge' - | 'Mic' - | 'MicOff' - | 'MicProhibited' - | 'MicPulse' - | 'MicPulseOff' - | 'MicRecord' - | 'MicSettings' - | 'MicSparkle' - | 'MicSync' - | 'Microscope' - | 'Midi' - | 'MobileOptimized' - | 'Mold' - | 'Molecule' - | 'Money' - | 'MoneyCalculator' - | 'MoneyDismiss' - | 'MoneyHand' - | 'MoneyOff' - | 'MoneySettings' - | 'MoreCircle' - | 'MoreHorizontal' - | 'MoreVertical' - | 'MountainLocationBottom' - | 'MountainLocationTop' - | 'MountainTrail' - | 'MoviesAndTv' - | 'Multiplier12X' - | 'Multiplier15X' - | 'Multiplier18X' - | 'Multiplier1X' - | 'Multiplier2X' - | 'Multiplier5X' - | 'MultiselectLtr' - | 'MultiselectRtl' - | 'MusicNote1' - | 'MusicNote2' - | 'MusicNote2Play' - | 'MusicNoteOff1' - | 'MusicNoteOff2' - | 'MyLocation' - | 'Navigation' - | 'NavigationLocationTarget' - | 'NavigationPlay' - | 'NavigationUnread' - | 'NetworkAdapter' - | 'NetworkCheck' - | 'New' - | 'News' - | 'Next' - | 'NextFrame' - | 'Note' - | 'NoteAdd' - | 'NoteEdit' - | 'NotePin' - | 'Notebook' - | 'NotebookAdd' - | 'NotebookArrowCurveDown' - | 'NotebookError' - | 'NotebookEye' - | 'NotebookLightning' - | 'NotebookQuestionMark' - | 'NotebookSection' - | 'NotebookSectionArrowRight' - | 'NotebookSubsection' - | 'NotebookSync' - | 'Notepad' - | 'NotepadEdit' - | 'NotepadPerson' - | 'NumberCircle0' - | 'NumberCircle1' - | 'NumberCircle2' - | 'NumberCircle3' - | 'NumberCircle4' - | 'NumberCircle5' - | 'NumberCircle6' - | 'NumberCircle7' - | 'NumberCircle8' - | 'NumberCircle9' - | 'NumberRow' - | 'NumberSymbol' - | 'NumberSymbolDismiss' - | 'NumberSymbolSquare' - | 'Open' - | 'OpenFolder' - | 'OpenOff' - | 'Options' - | 'Organization' - | 'OrganizationHorizontal' - | 'Orientation' - | 'Oval' - | 'Oven' - | 'PaddingDown' - | 'PaddingLeft' - | 'PaddingRight' - | 'PaddingTop' - | 'PageFit' - | 'PaintBrush' - | 'PaintBrushArrowDown' - | 'PaintBrushArrowUp' - | 'PaintBucket' - | 'Pair' - | 'PanelBottom' - | 'PanelBottomContract' - | 'PanelBottomExpand' - | 'PanelLeft' - | 'PanelLeftAdd' - | 'PanelLeftContract' - | 'PanelLeftExpand' - | 'PanelLeftFocusRight' - | 'PanelLeftHeader' - | 'PanelLeftHeaderAdd' - | 'PanelLeftHeaderKey' - | 'PanelLeftKey' - | 'PanelLeftText' - | 'PanelLeftTextAdd' - | 'PanelLeftTextDismiss' - | 'PanelRight' - | 'PanelRightAdd' - | 'PanelRightContract' - | 'PanelRightCursor' - | 'PanelRightExpand' - | 'PanelRightGallery' - | 'PanelSeparateWindow' - | 'PanelTopContract' - | 'PanelTopExpand' - | 'PanelTopGallery' - | 'Password' - | 'Patch' - | 'Patient' - | 'Pause' - | 'PauseCircle' - | 'PauseOff' - | 'PauseSettings' - | 'Payment' - | 'Pen' - | 'PenDismiss' - | 'PenOff' - | 'PenProhibited' - | 'PenSparkle' - | 'Pentagon' - | 'People' - | 'PeopleAdd' - | 'PeopleAudience' - | 'PeopleCall' - | 'PeopleChat' - | 'PeopleCheckmark' - | 'PeopleCommunity' - | 'PeopleCommunityAdd' - | 'PeopleEdit' - | 'PeopleError' - | 'PeopleList' - | 'PeopleLock' - | 'PeopleMoney' - | 'PeopleProhibited' - | 'PeopleQueue' - | 'PeopleSearch' - | 'PeopleSettings' - | 'PeopleStar' - | 'PeopleSwap' - | 'PeopleSync' - | 'PeopleTeam' - | 'PeopleTeamAdd' - | 'PeopleTeamDelete' - | 'PeopleTeamToolbox' - | 'PeopleToolbox' - | 'Person' - | 'Person5' - | 'Person6' - | 'PersonAccounts' - | 'PersonAdd' - | 'PersonAlert' - | 'PersonArrowBack' - | 'PersonArrowLeft' - | 'PersonArrowRight' - | 'PersonAvailable' - | 'PersonBoard' - | 'PersonCall' - | 'PersonChat' - | 'PersonCircle' - | 'PersonClock' - | 'PersonDelete' - | 'PersonDesktop' - | 'PersonEdit' - | 'PersonFeedback' - | 'PersonHeart' - | 'PersonInfo' - | 'PersonKey' - | 'PersonLightbulb' - | 'PersonLightning' - | 'PersonLink' - | 'PersonLock' - | 'PersonMail' - | 'PersonMoney' - | 'PersonNote' - | 'PersonPhone' - | 'PersonPill' - | 'PersonProhibited' - | 'PersonQuestionMark' - | 'PersonRibbon' - | 'PersonRunning' - | 'PersonSearch' - | 'PersonSettings' - | 'PersonSquare' - | 'PersonSquareCheckmark' - | 'PersonStanding' - | 'PersonStar' - | 'PersonStarburst' - | 'PersonSubtract' - | 'PersonSupport' - | 'PersonSwap' - | 'PersonSync' - | 'PersonTag' - | 'PersonVoice' - | 'PersonWalking' - | 'PersonWarning' - | 'PersonWrench' - | 'Phone' - | 'PhoneAdd' - | 'PhoneArrowRight' - | 'PhoneBriefcase' - | 'PhoneChat' - | 'PhoneCheckmark' - | 'PhoneDesktop' - | 'PhoneDesktopAdd' - | 'PhoneDismiss' - | 'PhoneEdit' - | 'PhoneEraser' - | 'PhoneFooterArrowDown' - | 'PhoneHeaderArrowUp' - | 'PhoneKey' - | 'PhoneLaptop' - | 'PhoneLinkSetup' - | 'PhoneLock' - | 'PhoneMultiple' - | 'PhoneMultipleSettings' - | 'PhonePageHeader' - | 'PhonePagination' - | 'PhonePerson' - | 'PhoneScreenTime' - | 'PhoneShake' - | 'PhoneSpanIn' - | 'PhoneSpanOut' - | 'PhoneSpeaker' - | 'PhoneStatusBar' - | 'PhoneSubtract' - | 'PhoneTablet' - | 'PhoneUpdate' - | 'PhoneUpdateCheckmark' - | 'PhoneVerticalScroll' - | 'PhoneVibrate' - | 'PhotoFilter' - | 'Pi' - | 'PictureInPicture' - | 'PictureInPictureEnter' - | 'PictureInPictureExit' - | 'Pill' - | 'Pin' - | 'PinOff' - | 'Pipeline' - | 'PipelineAdd' - | 'PipelineArrowCurveDown' - | 'PipelinePlay' - | 'Pivot' - | 'PlantGrass' - | 'PlantRagweed' - | 'Play' - | 'PlayCircle' - | 'PlayCircleHint' - | 'PlayMultiple' - | 'PlaySettings' - | 'PlayingCards' - | 'PlugConnected' - | 'PlugConnectedAdd' - | 'PlugConnectedCheckmark' - | 'PlugConnectedSettings' - | 'PlugDisconnected' - | 'PointScan' - | 'Poll' - | 'PollHorizontal' - | 'PollOff' - | 'PortHdmi' - | 'PortMicroUsb' - | 'PortUsbA' - | 'PortUsbC' - | 'PositionBackward' - | 'PositionForward' - | 'PositionToBack' - | 'PositionToFront' - | 'Power' - | 'Predictions' - | 'Premium' - | 'PremiumPerson' - | 'PresenceAvailable' - | 'PresenceAway' - | 'PresenceBlocked' - | 'PresenceBusy' - | 'PresenceDnd' - | 'PresenceOffline' - | 'PresenceOof' - | 'PresenceUnknown' - | 'Presenter' - | 'PresenterOff' - | 'PreviewLink' - | 'Previous' - | 'PreviousFrame' - | 'Print' - | 'PrintAdd' - | 'Production' - | 'ProductionCheckmark' - | 'Prohibited' - | 'ProhibitedMultiple' - | 'ProhibitedNote' - | 'ProjectionScreen' - | 'ProjectionScreenDismiss' - | 'ProjectionScreenText' - | 'ProtocolHandler' - | 'Pulse' - | 'PulseSquare' - | 'PuzzleCube' - | 'PuzzleCubePiece' - | 'PuzzlePiece' - | 'PuzzlePieceShield' - | 'QrCode' - | 'Question' - | 'QuestionCircle' - | 'QuizNew' - | 'Radar' - | 'RadarCheckmark' - | 'RadarRectangleMultiple' - | 'RadioButton' - | 'RadioButtonOff' - | 'Ram' - | 'RatingMature' - | 'RatioOneToOne' - | 'ReOrder' - | 'ReOrderDotsHorizontal' - | 'ReOrderDotsVertical' - | 'ReadAloud' - | 'ReadingList' - | 'ReadingListAdd' - | 'ReadingModeMobile' - | 'RealEstate' - | 'Receipt' - | 'ReceiptAdd' - | 'ReceiptBag' - | 'ReceiptCube' - | 'ReceiptMoney' - | 'ReceiptPlay' - | 'ReceiptSearch' - | 'ReceiptSparkles' - | 'Record' - | 'RecordStop' - | 'RectangleLandscape' - | 'RectangleLandscapeHintCopy' - | 'RectangleLandscapeSparkle' - | 'RectangleLandscapeSync' - | 'RectangleLandscapeSyncOff' - | 'RectanglePortraitLocationTarget' - | 'Recycle' - | 'RemixAdd' - | 'Remote' - | 'Rename' - | 'Reorder' - | 'Replay' - | 'Resize' - | 'ResizeImage' - | 'ResizeLarge' - | 'ResizeSmall' - | 'ResizeTable' - | 'ResizeVideo' - | 'Reward' - | 'Rewind' - | 'Rhombus' - | 'Ribbon' - | 'RibbonAdd' - | 'RibbonOff' - | 'RibbonStar' - | 'RoadCone' - | 'Rocket' - | 'RotateLeft' - | 'RotateRight' - | 'Router' - | 'RowTriple' - | 'Rss' - | 'Ruler' - | 'Run' - | 'Sanitize' - | 'Save' - | 'SaveArrowRight' - | 'SaveCopy' - | 'SaveEdit' - | 'SaveImage' - | 'SaveMultiple' - | 'SaveSearch' - | 'SaveSync' - | 'Savings' - | 'ScaleFill' - | 'ScaleFit' - | 'Scales' - | 'Scan' - | 'ScanCamera' - | 'ScanDash' - | 'ScanObject' - | 'ScanPerson' - | 'ScanQrCode' - | 'ScanTable' - | 'ScanText' - | 'ScanThumbUp' - | 'ScanThumbUpOff' - | 'ScanType' - | 'ScanTypeCheckmark' - | 'ScanTypeOff' - | 'Scratchpad' - | 'ScreenCut' - | 'ScreenPerson' - | 'ScreenSearch' - | 'Screenshot' - | 'ScreenshotRecord' - | 'Script' - | 'Search' - | 'SearchInfo' - | 'SearchSettings' - | 'SearchShield' - | 'SearchSquare' - | 'SearchVisual' - | 'Seat' - | 'SeatAdd' - | 'SelectAllOff' - | 'SelectAllOn' - | 'SelectObject' - | 'SelectObjectSkew' - | 'SelectObjectSkewDismiss' - | 'SelectObjectSkewEdit' - | 'Send' - | 'SendBeaker' - | 'SendClock' - | 'SendCopy' - | 'SerialPort' - | 'Server' - | 'ServerLink' - | 'ServerMultiple' - | 'ServerPlay' - | 'ServerSurface' - | 'ServerSurfaceMultiple' - | 'ServiceBell' - | 'Settings' - | 'SettingsChat' - | 'SettingsCogMultiple' - | 'ShapeExclude' - | 'ShapeIntersect' - | 'ShapeOrganic' - | 'ShapeSubtract' - | 'ShapeUnion' - | 'Shapes' - | 'Share' - | 'ShareAndroid' - | 'ShareCloseTray' - | 'ShareIos' - | 'ShareScreenPerson' - | 'ShareScreenPersonOverlay' - | 'ShareScreenPersonOverlayInside' - | 'ShareScreenPersonP' - | 'ShareScreenStart' - | 'ShareScreenStop' - | 'Shield' - | 'ShieldAdd' - | 'ShieldBadge' - | 'ShieldCheckmark' - | 'ShieldDismiss' - | 'ShieldDismissShield' - | 'ShieldError' - | 'ShieldGlobe' - | 'ShieldKeyhole' - | 'ShieldLock' - | 'ShieldPerson' - | 'ShieldPersonAdd' - | 'ShieldProhibited' - | 'ShieldQuestion' - | 'ShieldTask' - | 'Shifts' - | 'Shifts30Minutes' - | 'ShiftsActivity' - | 'ShiftsAdd' - | 'ShiftsAvailability' - | 'ShiftsCheckmark' - | 'ShiftsDay' - | 'ShiftsOpen' - | 'ShiftsProhibited' - | 'ShiftsQuestionMark' - | 'ShiftsTeam' - | 'ShoppingBag' - | 'ShoppingBagAdd' - | 'ShoppingBagArrowLeft' - | 'ShoppingBagDismiss' - | 'ShoppingBagPause' - | 'ShoppingBagPercent' - | 'ShoppingBagPlay' - | 'ShoppingBagTag' - | 'Shortpick' - | 'Showerhead' - | 'SidebarSearchLtr' - | 'SidebarSearchRtl' - | 'SignOut' - | 'Signature' - | 'Sim' - | 'SkipBack10' - | 'SkipForward10' - | 'SkipForward30' - | 'SkipForwardTab' - | 'SlashForward' - | 'Sleep' - | 'SlideAdd' - | 'SlideArrowRight' - | 'SlideContent' - | 'SlideEraser' - | 'SlideGrid' - | 'SlideHide' - | 'SlideLayout' - | 'SlideLink' - | 'SlideMicrophone' - | 'SlideMultiple' - | 'SlideMultipleArrowRight' - | 'SlideMultipleSearch' - | 'SlideRecord' - | 'SlideSearch' - | 'SlideSettings' - | 'SlideSize' - | 'SlideText' - | 'SlideTextEdit' - | 'SlideTextMultiple' - | 'SlideTextPerson' - | 'SlideTextSparkle' - | 'SlideTransition' - | 'Smartwatch' - | 'SmartwatchDot' - | 'Snooze' - | 'SoundSource' - | 'SoundWaveCircle' - | 'Space3D' - | 'Spacebar' - | 'Sparkle' - | 'SparkleCircle' - | 'Speaker0' - | 'Speaker1' - | 'Speaker2' - | 'SpeakerBluetooth' - | 'SpeakerBox' - | 'SpeakerEdit' - | 'SpeakerMute' - | 'SpeakerOff' - | 'SpeakerSettings' - | 'SpeakerUsb' - | 'SpinnerIos' - | 'SplitHint' - | 'SplitHorizontal' - | 'SplitVertical' - | 'Sport' - | 'SportAmericanFootball' - | 'SportBaseball' - | 'SportBasketball' - | 'SportHockey' - | 'SportSoccer' - | 'SprayCan' - | 'Square' - | 'SquareAdd' - | 'SquareArrowForward' - | 'SquareDismiss' - | 'SquareEraser' - | 'SquareHint' - | 'SquareHintApps' - | 'SquareHintArrowBack' - | 'SquareHintHexagon' - | 'SquareHintSparkles' - | 'SquareMultiple' - | 'SquareShadow' - | 'SquaresNested' - | 'Stack' - | 'StackAdd' - | 'StackArrowForward' - | 'StackStar' - | 'StackVertical' - | 'Star' - | 'StarAdd' - | 'StarArrowBack' - | 'StarArrowRightEnd' - | 'StarArrowRightStart' - | 'StarCheckmark' - | 'StarDismiss' - | 'StarEdit' - | 'StarEmphasis' - | 'StarHalf' - | 'StarLineHorizontal3' - | 'StarOff' - | 'StarOneQuarter' - | 'StarProhibited' - | 'StarSettings' - | 'StarThreeQuarter' - | 'Status' - | 'Step' - | 'Steps' - | 'Stethoscope' - | 'Sticker' - | 'StickerAdd' - | 'Stop' - | 'Storage' - | 'StoreMicrosoft' - | 'Stream' - | 'StreamInput' - | 'StreamInputOutput' - | 'StreamOutput' - | 'StreetSign' - | 'StyleGuide' - | 'SubGrid' - | 'Subtitles' - | 'Subtract' - | 'SubtractCircle' - | 'SubtractCircleArrowBack' - | 'SubtractCircleArrowForward' - | 'SubtractParentheses' - | 'SubtractSquare' - | 'SubtractSquareMultiple' - | 'SurfaceEarbuds' - | 'SurfaceHub' - | 'SwimmingPool' - | 'SwipeDown' - | 'SwipeRight' - | 'SwipeUp' - | 'Symbols' - | 'SyncOff' - | 'Syringe' - | 'System' - | 'Tab' - | 'TabAdd' - | 'TabArrowLeft' - | 'TabDesktop' - | 'TabDesktopArrowClockwise' - | 'TabDesktopArrowLeft' - | 'TabDesktopBottom' - | 'TabDesktopClock' - | 'TabDesktopCopy' - | 'TabDesktopImage' - | 'TabDesktopLink' - | 'TabDesktopMultiple' - | 'TabDesktopMultipleAdd' - | 'TabDesktopMultipleBottom' - | 'TabDesktopNewPage' - | 'TabInPrivate' - | 'TabInprivateAccount' - | 'TabProhibited' - | 'TabShieldDismiss' - | 'Table' - | 'TableAdd' - | 'TableArrowUp' - | 'TableBottomRow' - | 'TableCalculator' - | 'TableCellEdit' - | 'TableCellsMerge' - | 'TableCellsSplit' - | 'TableChecker' - | 'TableColumnTopBottom' - | 'TableCopy' - | 'TableDefault' - | 'TableDeleteColumn' - | 'TableDeleteRow' - | 'TableDismiss' - | 'TableEdit' - | 'TableFreezeColumn' - | 'TableFreezeColumnAndRow' - | 'TableFreezeRow' - | 'TableImage' - | 'TableInsertColumn' - | 'TableInsertRow' - | 'TableLightning' - | 'TableLink' - | 'TableLock' - | 'TableMoveAbove' - | 'TableMoveBelow' - | 'TableMoveLeft' - | 'TableMoveRight' - | 'TableMultiple' - | 'TableOffset' - | 'TableOffsetAdd' - | 'TableOffsetLessThanOrEqualTo' - | 'TableOffsetSettings' - | 'TableResizeColumn' - | 'TableResizeRow' - | 'TableSearch' - | 'TableSettings' - | 'TableSimple' - | 'TableSimpleCheckmark' - | 'TableSimpleExclude' - | 'TableSimpleInclude' - | 'TableSimpleMultiple' - | 'TableSplit' - | 'TableStackAbove' - | 'TableStackBelow' - | 'TableStackLeft' - | 'TableStackRight' - | 'TableSwitch' - | 'Tablet' - | 'TabletLaptop' - | 'TabletSpeaker' - | 'Tabs' - | 'Tag' - | 'TagCircle' - | 'TagDismiss' - | 'TagError' - | 'TagLock' - | 'TagLockAccent' - | 'TagMultiple' - | 'TagOff' - | 'TagQuestionMark' - | 'TagReset' - | 'TagSearch' - | 'TapDouble' - | 'TapSingle' - | 'Target' - | 'TargetAdd' - | 'TargetArrow' - | 'TargetDismiss' - | 'TargetEdit' - | 'TaskListAdd' - | 'TaskListLtr' - | 'TaskListRtl' - | 'TaskListSquareAdd' - | 'TaskListSquareDatabase' - | 'TaskListSquareLtr' - | 'TaskListSquarePerson' - | 'TaskListSquareRtl' - | 'TaskListSquareSettings' - | 'TasksApp' - | 'TeardropBottomRight' - | 'Teddy' - | 'Temperature' - | 'Tent' - | 'TetrisApp' - | 'Text' - | 'TextAbcUnderlineDouble' - | 'TextAdd' - | 'TextAddSpaceAfter' - | 'TextAddSpaceBefore' - | 'TextAddT' - | 'TextAlignCenter' - | 'TextAlignCenterRotate270' - | 'TextAlignCenterRotate90' - | 'TextAlignDistributed' - | 'TextAlignDistributedEvenly' - | 'TextAlignDistributedVertical' - | 'TextAlignJustify' - | 'TextAlignJustifyLow' - | 'TextAlignJustifyLow90' - | 'TextAlignJustifyLowRotate270' - | 'TextAlignJustifyLowRotate90' - | 'TextAlignJustifyRotate270' - | 'TextAlignJustifyRotate90' - | 'TextAlignLeft' - | 'TextAlignLeftRotate270' - | 'TextAlignLeftRotate90' - | 'TextAlignRight' - | 'TextAlignRightRotate270' - | 'TextAlignRightRotate90' - | 'TextArrowDownRightColumn' - | 'TextAsterisk' - | 'TextBaseline' - | 'TextBold' - | 'TextBoxSettings' - | 'TextBulletList' - | 'TextBulletList270' - | 'TextBulletList90' - | 'TextBulletListAdd' - | 'TextBulletListCheckmark' - | 'TextBulletListDismiss' - | 'TextBulletListLtr' - | 'TextBulletListLtr90' - | 'TextBulletListLtrRotate270' - | 'TextBulletListRtl' - | 'TextBulletListRtl90' - | 'TextBulletListSquare' - | 'TextBulletListSquareClock' - | 'TextBulletListSquareEdit' - | 'TextBulletListSquarePerson' - | 'TextBulletListSquareSearch' - | 'TextBulletListSquareSettings' - | 'TextBulletListSquareShield' - | 'TextBulletListSquareSparkle' - | 'TextBulletListSquareToolbox' - | 'TextBulletListSquareWarning' - | 'TextBulletListTree' - | 'TextCaseLowercase' - | 'TextCaseTitle' - | 'TextCaseUppercase' - | 'TextChangeCase' - | 'TextClearFormatting' - | 'TextCollapse' - | 'TextColor' - | 'TextColorAccent' - | 'TextColumnOne' - | 'TextColumnOneNarrow' - | 'TextColumnOneSemiNarrow' - | 'TextColumnOneWide' - | 'TextColumnOneWideLightning' - | 'TextColumnThree' - | 'TextColumnTwo' - | 'TextColumnTwoLeft' - | 'TextColumnTwoRight' - | 'TextColumnWide' - | 'TextContinuous' - | 'TextDensity' - | 'TextDescription' - | 'TextDescriptionLtr' - | 'TextDescriptionRtl' - | 'TextDirectionHorizontalLeft' - | 'TextDirectionHorizontalLtr' - | 'TextDirectionHorizontalRight' - | 'TextDirectionHorizontalRtl' - | 'TextDirectionRotate270Right' - | 'TextDirectionRotate315Right' - | 'TextDirectionRotate45Right' - | 'TextDirectionRotate90Left' - | 'TextDirectionRotate90Ltr' - | 'TextDirectionRotate90Right' - | 'TextDirectionRotate90Rtl' - | 'TextDirectionVertical' - | 'TextEditStyle' - | 'TextEditStyleCharacterA' - | 'TextEditStyleCharacterGa' - | 'TextEffects' - | 'TextEffectsSparkle' - | 'TextExpand' - | 'TextField' - | 'TextFirstLine' - | 'TextFont' - | 'TextFontInfo' - | 'TextFontSize' - | 'TextFootnote' - | 'TextGrammarArrowLeft' - | 'TextGrammarArrowRight' - | 'TextGrammarCheckmark' - | 'TextGrammarDismiss' - | 'TextGrammarError' - | 'TextGrammarLightning' - | 'TextGrammarSettings' - | 'TextGrammarWand' - | 'TextHanging' - | 'TextHeader1' - | 'TextHeader1Lines' - | 'TextHeader1LinesCaret' - | 'TextHeader2' - | 'TextHeader2Lines' - | 'TextHeader2LinesCaret' - | 'TextHeader3' - | 'TextHeader3Lines' - | 'TextHeader3LinesCaret' - | 'TextIndentDecrease' - | 'TextIndentDecreaseLtr' - | 'TextIndentDecreaseLtr90' - | 'TextIndentDecreaseLtrRotate270' - | 'TextIndentDecreaseRotate270' - | 'TextIndentDecreaseRotate90' - | 'TextIndentDecreaseRtl' - | 'TextIndentDecreaseRtl90' - | 'TextIndentDecreaseRtlRotate270' - | 'TextIndentIncrease' - | 'TextIndentIncreaseLtr' - | 'TextIndentIncreaseLtr90' - | 'TextIndentIncreaseLtrRotate270' - | 'TextIndentIncreaseRotate270' - | 'TextIndentIncreaseRotate90' - | 'TextIndentIncreaseRtl' - | 'TextIndentIncreaseRtl90' - | 'TextIndentIncreaseRtlRotate270' - | 'TextItalic' - | 'TextLineSpacing' - | 'TextMore' - | 'TextNumberFormat' - | 'TextNumberListLtr' - | 'TextNumberListLtr90' - | 'TextNumberListLtrRotate270' - | 'TextNumberListRotate270' - | 'TextNumberListRotate90' - | 'TextNumberListRtl' - | 'TextNumberListRtl90' - | 'TextNumberListRtlRotate270' - | 'TextParagraph' - | 'TextParagraphDirection' - | 'TextParagraphDirectionLeft' - | 'TextParagraphDirectionRight' - | 'TextPeriodAsterisk' - | 'TextPositionBehind' - | 'TextPositionFront' - | 'TextPositionLine' - | 'TextPositionSquare' - | 'TextPositionSquareLeft' - | 'TextPositionSquareRight' - | 'TextPositionThrough' - | 'TextPositionTight' - | 'TextPositionTopBottom' - | 'TextProofingTools' - | 'TextQuote' - | 'TextSortAscending' - | 'TextSortDescending' - | 'TextStrikethrough' - | 'TextSubscript' - | 'TextSuperscript' - | 'TextT' - | 'TextTTag' - | 'TextUnderline' - | 'TextUnderlineCharacterU' - | 'TextUnderlineDouble' - | 'TextWholeWord' - | 'TextWordCount' - | 'TextWrap' - | 'TextWrapOff' - | 'Textbox' - | 'TextboxAlignBottom' - | 'TextboxAlignBottomCenter' - | 'TextboxAlignBottomLeft' - | 'TextboxAlignBottomRight' - | 'TextboxAlignBottomRotate90' - | 'TextboxAlignCenter' - | 'TextboxAlignMiddle' - | 'TextboxAlignMiddleLeft' - | 'TextboxAlignMiddleRight' - | 'TextboxAlignMiddleRotate90' - | 'TextboxAlignTop' - | 'TextboxAlignTopCenter' - | 'TextboxAlignTopLeft' - | 'TextboxAlignTopRight' - | 'TextboxAlignTopRotate90' - | 'TextboxMore' - | 'TextboxRotate90' - | 'TextboxSettings' - | 'Thinking' - | 'ThumbDislike' - | 'ThumbLike' - | 'ThumbLikeDislike' - | 'TicketDiagonal' - | 'TicketHorizontal' - | 'TimeAndWeather' - | 'TimePicker' - | 'Timeline' - | 'Timer10' - | 'Timer' - | 'Timer2' - | 'Timer3' - | 'TimerOff' - | 'ToggleLeft' - | 'ToggleMultiple' - | 'ToggleRight' - | 'Toolbox' - | 'TooltipQuote' - | 'TopSpeed' - | 'Translate' - | 'TranslateAuto' - | 'TranslateOff' - | 'Transmission' - | 'TrayItemAdd' - | 'TrayItemRemove' - | 'TreeDeciduous' - | 'TreeEvergreen' - | 'Triangle' - | 'TriangleDown' - | 'TriangleLeft' - | 'TriangleRight' - | 'TriangleUp' - | 'Trophy' - | 'TrophyLock' - | 'TrophyOff' - | 'Tv' - | 'TvArrowRight' - | 'TvUsb' - | 'Umbrella' - | 'UninstallApp' - | 'UsbPlug' - | 'UsbStick' - | 'Vault' - | 'VehicleBicycle' - | 'VehicleBus' - | 'VehicleCab' - | 'VehicleCableCar' - | 'VehicleCar' - | 'VehicleCarCollision' - | 'VehicleCarParking' - | 'VehicleCarProfile' - | 'VehicleCarProfileLtr' - | 'VehicleCarProfileLtrClock' - | 'VehicleCarProfileRtl' - | 'VehicleShip' - | 'VehicleSubway' - | 'VehicleSubwayClock' - | 'VehicleTruck' - | 'VehicleTruckBag' - | 'VehicleTruckCube' - | 'VehicleTruckProfile' - | 'Video' - | 'Video360' - | 'Video360Off' - | 'VideoAdd' - | 'VideoBackgroundEffect' - | 'VideoBackgroundEffectHorizontal' - | 'VideoChat' - | 'VideoClip' - | 'VideoClipMultiple' - | 'VideoClipOff' - | 'VideoClipOptimize' - | 'VideoLink' - | 'VideoOff' - | 'VideoPeople' - | 'VideoPerson' - | 'VideoPersonCall' - | 'VideoPersonClock' - | 'VideoPersonOff' - | 'VideoPersonPulse' - | 'VideoPersonSparkle' - | 'VideoPersonSparkleOff' - | 'VideoPersonStar' - | 'VideoPersonStarOff' - | 'VideoPlayPause' - | 'VideoProhibited' - | 'VideoRecording' - | 'VideoSecurity' - | 'VideoSwitch' - | 'VideoSync' - | 'ViewDesktop' - | 'ViewDesktopMobile' - | 'VirtualNetwork' - | 'VirtualNetworkToolbox' - | 'Voicemail' - | 'VoicemailArrowBack' - | 'VoicemailArrowForward' - | 'VoicemailArrowSubtract' - | 'VoicemailShield' - | 'VoicemailSubtract' - | 'Vote' - | 'WalkieTalkie' - | 'Wallet' - | 'WalletCreditCard' - | 'Wallpaper' - | 'Wand' - | 'Warning' - | 'WarningShield' - | 'Washer' - | 'Water' - | 'WeatherBlowingSnow' - | 'WeatherCloudy' - | 'WeatherDrizzle' - | 'WeatherDuststorm' - | 'WeatherFog' - | 'WeatherHailDay' - | 'WeatherHailNight' - | 'WeatherHaze' - | 'WeatherMoon' - | 'WeatherMoonOff' - | 'WeatherPartlyCloudyDay' - | 'WeatherPartlyCloudyNight' - | 'WeatherRain' - | 'WeatherRainShowersDay' - | 'WeatherRainShowersNight' - | 'WeatherRainSnow' - | 'WeatherSnow' - | 'WeatherSnowShowerDay' - | 'WeatherSnowShowerNight' - | 'WeatherSnowflake' - | 'WeatherSqualls' - | 'WeatherSunny' - | 'WeatherSunnyHigh' - | 'WeatherSunnyLow' - | 'WeatherThunderstorm' - | 'WebAsset' - | 'Whiteboard' - | 'WhiteboardOff' - | 'Wifi1' - | 'Wifi2' - | 'Wifi3' - | 'Wifi4' - | 'WifiLock' - | 'WifiOff' - | 'WifiSettings' - | 'WifiWarning' - | 'Window' - | 'WindowAd' - | 'WindowAdOff' - | 'WindowAdPerson' - | 'WindowApps' - | 'WindowArrowUp' - | 'WindowBulletList' - | 'WindowBulletListAdd' - | 'WindowConsole' - | 'WindowDatabase' - | 'WindowDevEdit' - | 'WindowDevTools' - | 'WindowEdit' - | 'WindowHeaderHorizontal' - | 'WindowHeaderHorizontalOff' - | 'WindowHeaderVertical' - | 'WindowInprivate' - | 'WindowInprivateAccount' - | 'WindowLocationTarget' - | 'WindowMultiple' - | 'WindowMultipleSwap' - | 'WindowNew' - | 'WindowPlay' - | 'WindowSettings' - | 'WindowShield' - | 'WindowText' - | 'WindowWrench' - | 'Wrench' - | 'WrenchScrewdriver' - | 'WrenchSettings' - | 'XboxConsole' - | 'XboxController' - | 'XboxControllerError' - | 'Xray' - | 'ZoomFit' - | 'ZoomIn' - | 'ZoomOut'; - -export type ActionStyle = 'default' | 'positive' | 'destructive'; - -export type ActionMode = 'primary' | 'secondary'; - -export type FallbackAction = - | ISubmitAction - | IOpenUrlAction - | IExecuteAction - | IToggleVisibilityAction - | IShowCardAction - | IResetInputsAction - | 'drop'; - -export type ContainerStyle = 'default' | 'emphasis' | 'accent' | 'good' | 'attention' | 'warning'; - -export type TargetWidth = - | 'VeryNarrow' - | 'Narrow' - | 'Standard' - | 'Wide' - | 'atLeast:VeryNarrow' - | 'atMost:VeryNarrow' - | 'atLeast:Narrow' - | 'atMost:Narrow' - | 'atLeast:Standard' - | 'atMost:Standard' - | 'atLeast:Wide' - | 'atMost:Wide'; - -export type HorizontalAlignment = 'Left' | 'Center' | 'Right'; - -export type VerticalAlignment = 'Top' | 'Center' | 'Bottom'; - -export type FlowLayoutItemFit = 'Fit' | 'Fill'; - -export type Spacing = - | 'None' - | 'ExtraSmall' - | 'Small' - | 'Default' - | 'Medium' - | 'Large' - | 'ExtraLarge' - | 'Padding'; - -export type FillMode = 'Cover' | 'RepeatHorizontally' | 'RepeatVertically' | 'Repeat'; - -export type MentionType = 'Person' | 'Tag'; - -export type ElementHeight = 'auto' | 'stretch'; - -export type TextSize = 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'; - -export type TextWeight = 'Lighter' | 'Default' | 'Bolder'; - -export type TextColor = 'Default' | 'Dark' | 'Light' | 'Accent' | 'Good' | 'Warning' | 'Attention'; - -export type FontType = 'Default' | 'Monospace'; - -export type ImageStyle = 'Default' | 'Person' | 'RoundedCorners'; - -export type Size = 'Auto' | 'Stretch' | 'Small' | 'Medium' | 'Large'; - -export type InputTextStyle = 'Text' | 'Tel' | 'Url' | 'Email' | 'Password'; - -export type RatingSize = 'Medium' | 'Large'; - -export type RatingColor = 'Neutral' | 'Marigold'; - -export type RatingStyle = 'Default' | 'Compact'; - -export type IconSize = - | 'xxSmall' - | 'xSmall' - | 'Small' - | 'Standard' - | 'Medium' - | 'Large' - | 'xLarge' - | 'xxLarge'; - -export type IconStyle = 'Regular' | 'Filled'; - -export type CarouselPageAnimation = 'Slide' | 'CrossFade' | 'None'; - -export type BadgeIconPosition = 'Before' | 'After'; - -export type BadgeAppearance = 'Filled' | 'Tint'; - -export type BadgeSize = 'Medium' | 'Large' | 'ExtraLarge'; - -export type BadgeShape = 'Square' | 'Rounded' | 'Circular'; - -export type BadgeStyle = - | 'Default' - | 'Subtle' - | 'Informative' - | 'Accent' - | 'Good' - | 'Attention' - | 'Warning'; - -export type ChartColorSet = 'categorical' | 'sequential' | 'diverging'; - -export type ChartColor = - | 'good' - | 'warning' - | 'attention' - | 'neutral' - | 'categoricalRed' - | 'categoricalPurple' - | 'categoricalLavender' - | 'categoricalBlue' - | 'categoricalLightBlue' - | 'categoricalTeal' - | 'categoricalGreen' - | 'categoricalLime' - | 'categoricalMarigold' - | 'sequential1' - | 'sequential2' - | 'sequential3' - | 'sequential4' - | 'sequential5' - | 'sequential6' - | 'sequential7' - | 'sequential8' - | 'divergingBlue' - | 'divergingLightBlue' - | 'divergingCyan' - | 'divergingTeal' - | 'divergingYellow' - | 'divergingPeach' - | 'divergingLightRed' - | 'divergingRed' - | 'divergingMaroon' - | 'divergingGray'; - -export type HorizontalBarChartDisplayMode = 'AbsoluteWithAxis' | 'AbsoluteNoAxis' | 'PartToWhole'; - -export type GaugeChartValueFormat = 'Percentage' | 'Fraction'; - -export type FallbackElement = - | IContainer - | IActionSet - | IColumnSet - | IMedia - | IRichTextBlock - | ITable - | ITextBlock - | IFactSet - | IImageSet - | IImage - | ITextInput - | IDateInput - | ITimeInput - | INumberInput - | IToggleInput - | IChoiceSetInput - | IRatingInput - | IRating - | ICompoundButton - | IIcon - | ICarousel - | IBadge - | IDonutChart - | IPieChart - | IGroupedVerticalBarChart - | IVerticalBarChart - | IHorizontalBarChart - | IStackedHorizontalBarChart - | ILineChart - | IGaugeChart - | ICodeBlock - | IComUserMicrosoftGraphComponent - | IComUsersMicrosoftGraphComponent - | IComResourceMicrosoftGraphComponent - | IComFileMicrosoftGraphComponent - | IComEventMicrosoftGraphComponent - | 'drop'; - -export type CardElementArray = ( - | IActionSet - | IBadge - | ICarousel - | IDonutChart - | IGaugeChart - | IHorizontalBarChart - | IStackedHorizontalBarChart - | ILineChart - | IPieChart - | IVerticalBarChart - | IGroupedVerticalBarChart - | ICodeBlock - | IColumnSet - | IComEventMicrosoftGraphComponent - | IComFileMicrosoftGraphComponent - | IComResourceMicrosoftGraphComponent - | IComUserMicrosoftGraphComponent - | IComUsersMicrosoftGraphComponent - | ICompoundButton - | IContainer - | IFactSet - | IIcon - | IImage - | IImageSet - | IChoiceSetInput - | IDateInput - | INumberInput - | IRatingInput - | ITextInput - | ITimeInput - | IToggleInput - | IMedia - | IRating - | IRichTextBlock - | ITable - | ITextBlock -)[]; - -export type ImageSize = 'Small' | 'Medium' | 'Large'; +/* eslint-disable @typescript-eslint/no-empty-interface */ +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* cSpell:disable */ + +// This file was automatically generated by a tool on 03/18/2026, 10:42 PM UTC. DO NOT UPDATE MANUALLY. +// It includes declarations for Adaptive Card features available in Teams, Copilot, Outlook, Word, Excel, PowerPoint. + +export type CardElement = IContainer | IActionSet | IColumnSet | IMedia | IRichTextBlock | ITable | ITextBlock | IFactSet | IImageSet | IImage | ITextInput | IDateInput | ITimeInput | INumberInput | IToggleInput | IChoiceSetInput | IRatingInput | IRating | ICompoundButton | IIcon | ICarousel | IBadge | IProgressRing | IProgressBar | IDonutChart | IPieChart | IGroupedVerticalBarChart | IVerticalBarChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IGaugeChart | ICodeBlock | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComEventMicrosoftGraphComponent; + +export type Action = ISubmitAction | IOpenUrlAction | IExecuteAction | IToggleVisibilityAction | IShowCardAction | IResetInputsAction | IPopoverAction | IOpenUrlDialogAction | IInsertImageAction; + +export type IconName = "AccessTime" | "Accessibility" | "AccessibilityCheckmark" | "Add" | "AddCircle" | "AddSquare" | "AddSquareMultiple" | "AddSubtractCircle" | "Airplane" | "AirplaneLanding" | "AirplaneTakeOff" | "Album" | "AlbumAdd" | "Alert" | "AlertBadge" | "AlertOff" | "AlertOn" | "AlertSnooze" | "AlertUrgent" | "AlignBottom" | "AlignCenterHorizontal" | "AlignCenterVertical" | "AlignDistributeBottom" | "AlignDistributeLeft" | "AlignDistributeRight" | "AlignDistributeTop" | "AlignEndHorizontal" | "AlignEndVertical" | "AlignLeft" | "AlignRight" | "AlignSpaceAroundHorizontal" | "AlignSpaceAroundVertical" | "AlignSpaceBetweenHorizontal" | "AlignSpaceBetweenVertical" | "AlignSpaceEvenlyHorizontal" | "AlignSpaceEvenlyVertical" | "AlignSpaceFitVertical" | "AlignStartHorizontal" | "AlignStartVertical" | "AlignStraighten" | "AlignStretchHorizontal" | "AlignStretchVertical" | "AlignTop" | "AnimalCat" | "AnimalDog" | "AnimalRabbit" | "AnimalRabbitOff" | "AnimalTurtle" | "AppFolder" | "AppGeneric" | "AppRecent" | "AppStore" | "AppTitle" | "ApprovalsApp" | "Apps" | "AppsAddIn" | "AppsList" | "AppsListDetail" | "Archive" | "ArchiveArrowBack" | "ArchiveMultiple" | "ArchiveSettings" | "ArrowAutofitContent" | "ArrowAutofitDown" | "ArrowAutofitHeight" | "ArrowAutofitHeightDotted" | "ArrowAutofitHeightIn" | "ArrowAutofitUp" | "ArrowAutofitWidth" | "ArrowAutofitWidthDotted" | "ArrowBetweenDown" | "ArrowBetweenUp" | "ArrowBidirectionalLeftRight" | "ArrowBidirectionalUpDown" | "ArrowBounce" | "ArrowCircleDown" | "ArrowCircleDownDouble" | "ArrowCircleDownRight" | "ArrowCircleDownSplit" | "ArrowCircleDownUp" | "ArrowCircleLeft" | "ArrowCircleRight" | "ArrowCircleUp" | "ArrowCircleUpLeft" | "ArrowCircleUpRight" | "ArrowClockwise" | "ArrowClockwiseDashes" | "ArrowCollapseAll" | "ArrowCounterclockwise" | "ArrowCounterclockwiseDashes" | "ArrowCurveDownLeft" | "ArrowCurveDownRight" | "ArrowCurveUpLeft" | "ArrowCurveUpRight" | "ArrowDown" | "ArrowDownExclamation" | "ArrowDownLeft" | "ArrowDownload" | "ArrowDownloadOff" | "ArrowEject" | "ArrowEnter" | "ArrowEnterLeft" | "ArrowEnterUp" | "ArrowExit" | "ArrowExpand" | "ArrowExport" | "ArrowExportLtr" | "ArrowExportRtl" | "ArrowExportUp" | "ArrowFit" | "ArrowFitIn" | "ArrowFlowDiagonalUpRight" | "ArrowFlowUpRight" | "ArrowFlowUpRightRectangleMultiple" | "ArrowForward" | "ArrowForwardDownLightning" | "ArrowForwardDownPerson" | "ArrowHookDownLeft" | "ArrowHookDownRight" | "ArrowHookUpLeft" | "ArrowHookUpRight" | "ArrowImport" | "ArrowJoin" | "ArrowLeft" | "ArrowMaximize" | "ArrowMaximizeVertical" | "ArrowMinimize" | "ArrowMinimizeVertical" | "ArrowMove" | "ArrowMoveInward" | "ArrowNext" | "ArrowOutlineDownLeft" | "ArrowOutlineUpRight" | "ArrowParagraph" | "ArrowPrevious" | "ArrowRedo" | "ArrowRepeat1" | "ArrowRepeatAll" | "ArrowRepeatAllOff" | "ArrowReply" | "ArrowReplyAll" | "ArrowReplyDown" | "ArrowReset" | "ArrowRight" | "ArrowRotateClockwise" | "ArrowRotateCounterclockwise" | "ArrowRouting" | "ArrowRoutingRectangleMultiple" | "ArrowShuffle" | "ArrowShuffleOff" | "ArrowSort" | "ArrowSortDown" | "ArrowSortDownLines" | "ArrowSortUp" | "ArrowSplit" | "ArrowSprint" | "ArrowSquareDown" | "ArrowSquareUpRight" | "ArrowStepBack" | "ArrowStepIn" | "ArrowStepInDiagonalDownLeft" | "ArrowStepInLeft" | "ArrowStepInRight" | "ArrowStepOut" | "ArrowStepOver" | "ArrowSwap" | "ArrowSync" | "ArrowSyncCheckmark" | "ArrowSyncCircle" | "ArrowSyncDismiss" | "ArrowSyncOff" | "ArrowTrending" | "ArrowTrendingCheckmark" | "ArrowTrendingDown" | "ArrowTrendingLines" | "ArrowTrendingSettings" | "ArrowTrendingSparkle" | "ArrowTrendingText" | "ArrowTrendingWrench" | "ArrowTurnBidirectionalDownRight" | "ArrowTurnDownLeft" | "ArrowTurnDownRight" | "ArrowTurnDownUp" | "ArrowTurnLeftDown" | "ArrowTurnLeftRight" | "ArrowTurnLeftUp" | "ArrowTurnRight" | "ArrowTurnRightDown" | "ArrowTurnRightLeft" | "ArrowTurnRightUp" | "ArrowTurnUpDown" | "ArrowTurnUpLeft" | "ArrowUndo" | "ArrowUp" | "ArrowUpLeft" | "ArrowUpRight" | "ArrowUpRightDashes" | "ArrowUpSquareSettings" | "ArrowUpload" | "ArrowWrap" | "ArrowWrapOff" | "ArrowsBidirectional" | "Attach" | "AttachArrowRight" | "AttachText" | "AutoFitHeight" | "AutoFitWidth" | "Autocorrect" | "Autosum" | "Backpack" | "BackpackAdd" | "Backspace" | "Badge" | "Balloon" | "BarcodeScanner" | "Battery0" | "Battery10" | "Battery1" | "Battery2" | "Battery3" | "Battery4" | "Battery5" | "Battery6" | "Battery7" | "Battery8" | "Battery9" | "BatteryCharge" | "BatteryCheckmark" | "BatterySaver" | "BatteryWarning" | "Beach" | "Beaker" | "BeakerAdd" | "BeakerDismiss" | "BeakerEdit" | "BeakerEmpty" | "BeakerOff" | "BeakerSettings" | "Bed" | "BezierCurveSquare" | "BinFull" | "BinRecycle" | "BinRecycleFull" | "BinderTriangle" | "Bluetooth" | "BluetoothConnected" | "BluetoothDisabled" | "BluetoothSearching" | "Blur" | "Board" | "BoardGames" | "BoardHeart" | "BoardSplit" | "Book" | "BookAdd" | "BookArrowClockwise" | "BookClock" | "BookCoins" | "BookCompass" | "BookContacts" | "BookDatabase" | "BookDefault" | "BookDismiss" | "BookExclamationMark" | "BookGlobe" | "BookInformation" | "BookLetter" | "BookNumber" | "BookOpen" | "BookOpenGlobe" | "BookOpenMicrophone" | "BookPulse" | "BookQuestionMark" | "BookQuestionMarkRtl" | "BookSearch" | "BookStar" | "BookTemplate" | "BookTheta" | "BookToolbox" | "Bookmark" | "BookmarkAdd" | "BookmarkMultiple" | "BookmarkOff" | "BookmarkSearch" | "BorderAll" | "BorderBottom" | "BorderBottomDouble" | "BorderBottomThick" | "BorderInside" | "BorderLeft" | "BorderLeftRight" | "BorderNone" | "BorderOutside" | "BorderOutsideThick" | "BorderRight" | "BorderTop" | "BorderTopBottom" | "BorderTopBottomDouble" | "BorderTopBottomThick" | "Bot" | "BotAdd" | "BotSparkle" | "BowTie" | "BowlChopsticks" | "BowlSalad" | "Box" | "BoxArrowLeft" | "BoxArrowUp" | "BoxCheckmark" | "BoxDismiss" | "BoxEdit" | "BoxMultiple" | "BoxMultipleArrowLeft" | "BoxMultipleArrowRight" | "BoxMultipleCheckmark" | "BoxMultipleSearch" | "BoxSearch" | "BoxToolbox" | "Braces" | "BracesCheckmark" | "BracesDismiss" | "BracesVariable" | "BrainCircuit" | "Branch" | "BranchCompare" | "BranchFork" | "BranchForkHint" | "BranchForkLink" | "BranchRequest" | "BreakoutRoom" | "Briefcase" | "BriefcaseMedical" | "BriefcaseOff" | "BriefcasePerson" | "BriefcaseSearch" | "BrightnessHigh" | "BrightnessLow" | "BroadActivityFeed" | "Broom" | "BubbleMultiple" | "Bug" | "BugArrowCounterclockwise" | "BugProhibited" | "Building" | "BuildingBank" | "BuildingBankLink" | "BuildingBankToolbox" | "BuildingCloud" | "BuildingDesktop" | "BuildingFactory" | "BuildingGovernment" | "BuildingGovernmentSearch" | "BuildingHome" | "BuildingLighthouse" | "BuildingMosque" | "BuildingMultiple" | "BuildingPeople" | "BuildingRetail" | "BuildingRetailMoney" | "BuildingRetailMore" | "BuildingRetailShield" | "BuildingRetailToolbox" | "BuildingShop" | "BuildingSkyscraper" | "BuildingSwap" | "BuildingTownhouse" | "Button" | "Calculator" | "CalculatorArrowClockwise" | "CalculatorMultiple" | "Calendar" | "Calendar3Day" | "CalendarAdd" | "CalendarAgenda" | "CalendarArrowCounterclockwise" | "CalendarArrowDown" | "CalendarArrowRight" | "CalendarAssistant" | "CalendarCancel" | "CalendarChat" | "CalendarCheckmark" | "CalendarClock" | "CalendarDataBar" | "CalendarDate" | "CalendarDay" | "CalendarEdit" | "CalendarEmpty" | "CalendarError" | "CalendarEye" | "CalendarInfo" | "CalendarLink" | "CalendarLock" | "CalendarLtr" | "CalendarMail" | "CalendarMention" | "CalendarMonth" | "CalendarMultiple" | "CalendarNote" | "CalendarPattern" | "CalendarPerson" | "CalendarPhone" | "CalendarPlay" | "CalendarQuestionMark" | "CalendarRecord" | "CalendarReply" | "CalendarRtl" | "CalendarSearch" | "CalendarSettings" | "CalendarShield" | "CalendarStar" | "CalendarSync" | "CalendarToday" | "CalendarToolbox" | "CalendarVideo" | "CalendarWeekNumbers" | "CalendarWeekStart" | "CalendarWorkWeek" | "Call" | "CallAdd" | "CallCheckmark" | "CallConnecting" | "CallDismiss" | "CallEnd" | "CallExclamation" | "CallForward" | "CallInbound" | "CallMissed" | "CallOutbound" | "CallPark" | "CallPause" | "CallProhibited" | "CallTransfer" | "CallWarning" | "CalligraphyPen" | "CalligraphyPenCheckmark" | "CalligraphyPenError" | "CalligraphyPenQuestionMark" | "Camera" | "CameraAdd" | "CameraDome" | "CameraEdit" | "CameraOff" | "CameraSparkles" | "CameraSwitch" | "CardUi" | "CaretDown" | "CaretDownRight" | "CaretLeft" | "CaretRight" | "CaretUp" | "Cart" | "Cast" | "CastMultiple" | "CatchUp" | "Cd" | "Cellular3G" | "Cellular4G" | "Cellular5G" | "CellularData1" | "CellularData2" | "CellularData3" | "CellularData4" | "CellularData5" | "CellularOff" | "CellularWarning" | "CenterHorizontal" | "CenterVertical" | "Certificate" | "Channel" | "ChannelAdd" | "ChannelAlert" | "ChannelArrowLeft" | "ChannelDismiss" | "ChannelShare" | "ChannelSubtract" | "ChartMultiple" | "ChartPerson" | "Chat" | "ChatAdd" | "ChatArrowBack" | "ChatArrowDoubleBack" | "ChatBubblesQuestion" | "ChatCursor" | "ChatDismiss" | "ChatEmpty" | "ChatHelp" | "ChatLock" | "ChatMail" | "ChatMultiple" | "ChatMultipleHeart" | "ChatOff" | "ChatSettings" | "ChatSparkle" | "ChatVideo" | "ChatWarning" | "Check" | "Checkbox1" | "Checkbox2" | "CheckboxArrowRight" | "CheckboxChecked" | "CheckboxCheckedSync" | "CheckboxIndeterminate" | "CheckboxPerson" | "CheckboxUnchecked" | "CheckboxWarning" | "Checkmark" | "CheckmarkCircle" | "CheckmarkCircleSquare" | "CheckmarkLock" | "CheckmarkNote" | "CheckmarkSquare" | "CheckmarkStarburst" | "CheckmarkUnderlineCircle" | "Chess" | "ChevronCircleDown" | "ChevronCircleLeft" | "ChevronCircleRight" | "ChevronCircleUp" | "ChevronDoubleDown" | "ChevronDoubleLeft" | "ChevronDoubleRight" | "ChevronDoubleUp" | "ChevronDown" | "ChevronDownUp" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "ChevronUpDown" | "Circle" | "CircleEdit" | "CircleEraser" | "CircleHalfFill" | "CircleHint" | "CircleHintHalfVertical" | "CircleImage" | "CircleLine" | "CircleMultipleSubtractCheckmark" | "CircleOff" | "CircleSmall" | "City" | "Class" | "Classification" | "ClearFormatting" | "Clipboard" | "Clipboard3Day" | "ClipboardArrowRight" | "ClipboardBrush" | "ClipboardBulletList" | "ClipboardBulletListLtr" | "ClipboardBulletListRtl" | "ClipboardCheckmark" | "ClipboardClock" | "ClipboardCode" | "ClipboardDataBar" | "ClipboardDay" | "ClipboardEdit" | "ClipboardError" | "ClipboardHeart" | "ClipboardImage" | "ClipboardLetter" | "ClipboardLink" | "ClipboardMathFormula" | "ClipboardMonth" | "ClipboardMore" | "ClipboardMultiple" | "ClipboardNote" | "ClipboardNumber123" | "ClipboardPaste" | "ClipboardPulse" | "ClipboardSearch" | "ClipboardSettings" | "ClipboardTask" | "ClipboardTaskAdd" | "ClipboardTaskList" | "ClipboardTaskListLtr" | "ClipboardTaskListRtl" | "ClipboardText" | "ClipboardTextEdit" | "ClipboardTextLtr" | "ClipboardTextRtl" | "Clock" | "ClockAlarm" | "ClockArrowDownload" | "ClockDismiss" | "ClockLock" | "ClockPause" | "ClockToolbox" | "ClosedCaption" | "ClosedCaptionOff" | "Cloud" | "CloudAdd" | "CloudArchive" | "CloudArrowDown" | "CloudArrowUp" | "CloudBeaker" | "CloudBidirectional" | "CloudCheckmark" | "CloudCube" | "CloudDatabase" | "CloudDesktop" | "CloudDismiss" | "CloudEdit" | "CloudError" | "CloudFlow" | "CloudLink" | "CloudOff" | "CloudSwap" | "CloudSync" | "CloudWords" | "Clover" | "Code" | "CodeBlock" | "CodeCircle" | "CodeCs" | "CodeCsRectangle" | "CodeFs" | "CodeFsRectangle" | "CodeJs" | "CodeJsRectangle" | "CodePy" | "CodePyRectangle" | "CodeRb" | "CodeRbRectangle" | "CodeText" | "CodeTextEdit" | "CodeTextOff" | "CodeTs" | "CodeTsRectangle" | "CodeVb" | "CodeVbRectangle" | "Collections" | "CollectionsAdd" | "Color" | "ColorBackground" | "ColorBackgroundAccent" | "ColorFill" | "ColorFillAccent" | "ColorLine" | "ColorLineAccent" | "Column" | "ColumnArrowRight" | "ColumnDoubleCompare" | "ColumnEdit" | "ColumnSingle" | "ColumnSingleCompare" | "ColumnTriple" | "ColumnTripleEdit" | "Comma" | "Comment" | "CommentAdd" | "CommentArrowLeft" | "CommentArrowRight" | "CommentCheckmark" | "CommentDismiss" | "CommentEdit" | "CommentError" | "CommentLightning" | "CommentLink" | "CommentMention" | "CommentMultiple" | "CommentMultipleCheckmark" | "CommentMultipleLink" | "CommentNote" | "CommentOff" | "Communication" | "CommunicationPerson" | "CommunicationShield" | "CompassNorthwest" | "Component2DoubleTapSwipeDown" | "Component2DoubleTapSwipeUp" | "Compose" | "Cone" | "ConferenceRoom" | "Connected" | "Connector" | "ContactCard" | "ContactCardGroup" | "ContactCardLink" | "ContactCardRibbon" | "ContentSettings" | "ContentView" | "ContentViewGallery" | "ContentViewGalleryLightning" | "ContractDownLeft" | "ContractUpRight" | "ControlButton" | "ConvertRange" | "Cookies" | "Copy" | "CopyAdd" | "CopyArrowRight" | "CopySelect" | "Couch" | "CreditCardClock" | "CreditCardPerson" | "CreditCardToolbox" | "Crop" | "CropInterim" | "CropInterimOff" | "CropSparkle" | "Crown" | "CrownSubtract" | "Cube" | "CubeAdd" | "CubeArrowCurveDown" | "CubeLink" | "CubeMultiple" | "CubeQuick" | "CubeRotate" | "CubeSync" | "CubeTree" | "CurrencyDollarEuro" | "CurrencyDollarRupee" | "Cursor" | "CursorClick" | "CursorHover" | "CursorHoverOff" | "CursorProhibited" | "Cut" | "DarkTheme" | "DataArea" | "DataBarHorizontal" | "DataBarHorizontalDescending" | "DataBarVertical" | "DataBarVerticalAdd" | "DataBarVerticalAscending" | "DataBarVerticalStar" | "DataFunnel" | "DataHistogram" | "DataLine" | "DataPie" | "DataScatter" | "DataSunburst" | "DataTreemap" | "DataTrending" | "DataUsage" | "DataUsageEdit" | "DataUsageSettings" | "DataUsageToolbox" | "DataWaterfall" | "DataWhisker" | "Database" | "DatabaseArrowDown" | "DatabaseArrowRight" | "DatabaseArrowUp" | "DatabaseLightning" | "DatabaseLink" | "DatabaseMultiple" | "DatabasePerson" | "DatabasePlugConnected" | "DatabaseSearch" | "DatabaseStack" | "DatabaseSwitch" | "DatabaseWarning" | "DatabaseWindow" | "DecimalArrowLeft" | "DecimalArrowRight" | "Delete" | "DeleteArrowBack" | "DeleteDismiss" | "DeleteLines" | "DeleteOff" | "Dentist" | "DesignIdeas" | "Desk" | "Desktop" | "DesktopArrowDown" | "DesktopArrowRight" | "DesktopCheckmark" | "DesktopCursor" | "DesktopEdit" | "DesktopFlow" | "DesktopKeyboard" | "DesktopMac" | "DesktopPulse" | "DesktopSignal" | "DesktopSpeaker" | "DesktopSpeakerOff" | "DesktopSync" | "DesktopToolbox" | "DesktopTower" | "DeveloperBoard" | "DeveloperBoardLightning" | "DeveloperBoardLightningToolbox" | "DeveloperBoardSearch" | "DeviceEq" | "DeviceMeetingRoom" | "DeviceMeetingRoomRemote" | "Diagram" | "Dialpad" | "DialpadOff" | "DialpadQuestionMark" | "Diamond" | "Directions" | "Dishwasher" | "Dismiss" | "DismissCircle" | "DismissSquare" | "DismissSquareMultiple" | "Diversity" | "DividerShort" | "DividerTall" | "Dock" | "DockRow" | "Doctor" | "Document100" | "Document" | "DocumentAdd" | "DocumentArrowDown" | "DocumentArrowLeft" | "DocumentArrowRight" | "DocumentArrowUp" | "DocumentBorder" | "DocumentBorderPrint" | "DocumentBriefcase" | "DocumentBulletList" | "DocumentBulletListArrowLeft" | "DocumentBulletListClock" | "DocumentBulletListCube" | "DocumentBulletListMultiple" | "DocumentBulletListOff" | "DocumentCatchUp" | "DocumentCheckmark" | "DocumentChevronDouble" | "DocumentContract" | "DocumentCopy" | "DocumentCs" | "DocumentCss" | "DocumentCube" | "DocumentData" | "DocumentDataLink" | "DocumentDataLock" | "DocumentDatabase" | "DocumentDismiss" | "DocumentEdit" | "DocumentEndnote" | "DocumentError" | "DocumentFit" | "DocumentFlowchart" | "DocumentFolder" | "DocumentFooter" | "DocumentFooterDismiss" | "DocumentFs" | "DocumentHeader" | "DocumentHeaderArrowDown" | "DocumentHeaderDismiss" | "DocumentHeaderFooter" | "DocumentHeart" | "DocumentHeartPulse" | "DocumentImage" | "DocumentJava" | "DocumentJavascript" | "DocumentJs" | "DocumentKey" | "DocumentLandscape" | "DocumentLandscapeData" | "DocumentLandscapeSplit" | "DocumentLandscapeSplitHint" | "DocumentLightning" | "DocumentLink" | "DocumentLock" | "DocumentMargins" | "DocumentMention" | "DocumentMultiple" | "DocumentMultiplePercent" | "DocumentMultipleProhibited" | "DocumentMultipleSync" | "DocumentNumber1" | "DocumentOnePage" | "DocumentOnePageAdd" | "DocumentOnePageBeaker" | "DocumentOnePageColumns" | "DocumentOnePageLink" | "DocumentOnePageMultiple" | "DocumentOnePageSparkle" | "DocumentPageBottomCenter" | "DocumentPageBottomLeft" | "DocumentPageBottomRight" | "DocumentPageBreak" | "DocumentPageNumber" | "DocumentPageTopCenter" | "DocumentPageTopLeft" | "DocumentPageTopRight" | "DocumentPdf" | "DocumentPercent" | "DocumentPerson" | "DocumentPill" | "DocumentPrint" | "DocumentProhibited" | "DocumentPy" | "DocumentQuestionMark" | "DocumentQueue" | "DocumentQueueAdd" | "DocumentQueueMultiple" | "DocumentRb" | "DocumentRibbon" | "DocumentSass" | "DocumentSave" | "DocumentSearch" | "DocumentSettings" | "DocumentSplitHint" | "DocumentSplitHintOff" | "DocumentSync" | "DocumentTable" | "DocumentTableArrowRight" | "DocumentTableCheckmark" | "DocumentTableCube" | "DocumentTableSearch" | "DocumentTableTruck" | "DocumentTarget" | "DocumentText" | "DocumentTextClock" | "DocumentTextExtract" | "DocumentTextLink" | "DocumentTextToolbox" | "DocumentToolbox" | "DocumentTs" | "DocumentVb" | "DocumentWidth" | "DocumentYml" | "Door" | "DoorArrowLeft" | "DoorArrowRight" | "DoorTag" | "DoubleSwipeDown" | "DoubleSwipeUp" | "DoubleTapSwipeDown" | "DoubleTapSwipeUp" | "Drafts" | "Drag" | "DrawImage" | "DrawShape" | "DrawText" | "Drawer" | "DrawerAdd" | "DrawerArrowDownload" | "DrawerDismiss" | "DrawerPlay" | "DrawerSubtract" | "DrinkBeer" | "DrinkBottle" | "DrinkBottleOff" | "DrinkCoffee" | "DrinkMargarita" | "DrinkToGo" | "DrinkWine" | "DriveTrain" | "Drop" | "DualScreen" | "DualScreenAdd" | "DualScreenArrowRight" | "DualScreenArrowUp" | "DualScreenClock" | "DualScreenClosedAlert" | "DualScreenDesktop" | "DualScreenDismiss" | "DualScreenGroup" | "DualScreenHeader" | "DualScreenLock" | "DualScreenMirror" | "DualScreenPagination" | "DualScreenSettings" | "DualScreenSpan" | "DualScreenSpeaker" | "DualScreenStatusBar" | "DualScreenTablet" | "DualScreenUpdate" | "DualScreenVerticalScroll" | "DualScreenVibrate" | "Dumbbell" | "Dust" | "Earth" | "EarthLeaf" | "Edit" | "EditArrowBack" | "EditOff" | "EditProhibited" | "EditSettings" | "Elevator" | "Emoji" | "EmojiAdd" | "EmojiAngry" | "EmojiEdit" | "EmojiHand" | "EmojiHint" | "EmojiLaugh" | "EmojiMeh" | "EmojiMultiple" | "EmojiSad" | "EmojiSadSlight" | "EmojiSmileSlight" | "EmojiSparkle" | "EmojiSurprise" | "Engine" | "EqualCircle" | "EqualOff" | "Eraser" | "EraserMedium" | "EraserSegment" | "EraserSmall" | "EraserTool" | "ErrorCircle" | "ErrorCircleSettings" | "ExpandUpLeft" | "ExpandUpRight" | "ExtendedDock" | "Eye" | "EyeLines" | "EyeOff" | "EyeTracking" | "EyeTrackingOff" | "Eyedropper" | "EyedropperOff" | "FStop" | "FastAcceleration" | "FastForward" | "Fax" | "Feed" | "Filmstrip" | "FilmstripImage" | "FilmstripOff" | "FilmstripPlay" | "FilmstripSplit" | "Filter" | "FilterAdd" | "FilterDismiss" | "FilterSync" | "Fingerprint" | "Fire" | "Fireplace" | "FixedWidth" | "Flag" | "FlagCheckered" | "FlagClock" | "FlagOff" | "FlagPride" | "FlagPrideIntersexInclusiveProgress" | "FlagPridePhiladelphia" | "FlagPrideProgress" | "Flash" | "FlashAdd" | "FlashAuto" | "FlashCheckmark" | "FlashFlow" | "FlashOff" | "FlashPlay" | "FlashSettings" | "FlashSparkle" | "Flashlight" | "FlashlightOff" | "FlipHorizontal" | "FlipVertical" | "Flow" | "Flowchart" | "FlowchartCircle" | "Fluent" | "Fluid" | "Folder" | "FolderAdd" | "FolderArrowLeft" | "FolderArrowRight" | "FolderArrowUp" | "FolderBriefcase" | "FolderGlobe" | "FolderLightning" | "FolderLink" | "FolderList" | "FolderMail" | "FolderMultiple" | "FolderOpen" | "FolderOpenVertical" | "FolderPeople" | "FolderPerson" | "FolderProhibited" | "FolderSearch" | "FolderSwap" | "FolderSync" | "FolderZip" | "FontDecrease" | "FontIncrease" | "FontSpaceTrackingIn" | "FontSpaceTrackingOut" | "Food" | "FoodApple" | "FoodCake" | "FoodCarrot" | "FoodChickenLeg" | "FoodEgg" | "FoodFish" | "FoodGrains" | "FoodPizza" | "FoodToast" | "Form" | "FormMultiple" | "FormNew" | "Fps120" | "Fps240" | "Fps30" | "Fps60" | "Fps960" | "Frame" | "FullScreenMaximize" | "FullScreenMinimize" | "Games" | "GanttChart" | "Gas" | "GasPump" | "Gather" | "Gauge" | "GaugeAdd" | "Gavel" | "GavelProhibited" | "Gesture" | "Gif" | "Gift" | "GiftCard" | "GiftCardAdd" | "GiftCardArrowRight" | "GiftCardMoney" | "GiftCardMultiple" | "GiftOpen" | "Glance" | "GlanceDefault" | "GlanceHorizontal" | "GlanceHorizontalSparkle" | "GlanceHorizontalSparkles" | "Glasses" | "GlassesOff" | "Globe" | "GlobeAdd" | "GlobeArrowForward" | "GlobeArrowUp" | "GlobeClock" | "GlobeDesktop" | "GlobeError" | "GlobeLocation" | "GlobePerson" | "GlobeProhibited" | "GlobeSearch" | "GlobeShield" | "GlobeStar" | "GlobeSurface" | "GlobeSync" | "GlobeVideo" | "GlobeWarning" | "Grid" | "GridCircles" | "GridDots" | "GridKanban" | "Group" | "GroupDismiss" | "GroupList" | "GroupReturn" | "Guardian" | "Guest" | "GuestAdd" | "Guitar" | "HandDraw" | "HandLeft" | "HandLeftChat" | "HandOpenHeart" | "HandRight" | "HandRightOff" | "HandWave" | "Handshake" | "HardDrive" | "HardDriveCall" | "HatGraduation" | "HatGraduationAdd" | "HatGraduationSparkle" | "Hd" | "Hdr" | "HdrOff" | "Headphones" | "HeadphonesSoundWave" | "Headset" | "HeadsetAdd" | "HeadsetVr" | "Heart" | "HeartBroken" | "HeartCircle" | "HeartCircleHint" | "HeartOff" | "HeartPulse" | "HeartPulseCheckmark" | "HeartPulseError" | "HeartPulseWarning" | "Hexagon" | "HexagonThree" | "Highlight" | "HighlightAccent" | "HighlightLink" | "History" | "HistoryDismiss" | "Home" | "HomeAdd" | "HomeCheckmark" | "HomeDatabase" | "HomeHeart" | "HomeMore" | "HomePerson" | "HomeSplit" | "Hourglass" | "HourglassHalf" | "HourglassOneQuarter" | "HourglassThreeQuarter" | "Icons" | "Image" | "ImageAdd" | "ImageAltText" | "ImageArrowBack" | "ImageArrowCounterclockwise" | "ImageArrowForward" | "ImageBorder" | "ImageCircle" | "ImageCopy" | "ImageEdit" | "ImageGlobe" | "ImageMultiple" | "ImageMultipleOff" | "ImageOff" | "ImageProhibited" | "ImageReflection" | "ImageSearch" | "ImageShadow" | "ImageSparkle" | "ImageStack" | "ImageTable" | "ImmersiveReader" | "Important" | "Incognito" | "Info" | "InfoShield" | "InkStroke" | "InkStrokeArrowDown" | "InkStrokeArrowUpDown" | "InkingTool" | "InkingToolAccent" | "InprivateAccount" | "Insert" | "IosArrow" | "IosArrowLtr" | "IosArrowRtl" | "IosChevronRight" | "Iot" | "IotAlert" | "Javascript" | "Joystick" | "Key" | "KeyCommand" | "KeyMultiple" | "KeyReset" | "Keyboard123" | "Keyboard" | "KeyboardDock" | "KeyboardLayoutFloat" | "KeyboardLayoutOneHandedLeft" | "KeyboardLayoutResize" | "KeyboardLayoutSplit" | "KeyboardMouse" | "KeyboardShift" | "KeyboardShiftUppercase" | "KeyboardTab" | "Kiosk" | "Laptop" | "LaptopDismiss" | "LaptopMultiple" | "LaptopSettings" | "LaptopShield" | "LaserTool" | "Lasso" | "LauncherSettings" | "Layer" | "LayerDiagonal" | "LayerDiagonalAdd" | "LayerDiagonalPerson" | "LayoutCellFour" | "LayoutCellFourFocusBottomLeft" | "LayoutCellFourFocusBottomRight" | "LayoutCellFourFocusTopLeft" | "LayoutCellFourFocusTopRight" | "LayoutColumnFour" | "LayoutColumnFourFocusCenterLeft" | "LayoutColumnFourFocusCenterRight" | "LayoutColumnFourFocusLeft" | "LayoutColumnFourFocusRight" | "LayoutColumnOneThirdLeft" | "LayoutColumnOneThirdRight" | "LayoutColumnOneThirdRightHint" | "LayoutColumnThree" | "LayoutColumnThreeFocusCenter" | "LayoutColumnThreeFocusLeft" | "LayoutColumnThreeFocusRight" | "LayoutColumnTwo" | "LayoutColumnTwoFocusLeft" | "LayoutColumnTwoFocusRight" | "LayoutColumnTwoSplitLeft" | "LayoutColumnTwoSplitLeftFocusBottomLeft" | "LayoutColumnTwoSplitLeftFocusRight" | "LayoutColumnTwoSplitLeftFocusTopLeft" | "LayoutColumnTwoSplitRight" | "LayoutColumnTwoSplitRightFocusBottomRight" | "LayoutColumnTwoSplitRightFocusLeft" | "LayoutColumnTwoSplitRightFocusTopRight" | "LayoutRowFour" | "LayoutRowFourFocusBottom" | "LayoutRowFourFocusCenterBottom" | "LayoutRowFourFocusCenterTop" | "LayoutRowFourFocusTop" | "LayoutRowThree" | "LayoutRowThreeFocusBottom" | "LayoutRowThreeFocusCenter" | "LayoutRowThreeFocusTop" | "LayoutRowTwo" | "LayoutRowTwoFocusBottom" | "LayoutRowTwoFocusTop" | "LayoutRowTwoSplitBottom" | "LayoutRowTwoSplitBottomFocusBottomLeft" | "LayoutRowTwoSplitBottomFocusBottomRight" | "LayoutRowTwoSplitBottomFocusTop" | "LayoutRowTwoSplitTop" | "LayoutRowTwoSplitTopFocusBottom" | "LayoutRowTwoSplitTopFocusTopLeft" | "LayoutRowTwoSplitTopFocusTopRight" | "LeafOne" | "LeafThree" | "LeafTwo" | "LearningApp" | "Library" | "Lightbulb" | "LightbulbCheckmark" | "LightbulbCircle" | "LightbulbFilament" | "LightbulbPerson" | "Likert" | "Line" | "LineDashes" | "LineHorizontal1" | "LineHorizontal1Dashes" | "LineHorizontal2DashesSolid" | "LineHorizontal3" | "LineHorizontal4" | "LineHorizontal4Search" | "LineHorizontal5" | "LineHorizontal5Error" | "LineStyle" | "LineThickness" | "Link" | "LinkAdd" | "LinkDismiss" | "LinkEdit" | "LinkMultiple" | "LinkPerson" | "LinkSettings" | "LinkSquare" | "LinkToolbox" | "List" | "ListBar" | "ListBarTree" | "ListBarTreeOffset" | "ListRtl" | "Live" | "LiveOff" | "LocalLanguage" | "Location" | "LocationAdd" | "LocationAddLeft" | "LocationAddRight" | "LocationAddUp" | "LocationArrow" | "LocationArrowLeft" | "LocationArrowRight" | "LocationArrowUp" | "LocationDismiss" | "LocationLive" | "LocationOff" | "LocationTargetSquare" | "LockClosed" | "LockClosedKey" | "LockMultiple" | "LockOpen" | "LockShield" | "Lottery" | "Luggage" | "Mail" | "MailAdd" | "MailAlert" | "MailAllRead" | "MailAllUnread" | "MailArrowDoubleBack" | "MailArrowDown" | "MailArrowForward" | "MailArrowUp" | "MailAttach" | "MailCheckmark" | "MailClock" | "MailCopy" | "MailDismiss" | "MailEdit" | "MailError" | "MailInbox" | "MailInboxAdd" | "MailInboxAll" | "MailInboxArrowDown" | "MailInboxArrowRight" | "MailInboxArrowUp" | "MailInboxCheckmark" | "MailInboxDismiss" | "MailLink" | "MailList" | "MailMultiple" | "MailOff" | "MailOpenPerson" | "MailPause" | "MailProhibited" | "MailRead" | "MailReadMultiple" | "MailRewind" | "MailSettings" | "MailShield" | "MailTemplate" | "MailUnread" | "MailWarning" | "Mailbox" | "Map" | "MapDrive" | "Markdown" | "MatchAppLayout" | "MathFormatLinear" | "MathFormatProfessional" | "MathFormula" | "MathSymbols" | "Maximize" | "MeetNow" | "Megaphone" | "MegaphoneCircle" | "MegaphoneLoud" | "MegaphoneOff" | "Memory" | "Mention" | "MentionArrowDown" | "MentionBrackets" | "Merge" | "Mic" | "MicOff" | "MicProhibited" | "MicPulse" | "MicPulseOff" | "MicRecord" | "MicSettings" | "MicSparkle" | "MicSync" | "Microscope" | "Midi" | "MobileOptimized" | "Mold" | "Molecule" | "Money" | "MoneyCalculator" | "MoneyDismiss" | "MoneyHand" | "MoneyOff" | "MoneySettings" | "MoreCircle" | "MoreHorizontal" | "MoreVertical" | "MountainLocationBottom" | "MountainLocationTop" | "MountainTrail" | "MoviesAndTv" | "Multiplier12X" | "Multiplier15X" | "Multiplier18X" | "Multiplier1X" | "Multiplier2X" | "Multiplier5X" | "MultiselectLtr" | "MultiselectRtl" | "MusicNote1" | "MusicNote2" | "MusicNote2Play" | "MusicNoteOff1" | "MusicNoteOff2" | "MyLocation" | "Navigation" | "NavigationLocationTarget" | "NavigationPlay" | "NavigationUnread" | "NetworkAdapter" | "NetworkCheck" | "New" | "News" | "Next" | "NextFrame" | "Note" | "NoteAdd" | "NoteEdit" | "NotePin" | "Notebook" | "NotebookAdd" | "NotebookArrowCurveDown" | "NotebookError" | "NotebookEye" | "NotebookLightning" | "NotebookQuestionMark" | "NotebookSection" | "NotebookSectionArrowRight" | "NotebookSubsection" | "NotebookSync" | "Notepad" | "NotepadEdit" | "NotepadPerson" | "NumberCircle0" | "NumberCircle1" | "NumberCircle2" | "NumberCircle3" | "NumberCircle4" | "NumberCircle5" | "NumberCircle6" | "NumberCircle7" | "NumberCircle8" | "NumberCircle9" | "NumberRow" | "NumberSymbol" | "NumberSymbolDismiss" | "NumberSymbolSquare" | "Open" | "OpenFolder" | "OpenOff" | "Options" | "Organization" | "OrganizationHorizontal" | "Orientation" | "Oval" | "Oven" | "PaddingDown" | "PaddingLeft" | "PaddingRight" | "PaddingTop" | "PageFit" | "PaintBrush" | "PaintBrushArrowDown" | "PaintBrushArrowUp" | "PaintBucket" | "Pair" | "PanelBottom" | "PanelBottomContract" | "PanelBottomExpand" | "PanelLeft" | "PanelLeftAdd" | "PanelLeftContract" | "PanelLeftExpand" | "PanelLeftFocusRight" | "PanelLeftHeader" | "PanelLeftHeaderAdd" | "PanelLeftHeaderKey" | "PanelLeftKey" | "PanelLeftText" | "PanelLeftTextAdd" | "PanelLeftTextDismiss" | "PanelRight" | "PanelRightAdd" | "PanelRightContract" | "PanelRightCursor" | "PanelRightExpand" | "PanelRightGallery" | "PanelSeparateWindow" | "PanelTopContract" | "PanelTopExpand" | "PanelTopGallery" | "Password" | "Patch" | "Patient" | "Pause" | "PauseCircle" | "PauseOff" | "PauseSettings" | "Payment" | "Pen" | "PenDismiss" | "PenOff" | "PenProhibited" | "PenSparkle" | "Pentagon" | "People" | "PeopleAdd" | "PeopleAudience" | "PeopleCall" | "PeopleChat" | "PeopleCheckmark" | "PeopleCommunity" | "PeopleCommunityAdd" | "PeopleEdit" | "PeopleError" | "PeopleList" | "PeopleLock" | "PeopleMoney" | "PeopleProhibited" | "PeopleQueue" | "PeopleSearch" | "PeopleSettings" | "PeopleStar" | "PeopleSwap" | "PeopleSync" | "PeopleTeam" | "PeopleTeamAdd" | "PeopleTeamDelete" | "PeopleTeamToolbox" | "PeopleToolbox" | "Person" | "Person5" | "Person6" | "PersonAccounts" | "PersonAdd" | "PersonAlert" | "PersonArrowBack" | "PersonArrowLeft" | "PersonArrowRight" | "PersonAvailable" | "PersonBoard" | "PersonCall" | "PersonChat" | "PersonCircle" | "PersonClock" | "PersonDelete" | "PersonDesktop" | "PersonEdit" | "PersonFeedback" | "PersonHeart" | "PersonInfo" | "PersonKey" | "PersonLightbulb" | "PersonLightning" | "PersonLink" | "PersonLock" | "PersonMail" | "PersonMoney" | "PersonNote" | "PersonPhone" | "PersonPill" | "PersonProhibited" | "PersonQuestionMark" | "PersonRibbon" | "PersonRunning" | "PersonSearch" | "PersonSettings" | "PersonSquare" | "PersonSquareCheckmark" | "PersonStanding" | "PersonStar" | "PersonStarburst" | "PersonSubtract" | "PersonSupport" | "PersonSwap" | "PersonSync" | "PersonTag" | "PersonVoice" | "PersonWalking" | "PersonWarning" | "PersonWrench" | "Phone" | "PhoneAdd" | "PhoneArrowRight" | "PhoneBriefcase" | "PhoneChat" | "PhoneCheckmark" | "PhoneDesktop" | "PhoneDesktopAdd" | "PhoneDismiss" | "PhoneEdit" | "PhoneEraser" | "PhoneFooterArrowDown" | "PhoneHeaderArrowUp" | "PhoneKey" | "PhoneLaptop" | "PhoneLinkSetup" | "PhoneLock" | "PhoneMultiple" | "PhoneMultipleSettings" | "PhonePageHeader" | "PhonePagination" | "PhonePerson" | "PhoneScreenTime" | "PhoneShake" | "PhoneSpanIn" | "PhoneSpanOut" | "PhoneSpeaker" | "PhoneStatusBar" | "PhoneSubtract" | "PhoneTablet" | "PhoneUpdate" | "PhoneUpdateCheckmark" | "PhoneVerticalScroll" | "PhoneVibrate" | "PhotoFilter" | "Pi" | "PictureInPicture" | "PictureInPictureEnter" | "PictureInPictureExit" | "Pill" | "Pin" | "PinOff" | "Pipeline" | "PipelineAdd" | "PipelineArrowCurveDown" | "PipelinePlay" | "Pivot" | "PlantGrass" | "PlantRagweed" | "Play" | "PlayCircle" | "PlayCircleHint" | "PlayMultiple" | "PlaySettings" | "PlayingCards" | "PlugConnected" | "PlugConnectedAdd" | "PlugConnectedCheckmark" | "PlugConnectedSettings" | "PlugDisconnected" | "PointScan" | "Poll" | "PollHorizontal" | "PollOff" | "PortHdmi" | "PortMicroUsb" | "PortUsbA" | "PortUsbC" | "PositionBackward" | "PositionForward" | "PositionToBack" | "PositionToFront" | "Power" | "Predictions" | "Premium" | "PremiumPerson" | "PresenceAvailable" | "PresenceAway" | "PresenceBlocked" | "PresenceBusy" | "PresenceDnd" | "PresenceOffline" | "PresenceOof" | "PresenceUnknown" | "Presenter" | "PresenterOff" | "PreviewLink" | "Previous" | "PreviousFrame" | "Print" | "PrintAdd" | "Production" | "ProductionCheckmark" | "Prohibited" | "ProhibitedMultiple" | "ProhibitedNote" | "ProjectionScreen" | "ProjectionScreenDismiss" | "ProjectionScreenText" | "ProtocolHandler" | "Pulse" | "PulseSquare" | "PuzzleCube" | "PuzzleCubePiece" | "PuzzlePiece" | "PuzzlePieceShield" | "QrCode" | "Question" | "QuestionCircle" | "QuizNew" | "Radar" | "RadarCheckmark" | "RadarRectangleMultiple" | "RadioButton" | "RadioButtonOff" | "Ram" | "RatingMature" | "RatioOneToOne" | "ReOrder" | "ReOrderDotsHorizontal" | "ReOrderDotsVertical" | "ReadAloud" | "ReadingList" | "ReadingListAdd" | "ReadingModeMobile" | "RealEstate" | "Receipt" | "ReceiptAdd" | "ReceiptBag" | "ReceiptCube" | "ReceiptMoney" | "ReceiptPlay" | "ReceiptSearch" | "ReceiptSparkles" | "Record" | "RecordStop" | "RectangleLandscape" | "RectangleLandscapeHintCopy" | "RectangleLandscapeSparkle" | "RectangleLandscapeSync" | "RectangleLandscapeSyncOff" | "RectanglePortraitLocationTarget" | "Recycle" | "RemixAdd" | "Remote" | "Rename" | "Reorder" | "Replay" | "Resize" | "ResizeImage" | "ResizeLarge" | "ResizeSmall" | "ResizeTable" | "ResizeVideo" | "Reward" | "Rewind" | "Rhombus" | "Ribbon" | "RibbonAdd" | "RibbonOff" | "RibbonStar" | "RoadCone" | "Rocket" | "RotateLeft" | "RotateRight" | "Router" | "RowTriple" | "Rss" | "Ruler" | "Run" | "Sanitize" | "Save" | "SaveArrowRight" | "SaveCopy" | "SaveEdit" | "SaveImage" | "SaveMultiple" | "SaveSearch" | "SaveSync" | "Savings" | "ScaleFill" | "ScaleFit" | "Scales" | "Scan" | "ScanCamera" | "ScanDash" | "ScanObject" | "ScanPerson" | "ScanQrCode" | "ScanTable" | "ScanText" | "ScanThumbUp" | "ScanThumbUpOff" | "ScanType" | "ScanTypeCheckmark" | "ScanTypeOff" | "Scratchpad" | "ScreenCut" | "ScreenPerson" | "ScreenSearch" | "Screenshot" | "ScreenshotRecord" | "Script" | "Search" | "SearchInfo" | "SearchSettings" | "SearchShield" | "SearchSquare" | "SearchVisual" | "Seat" | "SeatAdd" | "SelectAllOff" | "SelectAllOn" | "SelectObject" | "SelectObjectSkew" | "SelectObjectSkewDismiss" | "SelectObjectSkewEdit" | "Send" | "SendBeaker" | "SendClock" | "SendCopy" | "SerialPort" | "Server" | "ServerLink" | "ServerMultiple" | "ServerPlay" | "ServerSurface" | "ServerSurfaceMultiple" | "ServiceBell" | "Settings" | "SettingsChat" | "SettingsCogMultiple" | "ShapeExclude" | "ShapeIntersect" | "ShapeOrganic" | "ShapeSubtract" | "ShapeUnion" | "Shapes" | "Share" | "ShareAndroid" | "ShareCloseTray" | "ShareIos" | "ShareScreenPerson" | "ShareScreenPersonOverlay" | "ShareScreenPersonOverlayInside" | "ShareScreenPersonP" | "ShareScreenStart" | "ShareScreenStop" | "Shield" | "ShieldAdd" | "ShieldBadge" | "ShieldCheckmark" | "ShieldDismiss" | "ShieldDismissShield" | "ShieldError" | "ShieldGlobe" | "ShieldKeyhole" | "ShieldLock" | "ShieldPerson" | "ShieldPersonAdd" | "ShieldProhibited" | "ShieldQuestion" | "ShieldTask" | "Shifts" | "Shifts30Minutes" | "ShiftsActivity" | "ShiftsAdd" | "ShiftsAvailability" | "ShiftsCheckmark" | "ShiftsDay" | "ShiftsOpen" | "ShiftsProhibited" | "ShiftsQuestionMark" | "ShiftsTeam" | "ShoppingBag" | "ShoppingBagAdd" | "ShoppingBagArrowLeft" | "ShoppingBagDismiss" | "ShoppingBagPause" | "ShoppingBagPercent" | "ShoppingBagPlay" | "ShoppingBagTag" | "Shortpick" | "Showerhead" | "SidebarSearchLtr" | "SidebarSearchRtl" | "SignOut" | "Signature" | "Sim" | "SkipBack10" | "SkipForward10" | "SkipForward30" | "SkipForwardTab" | "SlashForward" | "Sleep" | "SlideAdd" | "SlideArrowRight" | "SlideContent" | "SlideEraser" | "SlideGrid" | "SlideHide" | "SlideLayout" | "SlideLink" | "SlideMicrophone" | "SlideMultiple" | "SlideMultipleArrowRight" | "SlideMultipleSearch" | "SlideRecord" | "SlideSearch" | "SlideSettings" | "SlideSize" | "SlideText" | "SlideTextEdit" | "SlideTextMultiple" | "SlideTextPerson" | "SlideTextSparkle" | "SlideTransition" | "Smartwatch" | "SmartwatchDot" | "Snooze" | "SoundSource" | "SoundWaveCircle" | "Space3D" | "Spacebar" | "Sparkle" | "SparkleCircle" | "Speaker0" | "Speaker1" | "Speaker2" | "SpeakerBluetooth" | "SpeakerBox" | "SpeakerEdit" | "SpeakerMute" | "SpeakerOff" | "SpeakerSettings" | "SpeakerUsb" | "SpinnerIos" | "SplitHint" | "SplitHorizontal" | "SplitVertical" | "Sport" | "SportAmericanFootball" | "SportBaseball" | "SportBasketball" | "SportHockey" | "SportSoccer" | "SprayCan" | "Square" | "SquareAdd" | "SquareArrowForward" | "SquareDismiss" | "SquareEraser" | "SquareHint" | "SquareHintApps" | "SquareHintArrowBack" | "SquareHintHexagon" | "SquareHintSparkles" | "SquareMultiple" | "SquareShadow" | "SquaresNested" | "Stack" | "StackAdd" | "StackArrowForward" | "StackStar" | "StackVertical" | "Star" | "StarAdd" | "StarArrowBack" | "StarArrowRightEnd" | "StarArrowRightStart" | "StarCheckmark" | "StarDismiss" | "StarEdit" | "StarEmphasis" | "StarHalf" | "StarLineHorizontal3" | "StarOff" | "StarOneQuarter" | "StarProhibited" | "StarSettings" | "StarThreeQuarter" | "Status" | "Step" | "Steps" | "Stethoscope" | "Sticker" | "StickerAdd" | "Stop" | "Storage" | "StoreMicrosoft" | "Stream" | "StreamInput" | "StreamInputOutput" | "StreamOutput" | "StreetSign" | "StyleGuide" | "SubGrid" | "Subtitles" | "Subtract" | "SubtractCircle" | "SubtractCircleArrowBack" | "SubtractCircleArrowForward" | "SubtractParentheses" | "SubtractSquare" | "SubtractSquareMultiple" | "SurfaceEarbuds" | "SurfaceHub" | "SwimmingPool" | "SwipeDown" | "SwipeRight" | "SwipeUp" | "Symbols" | "SyncOff" | "Syringe" | "System" | "Tab" | "TabAdd" | "TabArrowLeft" | "TabDesktop" | "TabDesktopArrowClockwise" | "TabDesktopArrowLeft" | "TabDesktopBottom" | "TabDesktopClock" | "TabDesktopCopy" | "TabDesktopImage" | "TabDesktopLink" | "TabDesktopMultiple" | "TabDesktopMultipleAdd" | "TabDesktopMultipleBottom" | "TabDesktopNewPage" | "TabInPrivate" | "TabInprivateAccount" | "TabProhibited" | "TabShieldDismiss" | "Table" | "TableAdd" | "TableArrowUp" | "TableBottomRow" | "TableCalculator" | "TableCellEdit" | "TableCellsMerge" | "TableCellsSplit" | "TableChecker" | "TableColumnTopBottom" | "TableCopy" | "TableDefault" | "TableDeleteColumn" | "TableDeleteRow" | "TableDismiss" | "TableEdit" | "TableFreezeColumn" | "TableFreezeColumnAndRow" | "TableFreezeRow" | "TableImage" | "TableInsertColumn" | "TableInsertRow" | "TableLightning" | "TableLink" | "TableLock" | "TableMoveAbove" | "TableMoveBelow" | "TableMoveLeft" | "TableMoveRight" | "TableMultiple" | "TableOffset" | "TableOffsetAdd" | "TableOffsetLessThanOrEqualTo" | "TableOffsetSettings" | "TableResizeColumn" | "TableResizeRow" | "TableSearch" | "TableSettings" | "TableSimple" | "TableSimpleCheckmark" | "TableSimpleExclude" | "TableSimpleInclude" | "TableSimpleMultiple" | "TableSplit" | "TableStackAbove" | "TableStackBelow" | "TableStackLeft" | "TableStackRight" | "TableSwitch" | "Tablet" | "TabletLaptop" | "TabletSpeaker" | "Tabs" | "Tag" | "TagCircle" | "TagDismiss" | "TagError" | "TagLock" | "TagLockAccent" | "TagMultiple" | "TagOff" | "TagQuestionMark" | "TagReset" | "TagSearch" | "TapDouble" | "TapSingle" | "Target" | "TargetAdd" | "TargetArrow" | "TargetDismiss" | "TargetEdit" | "TaskListAdd" | "TaskListLtr" | "TaskListRtl" | "TaskListSquareAdd" | "TaskListSquareDatabase" | "TaskListSquareLtr" | "TaskListSquarePerson" | "TaskListSquareRtl" | "TaskListSquareSettings" | "TasksApp" | "TeardropBottomRight" | "Teddy" | "Temperature" | "Tent" | "TetrisApp" | "Text" | "TextAbcUnderlineDouble" | "TextAdd" | "TextAddSpaceAfter" | "TextAddSpaceBefore" | "TextAddT" | "TextAlignCenter" | "TextAlignCenterRotate270" | "TextAlignCenterRotate90" | "TextAlignDistributed" | "TextAlignDistributedEvenly" | "TextAlignDistributedVertical" | "TextAlignJustify" | "TextAlignJustifyLow" | "TextAlignJustifyLow90" | "TextAlignJustifyLowRotate270" | "TextAlignJustifyLowRotate90" | "TextAlignJustifyRotate270" | "TextAlignJustifyRotate90" | "TextAlignLeft" | "TextAlignLeftRotate270" | "TextAlignLeftRotate90" | "TextAlignRight" | "TextAlignRightRotate270" | "TextAlignRightRotate90" | "TextArrowDownRightColumn" | "TextAsterisk" | "TextBaseline" | "TextBold" | "TextBoxSettings" | "TextBulletList" | "TextBulletList270" | "TextBulletList90" | "TextBulletListAdd" | "TextBulletListCheckmark" | "TextBulletListDismiss" | "TextBulletListLtr" | "TextBulletListLtr90" | "TextBulletListLtrRotate270" | "TextBulletListRtl" | "TextBulletListRtl90" | "TextBulletListSquare" | "TextBulletListSquareClock" | "TextBulletListSquareEdit" | "TextBulletListSquarePerson" | "TextBulletListSquareSearch" | "TextBulletListSquareSettings" | "TextBulletListSquareShield" | "TextBulletListSquareSparkle" | "TextBulletListSquareToolbox" | "TextBulletListSquareWarning" | "TextBulletListTree" | "TextCaseLowercase" | "TextCaseTitle" | "TextCaseUppercase" | "TextChangeCase" | "TextClearFormatting" | "TextCollapse" | "TextColor" | "TextColorAccent" | "TextColumnOne" | "TextColumnOneNarrow" | "TextColumnOneSemiNarrow" | "TextColumnOneWide" | "TextColumnOneWideLightning" | "TextColumnThree" | "TextColumnTwo" | "TextColumnTwoLeft" | "TextColumnTwoRight" | "TextColumnWide" | "TextContinuous" | "TextDensity" | "TextDescription" | "TextDescriptionLtr" | "TextDescriptionRtl" | "TextDirectionHorizontalLeft" | "TextDirectionHorizontalLtr" | "TextDirectionHorizontalRight" | "TextDirectionHorizontalRtl" | "TextDirectionRotate270Right" | "TextDirectionRotate315Right" | "TextDirectionRotate45Right" | "TextDirectionRotate90Left" | "TextDirectionRotate90Ltr" | "TextDirectionRotate90Right" | "TextDirectionRotate90Rtl" | "TextDirectionVertical" | "TextEditStyle" | "TextEditStyleCharacterA" | "TextEditStyleCharacterGa" | "TextEffects" | "TextEffectsSparkle" | "TextExpand" | "TextField" | "TextFirstLine" | "TextFont" | "TextFontInfo" | "TextFontSize" | "TextFootnote" | "TextGrammarArrowLeft" | "TextGrammarArrowRight" | "TextGrammarCheckmark" | "TextGrammarDismiss" | "TextGrammarError" | "TextGrammarLightning" | "TextGrammarSettings" | "TextGrammarWand" | "TextHanging" | "TextHeader1" | "TextHeader1Lines" | "TextHeader1LinesCaret" | "TextHeader2" | "TextHeader2Lines" | "TextHeader2LinesCaret" | "TextHeader3" | "TextHeader3Lines" | "TextHeader3LinesCaret" | "TextIndentDecrease" | "TextIndentDecreaseLtr" | "TextIndentDecreaseLtr90" | "TextIndentDecreaseLtrRotate270" | "TextIndentDecreaseRotate270" | "TextIndentDecreaseRotate90" | "TextIndentDecreaseRtl" | "TextIndentDecreaseRtl90" | "TextIndentDecreaseRtlRotate270" | "TextIndentIncrease" | "TextIndentIncreaseLtr" | "TextIndentIncreaseLtr90" | "TextIndentIncreaseLtrRotate270" | "TextIndentIncreaseRotate270" | "TextIndentIncreaseRotate90" | "TextIndentIncreaseRtl" | "TextIndentIncreaseRtl90" | "TextIndentIncreaseRtlRotate270" | "TextItalic" | "TextLineSpacing" | "TextMore" | "TextNumberFormat" | "TextNumberListLtr" | "TextNumberListLtr90" | "TextNumberListLtrRotate270" | "TextNumberListRotate270" | "TextNumberListRotate90" | "TextNumberListRtl" | "TextNumberListRtl90" | "TextNumberListRtlRotate270" | "TextParagraph" | "TextParagraphDirection" | "TextParagraphDirectionLeft" | "TextParagraphDirectionRight" | "TextPeriodAsterisk" | "TextPositionBehind" | "TextPositionFront" | "TextPositionLine" | "TextPositionSquare" | "TextPositionSquareLeft" | "TextPositionSquareRight" | "TextPositionThrough" | "TextPositionTight" | "TextPositionTopBottom" | "TextProofingTools" | "TextQuote" | "TextSortAscending" | "TextSortDescending" | "TextStrikethrough" | "TextSubscript" | "TextSuperscript" | "TextT" | "TextTTag" | "TextUnderline" | "TextUnderlineCharacterU" | "TextUnderlineDouble" | "TextWholeWord" | "TextWordCount" | "TextWrap" | "TextWrapOff" | "Textbox" | "TextboxAlignBottom" | "TextboxAlignBottomCenter" | "TextboxAlignBottomLeft" | "TextboxAlignBottomRight" | "TextboxAlignBottomRotate90" | "TextboxAlignCenter" | "TextboxAlignMiddle" | "TextboxAlignMiddleLeft" | "TextboxAlignMiddleRight" | "TextboxAlignMiddleRotate90" | "TextboxAlignTop" | "TextboxAlignTopCenter" | "TextboxAlignTopLeft" | "TextboxAlignTopRight" | "TextboxAlignTopRotate90" | "TextboxMore" | "TextboxRotate90" | "TextboxSettings" | "Thinking" | "ThumbDislike" | "ThumbLike" | "ThumbLikeDislike" | "TicketDiagonal" | "TicketHorizontal" | "TimeAndWeather" | "TimePicker" | "Timeline" | "Timer10" | "Timer" | "Timer2" | "Timer3" | "TimerOff" | "ToggleLeft" | "ToggleMultiple" | "ToggleRight" | "Toolbox" | "TooltipQuote" | "TopSpeed" | "Translate" | "TranslateAuto" | "TranslateOff" | "Transmission" | "TrayItemAdd" | "TrayItemRemove" | "TreeDeciduous" | "TreeEvergreen" | "Triangle" | "TriangleDown" | "TriangleLeft" | "TriangleRight" | "TriangleUp" | "Trophy" | "TrophyLock" | "TrophyOff" | "Tv" | "TvArrowRight" | "TvUsb" | "Umbrella" | "UninstallApp" | "UsbPlug" | "UsbStick" | "Vault" | "VehicleBicycle" | "VehicleBus" | "VehicleCab" | "VehicleCableCar" | "VehicleCar" | "VehicleCarCollision" | "VehicleCarParking" | "VehicleCarProfile" | "VehicleCarProfileLtr" | "VehicleCarProfileLtrClock" | "VehicleCarProfileRtl" | "VehicleShip" | "VehicleSubway" | "VehicleSubwayClock" | "VehicleTruck" | "VehicleTruckBag" | "VehicleTruckCube" | "VehicleTruckProfile" | "Video" | "Video360" | "Video360Off" | "VideoAdd" | "VideoBackgroundEffect" | "VideoBackgroundEffectHorizontal" | "VideoChat" | "VideoClip" | "VideoClipMultiple" | "VideoClipOff" | "VideoClipOptimize" | "VideoLink" | "VideoOff" | "VideoPeople" | "VideoPerson" | "VideoPersonCall" | "VideoPersonClock" | "VideoPersonOff" | "VideoPersonPulse" | "VideoPersonSparkle" | "VideoPersonSparkleOff" | "VideoPersonStar" | "VideoPersonStarOff" | "VideoPlayPause" | "VideoProhibited" | "VideoRecording" | "VideoSecurity" | "VideoSwitch" | "VideoSync" | "ViewDesktop" | "ViewDesktopMobile" | "VirtualNetwork" | "VirtualNetworkToolbox" | "Voicemail" | "VoicemailArrowBack" | "VoicemailArrowForward" | "VoicemailArrowSubtract" | "VoicemailShield" | "VoicemailSubtract" | "Vote" | "WalkieTalkie" | "Wallet" | "WalletCreditCard" | "Wallpaper" | "Wand" | "Warning" | "WarningShield" | "Washer" | "Water" | "WeatherBlowingSnow" | "WeatherCloudy" | "WeatherDrizzle" | "WeatherDuststorm" | "WeatherFog" | "WeatherHailDay" | "WeatherHailNight" | "WeatherHaze" | "WeatherMoon" | "WeatherMoonOff" | "WeatherPartlyCloudyDay" | "WeatherPartlyCloudyNight" | "WeatherRain" | "WeatherRainShowersDay" | "WeatherRainShowersNight" | "WeatherRainSnow" | "WeatherSnow" | "WeatherSnowShowerDay" | "WeatherSnowShowerNight" | "WeatherSnowflake" | "WeatherSqualls" | "WeatherSunny" | "WeatherSunnyHigh" | "WeatherSunnyLow" | "WeatherThunderstorm" | "WebAsset" | "Whiteboard" | "WhiteboardOff" | "Wifi1" | "Wifi2" | "Wifi3" | "Wifi4" | "WifiLock" | "WifiOff" | "WifiSettings" | "WifiWarning" | "Window" | "WindowAd" | "WindowAdOff" | "WindowAdPerson" | "WindowApps" | "WindowArrowUp" | "WindowBulletList" | "WindowBulletListAdd" | "WindowConsole" | "WindowDatabase" | "WindowDevEdit" | "WindowDevTools" | "WindowEdit" | "WindowHeaderHorizontal" | "WindowHeaderHorizontalOff" | "WindowHeaderVertical" | "WindowInprivate" | "WindowInprivateAccount" | "WindowLocationTarget" | "WindowMultiple" | "WindowMultipleSwap" | "WindowNew" | "WindowPlay" | "WindowSettings" | "WindowShield" | "WindowText" | "WindowWrench" | "Wrench" | "WrenchScrewdriver" | "WrenchSettings" | "XboxConsole" | "XboxController" | "XboxControllerError" | "Xray" | "ZoomFit" | "ZoomIn" | "ZoomOut" + +export type ActionStyle = "default" | "positive" | "destructive"; + +export type ActionMode = "primary" | "secondary"; + +export type MenuActionArray = (IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction)[]; + +export type ThemeName = "Light" | "Dark"; + +export type ElementHeight = "auto" | "stretch"; + +export type HorizontalAlignment = "Left" | "Center" | "Right"; + +export type Spacing = "None" | "ExtraSmall" | "Small" | "Default" | "Medium" | "Large" | "ExtraLarge" | "Padding"; + +export type TargetWidth = "VeryNarrow" | "Narrow" | "Standard" | "Wide" | "atLeast:VeryNarrow" | "atMost:VeryNarrow" | "atLeast:Narrow" | "atMost:Narrow" | "atLeast:Standard" | "atMost:Standard" | "atLeast:Wide" | "atMost:Wide"; + +export type ContainerStyle = "default" | "emphasis" | "accent" | "good" | "attention" | "warning"; + +export type VerticalAlignment = "Top" | "Center" | "Bottom"; + +export type FlowLayoutItemFit = "Fit" | "Fill"; + +export type FillMode = "Cover" | "RepeatHorizontally" | "RepeatVertically" | "Repeat"; + +export type TextSize = "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"; + +export type TextWeight = "Lighter" | "Default" | "Bolder"; + +export type TextColor = "Default" | "Dark" | "Light" | "Accent" | "Good" | "Warning" | "Attention"; + +export type FontType = "Default" | "Monospace"; + +export type TextBlockStyle = "default" | "columnHeader" | "heading"; + +export type ImageStyle = "Default" | "Person" | "RoundedCorners"; + +export type Size = "Auto" | "Stretch" | "Small" | "Medium" | "Large"; + +export type ImageFitMode = "Cover" | "Contain" | "Fill"; + +export type InputTextStyle = "Text" | "Tel" | "Url" | "Email" | "Password"; + +export type AssociatedInputs = "auto" | "none"; + +export type ChoiceSetInputStyle = "compact" | "expanded" | "filtered"; + +export type RatingSize = "Medium" | "Large"; + +export type RatingColor = "Neutral" | "Marigold"; + +export type RatingStyle = "Default" | "Compact"; + +export type IconSize = "xxSmall" | "xSmall" | "Small" | "Standard" | "Medium" | "Large" | "xLarge" | "xxLarge"; + +export type IconStyle = "Regular" | "Filled"; + +export type CarouselPageAnimation = "Slide" | "CrossFade" | "None"; + +export type BadgeIconPosition = "Before" | "After"; + +export type BadgeAppearance = "Filled" | "Tint"; + +export type BadgeSize = "Medium" | "Large" | "ExtraLarge"; + +export type BadgeShape = "Square" | "Rounded" | "Circular"; + +export type BadgeStyle = "Default" | "Subtle" | "Informative" | "Accent" | "Good" | "Attention" | "Warning"; + +export type ProgressRingLabelPosition = "Before" | "After" | "Above" | "Below"; + +export type ProgressRingSize = "Tiny" | "Small" | "Medium" | "Large"; + +export type ProgressBarColor = "Accent" | "Good" | "Warning" | "Attention"; + +export type ChartColorSet = "categorical" | "sequential" | "sequentialred" | "sequentialgreen" | "sequentialyellow" | "diverging"; + +export type ChartColor = "good" | "warning" | "attention" | "neutral" | "categoricalRed" | "categoricalPurple" | "categoricalLavender" | "categoricalBlue" | "categoricalLightBlue" | "categoricalTeal" | "categoricalGreen" | "categoricalLime" | "categoricalMarigold" | "sequential1" | "sequential2" | "sequential3" | "sequential4" | "sequential5" | "sequential6" | "sequential7" | "sequential8" | "divergingBlue" | "divergingLightBlue" | "divergingCyan" | "divergingTeal" | "divergingYellow" | "divergingPeach" | "divergingLightRed" | "divergingRed" | "divergingMaroon" | "divergingGray" | "sequentialRed1" | "sequentialRed2" | "sequentialRed3" | "sequentialRed4" | "sequentialRed5" | "sequentialRed6" | "sequentialRed7" | "sequentialRed8" | "sequentialGreen1" | "sequentialGreen2" | "sequentialGreen3" | "sequentialGreen4" | "sequentialGreen5" | "sequentialGreen6" | "sequentialGreen7" | "sequentialGreen8" | "sequentialYellow1" | "sequentialYellow2" | "sequentialYellow3" | "sequentialYellow4" | "sequentialYellow5" | "sequentialYellow6" | "sequentialYellow7" | "sequentialYellow8"; + +export type DonutThickness = "Thin" | "Thick"; + +export type HorizontalBarChartDisplayMode = "AbsoluteWithAxis" | "AbsoluteNoAxis" | "PartToWhole"; + +export type GaugeChartValueFormat = "Percentage" | "Fraction"; + +export type CodeLanguage = "Bash" | "C" | "Cpp" | "CSharp" | "Css" | "Dos" | "Go" | "Graphql" | "Html" | "Java" | "JavaScript" | "Json" | "ObjectiveC" | "Perl" | "Php" | "PlainText" | "PowerShell" | "Python" | "Sql" | "TypeScript" | "VbNet" | "Verilog" | "Vhdl" | "Xml"; + +export type PersonaIconStyle = "profilePicture" | "contactCard" | "none"; + +export type PersonaDisplayStyle = "iconAndName" | "iconOnly" | "nameOnly"; + +export type FallbackElement = IContainer | IActionSet | IColumnSet | IMedia | IRichTextBlock | ITable | ITextBlock | IFactSet | IImageSet | IImage | ITextInput | IDateInput | ITimeInput | INumberInput | IToggleInput | IChoiceSetInput | IRatingInput | IRating | ICompoundButton | IIcon | ICarousel | IBadge | IProgressRing | IProgressBar | IDonutChart | IPieChart | IGroupedVerticalBarChart | IVerticalBarChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IGaugeChart | ICodeBlock | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComEventMicrosoftGraphComponent | "drop"; + +export type CardElementArray = (IActionSet | IBadge | ICarousel | IDonutChart | IGaugeChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IPieChart | IVerticalBarChart | IGroupedVerticalBarChart | ICodeBlock | IColumnSet | IComEventMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | ICompoundButton | IContainer | IFactSet | IIcon | IImage | IImageSet | IChoiceSetInput | IDateInput | INumberInput | IRatingInput | ITextInput | ITimeInput | IToggleInput | IMedia | IProgressBar | IProgressRing | IRating | IRichTextBlock | ITable | ITextBlock)[]; + +export type ImageSize = "Small" | "Medium" | "Large"; export type TableCellArray = ITableCell[]; export type TableRowArray = ITableRow[]; -export type RichTextBlockInlineArray = (ITextRun | string)[]; +export type RichTextBlockInlineArray = (ITextRun | IIconRun | IImageRun | string)[]; export type ColumnArray = IColumn[]; -export type ActionArray = ( - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | IShowCardAction - | ISubmitAction - | IToggleVisibilityAction -)[]; +export type ActionArray = (IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | IShowCardAction | ISubmitAction | IToggleVisibilityAction)[]; + +export type PopoverPosition = "Above" | "Below" | "Before" | "After"; + +export type FallbackAction = ISubmitAction | IOpenUrlAction | IExecuteAction | IToggleVisibilityAction | IShowCardAction | IResetInputsAction | IPopoverAction | IOpenUrlDialogAction | IInsertImageAction | "drop"; + +export type ImageInsertPosition = "Selection" | "Top" | "Bottom"; + +export type Version = "1.0" | "1.1" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6"; + +export type TeamsCardWidth = "full"; + +export type MentionType = "Person" | "Tag"; /** * An Adaptive Card, containing a free-form body of card elements, and an optional set of actions. */ export interface IAdaptiveCard { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **AdaptiveCard**. */ - readonly type: 'AdaptiveCard'; + readonly type: "AdaptiveCard"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2870,10 +153,6 @@ export interface IAdaptiveCard { * The locale associated with the element. */ lang?: string; - /** - * Controls the visibility of the element. - */ - isVisible?: boolean; /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ @@ -2881,12 +160,7 @@ export interface IAdaptiveCard { /** * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; /** * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. */ @@ -2918,7 +192,7 @@ export interface IAdaptiveCard { /** * The Adaptive Card schema version the card is authored against. */ - version?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '1.5' | '1.6'; + version?: Version; /** * The text that should be displayed if the client is not able to render the card. */ @@ -2938,15 +212,23 @@ export interface IAdaptiveCard { /** * Teams-specific metadata associated with the card. */ + msteams?: ITeamsCardProperties; + /** + * Teams-specific metadata associated with the card. Equivalent to `msteams`. + */ msTeams?: ITeamsCardProperties; /** * Metadata associated with the card. */ metadata?: ICardMetadata; + /** + * Resources card elements can reference. + */ + resources?: IResources; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -2972,19 +254,23 @@ export interface IAdaptiveCard { */ export function isAdaptiveCard(value: unknown): value is IAdaptiveCard { const obj = value as IAdaptiveCard; - return typeof obj === 'object' && obj.type === 'AdaptiveCard'; + return typeof obj === "object" && obj.type === "AdaptiveCard"; } -export type AdaptiveCardOptions = Omit; +export type AdaptiveCardOptions = Partial>; /** * An Adaptive Card, containing a free-form body of card elements, and an optional set of actions. */ export class AdaptiveCard implements IAdaptiveCard { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **AdaptiveCard**. */ - readonly type = 'AdaptiveCard'; + readonly type = "AdaptiveCard"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2992,28 +278,19 @@ export class AdaptiveCard implements IAdaptiveCard { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ lang?: string; - /** - * Controls the visibility of the element. - */ - isVisible?: boolean; /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; /** * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. */ @@ -3045,7 +322,7 @@ export class AdaptiveCard implements IAdaptiveCard { /** * The Adaptive Card schema version the card is authored against. */ - version?: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '1.5' | '1.6'; + version?: Version = "1.5"; /** * The text that should be displayed if the client is not able to render the card. */ @@ -3065,15 +342,23 @@ export class AdaptiveCard implements IAdaptiveCard { /** * Teams-specific metadata associated with the card. */ + msteams?: ITeamsCardProperties; + /** + * Teams-specific metadata associated with the card. Equivalent to `msteams`. + */ msTeams?: ITeamsCardProperties; /** * Metadata associated with the card. */ metadata?: ICardMetadata; + /** + * Resources card elements can reference. + */ + resources?: IResources; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -3096,6 +381,11 @@ export class AdaptiveCard implements IAdaptiveCard { return this; } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -3111,24 +401,12 @@ export class AdaptiveCard implements IAdaptiveCard { return this; } - withIsVisible(isVisible = false): this { - this.isVisible = isVisible; - return this; - } - withIsSortKey(isSortKey = true): this { this.isSortKey = isSortKey; return this; } - withSelectAction( - selectAction: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction - ): this { + withSelectAction(selectAction: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction): this { this.selectAction = selectAction; return this; } @@ -3168,7 +446,7 @@ export class AdaptiveCard implements IAdaptiveCard { return this; } - withVersion(version: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '1.5' | '1.6'): this { + withVersion(version: Version): this { this.version = version; return this; } @@ -3193,6 +471,11 @@ export class AdaptiveCard implements IAdaptiveCard { return this; } + withMsteams(msteams: ITeamsCardProperties): this { + this.msteams = msteams; + return this; + } + withMsTeams(msTeams: ITeamsCardProperties): this { this.msTeams = msTeams; return this; @@ -3203,6 +486,11 @@ export class AdaptiveCard implements IAdaptiveCard { return this; } + withResources(resources: IResources): this { + this.resources = resources; + return this; + } + withFallback(fallback: FallbackElement): this { this.fallback = fallback; return this; @@ -3222,21 +510,45 @@ export class AdaptiveCard implements IAdaptiveCard { /** * Represents a list of versioned capabilities a host application must support. */ -export interface IHostCapabilities {} +export interface IHostCapabilities extends Record { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ +} + + +export type HostCapabilitiesOptions = Partial; /** * Represents a list of versioned capabilities a host application must support. */ -export class HostCapabilities implements IHostCapabilities {} +export class HostCapabilities implements IHostCapabilities { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + + constructor(options: HostCapabilitiesOptions = {}) { + Object.assign(this, options); + } + + static from(options: IHostCapabilities): HostCapabilities { + return new HostCapabilities(options); + } + [key: string]: string; +} /** * Gathers input values, merges them with the data property if specified, and sends them to the Bot via an Invoke activity. The Bot can respond synchronously and return an updated Adaptive Card to be displayed by the client. Action.Execute works in all Adaptive Card hosts. */ export interface IExecuteAction { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Action.Execute**. */ - readonly type: 'Action.Execute'; + readonly type: "Action.Execute"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -3251,8 +563,8 @@ export interface IExecuteAction { title?: string; /** * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. - -`iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ iconUrl?: string; /** @@ -3272,13 +584,21 @@ export interface IExecuteAction { */ isEnabled?: boolean; /** - * The data to send to the Bot when the action is executed. The data specified in the card payload will be sent back to the Bot as is, alongside the values of the inputs expressed as key/value pairs where the key is the Id of the input. + * The actions to display in the overflow menu of a Split action button. + */ + menuActions?: MenuActionArray; + /** + * A set of theme-specific icon URLs. */ - data?: any; + themedIconUrls?: IThemedUrl[]; + /** + * The data to send to the Bot when the action is executed. When expressed as an object, `data` is sent back to the Bot when the action is executed, adorned with the values of the inputs expressed as key/value pairs, where the key is the Id of the input. If `data` is expressed as a string, input values are not sent to the Bot. + */ + data?: string | ISubmitActionData; /** * The Ids of the inputs associated with the Action.Submit. When the action is executed, the values of the associated inputs are sent to the Bot. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ - associatedInputs?: 'auto' | 'none'; + associatedInputs?: AssociatedInputs; /** * Controls if the action is enabled only if at least one required input has been filled by the user. */ @@ -3304,19 +624,23 @@ export interface IExecuteAction { */ export function isExecuteAction(value: unknown): value is IExecuteAction { const obj = value as IExecuteAction; - return typeof obj === 'object' && obj.type === 'Action.Execute'; + return typeof obj === "object" && obj.type === "Action.Execute"; } -export type ExecuteActionOptions = Omit; +export type ExecuteActionOptions = Partial>; /** * Gathers input values, merges them with the data property if specified, and sends them to the Bot via an Invoke activity. The Bot can respond synchronously and return an updated Adaptive Card to be displayed by the client. Action.Execute works in all Adaptive Card hosts. */ export class ExecuteAction implements IExecuteAction { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Action.Execute**. */ - readonly type = 'Action.Execute'; + readonly type = "Action.Execute"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -3324,25 +648,25 @@ export class ExecuteAction implements IExecuteAction { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The title of the action, as it appears on buttons. */ title?: string; /** * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. - -`iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ iconUrl?: string; /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle; + style?: ActionStyle = "default"; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode; + mode?: ActionMode = "primary"; /** * The tooltip text to display when the action is hovered over. */ @@ -3350,19 +674,27 @@ export class ExecuteAction implements IExecuteAction { /** * Controls the enabled state of the action. A disabled action cannot be clicked. If the action is represented as a button, the button's style will reflect this state. */ - isEnabled?: boolean; + isEnabled?: boolean = true; + /** + * The actions to display in the overflow menu of a Split action button. + */ + menuActions?: MenuActionArray; + /** + * A set of theme-specific icon URLs. + */ + themedIconUrls?: IThemedUrl[]; /** - * The data to send to the Bot when the action is executed. The data specified in the card payload will be sent back to the Bot as is, alongside the values of the inputs expressed as key/value pairs where the key is the Id of the input. + * The data to send to the Bot when the action is executed. When expressed as an object, `data` is sent back to the Bot when the action is executed, adorned with the values of the inputs expressed as key/value pairs, where the key is the Id of the input. If `data` is expressed as a string, input values are not sent to the Bot. */ - data?: any; + data?: string | ISubmitActionData; /** * The Ids of the inputs associated with the Action.Submit. When the action is executed, the values of the associated inputs are sent to the Bot. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ - associatedInputs?: 'auto' | 'none'; + associatedInputs?: AssociatedInputs; /** * Controls if the action is enabled only if at least one required input has been filled by the user. */ - conditionallyEnabled?: boolean; + conditionallyEnabled?: boolean = false; /** * The verb of the action. */ @@ -3376,10 +708,15 @@ export class ExecuteAction implements IExecuteAction { Object.assign(this, options); } - static from(options: Omit): ExecuteAction { + static from(options: Omit): ExecuteAction { return new ExecuteAction(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -3420,12 +757,22 @@ export class ExecuteAction implements IExecuteAction { return this; } - withData(data: any): this { + withMenuActions(...menuActions: MenuActionArray): this { + this.menuActions = menuActions; + return this; + } + + withThemedIconUrls(...themedIconUrls: IThemedUrl[]): this { + this.themedIconUrls = themedIconUrls; + return this; + } + + withData(data: string | ISubmitActionData): this { this.data = data; return this; } - withAssociatedInputs(associatedInputs: 'auto' | 'none'): this { + withAssociatedInputs(associatedInputs: AssociatedInputs): this { this.associatedInputs = associatedInputs; return this; } @@ -3447,13 +794,17 @@ export class ExecuteAction implements IExecuteAction { } /** - * Gathers input values, merges them with the data property if specified, and sends them to the Bot via an Invoke activity. The Bot can only acknowledge is has received the request. Action.Submit only works in Teams. + * Inserts an image into the host application's canvas. */ -export interface ISubmitAction { +export interface IInsertImageAction { /** - * Must be **Action.Submit**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Action.InsertImage**. */ - readonly type: 'Action.Submit'; + readonly type: "Action.InsertImage"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -3468,8 +819,8 @@ export interface ISubmitAction { title?: string; /** * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. - -`iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ iconUrl?: string; /** @@ -3489,21 +840,25 @@ export interface ISubmitAction { */ isEnabled?: boolean; /** - * The data to send to the Bot when the action is executed. The data specified in the card payload will be sent back to the Bot as is, alongside the values of the inputs expressed as key/value pairs where the key is the Id of the input. + * The actions to display in the overflow menu of a Split action button. */ - data?: any; + menuActions?: MenuActionArray; /** - * The Ids of the inputs associated with the Action.Submit. When the action is executed, the values of the associated inputs are sent to the Bot. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. + * A set of theme-specific icon URLs. */ - associatedInputs?: 'auto' | 'none'; + themedIconUrls?: IThemedUrl[]; /** - * Controls if the action is enabled only if at least one required input has been filled by the user. + * The URL of the image to insert. */ - conditionallyEnabled?: boolean; + url?: string; /** - * Teams-specific metadata associated with the action. + * The alternate text for the image. */ - msTeams?: ITeamsSubmitActionProperties; + altText?: string; + /** + * The position at which to insert the image. + */ + insertPosition?: ImageInsertPosition; /** * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -3514,26 +869,30 @@ export interface ISubmitAction { * @hidden * @internal * - * Type guard to check if a value is of type ISubmitAction. + * Type guard to check if a value is of type IInsertImageAction. * * @param value The value to check. - * @returns True if the value is an instance of SubmitAction, false otherwise. + * @returns True if the value is an instance of InsertImageAction, false otherwise. */ -export function isSubmitAction(value: unknown): value is ISubmitAction { - const obj = value as ISubmitAction; - return typeof obj === 'object' && obj.type === 'Action.Submit'; +export function isInsertImageAction(value: unknown): value is IInsertImageAction { + const obj = value as IInsertImageAction; + return typeof obj === "object" && obj.type === "Action.InsertImage"; } -export type SubmitActionOptions = Omit; +export type InsertImageActionOptions = Partial>; /** - * Gathers input values, merges them with the data property if specified, and sends them to the Bot via an Invoke activity. The Bot can only acknowledge is has received the request. Action.Submit only works in Teams. + * Inserts an image into the host application's canvas. */ -export class SubmitAction implements ISubmitAction { +export class InsertImageAction implements IInsertImageAction { /** - * Must be **Action.Submit**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Action.InsertImage**. */ - readonly type = 'Action.Submit'; + readonly type = "Action.InsertImage"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -3541,25 +900,25 @@ export class SubmitAction implements ISubmitAction { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The title of the action, as it appears on buttons. */ title?: string; /** * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. - -`iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ iconUrl?: string; /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle; + style?: ActionStyle = "default"; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode; + mode?: ActionMode = "primary"; /** * The tooltip text to display when the action is hovered over. */ @@ -3567,34 +926,43 @@ export class SubmitAction implements ISubmitAction { /** * Controls the enabled state of the action. A disabled action cannot be clicked. If the action is represented as a button, the button's style will reflect this state. */ - isEnabled?: boolean; + isEnabled?: boolean = true; /** - * The data to send to the Bot when the action is executed. The data specified in the card payload will be sent back to the Bot as is, alongside the values of the inputs expressed as key/value pairs where the key is the Id of the input. + * The actions to display in the overflow menu of a Split action button. */ - data?: any; + menuActions?: MenuActionArray; /** - * The Ids of the inputs associated with the Action.Submit. When the action is executed, the values of the associated inputs are sent to the Bot. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. + * A set of theme-specific icon URLs. */ - associatedInputs?: 'auto' | 'none'; + themedIconUrls?: IThemedUrl[]; /** - * Controls if the action is enabled only if at least one required input has been filled by the user. + * The URL of the image to insert. */ - conditionallyEnabled?: boolean; + url?: string; /** - * Teams-specific metadata associated with the action. + * The alternate text for the image. */ - msTeams?: ITeamsSubmitActionProperties; + altText?: string; + /** + * The position at which to insert the image. + */ + insertPosition?: ImageInsertPosition = "Selection"; /** * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackAction; - constructor(options: SubmitActionOptions = {}) { + constructor(options: InsertImageActionOptions = {}) { Object.assign(this, options); } - static from(options: Omit): SubmitAction { - return new SubmitAction(options); + static from(options: Omit): InsertImageAction { + return new InsertImageAction(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -3637,23 +1005,28 @@ export class SubmitAction implements ISubmitAction { return this; } - withData(data: any): this { - this.data = data; + withMenuActions(...menuActions: MenuActionArray): this { + this.menuActions = menuActions; return this; } - withAssociatedInputs(associatedInputs: 'auto' | 'none'): this { - this.associatedInputs = associatedInputs; + withThemedIconUrls(...themedIconUrls: IThemedUrl[]): this { + this.themedIconUrls = themedIconUrls; return this; } - withConditionallyEnabled(conditionallyEnabled = true): this { - this.conditionallyEnabled = conditionallyEnabled; + withUrl(url: string): this { + this.url = url; return this; } - withMsTeams(msTeams: ITeamsSubmitActionProperties): this { - this.msTeams = msTeams; + withAltText(altText: string): this { + this.altText = altText; + return this; + } + + withInsertPosition(insertPosition: ImageInsertPosition): this { + this.insertPosition = insertPosition; return this; } @@ -3664,89 +1037,23 @@ export class SubmitAction implements ISubmitAction { } /** - * Teams-specific properties associated with the action. + * Opens the provided URL in either a separate browser tab or within the host application. */ -export interface ITeamsSubmitActionProperties { +export interface IOpenUrlAction { /** - * Defines how feedback is provided to the end-user when the action is executed. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - feedback?: ITeamsSubmitActionFeedback; -} - -export type TeamsSubmitActionPropertiesOptions = ITeamsSubmitActionProperties; - -/** - * Teams-specific properties associated with the action. - */ -export class TeamsSubmitActionProperties implements ITeamsSubmitActionProperties { + key?: string; /** - * Defines how feedback is provided to the end-user when the action is executed. + * Must be **Action.OpenUrl**. */ - feedback?: ITeamsSubmitActionFeedback; - - constructor(options: TeamsSubmitActionPropertiesOptions = {}) { - Object.assign(this, options); - } - - static from(options: ITeamsSubmitActionProperties): TeamsSubmitActionProperties { - return new TeamsSubmitActionProperties(options); - } - - withFeedback(feedback: ITeamsSubmitActionFeedback): this { - this.feedback = feedback; - return this; - } -} - -/** - * Represents feedback options for an [Action.Submit](https://adaptivecards.microsoft.com/?topic=Action.Submit). - */ -export interface ITeamsSubmitActionFeedback { + readonly type: "Action.OpenUrl"; /** - * Defines if a feedback message should be displayed after the action is executed. + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ - hide?: boolean; -} - -export type TeamsSubmitActionFeedbackOptions = ITeamsSubmitActionFeedback; - -/** - * Represents feedback options for an [Action.Submit](https://adaptivecards.microsoft.com/?topic=Action.Submit). - */ -export class TeamsSubmitActionFeedback implements ITeamsSubmitActionFeedback { + id?: string; /** - * Defines if a feedback message should be displayed after the action is executed. - */ - hide?: boolean; - - constructor(options: TeamsSubmitActionFeedbackOptions = {}) { - Object.assign(this, options); - } - - static from(options: ITeamsSubmitActionFeedback): TeamsSubmitActionFeedback { - return new TeamsSubmitActionFeedback(options); - } - - withHide(hide: boolean): this { - this.hide = hide; - return this; - } -} - -/** - * Opens the provided URL in either a separate browser tab or within the host application. - */ -export interface IOpenUrlAction { - /** - * Must be **Action.OpenUrl**. - */ - readonly type: 'Action.OpenUrl'; - /** - * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. - */ - id?: string; - /** - * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ requires?: IHostCapabilities; /** @@ -3755,8 +1062,8 @@ export interface IOpenUrlAction { title?: string; /** * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. - -`iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ iconUrl?: string; /** @@ -3775,6 +1082,14 @@ export interface IOpenUrlAction { * Controls the enabled state of the action. A disabled action cannot be clicked. If the action is represented as a button, the button's style will reflect this state. */ isEnabled?: boolean; + /** + * The actions to display in the overflow menu of a Split action button. + */ + menuActions?: MenuActionArray; + /** + * A set of theme-specific icon URLs. + */ + themedIconUrls?: IThemedUrl[]; /** * The URL to open. */ @@ -3796,19 +1111,23 @@ export interface IOpenUrlAction { */ export function isOpenUrlAction(value: unknown): value is IOpenUrlAction { const obj = value as IOpenUrlAction; - return typeof obj === 'object' && obj.type === 'Action.OpenUrl'; + return typeof obj === "object" && obj.type === "Action.OpenUrl"; } -export type OpenUrlActionOptions = Omit; +export type OpenUrlActionOptions = Partial>; /** * Opens the provided URL in either a separate browser tab or within the host application. */ export class OpenUrlAction implements IOpenUrlAction { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Action.OpenUrl**. */ - readonly type = 'Action.OpenUrl'; + readonly type = "Action.OpenUrl"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -3816,25 +1135,25 @@ export class OpenUrlAction implements IOpenUrlAction { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The title of the action, as it appears on buttons. */ title?: string; /** * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. - -`iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ iconUrl?: string; /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle; + style?: ActionStyle = "default"; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode; + mode?: ActionMode = "primary"; /** * The tooltip text to display when the action is hovered over. */ @@ -3842,7 +1161,15 @@ export class OpenUrlAction implements IOpenUrlAction { /** * Controls the enabled state of the action. A disabled action cannot be clicked. If the action is represented as a button, the button's style will reflect this state. */ - isEnabled?: boolean; + isEnabled?: boolean = true; + /** + * The actions to display in the overflow menu of a Split action button. + */ + menuActions?: MenuActionArray; + /** + * A set of theme-specific icon URLs. + */ + themedIconUrls?: IThemedUrl[]; /** * The URL to open. */ @@ -3857,10 +1184,15 @@ export class OpenUrlAction implements IOpenUrlAction { this.url = url; } - static from(options: Omit): OpenUrlAction { + static from(options: Omit): OpenUrlAction { return new OpenUrlAction(options.url, options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -3901,6 +1233,16 @@ export class OpenUrlAction implements IOpenUrlAction { return this; } + withMenuActions(...menuActions: MenuActionArray): this { + this.menuActions = menuActions; + return this; + } + + withThemedIconUrls(...themedIconUrls: IThemedUrl[]): this { + this.themedIconUrls = themedIconUrls; + return this; + } + withUrl(url: string): this { this.url = url; return this; @@ -3913,13 +1255,17 @@ export class OpenUrlAction implements IOpenUrlAction { } /** - * Toggles the visibility of a set of elements. Action.ToggleVisibility is useful for creating "Show more" type UI patterns. + * Opens a task module in a modal dialog hosting the content at a provided URL. */ -export interface IToggleVisibilityAction { +export interface IOpenUrlDialogAction { /** - * Must be **Action.ToggleVisibility**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Action.OpenUrlDialog**. */ - readonly type: 'Action.ToggleVisibility'; + readonly type: "Action.OpenUrlDialog"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -3934,8 +1280,8 @@ export interface IToggleVisibilityAction { title?: string; /** * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. - -`iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ iconUrl?: string; /** @@ -3955,9 +1301,29 @@ export interface IToggleVisibilityAction { */ isEnabled?: boolean; /** - * The Ids of the elements to toggle the visibility of. + * The actions to display in the overflow menu of a Split action button. */ - targetElements?: (string | ITargetElement)[]; + menuActions?: MenuActionArray; + /** + * A set of theme-specific icon URLs. + */ + themedIconUrls?: IThemedUrl[]; + /** + * The title of the dialog to be displayed in the dialog header. + */ + dialogTitle?: string; + /** + * The height of the dialog. To define height as a number of pixels, use the px format. + */ + dialogHeight?: "small" | "medium" | "large" | string; + /** + * The width of the dialog. To define width as a number of pixels, use the px format. + */ + dialogWidth?: "small" | "medium" | "large" | string; + /** + * The URL to open. + */ + url?: string; /** * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -3968,26 +1334,30 @@ export interface IToggleVisibilityAction { * @hidden * @internal * - * Type guard to check if a value is of type IToggleVisibilityAction. + * Type guard to check if a value is of type IOpenUrlDialogAction. * * @param value The value to check. - * @returns True if the value is an instance of ToggleVisibilityAction, false otherwise. + * @returns True if the value is an instance of OpenUrlDialogAction, false otherwise. */ -export function isToggleVisibilityAction(value: unknown): value is IToggleVisibilityAction { - const obj = value as IToggleVisibilityAction; - return typeof obj === 'object' && obj.type === 'Action.ToggleVisibility'; +export function isOpenUrlDialogAction(value: unknown): value is IOpenUrlDialogAction { + const obj = value as IOpenUrlDialogAction; + return typeof obj === "object" && obj.type === "Action.OpenUrlDialog"; } -export type ToggleVisibilityActionOptions = Omit; +export type OpenUrlDialogActionOptions = Partial>; /** - * Toggles the visibility of a set of elements. Action.ToggleVisibility is useful for creating "Show more" type UI patterns. + * Opens a task module in a modal dialog hosting the content at a provided URL. */ -export class ToggleVisibilityAction implements IToggleVisibilityAction { +export class OpenUrlDialogAction implements IOpenUrlDialogAction { /** - * Must be **Action.ToggleVisibility**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Action.OpenUrlDialog**. */ - readonly type = 'Action.ToggleVisibility'; + readonly type = "Action.OpenUrlDialog"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -3995,25 +1365,25 @@ export class ToggleVisibilityAction implements IToggleVisibilityAction { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The title of the action, as it appears on buttons. */ title?: string; /** * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. - -`iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ iconUrl?: string; /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle; + style?: ActionStyle = "default"; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode; + mode?: ActionMode = "primary"; /** * The tooltip text to display when the action is hovered over. */ @@ -4021,22 +1391,47 @@ export class ToggleVisibilityAction implements IToggleVisibilityAction { /** * Controls the enabled state of the action. A disabled action cannot be clicked. If the action is represented as a button, the button's style will reflect this state. */ - isEnabled?: boolean; + isEnabled?: boolean = true; /** - * The Ids of the elements to toggle the visibility of. + * The actions to display in the overflow menu of a Split action button. */ - targetElements?: (string | ITargetElement)[]; + menuActions?: MenuActionArray; + /** + * A set of theme-specific icon URLs. + */ + themedIconUrls?: IThemedUrl[]; + /** + * The title of the dialog to be displayed in the dialog header. + */ + dialogTitle?: string; + /** + * The height of the dialog. To define height as a number of pixels, use the px format. + */ + dialogHeight?: "small" | "medium" | "large" | string; + /** + * The width of the dialog. To define width as a number of pixels, use the px format. + */ + dialogWidth?: "small" | "medium" | "large" | string; + /** + * The URL to open. + */ + url?: string; /** * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackAction; - constructor(options: ToggleVisibilityActionOptions = {}) { + constructor(options: OpenUrlDialogActionOptions = {}) { Object.assign(this, options); } - static from(options: Omit): ToggleVisibilityAction { - return new ToggleVisibilityAction(options); + static from(options: Omit): OpenUrlDialogAction { + return new OpenUrlDialogAction(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -4079,73 +1474,54 @@ export class ToggleVisibilityAction implements IToggleVisibilityAction { return this; } - withTargetElements(...targetElements: (string | ITargetElement)[]): this { - this.targetElements = targetElements; + withMenuActions(...menuActions: MenuActionArray): this { + this.menuActions = menuActions; return this; } - withFallback(fallback: FallbackAction): this { - this.fallback = fallback; + withThemedIconUrls(...themedIconUrls: IThemedUrl[]): this { + this.themedIconUrls = themedIconUrls; return this; } -} - -/** - * Defines a target element in an Action.ToggleVisibility. - */ -export interface ITargetElement { - /** - * The Id of the element to change the visibility of. - */ - elementId?: string; - /** - * The new visibility state of the element. - */ - isVisible?: boolean; -} -export type TargetElementOptions = ITargetElement; - -/** - * Defines a target element in an Action.ToggleVisibility. - */ -export class TargetElement implements ITargetElement { - /** - * The Id of the element to change the visibility of. - */ - elementId?: string; - /** - * The new visibility state of the element. - */ - isVisible?: boolean; + withDialogTitle(dialogTitle: string): this { + this.dialogTitle = dialogTitle; + return this; + } - constructor(options: TargetElementOptions = {}) { - Object.assign(this, options); + withDialogHeight(dialogHeight: "small" | "medium" | "large" | string): this { + this.dialogHeight = dialogHeight; + return this; } - static from(options: ITargetElement): TargetElement { - return new TargetElement(options); + withDialogWidth(dialogWidth: "small" | "medium" | "large" | string): this { + this.dialogWidth = dialogWidth; + return this; } - withElementId(elementId: string): this { - this.elementId = elementId; + withUrl(url: string): this { + this.url = url; return this; } - withIsVisible(isVisible: boolean): this { - this.isVisible = isVisible; + withFallback(fallback: FallbackAction): this { + this.fallback = fallback; return this; } } /** - * Expands or collapses an embedded card within the main card. + * Resets the values of the inputs in the card. */ -export interface IShowCardAction { +export interface IResetInputsAction { /** - * Must be **Action.ShowCard**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Action.ResetInputs**. */ - readonly type: 'Action.ShowCard'; + readonly type: "Action.ResetInputs"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4160,8 +1536,8 @@ export interface IShowCardAction { title?: string; /** * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. - -`iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ iconUrl?: string; /** @@ -4181,39 +1557,51 @@ export interface IShowCardAction { */ isEnabled?: boolean; /** - * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + * The actions to display in the overflow menu of a Split action button. */ - fallback?: FallbackAction; + menuActions?: MenuActionArray; /** - * The card that should be displayed when the action is executed. + * A set of theme-specific icon URLs. */ - card?: IAdaptiveCard; + themedIconUrls?: IThemedUrl[]; + /** + * The Ids of the inputs that should be reset. + */ + targetInputIds?: string[]; + /** + * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackAction; } /** * @hidden * @internal * - * Type guard to check if a value is of type IShowCardAction. + * Type guard to check if a value is of type IResetInputsAction. * * @param value The value to check. - * @returns True if the value is an instance of ShowCardAction, false otherwise. + * @returns True if the value is an instance of ResetInputsAction, false otherwise. */ -export function isShowCardAction(value: unknown): value is IShowCardAction { - const obj = value as IShowCardAction; - return typeof obj === 'object' && obj.type === 'Action.ShowCard'; +export function isResetInputsAction(value: unknown): value is IResetInputsAction { + const obj = value as IResetInputsAction; + return typeof obj === "object" && obj.type === "Action.ResetInputs"; } -export type ShowCardActionOptions = Omit; +export type ResetInputsActionOptions = Partial>; /** - * Expands or collapses an embedded card within the main card. + * Resets the values of the inputs in the card. */ -export class ShowCardAction implements IShowCardAction { +export class ResetInputsAction implements IResetInputsAction { /** - * Must be **Action.ShowCard**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Action.ResetInputs**. */ - readonly type = 'Action.ShowCard'; + readonly type = "Action.ResetInputs"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4221,25 +1609,25 @@ export class ShowCardAction implements IShowCardAction { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The title of the action, as it appears on buttons. */ title?: string; /** * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. - -`iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ iconUrl?: string; /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle; + style?: ActionStyle = "default"; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode; + mode?: ActionMode = "primary"; /** * The tooltip text to display when the action is hovered over. */ @@ -4247,22 +1635,35 @@ export class ShowCardAction implements IShowCardAction { /** * Controls the enabled state of the action. A disabled action cannot be clicked. If the action is represented as a button, the button's style will reflect this state. */ - isEnabled?: boolean; + isEnabled?: boolean = true; /** - * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + * The actions to display in the overflow menu of a Split action button. */ - fallback?: FallbackAction; + menuActions?: MenuActionArray; /** - * The card that should be displayed when the action is executed. + * A set of theme-specific icon URLs. */ - card?: IAdaptiveCard; + themedIconUrls?: IThemedUrl[]; + /** + * The Ids of the inputs that should be reset. + */ + targetInputIds?: string[]; + /** + * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackAction; - constructor(options: ShowCardActionOptions = {}) { + constructor(options: ResetInputsActionOptions = {}) { Object.assign(this, options); } - static from(options: Omit): ShowCardAction { - return new ShowCardAction(options); + static from(options: Omit): ResetInputsAction { + return new ResetInputsAction(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -4305,25 +1706,39 @@ export class ShowCardAction implements IShowCardAction { return this; } - withFallback(fallback: FallbackAction): this { - this.fallback = fallback; + withMenuActions(...menuActions: MenuActionArray): this { + this.menuActions = menuActions; return this; } - withCard(card: IAdaptiveCard): this { - this.card = card; + withThemedIconUrls(...themedIconUrls: IThemedUrl[]): this { + this.themedIconUrls = themedIconUrls; + return this; + } + + withTargetInputIds(...targetInputIds: string[]): this { + this.targetInputIds = targetInputIds; + return this; + } + + withFallback(fallback: FallbackAction): this { + this.fallback = fallback; return this; } } /** - * Resets the values of the inputs in the card. + * Gathers input values, merges them with the data property if specified, and sends them to the Bot via an Invoke activity. The Bot can only acknowledge is has received the request. */ -export interface IResetInputsAction { +export interface ISubmitAction { /** - * Must be **Action.ResetInputs**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type: 'Action.ResetInputs'; + key?: string; + /** + * Must be **Action.Submit**. + */ + readonly type: "Action.Submit"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4338,8 +1753,8 @@ export interface IResetInputsAction { title?: string; /** * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. - -`iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ iconUrl?: string; /** @@ -4359,9 +1774,33 @@ export interface IResetInputsAction { */ isEnabled?: boolean; /** - * The Ids of the inputs that should be reset. + * The actions to display in the overflow menu of a Split action button. */ - targetInputIds?: string[]; + menuActions?: MenuActionArray; + /** + * A set of theme-specific icon URLs. + */ + themedIconUrls?: IThemedUrl[]; + /** + * The data to send to the Bot when the action is executed. When expressed as an object, `data` is sent back to the Bot when the action is executed, adorned with the values of the inputs expressed as key/value pairs, where the key is the Id of the input. If `data` is expressed as a string, input values are not sent to the Bot. + */ + data?: string | ISubmitActionData; + /** + * The Ids of the inputs associated with the Action.Submit. When the action is executed, the values of the associated inputs are sent to the Bot. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. + */ + associatedInputs?: AssociatedInputs; + /** + * Controls if the action is enabled only if at least one required input has been filled by the user. + */ + conditionallyEnabled?: boolean; + /** + * Teams-specific metadata associated with the action. + */ + msteams?: ITeamsSubmitActionProperties; + /** + * Teams-specific metadata associated with the action. Equivalent to `msteams`. + */ + msTeams?: ITeamsSubmitActionProperties; /** * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4372,26 +1811,30 @@ export interface IResetInputsAction { * @hidden * @internal * - * Type guard to check if a value is of type IResetInputsAction. + * Type guard to check if a value is of type ISubmitAction. * * @param value The value to check. - * @returns True if the value is an instance of ResetInputsAction, false otherwise. + * @returns True if the value is an instance of SubmitAction, false otherwise. */ -export function isResetInputsAction(value: unknown): value is IResetInputsAction { - const obj = value as IResetInputsAction; - return typeof obj === 'object' && obj.type === 'Action.ResetInputs'; +export function isSubmitAction(value: unknown): value is ISubmitAction { + const obj = value as ISubmitAction; + return typeof obj === "object" && obj.type === "Action.Submit"; } -export type ResetInputsActionOptions = Omit; +export type SubmitActionOptions = Partial>; /** - * Resets the values of the inputs in the card. + * Gathers input values, merges them with the data property if specified, and sends them to the Bot via an Invoke activity. The Bot can only acknowledge is has received the request. */ -export class ResetInputsAction implements IResetInputsAction { +export class SubmitAction implements ISubmitAction { /** - * Must be **Action.ResetInputs**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Action.Submit**. */ - readonly type = 'Action.ResetInputs'; + readonly type = "Action.Submit"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4399,25 +1842,25 @@ export class ResetInputsAction implements IResetInputsAction { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The title of the action, as it appears on buttons. */ title?: string; /** * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. - -`iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ iconUrl?: string; /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle; + style?: ActionStyle = "default"; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode; + mode?: ActionMode = "primary"; /** * The tooltip text to display when the action is hovered over. */ @@ -4425,22 +1868,51 @@ export class ResetInputsAction implements IResetInputsAction { /** * Controls the enabled state of the action. A disabled action cannot be clicked. If the action is represented as a button, the button's style will reflect this state. */ - isEnabled?: boolean; + isEnabled?: boolean = true; /** - * The Ids of the inputs that should be reset. + * The actions to display in the overflow menu of a Split action button. */ - targetInputIds?: string[]; + menuActions?: MenuActionArray; + /** + * A set of theme-specific icon URLs. + */ + themedIconUrls?: IThemedUrl[]; + /** + * The data to send to the Bot when the action is executed. When expressed as an object, `data` is sent back to the Bot when the action is executed, adorned with the values of the inputs expressed as key/value pairs, where the key is the Id of the input. If `data` is expressed as a string, input values are not sent to the Bot. + */ + data?: string | ISubmitActionData; + /** + * The Ids of the inputs associated with the Action.Submit. When the action is executed, the values of the associated inputs are sent to the Bot. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. + */ + associatedInputs?: AssociatedInputs; + /** + * Controls if the action is enabled only if at least one required input has been filled by the user. + */ + conditionallyEnabled?: boolean = false; + /** + * Teams-specific metadata associated with the action. + */ + msteams?: ITeamsSubmitActionProperties; + /** + * Teams-specific metadata associated with the action. Equivalent to `msteams`. + */ + msTeams?: ITeamsSubmitActionProperties; /** * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackAction; - constructor(options: ResetInputsActionOptions = {}) { + constructor(options: SubmitActionOptions = {}) { Object.assign(this, options); } - static from(options: Omit): ResetInputsAction { - return new ResetInputsAction(options); + static from(options: Omit): SubmitAction { + return new SubmitAction(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -4483,927 +1955,762 @@ export class ResetInputsAction implements IResetInputsAction { return this; } - withTargetInputIds(...targetInputIds: string[]): this { - this.targetInputIds = targetInputIds; + withMenuActions(...menuActions: MenuActionArray): this { + this.menuActions = menuActions; return this; } - withFallback(fallback: FallbackAction): this { - this.fallback = fallback; + withThemedIconUrls(...themedIconUrls: IThemedUrl[]): this { + this.themedIconUrls = themedIconUrls; return this; } -} - -/** - * A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers. - */ -export interface IStackLayout { - /** - * Must be **Layout.Stack**. - */ - readonly type: 'Layout.Stack'; - /** - * Controls for which card width the layout should be used. - */ - targetWidth?: TargetWidth; -} -/** - * @hidden - * @internal - * - * Type guard to check if a value is of type IStackLayout. - * - * @param value The value to check. - * @returns True if the value is an instance of StackLayout, false otherwise. - */ -export function isStackLayout(value: unknown): value is IStackLayout { - const obj = value as IStackLayout; - return typeof obj === 'object' && obj.type === 'Layout.Stack'; -} + withData(data: string | ISubmitActionData): this { + this.data = data; + return this; + } -export type StackLayoutOptions = Omit; + withAssociatedInputs(associatedInputs: AssociatedInputs): this { + this.associatedInputs = associatedInputs; + return this; + } -/** - * A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers. - */ -export class StackLayout implements IStackLayout { - /** - * Must be **Layout.Stack**. - */ - readonly type = 'Layout.Stack'; - /** - * Controls for which card width the layout should be used. - */ - targetWidth?: TargetWidth; + withConditionallyEnabled(conditionallyEnabled = true): this { + this.conditionallyEnabled = conditionallyEnabled; + return this; + } - constructor(options: StackLayoutOptions = {}) { - Object.assign(this, options); + withMsteams(msteams: ITeamsSubmitActionProperties): this { + this.msteams = msteams; + return this; } - static from(options: Omit): StackLayout { - return new StackLayout(options); + withMsTeams(msTeams: ITeamsSubmitActionProperties): this { + this.msTeams = msTeams; + return this; } - withTargetWidth(targetWidth: TargetWidth): this { - this.targetWidth = targetWidth; + withFallback(fallback: FallbackAction): this { + this.fallback = fallback; return this; } } /** - * A layout that spreads elements horizontally and wraps them across multiple rows, as needed. + * Toggles the visibility of a set of elements. Action.ToggleVisibility is useful for creating "Show more" type UI patterns. */ -export interface IFlowLayout { +export interface IToggleVisibilityAction { /** - * Must be **Layout.Flow**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type: 'Layout.Flow'; + key?: string; /** - * Controls for which card width the layout should be used. + * Must be **Action.ToggleVisibility**. */ - targetWidth?: TargetWidth; + readonly type: "Action.ToggleVisibility"; /** - * Controls how the content of the container should be horizontally aligned. + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ - horizontalItemsAlignment?: HorizontalAlignment; + id?: string; /** - * Controls how the content of the container should be vertically aligned. + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - verticalItemsAlignment?: VerticalAlignment; + requires?: IHostCapabilities; /** - * Controls how item should fit inside the container. + * The title of the action, as it appears on buttons. */ - itemFit?: FlowLayoutItemFit; + title?: string; /** - * The minimum width, in pixels, of each item, in the `px` format. Should not be used if itemWidth is set. + * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ - minItemWidth?: string; + iconUrl?: string; /** - * The maximum width, in pixels, of each item, in the `px` format. Should not be used if itemWidth is set. + * Control the style of the action, affecting its visual and spoken representations. */ - maxItemWidth?: string; + style?: ActionStyle; /** - * The width, in pixels, of each item, in the `px` format. Should not be used if maxItemWidth and/or minItemWidth are set. + * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - itemWidth?: string; + mode?: ActionMode; /** - * The space between items. + * The tooltip text to display when the action is hovered over. */ - columnSpacing?: Spacing; + tooltip?: string; /** - * The space between rows of items. + * Controls the enabled state of the action. A disabled action cannot be clicked. If the action is represented as a button, the button's style will reflect this state. */ - rowSpacing?: Spacing; + isEnabled?: boolean; + /** + * The actions to display in the overflow menu of a Split action button. + */ + menuActions?: MenuActionArray; + /** + * A set of theme-specific icon URLs. + */ + themedIconUrls?: IThemedUrl[]; + /** + * The Ids of the elements to toggle the visibility of. + */ + targetElements?: (string | ITargetElement)[]; + /** + * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackAction; } /** * @hidden * @internal * - * Type guard to check if a value is of type IFlowLayout. + * Type guard to check if a value is of type IToggleVisibilityAction. * * @param value The value to check. - * @returns True if the value is an instance of FlowLayout, false otherwise. + * @returns True if the value is an instance of ToggleVisibilityAction, false otherwise. */ -export function isFlowLayout(value: unknown): value is IFlowLayout { - const obj = value as IFlowLayout; - return typeof obj === 'object' && obj.type === 'Layout.Flow'; +export function isToggleVisibilityAction(value: unknown): value is IToggleVisibilityAction { + const obj = value as IToggleVisibilityAction; + return typeof obj === "object" && obj.type === "Action.ToggleVisibility"; } -export type FlowLayoutOptions = Omit; +export type ToggleVisibilityActionOptions = Partial>; /** - * A layout that spreads elements horizontally and wraps them across multiple rows, as needed. + * Toggles the visibility of a set of elements. Action.ToggleVisibility is useful for creating "Show more" type UI patterns. */ -export class FlowLayout implements IFlowLayout { +export class ToggleVisibilityAction implements IToggleVisibilityAction { /** - * Must be **Layout.Flow**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type = 'Layout.Flow'; + key?: string; /** - * Controls for which card width the layout should be used. + * Must be **Action.ToggleVisibility**. */ - targetWidth?: TargetWidth; + readonly type = "Action.ToggleVisibility"; /** - * Controls how the content of the container should be horizontally aligned. + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ - horizontalItemsAlignment?: HorizontalAlignment; + id?: string; /** - * Controls how the content of the container should be vertically aligned. + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - verticalItemsAlignment?: VerticalAlignment; + requires?: IHostCapabilities = {}; /** - * Controls how item should fit inside the container. + * The title of the action, as it appears on buttons. */ - itemFit?: FlowLayoutItemFit; + title?: string; /** - * The minimum width, in pixels, of each item, in the `px` format. Should not be used if itemWidth is set. + * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ - minItemWidth?: string; + iconUrl?: string; /** - * The maximum width, in pixels, of each item, in the `px` format. Should not be used if itemWidth is set. + * Control the style of the action, affecting its visual and spoken representations. */ - maxItemWidth?: string; + style?: ActionStyle = "default"; /** - * The width, in pixels, of each item, in the `px` format. Should not be used if maxItemWidth and/or minItemWidth are set. + * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - itemWidth?: string; + mode?: ActionMode = "primary"; /** - * The space between items. + * The tooltip text to display when the action is hovered over. */ - columnSpacing?: Spacing; + tooltip?: string; /** - * The space between rows of items. + * Controls the enabled state of the action. A disabled action cannot be clicked. If the action is represented as a button, the button's style will reflect this state. */ - rowSpacing?: Spacing; + isEnabled?: boolean = true; + /** + * The actions to display in the overflow menu of a Split action button. + */ + menuActions?: MenuActionArray; + /** + * A set of theme-specific icon URLs. + */ + themedIconUrls?: IThemedUrl[]; + /** + * The Ids of the elements to toggle the visibility of. + */ + targetElements?: (string | ITargetElement)[]; + /** + * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackAction; - constructor(options: FlowLayoutOptions = {}) { + constructor(options: ToggleVisibilityActionOptions = {}) { Object.assign(this, options); } - static from(options: Omit): FlowLayout { - return new FlowLayout(options); + static from(options: Omit): ToggleVisibilityAction { + return new ToggleVisibilityAction(options); } - withTargetWidth(targetWidth: TargetWidth): this { - this.targetWidth = targetWidth; + withKey(key: string): this { + this.key = key; return this; } - withHorizontalItemsAlignment(horizontalItemsAlignment: HorizontalAlignment): this { - this.horizontalItemsAlignment = horizontalItemsAlignment; + withId(id: string): this { + this.id = id; return this; } - withVerticalItemsAlignment(verticalItemsAlignment: VerticalAlignment): this { - this.verticalItemsAlignment = verticalItemsAlignment; + withRequires(requires: IHostCapabilities): this { + this.requires = requires; return this; } - withItemFit(itemFit: FlowLayoutItemFit): this { - this.itemFit = itemFit; + withTitle(title: string): this { + this.title = title; return this; } - withMinItemWidth(minItemWidth: string): this { - this.minItemWidth = minItemWidth; + withIconUrl(iconUrl: string): this { + this.iconUrl = iconUrl; return this; } - withMaxItemWidth(maxItemWidth: string): this { - this.maxItemWidth = maxItemWidth; + withStyle(style: ActionStyle): this { + this.style = style; return this; } - withItemWidth(itemWidth: string): this { - this.itemWidth = itemWidth; + withMode(mode: ActionMode): this { + this.mode = mode; return this; } - withColumnSpacing(columnSpacing: Spacing): this { - this.columnSpacing = columnSpacing; + withTooltip(tooltip: string): this { + this.tooltip = tooltip; return this; } - withRowSpacing(rowSpacing: Spacing): this { - this.rowSpacing = rowSpacing; + withIsEnabled(isEnabled = false): this { + this.isEnabled = isEnabled; + return this; + } + + withMenuActions(...menuActions: MenuActionArray): this { + this.menuActions = menuActions; + return this; + } + + withThemedIconUrls(...themedIconUrls: IThemedUrl[]): this { + this.themedIconUrls = themedIconUrls; + return this; + } + + withTargetElements(...targetElements: (string | ITargetElement)[]): this { + this.targetElements = targetElements; + return this; + } + + withFallback(fallback: FallbackAction): this { + this.fallback = fallback; return this; } } /** - * A layout that divides a container into named areas into which elements can be placed. + * Defines a theme-specific URL. */ -export interface IAreaGridLayout { +export interface IThemedUrl { /** - * Must be **Layout.AreaGrid**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type: 'Layout.AreaGrid'; + key?: string; /** - * Controls for which card width the layout should be used. + * The theme this URL applies to. */ - targetWidth?: TargetWidth; - /** - * The columns in the grid layout, defined as a percentage of the available width or in pixels using the `px` format. - */ - columns?: (number | string)[]; - /** - * The areas in the grid layout. - */ - areas?: IGridArea[]; - /** - * The space between columns. - */ - columnSpacing?: Spacing; + theme?: ThemeName; /** - * The space between rows. + * The URL to use for the associated theme. */ - rowSpacing?: Spacing; + url?: string; } -/** - * @hidden - * @internal - * - * Type guard to check if a value is of type IAreaGridLayout. - * - * @param value The value to check. - * @returns True if the value is an instance of AreaGridLayout, false otherwise. - */ -export function isAreaGridLayout(value: unknown): value is IAreaGridLayout { - const obj = value as IAreaGridLayout; - return typeof obj === 'object' && obj.type === 'Layout.AreaGrid'; -} -export type AreaGridLayoutOptions = Omit; +export type ThemedUrlOptions = Partial; /** - * A layout that divides a container into named areas into which elements can be placed. + * Defines a theme-specific URL. */ -export class AreaGridLayout implements IAreaGridLayout { - /** - * Must be **Layout.AreaGrid**. - */ - readonly type = 'Layout.AreaGrid'; - /** - * Controls for which card width the layout should be used. - */ - targetWidth?: TargetWidth; - /** - * The columns in the grid layout, defined as a percentage of the available width or in pixels using the `px` format. - */ - columns?: (number | string)[]; +export class ThemedUrl implements IThemedUrl { /** - * The areas in the grid layout. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - areas?: IGridArea[]; + key?: string; /** - * The space between columns. + * The theme this URL applies to. */ - columnSpacing?: Spacing; + theme?: ThemeName = "Light"; /** - * The space between rows. + * The URL to use for the associated theme. */ - rowSpacing?: Spacing; + url?: string; - constructor(options: AreaGridLayoutOptions = {}) { + constructor(options: ThemedUrlOptions = {}) { Object.assign(this, options); } - static from(options: Omit): AreaGridLayout { - return new AreaGridLayout(options); - } - - withTargetWidth(targetWidth: TargetWidth): this { - this.targetWidth = targetWidth; - return this; - } - - withColumns(...columns: (number | string)[]): this { - this.columns = columns; - return this; + static from(options: IThemedUrl): ThemedUrl { + return new ThemedUrl(options); } - withAreas(...areas: IGridArea[]): this { - this.areas = areas; + withKey(key: string): this { + this.key = key; return this; } - withColumnSpacing(columnSpacing: Spacing): this { - this.columnSpacing = columnSpacing; + withTheme(theme: ThemeName): this { + this.theme = theme; return this; } - withRowSpacing(rowSpacing: Spacing): this { - this.rowSpacing = rowSpacing; + withUrl(url: string): this { + this.url = url; return this; } } /** - * Defines an area in a Layout.AreaGrid layout. + * Defines a target element in an Action.ToggleVisibility. */ -export interface IGridArea { - /** - * The name of the area. To place an element in this area, set its `grid.area` property to match the name of the area. - */ - name?: string; - /** - * The start column index of the area. Column indices start at 1. - */ - column?: number; - /** - * Defines how many columns the area should span. - */ - columnSpan?: number; +export interface ITargetElement { /** - * The start row index of the area. Row indices start at 1. + * The Id of the element to change the visibility of. */ - row?: number; + elementId?: string; /** - * Defines how many rows the area should span. + * The new visibility state of the element. */ - rowSpan?: number; + isVisible?: boolean; } -export type GridAreaOptions = IGridArea; + +export type TargetElementOptions = Partial; /** - * Defines an area in a Layout.AreaGrid layout. + * Defines a target element in an Action.ToggleVisibility. */ -export class GridArea implements IGridArea { - /** - * The name of the area. To place an element in this area, set its `grid.area` property to match the name of the area. - */ - name?: string; - /** - * The start column index of the area. Column indices start at 1. - */ - column?: number; - /** - * Defines how many columns the area should span. - */ - columnSpan?: number; +export class TargetElement implements ITargetElement { /** - * The start row index of the area. Row indices start at 1. + * The Id of the element to change the visibility of. */ - row?: number; + elementId?: string; /** - * Defines how many rows the area should span. + * The new visibility state of the element. */ - rowSpan?: number; + isVisible?: boolean; - constructor(options: GridAreaOptions = {}) { + constructor(options: TargetElementOptions = {}) { Object.assign(this, options); } - static from(options: IGridArea): GridArea { - return new GridArea(options); - } - - withName(name: string): this { - this.name = name; - return this; - } - - withColumn(column: number): this { - this.column = column; - return this; - } - - withColumnSpan(columnSpan: number): this { - this.columnSpan = columnSpan; - return this; + static from(options: ITargetElement): TargetElement { + return new TargetElement(options); } - withRow(row: number): this { - this.row = row; + withElementId(elementId: string): this { + this.elementId = elementId; return this; } - withRowSpan(rowSpan: number): this { - this.rowSpan = rowSpan; + withIsVisible(isVisible: boolean): this { + this.isVisible = isVisible; return this; } } /** - * Defines a container's background image and the way it should be rendered. + * Expands or collapses an embedded card within the main card. */ -export interface IBackgroundImage { +export interface IShowCardAction { /** - * The URL (or Base64-encoded Data URI) of the image. Acceptable formats are PNG, JPEG, GIF and SVG. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - url?: string; + key?: string; /** - * Controls how the image should fill the area. + * Must be **Action.ShowCard**. */ - fillMode?: FillMode; + readonly type: "Action.ShowCard"; /** - * Controls how the image should be aligned if it must be cropped or if using repeat fill mode. + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ - horizontalAlignment?: HorizontalAlignment; + id?: string; /** - * Controls how the image should be aligned if it must be cropped or if using repeat fill mode. + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - verticalAlignment?: VerticalAlignment; -} - -export type BackgroundImageOptions = IBackgroundImage; - -/** - * Defines a container's background image and the way it should be rendered. - */ -export class BackgroundImage implements IBackgroundImage { + requires?: IHostCapabilities; /** - * The URL (or Base64-encoded Data URI) of the image. Acceptable formats are PNG, JPEG, GIF and SVG. + * The title of the action, as it appears on buttons. */ - url?: string; + title?: string; /** - * Controls how the image should fill the area. + * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ - fillMode?: FillMode; + iconUrl?: string; /** - * Controls how the image should be aligned if it must be cropped or if using repeat fill mode. + * Control the style of the action, affecting its visual and spoken representations. */ - horizontalAlignment?: HorizontalAlignment; + style?: ActionStyle; /** - * Controls how the image should be aligned if it must be cropped or if using repeat fill mode. + * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - verticalAlignment?: VerticalAlignment; - - constructor(options: BackgroundImageOptions = {}) { - Object.assign(this, options); - } - - static from(options: IBackgroundImage): BackgroundImage { - return new BackgroundImage(options); - } - - withUrl(url: string): this { - this.url = url; - return this; - } - - withFillMode(fillMode: FillMode): this { - this.fillMode = fillMode; - return this; - } - - withHorizontalAlignment(horizontalAlignment: HorizontalAlignment): this { - this.horizontalAlignment = horizontalAlignment; - return this; - } - - withVerticalAlignment(verticalAlignment: VerticalAlignment): this { - this.verticalAlignment = verticalAlignment; - return this; - } -} - -/** - * Defines how a card can be refreshed by making a request to the target Bot. - */ -export interface IRefreshDefinition { + mode?: ActionMode; /** - * The Action.Execute action to invoke to refresh the card. + * The tooltip text to display when the action is hovered over. */ - action?: IExecuteAction; + tooltip?: string; /** - * The list of user Ids for which the card will be automatically refreshed. In Teams, in chats or channels with more than 60 users, the card will automatically refresh only for users specified in the userIds list. Other users will have to manually click on a "refresh" button. In contexts with fewer than 60 users, the card will automatically refresh for all users. + * Controls the enabled state of the action. A disabled action cannot be clicked. If the action is represented as a button, the button's style will reflect this state. */ - userIds?: string[]; -} - -export type RefreshDefinitionOptions = IRefreshDefinition; - -/** - * Defines how a card can be refreshed by making a request to the target Bot. - */ -export class RefreshDefinition implements IRefreshDefinition { + isEnabled?: boolean; /** - * The Action.Execute action to invoke to refresh the card. + * The actions to display in the overflow menu of a Split action button. */ - action?: IExecuteAction; + menuActions?: MenuActionArray; /** - * The list of user Ids for which the card will be automatically refreshed. In Teams, in chats or channels with more than 60 users, the card will automatically refresh only for users specified in the userIds list. Other users will have to manually click on a "refresh" button. In contexts with fewer than 60 users, the card will automatically refresh for all users. + * A set of theme-specific icon URLs. */ - userIds?: string[]; - - constructor(options: RefreshDefinitionOptions = {}) { - Object.assign(this, options); - } - - static from(options: IRefreshDefinition): RefreshDefinition { - return new RefreshDefinition(options); - } + themedIconUrls?: IThemedUrl[]; + /** + * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackAction; + /** + * The card that should be displayed when the action is executed. + */ + card?: IAdaptiveCard; +} - withAction(action: IExecuteAction): this { - this.action = action; - return this; - } - - withUserIds(...userIds: string[]): this { - this.userIds = userIds; - return this; - } +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type IShowCardAction. + * + * @param value The value to check. + * @returns True if the value is an instance of ShowCardAction, false otherwise. + */ +export function isShowCardAction(value: unknown): value is IShowCardAction { + const obj = value as IShowCardAction; + return typeof obj === "object" && obj.type === "Action.ShowCard"; } +export type ShowCardActionOptions = Partial>; + /** - * Defines authentication information associated with a card. For more information, refer to the [Bot Framework OAuthCard type](https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.oauthcard) + * Expands or collapses an embedded card within the main card. */ -export interface IAuthentication { - /** - * The text that can be displayed to the end user when prompting them to authenticate. - */ - text?: string; - /** - * The identifier for registered OAuth connection setting information. - */ - connectionName?: string; +export class ShowCardAction implements IShowCardAction { /** - * The buttons that should be displayed to the user when prompting for authentication. The array MUST contain one button of type “signin”. Other button types are not currently supported. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - buttons?: IAuthCardButton[]; + key?: string; /** - * Provides information required to enable on-behalf-of single sign-on user authentication. + * Must be **Action.ShowCard**. */ - tokenExchangeResource?: ITokenExchangeResource; -} - -export type AuthenticationOptions = IAuthentication; - -/** - * Defines authentication information associated with a card. For more information, refer to the [Bot Framework OAuthCard type](https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.oauthcard) - */ -export class Authentication implements IAuthentication { + readonly type = "Action.ShowCard"; /** - * The text that can be displayed to the end user when prompting them to authenticate. + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ - text?: string; + id?: string; /** - * The identifier for registered OAuth connection setting information. + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - connectionName?: string; + requires?: IHostCapabilities = {}; /** - * The buttons that should be displayed to the user when prompting for authentication. The array MUST contain one button of type “signin”. Other button types are not currently supported. + * The title of the action, as it appears on buttons. */ - buttons?: IAuthCardButton[]; + title?: string; /** - * Provides information required to enable on-behalf-of single sign-on user authentication. + * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ - tokenExchangeResource?: ITokenExchangeResource; - - constructor(options: AuthenticationOptions = {}) { - Object.assign(this, options); - } - - static from(options: IAuthentication): Authentication { - return new Authentication(options); - } - - withText(text: string): this { - this.text = text; - return this; - } - - withConnectionName(connectionName: string): this { - this.connectionName = connectionName; - return this; - } - - withButtons(...buttons: IAuthCardButton[]): this { - this.buttons = buttons; - return this; - } - - withTokenExchangeResource(tokenExchangeResource: ITokenExchangeResource): this { - this.tokenExchangeResource = tokenExchangeResource; - return this; - } -} - -/** - * Defines a button as displayed when prompting a user to authenticate. For more information, refer to the [Bot Framework CardAction type](https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.cardaction). - */ -export interface IAuthCardButton { + iconUrl?: string; /** - * Must be **signin**. + * Control the style of the action, affecting its visual and spoken representations. */ - type?: string; + style?: ActionStyle = "default"; /** - * The caption of the button. + * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - title?: string; + mode?: ActionMode = "primary"; /** - * A URL to an image to display alongside the button’s caption. + * The tooltip text to display when the action is hovered over. */ - image?: string; + tooltip?: string; /** - * The value associated with the button. The meaning of value depends on the button’s type. + * Controls the enabled state of the action. A disabled action cannot be clicked. If the action is represented as a button, the button's style will reflect this state. */ - value?: string; -} - -export type AuthCardButtonOptions = IAuthCardButton; - -/** - * Defines a button as displayed when prompting a user to authenticate. For more information, refer to the [Bot Framework CardAction type](https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.cardaction). - */ -export class AuthCardButton implements IAuthCardButton { + isEnabled?: boolean = true; /** - * Must be **signin**. + * The actions to display in the overflow menu of a Split action button. */ - type?: string; + menuActions?: MenuActionArray; /** - * The caption of the button. + * A set of theme-specific icon URLs. */ - title?: string; + themedIconUrls?: IThemedUrl[]; /** - * A URL to an image to display alongside the button’s caption. + * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ - image?: string; + fallback?: FallbackAction; /** - * The value associated with the button. The meaning of value depends on the button’s type. + * The card that should be displayed when the action is executed. */ - value?: string; + card?: IAdaptiveCard; - constructor(options: AuthCardButtonOptions = {}) { + constructor(options: ShowCardActionOptions = {}) { Object.assign(this, options); } - static from(options: IAuthCardButton): AuthCardButton { - return new AuthCardButton(options); + static from(options: Omit): ShowCardAction { + return new ShowCardAction(options); } - withType(type: string): this { - this.type = type; + withKey(key: string): this { + this.key = key; return this; } - withTitle(title: string): this { - this.title = title; + withId(id: string): this { + this.id = id; return this; } - withImage(image: string): this { - this.image = image; + withRequires(requires: IHostCapabilities): this { + this.requires = requires; return this; } - withValue(value: string): this { - this.value = value; + withTitle(title: string): this { + this.title = title; return this; } -} - -/** - * Defines information required to enable on-behalf-of single sign-on user authentication. For more information, refer to the [Bot Framework TokenExchangeResource type](https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.tokenexchangeresource) - */ -export interface ITokenExchangeResource { - /** - * The unique identified of this token exchange instance. - */ - id?: string; - /** - * An application ID or resource identifier with which to exchange a token on behalf of. This property is identity provider- and application-specific. - */ - uri?: string; - /** - * An identifier for the identity provider with which to attempt a token exchange. - */ - providerId?: string; -} - -export type TokenExchangeResourceOptions = ITokenExchangeResource; - -/** - * Defines information required to enable on-behalf-of single sign-on user authentication. For more information, refer to the [Bot Framework TokenExchangeResource type](https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.tokenexchangeresource) - */ -export class TokenExchangeResource implements ITokenExchangeResource { - /** - * The unique identified of this token exchange instance. - */ - id?: string; - /** - * An application ID or resource identifier with which to exchange a token on behalf of. This property is identity provider- and application-specific. - */ - uri?: string; - /** - * An identifier for the identity provider with which to attempt a token exchange. - */ - providerId?: string; - constructor(options: TokenExchangeResourceOptions = {}) { - Object.assign(this, options); + withIconUrl(iconUrl: string): this { + this.iconUrl = iconUrl; + return this; } - static from(options: ITokenExchangeResource): TokenExchangeResource { - return new TokenExchangeResource(options); + withStyle(style: ActionStyle): this { + this.style = style; + return this; } - withId(id: string): this { - this.id = id; + withMode(mode: ActionMode): this { + this.mode = mode; return this; } - withUri(uri: string): this { - this.uri = uri; + withTooltip(tooltip: string): this { + this.tooltip = tooltip; return this; } - withProviderId(providerId: string): this { - this.providerId = providerId; + withIsEnabled(isEnabled = false): this { + this.isEnabled = isEnabled; return this; } -} - -/** - * Represents a set of Teams-specific properties on a card. - */ -export interface ITeamsCardProperties { - /** - * Controls the width of the card in a Teams chat. - -Note that setting `width` to "full" will not actually stretch the card to the "full width" of the chat pane. It will only make the card wider than when the `width` property isn't set. - */ - width?: 'full'; - /** - * The Teams-specific entities associated with the card. - */ - entities?: IMention[]; -} - -export type TeamsCardPropertiesOptions = ITeamsCardProperties; - -/** - * Represents a set of Teams-specific properties on a card. - */ -export class TeamsCardProperties implements ITeamsCardProperties { - /** - * Controls the width of the card in a Teams chat. - -Note that setting `width` to "full" will not actually stretch the card to the "full width" of the chat pane. It will only make the card wider than when the `width` property isn't set. - */ - width?: 'full'; - /** - * The Teams-specific entities associated with the card. - */ - entities?: IMention[]; - constructor(options: TeamsCardPropertiesOptions = {}) { - Object.assign(this, options); + withMenuActions(...menuActions: MenuActionArray): this { + this.menuActions = menuActions; + return this; } - static from(options: ITeamsCardProperties): TeamsCardProperties { - return new TeamsCardProperties(options); + withThemedIconUrls(...themedIconUrls: IThemedUrl[]): this { + this.themedIconUrls = themedIconUrls; + return this; } - withWidth(width: 'full'): this { - this.width = width; + withFallback(fallback: FallbackAction): this { + this.fallback = fallback; return this; } - withEntities(...entities: IMention[]): this { - this.entities = entities; + withCard(card: IAdaptiveCard): this { + this.card = card; return this; } } /** - * Represents a mention to a person. + * Shows a popover to display more information to the user. */ -export interface IMention { +export interface IPopoverAction { /** - * Must be **mention**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type: 'mention'; + key?: string; /** - * The text that will be substituted with the mention. + * Must be **Action.Popover**. */ - text?: string; + readonly type: "Action.Popover"; /** - * Defines the entity being mentioned. + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ - mentioned?: IMentionedEntity; -} - + id?: string; + /** + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). + */ + requires?: IHostCapabilities; + /** + * The title of the action, as it appears on buttons. + */ + title?: string; + /** + * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. + */ + iconUrl?: string; + /** + * Control the style of the action, affecting its visual and spoken representations. + */ + style?: ActionStyle; + /** + * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. + */ + mode?: ActionMode; + /** + * The tooltip text to display when the action is hovered over. + */ + tooltip?: string; + /** + * Controls the enabled state of the action. A disabled action cannot be clicked. If the action is represented as a button, the button's style will reflect this state. + */ + isEnabled?: boolean; + /** + * A set of theme-specific icon URLs. + */ + themedIconUrls?: IThemedUrl[]; + /** + * The content of the popover, which can be any element. + */ + content?: IActionSet | IBadge | ICarousel | IDonutChart | IGaugeChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IPieChart | IVerticalBarChart | IGroupedVerticalBarChart | ICodeBlock | IColumnSet | IComEventMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | ICompoundButton | IContainer | IFactSet | IIcon | IIconRun | IImage | IImageRun | IImageSet | IChoiceSetInput | IDateInput | INumberInput | IRatingInput | ITextInput | ITimeInput | IToggleInput | IMedia | IProgressBar | IProgressRing | IRating | IRichTextBlock | ITable | ITextBlock | ITextRun; + /** + * Controls if an arrow should be displayed towards the element that triggered the popover. + */ + displayArrow?: boolean; + /** + * Controls where the popover should be displayed with regards to the element that triggered it. + */ + position?: PopoverPosition; + /** + * The maximum width of the popover in pixels, in the `px` format + */ + maxPopoverWidth?: string; + /** + * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackAction; +} + /** * @hidden * @internal * - * Type guard to check if a value is of type IMention. + * Type guard to check if a value is of type IPopoverAction. * * @param value The value to check. - * @returns True if the value is an instance of Mention, false otherwise. + * @returns True if the value is an instance of PopoverAction, false otherwise. */ -export function isMention(value: unknown): value is IMention { - const obj = value as IMention; - return typeof obj === 'object' && obj.type === 'mention'; +export function isPopoverAction(value: unknown): value is IPopoverAction { + const obj = value as IPopoverAction; + return typeof obj === "object" && obj.type === "Action.Popover"; } -export type MentionOptions = Omit; +export type PopoverActionOptions = Partial>; /** - * Represents a mention to a person. + * Shows a popover to display more information to the user. */ -export class Mention implements IMention { +export class PopoverAction implements IPopoverAction { /** - * Must be **mention**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type = 'mention'; + key?: string; /** - * The text that will be substituted with the mention. + * Must be **Action.Popover**. */ - text?: string; + readonly type = "Action.Popover"; /** - * Defines the entity being mentioned. + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ - mentioned?: IMentionedEntity; - - constructor(options: MentionOptions = {}) { - Object.assign(this, options); - } - - static from(options: Omit): Mention { - return new Mention(options); - } - - withText(text: string): this { - this.text = text; - return this; - } - - withMentioned(mentioned: IMentionedEntity): this { - this.mentioned = mentioned; - return this; - } -} - -/** - * Represents a mentioned person or tag. - */ -export interface IMentionedEntity { + id?: string; /** - * The Id of a person (typically a Microsoft Entra user Id) or tag. + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - id?: string; + requires?: IHostCapabilities = {}; /** - * The name of the mentioned entity. + * The title of the action, as it appears on buttons. */ - name?: string; + title?: string; /** - * The type of the mentioned entity. + * A URL (or Base64-encoded Data URI) to a PNG, GIF, JPEG or SVG image to be displayed on the left of the action's title. + * + * `iconUrl` also accepts the `[,regular|filled]` format to display an icon from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog) instead of an image. */ - mentionType?: MentionType; -} - -export type MentionedEntityOptions = IMentionedEntity; - -/** - * Represents a mentioned person or tag. - */ -export class MentionedEntity implements IMentionedEntity { + iconUrl?: string; /** - * The Id of a person (typically a Microsoft Entra user Id) or tag. + * Control the style of the action, affecting its visual and spoken representations. */ - id?: string; + style?: ActionStyle = "default"; /** - * The name of the mentioned entity. + * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - name?: string; + mode?: ActionMode = "primary"; /** - * The type of the mentioned entity. + * The tooltip text to display when the action is hovered over. */ - mentionType?: MentionType; + tooltip?: string; + /** + * Controls the enabled state of the action. A disabled action cannot be clicked. If the action is represented as a button, the button's style will reflect this state. + */ + isEnabled?: boolean = true; + /** + * A set of theme-specific icon URLs. + */ + themedIconUrls?: IThemedUrl[]; + /** + * The content of the popover, which can be any element. + */ + content?: IActionSet | IBadge | ICarousel | IDonutChart | IGaugeChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IPieChart | IVerticalBarChart | IGroupedVerticalBarChart | ICodeBlock | IColumnSet | IComEventMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | ICompoundButton | IContainer | IFactSet | IIcon | IIconRun | IImage | IImageRun | IImageSet | IChoiceSetInput | IDateInput | INumberInput | IRatingInput | ITextInput | ITimeInput | IToggleInput | IMedia | IProgressBar | IProgressRing | IRating | IRichTextBlock | ITable | ITextBlock | ITextRun; + /** + * Controls if an arrow should be displayed towards the element that triggered the popover. + */ + displayArrow?: boolean = true; + /** + * Controls where the popover should be displayed with regards to the element that triggered it. + */ + position?: PopoverPosition = "Above"; + /** + * The maximum width of the popover in pixels, in the `px` format + */ + maxPopoverWidth?: string; + /** + * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackAction; - constructor(options: MentionedEntityOptions = {}) { + constructor(options: PopoverActionOptions = {}) { Object.assign(this, options); } - static from(options: IMentionedEntity): MentionedEntity { - return new MentionedEntity(options); + static from(options: Omit): PopoverAction { + return new PopoverAction(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -5411,60 +2718,84 @@ export class MentionedEntity implements IMentionedEntity { return this; } - withName(name: string): this { - this.name = name; + withRequires(requires: IHostCapabilities): this { + this.requires = requires; return this; } - withMentionType(mentionType: MentionType): this { - this.mentionType = mentionType; + withTitle(title: string): this { + this.title = title; return this; } -} -/** - * Card-level metadata. - */ -export interface ICardMetadata { - /** - * The URL the card originates from. When `webUrl` is set, the card is dubbed an **Adaptive Card-based Loop Component** and, when pasted in Teams or other Loop Component-capable host applications, the URL will unfurl to the same exact card. - */ - webUrl?: string; -} + withIconUrl(iconUrl: string): this { + this.iconUrl = iconUrl; + return this; + } -export type CardMetadataOptions = ICardMetadata; + withStyle(style: ActionStyle): this { + this.style = style; + return this; + } -/** - * Card-level metadata. - */ -export class CardMetadata implements ICardMetadata { - /** - * The URL the card originates from. When `webUrl` is set, the card is dubbed an **Adaptive Card-based Loop Component** and, when pasted in Teams or other Loop Component-capable host applications, the URL will unfurl to the same exact card. - */ - webUrl?: string; + withMode(mode: ActionMode): this { + this.mode = mode; + return this; + } - constructor(options: CardMetadataOptions = {}) { - Object.assign(this, options); + withTooltip(tooltip: string): this { + this.tooltip = tooltip; + return this; } - static from(options: ICardMetadata): CardMetadata { - return new CardMetadata(options); + withIsEnabled(isEnabled = false): this { + this.isEnabled = isEnabled; + return this; } - withWebUrl(webUrl: string): this { - this.webUrl = webUrl; + withThemedIconUrls(...themedIconUrls: IThemedUrl[]): this { + this.themedIconUrls = themedIconUrls; + return this; + } + + withContent(content: IActionSet | IBadge | ICarousel | IDonutChart | IGaugeChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IPieChart | IVerticalBarChart | IGroupedVerticalBarChart | ICodeBlock | IColumnSet | IComEventMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | ICompoundButton | IContainer | IFactSet | IIcon | IIconRun | IImage | IImageRun | IImageSet | IChoiceSetInput | IDateInput | INumberInput | IRatingInput | ITextInput | ITimeInput | IToggleInput | IMedia | IProgressBar | IProgressRing | IRating | IRichTextBlock | ITable | ITextBlock | ITextRun): this { + this.content = content; + return this; + } + + withDisplayArrow(displayArrow = false): this { + this.displayArrow = displayArrow; + return this; + } + + withPosition(position: PopoverPosition): this { + this.position = position; + return this; + } + + withMaxPopoverWidth(maxPopoverWidth: string): this { + this.maxPopoverWidth = maxPopoverWidth; + return this; + } + + withFallback(fallback: FallbackAction): this { + this.fallback = fallback; return this; } } /** - * A container for other elements. Use containers for styling purposes and/or to logically group a set of elements together, which can be especially useful when used with Action.ToggleVisibility. + * Displays a set of action, which can be placed anywhere in the card. */ -export interface IContainer { +export interface IActionSet { /** - * Must be **Container**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type: 'Container'; + key?: string; + /** + * Must be **ActionSet**. + */ + readonly type: "ActionSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5506,46 +2837,263 @@ export interface IContainer { */ isSortKey?: boolean; /** - * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. + * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + "grid.area"?: string; /** - * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ - style?: ContainerStyle; + fallback?: FallbackElement; /** - * Controls if a border should be displayed around the container. + * The actions in the set. */ - showBorder?: boolean; + actions: ActionArray; +} + +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type IActionSet. + * + * @param value The value to check. + * @returns True if the value is an instance of ActionSet, false otherwise. + */ +export function isActionSet(value: unknown): value is IActionSet { + const obj = value as IActionSet; + return typeof obj === "object" && obj.type === "ActionSet"; +} + +export type ActionSetOptions = Partial>; + +/** + * Displays a set of action, which can be placed anywhere in the card. + */ +export class ActionSet implements IActionSet { /** - * Controls if the container should have rounded corners. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - roundedCorners?: boolean; + key?: string; /** - * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See [Container layouts](https://adaptivecards.microsoft.com/?topic=container-layouts) for more details. + * Must be **ActionSet**. */ - layouts?: (IStackLayout | IFlowLayout | IAreaGridLayout)[]; + readonly type = "ActionSet"; /** - * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding. + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ - bleed?: boolean; + id?: string; /** - * The minimum height, in pixels, of the container, in the `px` format. + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - minHeight?: string; + requires?: IHostCapabilities = {}; /** - * Defines the container's background image. + * The locale associated with the element. */ - backgroundImage?: string | IBackgroundImage; + lang?: string; /** - * Controls how the container's content should be vertically aligned. + * Controls the visibility of the element. */ - verticalContentAlignment?: VerticalAlignment; + isVisible?: boolean = true; + /** + * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. + */ + separator?: boolean = false; + /** + * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. + */ + height?: ElementHeight = "auto"; + /** + * Controls how the element should be horizontally aligned. + */ + horizontalAlignment?: HorizontalAlignment; + /** + * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. + */ + spacing?: Spacing = "Default"; + /** + * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). + */ + targetWidth?: TargetWidth; + /** + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + */ + isSortKey?: boolean = false; + /** + * The area of a Layout.AreaGrid layout in which an element should be displayed. + */ + "grid.area"?: string; + /** + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackElement; + /** + * The actions in the set. + */ + actions: ActionArray; + + constructor(...actions: ActionArray) { + this.actions = actions; + } + + withOptions(value: ActionSetOptions): this { + Object.assign(this, value); + return this; + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withId(id: string): this { + this.id = id; + return this; + } + + withRequires(requires: IHostCapabilities): this { + this.requires = requires; + return this; + } + + withLang(lang: string): this { + this.lang = lang; + return this; + } + + withIsVisible(isVisible = false): this { + this.isVisible = isVisible; + return this; + } + + withSeparator(separator = true): this { + this.separator = separator; + return this; + } + + withHeight(height: ElementHeight): this { + this.height = height; + return this; + } + + withHorizontalAlignment(horizontalAlignment: HorizontalAlignment): this { + this.horizontalAlignment = horizontalAlignment; + return this; + } + + withSpacing(spacing: Spacing): this { + this.spacing = spacing; + return this; + } + + withTargetWidth(targetWidth: TargetWidth): this { + this.targetWidth = targetWidth; + return this; + } + + withIsSortKey(isSortKey = true): this { + this.isSortKey = isSortKey; + return this; + } + + withFallback(fallback: FallbackElement): this { + this.fallback = fallback; + return this; + } + + withActions(...actions: ActionArray): this { + this.actions = actions; + return this; + } +} + +/** + * A container for other elements. Use containers for styling purposes and/or to logically group a set of elements together, which can be especially useful when used with Action.ToggleVisibility. + */ +export interface IContainer { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Container**. + */ + readonly type: "Container"; + /** + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + */ + id?: string; + /** + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). + */ + requires?: IHostCapabilities; + /** + * The locale associated with the element. + */ + lang?: string; + /** + * Controls the visibility of the element. + */ + isVisible?: boolean; + /** + * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. + */ + separator?: boolean; + /** + * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. + */ + height?: ElementHeight; + /** + * Controls how the element should be horizontally aligned. + */ + horizontalAlignment?: HorizontalAlignment; + /** + * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. + */ + spacing?: Spacing; + /** + * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). + */ + targetWidth?: TargetWidth; + /** + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + */ + isSortKey?: boolean; + /** + * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. + */ + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; + /** + * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. + */ + style?: ContainerStyle; + /** + * Controls if a border should be displayed around the container. + */ + showBorder?: boolean; + /** + * Controls if the container should have rounded corners. + */ + roundedCorners?: boolean; + /** + * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See [Container layouts](https://adaptivecards.microsoft.com/?topic=container-layouts) for more details. + */ + layouts?: (IStackLayout | IFlowLayout | IAreaGridLayout)[]; + /** + * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding. + */ + bleed?: boolean; + /** + * The minimum height, in pixels, of the container, in the `px` format. + */ + minHeight?: string; + /** + * Defines the container's background image. + */ + backgroundImage?: string | IBackgroundImage; + /** + * Controls how the container's content should be vertically aligned. + */ + verticalContentAlignment?: VerticalAlignment; /** * Controls if the content of the card is to be rendered left-to-right or right-to-left. */ @@ -5557,7 +3105,7 @@ export interface IContainer { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5579,19 +3127,23 @@ export interface IContainer { */ export function isContainer(value: unknown): value is IContainer { const obj = value as IContainer; - return typeof obj === 'object' && obj.type === 'Container'; + return typeof obj === "object" && obj.type === "Container"; } -export type ContainerOptions = Omit; +export type ContainerOptions = Partial>; /** * A container for other elements. Use containers for styling purposes and/or to logically group a set of elements together, which can be especially useful when used with Action.ToggleVisibility. */ export class Container implements IContainer { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Container**. */ - readonly type = 'Container'; + readonly type = "Container"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5599,7 +3151,7 @@ export class Container implements IContainer { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -5607,15 +3159,15 @@ export class Container implements IContainer { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -5623,7 +3175,7 @@ export class Container implements IContainer { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -5631,16 +3183,11 @@ export class Container implements IContainer { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; /** * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. */ @@ -5648,11 +3195,11 @@ export class Container implements IContainer { /** * Controls if a border should be displayed around the container. */ - showBorder?: boolean; + showBorder?: boolean = false; /** * Controls if the container should have rounded corners. */ - roundedCorners?: boolean; + roundedCorners?: boolean = false; /** * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See [Container layouts](https://adaptivecards.microsoft.com/?topic=container-layouts) for more details. */ @@ -5660,7 +3207,7 @@ export class Container implements IContainer { /** * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding. */ - bleed?: boolean; + bleed?: boolean = false; /** * The minimum height, in pixels, of the container, in the `px` format. */ @@ -5684,7 +3231,7 @@ export class Container implements IContainer { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5703,6 +3250,11 @@ export class Container implements IContainer { return this; } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -5753,14 +3305,7 @@ export class Container implements IContainer { return this; } - withSelectAction( - selectAction: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction - ): this { + withSelectAction(selectAction: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction): this { this.selectAction = selectAction; return this; } @@ -5827,329 +3372,585 @@ export class Container implements IContainer { } /** - * Displays a set of action, which can be placed anywhere in the card. + * A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers. */ -export interface IActionSet { - /** - * Must be **ActionSet**. - */ - readonly type: 'ActionSet'; - /** - * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. - */ - id?: string; - /** - * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). - */ - requires?: IHostCapabilities; - /** - * The locale associated with the element. - */ - lang?: string; - /** - * Controls the visibility of the element. - */ - isVisible?: boolean; - /** - * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. - */ - separator?: boolean; - /** - * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. - */ - height?: ElementHeight; +export interface IStackLayout { /** - * Controls how the element should be horizontally aligned. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - horizontalAlignment?: HorizontalAlignment; + key?: string; /** - * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. + * Must be **Layout.Stack**. */ - spacing?: Spacing; + readonly type: "Layout.Stack"; /** - * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). + * Controls for which card width the layout should be used. */ targetWidth?: TargetWidth; - /** - * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. - */ - isSortKey?: boolean; - /** - * The area of a Layout.AreaGrid layout in which an element should be displayed. - */ - 'grid.area'?: string; - /** - * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. - */ - fallback?: FallbackElement; - /** - * The actions in the set. - */ - actions: ActionArray; } /** * @hidden * @internal * - * Type guard to check if a value is of type IActionSet. + * Type guard to check if a value is of type IStackLayout. * * @param value The value to check. - * @returns True if the value is an instance of ActionSet, false otherwise. + * @returns True if the value is an instance of StackLayout, false otherwise. */ -export function isActionSet(value: unknown): value is IActionSet { - const obj = value as IActionSet; - return typeof obj === 'object' && obj.type === 'ActionSet'; +export function isStackLayout(value: unknown): value is IStackLayout { + const obj = value as IStackLayout; + return typeof obj === "object" && obj.type === "Layout.Stack"; } -export type ActionSetOptions = Omit; +export type StackLayoutOptions = Partial>; /** - * Displays a set of action, which can be placed anywhere in the card. + * A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers. */ -export class ActionSet implements IActionSet { +export class StackLayout implements IStackLayout { /** - * Must be **ActionSet**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type = 'ActionSet'; + key?: string; /** - * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + * Must be **Layout.Stack**. */ - id?: string; + readonly type = "Layout.Stack"; /** - * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). + * Controls for which card width the layout should be used. */ - requires?: IHostCapabilities; + targetWidth?: TargetWidth; + + constructor(options: StackLayoutOptions = {}) { + Object.assign(this, options); + } + + static from(options: Omit): StackLayout { + return new StackLayout(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withTargetWidth(targetWidth: TargetWidth): this { + this.targetWidth = targetWidth; + return this; + } +} + +/** + * A layout that spreads elements horizontally and wraps them across multiple rows, as needed. + */ +export interface IFlowLayout { /** - * The locale associated with the element. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - lang?: string; + key?: string; /** - * Controls the visibility of the element. + * Must be **Layout.Flow**. */ - isVisible?: boolean; + readonly type: "Layout.Flow"; /** - * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. + * Controls for which card width the layout should be used. */ - separator?: boolean; + targetWidth?: TargetWidth; /** - * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. + * Controls how the content of the container should be horizontally aligned. */ - height?: ElementHeight; + horizontalItemsAlignment?: HorizontalAlignment; /** - * Controls how the element should be horizontally aligned. + * Controls how the content of the container should be vertically aligned. */ - horizontalAlignment?: HorizontalAlignment; + verticalItemsAlignment?: VerticalAlignment; /** - * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. + * Controls how item should fit inside the container. */ - spacing?: Spacing; + itemFit?: FlowLayoutItemFit; /** - * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). + * The minimum width, in pixels, of each item, in the `px` format. Should not be used if itemWidth is set. */ - targetWidth?: TargetWidth; + minItemWidth?: string; /** - * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + * The maximum width, in pixels, of each item, in the `px` format. Should not be used if itemWidth is set. */ - isSortKey?: boolean; + maxItemWidth?: string; /** - * The area of a Layout.AreaGrid layout in which an element should be displayed. + * The width, in pixels, of each item, in the `px` format. Should not be used if maxItemWidth and/or minItemWidth are set. */ - 'grid.area'?: string; + itemWidth?: string; /** - * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + * The space between items. */ - fallback?: FallbackElement; + columnSpacing?: Spacing; /** - * The actions in the set. + * The space between rows of items. */ - actions: ActionArray; + rowSpacing?: Spacing; +} - constructor(...actions: ActionArray) { - this.actions = actions; - } +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type IFlowLayout. + * + * @param value The value to check. + * @returns True if the value is an instance of FlowLayout, false otherwise. + */ +export function isFlowLayout(value: unknown): value is IFlowLayout { + const obj = value as IFlowLayout; + return typeof obj === "object" && obj.type === "Layout.Flow"; +} - withOptions(value: ActionSetOptions): this { - Object.assign(this, value); - return this; - } +export type FlowLayoutOptions = Partial>; - withId(id: string): this { - this.id = id; - return this; +/** + * A layout that spreads elements horizontally and wraps them across multiple rows, as needed. + */ +export class FlowLayout implements IFlowLayout { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Layout.Flow**. + */ + readonly type = "Layout.Flow"; + /** + * Controls for which card width the layout should be used. + */ + targetWidth?: TargetWidth; + /** + * Controls how the content of the container should be horizontally aligned. + */ + horizontalItemsAlignment?: HorizontalAlignment = "Center"; + /** + * Controls how the content of the container should be vertically aligned. + */ + verticalItemsAlignment?: VerticalAlignment = "Top"; + /** + * Controls how item should fit inside the container. + */ + itemFit?: FlowLayoutItemFit = "Fit"; + /** + * The minimum width, in pixels, of each item, in the `px` format. Should not be used if itemWidth is set. + */ + minItemWidth?: string; + /** + * The maximum width, in pixels, of each item, in the `px` format. Should not be used if itemWidth is set. + */ + maxItemWidth?: string; + /** + * The width, in pixels, of each item, in the `px` format. Should not be used if maxItemWidth and/or minItemWidth are set. + */ + itemWidth?: string; + /** + * The space between items. + */ + columnSpacing?: Spacing = "Default"; + /** + * The space between rows of items. + */ + rowSpacing?: Spacing = "Default"; + + constructor(options: FlowLayoutOptions = {}) { + Object.assign(this, options); } - withRequires(requires: IHostCapabilities): this { - this.requires = requires; - return this; + static from(options: Omit): FlowLayout { + return new FlowLayout(options); } - withLang(lang: string): this { - this.lang = lang; + withKey(key: string): this { + this.key = key; return this; } - withIsVisible(isVisible = false): this { - this.isVisible = isVisible; + withTargetWidth(targetWidth: TargetWidth): this { + this.targetWidth = targetWidth; return this; } - withSeparator(separator = true): this { - this.separator = separator; + withHorizontalItemsAlignment(horizontalItemsAlignment: HorizontalAlignment): this { + this.horizontalItemsAlignment = horizontalItemsAlignment; return this; } - withHeight(height: ElementHeight): this { - this.height = height; + withVerticalItemsAlignment(verticalItemsAlignment: VerticalAlignment): this { + this.verticalItemsAlignment = verticalItemsAlignment; return this; } - withHorizontalAlignment(horizontalAlignment: HorizontalAlignment): this { - this.horizontalAlignment = horizontalAlignment; + withItemFit(itemFit: FlowLayoutItemFit): this { + this.itemFit = itemFit; return this; } - withSpacing(spacing: Spacing): this { - this.spacing = spacing; + withMinItemWidth(minItemWidth: string): this { + this.minItemWidth = minItemWidth; return this; } - withTargetWidth(targetWidth: TargetWidth): this { - this.targetWidth = targetWidth; + withMaxItemWidth(maxItemWidth: string): this { + this.maxItemWidth = maxItemWidth; return this; } - withIsSortKey(isSortKey = true): this { - this.isSortKey = isSortKey; + withItemWidth(itemWidth: string): this { + this.itemWidth = itemWidth; return this; } - withFallback(fallback: FallbackElement): this { - this.fallback = fallback; + withColumnSpacing(columnSpacing: Spacing): this { + this.columnSpacing = columnSpacing; return this; } - withActions(...actions: ActionArray): this { - this.actions = actions; + withRowSpacing(rowSpacing: Spacing): this { + this.rowSpacing = rowSpacing; return this; } } /** - * Splits the available horizontal space into separate columns, so elements can be organized in a row. + * A layout that divides a container into named areas into which elements can be placed. */ -export interface IColumnSet { +export interface IAreaGridLayout { /** - * Must be **ColumnSet**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type: 'ColumnSet'; + key?: string; /** - * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + * Must be **Layout.AreaGrid**. */ - id?: string; + readonly type: "Layout.AreaGrid"; /** - * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). + * Controls for which card width the layout should be used. */ - requires?: IHostCapabilities; + targetWidth?: TargetWidth; /** - * The locale associated with the element. + * The columns in the grid layout, defined as a percentage of the available width or in pixels using the `px` format. */ - lang?: string; + columns?: (number | string)[]; /** - * Controls the visibility of the element. + * The areas in the grid layout. */ - isVisible?: boolean; + areas?: IGridArea[]; /** - * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. + * The space between columns. */ - separator?: boolean; + columnSpacing?: Spacing; /** - * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. + * The space between rows. */ - height?: ElementHeight; + rowSpacing?: Spacing; +} + +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type IAreaGridLayout. + * + * @param value The value to check. + * @returns True if the value is an instance of AreaGridLayout, false otherwise. + */ +export function isAreaGridLayout(value: unknown): value is IAreaGridLayout { + const obj = value as IAreaGridLayout; + return typeof obj === "object" && obj.type === "Layout.AreaGrid"; +} + +export type AreaGridLayoutOptions = Partial>; + +/** + * A layout that divides a container into named areas into which elements can be placed. + */ +export class AreaGridLayout implements IAreaGridLayout { /** - * Controls how the element should be horizontally aligned. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - horizontalAlignment?: HorizontalAlignment; + key?: string; /** - * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. + * Must be **Layout.AreaGrid**. */ - spacing?: Spacing; + readonly type = "Layout.AreaGrid"; /** - * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). + * Controls for which card width the layout should be used. */ targetWidth?: TargetWidth; /** - * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + * The columns in the grid layout, defined as a percentage of the available width or in pixels using the `px` format. */ - isSortKey?: boolean; + columns?: (number | string)[]; /** - * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. + * The areas in the grid layout. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + areas?: IGridArea[]; /** - * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. + * The space between columns. */ - style?: ContainerStyle; + columnSpacing?: Spacing = "Default"; /** - * Controls if a border should be displayed around the container. + * The space between rows. */ - showBorder?: boolean; + rowSpacing?: Spacing = "Default"; + + constructor(options: AreaGridLayoutOptions = {}) { + Object.assign(this, options); + } + + static from(options: Omit): AreaGridLayout { + return new AreaGridLayout(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withTargetWidth(targetWidth: TargetWidth): this { + this.targetWidth = targetWidth; + return this; + } + + withColumns(...columns: (number | string)[]): this { + this.columns = columns; + return this; + } + + withAreas(...areas: IGridArea[]): this { + this.areas = areas; + return this; + } + + withColumnSpacing(columnSpacing: Spacing): this { + this.columnSpacing = columnSpacing; + return this; + } + + withRowSpacing(rowSpacing: Spacing): this { + this.rowSpacing = rowSpacing; + return this; + } +} + +/** + * Defines an area in a Layout.AreaGrid layout. + */ +export interface IGridArea { /** - * Controls if the container should have rounded corners. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - roundedCorners?: boolean; + key?: string; /** - * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding. + * The name of the area. To place an element in this area, set its `grid.area` property to match the name of the area. */ - bleed?: boolean; + name?: string; /** - * The minimum height, in pixels, of the container, in the `px` format. + * The start column index of the area. Column indices start at 1. */ - minHeight?: string; + column?: number; /** - * The area of a Layout.AreaGrid layout in which an element should be displayed. + * Defines how many columns the area should span. */ - 'grid.area'?: string; + columnSpan?: number; /** - * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + * The start row index of the area. Row indices start at 1. */ - fallback?: FallbackElement; + row?: number; /** - * The columns in the set. + * Defines how many rows the area should span. */ - columns?: ColumnArray; + rowSpan?: number; } + +export type GridAreaOptions = Partial; + /** - * @hidden - * @internal - * - * Type guard to check if a value is of type IColumnSet. - * - * @param value The value to check. - * @returns True if the value is an instance of ColumnSet, false otherwise. + * Defines an area in a Layout.AreaGrid layout. */ -export function isColumnSet(value: unknown): value is IColumnSet { - const obj = value as IColumnSet; - return typeof obj === 'object' && obj.type === 'ColumnSet'; +export class GridArea implements IGridArea { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The name of the area. To place an element in this area, set its `grid.area` property to match the name of the area. + */ + name?: string; + /** + * The start column index of the area. Column indices start at 1. + */ + column?: number = 1; + /** + * Defines how many columns the area should span. + */ + columnSpan?: number = 1; + /** + * The start row index of the area. Row indices start at 1. + */ + row?: number = 1; + /** + * Defines how many rows the area should span. + */ + rowSpan?: number = 1; + + constructor(options: GridAreaOptions = {}) { + Object.assign(this, options); + } + + static from(options: IGridArea): GridArea { + return new GridArea(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withName(name: string): this { + this.name = name; + return this; + } + + withColumn(column: number): this { + this.column = column; + return this; + } + + withColumnSpan(columnSpan: number): this { + this.columnSpan = columnSpan; + return this; + } + + withRow(row: number): this { + this.row = row; + return this; + } + + withRowSpan(rowSpan: number): this { + this.rowSpan = rowSpan; + return this; + } +} + +/** + * Defines a container's background image and the way it should be rendered. + */ +export interface IBackgroundImage { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The URL (or Base64-encoded Data URI) of the image. Acceptable formats are PNG, JPEG, GIF and SVG. + */ + url?: string; + /** + * Controls how the image should fill the area. + */ + fillMode?: FillMode; + /** + * Controls how the image should be aligned if it must be cropped or if using repeat fill mode. + */ + horizontalAlignment?: HorizontalAlignment; + /** + * Controls how the image should be aligned if it must be cropped or if using repeat fill mode. + */ + verticalAlignment?: VerticalAlignment; + /** + * A set of theme-specific image URLs. + */ + themedUrls?: IThemedUrl[]; } -export type ColumnSetOptions = Omit; + +export type BackgroundImageOptions = Partial; + +/** + * Defines a container's background image and the way it should be rendered. + */ +export class BackgroundImage implements IBackgroundImage { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The URL (or Base64-encoded Data URI) of the image. Acceptable formats are PNG, JPEG, GIF and SVG. + */ + url?: string; + /** + * Controls how the image should fill the area. + */ + fillMode?: FillMode = "Cover"; + /** + * Controls how the image should be aligned if it must be cropped or if using repeat fill mode. + */ + horizontalAlignment?: HorizontalAlignment = "Left"; + /** + * Controls how the image should be aligned if it must be cropped or if using repeat fill mode. + */ + verticalAlignment?: VerticalAlignment = "Top"; + /** + * A set of theme-specific image URLs. + */ + themedUrls?: IThemedUrl[]; + + constructor(options: BackgroundImageOptions = {}) { + Object.assign(this, options); + } + + static from(options: IBackgroundImage): BackgroundImage { + return new BackgroundImage(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withUrl(url: string): this { + this.url = url; + return this; + } + + withFillMode(fillMode: FillMode): this { + this.fillMode = fillMode; + return this; + } + + withHorizontalAlignment(horizontalAlignment: HorizontalAlignment): this { + this.horizontalAlignment = horizontalAlignment; + return this; + } + + withVerticalAlignment(verticalAlignment: VerticalAlignment): this { + this.verticalAlignment = verticalAlignment; + return this; + } + + withThemedUrls(...themedUrls: IThemedUrl[]): this { + this.themedUrls = themedUrls; + return this; + } +} /** * Splits the available horizontal space into separate columns, so elements can be organized in a row. */ -export class ColumnSet implements IColumnSet { +export interface IColumnSet { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **ColumnSet**. */ - readonly type = 'ColumnSet'; + readonly type: "ColumnSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6193,12 +3994,7 @@ export class ColumnSet implements IColumnSet { /** * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; /** * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. */ @@ -6219,10 +4015,14 @@ export class ColumnSet implements IColumnSet { * The minimum height, in pixels, of the container, in the `px` format. */ minHeight?: string; + /** + * The minimum width of the column set. `auto` will automatically adjust the column set's minimum width according to its content and using the `px` format will give the column set an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. + */ + minWidth?: "auto" | string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6231,33 +4031,148 @@ export class ColumnSet implements IColumnSet { * The columns in the set. */ columns?: ColumnArray; +} - constructor(options: ColumnSetOptions = {}) { - Object.assign(this, options); - } - - static from(options: Omit): ColumnSet { - return new ColumnSet(options); - } - - withId(id: string): this { - this.id = id; - return this; - } - - withRequires(requires: IHostCapabilities): this { - this.requires = requires; - return this; - } +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type IColumnSet. + * + * @param value The value to check. + * @returns True if the value is an instance of ColumnSet, false otherwise. + */ +export function isColumnSet(value: unknown): value is IColumnSet { + const obj = value as IColumnSet; + return typeof obj === "object" && obj.type === "ColumnSet"; +} - withLang(lang: string): this { - this.lang = lang; - return this; - } +export type ColumnSetOptions = Partial>; - withIsVisible(isVisible = false): this { - this.isVisible = isVisible; - return this; +/** + * Splits the available horizontal space into separate columns, so elements can be organized in a row. + */ +export class ColumnSet implements IColumnSet { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **ColumnSet**. + */ + readonly type = "ColumnSet"; + /** + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + */ + id?: string; + /** + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). + */ + requires?: IHostCapabilities = {}; + /** + * The locale associated with the element. + */ + lang?: string; + /** + * Controls the visibility of the element. + */ + isVisible?: boolean = true; + /** + * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. + */ + separator?: boolean = false; + /** + * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. + */ + height?: ElementHeight = "auto"; + /** + * Controls how the element should be horizontally aligned. + */ + horizontalAlignment?: HorizontalAlignment; + /** + * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. + */ + spacing?: Spacing = "Default"; + /** + * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). + */ + targetWidth?: TargetWidth; + /** + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + */ + isSortKey?: boolean = false; + /** + * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. + */ + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; + /** + * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. + */ + style?: ContainerStyle; + /** + * Controls if a border should be displayed around the container. + */ + showBorder?: boolean = false; + /** + * Controls if the container should have rounded corners. + */ + roundedCorners?: boolean = false; + /** + * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding. + */ + bleed?: boolean = false; + /** + * The minimum height, in pixels, of the container, in the `px` format. + */ + minHeight?: string; + /** + * The minimum width of the column set. `auto` will automatically adjust the column set's minimum width according to its content and using the `px` format will give the column set an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. + */ + minWidth?: "auto" | string; + /** + * The area of a Layout.AreaGrid layout in which an element should be displayed. + */ + "grid.area"?: string; + /** + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackElement; + /** + * The columns in the set. + */ + columns?: ColumnArray; + + constructor(options: ColumnSetOptions = {}) { + Object.assign(this, options); + } + + static from(options: Omit): ColumnSet { + return new ColumnSet(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withId(id: string): this { + this.id = id; + return this; + } + + withRequires(requires: IHostCapabilities): this { + this.requires = requires; + return this; + } + + withLang(lang: string): this { + this.lang = lang; + return this; + } + + withIsVisible(isVisible = false): this { + this.isVisible = isVisible; + return this; } withSeparator(separator = true): this { @@ -6290,14 +4205,7 @@ export class ColumnSet implements IColumnSet { return this; } - withSelectAction( - selectAction: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction - ): this { + withSelectAction(selectAction: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction): this { this.selectAction = selectAction; return this; } @@ -6327,6 +4235,11 @@ export class ColumnSet implements IColumnSet { return this; } + withMinWidth(minWidth: "auto" | string): this { + this.minWidth = minWidth; + return this; + } + withFallback(fallback: FallbackElement): this { this.fallback = fallback; return this; @@ -6342,10 +4255,14 @@ export class ColumnSet implements IColumnSet { * A media element, that makes it possible to embed videos inside a card. */ export interface IMedia { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Media**. */ - readonly type: 'Media'; + readonly type: "Media"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6401,7 +4318,7 @@ export interface IMedia { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6419,19 +4336,23 @@ export interface IMedia { */ export function isMedia(value: unknown): value is IMedia { const obj = value as IMedia; - return typeof obj === 'object' && obj.type === 'Media'; + return typeof obj === "object" && obj.type === "Media"; } -export type MediaOptions = Omit; +export type MediaOptions = Partial>; /** * A media element, that makes it possible to embed videos inside a card. */ export class Media implements IMedia { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Media**. */ - readonly type = 'Media'; + readonly type = "Media"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6439,7 +4360,7 @@ export class Media implements IMedia { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -6447,19 +4368,19 @@ export class Media implements IMedia { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -6467,7 +4388,7 @@ export class Media implements IMedia { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The sources for the media. For YouTube, Dailymotion and Vimeo, only one source can be specified. */ @@ -6487,7 +4408,7 @@ export class Media implements IMedia { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6497,10 +4418,15 @@ export class Media implements IMedia { Object.assign(this, options); } - static from(options: Omit): Media { + static from(options: Omit): Media { return new Media(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -6576,6 +4502,10 @@ export class Media implements IMedia { * Defines the source URL of a media stream. YouTube, Dailymotion, Vimeo and Microsoft Stream URLs are supported. */ export interface IMediaSource { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * The MIME type of the source. */ @@ -6586,12 +4516,17 @@ export interface IMediaSource { url?: string; } -export type MediaSourceOptions = IMediaSource; + +export type MediaSourceOptions = Partial; /** * Defines the source URL of a media stream. YouTube, Dailymotion, Vimeo and Microsoft Stream URLs are supported. */ export class MediaSource implements IMediaSource { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * The MIME type of the source. */ @@ -6609,6 +4544,11 @@ export class MediaSource implements IMediaSource { return new MediaSource(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withMimeType(mimeType: string): this { this.mimeType = mimeType; return this; @@ -6624,6 +4564,10 @@ export class MediaSource implements IMediaSource { * Defines a source URL for a video captions. */ export interface ICaptionSource { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * The MIME type of the source. */ @@ -6638,12 +4582,17 @@ export interface ICaptionSource { label?: string; } -export type CaptionSourceOptions = ICaptionSource; + +export type CaptionSourceOptions = Partial; /** * Defines a source URL for a video captions. */ export class CaptionSource implements ICaptionSource { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * The MIME type of the source. */ @@ -6665,6 +4614,11 @@ export class CaptionSource implements ICaptionSource { return new CaptionSource(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withMimeType(mimeType: string): this { this.mimeType = mimeType; return this; @@ -6685,10 +4639,14 @@ export class CaptionSource implements ICaptionSource { * A rich text block that displays formatted text. */ export interface IRichTextBlock { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **RichTextBlock**. */ - readonly type: 'RichTextBlock'; + readonly type: "RichTextBlock"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6729,10 +4687,14 @@ export interface IRichTextBlock { * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ isSortKey?: boolean; + /** + * The Id of the input the RichTextBlock should act as the label of. + */ + labelFor?: string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6754,19 +4716,23 @@ export interface IRichTextBlock { */ export function isRichTextBlock(value: unknown): value is IRichTextBlock { const obj = value as IRichTextBlock; - return typeof obj === 'object' && obj.type === 'RichTextBlock'; + return typeof obj === "object" && obj.type === "RichTextBlock"; } -export type RichTextBlockOptions = Omit; +export type RichTextBlockOptions = Partial>; /** * A rich text block that displays formatted text. */ export class RichTextBlock implements IRichTextBlock { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **RichTextBlock**. */ - readonly type = 'RichTextBlock'; + readonly type = "RichTextBlock"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6774,7 +4740,7 @@ export class RichTextBlock implements IRichTextBlock { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -6782,15 +4748,15 @@ export class RichTextBlock implements IRichTextBlock { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -6798,7 +4764,7 @@ export class RichTextBlock implements IRichTextBlock { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -6806,11 +4772,15 @@ export class RichTextBlock implements IRichTextBlock { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; + /** + * The Id of the input the RichTextBlock should act as the label of. + */ + labelFor?: string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6824,10 +4794,15 @@ export class RichTextBlock implements IRichTextBlock { Object.assign(this, options); } - static from(options: Omit): RichTextBlock { + static from(options: Omit): RichTextBlock { return new RichTextBlock(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -6878,6 +4853,11 @@ export class RichTextBlock implements IRichTextBlock { return this; } + withLabelFor(labelFor: string): this { + this.labelFor = labelFor; + return this; + } + withFallback(fallback: FallbackElement): this { this.fallback = fallback; return this; @@ -6893,10 +4873,14 @@ export class RichTextBlock implements IRichTextBlock { * Use tables to display data in a tabular way, with rows, columns and cells. */ export interface ITable { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Table**. */ - readonly type: 'Table'; + readonly type: "Table"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6953,6 +4937,10 @@ export interface ITable { * The columns in the table. */ columns?: IColumnDefinition[]; + /** + * The minimum width of the table in pixels. `auto` will automatically adjust the table's minimum width according to its content and using the `px` format will give the table an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. + */ + minWidth?: "auto" | string; /** * Controls whether the first row of the table should be treated as a header. */ @@ -6976,7 +4964,7 @@ export interface ITable { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6998,19 +4986,23 @@ export interface ITable { */ export function isTable(value: unknown): value is ITable { const obj = value as ITable; - return typeof obj === 'object' && obj.type === 'Table'; + return typeof obj === "object" && obj.type === "Table"; } -export type TableOptions = Omit; +export type TableOptions = Partial>; /** * Use tables to display data in a tabular way, with rows, columns and cells. */ export class Table implements ITable { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Table**. */ - readonly type = 'Table'; + readonly type = "Table"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7018,7 +5010,7 @@ export class Table implements ITable { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -7026,15 +5018,15 @@ export class Table implements ITable { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -7042,7 +5034,7 @@ export class Table implements ITable { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -7050,7 +5042,7 @@ export class Table implements ITable { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. */ @@ -7058,23 +5050,27 @@ export class Table implements ITable { /** * Controls if a border should be displayed around the container. */ - showBorder?: boolean; + showBorder?: boolean = false; /** * Controls if the container should have rounded corners. */ - roundedCorners?: boolean; + roundedCorners?: boolean = false; /** * The columns in the table. */ columns?: IColumnDefinition[]; + /** + * The minimum width of the table in pixels. `auto` will automatically adjust the table's minimum width according to its content and using the `px` format will give the table an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. + */ + minWidth?: "auto" | string; /** * Controls whether the first row of the table should be treated as a header. */ - firstRowAsHeaders?: boolean; + firstRowAsHeaders?: boolean = true; /** * Controls if grid lines should be displayed. */ - showGridLines?: boolean; + showGridLines?: boolean = true; /** * The style of the grid lines between cells. */ @@ -7090,7 +5086,7 @@ export class Table implements ITable { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7104,10 +5100,15 @@ export class Table implements ITable { Object.assign(this, options); } - static from(options: Omit): Table { + static from(options: Omit): Table { return new Table(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -7178,6 +5179,11 @@ export class Table implements ITable { return this; } + withMinWidth(minWidth: "auto" | string): this { + this.minWidth = minWidth; + return this; + } + withFirstRowAsHeaders(firstRowAsHeaders = false): this { this.firstRowAsHeaders = firstRowAsHeaders; return this; @@ -7218,6 +5224,10 @@ export class Table implements ITable { * Defines a column in a Table element. */ export interface IColumnDefinition { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Controls how the content of every cell in the table should be horizontally aligned by default. This property overrides the horizontalCellContentAlignment property of the table. */ @@ -7227,17 +5237,22 @@ export interface IColumnDefinition { */ verticalCellContentAlignment?: VerticalAlignment; /** - * The width of the column in the table, expressed as either a percentage of the available width or in pixels, using the `px` format. + * The width of the column in the table. If expressed as a number, represents the relative weight of the column in the table. If expressed as a string, `auto` will automatically adjust the column's width according to its content and using the `px` format will give the column an explicit width in pixels. */ - width?: string | number; + width?: "auto" | string | number; } -export type ColumnDefinitionOptions = IColumnDefinition; + +export type ColumnDefinitionOptions = Partial; /** * Defines a column in a Table element. */ export class ColumnDefinition implements IColumnDefinition { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Controls how the content of every cell in the table should be horizontally aligned by default. This property overrides the horizontalCellContentAlignment property of the table. */ @@ -7247,9 +5262,9 @@ export class ColumnDefinition implements IColumnDefinition { */ verticalCellContentAlignment?: VerticalAlignment; /** - * The width of the column in the table, expressed as either a percentage of the available width or in pixels, using the `px` format. + * The width of the column in the table. If expressed as a number, represents the relative weight of the column in the table. If expressed as a string, `auto` will automatically adjust the column's width according to its content and using the `px` format will give the column an explicit width in pixels. */ - width?: string | number; + width?: "auto" | string | number; constructor(options: ColumnDefinitionOptions = {}) { Object.assign(this, options); @@ -7259,6 +5274,11 @@ export class ColumnDefinition implements IColumnDefinition { return new ColumnDefinition(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withHorizontalCellContentAlignment(horizontalCellContentAlignment: HorizontalAlignment): this { this.horizontalCellContentAlignment = horizontalCellContentAlignment; return this; @@ -7269,7 +5289,7 @@ export class ColumnDefinition implements IColumnDefinition { return this; } - withWidth(width: string | number): this { + withWidth(width: "auto" | string | number): this { this.width = width; return this; } @@ -7279,10 +5299,14 @@ export class ColumnDefinition implements IColumnDefinition { * A block of text, optionally formatted using Markdown. */ export interface ITextBlock { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **TextBlock**. */ - readonly type: 'TextBlock'; + readonly type: "TextBlock"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7358,11 +5382,15 @@ export interface ITextBlock { /** * The style of the text. */ - style?: 'default' | 'columnHeader' | 'heading'; + style?: TextBlockStyle; + /** + * The Id of the input the TextBlock should act as the label of. + */ + labelFor?: string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7380,19 +5408,23 @@ export interface ITextBlock { */ export function isTextBlock(value: unknown): value is ITextBlock { const obj = value as ITextBlock; - return typeof obj === 'object' && obj.type === 'TextBlock'; + return typeof obj === "object" && obj.type === "TextBlock"; } -export type TextBlockOptions = Omit; +export type TextBlockOptions = Partial>; /** * A block of text, optionally formatted using Markdown. */ export class TextBlock implements ITextBlock { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **TextBlock**. */ - readonly type = 'TextBlock'; + readonly type = "TextBlock"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7400,7 +5432,7 @@ export class TextBlock implements ITextBlock { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -7408,15 +5440,15 @@ export class TextBlock implements ITextBlock { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -7424,7 +5456,7 @@ export class TextBlock implements ITextBlock { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -7432,7 +5464,7 @@ export class TextBlock implements ITextBlock { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The text to display. A subset of markdown is supported. */ @@ -7460,7 +5492,7 @@ export class TextBlock implements ITextBlock { /** * Controls if the text should wrap. */ - wrap?: boolean; + wrap?: boolean = false; /** * The maximum number of lines to display. */ @@ -7468,11 +5500,15 @@ export class TextBlock implements ITextBlock { /** * The style of the text. */ - style?: 'default' | 'columnHeader' | 'heading'; + style?: TextBlockStyle; + /** + * The Id of the input the TextBlock should act as the label of. + */ + labelFor?: string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7483,10 +5519,15 @@ export class TextBlock implements ITextBlock { this.text = text; } - static from(options: Omit): TextBlock { + static from(options: Omit): TextBlock { return new TextBlock(options.text, options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -7577,11 +5618,16 @@ export class TextBlock implements ITextBlock { return this; } - withStyle(style: 'default' | 'columnHeader' | 'heading'): this { + withStyle(style: TextBlockStyle): this { this.style = style; return this; } + withLabelFor(labelFor: string): this { + this.labelFor = labelFor; + return this; + } + withFallback(fallback: FallbackElement): this { this.fallback = fallback; return this; @@ -7592,10 +5638,14 @@ export class TextBlock implements ITextBlock { * A set of facts, displayed as a table or a vertical list when horizontal space is constrained. */ export interface IFactSet { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **FactSet**. */ - readonly type: 'FactSet'; + readonly type: "FactSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7639,7 +5689,7 @@ export interface IFactSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7657,19 +5707,23 @@ export interface IFactSet { */ export function isFactSet(value: unknown): value is IFactSet { const obj = value as IFactSet; - return typeof obj === 'object' && obj.type === 'FactSet'; + return typeof obj === "object" && obj.type === "FactSet"; } -export type FactSetOptions = Omit; +export type FactSetOptions = Partial>; /** * A set of facts, displayed as a table or a vertical list when horizontal space is constrained. */ export class FactSet implements IFactSet { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **FactSet**. */ - readonly type = 'FactSet'; + readonly type = "FactSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7677,7 +5731,7 @@ export class FactSet implements IFactSet { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -7685,19 +5739,19 @@ export class FactSet implements IFactSet { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -7705,7 +5759,7 @@ export class FactSet implements IFactSet { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The facts in the set. */ @@ -7713,7 +5767,7 @@ export class FactSet implements IFactSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7728,6 +5782,11 @@ export class FactSet implements IFactSet { return this; } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -7788,6 +5847,10 @@ export class FactSet implements IFactSet { * A fact in a FactSet element. */ export interface IFact { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * The fact's title. */ @@ -7798,12 +5861,17 @@ export interface IFact { value: string; } -export type FactOptions = IFact; + +export type FactOptions = Partial; /** * A fact in a FactSet element. */ export class Fact implements IFact { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * The fact's title. */ @@ -7813,13 +5881,19 @@ export class Fact implements IFact { */ value: string; - constructor(title: string, value: string) { + constructor(title: string, value: string, options: FactOptions = {}) { + Object.assign(this, options); this.title = title; this.value = value; } static from(options: IFact): Fact { - return new Fact(options.title, options.value); + return new Fact(options.title, options.value, options); + } + + withKey(key: string): this { + this.key = key; + return this; } withTitle(title: string): this { @@ -7837,10 +5911,14 @@ export class Fact implements IFact { * A set of images, displayed side-by-side and wrapped across multiple rows as needed. */ export interface IImageSet { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **ImageSet**. */ - readonly type: 'ImageSet'; + readonly type: "ImageSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7892,7 +5970,7 @@ export interface IImageSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7910,19 +5988,23 @@ export interface IImageSet { */ export function isImageSet(value: unknown): value is IImageSet { const obj = value as IImageSet; - return typeof obj === 'object' && obj.type === 'ImageSet'; + return typeof obj === "object" && obj.type === "ImageSet"; } -export type ImageSetOptions = Omit; +export type ImageSetOptions = Partial>; /** * A set of images, displayed side-by-side and wrapped across multiple rows as needed. */ export class ImageSet implements IImageSet { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **ImageSet**. */ - readonly type = 'ImageSet'; + readonly type = "ImageSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7930,7 +6012,7 @@ export class ImageSet implements IImageSet { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -7938,15 +6020,15 @@ export class ImageSet implements IImageSet { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -7954,7 +6036,7 @@ export class ImageSet implements IImageSet { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -7962,7 +6044,7 @@ export class ImageSet implements IImageSet { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The images in the set. */ @@ -7970,11 +6052,11 @@ export class ImageSet implements IImageSet { /** * The size to use to render all images in the set. */ - imageSize?: ImageSize; + imageSize?: ImageSize = "Medium"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7989,6 +6071,11 @@ export class ImageSet implements IImageSet { return this; } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -8059,10 +6146,14 @@ export class ImageSet implements IImageSet { * A standalone image element. */ export interface IImage { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Image**. */ - readonly type: 'Image'; + readonly type: "Image"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8122,16 +6213,11 @@ export interface IImage { /** * The width of the image. */ - width?: 'auto' | 'stretch' | string; + width?: "auto" | "stretch" | string; /** * An Action that will be invoked when the image is tapped or clicked. Action.ShowCard is not supported. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; /** * Controls if the image can be expanded to full screen. */ @@ -8139,21 +6225,41 @@ export interface IImage { /** * Teams-specific metadata associated with the image. */ + msteams?: ITeamsImageProperties; + /** + * Teams-specific metadata associated with the image. Equivalent to `msteams`. + */ msTeams?: ITeamsImageProperties; /** - * The height of the image. + * A set of theme-specific image URLs. */ - height?: 'auto' | 'stretch' | string; + themedUrls?: IThemedUrl[]; /** - * The area of a Layout.AreaGrid layout in which an element should be displayed. + * Controls how the image should be fitted inside its bounding box. imageFit is only meaningful when both the width and height properties are set. When fitMode is set to contain, the default style is always used. */ - 'grid.area'?: string; + fitMode?: ImageFitMode; /** - * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + * Controls the horizontal position of the image within its bounding box. horizontalContentAlignment is only meaningful when both the width and height properties are set and fitMode is set to either cover or contain. */ - fallback?: FallbackElement; -} - + horizontalContentAlignment?: HorizontalAlignment; + /** + * Controls the vertical position of the image within its bounding box. verticalContentAlignment is only meaningful when both the width and height properties are set and fitMode is set to either cover or contain. + */ + verticalContentAlignment?: VerticalAlignment; + /** + * The height of the image. + */ + height?: "auto" | "stretch" | string; + /** + * The area of a Layout.AreaGrid layout in which an element should be displayed. + */ + "grid.area"?: string; + /** + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackElement; +} + /** * @hidden * @internal @@ -8165,19 +6271,23 @@ export interface IImage { */ export function isImage(value: unknown): value is IImage { const obj = value as IImage; - return typeof obj === 'object' && obj.type === 'Image'; + return typeof obj === "object" && obj.type === "Image"; } -export type ImageOptions = Omit; +export type ImageOptions = Partial>; /** * A standalone image element. */ export class Image implements IImage { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Image**. */ - readonly type = 'Image'; + readonly type = "Image"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8185,7 +6295,7 @@ export class Image implements IImage { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -8193,11 +6303,11 @@ export class Image implements IImage { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * Controls how the element should be horizontally aligned. */ @@ -8205,7 +6315,7 @@ export class Image implements IImage { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -8213,7 +6323,7 @@ export class Image implements IImage { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The URL (or Base64-encoded Data URI) of the image. Acceptable formats are PNG, JPEG, GIF and SVG. */ @@ -8229,40 +6339,55 @@ export class Image implements IImage { /** * The style of the image. */ - style?: ImageStyle; + style?: ImageStyle = "Default"; /** * The size of the image. */ - size?: Size; + size?: Size = "Auto"; /** * The width of the image. */ - width?: 'auto' | 'stretch' | string; + width?: "auto" | "stretch" | string = "auto"; /** * An Action that will be invoked when the image is tapped or clicked. Action.ShowCard is not supported. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; /** * Controls if the image can be expanded to full screen. */ - allowExpand?: boolean; + allowExpand?: boolean = false; /** * Teams-specific metadata associated with the image. */ + msteams?: ITeamsImageProperties; + /** + * Teams-specific metadata associated with the image. Equivalent to `msteams`. + */ msTeams?: ITeamsImageProperties; + /** + * A set of theme-specific image URLs. + */ + themedUrls?: IThemedUrl[]; + /** + * Controls how the image should be fitted inside its bounding box. imageFit is only meaningful when both the width and height properties are set. When fitMode is set to contain, the default style is always used. + */ + fitMode?: ImageFitMode = "Fill"; + /** + * Controls the horizontal position of the image within its bounding box. horizontalContentAlignment is only meaningful when both the width and height properties are set and fitMode is set to either cover or contain. + */ + horizontalContentAlignment?: HorizontalAlignment = "Left"; + /** + * Controls the vertical position of the image within its bounding box. verticalContentAlignment is only meaningful when both the width and height properties are set and fitMode is set to either cover or contain. + */ + verticalContentAlignment?: VerticalAlignment = "Top"; /** * The height of the image. */ - height?: 'auto' | 'stretch' | string; + height?: "auto" | "stretch" | string = "auto"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8273,10 +6398,15 @@ export class Image implements IImage { this.url = url; } - static from(options: Omit): Image { + static from(options: Omit): Image { return new Image(options.url, options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -8347,19 +6477,12 @@ export class Image implements IImage { return this; } - withWidth(width: 'auto' | 'stretch' | string): this { + withWidth(width: "auto" | "stretch" | string): this { this.width = width; return this; } - withSelectAction( - selectAction: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction - ): this { + withSelectAction(selectAction: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction): this { this.selectAction = selectAction; return this; } @@ -8369,12 +6492,37 @@ export class Image implements IImage { return this; } + withMsteams(msteams: ITeamsImageProperties): this { + this.msteams = msteams; + return this; + } + withMsTeams(msTeams: ITeamsImageProperties): this { this.msTeams = msTeams; return this; } - withHeight(height: 'auto' | 'stretch' | string): this { + withThemedUrls(...themedUrls: IThemedUrl[]): this { + this.themedUrls = themedUrls; + return this; + } + + withFitMode(fitMode: ImageFitMode): this { + this.fitMode = fitMode; + return this; + } + + withHorizontalContentAlignment(horizontalContentAlignment: HorizontalAlignment): this { + this.horizontalContentAlignment = horizontalContentAlignment; + return this; + } + + withVerticalContentAlignment(verticalContentAlignment: VerticalAlignment): this { + this.verticalContentAlignment = verticalContentAlignment; + return this; + } + + withHeight(height: "auto" | "stretch" | string): this { this.height = height; return this; } @@ -8389,18 +6537,27 @@ export class Image implements IImage { * Represents a set of Teams-specific properties on an image. */ export interface ITeamsImageProperties { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Controls if the image is expandable in Teams. This property is equivalent to the Image.allowExpand property. */ allowExpand?: boolean; } -export type TeamsImagePropertiesOptions = ITeamsImageProperties; + +export type TeamsImagePropertiesOptions = Partial; /** * Represents a set of Teams-specific properties on an image. */ export class TeamsImageProperties implements ITeamsImageProperties { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Controls if the image is expandable in Teams. This property is equivalent to the Image.allowExpand property. */ @@ -8414,6 +6571,11 @@ export class TeamsImageProperties implements ITeamsImageProperties { return new TeamsImageProperties(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withAllowExpand(allowExpand: boolean): this { this.allowExpand = allowExpand; return this; @@ -8424,10 +6586,14 @@ export class TeamsImageProperties implements ITeamsImageProperties { * An input to allow the user to enter text. */ export interface ITextInput { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Input.Text**. */ - readonly type: 'Input.Text'; + readonly type: "Input.Text"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8466,8 +6632,8 @@ export interface ITextInput { isSortKey?: boolean; /** * The label of the input. - -A label should **always** be provided to ensure the best user experience especially for users of assistive technology. + * + * A label should **always** be provided to ensure the best user experience especially for users of assistive technology. */ label?: string; /** @@ -8481,7 +6647,7 @@ A label should **always** be provided to ensure the best user experience especia /** * An Action.ResetInputs action that will be executed when the value of the input changes. */ - valueChangedAction?: IResetInputsAction; + valueChangedAction?: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction; /** * The default value of the input. */ @@ -8505,12 +6671,7 @@ A label should **always** be provided to ensure the best user experience especia /** * The action that should be displayed as a button alongside the input. Action.ShowCard is not supported. */ - inlineAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + inlineAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; /** * The regular expression to validate the input. */ @@ -8518,7 +6679,7 @@ A label should **always** be provided to ensure the best user experience especia /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8536,19 +6697,23 @@ A label should **always** be provided to ensure the best user experience especia */ export function isTextInput(value: unknown): value is ITextInput { const obj = value as ITextInput; - return typeof obj === 'object' && obj.type === 'Input.Text'; + return typeof obj === "object" && obj.type === "Input.Text"; } -export type TextInputOptions = Omit; +export type TextInputOptions = Partial>; /** * An input to allow the user to enter text. */ export class TextInput implements ITextInput { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Input.Text**. */ - readonly type = 'Input.Text'; + readonly type = "Input.Text"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8556,7 +6721,7 @@ export class TextInput implements ITextInput { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -8564,19 +6729,19 @@ export class TextInput implements ITextInput { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -8584,17 +6749,17 @@ export class TextInput implements ITextInput { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The label of the input. - -A label should **always** be provided to ensure the best user experience especially for users of assistive technology. + * + * A label should **always** be provided to ensure the best user experience especially for users of assistive technology. */ label?: string; /** * Controls whether the input is required. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ - isRequired?: boolean; + isRequired?: boolean = false; /** * The error message to display when the input fails validation. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ @@ -8602,7 +6767,7 @@ A label should **always** be provided to ensure the best user experience especia /** * An Action.ResetInputs action that will be executed when the value of the input changes. */ - valueChangedAction?: IResetInputsAction; + valueChangedAction?: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction; /** * The default value of the input. */ @@ -8614,7 +6779,7 @@ A label should **always** be provided to ensure the best user experience especia /** * Controls if the input should allow multiple lines of text. */ - isMultiline?: boolean; + isMultiline?: boolean = false; /** * The text to display as a placeholder when the user hasn't entered a value. */ @@ -8622,16 +6787,11 @@ A label should **always** be provided to ensure the best user experience especia /** * The style of the input. */ - style?: InputTextStyle; + style?: InputTextStyle = "Text"; /** * The action that should be displayed as a button alongside the input. Action.ShowCard is not supported. */ - inlineAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + inlineAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; /** * The regular expression to validate the input. */ @@ -8639,7 +6799,7 @@ A label should **always** be provided to ensure the best user experience especia /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8649,10 +6809,15 @@ A label should **always** be provided to ensure the best user experience especia Object.assign(this, options); } - static from(options: Omit): TextInput { + static from(options: Omit): TextInput { return new TextInput(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -8713,7 +6878,7 @@ A label should **always** be provided to ensure the best user experience especia return this; } - withValueChangedAction(valueChangedAction: IResetInputsAction): this { + withValueChangedAction(valueChangedAction: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction): this { this.valueChangedAction = valueChangedAction; return this; } @@ -8743,14 +6908,7 @@ A label should **always** be provided to ensure the best user experience especia return this; } - withInlineAction( - inlineAction: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction - ): this { + withInlineAction(inlineAction: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction): this { this.inlineAction = inlineAction; return this; } @@ -8770,10 +6928,14 @@ A label should **always** be provided to ensure the best user experience especia * An input to allow the user to select a date. */ export interface IDateInput { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Input.Date**. */ - readonly type: 'Input.Date'; + readonly type: "Input.Date"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8812,8 +6974,8 @@ export interface IDateInput { isSortKey?: boolean; /** * The label of the input. - -A label should **always** be provided to ensure the best user experience especially for users of assistive technology. + * + * A label should **always** be provided to ensure the best user experience especially for users of assistive technology. */ label?: string; /** @@ -8827,7 +6989,7 @@ A label should **always** be provided to ensure the best user experience especia /** * An Action.ResetInputs action that will be executed when the value of the input changes. */ - valueChangedAction?: IResetInputsAction; + valueChangedAction?: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction; /** * The default value of the input, in the `YYYY-MM-DD` format. */ @@ -8847,7 +7009,7 @@ A label should **always** be provided to ensure the best user experience especia /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8865,19 +7027,23 @@ A label should **always** be provided to ensure the best user experience especia */ export function isDateInput(value: unknown): value is IDateInput { const obj = value as IDateInput; - return typeof obj === 'object' && obj.type === 'Input.Date'; + return typeof obj === "object" && obj.type === "Input.Date"; } -export type DateInputOptions = Omit; +export type DateInputOptions = Partial>; /** * An input to allow the user to select a date. */ export class DateInput implements IDateInput { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Input.Date**. */ - readonly type = 'Input.Date'; + readonly type = "Input.Date"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8885,7 +7051,7 @@ export class DateInput implements IDateInput { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -8893,19 +7059,19 @@ export class DateInput implements IDateInput { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -8913,17 +7079,17 @@ export class DateInput implements IDateInput { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The label of the input. - -A label should **always** be provided to ensure the best user experience especially for users of assistive technology. + * + * A label should **always** be provided to ensure the best user experience especially for users of assistive technology. */ label?: string; /** * Controls whether the input is required. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ - isRequired?: boolean; + isRequired?: boolean = false; /** * The error message to display when the input fails validation. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ @@ -8931,7 +7097,7 @@ A label should **always** be provided to ensure the best user experience especia /** * An Action.ResetInputs action that will be executed when the value of the input changes. */ - valueChangedAction?: IResetInputsAction; + valueChangedAction?: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction; /** * The default value of the input, in the `YYYY-MM-DD` format. */ @@ -8951,7 +7117,7 @@ A label should **always** be provided to ensure the best user experience especia /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8961,10 +7127,15 @@ A label should **always** be provided to ensure the best user experience especia Object.assign(this, options); } - static from(options: Omit): DateInput { + static from(options: Omit): DateInput { return new DateInput(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -9025,7 +7196,7 @@ A label should **always** be provided to ensure the best user experience especia return this; } - withValueChangedAction(valueChangedAction: IResetInputsAction): this { + withValueChangedAction(valueChangedAction: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction): this { this.valueChangedAction = valueChangedAction; return this; } @@ -9060,10 +7231,14 @@ A label should **always** be provided to ensure the best user experience especia * An input to allow the user to select a time. */ export interface ITimeInput { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Input.Time**. */ - readonly type: 'Input.Time'; + readonly type: "Input.Time"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9102,8 +7277,8 @@ export interface ITimeInput { isSortKey?: boolean; /** * The label of the input. - -A label should **always** be provided to ensure the best user experience especially for users of assistive technology. + * + * A label should **always** be provided to ensure the best user experience especially for users of assistive technology. */ label?: string; /** @@ -9117,7 +7292,7 @@ A label should **always** be provided to ensure the best user experience especia /** * An Action.ResetInputs action that will be executed when the value of the input changes. */ - valueChangedAction?: IResetInputsAction; + valueChangedAction?: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction; /** * The default value of the input, in the `HH:MM` format. */ @@ -9137,7 +7312,7 @@ A label should **always** be provided to ensure the best user experience especia /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9155,19 +7330,23 @@ A label should **always** be provided to ensure the best user experience especia */ export function isTimeInput(value: unknown): value is ITimeInput { const obj = value as ITimeInput; - return typeof obj === 'object' && obj.type === 'Input.Time'; + return typeof obj === "object" && obj.type === "Input.Time"; } -export type TimeInputOptions = Omit; +export type TimeInputOptions = Partial>; /** * An input to allow the user to select a time. */ export class TimeInput implements ITimeInput { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Input.Time**. */ - readonly type = 'Input.Time'; + readonly type = "Input.Time"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9175,7 +7354,7 @@ export class TimeInput implements ITimeInput { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -9183,19 +7362,19 @@ export class TimeInput implements ITimeInput { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -9203,17 +7382,17 @@ export class TimeInput implements ITimeInput { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The label of the input. - -A label should **always** be provided to ensure the best user experience especially for users of assistive technology. + * + * A label should **always** be provided to ensure the best user experience especially for users of assistive technology. */ label?: string; /** * Controls whether the input is required. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ - isRequired?: boolean; + isRequired?: boolean = false; /** * The error message to display when the input fails validation. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ @@ -9221,7 +7400,7 @@ A label should **always** be provided to ensure the best user experience especia /** * An Action.ResetInputs action that will be executed when the value of the input changes. */ - valueChangedAction?: IResetInputsAction; + valueChangedAction?: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction; /** * The default value of the input, in the `HH:MM` format. */ @@ -9241,7 +7420,7 @@ A label should **always** be provided to ensure the best user experience especia /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9251,10 +7430,15 @@ A label should **always** be provided to ensure the best user experience especia Object.assign(this, options); } - static from(options: Omit): TimeInput { + static from(options: Omit): TimeInput { return new TimeInput(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -9315,7 +7499,7 @@ A label should **always** be provided to ensure the best user experience especia return this; } - withValueChangedAction(valueChangedAction: IResetInputsAction): this { + withValueChangedAction(valueChangedAction: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction): this { this.valueChangedAction = valueChangedAction; return this; } @@ -9350,10 +7534,14 @@ A label should **always** be provided to ensure the best user experience especia * An input to allow the user to enter a number. */ export interface INumberInput { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Input.Number**. */ - readonly type: 'Input.Number'; + readonly type: "Input.Number"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9392,8 +7580,8 @@ export interface INumberInput { isSortKey?: boolean; /** * The label of the input. - -A label should **always** be provided to ensure the best user experience especially for users of assistive technology. + * + * A label should **always** be provided to ensure the best user experience especially for users of assistive technology. */ label?: string; /** @@ -9407,7 +7595,7 @@ A label should **always** be provided to ensure the best user experience especia /** * An Action.ResetInputs action that will be executed when the value of the input changes. */ - valueChangedAction?: IResetInputsAction; + valueChangedAction?: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction; /** * The default value of the input. */ @@ -9427,7 +7615,7 @@ A label should **always** be provided to ensure the best user experience especia /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9445,19 +7633,23 @@ A label should **always** be provided to ensure the best user experience especia */ export function isNumberInput(value: unknown): value is INumberInput { const obj = value as INumberInput; - return typeof obj === 'object' && obj.type === 'Input.Number'; + return typeof obj === "object" && obj.type === "Input.Number"; } -export type NumberInputOptions = Omit; +export type NumberInputOptions = Partial>; /** * An input to allow the user to enter a number. */ export class NumberInput implements INumberInput { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Input.Number**. */ - readonly type = 'Input.Number'; + readonly type = "Input.Number"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9465,7 +7657,7 @@ export class NumberInput implements INumberInput { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -9473,19 +7665,19 @@ export class NumberInput implements INumberInput { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -9493,17 +7685,17 @@ export class NumberInput implements INumberInput { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The label of the input. - -A label should **always** be provided to ensure the best user experience especially for users of assistive technology. + * + * A label should **always** be provided to ensure the best user experience especially for users of assistive technology. */ label?: string; /** * Controls whether the input is required. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ - isRequired?: boolean; + isRequired?: boolean = false; /** * The error message to display when the input fails validation. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ @@ -9511,7 +7703,7 @@ A label should **always** be provided to ensure the best user experience especia /** * An Action.ResetInputs action that will be executed when the value of the input changes. */ - valueChangedAction?: IResetInputsAction; + valueChangedAction?: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction; /** * The default value of the input. */ @@ -9531,7 +7723,7 @@ A label should **always** be provided to ensure the best user experience especia /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9541,10 +7733,15 @@ A label should **always** be provided to ensure the best user experience especia Object.assign(this, options); } - static from(options: Omit): NumberInput { + static from(options: Omit): NumberInput { return new NumberInput(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -9605,7 +7802,7 @@ A label should **always** be provided to ensure the best user experience especia return this; } - withValueChangedAction(valueChangedAction: IResetInputsAction): this { + withValueChangedAction(valueChangedAction: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction): this { this.valueChangedAction = valueChangedAction; return this; } @@ -9640,10 +7837,14 @@ A label should **always** be provided to ensure the best user experience especia * An input to allow the user to select between on/off states. */ export interface IToggleInput { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Input.Toggle**. */ - readonly type: 'Input.Toggle'; + readonly type: "Input.Toggle"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9682,8 +7883,8 @@ export interface IToggleInput { isSortKey?: boolean; /** * The label of the input. - -A label should **always** be provided to ensure the best user experience especially for users of assistive technology. + * + * A label should **always** be provided to ensure the best user experience especially for users of assistive technology. */ label?: string; /** @@ -9697,7 +7898,7 @@ A label should **always** be provided to ensure the best user experience especia /** * An Action.ResetInputs action that will be executed when the value of the input changes. */ - valueChangedAction?: IResetInputsAction; + valueChangedAction?: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction; /** * The default value of the input. */ @@ -9718,10 +7919,14 @@ A label should **always** be provided to ensure the best user experience especia * Controls if the title should wrap. */ wrap?: boolean; + /** + * Controls whether the title is visually displayed. When set to false, the title is hidden from view but remains accessible to screen readers for accessibility purposes. + */ + showTitle?: boolean; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9739,19 +7944,23 @@ A label should **always** be provided to ensure the best user experience especia */ export function isToggleInput(value: unknown): value is IToggleInput { const obj = value as IToggleInput; - return typeof obj === 'object' && obj.type === 'Input.Toggle'; + return typeof obj === "object" && obj.type === "Input.Toggle"; } -export type ToggleInputOptions = Omit; +export type ToggleInputOptions = Partial>; /** * An input to allow the user to select between on/off states. */ export class ToggleInput implements IToggleInput { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Input.Toggle**. */ - readonly type = 'Input.Toggle'; + readonly type = "Input.Toggle"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9759,7 +7968,7 @@ export class ToggleInput implements IToggleInput { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -9767,19 +7976,19 @@ export class ToggleInput implements IToggleInput { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -9787,17 +7996,17 @@ export class ToggleInput implements IToggleInput { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The label of the input. - -A label should **always** be provided to ensure the best user experience especially for users of assistive technology. + * + * A label should **always** be provided to ensure the best user experience especially for users of assistive technology. */ label?: string; /** * Controls whether the input is required. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ - isRequired?: boolean; + isRequired?: boolean = false; /** * The error message to display when the input fails validation. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ @@ -9805,11 +8014,11 @@ A label should **always** be provided to ensure the best user experience especia /** * An Action.ResetInputs action that will be executed when the value of the input changes. */ - valueChangedAction?: IResetInputsAction; + valueChangedAction?: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction; /** * The default value of the input. */ - value?: string; + value?: string = "false"; /** * The title (caption) to display next to the toggle. */ @@ -9817,19 +8026,23 @@ A label should **always** be provided to ensure the best user experience especia /** * The value to send to the Bot when the toggle is on. */ - valueOn?: string; + valueOn?: string = "true"; /** * The value to send to the Bot when the toggle is off. */ - valueOff?: string; + valueOff?: string = "false"; /** * Controls if the title should wrap. */ - wrap?: boolean; + wrap?: boolean = true; + /** + * Controls whether the title is visually displayed. When set to false, the title is hidden from view but remains accessible to screen readers for accessibility purposes. + */ + showTitle?: boolean = true; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9840,10 +8053,15 @@ A label should **always** be provided to ensure the best user experience especia this.title = title; } - static from(options: Omit): ToggleInput { + static from(options: Omit): ToggleInput { return new ToggleInput(options.title, options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -9904,7 +8122,7 @@ A label should **always** be provided to ensure the best user experience especia return this; } - withValueChangedAction(valueChangedAction: IResetInputsAction): this { + withValueChangedAction(valueChangedAction: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction): this { this.valueChangedAction = valueChangedAction; return this; } @@ -9934,6 +8152,11 @@ A label should **always** be provided to ensure the best user experience especia return this; } + withShowTitle(showTitle = false): this { + this.showTitle = showTitle; + return this; + } + withFallback(fallback: FallbackElement): this { this.fallback = fallback; return this; @@ -9944,10 +8167,14 @@ A label should **always** be provided to ensure the best user experience especia * An input to allow the user to select one or more values. */ export interface IChoiceSetInput { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Input.ChoiceSet**. */ - readonly type: 'Input.ChoiceSet'; + readonly type: "Input.ChoiceSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9986,8 +8213,8 @@ export interface IChoiceSetInput { isSortKey?: boolean; /** * The label of the input. - -A label should **always** be provided to ensure the best user experience especially for users of assistive technology. + * + * A label should **always** be provided to ensure the best user experience especially for users of assistive technology. */ label?: string; /** @@ -10001,7 +8228,7 @@ A label should **always** be provided to ensure the best user experience especia /** * An Action.ResetInputs action that will be executed when the value of the input changes. */ - valueChangedAction?: IResetInputsAction; + valueChangedAction?: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction; /** * The default value of the input. */ @@ -10013,11 +8240,11 @@ A label should **always** be provided to ensure the best user experience especia /** * A Data.Query object that defines the dataset from which to dynamically fetch the choices for the input. */ - 'choices.data'?: IQueryData; + "choices.data"?: IQueryData; /** * Controls whether the input should be displayed as a dropdown (compact) or a list of radio buttons or checkboxes (expanded). */ - style?: 'compact' | 'expanded' | 'filtered'; + style?: ChoiceSetInputStyle; /** * Controls whether multiple choices can be selected. */ @@ -10030,10 +8257,18 @@ A label should **always** be provided to ensure the best user experience especia * Controls if choice titles should wrap. */ wrap?: boolean; + /** + * Controls whether choice items are arranged in multiple columns in expanded mode, or in a single column. Default is false. + */ + useMultipleColumns?: boolean; + /** + * The minimum width, in pixels, for each column when using a multi-column layout. This ensures that choice items remain readable even when horizontal space is limited. Default is 100 pixels. + */ + minColumnWidth?: string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10051,19 +8286,23 @@ A label should **always** be provided to ensure the best user experience especia */ export function isChoiceSetInput(value: unknown): value is IChoiceSetInput { const obj = value as IChoiceSetInput; - return typeof obj === 'object' && obj.type === 'Input.ChoiceSet'; + return typeof obj === "object" && obj.type === "Input.ChoiceSet"; } -export type ChoiceSetInputOptions = Omit; +export type ChoiceSetInputOptions = Partial>; /** * An input to allow the user to select one or more values. */ export class ChoiceSetInput implements IChoiceSetInput { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Input.ChoiceSet**. */ - readonly type = 'Input.ChoiceSet'; + readonly type = "Input.ChoiceSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10071,7 +8310,7 @@ export class ChoiceSetInput implements IChoiceSetInput { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -10079,19 +8318,19 @@ export class ChoiceSetInput implements IChoiceSetInput { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -10099,17 +8338,17 @@ export class ChoiceSetInput implements IChoiceSetInput { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The label of the input. - -A label should **always** be provided to ensure the best user experience especially for users of assistive technology. + * + * A label should **always** be provided to ensure the best user experience especially for users of assistive technology. */ label?: string; /** * Controls whether the input is required. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ - isRequired?: boolean; + isRequired?: boolean = false; /** * The error message to display when the input fails validation. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ @@ -10117,7 +8356,7 @@ A label should **always** be provided to ensure the best user experience especia /** * An Action.ResetInputs action that will be executed when the value of the input changes. */ - valueChangedAction?: IResetInputsAction; + valueChangedAction?: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction; /** * The default value of the input. */ @@ -10129,15 +8368,15 @@ A label should **always** be provided to ensure the best user experience especia /** * A Data.Query object that defines the dataset from which to dynamically fetch the choices for the input. */ - 'choices.data'?: IQueryData; + "choices.data"?: IQueryData; /** * Controls whether the input should be displayed as a dropdown (compact) or a list of radio buttons or checkboxes (expanded). */ - style?: 'compact' | 'expanded' | 'filtered'; + style?: ChoiceSetInputStyle = "compact"; /** * Controls whether multiple choices can be selected. */ - isMultiSelect?: boolean; + isMultiSelect?: boolean = false; /** * The text to display as a placeholder when the user has not entered any value. */ @@ -10145,11 +8384,19 @@ A label should **always** be provided to ensure the best user experience especia /** * Controls if choice titles should wrap. */ - wrap?: boolean; + wrap?: boolean = true; + /** + * Controls whether choice items are arranged in multiple columns in expanded mode, or in a single column. Default is false. + */ + useMultipleColumns?: boolean = false; + /** + * The minimum width, in pixels, for each column when using a multi-column layout. This ensures that choice items remain readable even when horizontal space is limited. Default is 100 pixels. + */ + minColumnWidth?: string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10164,6 +8411,11 @@ A label should **always** be provided to ensure the best user experience especia return this; } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -10224,7 +8476,7 @@ A label should **always** be provided to ensure the best user experience especia return this; } - withValueChangedAction(valueChangedAction: IResetInputsAction): this { + withValueChangedAction(valueChangedAction: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction): this { this.valueChangedAction = valueChangedAction; return this; } @@ -10239,7 +8491,7 @@ A label should **always** be provided to ensure the best user experience especia return this; } - withStyle(style: 'compact' | 'expanded' | 'filtered'): this { + withStyle(style: ChoiceSetInputStyle): this { this.style = style; return this; } @@ -10259,6 +8511,16 @@ A label should **always** be provided to ensure the best user experience especia return this; } + withUseMultipleColumns(useMultipleColumns = true): this { + this.useMultipleColumns = useMultipleColumns; + return this; + } + + withMinColumnWidth(minColumnWidth: string): this { + this.minColumnWidth = minColumnWidth; + return this; + } + withFallback(fallback: FallbackElement): this { this.fallback = fallback; return this; @@ -10269,6 +8531,10 @@ A label should **always** be provided to ensure the best user experience especia * A choice as used by the Input.ChoiceSet input. */ export interface IChoice { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * The text to display for the choice. */ @@ -10279,12 +8545,17 @@ export interface IChoice { value?: string; } -export type ChoiceOptions = IChoice; + +export type ChoiceOptions = Partial; /** * A choice as used by the Input.ChoiceSet input. */ export class Choice implements IChoice { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * The text to display for the choice. */ @@ -10302,6 +8573,11 @@ export class Choice implements IChoice { return new Choice(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withTitle(title: string): this { this.title = title; return this; @@ -10317,10 +8593,14 @@ export class Choice implements IChoice { * Defines a query to dynamically fetch data from a Bot. */ export interface IQueryData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Data.Query**. */ - readonly type: 'Data.Query'; + readonly type: "Data.Query"; /** * The dataset from which to fetch the data. */ @@ -10328,7 +8608,7 @@ export interface IQueryData { /** * Controls which inputs are associated with the Data.Query. When a Data.Query is executed, the values of the associated inputs are sent to the Bot, allowing it to perform filtering operations based on the user's input. */ - associatedInputs?: 'auto' | 'none'; + associatedInputs?: AssociatedInputs; /** * The maximum number of data items that should be returned by the query. Card authors should not specify this property in their card payload. It is determined by the client and sent to the Bot to enable pagination. */ @@ -10350,19 +8630,23 @@ export interface IQueryData { */ export function isQueryData(value: unknown): value is IQueryData { const obj = value as IQueryData; - return typeof obj === 'object' && obj.type === 'Data.Query'; + return typeof obj === "object" && obj.type === "Data.Query"; } -export type QueryDataOptions = Omit; +export type QueryDataOptions = Partial>; /** * Defines a query to dynamically fetch data from a Bot. */ export class QueryData implements IQueryData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Data.Query**. */ - readonly type = 'Data.Query'; + readonly type = "Data.Query"; /** * The dataset from which to fetch the data. */ @@ -10370,7 +8654,7 @@ export class QueryData implements IQueryData { /** * Controls which inputs are associated with the Data.Query. When a Data.Query is executed, the values of the associated inputs are sent to the Bot, allowing it to perform filtering operations based on the user's input. */ - associatedInputs?: 'auto' | 'none'; + associatedInputs?: AssociatedInputs; /** * The maximum number of data items that should be returned by the query. Card authors should not specify this property in their card payload. It is determined by the client and sent to the Bot to enable pagination. */ @@ -10384,16 +8668,21 @@ export class QueryData implements IQueryData { Object.assign(this, options); } - static from(options: Omit): QueryData { + static from(options: Omit): QueryData { return new QueryData(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withDataset(dataset: string): this { this.dataset = dataset; return this; } - withAssociatedInputs(associatedInputs: 'auto' | 'none'): this { + withAssociatedInputs(associatedInputs: AssociatedInputs): this { this.associatedInputs = associatedInputs; return this; } @@ -10413,10 +8702,14 @@ export class QueryData implements IQueryData { * An input to allow the user to rate something using stars. */ export interface IRatingInput { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Input.Rating**. */ - readonly type: 'Input.Rating'; + readonly type: "Input.Rating"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10455,8 +8748,8 @@ export interface IRatingInput { isSortKey?: boolean; /** * The label of the input. - -A label should **always** be provided to ensure the best user experience especially for users of assistive technology. + * + * A label should **always** be provided to ensure the best user experience especially for users of assistive technology. */ label?: string; /** @@ -10470,7 +8763,7 @@ A label should **always** be provided to ensure the best user experience especia /** * An Action.ResetInputs action that will be executed when the value of the input changes. */ - valueChangedAction?: IResetInputsAction; + valueChangedAction?: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction; /** * The default value of the input. */ @@ -10494,7 +8787,7 @@ A label should **always** be provided to ensure the best user experience especia /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10512,19 +8805,23 @@ A label should **always** be provided to ensure the best user experience especia */ export function isRatingInput(value: unknown): value is IRatingInput { const obj = value as IRatingInput; - return typeof obj === 'object' && obj.type === 'Input.Rating'; + return typeof obj === "object" && obj.type === "Input.Rating"; } -export type RatingInputOptions = Omit; +export type RatingInputOptions = Partial>; /** * An input to allow the user to rate something using stars. */ export class RatingInput implements IRatingInput { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Input.Rating**. */ - readonly type = 'Input.Rating'; + readonly type = "Input.Rating"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10532,7 +8829,7 @@ export class RatingInput implements IRatingInput { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -10540,19 +8837,19 @@ export class RatingInput implements IRatingInput { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -10560,17 +8857,17 @@ export class RatingInput implements IRatingInput { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The label of the input. - -A label should **always** be provided to ensure the best user experience especially for users of assistive technology. + * + * A label should **always** be provided to ensure the best user experience especially for users of assistive technology. */ label?: string; /** * Controls whether the input is required. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ - isRequired?: boolean; + isRequired?: boolean = false; /** * The error message to display when the input fails validation. See [Input validation](https://adaptivecards.microsoft.com/?topic=input-validation) for more details. */ @@ -10578,7 +8875,7 @@ A label should **always** be provided to ensure the best user experience especia /** * An Action.ResetInputs action that will be executed when the value of the input changes. */ - valueChangedAction?: IResetInputsAction; + valueChangedAction?: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction; /** * The default value of the input. */ @@ -10586,23 +8883,23 @@ A label should **always** be provided to ensure the best user experience especia /** * The number of stars to display. */ - max?: number; + max?: number = 5; /** * Controls if the user can select half stars. */ - allowHalfSteps?: boolean; + allowHalfSteps?: boolean = false; /** * The size of the stars. */ - size?: RatingSize; + size?: RatingSize = "Large"; /** * The color of the stars. */ - color?: RatingColor; + color?: RatingColor = "Neutral"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10612,10 +8909,15 @@ A label should **always** be provided to ensure the best user experience especia Object.assign(this, options); } - static from(options: Omit): RatingInput { + static from(options: Omit): RatingInput { return new RatingInput(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -10676,7 +8978,7 @@ A label should **always** be provided to ensure the best user experience especia return this; } - withValueChangedAction(valueChangedAction: IResetInputsAction): this { + withValueChangedAction(valueChangedAction: IOpenUrlDialogAction | IPopoverAction | IResetInputsAction): this { this.valueChangedAction = valueChangedAction; return this; } @@ -10716,10 +9018,14 @@ A label should **always** be provided to ensure the best user experience especia * A read-only star rating element, to display the rating of something. */ export interface IRating { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Rating**. */ - readonly type: 'Rating'; + readonly type: "Rating"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10787,7 +9093,7 @@ export interface IRating { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10805,19 +9111,23 @@ export interface IRating { */ export function isRating(value: unknown): value is IRating { const obj = value as IRating; - return typeof obj === 'object' && obj.type === 'Rating'; + return typeof obj === "object" && obj.type === "Rating"; } -export type RatingOptions = Omit; +export type RatingOptions = Partial>; /** * A read-only star rating element, to display the rating of something. */ export class Rating implements IRating { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Rating**. */ - readonly type = 'Rating'; + readonly type = "Rating"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10825,7 +9135,7 @@ export class Rating implements IRating { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -10833,15 +9143,15 @@ export class Rating implements IRating { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -10849,7 +9159,7 @@ export class Rating implements IRating { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -10857,7 +9167,7 @@ export class Rating implements IRating { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The value of the rating. Must be between 0 and max. */ @@ -10869,23 +9179,23 @@ export class Rating implements IRating { /** * The number of stars to display. */ - max?: number; + max?: number = 5; /** * The size of the stars. */ - size?: RatingSize; + size?: RatingSize = "Large"; /** * The color of the stars. */ - color?: RatingColor; + color?: RatingColor = "Neutral"; /** * The style of the stars. */ - style?: RatingStyle; + style?: RatingStyle = "Default"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10895,10 +9205,15 @@ export class Rating implements IRating { Object.assign(this, options); } - static from(options: Omit): Rating { + static from(options: Omit): Rating { return new Rating(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -10989,10 +9304,14 @@ export class Rating implements IRating { * A special type of button with an icon, title and description. */ export interface ICompoundButton { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **CompoundButton**. */ - readonly type: 'CompoundButton'; + readonly type: "CompoundButton"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11052,16 +9371,11 @@ export interface ICompoundButton { /** * An Action that will be invoked when the button is tapped or clicked. Action.ShowCard is not supported. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11079,19 +9393,23 @@ export interface ICompoundButton { */ export function isCompoundButton(value: unknown): value is ICompoundButton { const obj = value as ICompoundButton; - return typeof obj === 'object' && obj.type === 'CompoundButton'; + return typeof obj === "object" && obj.type === "CompoundButton"; } -export type CompoundButtonOptions = Omit; +export type CompoundButtonOptions = Partial>; /** * A special type of button with an icon, title and description. */ export class CompoundButton implements ICompoundButton { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **CompoundButton**. */ - readonly type = 'CompoundButton'; + readonly type = "CompoundButton"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11099,7 +9417,7 @@ export class CompoundButton implements ICompoundButton { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -11107,15 +9425,15 @@ export class CompoundButton implements ICompoundButton { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -11123,7 +9441,7 @@ export class CompoundButton implements ICompoundButton { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -11131,7 +9449,7 @@ export class CompoundButton implements ICompoundButton { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The icon to show on the button. */ @@ -11151,16 +9469,11 @@ export class CompoundButton implements ICompoundButton { /** * An Action that will be invoked when the button is tapped or clicked. Action.ShowCard is not supported. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11170,10 +9483,15 @@ export class CompoundButton implements ICompoundButton { Object.assign(this, options); } - static from(options: Omit): CompoundButton { + static from(options: Omit): CompoundButton { return new CompoundButton(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -11244,14 +9562,7 @@ export class CompoundButton implements ICompoundButton { return this; } - withSelectAction( - selectAction: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction - ): this { + withSelectAction(selectAction: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction): this { this.selectAction = selectAction; return this; } @@ -11266,6 +9577,10 @@ export class CompoundButton implements ICompoundButton { * Defines information about a Fluent icon and how it should be rendered. */ export interface IIconInfo { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * The name of the icon to display. */ @@ -11284,12 +9599,17 @@ export interface IIconInfo { color?: TextColor; } -export type IconInfoOptions = IIconInfo; + +export type IconInfoOptions = Partial; /** * Defines information about a Fluent icon and how it should be rendered. */ export class IconInfo implements IIconInfo { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * The name of the icon to display. */ @@ -11297,15 +9617,15 @@ export class IconInfo implements IIconInfo { /** * The size of the icon. */ - size?: IconSize; + size?: IconSize = "xSmall"; /** * The style of the icon. */ - style?: IconStyle; + style?: IconStyle = "Regular"; /** * The color of the icon. */ - color?: TextColor; + color?: TextColor = "Default"; constructor(options: IconInfoOptions = {}) { Object.assign(this, options); @@ -11315,6 +9635,11 @@ export class IconInfo implements IIconInfo { return new IconInfo(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withName(name: string): this { this.name = name; return this; @@ -11340,10 +9665,14 @@ export class IconInfo implements IIconInfo { * A standalone icon element. Icons can be picked from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog). */ export interface IIcon { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Icon**. */ - readonly type: 'Icon'; + readonly type: "Icon"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11399,16 +9728,11 @@ export interface IIcon { /** * An Action that will be invoked when the icon is tapped or clicked. Action.ShowCard is not supported. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11426,19 +9750,23 @@ export interface IIcon { */ export function isIcon(value: unknown): value is IIcon { const obj = value as IIcon; - return typeof obj === 'object' && obj.type === 'Icon'; + return typeof obj === "object" && obj.type === "Icon"; } -export type IconOptions = Omit; +export type IconOptions = Partial>; /** * A standalone icon element. Icons can be picked from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog). */ export class Icon implements IIcon { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Icon**. */ - readonly type = 'Icon'; + readonly type = "Icon"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11446,7 +9774,7 @@ export class Icon implements IIcon { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -11454,11 +9782,11 @@ export class Icon implements IIcon { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * Controls how the element should be horizontally aligned. */ @@ -11466,7 +9794,7 @@ export class Icon implements IIcon { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -11474,7 +9802,7 @@ export class Icon implements IIcon { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The name of the icon to display. */ @@ -11482,28 +9810,23 @@ export class Icon implements IIcon { /** * The size of the icon. */ - size?: IconSize; + size?: IconSize = "Standard"; /** * The style of the icon. */ - style?: IconStyle; + style?: IconStyle = "Regular"; /** * The color of the icon. */ - color?: TextColor; + color?: TextColor = "Default"; /** * An Action that will be invoked when the icon is tapped or clicked. Action.ShowCard is not supported. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11514,10 +9837,15 @@ export class Icon implements IIcon { this.name = name; } - static from(options: Omit): Icon { + static from(options: Omit): Icon { return new Icon(options.name, options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -11583,14 +9911,7 @@ export class Icon implements IIcon { return this; } - withSelectAction( - selectAction: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction - ): this { + withSelectAction(selectAction: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction): this { this.selectAction = selectAction; return this; } @@ -11605,10 +9926,14 @@ export class Icon implements IIcon { * A carousel with sliding pages. */ export interface ICarousel { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Carousel**. */ - readonly type: 'Carousel'; + readonly type: "Carousel"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11660,7 +9985,7 @@ export interface ICarousel { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11682,19 +10007,23 @@ export interface ICarousel { */ export function isCarousel(value: unknown): value is ICarousel { const obj = value as ICarousel; - return typeof obj === 'object' && obj.type === 'Carousel'; + return typeof obj === "object" && obj.type === "Carousel"; } -export type CarouselOptions = Omit; +export type CarouselOptions = Partial>; /** * A carousel with sliding pages. */ export class Carousel implements ICarousel { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Carousel**. */ - readonly type = 'Carousel'; + readonly type = "Carousel"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11702,7 +10031,7 @@ export class Carousel implements ICarousel { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -11710,19 +10039,19 @@ export class Carousel implements ICarousel { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -11730,11 +10059,11 @@ export class Carousel implements ICarousel { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding. */ - bleed?: boolean; + bleed?: boolean = false; /** * The minimum height, in pixels, of the container, in the `px` format. */ @@ -11742,11 +10071,11 @@ export class Carousel implements ICarousel { /** * Controls the type of animation to use to navigate between pages. */ - pageAnimation?: CarouselPageAnimation; + pageAnimation?: CarouselPageAnimation = "Slide"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11760,10 +10089,15 @@ export class Carousel implements ICarousel { Object.assign(this, options); } - static from(options: Omit): Carousel { + static from(options: Omit): Carousel { return new Carousel(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -11839,10 +10173,14 @@ export class Carousel implements ICarousel { * A badge element to show an icon and/or text in a compact form over a colored background. */ export interface IBadge { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Badge**. */ - readonly type: 'Badge'; + readonly type: "Badge"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11918,7 +10256,7 @@ export interface IBadge { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11936,19 +10274,23 @@ export interface IBadge { */ export function isBadge(value: unknown): value is IBadge { const obj = value as IBadge; - return typeof obj === 'object' && obj.type === 'Badge'; + return typeof obj === "object" && obj.type === "Badge"; } -export type BadgeOptions = Omit; +export type BadgeOptions = Partial>; /** * A badge element to show an icon and/or text in a compact form over a colored background. */ export class Badge implements IBadge { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Badge**. */ - readonly type = 'Badge'; + readonly type = "Badge"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11956,7 +10298,7 @@ export class Badge implements IBadge { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -11964,15 +10306,15 @@ export class Badge implements IBadge { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -11980,7 +10322,7 @@ export class Badge implements IBadge { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -11988,7 +10330,7 @@ export class Badge implements IBadge { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The text to display. */ @@ -12000,23 +10342,23 @@ export class Badge implements IBadge { /** * Controls the position of the icon. */ - iconPosition?: BadgeIconPosition; + iconPosition?: BadgeIconPosition = "Before"; /** * Controls the strength of the background color. */ - appearance?: BadgeAppearance; + appearance?: BadgeAppearance = "Filled"; /** * The size of the badge. */ - size?: BadgeSize; + size?: BadgeSize = "Medium"; /** * Controls the shape of the badge. */ - shape?: BadgeShape; + shape?: BadgeShape = "Circular"; /** * The style of the badge. */ - style?: BadgeStyle; + style?: BadgeStyle = "Default"; /** * Controls the tooltip text to display when the badge is hovered over. */ @@ -12024,7 +10366,7 @@ export class Badge implements IBadge { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12034,10 +10376,15 @@ export class Badge implements IBadge { Object.assign(this, options); } - static from(options: Omit): Badge { + static from(options: Omit): Badge { return new Badge(options); } + withKey(key: string): this { + this.key = key; + return this; + } + withId(id: string): this { this.id = id; return this; @@ -12135,13 +10482,17 @@ export class Badge implements IBadge { } /** - * A donut chart. + * A spinning ring element, to indicate progress. */ -export interface IDonutChart { +export interface IProgressRing { /** - * Must be **Chart.Donut**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **ProgressRing**. */ - readonly type: 'Chart.Donut'; + readonly type: "ProgressRing"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12183,21 +10534,21 @@ export interface IDonutChart { */ isSortKey?: boolean; /** - * The title of the chart. + * The label of the progress ring. */ - title?: string; + label?: string; /** - * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * Controls the relative position of the label to the progress ring. */ - colorSet?: ChartColorSet; + labelPosition?: ProgressRingLabelPosition; /** - * The data to display in the chart. + * The size of the progress ring. */ - data?: IDonutChartData[]; + size?: ProgressRingSize; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12208,26 +10559,30 @@ export interface IDonutChart { * @hidden * @internal * - * Type guard to check if a value is of type IDonutChart. + * Type guard to check if a value is of type IProgressRing. * * @param value The value to check. - * @returns True if the value is an instance of DonutChart, false otherwise. + * @returns True if the value is an instance of ProgressRing, false otherwise. */ -export function isDonutChart(value: unknown): value is IDonutChart { - const obj = value as IDonutChart; - return typeof obj === 'object' && obj.type === 'Chart.Donut'; +export function isProgressRing(value: unknown): value is IProgressRing { + const obj = value as IProgressRing; + return typeof obj === "object" && obj.type === "ProgressRing"; } -export type DonutChartOptions = Omit; +export type ProgressRingOptions = Partial>; /** - * A donut chart. + * A spinning ring element, to indicate progress. */ -export class DonutChart implements IDonutChart { +export class ProgressRing implements IProgressRing { /** - * Must be **Chart.Donut**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **ProgressRing**. */ - readonly type = 'Chart.Donut'; + readonly type = "ProgressRing"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12235,7 +10590,7 @@ export class DonutChart implements IDonutChart { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -12243,15 +10598,15 @@ export class DonutChart implements IDonutChart { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -12259,7 +10614,7 @@ export class DonutChart implements IDonutChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -12267,34 +10622,39 @@ export class DonutChart implements IDonutChart { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** - * The title of the chart. + * The label of the progress ring. */ - title?: string; + label?: string; /** - * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * Controls the relative position of the label to the progress ring. */ - colorSet?: ChartColorSet; + labelPosition?: ProgressRingLabelPosition = "Below"; /** - * The data to display in the chart. + * The size of the progress ring. */ - data?: IDonutChartData[]; + size?: ProgressRingSize = "Medium"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - constructor(options: DonutChartOptions = {}) { + constructor(options: ProgressRingOptions = {}) { Object.assign(this, options); } - static from(options: Omit): DonutChart { - return new DonutChart(options); + static from(options: Omit): ProgressRing { + return new ProgressRing(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -12347,18 +10707,18 @@ export class DonutChart implements IDonutChart { return this; } - withTitle(title: string): this { - this.title = title; + withLabel(label: string): this { + this.label = label; return this; } - withColorSet(colorSet: ChartColorSet): this { - this.colorSet = colorSet; + withLabelPosition(labelPosition: ProgressRingLabelPosition): this { + this.labelPosition = labelPosition; return this; } - withData(...data: IDonutChartData[]): this { - this.data = data; + withSize(size: ProgressRingSize): this { + this.size = size; return this; } @@ -12369,74 +10729,17 @@ export class DonutChart implements IDonutChart { } /** - * A data point in a Donut chart. - */ -export interface IDonutChartData { - /** - * The legend of the chart. - */ - legend?: string; - /** - * The value associated with the data point. - */ - value?: number; - /** - * The color to use for the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). - */ - color?: ChartColor; -} - -export type DonutChartDataOptions = IDonutChartData; - -/** - * A data point in a Donut chart. + * A progress bar element, to represent a value within a range. */ -export class DonutChartData implements IDonutChartData { - /** - * The legend of the chart. - */ - legend?: string; - /** - * The value associated with the data point. - */ - value?: number; +export interface IProgressBar { /** - * The color to use for the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - color?: ChartColor; - - constructor(options: DonutChartDataOptions = {}) { - Object.assign(this, options); - } - - static from(options: IDonutChartData): DonutChartData { - return new DonutChartData(options); - } - - withLegend(legend: string): this { - this.legend = legend; - return this; - } - - withValue(value: number): this { - this.value = value; - return this; - } - - withColor(color: ChartColor): this { - this.color = color; - return this; - } -} - -/** - * A pie chart. - */ -export interface IPieChart { + key?: string; /** - * Must be **Chart.Pie**. + * Must be **ProgressBar**. */ - readonly type: 'Chart.Pie'; + readonly type: "ProgressBar"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12478,21 +10781,21 @@ export interface IPieChart { */ isSortKey?: boolean; /** - * The title of the chart. + * The value of the progress bar. Must be between 0 and max. */ - title?: string; + value?: number; /** - * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * The maximum value of the progress bar. */ - colorSet?: ChartColorSet; + max?: number; /** - * The data to display in the chart. + * The color of the progress bar. `color` has no effect when the `ProgressBar` is in indeterminate mode, in which case the "accent" color is always used. */ - data?: IDonutChartData[]; + color?: ProgressBarColor; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12503,26 +10806,30 @@ export interface IPieChart { * @hidden * @internal * - * Type guard to check if a value is of type IPieChart. + * Type guard to check if a value is of type IProgressBar. * * @param value The value to check. - * @returns True if the value is an instance of PieChart, false otherwise. + * @returns True if the value is an instance of ProgressBar, false otherwise. */ -export function isPieChart(value: unknown): value is IPieChart { - const obj = value as IPieChart; - return typeof obj === 'object' && obj.type === 'Chart.Pie'; +export function isProgressBar(value: unknown): value is IProgressBar { + const obj = value as IProgressBar; + return typeof obj === "object" && obj.type === "ProgressBar"; } -export type PieChartOptions = Omit; +export type ProgressBarOptions = Partial>; /** - * A pie chart. + * A progress bar element, to represent a value within a range. */ -export class PieChart implements IPieChart { +export class ProgressBar implements IProgressBar { /** - * Must be **Chart.Pie**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type = 'Chart.Pie'; + key?: string; + /** + * Must be **ProgressBar**. + */ + readonly type = "ProgressBar"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12530,7 +10837,7 @@ export class PieChart implements IPieChart { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -12538,15 +10845,15 @@ export class PieChart implements IPieChart { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -12554,7 +10861,7 @@ export class PieChart implements IPieChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -12562,34 +10869,39 @@ export class PieChart implements IPieChart { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** - * The title of the chart. + * The value of the progress bar. Must be between 0 and max. */ - title?: string; + value?: number; /** - * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * The maximum value of the progress bar. */ - colorSet?: ChartColorSet; + max?: number = 100; /** - * The data to display in the chart. + * The color of the progress bar. `color` has no effect when the `ProgressBar` is in indeterminate mode, in which case the "accent" color is always used. */ - data?: IDonutChartData[]; + color?: ProgressBarColor = "Accent"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - constructor(options: PieChartOptions = {}) { + constructor(options: ProgressBarOptions = {}) { Object.assign(this, options); } - static from(options: Omit): PieChart { - return new PieChart(options); + static from(options: Omit): ProgressBar { + return new ProgressBar(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -12642,18 +10954,18 @@ export class PieChart implements IPieChart { return this; } - withTitle(title: string): this { - this.title = title; + withValue(value: number): this { + this.value = value; return this; } - withColorSet(colorSet: ChartColorSet): this { - this.colorSet = colorSet; + withMax(max: number): this { + this.max = max; return this; } - withData(...data: IDonutChartData[]): this { - this.data = data; + withColor(color: ProgressBarColor): this { + this.color = color; return this; } @@ -12664,13 +10976,17 @@ export class PieChart implements IPieChart { } /** - * A grouped vertical bar chart. + * A donut chart. */ -export interface IGroupedVerticalBarChart { +export interface IDonutChart { /** - * Must be **Chart.VerticalBar.Grouped**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type: 'Chart.VerticalBar.Grouped'; + key?: string; + /** + * Must be **Chart.Donut**. + */ + readonly type: "Chart.Donut"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12715,38 +11031,46 @@ export interface IGroupedVerticalBarChart { * The title of the chart. */ title?: string; + /** + * Controls whether the chart's title should be displayed. Defaults to `false`. + */ + showTitle?: boolean; /** * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ colorSet?: ChartColorSet; /** - * The title of the x axis. + * The maximum width, in pixels, of the chart, in the `px` format. */ - xAxisTitle?: string; + maxWidth?: string; /** - * The title of the y axis. + * Controls whether the chart's legend should be displayed. */ - yAxisTitle?: string; + showLegend?: boolean; /** - * The color to use for all data points. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * The data to display in the chart. */ - color?: ChartColor; + data?: IDonutChartData[]; /** - * Controls if bars in the chart should be displayed as stacked instead of grouped. + * The value that should be displayed in the center of a Donut chart. `value` is ignored for Pie charts. */ - stacked?: boolean; + value?: string; /** - * The data points in a series. + * Controls the color of the value displayed in the center of a Donut chart. */ - data?: IGroupedVerticalBarChartData[]; + valueColor?: ChartColor; /** - * Controls if values should be displayed on each bar. + * Controls the thickness of the donut segments. Default is **Thick**. */ - showBarValues?: boolean; + thickness?: DonutThickness; + /** + * Controls whether the outlines of the donut segments are displayed. + */ + showOutlines?: boolean; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12757,26 +11081,30 @@ export interface IGroupedVerticalBarChart { * @hidden * @internal * - * Type guard to check if a value is of type IGroupedVerticalBarChart. + * Type guard to check if a value is of type IDonutChart. * * @param value The value to check. - * @returns True if the value is an instance of GroupedVerticalBarChart, false otherwise. + * @returns True if the value is an instance of DonutChart, false otherwise. */ -export function isGroupedVerticalBarChart(value: unknown): value is IGroupedVerticalBarChart { - const obj = value as IGroupedVerticalBarChart; - return typeof obj === 'object' && obj.type === 'Chart.VerticalBar.Grouped'; +export function isDonutChart(value: unknown): value is IDonutChart { + const obj = value as IDonutChart; + return typeof obj === "object" && obj.type === "Chart.Donut"; } -export type GroupedVerticalBarChartOptions = Omit; +export type DonutChartOptions = Partial>; /** - * A grouped vertical bar chart. + * A donut chart. */ -export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { +export class DonutChart implements IDonutChart { /** - * Must be **Chart.VerticalBar.Grouped**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Chart.Donut**. */ - readonly type = 'Chart.VerticalBar.Grouped'; + readonly type = "Chart.Donut"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12784,7 +11112,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -12792,15 +11120,15 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -12808,7 +11136,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -12816,54 +11144,67 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The title of the chart. */ title?: string; + /** + * Controls whether the chart's title should be displayed. Defaults to `false`. + */ + showTitle?: boolean = false; /** * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ colorSet?: ChartColorSet; /** - * The title of the x axis. + * The maximum width, in pixels, of the chart, in the `px` format. */ - xAxisTitle?: string; + maxWidth?: string; /** - * The title of the y axis. + * Controls whether the chart's legend should be displayed. */ - yAxisTitle?: string; + showLegend?: boolean = true; /** - * The color to use for all data points. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * The data to display in the chart. */ - color?: ChartColor; + data?: IDonutChartData[]; /** - * Controls if bars in the chart should be displayed as stacked instead of grouped. + * The value that should be displayed in the center of a Donut chart. `value` is ignored for Pie charts. */ - stacked?: boolean; + value?: string; /** - * The data points in a series. + * Controls the color of the value displayed in the center of a Donut chart. */ - data?: IGroupedVerticalBarChartData[]; + valueColor?: ChartColor; /** - * Controls if values should be displayed on each bar. + * Controls the thickness of the donut segments. Default is **Thick**. */ - showBarValues?: boolean; + thickness?: DonutThickness; + /** + * Controls whether the outlines of the donut segments are displayed. + */ + showOutlines?: boolean = true; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - constructor(options: GroupedVerticalBarChartOptions = {}) { + constructor(options: DonutChartOptions = {}) { Object.assign(this, options); } - static from(options: Omit): GroupedVerticalBarChart { - return new GroupedVerticalBarChart(options); + static from(options: Omit): DonutChart { + return new DonutChart(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -12921,38 +11262,48 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { return this; } + withShowTitle(showTitle = true): this { + this.showTitle = showTitle; + return this; + } + withColorSet(colorSet: ChartColorSet): this { this.colorSet = colorSet; return this; } - withXAxisTitle(xAxisTitle: string): this { - this.xAxisTitle = xAxisTitle; + withMaxWidth(maxWidth: string): this { + this.maxWidth = maxWidth; return this; } - withYAxisTitle(yAxisTitle: string): this { - this.yAxisTitle = yAxisTitle; + withShowLegend(showLegend = false): this { + this.showLegend = showLegend; return this; } - withColor(color: ChartColor): this { - this.color = color; + withData(...data: IDonutChartData[]): this { + this.data = data; return this; } - withStacked(stacked = true): this { - this.stacked = stacked; + withValue(value: string): this { + this.value = value; return this; } - withData(...data: IGroupedVerticalBarChartData[]): this { - this.data = data; + withValueColor(valueColor: ChartColor): this { + this.valueColor = valueColor; return this; } - withShowBarValues(showBarValues = true): this { - this.showBarValues = showBarValues; + withThickness(thickness: DonutThickness): this { + this.thickness = thickness; + return this; + } + + withShowOutlines(showOutlines = false): this { + this.showOutlines = showOutlines; return this; } @@ -12963,48 +11314,62 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { } /** - * Represents a series of data points. + * A data point in a Donut chart. */ -export interface IGroupedVerticalBarChartData { +export interface IDonutChartData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * The legend of the chart. */ legend?: string; /** - * The data points in the series. + * The value associated with the data point. */ - values?: IBarChartDataValue[]; + value?: number; /** - * The color to use for all data points in the series. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * The color to use for the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ color?: ChartColor; } -export type GroupedVerticalBarChartDataOptions = IGroupedVerticalBarChartData; + +export type DonutChartDataOptions = Partial; /** - * Represents a series of data points. + * A data point in a Donut chart. */ -export class GroupedVerticalBarChartData implements IGroupedVerticalBarChartData { +export class DonutChartData implements IDonutChartData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * The legend of the chart. */ legend?: string; /** - * The data points in the series. + * The value associated with the data point. */ - values?: IBarChartDataValue[]; + value?: number = 0; /** - * The color to use for all data points in the series. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * The color to use for the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ color?: ChartColor; - constructor(options: GroupedVerticalBarChartDataOptions = {}) { + constructor(options: DonutChartDataOptions = {}) { Object.assign(this, options); } - static from(options: IGroupedVerticalBarChartData): GroupedVerticalBarChartData { - return new GroupedVerticalBarChartData(options); + static from(options: IDonutChartData): DonutChartData { + return new DonutChartData(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withLegend(legend: string): this { @@ -13012,8 +11377,8 @@ export class GroupedVerticalBarChartData implements IGroupedVerticalBarChartData return this; } - withValues(...values: IBarChartDataValue[]): this { - this.values = values; + withValue(value: number): this { + this.value = value; return this; } @@ -13024,61 +11389,17 @@ export class GroupedVerticalBarChartData implements IGroupedVerticalBarChartData } /** - * A single data point in a bar chart. - */ -export interface IBarChartDataValue { - /** - * The x axis value of the data point. - */ - x?: string; - /** - * The y axis value of the data point. - */ - y?: number; -} - -export type BarChartDataValueOptions = IBarChartDataValue; - -/** - * A single data point in a bar chart. + * A pie chart. */ -export class BarChartDataValue implements IBarChartDataValue { - /** - * The x axis value of the data point. - */ - x?: string; +export interface IPieChart { /** - * The y axis value of the data point. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - y?: number; - - constructor(options: BarChartDataValueOptions = {}) { - Object.assign(this, options); - } - - static from(options: IBarChartDataValue): BarChartDataValue { - return new BarChartDataValue(options); - } - - withX(x: string): this { - this.x = x; - return this; - } - - withY(y: number): this { - this.y = y; - return this; - } -} - -/** - * A vertical bar chart. - */ -export interface IVerticalBarChart { + key?: string; /** - * Must be **Chart.VerticalBar**. + * Must be **Chart.Pie**. */ - readonly type: 'Chart.VerticalBar'; + readonly type: "Chart.Pie"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13123,34 +11444,46 @@ export interface IVerticalBarChart { * The title of the chart. */ title?: string; + /** + * Controls whether the chart's title should be displayed. Defaults to `false`. + */ + showTitle?: boolean; /** * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ colorSet?: ChartColorSet; /** - * The title of the x axis. + * The maximum width, in pixels, of the chart, in the `px` format. */ - xAxisTitle?: string; + maxWidth?: string; /** - * The title of the y axis. + * Controls whether the chart's legend should be displayed. */ - yAxisTitle?: string; + showLegend?: boolean; /** * The data to display in the chart. */ - data?: IVerticalBarChartDataValue[]; + data?: IDonutChartData[]; /** - * The color to use for all data points. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * The value that should be displayed in the center of a Donut chart. `value` is ignored for Pie charts. */ - color?: ChartColor; + value?: string; /** - * Controls if the bar values should be displayed. + * Controls the color of the value displayed in the center of a Donut chart. */ - showBarValues?: boolean; + valueColor?: ChartColor; + /** + * Controls the thickness of the donut segments. Default is **Thick**. + */ + thickness?: DonutThickness; + /** + * Controls whether the outlines of the donut segments are displayed. + */ + showOutlines?: boolean; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -13161,26 +11494,30 @@ export interface IVerticalBarChart { * @hidden * @internal * - * Type guard to check if a value is of type IVerticalBarChart. + * Type guard to check if a value is of type IPieChart. * * @param value The value to check. - * @returns True if the value is an instance of VerticalBarChart, false otherwise. + * @returns True if the value is an instance of PieChart, false otherwise. */ -export function isVerticalBarChart(value: unknown): value is IVerticalBarChart { - const obj = value as IVerticalBarChart; - return typeof obj === 'object' && obj.type === 'Chart.VerticalBar'; +export function isPieChart(value: unknown): value is IPieChart { + const obj = value as IPieChart; + return typeof obj === "object" && obj.type === "Chart.Pie"; } -export type VerticalBarChartOptions = Omit; +export type PieChartOptions = Partial>; /** - * A vertical bar chart. + * A pie chart. */ -export class VerticalBarChart implements IVerticalBarChart { +export class PieChart implements IPieChart { /** - * Must be **Chart.VerticalBar**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type = 'Chart.VerticalBar'; + key?: string; + /** + * Must be **Chart.Pie**. + */ + readonly type = "Chart.Pie"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13188,7 +11525,7 @@ export class VerticalBarChart implements IVerticalBarChart { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -13196,15 +11533,15 @@ export class VerticalBarChart implements IVerticalBarChart { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -13212,7 +11549,7 @@ export class VerticalBarChart implements IVerticalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -13220,50 +11557,67 @@ export class VerticalBarChart implements IVerticalBarChart { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The title of the chart. */ title?: string; + /** + * Controls whether the chart's title should be displayed. Defaults to `false`. + */ + showTitle?: boolean = false; /** * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ colorSet?: ChartColorSet; /** - * The title of the x axis. + * The maximum width, in pixels, of the chart, in the `px` format. */ - xAxisTitle?: string; + maxWidth?: string; /** - * The title of the y axis. + * Controls whether the chart's legend should be displayed. */ - yAxisTitle?: string; + showLegend?: boolean = true; /** * The data to display in the chart. */ - data?: IVerticalBarChartDataValue[]; + data?: IDonutChartData[]; /** - * The color to use for all data points. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * The value that should be displayed in the center of a Donut chart. `value` is ignored for Pie charts. */ - color?: ChartColor; + value?: string; /** - * Controls if the bar values should be displayed. + * Controls the color of the value displayed in the center of a Donut chart. */ - showBarValues?: boolean; + valueColor?: ChartColor; + /** + * Controls the thickness of the donut segments. Default is **Thick**. + */ + thickness?: DonutThickness; + /** + * Controls whether the outlines of the donut segments are displayed. + */ + showOutlines?: boolean = true; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - constructor(options: VerticalBarChartOptions = {}) { + constructor(options: PieChartOptions = {}) { Object.assign(this, options); } - static from(options: Omit): VerticalBarChart { - return new VerticalBarChart(options); + static from(options: Omit): PieChart { + return new PieChart(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -13321,33 +11675,48 @@ export class VerticalBarChart implements IVerticalBarChart { return this; } + withShowTitle(showTitle = true): this { + this.showTitle = showTitle; + return this; + } + withColorSet(colorSet: ChartColorSet): this { this.colorSet = colorSet; return this; } - withXAxisTitle(xAxisTitle: string): this { - this.xAxisTitle = xAxisTitle; + withMaxWidth(maxWidth: string): this { + this.maxWidth = maxWidth; return this; } - withYAxisTitle(yAxisTitle: string): this { - this.yAxisTitle = yAxisTitle; + withShowLegend(showLegend = false): this { + this.showLegend = showLegend; return this; } - withData(...data: IVerticalBarChartDataValue[]): this { + withData(...data: IDonutChartData[]): this { this.data = data; return this; } - withColor(color: ChartColor): this { - this.color = color; + withValue(value: string): this { + this.value = value; return this; } - withShowBarValues(showBarValues = true): this { - this.showBarValues = showBarValues; + withValueColor(valueColor: ChartColor): this { + this.valueColor = valueColor; + return this; + } + + withThickness(thickness: DonutThickness): this { + this.thickness = thickness; + return this; + } + + withShowOutlines(showOutlines = false): this { + this.showOutlines = showOutlines; return this; } @@ -13358,86 +11727,29 @@ export class VerticalBarChart implements IVerticalBarChart { } /** - * Represents a data point in a vertical bar chart. + * A grouped vertical bar chart. */ -export interface IVerticalBarChartDataValue { +export interface IGroupedVerticalBarChart { /** - * The x axis value of the data point. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - x?: string | number; + key?: string; /** - * The y axis value of the data point. + * Must be **Chart.VerticalBar.Grouped**. */ - y?: number; + readonly type: "Chart.VerticalBar.Grouped"; /** - * The color to use for the bar associated with the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ - color?: ChartColor; -} - -export type VerticalBarChartDataValueOptions = IVerticalBarChartDataValue; - -/** - * Represents a data point in a vertical bar chart. - */ -export class VerticalBarChartDataValue implements IVerticalBarChartDataValue { + id?: string; /** - * The x axis value of the data point. + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - x?: string | number; + requires?: IHostCapabilities; /** - * The y axis value of the data point. + * The locale associated with the element. */ - y?: number; - /** - * The color to use for the bar associated with the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). - */ - color?: ChartColor; - - constructor(options: VerticalBarChartDataValueOptions = {}) { - Object.assign(this, options); - } - - static from(options: IVerticalBarChartDataValue): VerticalBarChartDataValue { - return new VerticalBarChartDataValue(options); - } - - withX(x: string | number): this { - this.x = x; - return this; - } - - withY(y: number): this { - this.y = y; - return this; - } - - withColor(color: ChartColor): this { - this.color = color; - return this; - } -} - -/** - * A horizontal bar chart. - */ -export interface IHorizontalBarChart { - /** - * Must be **Chart.HorizontalBar**. - */ - readonly type: 'Chart.HorizontalBar'; - /** - * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. - */ - id?: string; - /** - * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). - */ - requires?: IHostCapabilities; - /** - * The locale associated with the element. - */ - lang?: string; + lang?: string; /** * Controls the visibility of the element. */ @@ -13470,10 +11782,22 @@ export interface IHorizontalBarChart { * The title of the chart. */ title?: string; + /** + * Controls whether the chart's title should be displayed. Defaults to `false`. + */ + showTitle?: boolean; /** * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ colorSet?: ChartColorSet; + /** + * The maximum width, in pixels, of the chart, in the `px` format. + */ + maxWidth?: string; + /** + * Controls whether the chart's legend should be displayed. + */ + showLegend?: boolean; /** * The title of the x axis. */ @@ -13487,17 +11811,35 @@ export interface IHorizontalBarChart { */ color?: ChartColor; /** - * The data points in the chart. + * Controls if bars in the chart should be displayed as stacks instead of groups. + * + * **Note:** stacked vertical bar charts do not support custom Y ranges nor negative Y values. */ - data?: IHorizontalBarChartDataValue[]; + stacked?: boolean; /** - * Controls how the chart should be visually laid out. + * The data points in a series. */ - displayMode?: HorizontalBarChartDisplayMode; + data?: IGroupedVerticalBarChartData[]; + /** + * Controls if values should be displayed on each bar. + */ + showBarValues?: boolean; + /** + * The requested minimum for the Y axis range. The value used at runtime may be different to optimize visual presentation. + * + * `yMin` is ignored if `stacked` is set to `true`. + */ + yMin?: number; + /** + * The requested maximum for the Y axis range. The value used at runtime may be different to optimize visual presentation. + * + * `yMax` is ignored if `stacked` is set to `true`. + */ + yMax?: number; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -13508,26 +11850,30 @@ export interface IHorizontalBarChart { * @hidden * @internal * - * Type guard to check if a value is of type IHorizontalBarChart. + * Type guard to check if a value is of type IGroupedVerticalBarChart. * * @param value The value to check. - * @returns True if the value is an instance of HorizontalBarChart, false otherwise. + * @returns True if the value is an instance of GroupedVerticalBarChart, false otherwise. */ -export function isHorizontalBarChart(value: unknown): value is IHorizontalBarChart { - const obj = value as IHorizontalBarChart; - return typeof obj === 'object' && obj.type === 'Chart.HorizontalBar'; +export function isGroupedVerticalBarChart(value: unknown): value is IGroupedVerticalBarChart { + const obj = value as IGroupedVerticalBarChart; + return typeof obj === "object" && obj.type === "Chart.VerticalBar.Grouped"; } -export type HorizontalBarChartOptions = Omit; +export type GroupedVerticalBarChartOptions = Partial>; /** - * A horizontal bar chart. + * A grouped vertical bar chart. */ -export class HorizontalBarChart implements IHorizontalBarChart { +export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** - * Must be **Chart.HorizontalBar**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Chart.VerticalBar.Grouped**. */ - readonly type = 'Chart.HorizontalBar'; + readonly type = "Chart.VerticalBar.Grouped"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13535,7 +11881,7 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -13543,15 +11889,15 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -13559,7 +11905,7 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -13567,15 +11913,27 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The title of the chart. */ title?: string; + /** + * Controls whether the chart's title should be displayed. Defaults to `false`. + */ + showTitle?: boolean = false; /** * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ colorSet?: ChartColorSet; + /** + * The maximum width, in pixels, of the chart, in the `px` format. + */ + maxWidth?: string; + /** + * Controls whether the chart's legend should be displayed. + */ + showLegend?: boolean = true; /** * The title of the x axis. */ @@ -13589,28 +11947,51 @@ export class HorizontalBarChart implements IHorizontalBarChart { */ color?: ChartColor; /** - * The data points in the chart. + * Controls if bars in the chart should be displayed as stacks instead of groups. + * + * **Note:** stacked vertical bar charts do not support custom Y ranges nor negative Y values. */ - data?: IHorizontalBarChartDataValue[]; + stacked?: boolean = false; /** - * Controls how the chart should be visually laid out. + * The data points in a series. */ - displayMode?: HorizontalBarChartDisplayMode; + data?: IGroupedVerticalBarChartData[]; + /** + * Controls if values should be displayed on each bar. + */ + showBarValues?: boolean = false; + /** + * The requested minimum for the Y axis range. The value used at runtime may be different to optimize visual presentation. + * + * `yMin` is ignored if `stacked` is set to `true`. + */ + yMin?: number; + /** + * The requested maximum for the Y axis range. The value used at runtime may be different to optimize visual presentation. + * + * `yMax` is ignored if `stacked` is set to `true`. + */ + yMax?: number; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - constructor(options: HorizontalBarChartOptions = {}) { + constructor(options: GroupedVerticalBarChartOptions = {}) { Object.assign(this, options); } - static from(options: Omit): HorizontalBarChart { - return new HorizontalBarChart(options); + static from(options: Omit): GroupedVerticalBarChart { + return new GroupedVerticalBarChart(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -13668,11 +12049,26 @@ export class HorizontalBarChart implements IHorizontalBarChart { return this; } + withShowTitle(showTitle = true): this { + this.showTitle = showTitle; + return this; + } + withColorSet(colorSet: ChartColorSet): this { this.colorSet = colorSet; return this; } + withMaxWidth(maxWidth: string): this { + this.maxWidth = maxWidth; + return this; + } + + withShowLegend(showLegend = false): this { + this.showLegend = showLegend; + return this; + } + withXAxisTitle(xAxisTitle: string): this { this.xAxisTitle = xAxisTitle; return this; @@ -13688,13 +12084,28 @@ export class HorizontalBarChart implements IHorizontalBarChart { return this; } - withData(...data: IHorizontalBarChartDataValue[]): this { + withStacked(stacked = true): this { + this.stacked = stacked; + return this; + } + + withData(...data: IGroupedVerticalBarChartData[]): this { this.data = data; return this; } - withDisplayMode(displayMode: HorizontalBarChartDisplayMode): this { - this.displayMode = displayMode; + withShowBarValues(showBarValues = true): this { + this.showBarValues = showBarValues; + return this; + } + + withYMin(yMin: number): this { + this.yMin = yMin; + return this; + } + + withYMax(yMax: number): this { + this.yMax = yMax; return this; } @@ -13705,29 +12116,88 @@ export class HorizontalBarChart implements IHorizontalBarChart { } /** - * Represents a single data point in a horizontal bar chart. + * Represents a series of data points. */ -export interface IHorizontalBarChartDataValue { +export interface IGroupedVerticalBarChartData { /** - * The x axis value of the data point. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - x?: string; + key?: string; /** - * The y axis value of the data point. + * The legend of the chart. */ - y?: number; + legend?: string; /** - * The color of the bar associated with the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * The data points in the series. + */ + values?: IBarChartDataValue[]; + /** + * The color to use for all data points in the series. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ color?: ChartColor; } -export type HorizontalBarChartDataValueOptions = IHorizontalBarChartDataValue; + +export type GroupedVerticalBarChartDataOptions = Partial; /** - * Represents a single data point in a horizontal bar chart. + * Represents a series of data points. */ -export class HorizontalBarChartDataValue implements IHorizontalBarChartDataValue { +export class GroupedVerticalBarChartData implements IGroupedVerticalBarChartData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The legend of the chart. + */ + legend?: string; + /** + * The data points in the series. + */ + values?: IBarChartDataValue[]; + /** + * The color to use for all data points in the series. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + */ + color?: ChartColor; + + constructor(options: GroupedVerticalBarChartDataOptions = {}) { + Object.assign(this, options); + } + + static from(options: IGroupedVerticalBarChartData): GroupedVerticalBarChartData { + return new GroupedVerticalBarChartData(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withLegend(legend: string): this { + this.legend = legend; + return this; + } + + withValues(...values: IBarChartDataValue[]): this { + this.values = values; + return this; + } + + withColor(color: ChartColor): this { + this.color = color; + return this; + } +} + +/** + * A single data point in a bar chart. + */ +export interface IBarChartDataValue { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * The x axis value of the data point. */ @@ -13736,17 +12206,39 @@ export class HorizontalBarChartDataValue implements IHorizontalBarChartDataValue * The y axis value of the data point. */ y?: number; +} + + +export type BarChartDataValueOptions = Partial; + +/** + * A single data point in a bar chart. + */ +export class BarChartDataValue implements IBarChartDataValue { /** - * The color of the bar associated with the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - color?: ChartColor; + key?: string; + /** + * The x axis value of the data point. + */ + x?: string; + /** + * The y axis value of the data point. + */ + y?: number = 0; - constructor(options: HorizontalBarChartDataValueOptions = {}) { + constructor(options: BarChartDataValueOptions = {}) { Object.assign(this, options); } - static from(options: IHorizontalBarChartDataValue): HorizontalBarChartDataValue { - return new HorizontalBarChartDataValue(options); + static from(options: IBarChartDataValue): BarChartDataValue { + return new BarChartDataValue(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withX(x: string): this { @@ -13758,21 +12250,20 @@ export class HorizontalBarChartDataValue implements IHorizontalBarChartDataValue this.y = y; return this; } - - withColor(color: ChartColor): this { - this.color = color; - return this; - } } /** - * A stacked horizontal bar chart. + * A vertical bar chart. */ -export interface IStackedHorizontalBarChart { +export interface IVerticalBarChart { /** - * Must be **Chart.HorizontalBar.Stacked**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Chart.VerticalBar**. */ - readonly type: 'Chart.HorizontalBar.Stacked'; + readonly type: "Chart.VerticalBar"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13817,10 +12308,22 @@ export interface IStackedHorizontalBarChart { * The title of the chart. */ title?: string; + /** + * Controls whether the chart's title should be displayed. Defaults to `false`. + */ + showTitle?: boolean; /** * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ colorSet?: ChartColorSet; + /** + * The maximum width, in pixels, of the chart, in the `px` format. + */ + maxWidth?: string; + /** + * Controls whether the chart's legend should be displayed. + */ + showLegend?: boolean; /** * The title of the x axis. */ @@ -13829,18 +12332,30 @@ export interface IStackedHorizontalBarChart { * The title of the y axis. */ yAxisTitle?: string; + /** + * The data to display in the chart. + */ + data?: IVerticalBarChartDataValue[]; /** * The color to use for all data points. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ color?: ChartColor; /** - * The data to display in the chart. + * Controls if the bar values should be displayed. */ - data?: IStackedHorizontalBarChartData[]; + showBarValues?: boolean; + /** + * The requested minimum for the Y axis range. The value used at runtime may be different to optimize visual presentation. + */ + yMin?: number; + /** + * The requested maximum for the Y axis range. The value used at runtime may be different to optimize visual presentation. + */ + yMax?: number; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -13851,26 +12366,30 @@ export interface IStackedHorizontalBarChart { * @hidden * @internal * - * Type guard to check if a value is of type IStackedHorizontalBarChart. + * Type guard to check if a value is of type IVerticalBarChart. * * @param value The value to check. - * @returns True if the value is an instance of StackedHorizontalBarChart, false otherwise. + * @returns True if the value is an instance of VerticalBarChart, false otherwise. */ -export function isStackedHorizontalBarChart(value: unknown): value is IStackedHorizontalBarChart { - const obj = value as IStackedHorizontalBarChart; - return typeof obj === 'object' && obj.type === 'Chart.HorizontalBar.Stacked'; +export function isVerticalBarChart(value: unknown): value is IVerticalBarChart { + const obj = value as IVerticalBarChart; + return typeof obj === "object" && obj.type === "Chart.VerticalBar"; } -export type StackedHorizontalBarChartOptions = Omit; +export type VerticalBarChartOptions = Partial>; /** - * A stacked horizontal bar chart. + * A vertical bar chart. */ -export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { +export class VerticalBarChart implements IVerticalBarChart { /** - * Must be **Chart.HorizontalBar.Stacked**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Chart.VerticalBar**. */ - readonly type = 'Chart.HorizontalBar.Stacked'; + readonly type = "Chart.VerticalBar"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13878,7 +12397,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -13886,15 +12405,15 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -13902,7 +12421,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -13910,15 +12429,27 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The title of the chart. */ title?: string; + /** + * Controls whether the chart's title should be displayed. Defaults to `false`. + */ + showTitle?: boolean = false; /** * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ colorSet?: ChartColorSet; + /** + * The maximum width, in pixels, of the chart, in the `px` format. + */ + maxWidth?: string; + /** + * Controls whether the chart's legend should be displayed. + */ + showLegend?: boolean = true; /** * The title of the x axis. */ @@ -13927,29 +12458,46 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { * The title of the y axis. */ yAxisTitle?: string; + /** + * The data to display in the chart. + */ + data?: IVerticalBarChartDataValue[]; /** * The color to use for all data points. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ color?: ChartColor; /** - * The data to display in the chart. + * Controls if the bar values should be displayed. */ - data?: IStackedHorizontalBarChartData[]; + showBarValues?: boolean = false; + /** + * The requested minimum for the Y axis range. The value used at runtime may be different to optimize visual presentation. + */ + yMin?: number; + /** + * The requested maximum for the Y axis range. The value used at runtime may be different to optimize visual presentation. + */ + yMax?: number; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - constructor(options: StackedHorizontalBarChartOptions = {}) { + constructor(options: VerticalBarChartOptions = {}) { Object.assign(this, options); } - static from(options: Omit): StackedHorizontalBarChart { - return new StackedHorizontalBarChart(options); + static from(options: Omit): VerticalBarChart { + return new VerticalBarChart(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -14007,11 +12555,26 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { return this; } + withShowTitle(showTitle = true): this { + this.showTitle = showTitle; + return this; + } + withColorSet(colorSet: ChartColorSet): this { this.colorSet = colorSet; return this; } + withMaxWidth(maxWidth: string): this { + this.maxWidth = maxWidth; + return this; + } + + withShowLegend(showLegend = false): this { + this.showLegend = showLegend; + return this; + } + withXAxisTitle(xAxisTitle: string): this { this.xAxisTitle = xAxisTitle; return this; @@ -14022,122 +12585,103 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { return this; } - withColor(color: ChartColor): this { - this.color = color; - return this; - } - - withData(...data: IStackedHorizontalBarChartData[]): this { + withData(...data: IVerticalBarChartDataValue[]): this { this.data = data; return this; } - withFallback(fallback: FallbackElement): this { - this.fallback = fallback; + withColor(color: ChartColor): this { + this.color = color; return this; } -} - -/** - * Defines the collection of data series to display in as a stacked horizontal bar chart. - */ -export interface IStackedHorizontalBarChartData { - /** - * The title of the series. - */ - title?: string; - /** - * The data points in the series. - */ - data?: IStackedHorizontalBarChartDataPoint[]; -} - -export type StackedHorizontalBarChartDataOptions = IStackedHorizontalBarChartData; - -/** - * Defines the collection of data series to display in as a stacked horizontal bar chart. - */ -export class StackedHorizontalBarChartData implements IStackedHorizontalBarChartData { - /** - * The title of the series. - */ - title?: string; - /** - * The data points in the series. - */ - data?: IStackedHorizontalBarChartDataPoint[]; - constructor(options: StackedHorizontalBarChartDataOptions = {}) { - Object.assign(this, options); + withShowBarValues(showBarValues = true): this { + this.showBarValues = showBarValues; + return this; } - static from(options: IStackedHorizontalBarChartData): StackedHorizontalBarChartData { - return new StackedHorizontalBarChartData(options); + withYMin(yMin: number): this { + this.yMin = yMin; + return this; } - withTitle(title: string): this { - this.title = title; + withYMax(yMax: number): this { + this.yMax = yMax; return this; } - withData(...data: IStackedHorizontalBarChartDataPoint[]): this { - this.data = data; + withFallback(fallback: FallbackElement): this { + this.fallback = fallback; return this; } } /** - * A data point in a series. + * Represents a data point in a vertical bar chart. */ -export interface IStackedHorizontalBarChartDataPoint { +export interface IVerticalBarChartDataValue { /** - * The legend associated with the data point. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - legend?: string; + key?: string; /** - * The value of the data point. + * The x axis value of the data point. */ - value?: number; + x?: string | number; /** - * The color to use to render the bar associated with the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * The y axis value of the data point. + */ + y?: number; + /** + * The color to use for the bar associated with the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ color?: ChartColor; } -export type StackedHorizontalBarChartDataPointOptions = IStackedHorizontalBarChartDataPoint; + +export type VerticalBarChartDataValueOptions = Partial; /** - * A data point in a series. + * Represents a data point in a vertical bar chart. */ -export class StackedHorizontalBarChartDataPoint implements IStackedHorizontalBarChartDataPoint { +export class VerticalBarChartDataValue implements IVerticalBarChartDataValue { /** - * The legend associated with the data point. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - legend?: string; + key?: string; /** - * The value of the data point. + * The x axis value of the data point. */ - value?: number; + x?: string | number; /** - * The color to use to render the bar associated with the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * The y axis value of the data point. + */ + y?: number = 0; + /** + * The color to use for the bar associated with the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ color?: ChartColor; - constructor(options: StackedHorizontalBarChartDataPointOptions = {}) { + constructor(options: VerticalBarChartDataValueOptions = {}) { Object.assign(this, options); } - static from(options: IStackedHorizontalBarChartDataPoint): StackedHorizontalBarChartDataPoint { - return new StackedHorizontalBarChartDataPoint(options); + static from(options: IVerticalBarChartDataValue): VerticalBarChartDataValue { + return new VerticalBarChartDataValue(options); } - withLegend(legend: string): this { - this.legend = legend; + withKey(key: string): this { + this.key = key; return this; } - withValue(value: number): this { - this.value = value; + withX(x: string | number): this { + this.x = x; + return this; + } + + withY(y: number): this { + this.y = y; return this; } @@ -14148,13 +12692,17 @@ export class StackedHorizontalBarChartDataPoint implements IStackedHorizontalBar } /** - * A line chart. + * A horizontal bar chart. */ -export interface ILineChart { +export interface IHorizontalBarChart { /** - * Must be **Chart.Line**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Chart.HorizontalBar**. */ - readonly type: 'Chart.Line'; + readonly type: "Chart.HorizontalBar"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14199,10 +12747,22 @@ export interface ILineChart { * The title of the chart. */ title?: string; + /** + * Controls whether the chart's title should be displayed. Defaults to `false`. + */ + showTitle?: boolean; /** * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ colorSet?: ChartColorSet; + /** + * The maximum width, in pixels, of the chart, in the `px` format. + */ + maxWidth?: string; + /** + * Controls whether the chart's legend should be displayed. + */ + showLegend?: boolean; /** * The title of the x axis. */ @@ -14216,13 +12776,17 @@ export interface ILineChart { */ color?: ChartColor; /** - * The data point series in the line chart. + * The data points in the chart. */ - data?: ILineChartData[]; + data?: IHorizontalBarChartDataValue[]; + /** + * Controls how the chart should be visually laid out. + */ + displayMode?: HorizontalBarChartDisplayMode; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14233,26 +12797,30 @@ export interface ILineChart { * @hidden * @internal * - * Type guard to check if a value is of type ILineChart. + * Type guard to check if a value is of type IHorizontalBarChart. * * @param value The value to check. - * @returns True if the value is an instance of LineChart, false otherwise. + * @returns True if the value is an instance of HorizontalBarChart, false otherwise. */ -export function isLineChart(value: unknown): value is ILineChart { - const obj = value as ILineChart; - return typeof obj === 'object' && obj.type === 'Chart.Line'; +export function isHorizontalBarChart(value: unknown): value is IHorizontalBarChart { + const obj = value as IHorizontalBarChart; + return typeof obj === "object" && obj.type === "Chart.HorizontalBar"; } -export type LineChartOptions = Omit; +export type HorizontalBarChartOptions = Partial>; /** - * A line chart. + * A horizontal bar chart. */ -export class LineChart implements ILineChart { +export class HorizontalBarChart implements IHorizontalBarChart { /** - * Must be **Chart.Line**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Chart.HorizontalBar**. */ - readonly type = 'Chart.Line'; + readonly type = "Chart.HorizontalBar"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14260,7 +12828,7 @@ export class LineChart implements ILineChart { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -14268,15 +12836,15 @@ export class LineChart implements ILineChart { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -14284,7 +12852,7 @@ export class LineChart implements ILineChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -14292,15 +12860,27 @@ export class LineChart implements ILineChart { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The title of the chart. */ title?: string; + /** + * Controls whether the chart's title should be displayed. Defaults to `false`. + */ + showTitle?: boolean = false; /** * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ colorSet?: ChartColorSet; + /** + * The maximum width, in pixels, of the chart, in the `px` format. + */ + maxWidth?: string; + /** + * Controls whether the chart's legend should be displayed. + */ + showLegend?: boolean = true; /** * The title of the x axis. */ @@ -14314,24 +12894,33 @@ export class LineChart implements ILineChart { */ color?: ChartColor; /** - * The data point series in the line chart. + * The data points in the chart. */ - data?: ILineChartData[]; + data?: IHorizontalBarChartDataValue[]; + /** + * Controls how the chart should be visually laid out. + */ + displayMode?: HorizontalBarChartDisplayMode = "AbsoluteWithAxis"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - constructor(options: LineChartOptions = {}) { + constructor(options: HorizontalBarChartOptions = {}) { Object.assign(this, options); } - static from(options: Omit): LineChart { - return new LineChart(options); + static from(options: Omit): HorizontalBarChart { + return new HorizontalBarChart(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -14389,11 +12978,26 @@ export class LineChart implements ILineChart { return this; } + withShowTitle(showTitle = true): this { + this.showTitle = showTitle; + return this; + } + withColorSet(colorSet: ChartColorSet): this { this.colorSet = colorSet; return this; } + withMaxWidth(maxWidth: string): this { + this.maxWidth = maxWidth; + return this; + } + + withShowLegend(showLegend = false): this { + this.showLegend = showLegend; + return this; + } + withXAxisTitle(xAxisTitle: string): this { this.xAxisTitle = xAxisTitle; return this; @@ -14409,69 +13013,88 @@ export class LineChart implements ILineChart { return this; } - withData(...data: ILineChartData[]): this { + withData(...data: IHorizontalBarChartDataValue[]): this { this.data = data; return this; } - withFallback(fallback: FallbackElement): this { + withDisplayMode(displayMode: HorizontalBarChartDisplayMode): this { + this.displayMode = displayMode; + return this; + } + + withFallback(fallback: FallbackElement): this { this.fallback = fallback; return this; } } /** - * Represents a collection of data points series in a line chart. + * Represents a single data point in a horizontal bar chart. */ -export interface ILineChartData { +export interface IHorizontalBarChartDataValue { /** - * The legend of the chart. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - legend?: string; + key?: string; /** - * The data points in the series. + * The x axis value of the data point. */ - values?: ILineChartValue[]; + x?: string; /** - * The color all data points in the series. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * The y axis value of the data point. + */ + y?: number; + /** + * The color of the bar associated with the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ color?: ChartColor; } -export type LineChartDataOptions = ILineChartData; + +export type HorizontalBarChartDataValueOptions = Partial; /** - * Represents a collection of data points series in a line chart. + * Represents a single data point in a horizontal bar chart. */ -export class LineChartData implements ILineChartData { +export class HorizontalBarChartDataValue implements IHorizontalBarChartDataValue { /** - * The legend of the chart. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - legend?: string; + key?: string; /** - * The data points in the series. + * The x axis value of the data point. */ - values?: ILineChartValue[]; + x?: string; /** - * The color all data points in the series. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * The y axis value of the data point. + */ + y?: number = 0; + /** + * The color of the bar associated with the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ color?: ChartColor; - constructor(options: LineChartDataOptions = {}) { + constructor(options: HorizontalBarChartDataValueOptions = {}) { Object.assign(this, options); } - static from(options: ILineChartData): LineChartData { - return new LineChartData(options); + static from(options: IHorizontalBarChartDataValue): HorizontalBarChartDataValue { + return new HorizontalBarChartDataValue(options); } - withLegend(legend: string): this { - this.legend = legend; + withKey(key: string): this { + this.key = key; return this; } - withValues(...values: ILineChartValue[]): this { - this.values = values; + withX(x: string): this { + this.x = x; + return this; + } + + withY(y: number): this { + this.y = y; return this; } @@ -14482,69 +13105,17 @@ export class LineChartData implements ILineChartData { } /** - * Represents a single data point in a line chart. - */ -export interface ILineChartValue { - /** - * The x axis value of the data point. - -If all x values of the x [Chart.Line](https://adaptivecards.microsoft.com/?topic=Chart.Line) are expressed as a number, or if all x values are expressed as a date string in the `YYYY-MM-DD` format, the chart will be rendered as a time series chart, i.e. x axis values will span across the minimum x value to maximum x value range. - -Otherwise, if x values are represented as a mix of numbers and strings or if at least one x value isn't in the `YYYY-MM-DD` format, the chart will be rendered as a categorical chart, i.e. x axis values will be displayed as categories. - */ - x?: number | string; - /** - * The y axis value of the data point. - */ - y?: number; -} - -export type LineChartValueOptions = ILineChartValue; - -/** - * Represents a single data point in a line chart. + * A stacked horizontal bar chart. */ -export class LineChartValue implements ILineChartValue { - /** - * The x axis value of the data point. - -If all x values of the x [Chart.Line](https://adaptivecards.microsoft.com/?topic=Chart.Line) are expressed as a number, or if all x values are expressed as a date string in the `YYYY-MM-DD` format, the chart will be rendered as a time series chart, i.e. x axis values will span across the minimum x value to maximum x value range. - -Otherwise, if x values are represented as a mix of numbers and strings or if at least one x value isn't in the `YYYY-MM-DD` format, the chart will be rendered as a categorical chart, i.e. x axis values will be displayed as categories. - */ - x?: number | string; +export interface IStackedHorizontalBarChart { /** - * The y axis value of the data point. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - y?: number; - - constructor(options: LineChartValueOptions = {}) { - Object.assign(this, options); - } - - static from(options: ILineChartValue): LineChartValue { - return new LineChartValue(options); - } - - withX(x: number | string): this { - this.x = x; - return this; - } - - withY(y: number): this { - this.y = y; - return this; - } -} - -/** - * A gauge chart. - */ -export interface IGaugeChart { + key?: string; /** - * Must be **Chart.Gauge**. + * Must be **Chart.HorizontalBar.Stacked**. */ - readonly type: 'Chart.Gauge'; + readonly type: "Chart.HorizontalBar.Stacked"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14590,45 +13161,41 @@ export interface IGaugeChart { */ title?: string; /** - * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). - */ - colorSet?: ChartColorSet; - /** - * The minimum value of the gauge. + * Controls whether the chart's title should be displayed. Defaults to `false`. */ - min?: number; + showTitle?: boolean; /** - * The maximum value of the gauge. + * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ - max?: number; + colorSet?: ChartColorSet; /** - * The sub-label of the gauge. + * The maximum width, in pixels, of the chart, in the `px` format. */ - subLabel?: string; + maxWidth?: string; /** - * Controls if the min/max values should be displayed. + * Controls whether the chart's legend should be displayed. */ - showMinMax?: boolean; + showLegend?: boolean; /** - * Controls if the legend should be displayed. + * The title of the x axis. */ - showLegend?: boolean; + xAxisTitle?: string; /** - * The segments to display in the gauge. + * The title of the y axis. */ - segments?: IGaugeChartLegend[]; + yAxisTitle?: string; /** - * The value of the gauge. + * The color to use for all data points. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ - value?: number; + color?: ChartColor; /** - * The format used to display the gauge's value. + * The data to display in the chart. */ - valueFormat?: GaugeChartValueFormat; + data?: IStackedHorizontalBarChartData[]; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14639,26 +13206,30 @@ export interface IGaugeChart { * @hidden * @internal * - * Type guard to check if a value is of type IGaugeChart. + * Type guard to check if a value is of type IStackedHorizontalBarChart. * * @param value The value to check. - * @returns True if the value is an instance of GaugeChart, false otherwise. + * @returns True if the value is an instance of StackedHorizontalBarChart, false otherwise. */ -export function isGaugeChart(value: unknown): value is IGaugeChart { - const obj = value as IGaugeChart; - return typeof obj === 'object' && obj.type === 'Chart.Gauge'; +export function isStackedHorizontalBarChart(value: unknown): value is IStackedHorizontalBarChart { + const obj = value as IStackedHorizontalBarChart; + return typeof obj === "object" && obj.type === "Chart.HorizontalBar.Stacked"; } -export type GaugeChartOptions = Omit; +export type StackedHorizontalBarChartOptions = Partial>; /** - * A gauge chart. + * A stacked horizontal bar chart. */ -export class GaugeChart implements IGaugeChart { +export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** - * Must be **Chart.Gauge**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type = 'Chart.Gauge'; + key?: string; + /** + * Must be **Chart.HorizontalBar.Stacked**. + */ + readonly type = "Chart.HorizontalBar.Stacked"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14666,7 +13237,7 @@ export class GaugeChart implements IGaugeChart { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -14674,15 +13245,15 @@ export class GaugeChart implements IGaugeChart { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -14690,7 +13261,7 @@ export class GaugeChart implements IGaugeChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -14698,62 +13269,63 @@ export class GaugeChart implements IGaugeChart { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** * The title of the chart. */ title?: string; /** - * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). - */ - colorSet?: ChartColorSet; - /** - * The minimum value of the gauge. + * Controls whether the chart's title should be displayed. Defaults to `false`. */ - min?: number; + showTitle?: boolean = false; /** - * The maximum value of the gauge. + * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ - max?: number; + colorSet?: ChartColorSet; /** - * The sub-label of the gauge. + * The maximum width, in pixels, of the chart, in the `px` format. */ - subLabel?: string; + maxWidth?: string; /** - * Controls if the min/max values should be displayed. + * Controls whether the chart's legend should be displayed. */ - showMinMax?: boolean; + showLegend?: boolean = true; /** - * Controls if the legend should be displayed. + * The title of the x axis. */ - showLegend?: boolean; + xAxisTitle?: string; /** - * The segments to display in the gauge. + * The title of the y axis. */ - segments?: IGaugeChartLegend[]; + yAxisTitle?: string; /** - * The value of the gauge. + * The color to use for all data points. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ - value?: number; + color?: ChartColor; /** - * The format used to display the gauge's value. + * The data to display in the chart. */ - valueFormat?: GaugeChartValueFormat; + data?: IStackedHorizontalBarChartData[]; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - constructor(options: GaugeChartOptions = {}) { + constructor(options: StackedHorizontalBarChartOptions = {}) { Object.assign(this, options); } - static from(options: Omit): GaugeChart { - return new GaugeChart(options); + static from(options: Omit): StackedHorizontalBarChart { + return new StackedHorizontalBarChart(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -14811,48 +13383,43 @@ export class GaugeChart implements IGaugeChart { return this; } - withColorSet(colorSet: ChartColorSet): this { - this.colorSet = colorSet; - return this; - } - - withMin(min: number): this { - this.min = min; + withShowTitle(showTitle = true): this { + this.showTitle = showTitle; return this; } - withMax(max: number): this { - this.max = max; + withColorSet(colorSet: ChartColorSet): this { + this.colorSet = colorSet; return this; } - withSubLabel(subLabel: string): this { - this.subLabel = subLabel; + withMaxWidth(maxWidth: string): this { + this.maxWidth = maxWidth; return this; } - withShowMinMax(showMinMax = false): this { - this.showMinMax = showMinMax; + withShowLegend(showLegend = false): this { + this.showLegend = showLegend; return this; } - withShowLegend(showLegend = false): this { - this.showLegend = showLegend; + withXAxisTitle(xAxisTitle: string): this { + this.xAxisTitle = xAxisTitle; return this; } - withSegments(...segments: IGaugeChartLegend[]): this { - this.segments = segments; + withYAxisTitle(yAxisTitle: string): this { + this.yAxisTitle = yAxisTitle; return this; } - withValue(value: number): this { - this.value = value; + withColor(color: ChartColor): this { + this.color = color; return this; } - withValueFormat(valueFormat: GaugeChartValueFormat): this { - this.valueFormat = valueFormat; + withData(...data: IStackedHorizontalBarChartData[]): this { + this.data = data; return this; } @@ -14863,52 +13430,123 @@ export class GaugeChart implements IGaugeChart { } /** - * The legend of the chart. + * Defines the collection of data series to display in as a stacked horizontal bar chart. */ -export interface IGaugeChartLegend { +export interface IStackedHorizontalBarChartData { /** - * The size of the segment. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - size?: number; + key?: string; /** - * The legend text associated with the segment. + * The title of the series. */ - legend?: string; + title?: string; /** - * The color to use for the segment. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * The data points in the series. */ - color?: ChartColor; + data?: IStackedHorizontalBarChartDataPoint[]; } -export type GaugeChartLegendOptions = IGaugeChartLegend; + +export type StackedHorizontalBarChartDataOptions = Partial; /** - * The legend of the chart. + * Defines the collection of data series to display in as a stacked horizontal bar chart. */ -export class GaugeChartLegend implements IGaugeChartLegend { +export class StackedHorizontalBarChartData implements IStackedHorizontalBarChartData { /** - * The size of the segment. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - size?: number; + key?: string; /** - * The legend text associated with the segment. + * The title of the series. */ - legend?: string; + title?: string; /** - * The color to use for the segment. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + * The data points in the series. + */ + data?: IStackedHorizontalBarChartDataPoint[]; + + constructor(options: StackedHorizontalBarChartDataOptions = {}) { + Object.assign(this, options); + } + + static from(options: IStackedHorizontalBarChartData): StackedHorizontalBarChartData { + return new StackedHorizontalBarChartData(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withTitle(title: string): this { + this.title = title; + return this; + } + + withData(...data: IStackedHorizontalBarChartDataPoint[]): this { + this.data = data; + return this; + } +} + +/** + * A data point in a series. + */ +export interface IStackedHorizontalBarChartDataPoint { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The legend associated with the data point. + */ + legend?: string; + /** + * The value of the data point. + */ + value?: number; + /** + * The color to use to render the bar associated with the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ color?: ChartColor; +} - constructor(options: GaugeChartLegendOptions = {}) { + +export type StackedHorizontalBarChartDataPointOptions = Partial; + +/** + * A data point in a series. + */ +export class StackedHorizontalBarChartDataPoint implements IStackedHorizontalBarChartDataPoint { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The legend associated with the data point. + */ + legend?: string; + /** + * The value of the data point. + */ + value?: number = 0; + /** + * The color to use to render the bar associated with the data point. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + */ + color?: ChartColor; + + constructor(options: StackedHorizontalBarChartDataPointOptions = {}) { Object.assign(this, options); } - static from(options: IGaugeChartLegend): GaugeChartLegend { - return new GaugeChartLegend(options); + static from(options: IStackedHorizontalBarChartDataPoint): StackedHorizontalBarChartDataPoint { + return new StackedHorizontalBarChartDataPoint(options); } - withSize(size: number): this { - this.size = size; + withKey(key: string): this { + this.key = key; return this; } @@ -14917,6 +13555,11 @@ export class GaugeChartLegend implements IGaugeChartLegend { return this; } + withValue(value: number): this { + this.value = value; + return this; + } + withColor(color: ChartColor): this { this.color = color; return this; @@ -14924,13 +13567,17 @@ export class GaugeChartLegend implements IGaugeChartLegend { } /** - * A formatted and syntax-colored code block. + * A line chart. */ -export interface ICodeBlock { +export interface ILineChart { /** - * Must be **CodeBlock**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type: 'CodeBlock'; + key?: string; + /** + * Must be **Chart.Line**. + */ + readonly type: "Chart.Line"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14972,45 +13619,53 @@ export interface ICodeBlock { */ isSortKey?: boolean; /** - * The code snippet to display. + * The title of the chart. */ - codeSnippet?: string; + title?: string; /** - * The language the code snippet is expressed in. + * Controls whether the chart's title should be displayed. Defaults to `false`. */ - language?: - | 'Bash' - | 'C' - | 'Cpp' - | 'CSharp' - | 'Css' - | 'Dos' - | 'Go' - | 'Graphql' - | 'Html' - | 'Java' - | 'JavaScript' - | 'Json' - | 'ObjectiveC' - | 'Perl' - | 'Php' - | 'PlainText' - | 'PowerShell' - | 'Python' - | 'Sql' - | 'TypeScript' - | 'VbNet' - | 'Verilog' - | 'Vhdl' - | 'Xml'; + showTitle?: boolean; /** - * A number that represents the line in the file from where the code snippet was extracted. + * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ - startLineNumber?: number; + colorSet?: ChartColorSet; + /** + * The maximum width, in pixels, of the chart, in the `px` format. + */ + maxWidth?: string; + /** + * Controls whether the chart's legend should be displayed. + */ + showLegend?: boolean; + /** + * The title of the x axis. + */ + xAxisTitle?: string; + /** + * The title of the y axis. + */ + yAxisTitle?: string; + /** + * The color to use for all data points. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + */ + color?: ChartColor; + /** + * The data point series in the line chart. + */ + data?: ILineChartData[]; + /** + * The maximum y range. + */ + yMin?: number; + /** + * The minimum y range. + */ + yMax?: number; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15021,26 +13676,30 @@ export interface ICodeBlock { * @hidden * @internal * - * Type guard to check if a value is of type ICodeBlock. + * Type guard to check if a value is of type ILineChart. * * @param value The value to check. - * @returns True if the value is an instance of CodeBlock, false otherwise. + * @returns True if the value is an instance of LineChart, false otherwise. */ -export function isCodeBlock(value: unknown): value is ICodeBlock { - const obj = value as ICodeBlock; - return typeof obj === 'object' && obj.type === 'CodeBlock'; +export function isLineChart(value: unknown): value is ILineChart { + const obj = value as ILineChart; + return typeof obj === "object" && obj.type === "Chart.Line"; } -export type CodeBlockOptions = Omit; +export type LineChartOptions = Partial>; /** - * A formatted and syntax-colored code block. + * A line chart. */ -export class CodeBlock implements ICodeBlock { +export class LineChart implements ILineChart { /** - * Must be **CodeBlock**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Chart.Line**. */ - readonly type = 'CodeBlock'; + readonly type = "Chart.Line"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15048,7 +13707,7 @@ export class CodeBlock implements ICodeBlock { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -15056,15 +13715,15 @@ export class CodeBlock implements ICodeBlock { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -15072,7 +13731,7 @@ export class CodeBlock implements ICodeBlock { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -15080,58 +13739,71 @@ export class CodeBlock implements ICodeBlock { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** - * The code snippet to display. + * The title of the chart. */ - codeSnippet?: string; + title?: string; /** - * The language the code snippet is expressed in. + * Controls whether the chart's title should be displayed. Defaults to `false`. */ - language?: - | 'Bash' - | 'C' - | 'Cpp' - | 'CSharp' - | 'Css' - | 'Dos' - | 'Go' - | 'Graphql' - | 'Html' - | 'Java' - | 'JavaScript' - | 'Json' - | 'ObjectiveC' - | 'Perl' - | 'Php' - | 'PlainText' - | 'PowerShell' - | 'Python' - | 'Sql' - | 'TypeScript' - | 'VbNet' - | 'Verilog' - | 'Vhdl' - | 'Xml'; + showTitle?: boolean = false; /** - * A number that represents the line in the file from where the code snippet was extracted. + * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ - startLineNumber?: number; + colorSet?: ChartColorSet; + /** + * The maximum width, in pixels, of the chart, in the `px` format. + */ + maxWidth?: string; + /** + * Controls whether the chart's legend should be displayed. + */ + showLegend?: boolean = true; + /** + * The title of the x axis. + */ + xAxisTitle?: string; + /** + * The title of the y axis. + */ + yAxisTitle?: string; + /** + * The color to use for all data points. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + */ + color?: ChartColor; + /** + * The data point series in the line chart. + */ + data?: ILineChartData[]; + /** + * The maximum y range. + */ + yMin?: number; + /** + * The minimum y range. + */ + yMax?: number; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - constructor(options: CodeBlockOptions = {}) { + constructor(options: LineChartOptions = {}) { Object.assign(this, options); } - static from(options: Omit): CodeBlock { - return new CodeBlock(options); + static from(options: Omit): LineChart { + return new LineChart(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -15184,44 +13856,58 @@ export class CodeBlock implements ICodeBlock { return this; } - withCodeSnippet(codeSnippet: string): this { - this.codeSnippet = codeSnippet; + withTitle(title: string): this { + this.title = title; return this; } - withLanguage( - language: - | 'Bash' - | 'C' - | 'Cpp' - | 'CSharp' - | 'Css' - | 'Dos' - | 'Go' - | 'Graphql' - | 'Html' - | 'Java' - | 'JavaScript' - | 'Json' - | 'ObjectiveC' - | 'Perl' - | 'Php' - | 'PlainText' - | 'PowerShell' - | 'Python' - | 'Sql' - | 'TypeScript' - | 'VbNet' - | 'Verilog' - | 'Vhdl' - | 'Xml' - ): this { - this.language = language; + withShowTitle(showTitle = true): this { + this.showTitle = showTitle; return this; } - withStartLineNumber(startLineNumber: number): this { - this.startLineNumber = startLineNumber; + withColorSet(colorSet: ChartColorSet): this { + this.colorSet = colorSet; + return this; + } + + withMaxWidth(maxWidth: string): this { + this.maxWidth = maxWidth; + return this; + } + + withShowLegend(showLegend = false): this { + this.showLegend = showLegend; + return this; + } + + withXAxisTitle(xAxisTitle: string): this { + this.xAxisTitle = xAxisTitle; + return this; + } + + withYAxisTitle(yAxisTitle: string): this { + this.yAxisTitle = yAxisTitle; + return this; + } + + withColor(color: ChartColor): this { + this.color = color; + return this; + } + + withData(...data: ILineChartData[]): this { + this.data = data; + return this; + } + + withYMin(yMin: number): this { + this.yMin = yMin; + return this; + } + + withYMax(yMax: number): this { + this.yMax = yMax; return this; } @@ -15232,37 +13918,186 @@ export class CodeBlock implements ICodeBlock { } /** - * Displays a user's information, including their profile picture. + * Represents a collection of data points series in a line chart. */ -export interface IComUserMicrosoftGraphComponent { +export interface ILineChartData { /** - * Must be **Component**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type: 'Component'; + key?: string; /** - * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + * The legend of the chart. */ - id?: string; + legend?: string; /** - * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). + * The data points in the series. */ - requires?: IHostCapabilities; + values?: ILineChartValue[]; /** - * The locale associated with the element. + * The color all data points in the series. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ - lang?: string; + color?: ChartColor; +} + + +export type LineChartDataOptions = Partial; + +/** + * Represents a collection of data points series in a line chart. + */ +export class LineChartData implements ILineChartData { /** - * Controls the visibility of the element. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - isVisible?: boolean; + key?: string; /** - * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. + * The legend of the chart. */ - separator?: boolean; + legend?: string; /** - * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. + * The data points in the series. */ - height?: ElementHeight; + values?: ILineChartValue[]; + /** + * The color all data points in the series. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + */ + color?: ChartColor; + + constructor(options: LineChartDataOptions = {}) { + Object.assign(this, options); + } + + static from(options: ILineChartData): LineChartData { + return new LineChartData(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withLegend(legend: string): this { + this.legend = legend; + return this; + } + + withValues(...values: ILineChartValue[]): this { + this.values = values; + return this; + } + + withColor(color: ChartColor): this { + this.color = color; + return this; + } +} + +/** + * Represents a single data point in a line chart. + */ +export interface ILineChartValue { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The x axis value of the data point. + * + * If all x values of the x [Chart.Line](https://adaptivecards.microsoft.com/?topic=Chart.Line) are expressed as a number, or if all x values are expressed as a date string in the `YYYY-MM-DD` format, the chart will be rendered as a time series chart, i.e. x axis values will span across the minimum x value to maximum x value range. + * + * Otherwise, if x values are represented as a mix of numbers and strings or if at least one x value isn't in the `YYYY-MM-DD` format, the chart will be rendered as a categorical chart, i.e. x axis values will be displayed as categories. + */ + x?: number | string; + /** + * The y axis value of the data point. + */ + y?: number; +} + + +export type LineChartValueOptions = Partial; + +/** + * Represents a single data point in a line chart. + */ +export class LineChartValue implements ILineChartValue { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The x axis value of the data point. + * + * If all x values of the x [Chart.Line](https://adaptivecards.microsoft.com/?topic=Chart.Line) are expressed as a number, or if all x values are expressed as a date string in the `YYYY-MM-DD` format, the chart will be rendered as a time series chart, i.e. x axis values will span across the minimum x value to maximum x value range. + * + * Otherwise, if x values are represented as a mix of numbers and strings or if at least one x value isn't in the `YYYY-MM-DD` format, the chart will be rendered as a categorical chart, i.e. x axis values will be displayed as categories. + */ + x?: number | string; + /** + * The y axis value of the data point. + */ + y?: number = 0; + + constructor(options: LineChartValueOptions = {}) { + Object.assign(this, options); + } + + static from(options: ILineChartValue): LineChartValue { + return new LineChartValue(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withX(x: number | string): this { + this.x = x; + return this; + } + + withY(y: number): this { + this.y = y; + return this; + } +} + +/** + * A gauge chart. + */ +export interface IGaugeChart { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Chart.Gauge**. + */ + readonly type: "Chart.Gauge"; + /** + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + */ + id?: string; + /** + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). + */ + requires?: IHostCapabilities; + /** + * The locale associated with the element. + */ + lang?: string; + /** + * Controls the visibility of the element. + */ + isVisible?: boolean; + /** + * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. + */ + separator?: boolean; + /** + * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. + */ + height?: ElementHeight; /** * Controls how the element should be horizontally aligned. */ @@ -15280,17 +14115,65 @@ export interface IComUserMicrosoftGraphComponent { */ isSortKey?: boolean; /** - * Must be **graph.microsoft.com/user**. + * The title of the chart. */ - readonly name: 'graph.microsoft.com/user'; + title?: string; /** - * The properties of the user. + * Controls whether the chart's title should be displayed. Defaults to `false`. */ - properties?: IPersonaProperties; + showTitle?: boolean; + /** + * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + */ + colorSet?: ChartColorSet; + /** + * The maximum width, in pixels, of the chart, in the `px` format. + */ + maxWidth?: string; + /** + * Controls whether the chart's legend should be displayed. + */ + showLegend?: boolean; + /** + * The minimum value of the gauge. + */ + min?: number; + /** + * The maximum value of the gauge. + */ + max?: number; + /** + * The sub-label of the gauge. + */ + subLabel?: string; + /** + * Controls whether the min/max values should be displayed. + */ + showMinMax?: boolean; + /** + * Controls whether the gauge's needle is displayed. Default is **true**. + */ + showNeedle?: boolean; + /** + * Controls whether the outlines of the gauge segments are displayed. + */ + showOutlines?: boolean; + /** + * The segments to display in the gauge. + */ + segments?: IGaugeChartLegend[]; + /** + * The value of the gauge. + */ + value?: number; + /** + * The format used to display the gauge's value. + */ + valueFormat?: GaugeChartValueFormat; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15301,33 +14184,30 @@ export interface IComUserMicrosoftGraphComponent { * @hidden * @internal * - * Type guard to check if a value is of type IComUserMicrosoftGraphComponent. + * Type guard to check if a value is of type IGaugeChart. * * @param value The value to check. - * @returns True if the value is an instance of ComUserMicrosoftGraphComponent, false otherwise. + * @returns True if the value is an instance of GaugeChart, false otherwise. */ -export function isComUserMicrosoftGraphComponent( - value: unknown -): value is IComUserMicrosoftGraphComponent { - const obj = value as IComUserMicrosoftGraphComponent; - return ( - typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/user' - ); +export function isGaugeChart(value: unknown): value is IGaugeChart { + const obj = value as IGaugeChart; + return typeof obj === "object" && obj.type === "Chart.Gauge"; } -export type ComUserMicrosoftGraphComponentOptions = Omit< - IComUserMicrosoftGraphComponent, - 'type' | 'name' ->; +export type GaugeChartOptions = Partial>; /** - * Displays a user's information, including their profile picture. + * A gauge chart. */ -export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphComponent { +export class GaugeChart implements IGaugeChart { /** - * Must be **Component**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type = 'Component'; + key?: string; + /** + * Must be **Chart.Gauge**. + */ + readonly type = "Chart.Gauge"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15335,7 +14215,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -15343,15 +14223,15 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -15359,7 +14239,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -15367,32 +14247,83 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** - * Must be **graph.microsoft.com/user**. + * The title of the chart. + */ + title?: string; + /** + * Controls whether the chart's title should be displayed. Defaults to `false`. */ - readonly name = 'graph.microsoft.com/user'; + showTitle?: boolean = false; /** - * The properties of the user. + * The name of the set of colors to use to render the chart. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). */ - properties?: IPersonaProperties; + colorSet?: ChartColorSet; + /** + * The maximum width, in pixels, of the chart, in the `px` format. + */ + maxWidth?: string; + /** + * Controls whether the chart's legend should be displayed. + */ + showLegend?: boolean = true; + /** + * The minimum value of the gauge. + */ + min?: number = 0; + /** + * The maximum value of the gauge. + */ + max?: number; + /** + * The sub-label of the gauge. + */ + subLabel?: string; + /** + * Controls whether the min/max values should be displayed. + */ + showMinMax?: boolean = true; + /** + * Controls whether the gauge's needle is displayed. Default is **true**. + */ + showNeedle?: boolean = true; + /** + * Controls whether the outlines of the gauge segments are displayed. + */ + showOutlines?: boolean = true; + /** + * The segments to display in the gauge. + */ + segments?: IGaugeChartLegend[]; + /** + * The value of the gauge. + */ + value?: number = 0; + /** + * The format used to display the gauge's value. + */ + valueFormat?: GaugeChartValueFormat = "Percentage"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - constructor(options: ComUserMicrosoftGraphComponentOptions = {}) { + constructor(options: GaugeChartOptions = {}) { Object.assign(this, options); } - static from( - options: Omit - ): ComUserMicrosoftGraphComponent { - return new ComUserMicrosoftGraphComponent(options); + static from(options: Omit): GaugeChart { + return new GaugeChart(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -15445,73 +14376,169 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom return this; } - withProperties(properties: IPersonaProperties): this { - this.properties = properties; + withTitle(title: string): this { + this.title = title; return this; } - withFallback(fallback: FallbackElement): this { - this.fallback = fallback; + withShowTitle(showTitle = true): this { + this.showTitle = showTitle; return this; } -} - -/** - * Represents the properties of a Persona component. - */ -export interface IPersonaProperties { - /** - * The UPN of the persona. - */ - userPrincipalName?: string; - /** - * The display name of the persona. - */ - displayName?: string; -} -export type PersonaPropertiesOptions = IPersonaProperties; + withColorSet(colorSet: ChartColorSet): this { + this.colorSet = colorSet; + return this; + } + + withMaxWidth(maxWidth: string): this { + this.maxWidth = maxWidth; + return this; + } + + withShowLegend(showLegend = false): this { + this.showLegend = showLegend; + return this; + } + + withMin(min: number): this { + this.min = min; + return this; + } + + withMax(max: number): this { + this.max = max; + return this; + } + + withSubLabel(subLabel: string): this { + this.subLabel = subLabel; + return this; + } + + withShowMinMax(showMinMax = false): this { + this.showMinMax = showMinMax; + return this; + } + + withShowNeedle(showNeedle = false): this { + this.showNeedle = showNeedle; + return this; + } + + withShowOutlines(showOutlines = false): this { + this.showOutlines = showOutlines; + return this; + } + + withSegments(...segments: IGaugeChartLegend[]): this { + this.segments = segments; + return this; + } + + withValue(value: number): this { + this.value = value; + return this; + } + + withValueFormat(valueFormat: GaugeChartValueFormat): this { + this.valueFormat = valueFormat; + return this; + } + + withFallback(fallback: FallbackElement): this { + this.fallback = fallback; + return this; + } +} /** - * Represents the properties of a Persona component. + * The legend of the chart. */ -export class PersonaProperties implements IPersonaProperties { +export interface IGaugeChartLegend { /** - * The UPN of the persona. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - userPrincipalName?: string; + key?: string; /** - * The display name of the persona. + * The size of the segment. */ - displayName?: string; + size?: number; + /** + * The legend text associated with the segment. + */ + legend?: string; + /** + * The color to use for the segment. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + */ + color?: ChartColor; +} - constructor(options: PersonaPropertiesOptions = {}) { + +export type GaugeChartLegendOptions = Partial; + +/** + * The legend of the chart. + */ +export class GaugeChartLegend implements IGaugeChartLegend { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The size of the segment. + */ + size?: number = 0; + /** + * The legend text associated with the segment. + */ + legend?: string; + /** + * The color to use for the segment. See [Chart colors reference](https://adaptivecards.microsoft.com/?topic=chart-colors-reference). + */ + color?: ChartColor; + + constructor(options: GaugeChartLegendOptions = {}) { Object.assign(this, options); } - static from(options: IPersonaProperties): PersonaProperties { - return new PersonaProperties(options); + static from(options: IGaugeChartLegend): GaugeChartLegend { + return new GaugeChartLegend(options); } - withUserPrincipalName(userPrincipalName: string): this { - this.userPrincipalName = userPrincipalName; + withKey(key: string): this { + this.key = key; return this; } - withDisplayName(displayName: string): this { - this.displayName = displayName; + withSize(size: number): this { + this.size = size; + return this; + } + + withLegend(legend: string): this { + this.legend = legend; + return this; + } + + withColor(color: ChartColor): this { + this.color = color; return this; } } /** - * Displays multiple users' information, including their profile pictures. + * A formatted and syntax-colored code block. */ -export interface IComUsersMicrosoftGraphComponent { +export interface ICodeBlock { /** - * Must be **Component**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **CodeBlock**. */ - readonly type: 'Component'; + readonly type: "CodeBlock"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15553,17 +14580,21 @@ export interface IComUsersMicrosoftGraphComponent { */ isSortKey?: boolean; /** - * Must be **graph.microsoft.com/users**. + * The code snippet to display. + */ + codeSnippet?: string; + /** + * The language the code snippet is expressed in. */ - readonly name: 'graph.microsoft.com/users'; + language?: CodeLanguage; /** - * The properties of the set. + * A number that represents the line in the file from where the code snippet was extracted. */ - properties?: IPersonaSetProperties; + startLineNumber?: number; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15574,33 +14605,30 @@ export interface IComUsersMicrosoftGraphComponent { * @hidden * @internal * - * Type guard to check if a value is of type IComUsersMicrosoftGraphComponent. + * Type guard to check if a value is of type ICodeBlock. * * @param value The value to check. - * @returns True if the value is an instance of ComUsersMicrosoftGraphComponent, false otherwise. + * @returns True if the value is an instance of CodeBlock, false otherwise. */ -export function isComUsersMicrosoftGraphComponent( - value: unknown -): value is IComUsersMicrosoftGraphComponent { - const obj = value as IComUsersMicrosoftGraphComponent; - return ( - typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/users' - ); +export function isCodeBlock(value: unknown): value is ICodeBlock { + const obj = value as ICodeBlock; + return typeof obj === "object" && obj.type === "CodeBlock"; } -export type ComUsersMicrosoftGraphComponentOptions = Omit< - IComUsersMicrosoftGraphComponent, - 'type' | 'name' ->; +export type CodeBlockOptions = Partial>; /** - * Displays multiple users' information, including their profile pictures. + * A formatted and syntax-colored code block. */ -export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphComponent { +export class CodeBlock implements ICodeBlock { /** - * Must be **Component**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **CodeBlock**. */ - readonly type = 'Component'; + readonly type = "CodeBlock"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15608,7 +14636,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -15616,15 +14644,15 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -15632,7 +14660,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -15640,32 +14668,39 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** - * Must be **graph.microsoft.com/users**. + * The code snippet to display. */ - readonly name = 'graph.microsoft.com/users'; + codeSnippet?: string; /** - * The properties of the set. + * The language the code snippet is expressed in. */ - properties?: IPersonaSetProperties; + language?: CodeLanguage = "PlainText"; + /** + * A number that represents the line in the file from where the code snippet was extracted. + */ + startLineNumber?: number = 1; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - constructor(options: ComUsersMicrosoftGraphComponentOptions = {}) { + constructor(options: CodeBlockOptions = {}) { Object.assign(this, options); } - static from( - options: Omit - ): ComUsersMicrosoftGraphComponent { - return new ComUsersMicrosoftGraphComponent(options); + static from(options: Omit): CodeBlock { + return new CodeBlock(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -15718,60 +14753,39 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC return this; } - withProperties(properties: IPersonaSetProperties): this { - this.properties = properties; + withCodeSnippet(codeSnippet: string): this { + this.codeSnippet = codeSnippet; return this; } - withFallback(fallback: FallbackElement): this { - this.fallback = fallback; + withLanguage(language: CodeLanguage): this { + this.language = language; return this; } -} - -/** - * Represents the properties of a PersonaSet component. - */ -export interface IPersonaSetProperties { - /** - * The users a PersonaSet component should display. - */ - users?: IPersonaProperties[]; -} - -export type PersonaSetPropertiesOptions = IPersonaSetProperties; - -/** - * Represents the properties of a PersonaSet component. - */ -export class PersonaSetProperties implements IPersonaSetProperties { - /** - * The users a PersonaSet component should display. - */ - users?: IPersonaProperties[]; - - constructor(options: PersonaSetPropertiesOptions = {}) { - Object.assign(this, options); - } - static from(options: IPersonaSetProperties): PersonaSetProperties { - return new PersonaSetProperties(options); + withStartLineNumber(startLineNumber: number): this { + this.startLineNumber = startLineNumber; + return this; } - withUsers(...users: IPersonaProperties[]): this { - this.users = users; + withFallback(fallback: FallbackElement): this { + this.fallback = fallback; return this; } } /** - * Displays information about a generic graph resource. + * Displays a user's information, including their profile picture. */ -export interface IComResourceMicrosoftGraphComponent { +export interface IComUserMicrosoftGraphComponent { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Component**. */ - readonly type: 'Component'; + readonly type: "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15813,17 +14827,17 @@ export interface IComResourceMicrosoftGraphComponent { */ isSortKey?: boolean; /** - * Must be **graph.microsoft.com/resource**. + * Must be **graph.microsoft.com/user**. */ - readonly name: 'graph.microsoft.com/resource'; + readonly name: "graph.microsoft.com/user"; /** - * The properties of the resource. + * The properties of the Persona component. */ - properties?: IResourceProperties; + properties?: IPersonaProperties; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15834,35 +14848,30 @@ export interface IComResourceMicrosoftGraphComponent { * @hidden * @internal * - * Type guard to check if a value is of type IComResourceMicrosoftGraphComponent. + * Type guard to check if a value is of type IComUserMicrosoftGraphComponent. * * @param value The value to check. - * @returns True if the value is an instance of ComResourceMicrosoftGraphComponent, false otherwise. + * @returns True if the value is an instance of ComUserMicrosoftGraphComponent, false otherwise. */ -export function isComResourceMicrosoftGraphComponent( - value: unknown -): value is IComResourceMicrosoftGraphComponent { - const obj = value as IComResourceMicrosoftGraphComponent; - return ( - typeof obj === 'object' && - obj.type === 'Component' && - obj.name === 'graph.microsoft.com/resource' - ); +export function isComUserMicrosoftGraphComponent(value: unknown): value is IComUserMicrosoftGraphComponent { + const obj = value as IComUserMicrosoftGraphComponent; + return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/user"; } -export type ComResourceMicrosoftGraphComponentOptions = Omit< - IComResourceMicrosoftGraphComponent, - 'type' | 'name' ->; +export type ComUserMicrosoftGraphComponentOptions = Partial>; /** - * Displays information about a generic graph resource. + * Displays a user's information, including their profile picture. */ -export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoftGraphComponent { +export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphComponent { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Component**. */ - readonly type = 'Component'; + readonly type = "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15870,7 +14879,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -15878,15 +14887,15 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -15894,7 +14903,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -15902,32 +14911,35 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** - * Must be **graph.microsoft.com/resource**. + * Must be **graph.microsoft.com/user**. */ - readonly name = 'graph.microsoft.com/resource'; + readonly name = "graph.microsoft.com/user"; /** - * The properties of the resource. + * The properties of the Persona component. */ - properties?: IResourceProperties; + properties?: IPersonaProperties; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - constructor(options: ComResourceMicrosoftGraphComponentOptions = {}) { + constructor(options: ComUserMicrosoftGraphComponentOptions = {}) { Object.assign(this, options); } - static from( - options: Omit - ): ComResourceMicrosoftGraphComponent { - return new ComResourceMicrosoftGraphComponent(options); + static from(options: Omit): ComUserMicrosoftGraphComponent { + return new ComUserMicrosoftGraphComponent(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -15980,7 +14992,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft return this; } - withProperties(properties: IResourceProperties): this { + withProperties(properties: IPersonaProperties): this { this.properties = properties; return this; } @@ -15992,109 +15004,118 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft } /** - * Represents the properties of a resource component. + * Represents the properties of a Persona component. */ -export interface IResourceProperties { +export interface IPersonaProperties { /** - * The Id of the resource. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The Id of the persona. */ id?: string; /** - * The reference to the resource. + * The UPN of the persona. */ - resourceReference?: Record; + userPrincipalName?: string; /** - * The visualization of the resource. + * The display name of the persona. */ - resourceVisualization?: IResourceVisualization; + displayName?: string; + /** + * Defines the style of the icon for the persona. + */ + iconStyle?: PersonaIconStyle; + /** + * Defines how the persona should be displayed. + */ + style?: PersonaDisplayStyle; } -export type ResourcePropertiesOptions = IResourceProperties; + +export type PersonaPropertiesOptions = Partial; /** - * Represents the properties of a resource component. + * Represents the properties of a Persona component. */ -export class ResourceProperties implements IResourceProperties { +export class PersonaProperties implements IPersonaProperties { /** - * The Id of the resource. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The Id of the persona. */ id?: string; /** - * The reference to the resource. + * The UPN of the persona. */ - resourceReference?: Record; + userPrincipalName?: string; /** - * The visualization of the resource. + * The display name of the persona. */ - resourceVisualization?: IResourceVisualization; + displayName?: string; + /** + * Defines the style of the icon for the persona. + */ + iconStyle?: PersonaIconStyle; + /** + * Defines how the persona should be displayed. + */ + style?: PersonaDisplayStyle; - constructor(options: ResourcePropertiesOptions = {}) { + constructor(options: PersonaPropertiesOptions = {}) { Object.assign(this, options); } - static from(options: IResourceProperties): ResourceProperties { - return new ResourceProperties(options); + static from(options: IPersonaProperties): PersonaProperties { + return new PersonaProperties(options); } - withId(id: string): this { - this.id = id; + withKey(key: string): this { + this.key = key; return this; } - withResourceReference(resourceReference: Record): this { - this.resourceReference = resourceReference; + withId(id: string): this { + this.id = id; return this; } - withResourceVisualization(resourceVisualization: IResourceVisualization): this { - this.resourceVisualization = resourceVisualization; + withUserPrincipalName(userPrincipalName: string): this { + this.userPrincipalName = userPrincipalName; return this; } -} - -/** - * Represents a visualization of a resource. - */ -export interface IResourceVisualization { - /** - * The media associated with the resource. - */ - media?: string; -} - -export type ResourceVisualizationOptions = IResourceVisualization; -/** - * Represents a visualization of a resource. - */ -export class ResourceVisualization implements IResourceVisualization { - /** - * The media associated with the resource. - */ - media?: string; - - constructor(options: ResourceVisualizationOptions = {}) { - Object.assign(this, options); + withDisplayName(displayName: string): this { + this.displayName = displayName; + return this; } - static from(options: IResourceVisualization): ResourceVisualization { - return new ResourceVisualization(options); + withIconStyle(iconStyle: PersonaIconStyle): this { + this.iconStyle = iconStyle; + return this; } - withMedia(media: string): this { - this.media = media; + withStyle(style: PersonaDisplayStyle): this { + this.style = style; return this; } } /** - * Displays information about a file resource. + * Displays multiple users' information, including their profile pictures. */ -export interface IComFileMicrosoftGraphComponent { +export interface IComUsersMicrosoftGraphComponent { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Component**. */ - readonly type: 'Component'; + readonly type: "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16136,17 +15157,17 @@ export interface IComFileMicrosoftGraphComponent { */ isSortKey?: boolean; /** - * Must be **graph.microsoft.com/file**. + * Must be **graph.microsoft.com/users**. */ - readonly name: 'graph.microsoft.com/file'; + readonly name: "graph.microsoft.com/users"; /** - * The properties of the file. + * The properties of the PersonaSet component. */ - properties?: IFileProperties; + properties?: IPersonaSetProperties; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16157,33 +15178,30 @@ export interface IComFileMicrosoftGraphComponent { * @hidden * @internal * - * Type guard to check if a value is of type IComFileMicrosoftGraphComponent. + * Type guard to check if a value is of type IComUsersMicrosoftGraphComponent. * * @param value The value to check. - * @returns True if the value is an instance of ComFileMicrosoftGraphComponent, false otherwise. + * @returns True if the value is an instance of ComUsersMicrosoftGraphComponent, false otherwise. */ -export function isComFileMicrosoftGraphComponent( - value: unknown -): value is IComFileMicrosoftGraphComponent { - const obj = value as IComFileMicrosoftGraphComponent; - return ( - typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/file' - ); +export function isComUsersMicrosoftGraphComponent(value: unknown): value is IComUsersMicrosoftGraphComponent { + const obj = value as IComUsersMicrosoftGraphComponent; + return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/users"; } -export type ComFileMicrosoftGraphComponentOptions = Omit< - IComFileMicrosoftGraphComponent, - 'type' | 'name' ->; +export type ComUsersMicrosoftGraphComponentOptions = Partial>; /** - * Displays information about a file resource. + * Displays multiple users' information, including their profile pictures. */ -export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphComponent { +export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphComponent { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Component**. */ - readonly type = 'Component'; + readonly type = "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16191,7 +15209,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -16199,15 +15217,15 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -16215,7 +15233,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -16223,32 +15241,35 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** - * Must be **graph.microsoft.com/file**. + * Must be **graph.microsoft.com/users**. */ - readonly name = 'graph.microsoft.com/file'; + readonly name = "graph.microsoft.com/users"; /** - * The properties of the file. + * The properties of the PersonaSet component. */ - properties?: IFileProperties; + properties?: IPersonaSetProperties; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - constructor(options: ComFileMicrosoftGraphComponentOptions = {}) { + constructor(options: ComUsersMicrosoftGraphComponentOptions = {}) { Object.assign(this, options); } - static from( - options: Omit - ): ComFileMicrosoftGraphComponent { - return new ComFileMicrosoftGraphComponent(options); + static from(options: Omit): ComUsersMicrosoftGraphComponent { + return new ComUsersMicrosoftGraphComponent(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -16301,7 +15322,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom return this; } - withProperties(properties: IFileProperties): this { + withProperties(properties: IPersonaSetProperties): this { this.properties = properties; return this; } @@ -16313,74 +15334,92 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom } /** - * Represents the properties of a file component. + * Represents the properties of a PersonaSet component. */ -export interface IFileProperties { +export interface IPersonaSetProperties { /** - * The name of the file. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - name?: string; + key?: string; /** - * The file extension. + * The users a PersonaSet component should display. */ - extension?: string; + users?: IPersonaProperties[]; /** - * The URL of the file. + * Defines the style of the icon for the personas in the set. */ - url?: string; + iconStyle?: PersonaIconStyle; + /** + * Defines how each persona in the set should be displayed. + */ + style?: PersonaDisplayStyle; } -export type FilePropertiesOptions = IFileProperties; + +export type PersonaSetPropertiesOptions = Partial; /** - * Represents the properties of a file component. + * Represents the properties of a PersonaSet component. */ -export class FileProperties implements IFileProperties { +export class PersonaSetProperties implements IPersonaSetProperties { /** - * The name of the file. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - name?: string; + key?: string; /** - * The file extension. + * The users a PersonaSet component should display. */ - extension?: string; + users?: IPersonaProperties[]; /** - * The URL of the file. + * Defines the style of the icon for the personas in the set. */ - url?: string; + iconStyle?: PersonaIconStyle; + /** + * Defines how each persona in the set should be displayed. + */ + style?: PersonaDisplayStyle; - constructor(options: FilePropertiesOptions = {}) { + constructor(options: PersonaSetPropertiesOptions = {}) { Object.assign(this, options); } - static from(options: IFileProperties): FileProperties { - return new FileProperties(options); + static from(options: IPersonaSetProperties): PersonaSetProperties { + return new PersonaSetProperties(options); } - withName(name: string): this { - this.name = name; + withKey(key: string): this { + this.key = key; return this; } - withExtension(extension: string): this { - this.extension = extension; + withUsers(...users: IPersonaProperties[]): this { + this.users = users; return this; } - withUrl(url: string): this { - this.url = url; + withIconStyle(iconStyle: PersonaIconStyle): this { + this.iconStyle = iconStyle; + return this; + } + + withStyle(style: PersonaDisplayStyle): this { + this.style = style; return this; } } /** - * Displays information about a calendar event. + * Displays information about a generic graph resource. */ -export interface IComEventMicrosoftGraphComponent { +export interface IComResourceMicrosoftGraphComponent { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Component**. */ - readonly type: 'Component'; + readonly type: "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16422,17 +15461,17 @@ export interface IComEventMicrosoftGraphComponent { */ isSortKey?: boolean; /** - * Must be **graph.microsoft.com/event**. + * Must be **graph.microsoft.com/resource**. */ - readonly name: 'graph.microsoft.com/event'; + readonly name: "graph.microsoft.com/resource"; /** - * The properties of the event. + * The properties of the resource. */ - properties?: ICalendarEventProperties; + properties?: IResourceProperties; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16443,33 +15482,30 @@ export interface IComEventMicrosoftGraphComponent { * @hidden * @internal * - * Type guard to check if a value is of type IComEventMicrosoftGraphComponent. + * Type guard to check if a value is of type IComResourceMicrosoftGraphComponent. * * @param value The value to check. - * @returns True if the value is an instance of ComEventMicrosoftGraphComponent, false otherwise. + * @returns True if the value is an instance of ComResourceMicrosoftGraphComponent, false otherwise. */ -export function isComEventMicrosoftGraphComponent( - value: unknown -): value is IComEventMicrosoftGraphComponent { - const obj = value as IComEventMicrosoftGraphComponent; - return ( - typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/event' - ); +export function isComResourceMicrosoftGraphComponent(value: unknown): value is IComResourceMicrosoftGraphComponent { + const obj = value as IComResourceMicrosoftGraphComponent; + return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/resource"; } -export type ComEventMicrosoftGraphComponentOptions = Omit< - IComEventMicrosoftGraphComponent, - 'type' | 'name' ->; +export type ComResourceMicrosoftGraphComponentOptions = Partial>; /** - * Displays information about a calendar event. + * Displays information about a generic graph resource. */ -export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphComponent { +export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoftGraphComponent { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; /** * Must be **Component**. */ - readonly type = 'Component'; + readonly type = "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16477,7 +15513,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -16485,15 +15521,15 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -16501,7 +15537,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -16509,32 +15545,35 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** - * Must be **graph.microsoft.com/event**. + * Must be **graph.microsoft.com/resource**. */ - readonly name = 'graph.microsoft.com/event'; + readonly name = "graph.microsoft.com/resource"; /** - * The properties of the event. + * The properties of the resource. */ - properties?: ICalendarEventProperties; + properties?: IResourceProperties; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - constructor(options: ComEventMicrosoftGraphComponentOptions = {}) { + constructor(options: ComResourceMicrosoftGraphComponentOptions = {}) { Object.assign(this, options); } - static from( - options: Omit - ): ComEventMicrosoftGraphComponent { - return new ComEventMicrosoftGraphComponent(options); + static from(options: Omit): ComResourceMicrosoftGraphComponent { + return new ComResourceMicrosoftGraphComponent(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -16587,7 +15626,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC return this; } - withProperties(properties: ICalendarEventProperties): this { + withProperties(properties: IResourceProperties): this { this.properties = properties; return this; } @@ -16599,278 +15638,141 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC } /** - * The properties of a calendar event. + * Represents the properties of a resource component. */ -export interface ICalendarEventProperties { +export interface IResourceProperties { /** - * The ID of the event. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - id?: string; + key?: string; /** - * The title of the event. + * The Id of the resource. */ - title?: string; + id?: string; /** - * The start date and time of the event. + * The reference to the resource. */ - start?: string; + resourceReference?: Record; /** - * The end date and time of the event. + * The visualization of the resource. */ - end?: string; + resourceVisualization?: IResourceVisualization; +} + + +export type ResourcePropertiesOptions = Partial; + +/** + * Represents the properties of a resource component. + */ +export class ResourceProperties implements IResourceProperties { /** - * The status of the event. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - status?: string; + key?: string; /** - * The locations of the event. + * The Id of the resource. */ - locations?: string[]; + id?: string; /** - * The URL of the online meeting. + * The reference to the resource. */ - onlineMeetingUrl?: string; + resourceReference?: Record; /** - * Indicates if the event is all day. - */ - isAllDay?: boolean; - /** - * The extension of the event. - */ - extension?: string; - /** - * The URL of the event. - */ - url?: string; - /** - * The attendees of the event. - */ - attendees?: ICalendarEventAttendee[]; - /** - * The organizer of the event. - */ - organizer?: ICalendarEventAttendee; -} - -export type CalendarEventPropertiesOptions = ICalendarEventProperties; - -/** - * The properties of a calendar event. - */ -export class CalendarEventProperties implements ICalendarEventProperties { - /** - * The ID of the event. - */ - id?: string; - /** - * The title of the event. - */ - title?: string; - /** - * The start date and time of the event. - */ - start?: string; - /** - * The end date and time of the event. - */ - end?: string; - /** - * The status of the event. - */ - status?: string; - /** - * The locations of the event. - */ - locations?: string[]; - /** - * The URL of the online meeting. - */ - onlineMeetingUrl?: string; - /** - * Indicates if the event is all day. - */ - isAllDay?: boolean; - /** - * The extension of the event. - */ - extension?: string; - /** - * The URL of the event. - */ - url?: string; - /** - * The attendees of the event. - */ - attendees?: ICalendarEventAttendee[]; - /** - * The organizer of the event. + * The visualization of the resource. */ - organizer?: ICalendarEventAttendee; + resourceVisualization?: IResourceVisualization; - constructor(options: CalendarEventPropertiesOptions = {}) { + constructor(options: ResourcePropertiesOptions = {}) { Object.assign(this, options); } - static from(options: ICalendarEventProperties): CalendarEventProperties { - return new CalendarEventProperties(options); - } - - withId(id: string): this { - this.id = id; - return this; - } - - withTitle(title: string): this { - this.title = title; - return this; - } - - withStart(start: string): this { - this.start = start; - return this; - } - - withEnd(end: string): this { - this.end = end; - return this; - } - - withStatus(status: string): this { - this.status = status; - return this; - } - - withLocations(...locations: string[]): this { - this.locations = locations; - return this; - } - - withOnlineMeetingUrl(onlineMeetingUrl: string): this { - this.onlineMeetingUrl = onlineMeetingUrl; - return this; - } - - withIsAllDay(isAllDay: boolean): this { - this.isAllDay = isAllDay; - return this; + static from(options: IResourceProperties): ResourceProperties { + return new ResourceProperties(options); } - withExtension(extension: string): this { - this.extension = extension; + withKey(key: string): this { + this.key = key; return this; } - withUrl(url: string): this { - this.url = url; + withId(id: string): this { + this.id = id; return this; } - withAttendees(...attendees: ICalendarEventAttendee[]): this { - this.attendees = attendees; + withResourceReference(resourceReference: Record): this { + this.resourceReference = resourceReference; return this; } - withOrganizer(organizer: ICalendarEventAttendee): this { - this.organizer = organizer; + withResourceVisualization(resourceVisualization: IResourceVisualization): this { + this.resourceVisualization = resourceVisualization; return this; } } /** - * Represents a calendar event attendee. + * Represents a visualization of a resource. */ -export interface ICalendarEventAttendee { - /** - * The name of the attendee. - */ - name?: string; - /** - * The email address of the attendee. - */ - email?: string; - /** - * The title of the attendee. - */ - title?: string; +export interface IResourceVisualization { /** - * The type of the attendee. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - type?: string; + key?: string; /** - * The status of the attendee. + * The media associated with the resource. */ - status?: string; + media?: string; } -export type CalendarEventAttendeeOptions = ICalendarEventAttendee; + +export type ResourceVisualizationOptions = Partial; /** - * Represents a calendar event attendee. + * Represents a visualization of a resource. */ -export class CalendarEventAttendee implements ICalendarEventAttendee { - /** - * The name of the attendee. - */ - name?: string; - /** - * The email address of the attendee. - */ - email?: string; - /** - * The title of the attendee. - */ - title?: string; +export class ResourceVisualization implements IResourceVisualization { /** - * The type of the attendee. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - type?: string; + key?: string; /** - * The status of the attendee. + * The media associated with the resource. */ - status?: string; + media?: string; - constructor(options: CalendarEventAttendeeOptions = {}) { + constructor(options: ResourceVisualizationOptions = {}) { Object.assign(this, options); } - static from(options: ICalendarEventAttendee): CalendarEventAttendee { - return new CalendarEventAttendee(options); - } - - withName(name: string): this { - this.name = name; - return this; - } - - withEmail(email: string): this { - this.email = email; - return this; - } - - withTitle(title: string): this { - this.title = title; - return this; + static from(options: IResourceVisualization): ResourceVisualization { + return new ResourceVisualization(options); } - withType(type: string): this { - this.type = type; + withKey(key: string): this { + this.key = key; return this; } - withStatus(status: string): this { - this.status = status; + withMedia(media: string): this { + this.media = media; return this; } } /** - * A page inside a Carousel element. + * Displays information about a file resource. */ -export interface ICarouselPage { +export interface IComFileMicrosoftGraphComponent { /** - * Must be **CarouselPage**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Component**. */ - readonly type: 'CarouselPage'; + readonly type: "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16888,100 +15790,75 @@ export interface ICarouselPage { */ isVisible?: boolean; /** - * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. - */ - height?: ElementHeight; - /** - * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). + * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - targetWidth?: TargetWidth; + separator?: boolean; /** - * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - isSortKey?: boolean; + height?: ElementHeight; /** - * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. + * Controls how the element should be horizontally aligned. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + horizontalAlignment?: HorizontalAlignment; /** - * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. + * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - style?: ContainerStyle; + spacing?: Spacing; /** - * Controls if a border should be displayed around the container. + * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ - showBorder?: boolean; + targetWidth?: TargetWidth; /** - * Controls if the container should have rounded corners. + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - roundedCorners?: boolean; + isSortKey?: boolean; /** - * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See [Container layouts](https://adaptivecards.microsoft.com/?topic=container-layouts) for more details. + * Must be **graph.microsoft.com/file**. */ - layouts?: (IStackLayout | IFlowLayout | IAreaGridLayout)[]; + readonly name: "graph.microsoft.com/file"; /** - * The minimum height, in pixels, of the container, in the `px` format. + * The properties of the file. */ - minHeight?: string; + properties?: IFileProperties; /** - * Defines the container's background image. + * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - backgroundImage?: string | IBackgroundImage; + "grid.area"?: string; /** - * Controls how the container's content should be vertically aligned. - */ - verticalContentAlignment?: VerticalAlignment; - /** - * Controls if the content of the card is to be rendered left-to-right or right-to-left. - */ - rtl?: boolean; - /** - * The maximum height, in pixels, of the container, in the `px` format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed. - */ - maxHeight?: string; - /** - * The area of a Layout.AreaGrid layout in which an element should be displayed. - */ - 'grid.area'?: string; - /** - * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - /** - * The elements in the page. - */ - items: CardElementArray; } /** * @hidden * @internal * - * Type guard to check if a value is of type ICarouselPage. + * Type guard to check if a value is of type IComFileMicrosoftGraphComponent. * * @param value The value to check. - * @returns True if the value is an instance of CarouselPage, false otherwise. + * @returns True if the value is an instance of ComFileMicrosoftGraphComponent, false otherwise. */ -export function isCarouselPage(value: unknown): value is ICarouselPage { - const obj = value as ICarouselPage; - return typeof obj === 'object' && obj.type === 'CarouselPage'; +export function isComFileMicrosoftGraphComponent(value: unknown): value is IComFileMicrosoftGraphComponent { + const obj = value as IComFileMicrosoftGraphComponent; + return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/file"; } -export type CarouselPageOptions = Omit; +export type ComFileMicrosoftGraphComponentOptions = Partial>; /** - * A page inside a Carousel element. + * Displays information about a file resource. */ -export class CarouselPage implements ICarouselPage { +export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphComponent { /** - * Must be **CarouselPage**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type = 'CarouselPage'; + key?: string; + /** + * Must be **Component**. + */ + readonly type = "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16989,7 +15866,7 @@ export class CarouselPage implements ICarouselPage { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -16997,83 +15874,58 @@ export class CarouselPage implements ICarouselPage { /** * Controls the visibility of the element. */ - isVisible?: boolean; - /** - * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. - */ - height?: ElementHeight; - /** - * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). - */ - targetWidth?: TargetWidth; - /** - * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. - */ - isSortKey?: boolean; - /** - * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. - */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + isVisible?: boolean = true; /** - * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. - */ - style?: ContainerStyle; - /** - * Controls if a border should be displayed around the container. + * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - showBorder?: boolean; + separator?: boolean = false; /** - * Controls if the container should have rounded corners. + * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - roundedCorners?: boolean; + height?: ElementHeight = "auto"; /** - * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See [Container layouts](https://adaptivecards.microsoft.com/?topic=container-layouts) for more details. + * Controls how the element should be horizontally aligned. */ - layouts?: (IStackLayout | IFlowLayout | IAreaGridLayout)[]; + horizontalAlignment?: HorizontalAlignment; /** - * The minimum height, in pixels, of the container, in the `px` format. + * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - minHeight?: string; + spacing?: Spacing = "Default"; /** - * Defines the container's background image. + * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ - backgroundImage?: string | IBackgroundImage; + targetWidth?: TargetWidth; /** - * Controls how the container's content should be vertically aligned. + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - verticalContentAlignment?: VerticalAlignment; + isSortKey?: boolean = false; /** - * Controls if the content of the card is to be rendered left-to-right or right-to-left. + * Must be **graph.microsoft.com/file**. */ - rtl?: boolean; + readonly name = "graph.microsoft.com/file"; /** - * The maximum height, in pixels, of the container, in the `px` format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed. + * The properties of the file. */ - maxHeight?: string; + properties?: IFileProperties; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - /** - * The elements in the page. - */ - items: CardElementArray; - constructor(...items: CardElementArray) { - this.items = items; + constructor(options: ComFileMicrosoftGraphComponentOptions = {}) { + Object.assign(this, options); } - withOptions(value: CarouselPageOptions): this { - Object.assign(this, value); + static from(options: Omit): ComFileMicrosoftGraphComponent { + return new ComFileMicrosoftGraphComponent(options); + } + + withKey(key: string): this { + this.key = key; return this; } @@ -17097,97 +15949,134 @@ export class CarouselPage implements ICarouselPage { return this; } - withHeight(height: ElementHeight): this { - this.height = height; + withSeparator(separator = true): this { + this.separator = separator; return this; } - withTargetWidth(targetWidth: TargetWidth): this { - this.targetWidth = targetWidth; + withHeight(height: ElementHeight): this { + this.height = height; return this; } - withIsSortKey(isSortKey = true): this { - this.isSortKey = isSortKey; + withHorizontalAlignment(horizontalAlignment: HorizontalAlignment): this { + this.horizontalAlignment = horizontalAlignment; return this; } - withSelectAction( - selectAction: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction - ): this { - this.selectAction = selectAction; + withSpacing(spacing: Spacing): this { + this.spacing = spacing; return this; } - withStyle(style: ContainerStyle): this { - this.style = style; + withTargetWidth(targetWidth: TargetWidth): this { + this.targetWidth = targetWidth; return this; } - withShowBorder(showBorder = true): this { - this.showBorder = showBorder; + withIsSortKey(isSortKey = true): this { + this.isSortKey = isSortKey; return this; } - withRoundedCorners(roundedCorners = true): this { - this.roundedCorners = roundedCorners; + withProperties(properties: IFileProperties): this { + this.properties = properties; return this; } - withLayouts(...layouts: (IStackLayout | IFlowLayout | IAreaGridLayout)[]): this { - this.layouts = layouts; + withFallback(fallback: FallbackElement): this { + this.fallback = fallback; return this; } +} - withMinHeight(minHeight: string): this { - this.minHeight = minHeight; - return this; - } +/** + * Represents the properties of a file component. + */ +export interface IFileProperties { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The name of the file. + */ + name?: string; + /** + * The file extension. + */ + extension?: string; + /** + * The URL of the file. + */ + url?: string; +} - withBackgroundImage(backgroundImage: string | IBackgroundImage): this { - this.backgroundImage = backgroundImage; - return this; + +export type FilePropertiesOptions = Partial; + +/** + * Represents the properties of a file component. + */ +export class FileProperties implements IFileProperties { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The name of the file. + */ + name?: string; + /** + * The file extension. + */ + extension?: string; + /** + * The URL of the file. + */ + url?: string; + + constructor(options: FilePropertiesOptions = {}) { + Object.assign(this, options); } - withVerticalContentAlignment(verticalContentAlignment: VerticalAlignment): this { - this.verticalContentAlignment = verticalContentAlignment; - return this; + static from(options: IFileProperties): FileProperties { + return new FileProperties(options); } - withRtl(rtl: boolean): this { - this.rtl = rtl; + withKey(key: string): this { + this.key = key; return this; } - withMaxHeight(maxHeight: string): this { - this.maxHeight = maxHeight; + withName(name: string): this { + this.name = name; return this; } - withFallback(fallback: FallbackElement): this { - this.fallback = fallback; + withExtension(extension: string): this { + this.extension = extension; return this; } - withItems(...items: CardElementArray): this { - this.items = items; + withUrl(url: string): this { + this.url = url; return this; } } /** - * Represents a row of cells in a table. + * Displays information about a calendar event. */ -export interface ITableRow { +export interface IComEventMicrosoftGraphComponent { /** - * Must be **TableRow**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Component**. */ - readonly type: 'TableRow'; + readonly type: "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17229,63 +16118,51 @@ export interface ITableRow { */ isSortKey?: boolean; /** - * Controls if a border should be displayed around the container. - */ - showBorder?: boolean; - /** - * Controls if the container should have rounded corners. - */ - roundedCorners?: boolean; - /** - * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. - */ - style?: ContainerStyle; - /** - * Controls how the content of every cell in the row should be horizontally aligned by default. This property overrides the horizontalCellContentAlignment property of the table and columns. + * Must be **graph.microsoft.com/event**. */ - horizontalCellContentAlignment?: HorizontalAlignment; + readonly name: "graph.microsoft.com/event"; /** - * Controls how the content of every cell in the row should be vertically aligned by default. This property overrides the verticalCellContentAlignment property of the table and columns. + * The properties of the event. */ - verticalCellContentAlignment?: VerticalAlignment; + properties?: ICalendarEventProperties; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - /** - * The cells in the row. - */ - cells?: TableCellArray; } /** * @hidden * @internal * - * Type guard to check if a value is of type ITableRow. + * Type guard to check if a value is of type IComEventMicrosoftGraphComponent. * * @param value The value to check. - * @returns True if the value is an instance of TableRow, false otherwise. + * @returns True if the value is an instance of ComEventMicrosoftGraphComponent, false otherwise. */ -export function isTableRow(value: unknown): value is ITableRow { - const obj = value as ITableRow; - return typeof obj === 'object' && obj.type === 'TableRow'; +export function isComEventMicrosoftGraphComponent(value: unknown): value is IComEventMicrosoftGraphComponent { + const obj = value as IComEventMicrosoftGraphComponent; + return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/event"; } -export type TableRowOptions = Omit; +export type ComEventMicrosoftGraphComponentOptions = Partial>; /** - * Represents a row of cells in a table. + * Displays information about a calendar event. */ -export class TableRow implements ITableRow { +export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphComponent { /** - * Must be **TableRow**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **Component**. */ - readonly type = 'TableRow'; + readonly type = "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17293,7 +16170,7 @@ export class TableRow implements ITableRow { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -17301,15 +16178,15 @@ export class TableRow implements ITableRow { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -17317,7 +16194,7 @@ export class TableRow implements ITableRow { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -17325,46 +16202,35 @@ export class TableRow implements ITableRow { /** * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - isSortKey?: boolean; + isSortKey?: boolean = false; /** - * Controls if a border should be displayed around the container. + * Must be **graph.microsoft.com/event**. */ - showBorder?: boolean; + readonly name = "graph.microsoft.com/event"; /** - * Controls if the container should have rounded corners. + * The properties of the event. */ - roundedCorners?: boolean; + properties?: ICalendarEventProperties; /** - * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. + * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - style?: ContainerStyle; + "grid.area"?: string; /** - * Controls how the content of every cell in the row should be horizontally aligned by default. This property overrides the horizontalCellContentAlignment property of the table and columns. - */ - horizontalCellContentAlignment?: HorizontalAlignment; - /** - * Controls how the content of every cell in the row should be vertically aligned by default. This property overrides the verticalCellContentAlignment property of the table and columns. - */ - verticalCellContentAlignment?: VerticalAlignment; - /** - * The area of a Layout.AreaGrid layout in which an element should be displayed. - */ - 'grid.area'?: string; - /** - * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; - /** - * The cells in the row. - */ - cells?: TableCellArray; - constructor(options: TableRowOptions = {}) { + constructor(options: ComEventMicrosoftGraphComponentOptions = {}) { Object.assign(this, options); } - static from(options: Omit): TableRow { - return new TableRow(options); + static from(options: Omit): ComEventMicrosoftGraphComponent { + return new ComEventMicrosoftGraphComponent(options); + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -17417,28 +16283,8 @@ export class TableRow implements ITableRow { return this; } - withShowBorder(showBorder = true): this { - this.showBorder = showBorder; - return this; - } - - withRoundedCorners(roundedCorners = true): this { - this.roundedCorners = roundedCorners; - return this; - } - - withStyle(style: ContainerStyle): this { - this.style = style; - return this; - } - - withHorizontalCellContentAlignment(horizontalCellContentAlignment: HorizontalAlignment): this { - this.horizontalCellContentAlignment = horizontalCellContentAlignment; - return this; - } - - withVerticalCellContentAlignment(verticalCellContentAlignment: VerticalAlignment): this { - this.verticalCellContentAlignment = verticalCellContentAlignment; + withProperties(properties: ICalendarEventProperties): this { + this.properties = properties; return this; } @@ -17446,232 +16292,136 @@ export class TableRow implements ITableRow { this.fallback = fallback; return this; } - - withCells(...cells: TableCellArray): this { - this.cells = cells; - return this; - } } /** - * Represents a cell in a table row. + * The properties of a calendar event. */ -export interface ITableCell { +export interface ICalendarEventProperties { /** - * Must be **TableCell**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type: 'TableCell'; + key?: string; /** - * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + * The ID of the event. */ id?: string; /** - * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). - */ - requires?: IHostCapabilities; - /** - * The locale associated with the element. - */ - lang?: string; - /** - * Controls the visibility of the element. - */ - isVisible?: boolean; - /** - * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. - */ - separator?: boolean; - /** - * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. - */ - height?: ElementHeight; - /** - * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. - */ - spacing?: Spacing; - /** - * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). - */ - targetWidth?: TargetWidth; - /** - * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. - */ - isSortKey?: boolean; - /** - * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. - */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; - /** - * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. + * The title of the event. */ - style?: ContainerStyle; + title?: string; /** - * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See [Container layouts](https://adaptivecards.microsoft.com/?topic=container-layouts) for more details. + * The start date and time of the event. */ - layouts?: (IStackLayout | IFlowLayout | IAreaGridLayout)[]; + start?: string; /** - * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding. + * The end date and time of the event. */ - bleed?: boolean; + end?: string; /** - * The minimum height, in pixels, of the container, in the `px` format. + * The status of the event. */ - minHeight?: string; + status?: string; /** - * Defines the container's background image. + * The locations of the event. */ - backgroundImage?: string | IBackgroundImage; + locations?: string[]; /** - * Controls how the container's content should be vertically aligned. + * The URL of the online meeting. */ - verticalContentAlignment?: VerticalAlignment; + onlineMeetingUrl?: string; /** - * Controls if the content of the card is to be rendered left-to-right or right-to-left. + * Indicates if the event is all day. */ - rtl?: boolean; + isAllDay?: boolean; /** - * The maximum height, in pixels, of the container, in the `px` format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed. + * The extension of the event. */ - maxHeight?: string; + extension?: string; /** - * The area of a Layout.AreaGrid layout in which an element should be displayed. + * The URL of the event. */ - 'grid.area'?: string; + url?: string; /** - * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + * The attendees of the event. */ - fallback?: FallbackElement; + attendees?: ICalendarEventAttendee[]; /** - * The items (elements) in the cell. + * The organizer of the event. */ - items: CardElementArray; + organizer?: ICalendarEventAttendee; } -/** - * @hidden - * @internal - * - * Type guard to check if a value is of type ITableCell. - * - * @param value The value to check. - * @returns True if the value is an instance of TableCell, false otherwise. - */ -export function isTableCell(value: unknown): value is ITableCell { - const obj = value as ITableCell; - return typeof obj === 'object' && obj.type === 'TableCell'; -} -export type TableCellOptions = Omit; +export type CalendarEventPropertiesOptions = Partial; /** - * Represents a cell in a table row. + * The properties of a calendar event. */ -export class TableCell implements ITableCell { +export class CalendarEventProperties implements ICalendarEventProperties { /** - * Must be **TableCell**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type = 'TableCell'; + key?: string; /** - * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + * The ID of the event. */ id?: string; /** - * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). - */ - requires?: IHostCapabilities; - /** - * The locale associated with the element. - */ - lang?: string; - /** - * Controls the visibility of the element. - */ - isVisible?: boolean; - /** - * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. - */ - separator?: boolean; - /** - * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. - */ - height?: ElementHeight; - /** - * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. - */ - spacing?: Spacing; - /** - * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). - */ - targetWidth?: TargetWidth; - /** - * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. - */ - isSortKey?: boolean; - /** - * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. - */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; - /** - * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. + * The title of the event. */ - style?: ContainerStyle; + title?: string; /** - * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See [Container layouts](https://adaptivecards.microsoft.com/?topic=container-layouts) for more details. + * The start date and time of the event. */ - layouts?: (IStackLayout | IFlowLayout | IAreaGridLayout)[]; + start?: string; /** - * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding. + * The end date and time of the event. */ - bleed?: boolean; + end?: string; /** - * The minimum height, in pixels, of the container, in the `px` format. + * The status of the event. */ - minHeight?: string; + status?: string; /** - * Defines the container's background image. + * The locations of the event. */ - backgroundImage?: string | IBackgroundImage; + locations?: string[]; /** - * Controls how the container's content should be vertically aligned. + * The URL of the online meeting. */ - verticalContentAlignment?: VerticalAlignment; + onlineMeetingUrl?: string; /** - * Controls if the content of the card is to be rendered left-to-right or right-to-left. + * Indicates if the event is all day. */ - rtl?: boolean; + isAllDay?: boolean; /** - * The maximum height, in pixels, of the container, in the `px` format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed. + * The extension of the event. */ - maxHeight?: string; + extension?: string; /** - * The area of a Layout.AreaGrid layout in which an element should be displayed. + * The URL of the event. */ - 'grid.area'?: string; + url?: string; /** - * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + * The attendees of the event. */ - fallback?: FallbackElement; + attendees?: ICalendarEventAttendee[]; /** - * The items (elements) in the cell. + * The organizer of the event. */ - items: CardElementArray; + organizer?: ICalendarEventAttendee; - constructor(...items: CardElementArray) { - this.items = items; + constructor(options: CalendarEventPropertiesOptions = {}) { + Object.assign(this, options); } - withOptions(value: TableCellOptions): this { - Object.assign(this, value); + static from(options: ICalendarEventProperties): CalendarEventProperties { + return new CalendarEventProperties(options); + } + + withKey(key: string): this { + this.key = key; return this; } @@ -17680,121 +16430,183 @@ export class TableCell implements ITableCell { return this; } - withRequires(requires: IHostCapabilities): this { - this.requires = requires; + withTitle(title: string): this { + this.title = title; return this; } - withLang(lang: string): this { - this.lang = lang; + withStart(start: string): this { + this.start = start; return this; } - withIsVisible(isVisible = false): this { - this.isVisible = isVisible; + withEnd(end: string): this { + this.end = end; return this; } - withSeparator(separator = true): this { - this.separator = separator; + withStatus(status: string): this { + this.status = status; return this; } - withHeight(height: ElementHeight): this { - this.height = height; + withLocations(...locations: string[]): this { + this.locations = locations; return this; } - withSpacing(spacing: Spacing): this { - this.spacing = spacing; + withOnlineMeetingUrl(onlineMeetingUrl: string): this { + this.onlineMeetingUrl = onlineMeetingUrl; return this; } - withTargetWidth(targetWidth: TargetWidth): this { - this.targetWidth = targetWidth; + withIsAllDay(isAllDay: boolean): this { + this.isAllDay = isAllDay; return this; } - withIsSortKey(isSortKey = true): this { - this.isSortKey = isSortKey; + withExtension(extension: string): this { + this.extension = extension; return this; } - withSelectAction( - selectAction: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction - ): this { - this.selectAction = selectAction; + withUrl(url: string): this { + this.url = url; return this; } - withStyle(style: ContainerStyle): this { - this.style = style; + withAttendees(...attendees: ICalendarEventAttendee[]): this { + this.attendees = attendees; return this; } - withLayouts(...layouts: (IStackLayout | IFlowLayout | IAreaGridLayout)[]): this { - this.layouts = layouts; + withOrganizer(organizer: ICalendarEventAttendee): this { + this.organizer = organizer; return this; } +} - withBleed(bleed = true): this { - this.bleed = bleed; - return this; +/** + * Represents a calendar event attendee. + */ +export interface ICalendarEventAttendee { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The name of the attendee. + */ + name?: string; + /** + * The email address of the attendee. + */ + email?: string; + /** + * The title of the attendee. + */ + title?: string; + /** + * The type of the attendee. + */ + type?: string; + /** + * The status of the attendee. + */ + status?: string; +} + + +export type CalendarEventAttendeeOptions = Partial; + +/** + * Represents a calendar event attendee. + */ +export class CalendarEventAttendee implements ICalendarEventAttendee { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The name of the attendee. + */ + name?: string; + /** + * The email address of the attendee. + */ + email?: string; + /** + * The title of the attendee. + */ + title?: string; + /** + * The type of the attendee. + */ + type?: string; + /** + * The status of the attendee. + */ + status?: string; + + constructor(options: CalendarEventAttendeeOptions = {}) { + Object.assign(this, options); } - withMinHeight(minHeight: string): this { - this.minHeight = minHeight; - return this; + static from(options: ICalendarEventAttendee): CalendarEventAttendee { + return new CalendarEventAttendee(options); } - withBackgroundImage(backgroundImage: string | IBackgroundImage): this { - this.backgroundImage = backgroundImage; + withKey(key: string): this { + this.key = key; return this; } - withVerticalContentAlignment(verticalContentAlignment: VerticalAlignment): this { - this.verticalContentAlignment = verticalContentAlignment; + withName(name: string): this { + this.name = name; return this; } - withRtl(rtl: boolean): this { - this.rtl = rtl; + withEmail(email: string): this { + this.email = email; return this; } - withMaxHeight(maxHeight: string): this { - this.maxHeight = maxHeight; + withTitle(title: string): this { + this.title = title; return this; } - withFallback(fallback: FallbackElement): this { - this.fallback = fallback; + withType(type: string): this { + this.type = type; return this; } - withItems(...items: CardElementArray): this { - this.items = items; + withStatus(status: string): this { + this.status = status; return this; } } /** - * A block of text inside a RichTextBlock element. + * A page inside a Carousel element. */ -export interface ITextRun { +export interface ICarouselPage { /** - * Must be **TextRun**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **CarouselPage**. */ - readonly type: 'TextRun'; + readonly type: "CarouselPage"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ id?: string; + /** + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). + */ + requires?: IHostCapabilities; /** * The locale associated with the element. */ @@ -17804,96 +16616,107 @@ export interface ITextRun { */ isVisible?: boolean; /** - * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - isSortKey?: boolean; + height?: ElementHeight; /** - * The text to display. A subset of markdown is supported. + * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ - text: string; + targetWidth?: TargetWidth; /** - * The size of the text. + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - size?: TextSize; + isSortKey?: boolean; /** - * The weight of the text. + * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. */ - weight?: TextWeight; + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; /** - * The color of the text. + * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. */ - color?: TextColor; + style?: ContainerStyle; /** - * Controls whether the text should be renderer using a subtler variant of the select color. + * Controls if a border should be displayed around the container. */ - isSubtle?: boolean; + showBorder?: boolean; /** - * The type of font to use for rendering. + * Controls if the container should have rounded corners. */ - fontType?: FontType; + roundedCorners?: boolean; /** - * Controls if the text should be italicized. + * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See [Container layouts](https://adaptivecards.microsoft.com/?topic=container-layouts) for more details. */ - italic?: boolean; + layouts?: (IStackLayout | IFlowLayout | IAreaGridLayout)[]; /** - * Controls if the text should be struck through. + * The minimum height, in pixels, of the container, in the `px` format. */ - strikethrough?: boolean; + minHeight?: string; /** - * Controls if the text should be highlighted. + * Defines the container's background image. */ - highlight?: boolean; + backgroundImage?: string | IBackgroundImage; /** - * Controls if the text should be underlined. + * Controls how the container's content should be vertically aligned. */ - underline?: boolean; + verticalContentAlignment?: VerticalAlignment; /** - * An Action that will be invoked when the text is tapped or clicked. Action.ShowCard is not supported. + * Controls if the content of the card is to be rendered left-to-right or right-to-left. + */ + rtl?: boolean; + /** + * The maximum height, in pixels, of the container, in the `px` format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + maxHeight?: string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; + /** + * The elements in the page. + */ + items: CardElementArray; } /** * @hidden * @internal * - * Type guard to check if a value is of type ITextRun. + * Type guard to check if a value is of type ICarouselPage. * * @param value The value to check. - * @returns True if the value is an instance of TextRun, false otherwise. + * @returns True if the value is an instance of CarouselPage, false otherwise. */ -export function isTextRun(value: unknown): value is ITextRun { - const obj = value as ITextRun; - return typeof obj === 'object' && obj.type === 'TextRun'; +export function isCarouselPage(value: unknown): value is ICarouselPage { + const obj = value as ICarouselPage; + return typeof obj === "object" && obj.type === "CarouselPage"; } -export type TextRunOptions = Omit; +export type CarouselPageOptions = Partial>; /** - * A block of text inside a RichTextBlock element. + * A page inside a Carousel element. */ -export class TextRun implements ITextRun { +export class CarouselPage implements ICarouselPage { /** - * Must be **TextRun**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **CarouselPage**. */ - readonly type = 'TextRun'; + readonly type = "CarouselPage"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ id?: string; + /** + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). + */ + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -17901,76 +16724,84 @@ export class TextRun implements ITextRun { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** - * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - isSortKey?: boolean; + height?: ElementHeight = "auto"; /** - * The text to display. A subset of markdown is supported. + * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ - text: string; + targetWidth?: TargetWidth; /** - * The size of the text. + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ - size?: TextSize; + isSortKey?: boolean = false; /** - * The weight of the text. + * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. */ - weight?: TextWeight; + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; /** - * The color of the text. + * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. */ - color?: TextColor; + style?: ContainerStyle; /** - * Controls whether the text should be renderer using a subtler variant of the select color. + * Controls if a border should be displayed around the container. */ - isSubtle?: boolean; + showBorder?: boolean = false; /** - * The type of font to use for rendering. + * Controls if the container should have rounded corners. */ - fontType?: FontType; + roundedCorners?: boolean = false; /** - * Controls if the text should be italicized. + * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See [Container layouts](https://adaptivecards.microsoft.com/?topic=container-layouts) for more details. */ - italic?: boolean; + layouts?: (IStackLayout | IFlowLayout | IAreaGridLayout)[]; /** - * Controls if the text should be struck through. + * The minimum height, in pixels, of the container, in the `px` format. */ - strikethrough?: boolean; + minHeight?: string; /** - * Controls if the text should be highlighted. + * Defines the container's background image. */ - highlight?: boolean; + backgroundImage?: string | IBackgroundImage; /** - * Controls if the text should be underlined. + * Controls how the container's content should be vertically aligned. */ - underline?: boolean; + verticalContentAlignment?: VerticalAlignment; /** - * An Action that will be invoked when the text is tapped or clicked. Action.ShowCard is not supported. + * Controls if the content of the card is to be rendered left-to-right or right-to-left. + */ + rtl?: boolean; + /** + * The maximum height, in pixels, of the container, in the `px` format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + maxHeight?: string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; + /** + * The elements in the page. + */ + items: CardElementArray; - constructor(text: string, options: TextRunOptions = {}) { - Object.assign(this, options); - this.text = text; + constructor(...items: CardElementArray) { + this.items = items; } - static from(options: Omit): TextRun { - return new TextRun(options.text, options); + withOptions(value: CarouselPageOptions): this { + Object.assign(this, value); + return this; + } + + withKey(key: string): this { + this.key = key; + return this; } withId(id: string): this { @@ -17978,6 +16809,11 @@ export class TextRun implements ITextRun { return this; } + withRequires(requires: IHostCapabilities): this { + this.requires = requires; + return this; + } + withLang(lang: string): this { this.lang = lang; return this; @@ -17988,70 +16824,68 @@ export class TextRun implements ITextRun { return this; } - withIsSortKey(isSortKey = true): this { - this.isSortKey = isSortKey; + withHeight(height: ElementHeight): this { + this.height = height; return this; } - withText(text: string): this { - this.text = text; + withTargetWidth(targetWidth: TargetWidth): this { + this.targetWidth = targetWidth; return this; } - withSize(size: TextSize): this { - this.size = size; + withIsSortKey(isSortKey = true): this { + this.isSortKey = isSortKey; return this; } - withWeight(weight: TextWeight): this { - this.weight = weight; + withSelectAction(selectAction: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction): this { + this.selectAction = selectAction; return this; } - withColor(color: TextColor): this { - this.color = color; + withStyle(style: ContainerStyle): this { + this.style = style; return this; } - withIsSubtle(isSubtle: boolean): this { - this.isSubtle = isSubtle; + withShowBorder(showBorder = true): this { + this.showBorder = showBorder; return this; } - withFontType(fontType: FontType): this { - this.fontType = fontType; + withRoundedCorners(roundedCorners = true): this { + this.roundedCorners = roundedCorners; return this; } - withItalic(italic = true): this { - this.italic = italic; + withLayouts(...layouts: (IStackLayout | IFlowLayout | IAreaGridLayout)[]): this { + this.layouts = layouts; return this; } - withStrikethrough(strikethrough = true): this { - this.strikethrough = strikethrough; + withMinHeight(minHeight: string): this { + this.minHeight = minHeight; return this; } - withHighlight(highlight = true): this { - this.highlight = highlight; + withBackgroundImage(backgroundImage: string | IBackgroundImage): this { + this.backgroundImage = backgroundImage; return this; } - withUnderline(underline = true): this { - this.underline = underline; + withVerticalContentAlignment(verticalContentAlignment: VerticalAlignment): this { + this.verticalContentAlignment = verticalContentAlignment; return this; } - withSelectAction( - selectAction: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction - ): this { - this.selectAction = selectAction; + withRtl(rtl: boolean): this { + this.rtl = rtl; + return this; + } + + withMaxHeight(maxHeight: string): this { + this.maxHeight = maxHeight; return this; } @@ -18059,16 +16893,25 @@ export class TextRun implements ITextRun { this.fallback = fallback; return this; } + + withItems(...items: CardElementArray): this { + this.items = items; + return this; + } } /** - * A column in a ColumnSet element. + * Represents a row of cells in a table. */ -export interface IColumn { +export interface ITableRow { /** - * Optional. If specified, must be **Column**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **TableRow**. */ - readonly type: 'Column'; + readonly type: "TableRow"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -18109,19 +16952,6 @@ export interface IColumn { * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. */ isSortKey?: boolean; - /** - * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. - */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; - /** - * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. - */ - style?: ContainerStyle; /** * Controls if a border should be displayed around the container. */ @@ -18131,75 +16961,59 @@ export interface IColumn { */ roundedCorners?: boolean; /** - * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See [Container layouts](https://adaptivecards.microsoft.com/?topic=container-layouts) for more details. - */ - layouts?: (IStackLayout | IFlowLayout | IAreaGridLayout)[]; - /** - * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding. - */ - bleed?: boolean; - /** - * The minimum height, in pixels, of the container, in the `px` format. - */ - minHeight?: string; - /** - * Defines the container's background image. - */ - backgroundImage?: string | IBackgroundImage; - /** - * Controls how the container's content should be vertically aligned. - */ - verticalContentAlignment?: VerticalAlignment; - /** - * Controls if the content of the card is to be rendered left-to-right or right-to-left. + * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. */ - rtl?: boolean; + style?: ContainerStyle; /** - * The maximum height, in pixels, of the container, in the `px` format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed. + * Controls how the content of every cell in the row should be horizontally aligned by default. This property overrides the horizontalCellContentAlignment property of the table and columns. */ - maxHeight?: string; + horizontalCellContentAlignment?: HorizontalAlignment; /** - * The width of the column. If expressed as a number, represents the relative weight of the column in the set. If expressed as a string, `auto` will automatically adjust the column's width according to its content, `stretch` will make the column use the remaining horizontal space (shared with other columns with width set to `stretch`) and using the `px` format will give the column an explicit width in pixels. + * Controls how the content of every cell in the row should be vertically aligned by default. This property overrides the verticalCellContentAlignment property of the table and columns. */ - width?: 'auto' | 'stretch' | string | number; + verticalCellContentAlignment?: VerticalAlignment; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ fallback?: FallbackElement; /** - * The elements in the column. + * The cells in the row. */ - items: CardElementArray; + cells?: TableCellArray; } /** * @hidden * @internal * - * Type guard to check if a value is of type IColumn. + * Type guard to check if a value is of type ITableRow. * * @param value The value to check. - * @returns True if the value is an instance of Column, false otherwise. + * @returns True if the value is an instance of TableRow, false otherwise. */ -export function isColumn(value: unknown): value is IColumn { - const obj = value as IColumn; - return typeof obj === 'object' && obj.type === 'Column'; +export function isTableRow(value: unknown): value is ITableRow { + const obj = value as ITableRow; + return typeof obj === "object" && obj.type === "TableRow"; } -export type ColumnOptions = Omit; +export type TableRowOptions = Partial>; /** - * A column in a ColumnSet element. + * Represents a row of cells in a table. */ -export class Column implements IColumn { +export class TableRow implements ITableRow { /** - * Optional. If specified, must be **Column**. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - readonly type = 'Column'; + key?: string; + /** + * Must be **TableRow**. + */ + readonly type = "TableRow"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -18207,7 +17021,7 @@ export class Column implements IColumn { /** * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). */ - requires?: IHostCapabilities; + requires?: IHostCapabilities = {}; /** * The locale associated with the element. */ @@ -18215,15 +17029,15 @@ export class Column implements IColumn { /** * Controls the visibility of the element. */ - isVisible?: boolean; + isVisible?: boolean = true; /** * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. */ - separator?: boolean; + separator?: boolean = false; /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -18231,87 +17045,2671 @@ export class Column implements IColumn { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ targetWidth?: TargetWidth; /** - * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + */ + isSortKey?: boolean = false; + /** + * Controls if a border should be displayed around the container. + */ + showBorder?: boolean = false; + /** + * Controls if the container should have rounded corners. + */ + roundedCorners?: boolean = false; + /** + * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. + */ + style?: ContainerStyle; + /** + * Controls how the content of every cell in the row should be horizontally aligned by default. This property overrides the horizontalCellContentAlignment property of the table and columns. + */ + horizontalCellContentAlignment?: HorizontalAlignment; + /** + * Controls how the content of every cell in the row should be vertically aligned by default. This property overrides the verticalCellContentAlignment property of the table and columns. + */ + verticalCellContentAlignment?: VerticalAlignment; + /** + * The area of a Layout.AreaGrid layout in which an element should be displayed. + */ + "grid.area"?: string; + /** + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackElement; + /** + * The cells in the row. + */ + cells?: TableCellArray; + + constructor(options: TableRowOptions = {}) { + Object.assign(this, options); + } + + static from(options: Omit): TableRow { + return new TableRow(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withId(id: string): this { + this.id = id; + return this; + } + + withRequires(requires: IHostCapabilities): this { + this.requires = requires; + return this; + } + + withLang(lang: string): this { + this.lang = lang; + return this; + } + + withIsVisible(isVisible = false): this { + this.isVisible = isVisible; + return this; + } + + withSeparator(separator = true): this { + this.separator = separator; + return this; + } + + withHeight(height: ElementHeight): this { + this.height = height; + return this; + } + + withHorizontalAlignment(horizontalAlignment: HorizontalAlignment): this { + this.horizontalAlignment = horizontalAlignment; + return this; + } + + withSpacing(spacing: Spacing): this { + this.spacing = spacing; + return this; + } + + withTargetWidth(targetWidth: TargetWidth): this { + this.targetWidth = targetWidth; + return this; + } + + withIsSortKey(isSortKey = true): this { + this.isSortKey = isSortKey; + return this; + } + + withShowBorder(showBorder = true): this { + this.showBorder = showBorder; + return this; + } + + withRoundedCorners(roundedCorners = true): this { + this.roundedCorners = roundedCorners; + return this; + } + + withStyle(style: ContainerStyle): this { + this.style = style; + return this; + } + + withHorizontalCellContentAlignment(horizontalCellContentAlignment: HorizontalAlignment): this { + this.horizontalCellContentAlignment = horizontalCellContentAlignment; + return this; + } + + withVerticalCellContentAlignment(verticalCellContentAlignment: VerticalAlignment): this { + this.verticalCellContentAlignment = verticalCellContentAlignment; + return this; + } + + withFallback(fallback: FallbackElement): this { + this.fallback = fallback; + return this; + } + + withCells(...cells: TableCellArray): this { + this.cells = cells; + return this; + } +} + +/** + * Represents a cell in a table row. + */ +export interface ITableCell { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **TableCell**. + */ + readonly type: "TableCell"; + /** + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + */ + id?: string; + /** + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). + */ + requires?: IHostCapabilities; + /** + * The locale associated with the element. + */ + lang?: string; + /** + * Controls the visibility of the element. + */ + isVisible?: boolean; + /** + * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. + */ + separator?: boolean; + /** + * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. + */ + height?: ElementHeight; + /** + * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. + */ + spacing?: Spacing; + /** + * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). + */ + targetWidth?: TargetWidth; + /** + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + */ + isSortKey?: boolean; + /** + * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. + */ + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; + /** + * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. + */ + style?: ContainerStyle; + /** + * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See [Container layouts](https://adaptivecards.microsoft.com/?topic=container-layouts) for more details. + */ + layouts?: (IStackLayout | IFlowLayout | IAreaGridLayout)[]; + /** + * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding. + */ + bleed?: boolean; + /** + * The minimum height, in pixels, of the container, in the `px` format. + */ + minHeight?: string; + /** + * Defines the container's background image. + */ + backgroundImage?: string | IBackgroundImage; + /** + * Controls how the container's content should be vertically aligned. + */ + verticalContentAlignment?: VerticalAlignment; + /** + * Controls if the content of the card is to be rendered left-to-right or right-to-left. + */ + rtl?: boolean; + /** + * The maximum height, in pixels, of the container, in the `px` format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed. + */ + maxHeight?: string; + /** + * The area of a Layout.AreaGrid layout in which an element should be displayed. + */ + "grid.area"?: string; + /** + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackElement; + /** + * The items (elements) in the cell. + */ + items: CardElementArray; +} + +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type ITableCell. + * + * @param value The value to check. + * @returns True if the value is an instance of TableCell, false otherwise. + */ +export function isTableCell(value: unknown): value is ITableCell { + const obj = value as ITableCell; + return typeof obj === "object" && obj.type === "TableCell"; +} + +export type TableCellOptions = Partial>; + +/** + * Represents a cell in a table row. + */ +export class TableCell implements ITableCell { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **TableCell**. + */ + readonly type = "TableCell"; + /** + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + */ + id?: string; + /** + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). + */ + requires?: IHostCapabilities = {}; + /** + * The locale associated with the element. + */ + lang?: string; + /** + * Controls the visibility of the element. + */ + isVisible?: boolean = true; + /** + * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. + */ + separator?: boolean = false; + /** + * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. + */ + height?: ElementHeight = "auto"; + /** + * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. + */ + spacing?: Spacing = "Default"; + /** + * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). + */ + targetWidth?: TargetWidth; + /** + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + */ + isSortKey?: boolean = false; + /** + * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. + */ + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; + /** + * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. + */ + style?: ContainerStyle; + /** + * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See [Container layouts](https://adaptivecards.microsoft.com/?topic=container-layouts) for more details. + */ + layouts?: (IStackLayout | IFlowLayout | IAreaGridLayout)[]; + /** + * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding. + */ + bleed?: boolean = false; + /** + * The minimum height, in pixels, of the container, in the `px` format. + */ + minHeight?: string; + /** + * Defines the container's background image. + */ + backgroundImage?: string | IBackgroundImage; + /** + * Controls how the container's content should be vertically aligned. + */ + verticalContentAlignment?: VerticalAlignment; + /** + * Controls if the content of the card is to be rendered left-to-right or right-to-left. + */ + rtl?: boolean; + /** + * The maximum height, in pixels, of the container, in the `px` format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed. + */ + maxHeight?: string; + /** + * The area of a Layout.AreaGrid layout in which an element should be displayed. + */ + "grid.area"?: string; + /** + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackElement; + /** + * The items (elements) in the cell. + */ + items: CardElementArray; + + constructor(...items: CardElementArray) { + this.items = items; + } + + withOptions(value: TableCellOptions): this { + Object.assign(this, value); + return this; + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withId(id: string): this { + this.id = id; + return this; + } + + withRequires(requires: IHostCapabilities): this { + this.requires = requires; + return this; + } + + withLang(lang: string): this { + this.lang = lang; + return this; + } + + withIsVisible(isVisible = false): this { + this.isVisible = isVisible; + return this; + } + + withSeparator(separator = true): this { + this.separator = separator; + return this; + } + + withHeight(height: ElementHeight): this { + this.height = height; + return this; + } + + withSpacing(spacing: Spacing): this { + this.spacing = spacing; + return this; + } + + withTargetWidth(targetWidth: TargetWidth): this { + this.targetWidth = targetWidth; + return this; + } + + withIsSortKey(isSortKey = true): this { + this.isSortKey = isSortKey; + return this; + } + + withSelectAction(selectAction: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction): this { + this.selectAction = selectAction; + return this; + } + + withStyle(style: ContainerStyle): this { + this.style = style; + return this; + } + + withLayouts(...layouts: (IStackLayout | IFlowLayout | IAreaGridLayout)[]): this { + this.layouts = layouts; + return this; + } + + withBleed(bleed = true): this { + this.bleed = bleed; + return this; + } + + withMinHeight(minHeight: string): this { + this.minHeight = minHeight; + return this; + } + + withBackgroundImage(backgroundImage: string | IBackgroundImage): this { + this.backgroundImage = backgroundImage; + return this; + } + + withVerticalContentAlignment(verticalContentAlignment: VerticalAlignment): this { + this.verticalContentAlignment = verticalContentAlignment; + return this; + } + + withRtl(rtl: boolean): this { + this.rtl = rtl; + return this; + } + + withMaxHeight(maxHeight: string): this { + this.maxHeight = maxHeight; + return this; + } + + withFallback(fallback: FallbackElement): this { + this.fallback = fallback; + return this; + } + + withItems(...items: CardElementArray): this { + this.items = items; + return this; + } +} + +/** + * A block of text inside a RichTextBlock element. + */ +export interface ITextRun { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **TextRun**. + */ + readonly type: "TextRun"; + /** + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + */ + id?: string; + /** + * The locale associated with the element. + */ + lang?: string; + /** + * Controls the visibility of the element. + */ + isVisible?: boolean; + /** + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + */ + isSortKey?: boolean; + /** + * The text to display. A subset of markdown is supported. + */ + text: string; + /** + * The size of the text. + */ + size?: TextSize; + /** + * The weight of the text. + */ + weight?: TextWeight; + /** + * The color of the text. + */ + color?: TextColor; + /** + * Controls whether the text should be renderer using a subtler variant of the select color. + */ + isSubtle?: boolean; + /** + * The type of font to use for rendering. + */ + fontType?: FontType; + /** + * Controls if the text should be italicized. + */ + italic?: boolean; + /** + * Controls if the text should be struck through. + */ + strikethrough?: boolean; + /** + * Controls if the text should be highlighted. + */ + highlight?: boolean; + /** + * Controls if the text should be underlined. + */ + underline?: boolean; + /** + * An Action that will be invoked when the text is tapped or clicked. Action.ShowCard is not supported. + */ + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; + /** + * The area of a Layout.AreaGrid layout in which an element should be displayed. + */ + "grid.area"?: string; + /** + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackElement; +} + +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type ITextRun. + * + * @param value The value to check. + * @returns True if the value is an instance of TextRun, false otherwise. + */ +export function isTextRun(value: unknown): value is ITextRun { + const obj = value as ITextRun; + return typeof obj === "object" && obj.type === "TextRun"; +} + +export type TextRunOptions = Partial>; + +/** + * A block of text inside a RichTextBlock element. + */ +export class TextRun implements ITextRun { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **TextRun**. + */ + readonly type = "TextRun"; + /** + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + */ + id?: string; + /** + * The locale associated with the element. + */ + lang?: string; + /** + * Controls the visibility of the element. + */ + isVisible?: boolean = true; + /** + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + */ + isSortKey?: boolean = false; + /** + * The text to display. A subset of markdown is supported. + */ + text: string; + /** + * The size of the text. + */ + size?: TextSize; + /** + * The weight of the text. + */ + weight?: TextWeight; + /** + * The color of the text. + */ + color?: TextColor; + /** + * Controls whether the text should be renderer using a subtler variant of the select color. + */ + isSubtle?: boolean; + /** + * The type of font to use for rendering. + */ + fontType?: FontType; + /** + * Controls if the text should be italicized. + */ + italic?: boolean = false; + /** + * Controls if the text should be struck through. + */ + strikethrough?: boolean = false; + /** + * Controls if the text should be highlighted. + */ + highlight?: boolean = false; + /** + * Controls if the text should be underlined. + */ + underline?: boolean = false; + /** + * An Action that will be invoked when the text is tapped or clicked. Action.ShowCard is not supported. + */ + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; + /** + * The area of a Layout.AreaGrid layout in which an element should be displayed. + */ + "grid.area"?: string; + /** + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackElement; + + constructor(text: string, options: TextRunOptions = {}) { + Object.assign(this, options); + this.text = text; + } + + static from(options: Omit): TextRun { + return new TextRun(options.text, options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withId(id: string): this { + this.id = id; + return this; + } + + withLang(lang: string): this { + this.lang = lang; + return this; + } + + withIsVisible(isVisible = false): this { + this.isVisible = isVisible; + return this; + } + + withIsSortKey(isSortKey = true): this { + this.isSortKey = isSortKey; + return this; + } + + withText(text: string): this { + this.text = text; + return this; + } + + withSize(size: TextSize): this { + this.size = size; + return this; + } + + withWeight(weight: TextWeight): this { + this.weight = weight; + return this; + } + + withColor(color: TextColor): this { + this.color = color; + return this; + } + + withIsSubtle(isSubtle: boolean): this { + this.isSubtle = isSubtle; + return this; + } + + withFontType(fontType: FontType): this { + this.fontType = fontType; + return this; + } + + withItalic(italic = true): this { + this.italic = italic; + return this; + } + + withStrikethrough(strikethrough = true): this { + this.strikethrough = strikethrough; + return this; + } + + withHighlight(highlight = true): this { + this.highlight = highlight; + return this; + } + + withUnderline(underline = true): this { + this.underline = underline; + return this; + } + + withSelectAction(selectAction: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction): this { + this.selectAction = selectAction; + return this; + } + + withFallback(fallback: FallbackElement): this { + this.fallback = fallback; + return this; + } +} + +/** + * An inline icon inside a RichTextBlock element. + */ +export interface IIconRun { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **IconRun**. + */ + readonly type: "IconRun"; + /** + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + */ + id?: string; + /** + * The locale associated with the element. + */ + lang?: string; + /** + * Controls the visibility of the element. + */ + isVisible?: boolean; + /** + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + */ + isSortKey?: boolean; + /** + * The name of the inline icon to display. + */ + name?: string; + /** + * The size of the inline icon. + */ + size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"; + /** + * The style of the inline icon. + */ + style?: IconStyle; + /** + * The color of the inline icon. + */ + color?: TextColor; + /** + * An Action that will be invoked when the inline icon is tapped or clicked. Action.ShowCard is not supported. + */ + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; + /** + * The area of a Layout.AreaGrid layout in which an element should be displayed. + */ + "grid.area"?: string; + /** + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackElement; +} + +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type IIconRun. + * + * @param value The value to check. + * @returns True if the value is an instance of IconRun, false otherwise. + */ +export function isIconRun(value: unknown): value is IIconRun { + const obj = value as IIconRun; + return typeof obj === "object" && obj.type === "IconRun"; +} + +export type IconRunOptions = Partial>; + +/** + * An inline icon inside a RichTextBlock element. + */ +export class IconRun implements IIconRun { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **IconRun**. + */ + readonly type = "IconRun"; + /** + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + */ + id?: string; + /** + * The locale associated with the element. + */ + lang?: string; + /** + * Controls the visibility of the element. + */ + isVisible?: boolean = true; + /** + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + */ + isSortKey?: boolean = false; + /** + * The name of the inline icon to display. + */ + name?: string; + /** + * The size of the inline icon. + */ + size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge" = "Default"; + /** + * The style of the inline icon. + */ + style?: IconStyle = "Regular"; + /** + * The color of the inline icon. + */ + color?: TextColor = "Default"; + /** + * An Action that will be invoked when the inline icon is tapped or clicked. Action.ShowCard is not supported. + */ + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; + /** + * The area of a Layout.AreaGrid layout in which an element should be displayed. + */ + "grid.area"?: string; + /** + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackElement; + + constructor(options: IconRunOptions = {}) { + Object.assign(this, options); + } + + static from(options: Omit): IconRun { + return new IconRun(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withId(id: string): this { + this.id = id; + return this; + } + + withLang(lang: string): this { + this.lang = lang; + return this; + } + + withIsVisible(isVisible = false): this { + this.isVisible = isVisible; + return this; + } + + withIsSortKey(isSortKey = true): this { + this.isSortKey = isSortKey; + return this; + } + + withName(name: string): this { + this.name = name; + return this; + } + + withSize(size: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"): this { + this.size = size; + return this; + } + + withStyle(style: IconStyle): this { + this.style = style; + return this; + } + + withColor(color: TextColor): this { + this.color = color; + return this; + } + + withSelectAction(selectAction: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction): this { + this.selectAction = selectAction; + return this; + } + + withFallback(fallback: FallbackElement): this { + this.fallback = fallback; + return this; + } +} + +/** + * An inline image inside a RichTextBlock element. + */ +export interface IImageRun { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **ImageRun**. + */ + readonly type: "ImageRun"; + /** + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + */ + id?: string; + /** + * The locale associated with the element. + */ + lang?: string; + /** + * Controls the visibility of the element. + */ + isVisible?: boolean; + /** + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + */ + isSortKey?: boolean; + /** + * The URL (or Base64-encoded Data URI) of the image. Acceptable formats are PNG, JPEG, GIF and SVG. + */ + url?: string; + /** + * The size of the inline image. + */ + size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"; + /** + * The style of the inline image. + */ + style?: ImageStyle; + /** + * An Action that will be invoked when the image is tapped or clicked. Action.ShowCard is not supported. + */ + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; + /** + * A set of theme-specific image URLs. + */ + themedUrls?: IThemedUrl[]; + /** + * The area of a Layout.AreaGrid layout in which an element should be displayed. + */ + "grid.area"?: string; + /** + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackElement; +} + +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type IImageRun. + * + * @param value The value to check. + * @returns True if the value is an instance of ImageRun, false otherwise. + */ +export function isImageRun(value: unknown): value is IImageRun { + const obj = value as IImageRun; + return typeof obj === "object" && obj.type === "ImageRun"; +} + +export type ImageRunOptions = Partial>; + +/** + * An inline image inside a RichTextBlock element. + */ +export class ImageRun implements IImageRun { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **ImageRun**. + */ + readonly type = "ImageRun"; + /** + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + */ + id?: string; + /** + * The locale associated with the element. + */ + lang?: string; + /** + * Controls the visibility of the element. + */ + isVisible?: boolean = true; + /** + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + */ + isSortKey?: boolean = false; + /** + * The URL (or Base64-encoded Data URI) of the image. Acceptable formats are PNG, JPEG, GIF and SVG. + */ + url?: string; + /** + * The size of the inline image. + */ + size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge" = "Default"; + /** + * The style of the inline image. + */ + style?: ImageStyle = "Default"; + /** + * An Action that will be invoked when the image is tapped or clicked. Action.ShowCard is not supported. + */ + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; + /** + * A set of theme-specific image URLs. + */ + themedUrls?: IThemedUrl[]; + /** + * The area of a Layout.AreaGrid layout in which an element should be displayed. + */ + "grid.area"?: string; + /** + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackElement; + + constructor(options: ImageRunOptions = {}) { + Object.assign(this, options); + } + + static from(options: Omit): ImageRun { + return new ImageRun(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withId(id: string): this { + this.id = id; + return this; + } + + withLang(lang: string): this { + this.lang = lang; + return this; + } + + withIsVisible(isVisible = false): this { + this.isVisible = isVisible; + return this; + } + + withIsSortKey(isSortKey = true): this { + this.isSortKey = isSortKey; + return this; + } + + withUrl(url: string): this { + this.url = url; + return this; + } + + withSize(size: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"): this { + this.size = size; + return this; + } + + withStyle(style: ImageStyle): this { + this.style = style; + return this; + } + + withSelectAction(selectAction: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction): this { + this.selectAction = selectAction; + return this; + } + + withThemedUrls(...themedUrls: IThemedUrl[]): this { + this.themedUrls = themedUrls; + return this; + } + + withFallback(fallback: FallbackElement): this { + this.fallback = fallback; + return this; + } +} + +/** + * A column in a ColumnSet element. + */ +export interface IColumn { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Optional. If specified, must be **Column**. + */ + readonly type: "Column"; + /** + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + */ + id?: string; + /** + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). + */ + requires?: IHostCapabilities; + /** + * The locale associated with the element. + */ + lang?: string; + /** + * Controls the visibility of the element. + */ + isVisible?: boolean; + /** + * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. + */ + separator?: boolean; + /** + * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. + */ + height?: ElementHeight; + /** + * Controls how the element should be horizontally aligned. + */ + horizontalAlignment?: HorizontalAlignment; + /** + * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. + */ + spacing?: Spacing; + /** + * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). + */ + targetWidth?: TargetWidth; + /** + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + */ + isSortKey?: boolean; + /** + * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. + */ + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; + /** + * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. + */ + style?: ContainerStyle; + /** + * Controls if a border should be displayed around the container. + */ + showBorder?: boolean; + /** + * Controls if the container should have rounded corners. + */ + roundedCorners?: boolean; + /** + * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See [Container layouts](https://adaptivecards.microsoft.com/?topic=container-layouts) for more details. + */ + layouts?: (IStackLayout | IFlowLayout | IAreaGridLayout)[]; + /** + * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding. + */ + bleed?: boolean; + /** + * The minimum height, in pixels, of the container, in the `px` format. + */ + minHeight?: string; + /** + * Defines the container's background image. + */ + backgroundImage?: string | IBackgroundImage; + /** + * Controls how the container's content should be vertically aligned. + */ + verticalContentAlignment?: VerticalAlignment; + /** + * Controls if the content of the card is to be rendered left-to-right or right-to-left. + */ + rtl?: boolean; + /** + * The maximum height, in pixels, of the container, in the `px` format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed. + */ + maxHeight?: string; + /** + * The width of the column. If expressed as a number, represents the relative weight of the column in the set. If expressed as a string, `auto` will automatically adjust the column's width according to its content, `stretch` will make the column use the remaining horizontal space (shared with other columns with width set to `stretch`) and using the `px` format will give the column an explicit width in pixels. + */ + width?: "auto" | "stretch" | string | number; + /** + * The area of a Layout.AreaGrid layout in which an element should be displayed. + */ + "grid.area"?: string; + /** + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackElement; + /** + * The elements in the column. + */ + items: CardElementArray; +} + +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type IColumn. + * + * @param value The value to check. + * @returns True if the value is an instance of Column, false otherwise. + */ +export function isColumn(value: unknown): value is IColumn { + const obj = value as IColumn; + return typeof obj === "object" && obj.type === "Column"; +} + +export type ColumnOptions = Partial>; + +/** + * A column in a ColumnSet element. + */ +export class Column implements IColumn { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Optional. If specified, must be **Column**. + */ + readonly type = "Column"; + /** + * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. + */ + id?: string; + /** + * A list of capabilities the element requires the host application to support. If the host application doesn't support at least one of the listed capabilities, the element is not rendered (or its fallback is rendered if provided). + */ + requires?: IHostCapabilities = {}; + /** + * The locale associated with the element. + */ + lang?: string; + /** + * Controls the visibility of the element. + */ + isVisible?: boolean = true; + /** + * Controls whether a separator line should be displayed above the element to visually separate it from the previous element. No separator will be displayed for the first element in a container, even if this property is set to true. + */ + separator?: boolean = false; + /** + * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. + */ + height?: ElementHeight = "auto"; + /** + * Controls how the element should be horizontally aligned. + */ + horizontalAlignment?: HorizontalAlignment; + /** + * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. + */ + spacing?: Spacing = "Default"; + /** + * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). + */ + targetWidth?: TargetWidth; + /** + * Controls whether the element should be used as a sort key by elements that allow sorting across a collection of elements. + */ + isSortKey?: boolean = false; + /** + * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. + */ + selectAction?: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction; + /** + * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. + */ + style?: ContainerStyle; + /** + * Controls if a border should be displayed around the container. + */ + showBorder?: boolean = false; + /** + * Controls if the container should have rounded corners. + */ + roundedCorners?: boolean = false; + /** + * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See [Container layouts](https://adaptivecards.microsoft.com/?topic=container-layouts) for more details. + */ + layouts?: (IStackLayout | IFlowLayout | IAreaGridLayout)[]; + /** + * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding. + */ + bleed?: boolean = false; + /** + * The minimum height, in pixels, of the container, in the `px` format. + */ + minHeight?: string; + /** + * Defines the container's background image. + */ + backgroundImage?: string | IBackgroundImage; + /** + * Controls how the container's content should be vertically aligned. + */ + verticalContentAlignment?: VerticalAlignment; + /** + * Controls if the content of the card is to be rendered left-to-right or right-to-left. + */ + rtl?: boolean; + /** + * The maximum height, in pixels, of the container, in the `px` format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed. + */ + maxHeight?: string; + /** + * The width of the column. If expressed as a number, represents the relative weight of the column in the set. If expressed as a string, `auto` will automatically adjust the column's width according to its content, `stretch` will make the column use the remaining horizontal space (shared with other columns with width set to `stretch`) and using the `px` format will give the column an explicit width in pixels. + */ + width?: "auto" | "stretch" | string | number; + /** + * The area of a Layout.AreaGrid layout in which an element should be displayed. + */ + "grid.area"?: string; + /** + * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + */ + fallback?: FallbackElement; + /** + * The elements in the column. + */ + items: CardElementArray; + + constructor(...items: CardElementArray) { + this.items = items; + } + + withOptions(value: ColumnOptions): this { + Object.assign(this, value); + return this; + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withId(id: string): this { + this.id = id; + return this; + } + + withRequires(requires: IHostCapabilities): this { + this.requires = requires; + return this; + } + + withLang(lang: string): this { + this.lang = lang; + return this; + } + + withIsVisible(isVisible = false): this { + this.isVisible = isVisible; + return this; + } + + withSeparator(separator = true): this { + this.separator = separator; + return this; + } + + withHeight(height: ElementHeight): this { + this.height = height; + return this; + } + + withHorizontalAlignment(horizontalAlignment: HorizontalAlignment): this { + this.horizontalAlignment = horizontalAlignment; + return this; + } + + withSpacing(spacing: Spacing): this { + this.spacing = spacing; + return this; + } + + withTargetWidth(targetWidth: TargetWidth): this { + this.targetWidth = targetWidth; + return this; + } + + withIsSortKey(isSortKey = true): this { + this.isSortKey = isSortKey; + return this; + } + + withSelectAction(selectAction: IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction): this { + this.selectAction = selectAction; + return this; + } + + withStyle(style: ContainerStyle): this { + this.style = style; + return this; + } + + withShowBorder(showBorder = true): this { + this.showBorder = showBorder; + return this; + } + + withRoundedCorners(roundedCorners = true): this { + this.roundedCorners = roundedCorners; + return this; + } + + withLayouts(...layouts: (IStackLayout | IFlowLayout | IAreaGridLayout)[]): this { + this.layouts = layouts; + return this; + } + + withBleed(bleed = true): this { + this.bleed = bleed; + return this; + } + + withMinHeight(minHeight: string): this { + this.minHeight = minHeight; + return this; + } + + withBackgroundImage(backgroundImage: string | IBackgroundImage): this { + this.backgroundImage = backgroundImage; + return this; + } + + withVerticalContentAlignment(verticalContentAlignment: VerticalAlignment): this { + this.verticalContentAlignment = verticalContentAlignment; + return this; + } + + withRtl(rtl: boolean): this { + this.rtl = rtl; + return this; + } + + withMaxHeight(maxHeight: string): this { + this.maxHeight = maxHeight; + return this; + } + + withWidth(width: "auto" | "stretch" | string | number): this { + this.width = width; + return this; + } + + withFallback(fallback: FallbackElement): this { + this.fallback = fallback; + return this; + } + + withItems(...items: CardElementArray): this { + this.items = items; + return this; + } +} + +/** + * Represents the data of an Action.Submit. + */ +export interface ISubmitActionData extends Record { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + /** + * Defines the optional Teams-specific portion of the action's data. + */ + /** + * Defines the optional Teams-specific portion of the action's data. Equivalent to `msteams`. + */ +} + + +export type SubmitActionDataOptions = Partial; + +/** + * Represents the data of an Action.Submit. + */ +export class SubmitActionData implements ISubmitActionData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + /** + * Defines the optional Teams-specific portion of the action's data. + */ + /** + * Defines the optional Teams-specific portion of the action's data. Equivalent to `msteams`. + */ + + constructor(options: SubmitActionDataOptions = {}) { + Object.assign(this, options); + } + + static from(options: ISubmitActionData): SubmitActionData { + return new SubmitActionData(options); + } + [key: string]: any; +} + +/** + * Represents Teams-specific data in an Action.Submit to send an Instant Message back to the Bot. + */ +export interface IImBackSubmitActionData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **imBack**. + */ + readonly type: "imBack"; + /** + * The value that will be sent to the Bot. + */ + value: string; +} + +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type IImBackSubmitActionData. + * + * @param value The value to check. + * @returns True if the value is an instance of ImBackSubmitActionData, false otherwise. + */ +export function isImBackSubmitActionData(value: unknown): value is IImBackSubmitActionData { + const obj = value as IImBackSubmitActionData; + return typeof obj === "object" && obj.type === "imBack"; +} + +export type ImBackSubmitActionDataOptions = Partial>; + +/** + * Represents Teams-specific data in an Action.Submit to send an Instant Message back to the Bot. + */ +export class ImBackSubmitActionData implements IImBackSubmitActionData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **imBack**. + */ + readonly type = "imBack"; + /** + * The value that will be sent to the Bot. + */ + value: string; + + constructor(value: string, options: ImBackSubmitActionDataOptions = {}) { + Object.assign(this, options); + this.value = value; + } + + static from(options: Omit): ImBackSubmitActionData { + return new ImBackSubmitActionData(options.value, options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withValue(value: string): this { + this.value = value; + return this; + } +} + +/** + * Represents Teams-specific data in an Action.Submit to make an Invoke request to the Bot. + */ +export interface IInvokeSubmitActionData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **invoke**. + */ + readonly type: "invoke"; + /** + * The object to send to the Bot with the Invoke request. Can be strongly typed as one of the below values to trigger a specific action in Teams. + */ + value: any | ICollabStageInvokeDataValue; +} + +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type IInvokeSubmitActionData. + * + * @param value The value to check. + * @returns True if the value is an instance of InvokeSubmitActionData, false otherwise. + */ +export function isInvokeSubmitActionData(value: unknown): value is IInvokeSubmitActionData { + const obj = value as IInvokeSubmitActionData; + return typeof obj === "object" && obj.type === "invoke"; +} + +export type InvokeSubmitActionDataOptions = Partial>; + +/** + * Represents Teams-specific data in an Action.Submit to make an Invoke request to the Bot. + */ +export class InvokeSubmitActionData implements IInvokeSubmitActionData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **invoke**. + */ + readonly type = "invoke"; + /** + * The object to send to the Bot with the Invoke request. Can be strongly typed as one of the below values to trigger a specific action in Teams. + */ + value: any | ICollabStageInvokeDataValue; + + constructor(value: any | ICollabStageInvokeDataValue, options: InvokeSubmitActionDataOptions = {}) { + Object.assign(this, options); + this.value = value; + } + + static from(options: Omit): InvokeSubmitActionData { + return new InvokeSubmitActionData(options.value, options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withValue(value: any | ICollabStageInvokeDataValue): this { + this.value = value; + return this; + } +} + +/** + * Data for invoking a collaboration stage action. + */ +export interface ICollabStageInvokeDataValue { + /** + * Must be **tab/tabInfoAction**. + */ + readonly type: "tab/tabInfoAction"; + /** + * Provides information about the iFrame content, rendered in the collab stage popout window. + */ + tabInfo?: ITabInfo; +} + +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type ICollabStageInvokeDataValue. + * + * @param value The value to check. + * @returns True if the value is an instance of CollabStageInvokeDataValue, false otherwise. + */ +export function isCollabStageInvokeDataValue(value: unknown): value is ICollabStageInvokeDataValue { + const obj = value as ICollabStageInvokeDataValue; + return typeof obj === "object" && obj.type === "tab/tabInfoAction"; +} + +export type CollabStageInvokeDataValueOptions = Partial>; + +/** + * Data for invoking a collaboration stage action. + */ +export class CollabStageInvokeDataValue implements ICollabStageInvokeDataValue { + /** + * Must be **tab/tabInfoAction**. + */ + readonly type = "tab/tabInfoAction"; + /** + * Provides information about the iFrame content, rendered in the collab stage popout window. + */ + tabInfo?: ITabInfo; + + constructor(options: CollabStageInvokeDataValueOptions = {}) { + Object.assign(this, options); + } + + static from(options: Omit): CollabStageInvokeDataValue { + return new CollabStageInvokeDataValue(options); + } + + withTabInfo(tabInfo: ITabInfo): this { + this.tabInfo = tabInfo; + return this; + } +} + +/** + * Represents information about the iFrame content, rendered in the collab stage popout window. + */ +export interface ITabInfo { + /** + * The name for the content. This will be displayed as the title of the window hosting the iFrame. + */ + name?: string; + /** + * The URL to open in an iFrame. + */ + contentUrl?: string; + /** + * The unique entity id for this content (e.g., random UUID). + */ + entityId?: string; + /** + * An optional website URL to the content, allowing users to open this content in the browser (if they prefer). + */ + websiteUrl?: string; +} + + +export type TabInfoOptions = Partial; + +/** + * Represents information about the iFrame content, rendered in the collab stage popout window. + */ +export class TabInfo implements ITabInfo { + /** + * The name for the content. This will be displayed as the title of the window hosting the iFrame. + */ + name?: string; + /** + * The URL to open in an iFrame. + */ + contentUrl?: string; + /** + * The unique entity id for this content (e.g., random UUID). + */ + entityId?: string; + /** + * An optional website URL to the content, allowing users to open this content in the browser (if they prefer). + */ + websiteUrl?: string; + + constructor(options: TabInfoOptions = {}) { + Object.assign(this, options); + } + + static from(options: ITabInfo): TabInfo { + return new TabInfo(options); + } + + withName(name: string): this { + this.name = name; + return this; + } + + withContentUrl(contentUrl: string): this { + this.contentUrl = contentUrl; + return this; + } + + withEntityId(entityId: string): this { + this.entityId = entityId; + return this; + } + + withWebsiteUrl(websiteUrl: string): this { + this.websiteUrl = websiteUrl; + return this; + } +} + +/** + * Represents Teams-specific data in an Action.Submit to send a message back to the Bot. + */ +export interface IMessageBackSubmitActionData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **messageBack**. + */ + readonly type: "messageBack"; + /** + * The text that will be sent to the Bot. + */ + text?: string; + /** + * The optional text that will be displayed as a new message in the conversation, as if the end-user sent it. `displayText` is not sent to the Bot. + */ + displayText?: string; + /** + * Optional additional value that will be sent to the Bot. For instance, `value` can encode specific context for the action, such as unique identifiers or a JSON object. + */ + value?: any; +} + +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type IMessageBackSubmitActionData. + * + * @param value The value to check. + * @returns True if the value is an instance of MessageBackSubmitActionData, false otherwise. + */ +export function isMessageBackSubmitActionData(value: unknown): value is IMessageBackSubmitActionData { + const obj = value as IMessageBackSubmitActionData; + return typeof obj === "object" && obj.type === "messageBack"; +} + +export type MessageBackSubmitActionDataOptions = Partial>; + +/** + * Represents Teams-specific data in an Action.Submit to send a message back to the Bot. + */ +export class MessageBackSubmitActionData implements IMessageBackSubmitActionData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **messageBack**. + */ + readonly type = "messageBack"; + /** + * The text that will be sent to the Bot. + */ + text?: string; + /** + * The optional text that will be displayed as a new message in the conversation, as if the end-user sent it. `displayText` is not sent to the Bot. + */ + displayText?: string; + /** + * Optional additional value that will be sent to the Bot. For instance, `value` can encode specific context for the action, such as unique identifiers or a JSON object. + */ + value?: any; + + constructor(options: MessageBackSubmitActionDataOptions = {}) { + Object.assign(this, options); + } + + static from(options: Omit): MessageBackSubmitActionData { + return new MessageBackSubmitActionData(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withText(text: string): this { + this.text = text; + return this; + } + + withDisplayText(displayText: string): this { + this.displayText = displayText; + return this; + } + + withValue(value: any): this { + this.value = value; + return this; + } +} + +/** + * Represents Teams-specific data in an Action.Submit to sign in a user. + */ +export interface ISigninSubmitActionData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **signin**. + */ + readonly type: "signin"; + /** + * The URL to redirect the end-user for signing in. + */ + value: string; +} + +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type ISigninSubmitActionData. + * + * @param value The value to check. + * @returns True if the value is an instance of SigninSubmitActionData, false otherwise. + */ +export function isSigninSubmitActionData(value: unknown): value is ISigninSubmitActionData { + const obj = value as ISigninSubmitActionData; + return typeof obj === "object" && obj.type === "signin"; +} + +export type SigninSubmitActionDataOptions = Partial>; + +/** + * Represents Teams-specific data in an Action.Submit to sign in a user. + */ +export class SigninSubmitActionData implements ISigninSubmitActionData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **signin**. + */ + readonly type = "signin"; + /** + * The URL to redirect the end-user for signing in. + */ + value: string; + + constructor(value: string, options: SigninSubmitActionDataOptions = {}) { + Object.assign(this, options); + this.value = value; + } + + static from(options: Omit): SigninSubmitActionData { + return new SigninSubmitActionData(options.value, options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withValue(value: string): this { + this.value = value; + return this; + } +} + +/** + * Represents Teams-specific data in an Action.Submit to open a task module. + */ +export interface ITaskFetchSubmitActionData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **task/fetch**. + */ + readonly type: "task/fetch"; +} + +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type ITaskFetchSubmitActionData. + * + * @param value The value to check. + * @returns True if the value is an instance of TaskFetchSubmitActionData, false otherwise. + */ +export function isTaskFetchSubmitActionData(value: unknown): value is ITaskFetchSubmitActionData { + const obj = value as ITaskFetchSubmitActionData; + return typeof obj === "object" && obj.type === "task/fetch"; +} + +export type TaskFetchSubmitActionDataOptions = Partial>; + +/** + * Represents Teams-specific data in an Action.Submit to open a task module. + */ +export class TaskFetchSubmitActionData implements ITaskFetchSubmitActionData { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **task/fetch**. + */ + readonly type = "task/fetch"; + + constructor(options: TaskFetchSubmitActionDataOptions = {}) { + Object.assign(this, options); + } + + static from(options: Omit): TaskFetchSubmitActionData { + return new TaskFetchSubmitActionData(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } +} + +/** + * Teams-specific properties associated with the action. + */ +export interface ITeamsSubmitActionProperties { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Defines how feedback is provided to the end-user when the action is executed. + */ + feedback?: ITeamsSubmitActionFeedback; +} + + +export type TeamsSubmitActionPropertiesOptions = Partial; + +/** + * Teams-specific properties associated with the action. + */ +export class TeamsSubmitActionProperties implements ITeamsSubmitActionProperties { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Defines how feedback is provided to the end-user when the action is executed. + */ + feedback?: ITeamsSubmitActionFeedback; + + constructor(options: TeamsSubmitActionPropertiesOptions = {}) { + Object.assign(this, options); + } + + static from(options: ITeamsSubmitActionProperties): TeamsSubmitActionProperties { + return new TeamsSubmitActionProperties(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withFeedback(feedback: ITeamsSubmitActionFeedback): this { + this.feedback = feedback; + return this; + } +} + +/** + * Represents feedback options for an [Action.Submit](https://adaptivecards.microsoft.com/?topic=Action.Submit). + */ +export interface ITeamsSubmitActionFeedback { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Defines if a feedback message should be displayed after the action is executed. + */ + hide?: boolean; +} + + +export type TeamsSubmitActionFeedbackOptions = Partial; + +/** + * Represents feedback options for an [Action.Submit](https://adaptivecards.microsoft.com/?topic=Action.Submit). + */ +export class TeamsSubmitActionFeedback implements ITeamsSubmitActionFeedback { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Defines if a feedback message should be displayed after the action is executed. + */ + hide?: boolean; + + constructor(options: TeamsSubmitActionFeedbackOptions = {}) { + Object.assign(this, options); + } + + static from(options: ITeamsSubmitActionFeedback): TeamsSubmitActionFeedback { + return new TeamsSubmitActionFeedback(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withHide(hide: boolean): this { + this.hide = hide; + return this; + } +} + +/** + * Defines how a card can be refreshed by making a request to the target Bot. + */ +export interface IRefreshDefinition { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The Action.Execute action to invoke to refresh the card. + */ + action?: IExecuteAction; + /** + * The list of user Ids for which the card will be automatically refreshed. In Teams, in chats or channels with more than 60 users, the card will automatically refresh only for users specified in the userIds list. Other users will have to manually click on a "refresh" button. In contexts with fewer than 60 users, the card will automatically refresh for all users. + */ + userIds?: string[]; +} + + +export type RefreshDefinitionOptions = Partial; + +/** + * Defines how a card can be refreshed by making a request to the target Bot. + */ +export class RefreshDefinition implements IRefreshDefinition { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The Action.Execute action to invoke to refresh the card. + */ + action?: IExecuteAction; + /** + * The list of user Ids for which the card will be automatically refreshed. In Teams, in chats or channels with more than 60 users, the card will automatically refresh only for users specified in the userIds list. Other users will have to manually click on a "refresh" button. In contexts with fewer than 60 users, the card will automatically refresh for all users. + */ + userIds?: string[]; + + constructor(options: RefreshDefinitionOptions = {}) { + Object.assign(this, options); + } + + static from(options: IRefreshDefinition): RefreshDefinition { + return new RefreshDefinition(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withAction(action: IExecuteAction): this { + this.action = action; + return this; + } + + withUserIds(...userIds: string[]): this { + this.userIds = userIds; + return this; + } +} + +/** + * Defines authentication information associated with a card. For more information, refer to the [Bot Framework OAuthCard type](https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.oauthcard) + */ +export interface IAuthentication { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The text that can be displayed to the end user when prompting them to authenticate. + */ + text?: string; + /** + * The identifier for registered OAuth connection setting information. + */ + connectionName?: string; + /** + * The buttons that should be displayed to the user when prompting for authentication. The array MUST contain one button of type “signin”. Other button types are not currently supported. + */ + buttons?: IAuthCardButton[]; + /** + * Provides information required to enable on-behalf-of single sign-on user authentication. + */ + tokenExchangeResource?: ITokenExchangeResource; +} + + +export type AuthenticationOptions = Partial; + +/** + * Defines authentication information associated with a card. For more information, refer to the [Bot Framework OAuthCard type](https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.oauthcard) + */ +export class Authentication implements IAuthentication { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The text that can be displayed to the end user when prompting them to authenticate. + */ + text?: string; + /** + * The identifier for registered OAuth connection setting information. + */ + connectionName?: string; + /** + * The buttons that should be displayed to the user when prompting for authentication. The array MUST contain one button of type “signin”. Other button types are not currently supported. + */ + buttons?: IAuthCardButton[]; + /** + * Provides information required to enable on-behalf-of single sign-on user authentication. + */ + tokenExchangeResource?: ITokenExchangeResource; + + constructor(options: AuthenticationOptions = {}) { + Object.assign(this, options); + } + + static from(options: IAuthentication): Authentication { + return new Authentication(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withText(text: string): this { + this.text = text; + return this; + } + + withConnectionName(connectionName: string): this { + this.connectionName = connectionName; + return this; + } + + withButtons(...buttons: IAuthCardButton[]): this { + this.buttons = buttons; + return this; + } + + withTokenExchangeResource(tokenExchangeResource: ITokenExchangeResource): this { + this.tokenExchangeResource = tokenExchangeResource; + return this; + } +} + +/** + * Defines a button as displayed when prompting a user to authenticate. For more information, refer to the [Bot Framework CardAction type](https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.cardaction). + */ +export interface IAuthCardButton { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **signin**. + */ + type?: string; + /** + * The caption of the button. + */ + title?: string; + /** + * A URL to an image to display alongside the button’s caption. + */ + image?: string; + /** + * The value associated with the button. The meaning of value depends on the button’s type. + */ + value?: string; +} + + +export type AuthCardButtonOptions = Partial; + +/** + * Defines a button as displayed when prompting a user to authenticate. For more information, refer to the [Bot Framework CardAction type](https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.cardaction). + */ +export class AuthCardButton implements IAuthCardButton { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Must be **signin**. + */ + type?: string; + /** + * The caption of the button. + */ + title?: string; + /** + * A URL to an image to display alongside the button’s caption. + */ + image?: string; + /** + * The value associated with the button. The meaning of value depends on the button’s type. + */ + value?: string; + + constructor(options: AuthCardButtonOptions = {}) { + Object.assign(this, options); + } + + static from(options: IAuthCardButton): AuthCardButton { + return new AuthCardButton(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withType(type: string): this { + this.type = type; + return this; + } + + withTitle(title: string): this { + this.title = title; + return this; + } + + withImage(image: string): this { + this.image = image; + return this; + } + + withValue(value: string): this { + this.value = value; + return this; + } +} + +/** + * Defines information required to enable on-behalf-of single sign-on user authentication. For more information, refer to the [Bot Framework TokenExchangeResource type](https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.tokenexchangeresource) + */ +export interface ITokenExchangeResource { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The unique identified of this token exchange instance. + */ + id?: string; + /** + * An application ID or resource identifier with which to exchange a token on behalf of. This property is identity provider- and application-specific. + */ + uri?: string; + /** + * An identifier for the identity provider with which to attempt a token exchange. + */ + providerId?: string; +} + + +export type TokenExchangeResourceOptions = Partial; + +/** + * Defines information required to enable on-behalf-of single sign-on user authentication. For more information, refer to the [Bot Framework TokenExchangeResource type](https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.tokenexchangeresource) + */ +export class TokenExchangeResource implements ITokenExchangeResource { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The unique identified of this token exchange instance. + */ + id?: string; + /** + * An application ID or resource identifier with which to exchange a token on behalf of. This property is identity provider- and application-specific. + */ + uri?: string; + /** + * An identifier for the identity provider with which to attempt a token exchange. + */ + providerId?: string; + + constructor(options: TokenExchangeResourceOptions = {}) { + Object.assign(this, options); + } + + static from(options: ITokenExchangeResource): TokenExchangeResource { + return new TokenExchangeResource(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withId(id: string): this { + this.id = id; + return this; + } + + withUri(uri: string): this { + this.uri = uri; + return this; + } + + withProviderId(providerId: string): this { + this.providerId = providerId; + return this; + } +} + +/** + * Represents a set of Teams-specific properties on a card. + */ +export interface ITeamsCardProperties { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Controls the width of the card in a Teams chat. + * + * Note that setting `width` to "full" will not actually stretch the card to the "full width" of the chat pane. It will only make the card wider than when the `width` property isn't set. + */ + width?: TeamsCardWidth; + /** + * The Teams-specific entities associated with the card. + */ + entities?: IMention[]; +} + + +export type TeamsCardPropertiesOptions = Partial; + +/** + * Represents a set of Teams-specific properties on a card. + */ +export class TeamsCardProperties implements ITeamsCardProperties { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * Controls the width of the card in a Teams chat. + * + * Note that setting `width` to "full" will not actually stretch the card to the "full width" of the chat pane. It will only make the card wider than when the `width` property isn't set. + */ + width?: TeamsCardWidth; + /** + * The Teams-specific entities associated with the card. + */ + entities?: IMention[]; + + constructor(options: TeamsCardPropertiesOptions = {}) { + Object.assign(this, options); + } + + static from(options: ITeamsCardProperties): TeamsCardProperties { + return new TeamsCardProperties(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withWidth(width: TeamsCardWidth): this { + this.width = width; + return this; + } + + withEntities(...entities: IMention[]): this { + this.entities = entities; + return this; + } +} + +/** + * Represents a mention to a person. + */ +export interface IMention { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - isSortKey?: boolean; + key?: string; /** - * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported. + * Must be **mention**. */ - selectAction?: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction; + readonly type: "mention"; /** - * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met. + * The text that will be substituted with the mention. */ - style?: ContainerStyle; + text?: string; /** - * Controls if a border should be displayed around the container. + * Defines the entity being mentioned. */ - showBorder?: boolean; + mentioned?: IMentionedEntity; +} + +/** + * @hidden + * @internal + * + * Type guard to check if a value is of type IMention. + * + * @param value The value to check. + * @returns True if the value is an instance of Mention, false otherwise. + */ +export function isMention(value: unknown): value is IMention { + const obj = value as IMention; + return typeof obj === "object" && obj.type === "mention"; +} + +export type MentionOptions = Partial>; + +/** + * Represents a mention to a person. + */ +export class Mention implements IMention { /** - * Controls if the container should have rounded corners. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - roundedCorners?: boolean; + key?: string; /** - * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See [Container layouts](https://adaptivecards.microsoft.com/?topic=container-layouts) for more details. + * Must be **mention**. */ - layouts?: (IStackLayout | IFlowLayout | IAreaGridLayout)[]; + readonly type = "mention"; /** - * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding. + * The text that will be substituted with the mention. */ - bleed?: boolean; + text?: string; /** - * The minimum height, in pixels, of the container, in the `px` format. + * Defines the entity being mentioned. */ - minHeight?: string; + mentioned?: IMentionedEntity; + + constructor(options: MentionOptions = {}) { + Object.assign(this, options); + } + + static from(options: Omit): Mention { + return new Mention(options); + } + + withKey(key: string): this { + this.key = key; + return this; + } + + withText(text: string): this { + this.text = text; + return this; + } + + withMentioned(mentioned: IMentionedEntity): this { + this.mentioned = mentioned; + return this; + } +} + +/** + * Represents a mentioned person or tag. + */ +export interface IMentionedEntity { /** - * Defines the container's background image. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - backgroundImage?: string | IBackgroundImage; + key?: string; /** - * Controls how the container's content should be vertically aligned. + * The Id of a person (typically a Microsoft Entra user Id) or tag. */ - verticalContentAlignment?: VerticalAlignment; + id?: string; /** - * Controls if the content of the card is to be rendered left-to-right or right-to-left. + * The name of the mentioned entity. */ - rtl?: boolean; + name?: string; /** - * The maximum height, in pixels, of the container, in the `px` format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed. + * The type of the mentioned entity. */ - maxHeight?: string; + mentionType?: MentionType; +} + + +export type MentionedEntityOptions = Partial; + +/** + * Represents a mentioned person or tag. + */ +export class MentionedEntity implements IMentionedEntity { /** - * The width of the column. If expressed as a number, represents the relative weight of the column in the set. If expressed as a string, `auto` will automatically adjust the column's width according to its content, `stretch` will make the column use the remaining horizontal space (shared with other columns with width set to `stretch`) and using the `px` format will give the column an explicit width in pixels. + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. */ - width?: 'auto' | 'stretch' | string | number; + key?: string; /** - * The area of a Layout.AreaGrid layout in which an element should be displayed. + * The Id of a person (typically a Microsoft Entra user Id) or tag. */ - 'grid.area'?: string; + id?: string; /** - * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. + * The name of the mentioned entity. */ - fallback?: FallbackElement; + name?: string; /** - * The elements in the column. + * The type of the mentioned entity. */ - items: CardElementArray; + mentionType?: MentionType = "Person"; - constructor(...items: CardElementArray) { - this.items = items; + constructor(options: MentionedEntityOptions = {}) { + Object.assign(this, options); } - withOptions(value: ColumnOptions): this { - Object.assign(this, value); + static from(options: IMentionedEntity): MentionedEntity { + return new MentionedEntity(options); + } + + withKey(key: string): this { + this.key = key; return this; } @@ -18320,125 +19718,173 @@ export class Column implements IColumn { return this; } - withRequires(requires: IHostCapabilities): this { - this.requires = requires; + withName(name: string): this { + this.name = name; return this; } - withLang(lang: string): this { - this.lang = lang; + withMentionType(mentionType: MentionType): this { + this.mentionType = mentionType; return this; } +} - withIsVisible(isVisible = false): this { - this.isVisible = isVisible; - return this; - } +/** + * Card-level metadata. + */ +export interface ICardMetadata { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The URL the card originates from. When `webUrl` is set, the card is dubbed an **Adaptive Card-based Loop Component** and, when pasted in Teams or other Loop Component-capable host applications, the URL will unfurl to the same exact card. + */ + webUrl?: string; +} - withSeparator(separator = true): this { - this.separator = separator; - return this; - } - withHeight(height: ElementHeight): this { - this.height = height; - return this; - } +export type CardMetadataOptions = Partial; - withHorizontalAlignment(horizontalAlignment: HorizontalAlignment): this { - this.horizontalAlignment = horizontalAlignment; - return this; - } +/** + * Card-level metadata. + */ +export class CardMetadata implements ICardMetadata { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The URL the card originates from. When `webUrl` is set, the card is dubbed an **Adaptive Card-based Loop Component** and, when pasted in Teams or other Loop Component-capable host applications, the URL will unfurl to the same exact card. + */ + webUrl?: string; - withSpacing(spacing: Spacing): this { - this.spacing = spacing; - return this; + constructor(options: CardMetadataOptions = {}) { + Object.assign(this, options); } - withTargetWidth(targetWidth: TargetWidth): this { - this.targetWidth = targetWidth; - return this; + static from(options: ICardMetadata): CardMetadata { + return new CardMetadata(options); } - withIsSortKey(isSortKey = true): this { - this.isSortKey = isSortKey; + withKey(key: string): this { + this.key = key; return this; } - withSelectAction( - selectAction: - | IExecuteAction - | IOpenUrlAction - | IResetInputsAction - | ISubmitAction - | IToggleVisibilityAction - ): this { - this.selectAction = selectAction; + withWebUrl(webUrl: string): this { + this.webUrl = webUrl; return this; } +} - withStyle(style: ContainerStyle): this { - this.style = style; - return this; - } +/** + * The resources that can be used in the body of the card. + */ +export interface IResources { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * String resources that can provide translations in multiple languages. String resources make it possible to craft cards that are automatically localized according to the language settings of the application that displays the card. + */ + strings?: Record; +} - withShowBorder(showBorder = true): this { - this.showBorder = showBorder; - return this; - } - withRoundedCorners(roundedCorners = true): this { - this.roundedCorners = roundedCorners; - return this; - } +export type ResourcesOptions = Partial; - withLayouts(...layouts: (IStackLayout | IFlowLayout | IAreaGridLayout)[]): this { - this.layouts = layouts; - return this; - } +/** + * The resources that can be used in the body of the card. + */ +export class Resources implements IResources { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * String resources that can provide translations in multiple languages. String resources make it possible to craft cards that are automatically localized according to the language settings of the application that displays the card. + */ + strings?: Record; - withBleed(bleed = true): this { - this.bleed = bleed; - return this; + constructor(options: ResourcesOptions = {}) { + Object.assign(this, options); } - withMinHeight(minHeight: string): this { - this.minHeight = minHeight; - return this; + static from(options: IResources): Resources { + return new Resources(options); } - withBackgroundImage(backgroundImage: string | IBackgroundImage): this { - this.backgroundImage = backgroundImage; + withKey(key: string): this { + this.key = key; return this; } - withVerticalContentAlignment(verticalContentAlignment: VerticalAlignment): this { - this.verticalContentAlignment = verticalContentAlignment; + withStrings(strings: Record): this { + this.strings = strings; return this; } +} - withRtl(rtl: boolean): this { - this.rtl = rtl; - return this; +/** + * Defines the replacement string values. + */ +export interface IStringResource { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The default value of the string, which is used when no matching localized value is found. + */ + defaultValue?: string; + /** + * Localized values of the string, where keys represent the locale (e.g. `en-US`) in the `(-)` format. `` is the 2-letter language code and `` is the optional 2-letter country code. + */ + localizedValues?: Record; +} + + +export type StringResourceOptions = Partial; + +/** + * Defines the replacement string values. + */ +export class StringResource implements IStringResource { + /** + * Defines an optional key for the object. Keys are seldom needed, but in some scenarios, specifying keys can help maintain visual state in the host application. + */ + key?: string; + /** + * The default value of the string, which is used when no matching localized value is found. + */ + defaultValue?: string; + /** + * Localized values of the string, where keys represent the locale (e.g. `en-US`) in the `(-)` format. `` is the 2-letter language code and `` is the optional 2-letter country code. + */ + localizedValues?: Record; + + constructor(options: StringResourceOptions = {}) { + Object.assign(this, options); } - withMaxHeight(maxHeight: string): this { - this.maxHeight = maxHeight; - return this; + static from(options: IStringResource): StringResource { + return new StringResource(options); } - withWidth(width: 'auto' | 'stretch' | string | number): this { - this.width = width; + withKey(key: string): this { + this.key = key; return this; } - withFallback(fallback: FallbackElement): this { - this.fallback = fallback; + withDefaultValue(defaultValue: string): this { + this.defaultValue = defaultValue; return this; } - withItems(...items: CardElementArray): this { - this.items = items; + withLocalizedValues(localizedValues: Record): this { + this.localizedValues = localizedValues; return this; } -} +} \ No newline at end of file From 88d314c0381efdb9f25da7b71ff309ad959a687c Mon Sep 17 00:00:00 2001 From: Corina Gum <> Date: Wed, 18 Mar 2026 16:07:42 -0700 Subject: [PATCH 5/9] Lint --- packages/cards/src/core.ts | 1322 ++++++++++++++++++------------------ 1 file changed, 661 insertions(+), 661 deletions(-) diff --git a/packages/cards/src/core.ts b/packages/cards/src/core.ts index a76e1e83d..39e7a1036 100644 --- a/packages/cards/src/core.ts +++ b/packages/cards/src/core.ts @@ -1,5 +1,5 @@ -/* eslint-disable @typescript-eslint/no-empty-interface */ -/* eslint-disable @typescript-eslint/no-explicit-any */ + + /* cSpell:disable */ // This file was automatically generated by a tool on 03/18/2026, 10:42 PM UTC. DO NOT UPDATE MANUALLY. @@ -9,103 +9,103 @@ export type CardElement = IContainer | IActionSet | IColumnSet | IMedia | IRichT export type Action = ISubmitAction | IOpenUrlAction | IExecuteAction | IToggleVisibilityAction | IShowCardAction | IResetInputsAction | IPopoverAction | IOpenUrlDialogAction | IInsertImageAction; -export type IconName = "AccessTime" | "Accessibility" | "AccessibilityCheckmark" | "Add" | "AddCircle" | "AddSquare" | "AddSquareMultiple" | "AddSubtractCircle" | "Airplane" | "AirplaneLanding" | "AirplaneTakeOff" | "Album" | "AlbumAdd" | "Alert" | "AlertBadge" | "AlertOff" | "AlertOn" | "AlertSnooze" | "AlertUrgent" | "AlignBottom" | "AlignCenterHorizontal" | "AlignCenterVertical" | "AlignDistributeBottom" | "AlignDistributeLeft" | "AlignDistributeRight" | "AlignDistributeTop" | "AlignEndHorizontal" | "AlignEndVertical" | "AlignLeft" | "AlignRight" | "AlignSpaceAroundHorizontal" | "AlignSpaceAroundVertical" | "AlignSpaceBetweenHorizontal" | "AlignSpaceBetweenVertical" | "AlignSpaceEvenlyHorizontal" | "AlignSpaceEvenlyVertical" | "AlignSpaceFitVertical" | "AlignStartHorizontal" | "AlignStartVertical" | "AlignStraighten" | "AlignStretchHorizontal" | "AlignStretchVertical" | "AlignTop" | "AnimalCat" | "AnimalDog" | "AnimalRabbit" | "AnimalRabbitOff" | "AnimalTurtle" | "AppFolder" | "AppGeneric" | "AppRecent" | "AppStore" | "AppTitle" | "ApprovalsApp" | "Apps" | "AppsAddIn" | "AppsList" | "AppsListDetail" | "Archive" | "ArchiveArrowBack" | "ArchiveMultiple" | "ArchiveSettings" | "ArrowAutofitContent" | "ArrowAutofitDown" | "ArrowAutofitHeight" | "ArrowAutofitHeightDotted" | "ArrowAutofitHeightIn" | "ArrowAutofitUp" | "ArrowAutofitWidth" | "ArrowAutofitWidthDotted" | "ArrowBetweenDown" | "ArrowBetweenUp" | "ArrowBidirectionalLeftRight" | "ArrowBidirectionalUpDown" | "ArrowBounce" | "ArrowCircleDown" | "ArrowCircleDownDouble" | "ArrowCircleDownRight" | "ArrowCircleDownSplit" | "ArrowCircleDownUp" | "ArrowCircleLeft" | "ArrowCircleRight" | "ArrowCircleUp" | "ArrowCircleUpLeft" | "ArrowCircleUpRight" | "ArrowClockwise" | "ArrowClockwiseDashes" | "ArrowCollapseAll" | "ArrowCounterclockwise" | "ArrowCounterclockwiseDashes" | "ArrowCurveDownLeft" | "ArrowCurveDownRight" | "ArrowCurveUpLeft" | "ArrowCurveUpRight" | "ArrowDown" | "ArrowDownExclamation" | "ArrowDownLeft" | "ArrowDownload" | "ArrowDownloadOff" | "ArrowEject" | "ArrowEnter" | "ArrowEnterLeft" | "ArrowEnterUp" | "ArrowExit" | "ArrowExpand" | "ArrowExport" | "ArrowExportLtr" | "ArrowExportRtl" | "ArrowExportUp" | "ArrowFit" | "ArrowFitIn" | "ArrowFlowDiagonalUpRight" | "ArrowFlowUpRight" | "ArrowFlowUpRightRectangleMultiple" | "ArrowForward" | "ArrowForwardDownLightning" | "ArrowForwardDownPerson" | "ArrowHookDownLeft" | "ArrowHookDownRight" | "ArrowHookUpLeft" | "ArrowHookUpRight" | "ArrowImport" | "ArrowJoin" | "ArrowLeft" | "ArrowMaximize" | "ArrowMaximizeVertical" | "ArrowMinimize" | "ArrowMinimizeVertical" | "ArrowMove" | "ArrowMoveInward" | "ArrowNext" | "ArrowOutlineDownLeft" | "ArrowOutlineUpRight" | "ArrowParagraph" | "ArrowPrevious" | "ArrowRedo" | "ArrowRepeat1" | "ArrowRepeatAll" | "ArrowRepeatAllOff" | "ArrowReply" | "ArrowReplyAll" | "ArrowReplyDown" | "ArrowReset" | "ArrowRight" | "ArrowRotateClockwise" | "ArrowRotateCounterclockwise" | "ArrowRouting" | "ArrowRoutingRectangleMultiple" | "ArrowShuffle" | "ArrowShuffleOff" | "ArrowSort" | "ArrowSortDown" | "ArrowSortDownLines" | "ArrowSortUp" | "ArrowSplit" | "ArrowSprint" | "ArrowSquareDown" | "ArrowSquareUpRight" | "ArrowStepBack" | "ArrowStepIn" | "ArrowStepInDiagonalDownLeft" | "ArrowStepInLeft" | "ArrowStepInRight" | "ArrowStepOut" | "ArrowStepOver" | "ArrowSwap" | "ArrowSync" | "ArrowSyncCheckmark" | "ArrowSyncCircle" | "ArrowSyncDismiss" | "ArrowSyncOff" | "ArrowTrending" | "ArrowTrendingCheckmark" | "ArrowTrendingDown" | "ArrowTrendingLines" | "ArrowTrendingSettings" | "ArrowTrendingSparkle" | "ArrowTrendingText" | "ArrowTrendingWrench" | "ArrowTurnBidirectionalDownRight" | "ArrowTurnDownLeft" | "ArrowTurnDownRight" | "ArrowTurnDownUp" | "ArrowTurnLeftDown" | "ArrowTurnLeftRight" | "ArrowTurnLeftUp" | "ArrowTurnRight" | "ArrowTurnRightDown" | "ArrowTurnRightLeft" | "ArrowTurnRightUp" | "ArrowTurnUpDown" | "ArrowTurnUpLeft" | "ArrowUndo" | "ArrowUp" | "ArrowUpLeft" | "ArrowUpRight" | "ArrowUpRightDashes" | "ArrowUpSquareSettings" | "ArrowUpload" | "ArrowWrap" | "ArrowWrapOff" | "ArrowsBidirectional" | "Attach" | "AttachArrowRight" | "AttachText" | "AutoFitHeight" | "AutoFitWidth" | "Autocorrect" | "Autosum" | "Backpack" | "BackpackAdd" | "Backspace" | "Badge" | "Balloon" | "BarcodeScanner" | "Battery0" | "Battery10" | "Battery1" | "Battery2" | "Battery3" | "Battery4" | "Battery5" | "Battery6" | "Battery7" | "Battery8" | "Battery9" | "BatteryCharge" | "BatteryCheckmark" | "BatterySaver" | "BatteryWarning" | "Beach" | "Beaker" | "BeakerAdd" | "BeakerDismiss" | "BeakerEdit" | "BeakerEmpty" | "BeakerOff" | "BeakerSettings" | "Bed" | "BezierCurveSquare" | "BinFull" | "BinRecycle" | "BinRecycleFull" | "BinderTriangle" | "Bluetooth" | "BluetoothConnected" | "BluetoothDisabled" | "BluetoothSearching" | "Blur" | "Board" | "BoardGames" | "BoardHeart" | "BoardSplit" | "Book" | "BookAdd" | "BookArrowClockwise" | "BookClock" | "BookCoins" | "BookCompass" | "BookContacts" | "BookDatabase" | "BookDefault" | "BookDismiss" | "BookExclamationMark" | "BookGlobe" | "BookInformation" | "BookLetter" | "BookNumber" | "BookOpen" | "BookOpenGlobe" | "BookOpenMicrophone" | "BookPulse" | "BookQuestionMark" | "BookQuestionMarkRtl" | "BookSearch" | "BookStar" | "BookTemplate" | "BookTheta" | "BookToolbox" | "Bookmark" | "BookmarkAdd" | "BookmarkMultiple" | "BookmarkOff" | "BookmarkSearch" | "BorderAll" | "BorderBottom" | "BorderBottomDouble" | "BorderBottomThick" | "BorderInside" | "BorderLeft" | "BorderLeftRight" | "BorderNone" | "BorderOutside" | "BorderOutsideThick" | "BorderRight" | "BorderTop" | "BorderTopBottom" | "BorderTopBottomDouble" | "BorderTopBottomThick" | "Bot" | "BotAdd" | "BotSparkle" | "BowTie" | "BowlChopsticks" | "BowlSalad" | "Box" | "BoxArrowLeft" | "BoxArrowUp" | "BoxCheckmark" | "BoxDismiss" | "BoxEdit" | "BoxMultiple" | "BoxMultipleArrowLeft" | "BoxMultipleArrowRight" | "BoxMultipleCheckmark" | "BoxMultipleSearch" | "BoxSearch" | "BoxToolbox" | "Braces" | "BracesCheckmark" | "BracesDismiss" | "BracesVariable" | "BrainCircuit" | "Branch" | "BranchCompare" | "BranchFork" | "BranchForkHint" | "BranchForkLink" | "BranchRequest" | "BreakoutRoom" | "Briefcase" | "BriefcaseMedical" | "BriefcaseOff" | "BriefcasePerson" | "BriefcaseSearch" | "BrightnessHigh" | "BrightnessLow" | "BroadActivityFeed" | "Broom" | "BubbleMultiple" | "Bug" | "BugArrowCounterclockwise" | "BugProhibited" | "Building" | "BuildingBank" | "BuildingBankLink" | "BuildingBankToolbox" | "BuildingCloud" | "BuildingDesktop" | "BuildingFactory" | "BuildingGovernment" | "BuildingGovernmentSearch" | "BuildingHome" | "BuildingLighthouse" | "BuildingMosque" | "BuildingMultiple" | "BuildingPeople" | "BuildingRetail" | "BuildingRetailMoney" | "BuildingRetailMore" | "BuildingRetailShield" | "BuildingRetailToolbox" | "BuildingShop" | "BuildingSkyscraper" | "BuildingSwap" | "BuildingTownhouse" | "Button" | "Calculator" | "CalculatorArrowClockwise" | "CalculatorMultiple" | "Calendar" | "Calendar3Day" | "CalendarAdd" | "CalendarAgenda" | "CalendarArrowCounterclockwise" | "CalendarArrowDown" | "CalendarArrowRight" | "CalendarAssistant" | "CalendarCancel" | "CalendarChat" | "CalendarCheckmark" | "CalendarClock" | "CalendarDataBar" | "CalendarDate" | "CalendarDay" | "CalendarEdit" | "CalendarEmpty" | "CalendarError" | "CalendarEye" | "CalendarInfo" | "CalendarLink" | "CalendarLock" | "CalendarLtr" | "CalendarMail" | "CalendarMention" | "CalendarMonth" | "CalendarMultiple" | "CalendarNote" | "CalendarPattern" | "CalendarPerson" | "CalendarPhone" | "CalendarPlay" | "CalendarQuestionMark" | "CalendarRecord" | "CalendarReply" | "CalendarRtl" | "CalendarSearch" | "CalendarSettings" | "CalendarShield" | "CalendarStar" | "CalendarSync" | "CalendarToday" | "CalendarToolbox" | "CalendarVideo" | "CalendarWeekNumbers" | "CalendarWeekStart" | "CalendarWorkWeek" | "Call" | "CallAdd" | "CallCheckmark" | "CallConnecting" | "CallDismiss" | "CallEnd" | "CallExclamation" | "CallForward" | "CallInbound" | "CallMissed" | "CallOutbound" | "CallPark" | "CallPause" | "CallProhibited" | "CallTransfer" | "CallWarning" | "CalligraphyPen" | "CalligraphyPenCheckmark" | "CalligraphyPenError" | "CalligraphyPenQuestionMark" | "Camera" | "CameraAdd" | "CameraDome" | "CameraEdit" | "CameraOff" | "CameraSparkles" | "CameraSwitch" | "CardUi" | "CaretDown" | "CaretDownRight" | "CaretLeft" | "CaretRight" | "CaretUp" | "Cart" | "Cast" | "CastMultiple" | "CatchUp" | "Cd" | "Cellular3G" | "Cellular4G" | "Cellular5G" | "CellularData1" | "CellularData2" | "CellularData3" | "CellularData4" | "CellularData5" | "CellularOff" | "CellularWarning" | "CenterHorizontal" | "CenterVertical" | "Certificate" | "Channel" | "ChannelAdd" | "ChannelAlert" | "ChannelArrowLeft" | "ChannelDismiss" | "ChannelShare" | "ChannelSubtract" | "ChartMultiple" | "ChartPerson" | "Chat" | "ChatAdd" | "ChatArrowBack" | "ChatArrowDoubleBack" | "ChatBubblesQuestion" | "ChatCursor" | "ChatDismiss" | "ChatEmpty" | "ChatHelp" | "ChatLock" | "ChatMail" | "ChatMultiple" | "ChatMultipleHeart" | "ChatOff" | "ChatSettings" | "ChatSparkle" | "ChatVideo" | "ChatWarning" | "Check" | "Checkbox1" | "Checkbox2" | "CheckboxArrowRight" | "CheckboxChecked" | "CheckboxCheckedSync" | "CheckboxIndeterminate" | "CheckboxPerson" | "CheckboxUnchecked" | "CheckboxWarning" | "Checkmark" | "CheckmarkCircle" | "CheckmarkCircleSquare" | "CheckmarkLock" | "CheckmarkNote" | "CheckmarkSquare" | "CheckmarkStarburst" | "CheckmarkUnderlineCircle" | "Chess" | "ChevronCircleDown" | "ChevronCircleLeft" | "ChevronCircleRight" | "ChevronCircleUp" | "ChevronDoubleDown" | "ChevronDoubleLeft" | "ChevronDoubleRight" | "ChevronDoubleUp" | "ChevronDown" | "ChevronDownUp" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "ChevronUpDown" | "Circle" | "CircleEdit" | "CircleEraser" | "CircleHalfFill" | "CircleHint" | "CircleHintHalfVertical" | "CircleImage" | "CircleLine" | "CircleMultipleSubtractCheckmark" | "CircleOff" | "CircleSmall" | "City" | "Class" | "Classification" | "ClearFormatting" | "Clipboard" | "Clipboard3Day" | "ClipboardArrowRight" | "ClipboardBrush" | "ClipboardBulletList" | "ClipboardBulletListLtr" | "ClipboardBulletListRtl" | "ClipboardCheckmark" | "ClipboardClock" | "ClipboardCode" | "ClipboardDataBar" | "ClipboardDay" | "ClipboardEdit" | "ClipboardError" | "ClipboardHeart" | "ClipboardImage" | "ClipboardLetter" | "ClipboardLink" | "ClipboardMathFormula" | "ClipboardMonth" | "ClipboardMore" | "ClipboardMultiple" | "ClipboardNote" | "ClipboardNumber123" | "ClipboardPaste" | "ClipboardPulse" | "ClipboardSearch" | "ClipboardSettings" | "ClipboardTask" | "ClipboardTaskAdd" | "ClipboardTaskList" | "ClipboardTaskListLtr" | "ClipboardTaskListRtl" | "ClipboardText" | "ClipboardTextEdit" | "ClipboardTextLtr" | "ClipboardTextRtl" | "Clock" | "ClockAlarm" | "ClockArrowDownload" | "ClockDismiss" | "ClockLock" | "ClockPause" | "ClockToolbox" | "ClosedCaption" | "ClosedCaptionOff" | "Cloud" | "CloudAdd" | "CloudArchive" | "CloudArrowDown" | "CloudArrowUp" | "CloudBeaker" | "CloudBidirectional" | "CloudCheckmark" | "CloudCube" | "CloudDatabase" | "CloudDesktop" | "CloudDismiss" | "CloudEdit" | "CloudError" | "CloudFlow" | "CloudLink" | "CloudOff" | "CloudSwap" | "CloudSync" | "CloudWords" | "Clover" | "Code" | "CodeBlock" | "CodeCircle" | "CodeCs" | "CodeCsRectangle" | "CodeFs" | "CodeFsRectangle" | "CodeJs" | "CodeJsRectangle" | "CodePy" | "CodePyRectangle" | "CodeRb" | "CodeRbRectangle" | "CodeText" | "CodeTextEdit" | "CodeTextOff" | "CodeTs" | "CodeTsRectangle" | "CodeVb" | "CodeVbRectangle" | "Collections" | "CollectionsAdd" | "Color" | "ColorBackground" | "ColorBackgroundAccent" | "ColorFill" | "ColorFillAccent" | "ColorLine" | "ColorLineAccent" | "Column" | "ColumnArrowRight" | "ColumnDoubleCompare" | "ColumnEdit" | "ColumnSingle" | "ColumnSingleCompare" | "ColumnTriple" | "ColumnTripleEdit" | "Comma" | "Comment" | "CommentAdd" | "CommentArrowLeft" | "CommentArrowRight" | "CommentCheckmark" | "CommentDismiss" | "CommentEdit" | "CommentError" | "CommentLightning" | "CommentLink" | "CommentMention" | "CommentMultiple" | "CommentMultipleCheckmark" | "CommentMultipleLink" | "CommentNote" | "CommentOff" | "Communication" | "CommunicationPerson" | "CommunicationShield" | "CompassNorthwest" | "Component2DoubleTapSwipeDown" | "Component2DoubleTapSwipeUp" | "Compose" | "Cone" | "ConferenceRoom" | "Connected" | "Connector" | "ContactCard" | "ContactCardGroup" | "ContactCardLink" | "ContactCardRibbon" | "ContentSettings" | "ContentView" | "ContentViewGallery" | "ContentViewGalleryLightning" | "ContractDownLeft" | "ContractUpRight" | "ControlButton" | "ConvertRange" | "Cookies" | "Copy" | "CopyAdd" | "CopyArrowRight" | "CopySelect" | "Couch" | "CreditCardClock" | "CreditCardPerson" | "CreditCardToolbox" | "Crop" | "CropInterim" | "CropInterimOff" | "CropSparkle" | "Crown" | "CrownSubtract" | "Cube" | "CubeAdd" | "CubeArrowCurveDown" | "CubeLink" | "CubeMultiple" | "CubeQuick" | "CubeRotate" | "CubeSync" | "CubeTree" | "CurrencyDollarEuro" | "CurrencyDollarRupee" | "Cursor" | "CursorClick" | "CursorHover" | "CursorHoverOff" | "CursorProhibited" | "Cut" | "DarkTheme" | "DataArea" | "DataBarHorizontal" | "DataBarHorizontalDescending" | "DataBarVertical" | "DataBarVerticalAdd" | "DataBarVerticalAscending" | "DataBarVerticalStar" | "DataFunnel" | "DataHistogram" | "DataLine" | "DataPie" | "DataScatter" | "DataSunburst" | "DataTreemap" | "DataTrending" | "DataUsage" | "DataUsageEdit" | "DataUsageSettings" | "DataUsageToolbox" | "DataWaterfall" | "DataWhisker" | "Database" | "DatabaseArrowDown" | "DatabaseArrowRight" | "DatabaseArrowUp" | "DatabaseLightning" | "DatabaseLink" | "DatabaseMultiple" | "DatabasePerson" | "DatabasePlugConnected" | "DatabaseSearch" | "DatabaseStack" | "DatabaseSwitch" | "DatabaseWarning" | "DatabaseWindow" | "DecimalArrowLeft" | "DecimalArrowRight" | "Delete" | "DeleteArrowBack" | "DeleteDismiss" | "DeleteLines" | "DeleteOff" | "Dentist" | "DesignIdeas" | "Desk" | "Desktop" | "DesktopArrowDown" | "DesktopArrowRight" | "DesktopCheckmark" | "DesktopCursor" | "DesktopEdit" | "DesktopFlow" | "DesktopKeyboard" | "DesktopMac" | "DesktopPulse" | "DesktopSignal" | "DesktopSpeaker" | "DesktopSpeakerOff" | "DesktopSync" | "DesktopToolbox" | "DesktopTower" | "DeveloperBoard" | "DeveloperBoardLightning" | "DeveloperBoardLightningToolbox" | "DeveloperBoardSearch" | "DeviceEq" | "DeviceMeetingRoom" | "DeviceMeetingRoomRemote" | "Diagram" | "Dialpad" | "DialpadOff" | "DialpadQuestionMark" | "Diamond" | "Directions" | "Dishwasher" | "Dismiss" | "DismissCircle" | "DismissSquare" | "DismissSquareMultiple" | "Diversity" | "DividerShort" | "DividerTall" | "Dock" | "DockRow" | "Doctor" | "Document100" | "Document" | "DocumentAdd" | "DocumentArrowDown" | "DocumentArrowLeft" | "DocumentArrowRight" | "DocumentArrowUp" | "DocumentBorder" | "DocumentBorderPrint" | "DocumentBriefcase" | "DocumentBulletList" | "DocumentBulletListArrowLeft" | "DocumentBulletListClock" | "DocumentBulletListCube" | "DocumentBulletListMultiple" | "DocumentBulletListOff" | "DocumentCatchUp" | "DocumentCheckmark" | "DocumentChevronDouble" | "DocumentContract" | "DocumentCopy" | "DocumentCs" | "DocumentCss" | "DocumentCube" | "DocumentData" | "DocumentDataLink" | "DocumentDataLock" | "DocumentDatabase" | "DocumentDismiss" | "DocumentEdit" | "DocumentEndnote" | "DocumentError" | "DocumentFit" | "DocumentFlowchart" | "DocumentFolder" | "DocumentFooter" | "DocumentFooterDismiss" | "DocumentFs" | "DocumentHeader" | "DocumentHeaderArrowDown" | "DocumentHeaderDismiss" | "DocumentHeaderFooter" | "DocumentHeart" | "DocumentHeartPulse" | "DocumentImage" | "DocumentJava" | "DocumentJavascript" | "DocumentJs" | "DocumentKey" | "DocumentLandscape" | "DocumentLandscapeData" | "DocumentLandscapeSplit" | "DocumentLandscapeSplitHint" | "DocumentLightning" | "DocumentLink" | "DocumentLock" | "DocumentMargins" | "DocumentMention" | "DocumentMultiple" | "DocumentMultiplePercent" | "DocumentMultipleProhibited" | "DocumentMultipleSync" | "DocumentNumber1" | "DocumentOnePage" | "DocumentOnePageAdd" | "DocumentOnePageBeaker" | "DocumentOnePageColumns" | "DocumentOnePageLink" | "DocumentOnePageMultiple" | "DocumentOnePageSparkle" | "DocumentPageBottomCenter" | "DocumentPageBottomLeft" | "DocumentPageBottomRight" | "DocumentPageBreak" | "DocumentPageNumber" | "DocumentPageTopCenter" | "DocumentPageTopLeft" | "DocumentPageTopRight" | "DocumentPdf" | "DocumentPercent" | "DocumentPerson" | "DocumentPill" | "DocumentPrint" | "DocumentProhibited" | "DocumentPy" | "DocumentQuestionMark" | "DocumentQueue" | "DocumentQueueAdd" | "DocumentQueueMultiple" | "DocumentRb" | "DocumentRibbon" | "DocumentSass" | "DocumentSave" | "DocumentSearch" | "DocumentSettings" | "DocumentSplitHint" | "DocumentSplitHintOff" | "DocumentSync" | "DocumentTable" | "DocumentTableArrowRight" | "DocumentTableCheckmark" | "DocumentTableCube" | "DocumentTableSearch" | "DocumentTableTruck" | "DocumentTarget" | "DocumentText" | "DocumentTextClock" | "DocumentTextExtract" | "DocumentTextLink" | "DocumentTextToolbox" | "DocumentToolbox" | "DocumentTs" | "DocumentVb" | "DocumentWidth" | "DocumentYml" | "Door" | "DoorArrowLeft" | "DoorArrowRight" | "DoorTag" | "DoubleSwipeDown" | "DoubleSwipeUp" | "DoubleTapSwipeDown" | "DoubleTapSwipeUp" | "Drafts" | "Drag" | "DrawImage" | "DrawShape" | "DrawText" | "Drawer" | "DrawerAdd" | "DrawerArrowDownload" | "DrawerDismiss" | "DrawerPlay" | "DrawerSubtract" | "DrinkBeer" | "DrinkBottle" | "DrinkBottleOff" | "DrinkCoffee" | "DrinkMargarita" | "DrinkToGo" | "DrinkWine" | "DriveTrain" | "Drop" | "DualScreen" | "DualScreenAdd" | "DualScreenArrowRight" | "DualScreenArrowUp" | "DualScreenClock" | "DualScreenClosedAlert" | "DualScreenDesktop" | "DualScreenDismiss" | "DualScreenGroup" | "DualScreenHeader" | "DualScreenLock" | "DualScreenMirror" | "DualScreenPagination" | "DualScreenSettings" | "DualScreenSpan" | "DualScreenSpeaker" | "DualScreenStatusBar" | "DualScreenTablet" | "DualScreenUpdate" | "DualScreenVerticalScroll" | "DualScreenVibrate" | "Dumbbell" | "Dust" | "Earth" | "EarthLeaf" | "Edit" | "EditArrowBack" | "EditOff" | "EditProhibited" | "EditSettings" | "Elevator" | "Emoji" | "EmojiAdd" | "EmojiAngry" | "EmojiEdit" | "EmojiHand" | "EmojiHint" | "EmojiLaugh" | "EmojiMeh" | "EmojiMultiple" | "EmojiSad" | "EmojiSadSlight" | "EmojiSmileSlight" | "EmojiSparkle" | "EmojiSurprise" | "Engine" | "EqualCircle" | "EqualOff" | "Eraser" | "EraserMedium" | "EraserSegment" | "EraserSmall" | "EraserTool" | "ErrorCircle" | "ErrorCircleSettings" | "ExpandUpLeft" | "ExpandUpRight" | "ExtendedDock" | "Eye" | "EyeLines" | "EyeOff" | "EyeTracking" | "EyeTrackingOff" | "Eyedropper" | "EyedropperOff" | "FStop" | "FastAcceleration" | "FastForward" | "Fax" | "Feed" | "Filmstrip" | "FilmstripImage" | "FilmstripOff" | "FilmstripPlay" | "FilmstripSplit" | "Filter" | "FilterAdd" | "FilterDismiss" | "FilterSync" | "Fingerprint" | "Fire" | "Fireplace" | "FixedWidth" | "Flag" | "FlagCheckered" | "FlagClock" | "FlagOff" | "FlagPride" | "FlagPrideIntersexInclusiveProgress" | "FlagPridePhiladelphia" | "FlagPrideProgress" | "Flash" | "FlashAdd" | "FlashAuto" | "FlashCheckmark" | "FlashFlow" | "FlashOff" | "FlashPlay" | "FlashSettings" | "FlashSparkle" | "Flashlight" | "FlashlightOff" | "FlipHorizontal" | "FlipVertical" | "Flow" | "Flowchart" | "FlowchartCircle" | "Fluent" | "Fluid" | "Folder" | "FolderAdd" | "FolderArrowLeft" | "FolderArrowRight" | "FolderArrowUp" | "FolderBriefcase" | "FolderGlobe" | "FolderLightning" | "FolderLink" | "FolderList" | "FolderMail" | "FolderMultiple" | "FolderOpen" | "FolderOpenVertical" | "FolderPeople" | "FolderPerson" | "FolderProhibited" | "FolderSearch" | "FolderSwap" | "FolderSync" | "FolderZip" | "FontDecrease" | "FontIncrease" | "FontSpaceTrackingIn" | "FontSpaceTrackingOut" | "Food" | "FoodApple" | "FoodCake" | "FoodCarrot" | "FoodChickenLeg" | "FoodEgg" | "FoodFish" | "FoodGrains" | "FoodPizza" | "FoodToast" | "Form" | "FormMultiple" | "FormNew" | "Fps120" | "Fps240" | "Fps30" | "Fps60" | "Fps960" | "Frame" | "FullScreenMaximize" | "FullScreenMinimize" | "Games" | "GanttChart" | "Gas" | "GasPump" | "Gather" | "Gauge" | "GaugeAdd" | "Gavel" | "GavelProhibited" | "Gesture" | "Gif" | "Gift" | "GiftCard" | "GiftCardAdd" | "GiftCardArrowRight" | "GiftCardMoney" | "GiftCardMultiple" | "GiftOpen" | "Glance" | "GlanceDefault" | "GlanceHorizontal" | "GlanceHorizontalSparkle" | "GlanceHorizontalSparkles" | "Glasses" | "GlassesOff" | "Globe" | "GlobeAdd" | "GlobeArrowForward" | "GlobeArrowUp" | "GlobeClock" | "GlobeDesktop" | "GlobeError" | "GlobeLocation" | "GlobePerson" | "GlobeProhibited" | "GlobeSearch" | "GlobeShield" | "GlobeStar" | "GlobeSurface" | "GlobeSync" | "GlobeVideo" | "GlobeWarning" | "Grid" | "GridCircles" | "GridDots" | "GridKanban" | "Group" | "GroupDismiss" | "GroupList" | "GroupReturn" | "Guardian" | "Guest" | "GuestAdd" | "Guitar" | "HandDraw" | "HandLeft" | "HandLeftChat" | "HandOpenHeart" | "HandRight" | "HandRightOff" | "HandWave" | "Handshake" | "HardDrive" | "HardDriveCall" | "HatGraduation" | "HatGraduationAdd" | "HatGraduationSparkle" | "Hd" | "Hdr" | "HdrOff" | "Headphones" | "HeadphonesSoundWave" | "Headset" | "HeadsetAdd" | "HeadsetVr" | "Heart" | "HeartBroken" | "HeartCircle" | "HeartCircleHint" | "HeartOff" | "HeartPulse" | "HeartPulseCheckmark" | "HeartPulseError" | "HeartPulseWarning" | "Hexagon" | "HexagonThree" | "Highlight" | "HighlightAccent" | "HighlightLink" | "History" | "HistoryDismiss" | "Home" | "HomeAdd" | "HomeCheckmark" | "HomeDatabase" | "HomeHeart" | "HomeMore" | "HomePerson" | "HomeSplit" | "Hourglass" | "HourglassHalf" | "HourglassOneQuarter" | "HourglassThreeQuarter" | "Icons" | "Image" | "ImageAdd" | "ImageAltText" | "ImageArrowBack" | "ImageArrowCounterclockwise" | "ImageArrowForward" | "ImageBorder" | "ImageCircle" | "ImageCopy" | "ImageEdit" | "ImageGlobe" | "ImageMultiple" | "ImageMultipleOff" | "ImageOff" | "ImageProhibited" | "ImageReflection" | "ImageSearch" | "ImageShadow" | "ImageSparkle" | "ImageStack" | "ImageTable" | "ImmersiveReader" | "Important" | "Incognito" | "Info" | "InfoShield" | "InkStroke" | "InkStrokeArrowDown" | "InkStrokeArrowUpDown" | "InkingTool" | "InkingToolAccent" | "InprivateAccount" | "Insert" | "IosArrow" | "IosArrowLtr" | "IosArrowRtl" | "IosChevronRight" | "Iot" | "IotAlert" | "Javascript" | "Joystick" | "Key" | "KeyCommand" | "KeyMultiple" | "KeyReset" | "Keyboard123" | "Keyboard" | "KeyboardDock" | "KeyboardLayoutFloat" | "KeyboardLayoutOneHandedLeft" | "KeyboardLayoutResize" | "KeyboardLayoutSplit" | "KeyboardMouse" | "KeyboardShift" | "KeyboardShiftUppercase" | "KeyboardTab" | "Kiosk" | "Laptop" | "LaptopDismiss" | "LaptopMultiple" | "LaptopSettings" | "LaptopShield" | "LaserTool" | "Lasso" | "LauncherSettings" | "Layer" | "LayerDiagonal" | "LayerDiagonalAdd" | "LayerDiagonalPerson" | "LayoutCellFour" | "LayoutCellFourFocusBottomLeft" | "LayoutCellFourFocusBottomRight" | "LayoutCellFourFocusTopLeft" | "LayoutCellFourFocusTopRight" | "LayoutColumnFour" | "LayoutColumnFourFocusCenterLeft" | "LayoutColumnFourFocusCenterRight" | "LayoutColumnFourFocusLeft" | "LayoutColumnFourFocusRight" | "LayoutColumnOneThirdLeft" | "LayoutColumnOneThirdRight" | "LayoutColumnOneThirdRightHint" | "LayoutColumnThree" | "LayoutColumnThreeFocusCenter" | "LayoutColumnThreeFocusLeft" | "LayoutColumnThreeFocusRight" | "LayoutColumnTwo" | "LayoutColumnTwoFocusLeft" | "LayoutColumnTwoFocusRight" | "LayoutColumnTwoSplitLeft" | "LayoutColumnTwoSplitLeftFocusBottomLeft" | "LayoutColumnTwoSplitLeftFocusRight" | "LayoutColumnTwoSplitLeftFocusTopLeft" | "LayoutColumnTwoSplitRight" | "LayoutColumnTwoSplitRightFocusBottomRight" | "LayoutColumnTwoSplitRightFocusLeft" | "LayoutColumnTwoSplitRightFocusTopRight" | "LayoutRowFour" | "LayoutRowFourFocusBottom" | "LayoutRowFourFocusCenterBottom" | "LayoutRowFourFocusCenterTop" | "LayoutRowFourFocusTop" | "LayoutRowThree" | "LayoutRowThreeFocusBottom" | "LayoutRowThreeFocusCenter" | "LayoutRowThreeFocusTop" | "LayoutRowTwo" | "LayoutRowTwoFocusBottom" | "LayoutRowTwoFocusTop" | "LayoutRowTwoSplitBottom" | "LayoutRowTwoSplitBottomFocusBottomLeft" | "LayoutRowTwoSplitBottomFocusBottomRight" | "LayoutRowTwoSplitBottomFocusTop" | "LayoutRowTwoSplitTop" | "LayoutRowTwoSplitTopFocusBottom" | "LayoutRowTwoSplitTopFocusTopLeft" | "LayoutRowTwoSplitTopFocusTopRight" | "LeafOne" | "LeafThree" | "LeafTwo" | "LearningApp" | "Library" | "Lightbulb" | "LightbulbCheckmark" | "LightbulbCircle" | "LightbulbFilament" | "LightbulbPerson" | "Likert" | "Line" | "LineDashes" | "LineHorizontal1" | "LineHorizontal1Dashes" | "LineHorizontal2DashesSolid" | "LineHorizontal3" | "LineHorizontal4" | "LineHorizontal4Search" | "LineHorizontal5" | "LineHorizontal5Error" | "LineStyle" | "LineThickness" | "Link" | "LinkAdd" | "LinkDismiss" | "LinkEdit" | "LinkMultiple" | "LinkPerson" | "LinkSettings" | "LinkSquare" | "LinkToolbox" | "List" | "ListBar" | "ListBarTree" | "ListBarTreeOffset" | "ListRtl" | "Live" | "LiveOff" | "LocalLanguage" | "Location" | "LocationAdd" | "LocationAddLeft" | "LocationAddRight" | "LocationAddUp" | "LocationArrow" | "LocationArrowLeft" | "LocationArrowRight" | "LocationArrowUp" | "LocationDismiss" | "LocationLive" | "LocationOff" | "LocationTargetSquare" | "LockClosed" | "LockClosedKey" | "LockMultiple" | "LockOpen" | "LockShield" | "Lottery" | "Luggage" | "Mail" | "MailAdd" | "MailAlert" | "MailAllRead" | "MailAllUnread" | "MailArrowDoubleBack" | "MailArrowDown" | "MailArrowForward" | "MailArrowUp" | "MailAttach" | "MailCheckmark" | "MailClock" | "MailCopy" | "MailDismiss" | "MailEdit" | "MailError" | "MailInbox" | "MailInboxAdd" | "MailInboxAll" | "MailInboxArrowDown" | "MailInboxArrowRight" | "MailInboxArrowUp" | "MailInboxCheckmark" | "MailInboxDismiss" | "MailLink" | "MailList" | "MailMultiple" | "MailOff" | "MailOpenPerson" | "MailPause" | "MailProhibited" | "MailRead" | "MailReadMultiple" | "MailRewind" | "MailSettings" | "MailShield" | "MailTemplate" | "MailUnread" | "MailWarning" | "Mailbox" | "Map" | "MapDrive" | "Markdown" | "MatchAppLayout" | "MathFormatLinear" | "MathFormatProfessional" | "MathFormula" | "MathSymbols" | "Maximize" | "MeetNow" | "Megaphone" | "MegaphoneCircle" | "MegaphoneLoud" | "MegaphoneOff" | "Memory" | "Mention" | "MentionArrowDown" | "MentionBrackets" | "Merge" | "Mic" | "MicOff" | "MicProhibited" | "MicPulse" | "MicPulseOff" | "MicRecord" | "MicSettings" | "MicSparkle" | "MicSync" | "Microscope" | "Midi" | "MobileOptimized" | "Mold" | "Molecule" | "Money" | "MoneyCalculator" | "MoneyDismiss" | "MoneyHand" | "MoneyOff" | "MoneySettings" | "MoreCircle" | "MoreHorizontal" | "MoreVertical" | "MountainLocationBottom" | "MountainLocationTop" | "MountainTrail" | "MoviesAndTv" | "Multiplier12X" | "Multiplier15X" | "Multiplier18X" | "Multiplier1X" | "Multiplier2X" | "Multiplier5X" | "MultiselectLtr" | "MultiselectRtl" | "MusicNote1" | "MusicNote2" | "MusicNote2Play" | "MusicNoteOff1" | "MusicNoteOff2" | "MyLocation" | "Navigation" | "NavigationLocationTarget" | "NavigationPlay" | "NavigationUnread" | "NetworkAdapter" | "NetworkCheck" | "New" | "News" | "Next" | "NextFrame" | "Note" | "NoteAdd" | "NoteEdit" | "NotePin" | "Notebook" | "NotebookAdd" | "NotebookArrowCurveDown" | "NotebookError" | "NotebookEye" | "NotebookLightning" | "NotebookQuestionMark" | "NotebookSection" | "NotebookSectionArrowRight" | "NotebookSubsection" | "NotebookSync" | "Notepad" | "NotepadEdit" | "NotepadPerson" | "NumberCircle0" | "NumberCircle1" | "NumberCircle2" | "NumberCircle3" | "NumberCircle4" | "NumberCircle5" | "NumberCircle6" | "NumberCircle7" | "NumberCircle8" | "NumberCircle9" | "NumberRow" | "NumberSymbol" | "NumberSymbolDismiss" | "NumberSymbolSquare" | "Open" | "OpenFolder" | "OpenOff" | "Options" | "Organization" | "OrganizationHorizontal" | "Orientation" | "Oval" | "Oven" | "PaddingDown" | "PaddingLeft" | "PaddingRight" | "PaddingTop" | "PageFit" | "PaintBrush" | "PaintBrushArrowDown" | "PaintBrushArrowUp" | "PaintBucket" | "Pair" | "PanelBottom" | "PanelBottomContract" | "PanelBottomExpand" | "PanelLeft" | "PanelLeftAdd" | "PanelLeftContract" | "PanelLeftExpand" | "PanelLeftFocusRight" | "PanelLeftHeader" | "PanelLeftHeaderAdd" | "PanelLeftHeaderKey" | "PanelLeftKey" | "PanelLeftText" | "PanelLeftTextAdd" | "PanelLeftTextDismiss" | "PanelRight" | "PanelRightAdd" | "PanelRightContract" | "PanelRightCursor" | "PanelRightExpand" | "PanelRightGallery" | "PanelSeparateWindow" | "PanelTopContract" | "PanelTopExpand" | "PanelTopGallery" | "Password" | "Patch" | "Patient" | "Pause" | "PauseCircle" | "PauseOff" | "PauseSettings" | "Payment" | "Pen" | "PenDismiss" | "PenOff" | "PenProhibited" | "PenSparkle" | "Pentagon" | "People" | "PeopleAdd" | "PeopleAudience" | "PeopleCall" | "PeopleChat" | "PeopleCheckmark" | "PeopleCommunity" | "PeopleCommunityAdd" | "PeopleEdit" | "PeopleError" | "PeopleList" | "PeopleLock" | "PeopleMoney" | "PeopleProhibited" | "PeopleQueue" | "PeopleSearch" | "PeopleSettings" | "PeopleStar" | "PeopleSwap" | "PeopleSync" | "PeopleTeam" | "PeopleTeamAdd" | "PeopleTeamDelete" | "PeopleTeamToolbox" | "PeopleToolbox" | "Person" | "Person5" | "Person6" | "PersonAccounts" | "PersonAdd" | "PersonAlert" | "PersonArrowBack" | "PersonArrowLeft" | "PersonArrowRight" | "PersonAvailable" | "PersonBoard" | "PersonCall" | "PersonChat" | "PersonCircle" | "PersonClock" | "PersonDelete" | "PersonDesktop" | "PersonEdit" | "PersonFeedback" | "PersonHeart" | "PersonInfo" | "PersonKey" | "PersonLightbulb" | "PersonLightning" | "PersonLink" | "PersonLock" | "PersonMail" | "PersonMoney" | "PersonNote" | "PersonPhone" | "PersonPill" | "PersonProhibited" | "PersonQuestionMark" | "PersonRibbon" | "PersonRunning" | "PersonSearch" | "PersonSettings" | "PersonSquare" | "PersonSquareCheckmark" | "PersonStanding" | "PersonStar" | "PersonStarburst" | "PersonSubtract" | "PersonSupport" | "PersonSwap" | "PersonSync" | "PersonTag" | "PersonVoice" | "PersonWalking" | "PersonWarning" | "PersonWrench" | "Phone" | "PhoneAdd" | "PhoneArrowRight" | "PhoneBriefcase" | "PhoneChat" | "PhoneCheckmark" | "PhoneDesktop" | "PhoneDesktopAdd" | "PhoneDismiss" | "PhoneEdit" | "PhoneEraser" | "PhoneFooterArrowDown" | "PhoneHeaderArrowUp" | "PhoneKey" | "PhoneLaptop" | "PhoneLinkSetup" | "PhoneLock" | "PhoneMultiple" | "PhoneMultipleSettings" | "PhonePageHeader" | "PhonePagination" | "PhonePerson" | "PhoneScreenTime" | "PhoneShake" | "PhoneSpanIn" | "PhoneSpanOut" | "PhoneSpeaker" | "PhoneStatusBar" | "PhoneSubtract" | "PhoneTablet" | "PhoneUpdate" | "PhoneUpdateCheckmark" | "PhoneVerticalScroll" | "PhoneVibrate" | "PhotoFilter" | "Pi" | "PictureInPicture" | "PictureInPictureEnter" | "PictureInPictureExit" | "Pill" | "Pin" | "PinOff" | "Pipeline" | "PipelineAdd" | "PipelineArrowCurveDown" | "PipelinePlay" | "Pivot" | "PlantGrass" | "PlantRagweed" | "Play" | "PlayCircle" | "PlayCircleHint" | "PlayMultiple" | "PlaySettings" | "PlayingCards" | "PlugConnected" | "PlugConnectedAdd" | "PlugConnectedCheckmark" | "PlugConnectedSettings" | "PlugDisconnected" | "PointScan" | "Poll" | "PollHorizontal" | "PollOff" | "PortHdmi" | "PortMicroUsb" | "PortUsbA" | "PortUsbC" | "PositionBackward" | "PositionForward" | "PositionToBack" | "PositionToFront" | "Power" | "Predictions" | "Premium" | "PremiumPerson" | "PresenceAvailable" | "PresenceAway" | "PresenceBlocked" | "PresenceBusy" | "PresenceDnd" | "PresenceOffline" | "PresenceOof" | "PresenceUnknown" | "Presenter" | "PresenterOff" | "PreviewLink" | "Previous" | "PreviousFrame" | "Print" | "PrintAdd" | "Production" | "ProductionCheckmark" | "Prohibited" | "ProhibitedMultiple" | "ProhibitedNote" | "ProjectionScreen" | "ProjectionScreenDismiss" | "ProjectionScreenText" | "ProtocolHandler" | "Pulse" | "PulseSquare" | "PuzzleCube" | "PuzzleCubePiece" | "PuzzlePiece" | "PuzzlePieceShield" | "QrCode" | "Question" | "QuestionCircle" | "QuizNew" | "Radar" | "RadarCheckmark" | "RadarRectangleMultiple" | "RadioButton" | "RadioButtonOff" | "Ram" | "RatingMature" | "RatioOneToOne" | "ReOrder" | "ReOrderDotsHorizontal" | "ReOrderDotsVertical" | "ReadAloud" | "ReadingList" | "ReadingListAdd" | "ReadingModeMobile" | "RealEstate" | "Receipt" | "ReceiptAdd" | "ReceiptBag" | "ReceiptCube" | "ReceiptMoney" | "ReceiptPlay" | "ReceiptSearch" | "ReceiptSparkles" | "Record" | "RecordStop" | "RectangleLandscape" | "RectangleLandscapeHintCopy" | "RectangleLandscapeSparkle" | "RectangleLandscapeSync" | "RectangleLandscapeSyncOff" | "RectanglePortraitLocationTarget" | "Recycle" | "RemixAdd" | "Remote" | "Rename" | "Reorder" | "Replay" | "Resize" | "ResizeImage" | "ResizeLarge" | "ResizeSmall" | "ResizeTable" | "ResizeVideo" | "Reward" | "Rewind" | "Rhombus" | "Ribbon" | "RibbonAdd" | "RibbonOff" | "RibbonStar" | "RoadCone" | "Rocket" | "RotateLeft" | "RotateRight" | "Router" | "RowTriple" | "Rss" | "Ruler" | "Run" | "Sanitize" | "Save" | "SaveArrowRight" | "SaveCopy" | "SaveEdit" | "SaveImage" | "SaveMultiple" | "SaveSearch" | "SaveSync" | "Savings" | "ScaleFill" | "ScaleFit" | "Scales" | "Scan" | "ScanCamera" | "ScanDash" | "ScanObject" | "ScanPerson" | "ScanQrCode" | "ScanTable" | "ScanText" | "ScanThumbUp" | "ScanThumbUpOff" | "ScanType" | "ScanTypeCheckmark" | "ScanTypeOff" | "Scratchpad" | "ScreenCut" | "ScreenPerson" | "ScreenSearch" | "Screenshot" | "ScreenshotRecord" | "Script" | "Search" | "SearchInfo" | "SearchSettings" | "SearchShield" | "SearchSquare" | "SearchVisual" | "Seat" | "SeatAdd" | "SelectAllOff" | "SelectAllOn" | "SelectObject" | "SelectObjectSkew" | "SelectObjectSkewDismiss" | "SelectObjectSkewEdit" | "Send" | "SendBeaker" | "SendClock" | "SendCopy" | "SerialPort" | "Server" | "ServerLink" | "ServerMultiple" | "ServerPlay" | "ServerSurface" | "ServerSurfaceMultiple" | "ServiceBell" | "Settings" | "SettingsChat" | "SettingsCogMultiple" | "ShapeExclude" | "ShapeIntersect" | "ShapeOrganic" | "ShapeSubtract" | "ShapeUnion" | "Shapes" | "Share" | "ShareAndroid" | "ShareCloseTray" | "ShareIos" | "ShareScreenPerson" | "ShareScreenPersonOverlay" | "ShareScreenPersonOverlayInside" | "ShareScreenPersonP" | "ShareScreenStart" | "ShareScreenStop" | "Shield" | "ShieldAdd" | "ShieldBadge" | "ShieldCheckmark" | "ShieldDismiss" | "ShieldDismissShield" | "ShieldError" | "ShieldGlobe" | "ShieldKeyhole" | "ShieldLock" | "ShieldPerson" | "ShieldPersonAdd" | "ShieldProhibited" | "ShieldQuestion" | "ShieldTask" | "Shifts" | "Shifts30Minutes" | "ShiftsActivity" | "ShiftsAdd" | "ShiftsAvailability" | "ShiftsCheckmark" | "ShiftsDay" | "ShiftsOpen" | "ShiftsProhibited" | "ShiftsQuestionMark" | "ShiftsTeam" | "ShoppingBag" | "ShoppingBagAdd" | "ShoppingBagArrowLeft" | "ShoppingBagDismiss" | "ShoppingBagPause" | "ShoppingBagPercent" | "ShoppingBagPlay" | "ShoppingBagTag" | "Shortpick" | "Showerhead" | "SidebarSearchLtr" | "SidebarSearchRtl" | "SignOut" | "Signature" | "Sim" | "SkipBack10" | "SkipForward10" | "SkipForward30" | "SkipForwardTab" | "SlashForward" | "Sleep" | "SlideAdd" | "SlideArrowRight" | "SlideContent" | "SlideEraser" | "SlideGrid" | "SlideHide" | "SlideLayout" | "SlideLink" | "SlideMicrophone" | "SlideMultiple" | "SlideMultipleArrowRight" | "SlideMultipleSearch" | "SlideRecord" | "SlideSearch" | "SlideSettings" | "SlideSize" | "SlideText" | "SlideTextEdit" | "SlideTextMultiple" | "SlideTextPerson" | "SlideTextSparkle" | "SlideTransition" | "Smartwatch" | "SmartwatchDot" | "Snooze" | "SoundSource" | "SoundWaveCircle" | "Space3D" | "Spacebar" | "Sparkle" | "SparkleCircle" | "Speaker0" | "Speaker1" | "Speaker2" | "SpeakerBluetooth" | "SpeakerBox" | "SpeakerEdit" | "SpeakerMute" | "SpeakerOff" | "SpeakerSettings" | "SpeakerUsb" | "SpinnerIos" | "SplitHint" | "SplitHorizontal" | "SplitVertical" | "Sport" | "SportAmericanFootball" | "SportBaseball" | "SportBasketball" | "SportHockey" | "SportSoccer" | "SprayCan" | "Square" | "SquareAdd" | "SquareArrowForward" | "SquareDismiss" | "SquareEraser" | "SquareHint" | "SquareHintApps" | "SquareHintArrowBack" | "SquareHintHexagon" | "SquareHintSparkles" | "SquareMultiple" | "SquareShadow" | "SquaresNested" | "Stack" | "StackAdd" | "StackArrowForward" | "StackStar" | "StackVertical" | "Star" | "StarAdd" | "StarArrowBack" | "StarArrowRightEnd" | "StarArrowRightStart" | "StarCheckmark" | "StarDismiss" | "StarEdit" | "StarEmphasis" | "StarHalf" | "StarLineHorizontal3" | "StarOff" | "StarOneQuarter" | "StarProhibited" | "StarSettings" | "StarThreeQuarter" | "Status" | "Step" | "Steps" | "Stethoscope" | "Sticker" | "StickerAdd" | "Stop" | "Storage" | "StoreMicrosoft" | "Stream" | "StreamInput" | "StreamInputOutput" | "StreamOutput" | "StreetSign" | "StyleGuide" | "SubGrid" | "Subtitles" | "Subtract" | "SubtractCircle" | "SubtractCircleArrowBack" | "SubtractCircleArrowForward" | "SubtractParentheses" | "SubtractSquare" | "SubtractSquareMultiple" | "SurfaceEarbuds" | "SurfaceHub" | "SwimmingPool" | "SwipeDown" | "SwipeRight" | "SwipeUp" | "Symbols" | "SyncOff" | "Syringe" | "System" | "Tab" | "TabAdd" | "TabArrowLeft" | "TabDesktop" | "TabDesktopArrowClockwise" | "TabDesktopArrowLeft" | "TabDesktopBottom" | "TabDesktopClock" | "TabDesktopCopy" | "TabDesktopImage" | "TabDesktopLink" | "TabDesktopMultiple" | "TabDesktopMultipleAdd" | "TabDesktopMultipleBottom" | "TabDesktopNewPage" | "TabInPrivate" | "TabInprivateAccount" | "TabProhibited" | "TabShieldDismiss" | "Table" | "TableAdd" | "TableArrowUp" | "TableBottomRow" | "TableCalculator" | "TableCellEdit" | "TableCellsMerge" | "TableCellsSplit" | "TableChecker" | "TableColumnTopBottom" | "TableCopy" | "TableDefault" | "TableDeleteColumn" | "TableDeleteRow" | "TableDismiss" | "TableEdit" | "TableFreezeColumn" | "TableFreezeColumnAndRow" | "TableFreezeRow" | "TableImage" | "TableInsertColumn" | "TableInsertRow" | "TableLightning" | "TableLink" | "TableLock" | "TableMoveAbove" | "TableMoveBelow" | "TableMoveLeft" | "TableMoveRight" | "TableMultiple" | "TableOffset" | "TableOffsetAdd" | "TableOffsetLessThanOrEqualTo" | "TableOffsetSettings" | "TableResizeColumn" | "TableResizeRow" | "TableSearch" | "TableSettings" | "TableSimple" | "TableSimpleCheckmark" | "TableSimpleExclude" | "TableSimpleInclude" | "TableSimpleMultiple" | "TableSplit" | "TableStackAbove" | "TableStackBelow" | "TableStackLeft" | "TableStackRight" | "TableSwitch" | "Tablet" | "TabletLaptop" | "TabletSpeaker" | "Tabs" | "Tag" | "TagCircle" | "TagDismiss" | "TagError" | "TagLock" | "TagLockAccent" | "TagMultiple" | "TagOff" | "TagQuestionMark" | "TagReset" | "TagSearch" | "TapDouble" | "TapSingle" | "Target" | "TargetAdd" | "TargetArrow" | "TargetDismiss" | "TargetEdit" | "TaskListAdd" | "TaskListLtr" | "TaskListRtl" | "TaskListSquareAdd" | "TaskListSquareDatabase" | "TaskListSquareLtr" | "TaskListSquarePerson" | "TaskListSquareRtl" | "TaskListSquareSettings" | "TasksApp" | "TeardropBottomRight" | "Teddy" | "Temperature" | "Tent" | "TetrisApp" | "Text" | "TextAbcUnderlineDouble" | "TextAdd" | "TextAddSpaceAfter" | "TextAddSpaceBefore" | "TextAddT" | "TextAlignCenter" | "TextAlignCenterRotate270" | "TextAlignCenterRotate90" | "TextAlignDistributed" | "TextAlignDistributedEvenly" | "TextAlignDistributedVertical" | "TextAlignJustify" | "TextAlignJustifyLow" | "TextAlignJustifyLow90" | "TextAlignJustifyLowRotate270" | "TextAlignJustifyLowRotate90" | "TextAlignJustifyRotate270" | "TextAlignJustifyRotate90" | "TextAlignLeft" | "TextAlignLeftRotate270" | "TextAlignLeftRotate90" | "TextAlignRight" | "TextAlignRightRotate270" | "TextAlignRightRotate90" | "TextArrowDownRightColumn" | "TextAsterisk" | "TextBaseline" | "TextBold" | "TextBoxSettings" | "TextBulletList" | "TextBulletList270" | "TextBulletList90" | "TextBulletListAdd" | "TextBulletListCheckmark" | "TextBulletListDismiss" | "TextBulletListLtr" | "TextBulletListLtr90" | "TextBulletListLtrRotate270" | "TextBulletListRtl" | "TextBulletListRtl90" | "TextBulletListSquare" | "TextBulletListSquareClock" | "TextBulletListSquareEdit" | "TextBulletListSquarePerson" | "TextBulletListSquareSearch" | "TextBulletListSquareSettings" | "TextBulletListSquareShield" | "TextBulletListSquareSparkle" | "TextBulletListSquareToolbox" | "TextBulletListSquareWarning" | "TextBulletListTree" | "TextCaseLowercase" | "TextCaseTitle" | "TextCaseUppercase" | "TextChangeCase" | "TextClearFormatting" | "TextCollapse" | "TextColor" | "TextColorAccent" | "TextColumnOne" | "TextColumnOneNarrow" | "TextColumnOneSemiNarrow" | "TextColumnOneWide" | "TextColumnOneWideLightning" | "TextColumnThree" | "TextColumnTwo" | "TextColumnTwoLeft" | "TextColumnTwoRight" | "TextColumnWide" | "TextContinuous" | "TextDensity" | "TextDescription" | "TextDescriptionLtr" | "TextDescriptionRtl" | "TextDirectionHorizontalLeft" | "TextDirectionHorizontalLtr" | "TextDirectionHorizontalRight" | "TextDirectionHorizontalRtl" | "TextDirectionRotate270Right" | "TextDirectionRotate315Right" | "TextDirectionRotate45Right" | "TextDirectionRotate90Left" | "TextDirectionRotate90Ltr" | "TextDirectionRotate90Right" | "TextDirectionRotate90Rtl" | "TextDirectionVertical" | "TextEditStyle" | "TextEditStyleCharacterA" | "TextEditStyleCharacterGa" | "TextEffects" | "TextEffectsSparkle" | "TextExpand" | "TextField" | "TextFirstLine" | "TextFont" | "TextFontInfo" | "TextFontSize" | "TextFootnote" | "TextGrammarArrowLeft" | "TextGrammarArrowRight" | "TextGrammarCheckmark" | "TextGrammarDismiss" | "TextGrammarError" | "TextGrammarLightning" | "TextGrammarSettings" | "TextGrammarWand" | "TextHanging" | "TextHeader1" | "TextHeader1Lines" | "TextHeader1LinesCaret" | "TextHeader2" | "TextHeader2Lines" | "TextHeader2LinesCaret" | "TextHeader3" | "TextHeader3Lines" | "TextHeader3LinesCaret" | "TextIndentDecrease" | "TextIndentDecreaseLtr" | "TextIndentDecreaseLtr90" | "TextIndentDecreaseLtrRotate270" | "TextIndentDecreaseRotate270" | "TextIndentDecreaseRotate90" | "TextIndentDecreaseRtl" | "TextIndentDecreaseRtl90" | "TextIndentDecreaseRtlRotate270" | "TextIndentIncrease" | "TextIndentIncreaseLtr" | "TextIndentIncreaseLtr90" | "TextIndentIncreaseLtrRotate270" | "TextIndentIncreaseRotate270" | "TextIndentIncreaseRotate90" | "TextIndentIncreaseRtl" | "TextIndentIncreaseRtl90" | "TextIndentIncreaseRtlRotate270" | "TextItalic" | "TextLineSpacing" | "TextMore" | "TextNumberFormat" | "TextNumberListLtr" | "TextNumberListLtr90" | "TextNumberListLtrRotate270" | "TextNumberListRotate270" | "TextNumberListRotate90" | "TextNumberListRtl" | "TextNumberListRtl90" | "TextNumberListRtlRotate270" | "TextParagraph" | "TextParagraphDirection" | "TextParagraphDirectionLeft" | "TextParagraphDirectionRight" | "TextPeriodAsterisk" | "TextPositionBehind" | "TextPositionFront" | "TextPositionLine" | "TextPositionSquare" | "TextPositionSquareLeft" | "TextPositionSquareRight" | "TextPositionThrough" | "TextPositionTight" | "TextPositionTopBottom" | "TextProofingTools" | "TextQuote" | "TextSortAscending" | "TextSortDescending" | "TextStrikethrough" | "TextSubscript" | "TextSuperscript" | "TextT" | "TextTTag" | "TextUnderline" | "TextUnderlineCharacterU" | "TextUnderlineDouble" | "TextWholeWord" | "TextWordCount" | "TextWrap" | "TextWrapOff" | "Textbox" | "TextboxAlignBottom" | "TextboxAlignBottomCenter" | "TextboxAlignBottomLeft" | "TextboxAlignBottomRight" | "TextboxAlignBottomRotate90" | "TextboxAlignCenter" | "TextboxAlignMiddle" | "TextboxAlignMiddleLeft" | "TextboxAlignMiddleRight" | "TextboxAlignMiddleRotate90" | "TextboxAlignTop" | "TextboxAlignTopCenter" | "TextboxAlignTopLeft" | "TextboxAlignTopRight" | "TextboxAlignTopRotate90" | "TextboxMore" | "TextboxRotate90" | "TextboxSettings" | "Thinking" | "ThumbDislike" | "ThumbLike" | "ThumbLikeDislike" | "TicketDiagonal" | "TicketHorizontal" | "TimeAndWeather" | "TimePicker" | "Timeline" | "Timer10" | "Timer" | "Timer2" | "Timer3" | "TimerOff" | "ToggleLeft" | "ToggleMultiple" | "ToggleRight" | "Toolbox" | "TooltipQuote" | "TopSpeed" | "Translate" | "TranslateAuto" | "TranslateOff" | "Transmission" | "TrayItemAdd" | "TrayItemRemove" | "TreeDeciduous" | "TreeEvergreen" | "Triangle" | "TriangleDown" | "TriangleLeft" | "TriangleRight" | "TriangleUp" | "Trophy" | "TrophyLock" | "TrophyOff" | "Tv" | "TvArrowRight" | "TvUsb" | "Umbrella" | "UninstallApp" | "UsbPlug" | "UsbStick" | "Vault" | "VehicleBicycle" | "VehicleBus" | "VehicleCab" | "VehicleCableCar" | "VehicleCar" | "VehicleCarCollision" | "VehicleCarParking" | "VehicleCarProfile" | "VehicleCarProfileLtr" | "VehicleCarProfileLtrClock" | "VehicleCarProfileRtl" | "VehicleShip" | "VehicleSubway" | "VehicleSubwayClock" | "VehicleTruck" | "VehicleTruckBag" | "VehicleTruckCube" | "VehicleTruckProfile" | "Video" | "Video360" | "Video360Off" | "VideoAdd" | "VideoBackgroundEffect" | "VideoBackgroundEffectHorizontal" | "VideoChat" | "VideoClip" | "VideoClipMultiple" | "VideoClipOff" | "VideoClipOptimize" | "VideoLink" | "VideoOff" | "VideoPeople" | "VideoPerson" | "VideoPersonCall" | "VideoPersonClock" | "VideoPersonOff" | "VideoPersonPulse" | "VideoPersonSparkle" | "VideoPersonSparkleOff" | "VideoPersonStar" | "VideoPersonStarOff" | "VideoPlayPause" | "VideoProhibited" | "VideoRecording" | "VideoSecurity" | "VideoSwitch" | "VideoSync" | "ViewDesktop" | "ViewDesktopMobile" | "VirtualNetwork" | "VirtualNetworkToolbox" | "Voicemail" | "VoicemailArrowBack" | "VoicemailArrowForward" | "VoicemailArrowSubtract" | "VoicemailShield" | "VoicemailSubtract" | "Vote" | "WalkieTalkie" | "Wallet" | "WalletCreditCard" | "Wallpaper" | "Wand" | "Warning" | "WarningShield" | "Washer" | "Water" | "WeatherBlowingSnow" | "WeatherCloudy" | "WeatherDrizzle" | "WeatherDuststorm" | "WeatherFog" | "WeatherHailDay" | "WeatherHailNight" | "WeatherHaze" | "WeatherMoon" | "WeatherMoonOff" | "WeatherPartlyCloudyDay" | "WeatherPartlyCloudyNight" | "WeatherRain" | "WeatherRainShowersDay" | "WeatherRainShowersNight" | "WeatherRainSnow" | "WeatherSnow" | "WeatherSnowShowerDay" | "WeatherSnowShowerNight" | "WeatherSnowflake" | "WeatherSqualls" | "WeatherSunny" | "WeatherSunnyHigh" | "WeatherSunnyLow" | "WeatherThunderstorm" | "WebAsset" | "Whiteboard" | "WhiteboardOff" | "Wifi1" | "Wifi2" | "Wifi3" | "Wifi4" | "WifiLock" | "WifiOff" | "WifiSettings" | "WifiWarning" | "Window" | "WindowAd" | "WindowAdOff" | "WindowAdPerson" | "WindowApps" | "WindowArrowUp" | "WindowBulletList" | "WindowBulletListAdd" | "WindowConsole" | "WindowDatabase" | "WindowDevEdit" | "WindowDevTools" | "WindowEdit" | "WindowHeaderHorizontal" | "WindowHeaderHorizontalOff" | "WindowHeaderVertical" | "WindowInprivate" | "WindowInprivateAccount" | "WindowLocationTarget" | "WindowMultiple" | "WindowMultipleSwap" | "WindowNew" | "WindowPlay" | "WindowSettings" | "WindowShield" | "WindowText" | "WindowWrench" | "Wrench" | "WrenchScrewdriver" | "WrenchSettings" | "XboxConsole" | "XboxController" | "XboxControllerError" | "Xray" | "ZoomFit" | "ZoomIn" | "ZoomOut" +export type IconName = 'AccessTime' | 'Accessibility' | 'AccessibilityCheckmark' | 'Add' | 'AddCircle' | 'AddSquare' | 'AddSquareMultiple' | 'AddSubtractCircle' | 'Airplane' | 'AirplaneLanding' | 'AirplaneTakeOff' | 'Album' | 'AlbumAdd' | 'Alert' | 'AlertBadge' | 'AlertOff' | 'AlertOn' | 'AlertSnooze' | 'AlertUrgent' | 'AlignBottom' | 'AlignCenterHorizontal' | 'AlignCenterVertical' | 'AlignDistributeBottom' | 'AlignDistributeLeft' | 'AlignDistributeRight' | 'AlignDistributeTop' | 'AlignEndHorizontal' | 'AlignEndVertical' | 'AlignLeft' | 'AlignRight' | 'AlignSpaceAroundHorizontal' | 'AlignSpaceAroundVertical' | 'AlignSpaceBetweenHorizontal' | 'AlignSpaceBetweenVertical' | 'AlignSpaceEvenlyHorizontal' | 'AlignSpaceEvenlyVertical' | 'AlignSpaceFitVertical' | 'AlignStartHorizontal' | 'AlignStartVertical' | 'AlignStraighten' | 'AlignStretchHorizontal' | 'AlignStretchVertical' | 'AlignTop' | 'AnimalCat' | 'AnimalDog' | 'AnimalRabbit' | 'AnimalRabbitOff' | 'AnimalTurtle' | 'AppFolder' | 'AppGeneric' | 'AppRecent' | 'AppStore' | 'AppTitle' | 'ApprovalsApp' | 'Apps' | 'AppsAddIn' | 'AppsList' | 'AppsListDetail' | 'Archive' | 'ArchiveArrowBack' | 'ArchiveMultiple' | 'ArchiveSettings' | 'ArrowAutofitContent' | 'ArrowAutofitDown' | 'ArrowAutofitHeight' | 'ArrowAutofitHeightDotted' | 'ArrowAutofitHeightIn' | 'ArrowAutofitUp' | 'ArrowAutofitWidth' | 'ArrowAutofitWidthDotted' | 'ArrowBetweenDown' | 'ArrowBetweenUp' | 'ArrowBidirectionalLeftRight' | 'ArrowBidirectionalUpDown' | 'ArrowBounce' | 'ArrowCircleDown' | 'ArrowCircleDownDouble' | 'ArrowCircleDownRight' | 'ArrowCircleDownSplit' | 'ArrowCircleDownUp' | 'ArrowCircleLeft' | 'ArrowCircleRight' | 'ArrowCircleUp' | 'ArrowCircleUpLeft' | 'ArrowCircleUpRight' | 'ArrowClockwise' | 'ArrowClockwiseDashes' | 'ArrowCollapseAll' | 'ArrowCounterclockwise' | 'ArrowCounterclockwiseDashes' | 'ArrowCurveDownLeft' | 'ArrowCurveDownRight' | 'ArrowCurveUpLeft' | 'ArrowCurveUpRight' | 'ArrowDown' | 'ArrowDownExclamation' | 'ArrowDownLeft' | 'ArrowDownload' | 'ArrowDownloadOff' | 'ArrowEject' | 'ArrowEnter' | 'ArrowEnterLeft' | 'ArrowEnterUp' | 'ArrowExit' | 'ArrowExpand' | 'ArrowExport' | 'ArrowExportLtr' | 'ArrowExportRtl' | 'ArrowExportUp' | 'ArrowFit' | 'ArrowFitIn' | 'ArrowFlowDiagonalUpRight' | 'ArrowFlowUpRight' | 'ArrowFlowUpRightRectangleMultiple' | 'ArrowForward' | 'ArrowForwardDownLightning' | 'ArrowForwardDownPerson' | 'ArrowHookDownLeft' | 'ArrowHookDownRight' | 'ArrowHookUpLeft' | 'ArrowHookUpRight' | 'ArrowImport' | 'ArrowJoin' | 'ArrowLeft' | 'ArrowMaximize' | 'ArrowMaximizeVertical' | 'ArrowMinimize' | 'ArrowMinimizeVertical' | 'ArrowMove' | 'ArrowMoveInward' | 'ArrowNext' | 'ArrowOutlineDownLeft' | 'ArrowOutlineUpRight' | 'ArrowParagraph' | 'ArrowPrevious' | 'ArrowRedo' | 'ArrowRepeat1' | 'ArrowRepeatAll' | 'ArrowRepeatAllOff' | 'ArrowReply' | 'ArrowReplyAll' | 'ArrowReplyDown' | 'ArrowReset' | 'ArrowRight' | 'ArrowRotateClockwise' | 'ArrowRotateCounterclockwise' | 'ArrowRouting' | 'ArrowRoutingRectangleMultiple' | 'ArrowShuffle' | 'ArrowShuffleOff' | 'ArrowSort' | 'ArrowSortDown' | 'ArrowSortDownLines' | 'ArrowSortUp' | 'ArrowSplit' | 'ArrowSprint' | 'ArrowSquareDown' | 'ArrowSquareUpRight' | 'ArrowStepBack' | 'ArrowStepIn' | 'ArrowStepInDiagonalDownLeft' | 'ArrowStepInLeft' | 'ArrowStepInRight' | 'ArrowStepOut' | 'ArrowStepOver' | 'ArrowSwap' | 'ArrowSync' | 'ArrowSyncCheckmark' | 'ArrowSyncCircle' | 'ArrowSyncDismiss' | 'ArrowSyncOff' | 'ArrowTrending' | 'ArrowTrendingCheckmark' | 'ArrowTrendingDown' | 'ArrowTrendingLines' | 'ArrowTrendingSettings' | 'ArrowTrendingSparkle' | 'ArrowTrendingText' | 'ArrowTrendingWrench' | 'ArrowTurnBidirectionalDownRight' | 'ArrowTurnDownLeft' | 'ArrowTurnDownRight' | 'ArrowTurnDownUp' | 'ArrowTurnLeftDown' | 'ArrowTurnLeftRight' | 'ArrowTurnLeftUp' | 'ArrowTurnRight' | 'ArrowTurnRightDown' | 'ArrowTurnRightLeft' | 'ArrowTurnRightUp' | 'ArrowTurnUpDown' | 'ArrowTurnUpLeft' | 'ArrowUndo' | 'ArrowUp' | 'ArrowUpLeft' | 'ArrowUpRight' | 'ArrowUpRightDashes' | 'ArrowUpSquareSettings' | 'ArrowUpload' | 'ArrowWrap' | 'ArrowWrapOff' | 'ArrowsBidirectional' | 'Attach' | 'AttachArrowRight' | 'AttachText' | 'AutoFitHeight' | 'AutoFitWidth' | 'Autocorrect' | 'Autosum' | 'Backpack' | 'BackpackAdd' | 'Backspace' | 'Badge' | 'Balloon' | 'BarcodeScanner' | 'Battery0' | 'Battery10' | 'Battery1' | 'Battery2' | 'Battery3' | 'Battery4' | 'Battery5' | 'Battery6' | 'Battery7' | 'Battery8' | 'Battery9' | 'BatteryCharge' | 'BatteryCheckmark' | 'BatterySaver' | 'BatteryWarning' | 'Beach' | 'Beaker' | 'BeakerAdd' | 'BeakerDismiss' | 'BeakerEdit' | 'BeakerEmpty' | 'BeakerOff' | 'BeakerSettings' | 'Bed' | 'BezierCurveSquare' | 'BinFull' | 'BinRecycle' | 'BinRecycleFull' | 'BinderTriangle' | 'Bluetooth' | 'BluetoothConnected' | 'BluetoothDisabled' | 'BluetoothSearching' | 'Blur' | 'Board' | 'BoardGames' | 'BoardHeart' | 'BoardSplit' | 'Book' | 'BookAdd' | 'BookArrowClockwise' | 'BookClock' | 'BookCoins' | 'BookCompass' | 'BookContacts' | 'BookDatabase' | 'BookDefault' | 'BookDismiss' | 'BookExclamationMark' | 'BookGlobe' | 'BookInformation' | 'BookLetter' | 'BookNumber' | 'BookOpen' | 'BookOpenGlobe' | 'BookOpenMicrophone' | 'BookPulse' | 'BookQuestionMark' | 'BookQuestionMarkRtl' | 'BookSearch' | 'BookStar' | 'BookTemplate' | 'BookTheta' | 'BookToolbox' | 'Bookmark' | 'BookmarkAdd' | 'BookmarkMultiple' | 'BookmarkOff' | 'BookmarkSearch' | 'BorderAll' | 'BorderBottom' | 'BorderBottomDouble' | 'BorderBottomThick' | 'BorderInside' | 'BorderLeft' | 'BorderLeftRight' | 'BorderNone' | 'BorderOutside' | 'BorderOutsideThick' | 'BorderRight' | 'BorderTop' | 'BorderTopBottom' | 'BorderTopBottomDouble' | 'BorderTopBottomThick' | 'Bot' | 'BotAdd' | 'BotSparkle' | 'BowTie' | 'BowlChopsticks' | 'BowlSalad' | 'Box' | 'BoxArrowLeft' | 'BoxArrowUp' | 'BoxCheckmark' | 'BoxDismiss' | 'BoxEdit' | 'BoxMultiple' | 'BoxMultipleArrowLeft' | 'BoxMultipleArrowRight' | 'BoxMultipleCheckmark' | 'BoxMultipleSearch' | 'BoxSearch' | 'BoxToolbox' | 'Braces' | 'BracesCheckmark' | 'BracesDismiss' | 'BracesVariable' | 'BrainCircuit' | 'Branch' | 'BranchCompare' | 'BranchFork' | 'BranchForkHint' | 'BranchForkLink' | 'BranchRequest' | 'BreakoutRoom' | 'Briefcase' | 'BriefcaseMedical' | 'BriefcaseOff' | 'BriefcasePerson' | 'BriefcaseSearch' | 'BrightnessHigh' | 'BrightnessLow' | 'BroadActivityFeed' | 'Broom' | 'BubbleMultiple' | 'Bug' | 'BugArrowCounterclockwise' | 'BugProhibited' | 'Building' | 'BuildingBank' | 'BuildingBankLink' | 'BuildingBankToolbox' | 'BuildingCloud' | 'BuildingDesktop' | 'BuildingFactory' | 'BuildingGovernment' | 'BuildingGovernmentSearch' | 'BuildingHome' | 'BuildingLighthouse' | 'BuildingMosque' | 'BuildingMultiple' | 'BuildingPeople' | 'BuildingRetail' | 'BuildingRetailMoney' | 'BuildingRetailMore' | 'BuildingRetailShield' | 'BuildingRetailToolbox' | 'BuildingShop' | 'BuildingSkyscraper' | 'BuildingSwap' | 'BuildingTownhouse' | 'Button' | 'Calculator' | 'CalculatorArrowClockwise' | 'CalculatorMultiple' | 'Calendar' | 'Calendar3Day' | 'CalendarAdd' | 'CalendarAgenda' | 'CalendarArrowCounterclockwise' | 'CalendarArrowDown' | 'CalendarArrowRight' | 'CalendarAssistant' | 'CalendarCancel' | 'CalendarChat' | 'CalendarCheckmark' | 'CalendarClock' | 'CalendarDataBar' | 'CalendarDate' | 'CalendarDay' | 'CalendarEdit' | 'CalendarEmpty' | 'CalendarError' | 'CalendarEye' | 'CalendarInfo' | 'CalendarLink' | 'CalendarLock' | 'CalendarLtr' | 'CalendarMail' | 'CalendarMention' | 'CalendarMonth' | 'CalendarMultiple' | 'CalendarNote' | 'CalendarPattern' | 'CalendarPerson' | 'CalendarPhone' | 'CalendarPlay' | 'CalendarQuestionMark' | 'CalendarRecord' | 'CalendarReply' | 'CalendarRtl' | 'CalendarSearch' | 'CalendarSettings' | 'CalendarShield' | 'CalendarStar' | 'CalendarSync' | 'CalendarToday' | 'CalendarToolbox' | 'CalendarVideo' | 'CalendarWeekNumbers' | 'CalendarWeekStart' | 'CalendarWorkWeek' | 'Call' | 'CallAdd' | 'CallCheckmark' | 'CallConnecting' | 'CallDismiss' | 'CallEnd' | 'CallExclamation' | 'CallForward' | 'CallInbound' | 'CallMissed' | 'CallOutbound' | 'CallPark' | 'CallPause' | 'CallProhibited' | 'CallTransfer' | 'CallWarning' | 'CalligraphyPen' | 'CalligraphyPenCheckmark' | 'CalligraphyPenError' | 'CalligraphyPenQuestionMark' | 'Camera' | 'CameraAdd' | 'CameraDome' | 'CameraEdit' | 'CameraOff' | 'CameraSparkles' | 'CameraSwitch' | 'CardUi' | 'CaretDown' | 'CaretDownRight' | 'CaretLeft' | 'CaretRight' | 'CaretUp' | 'Cart' | 'Cast' | 'CastMultiple' | 'CatchUp' | 'Cd' | 'Cellular3G' | 'Cellular4G' | 'Cellular5G' | 'CellularData1' | 'CellularData2' | 'CellularData3' | 'CellularData4' | 'CellularData5' | 'CellularOff' | 'CellularWarning' | 'CenterHorizontal' | 'CenterVertical' | 'Certificate' | 'Channel' | 'ChannelAdd' | 'ChannelAlert' | 'ChannelArrowLeft' | 'ChannelDismiss' | 'ChannelShare' | 'ChannelSubtract' | 'ChartMultiple' | 'ChartPerson' | 'Chat' | 'ChatAdd' | 'ChatArrowBack' | 'ChatArrowDoubleBack' | 'ChatBubblesQuestion' | 'ChatCursor' | 'ChatDismiss' | 'ChatEmpty' | 'ChatHelp' | 'ChatLock' | 'ChatMail' | 'ChatMultiple' | 'ChatMultipleHeart' | 'ChatOff' | 'ChatSettings' | 'ChatSparkle' | 'ChatVideo' | 'ChatWarning' | 'Check' | 'Checkbox1' | 'Checkbox2' | 'CheckboxArrowRight' | 'CheckboxChecked' | 'CheckboxCheckedSync' | 'CheckboxIndeterminate' | 'CheckboxPerson' | 'CheckboxUnchecked' | 'CheckboxWarning' | 'Checkmark' | 'CheckmarkCircle' | 'CheckmarkCircleSquare' | 'CheckmarkLock' | 'CheckmarkNote' | 'CheckmarkSquare' | 'CheckmarkStarburst' | 'CheckmarkUnderlineCircle' | 'Chess' | 'ChevronCircleDown' | 'ChevronCircleLeft' | 'ChevronCircleRight' | 'ChevronCircleUp' | 'ChevronDoubleDown' | 'ChevronDoubleLeft' | 'ChevronDoubleRight' | 'ChevronDoubleUp' | 'ChevronDown' | 'ChevronDownUp' | 'ChevronLeft' | 'ChevronRight' | 'ChevronUp' | 'ChevronUpDown' | 'Circle' | 'CircleEdit' | 'CircleEraser' | 'CircleHalfFill' | 'CircleHint' | 'CircleHintHalfVertical' | 'CircleImage' | 'CircleLine' | 'CircleMultipleSubtractCheckmark' | 'CircleOff' | 'CircleSmall' | 'City' | 'Class' | 'Classification' | 'ClearFormatting' | 'Clipboard' | 'Clipboard3Day' | 'ClipboardArrowRight' | 'ClipboardBrush' | 'ClipboardBulletList' | 'ClipboardBulletListLtr' | 'ClipboardBulletListRtl' | 'ClipboardCheckmark' | 'ClipboardClock' | 'ClipboardCode' | 'ClipboardDataBar' | 'ClipboardDay' | 'ClipboardEdit' | 'ClipboardError' | 'ClipboardHeart' | 'ClipboardImage' | 'ClipboardLetter' | 'ClipboardLink' | 'ClipboardMathFormula' | 'ClipboardMonth' | 'ClipboardMore' | 'ClipboardMultiple' | 'ClipboardNote' | 'ClipboardNumber123' | 'ClipboardPaste' | 'ClipboardPulse' | 'ClipboardSearch' | 'ClipboardSettings' | 'ClipboardTask' | 'ClipboardTaskAdd' | 'ClipboardTaskList' | 'ClipboardTaskListLtr' | 'ClipboardTaskListRtl' | 'ClipboardText' | 'ClipboardTextEdit' | 'ClipboardTextLtr' | 'ClipboardTextRtl' | 'Clock' | 'ClockAlarm' | 'ClockArrowDownload' | 'ClockDismiss' | 'ClockLock' | 'ClockPause' | 'ClockToolbox' | 'ClosedCaption' | 'ClosedCaptionOff' | 'Cloud' | 'CloudAdd' | 'CloudArchive' | 'CloudArrowDown' | 'CloudArrowUp' | 'CloudBeaker' | 'CloudBidirectional' | 'CloudCheckmark' | 'CloudCube' | 'CloudDatabase' | 'CloudDesktop' | 'CloudDismiss' | 'CloudEdit' | 'CloudError' | 'CloudFlow' | 'CloudLink' | 'CloudOff' | 'CloudSwap' | 'CloudSync' | 'CloudWords' | 'Clover' | 'Code' | 'CodeBlock' | 'CodeCircle' | 'CodeCs' | 'CodeCsRectangle' | 'CodeFs' | 'CodeFsRectangle' | 'CodeJs' | 'CodeJsRectangle' | 'CodePy' | 'CodePyRectangle' | 'CodeRb' | 'CodeRbRectangle' | 'CodeText' | 'CodeTextEdit' | 'CodeTextOff' | 'CodeTs' | 'CodeTsRectangle' | 'CodeVb' | 'CodeVbRectangle' | 'Collections' | 'CollectionsAdd' | 'Color' | 'ColorBackground' | 'ColorBackgroundAccent' | 'ColorFill' | 'ColorFillAccent' | 'ColorLine' | 'ColorLineAccent' | 'Column' | 'ColumnArrowRight' | 'ColumnDoubleCompare' | 'ColumnEdit' | 'ColumnSingle' | 'ColumnSingleCompare' | 'ColumnTriple' | 'ColumnTripleEdit' | 'Comma' | 'Comment' | 'CommentAdd' | 'CommentArrowLeft' | 'CommentArrowRight' | 'CommentCheckmark' | 'CommentDismiss' | 'CommentEdit' | 'CommentError' | 'CommentLightning' | 'CommentLink' | 'CommentMention' | 'CommentMultiple' | 'CommentMultipleCheckmark' | 'CommentMultipleLink' | 'CommentNote' | 'CommentOff' | 'Communication' | 'CommunicationPerson' | 'CommunicationShield' | 'CompassNorthwest' | 'Component2DoubleTapSwipeDown' | 'Component2DoubleTapSwipeUp' | 'Compose' | 'Cone' | 'ConferenceRoom' | 'Connected' | 'Connector' | 'ContactCard' | 'ContactCardGroup' | 'ContactCardLink' | 'ContactCardRibbon' | 'ContentSettings' | 'ContentView' | 'ContentViewGallery' | 'ContentViewGalleryLightning' | 'ContractDownLeft' | 'ContractUpRight' | 'ControlButton' | 'ConvertRange' | 'Cookies' | 'Copy' | 'CopyAdd' | 'CopyArrowRight' | 'CopySelect' | 'Couch' | 'CreditCardClock' | 'CreditCardPerson' | 'CreditCardToolbox' | 'Crop' | 'CropInterim' | 'CropInterimOff' | 'CropSparkle' | 'Crown' | 'CrownSubtract' | 'Cube' | 'CubeAdd' | 'CubeArrowCurveDown' | 'CubeLink' | 'CubeMultiple' | 'CubeQuick' | 'CubeRotate' | 'CubeSync' | 'CubeTree' | 'CurrencyDollarEuro' | 'CurrencyDollarRupee' | 'Cursor' | 'CursorClick' | 'CursorHover' | 'CursorHoverOff' | 'CursorProhibited' | 'Cut' | 'DarkTheme' | 'DataArea' | 'DataBarHorizontal' | 'DataBarHorizontalDescending' | 'DataBarVertical' | 'DataBarVerticalAdd' | 'DataBarVerticalAscending' | 'DataBarVerticalStar' | 'DataFunnel' | 'DataHistogram' | 'DataLine' | 'DataPie' | 'DataScatter' | 'DataSunburst' | 'DataTreemap' | 'DataTrending' | 'DataUsage' | 'DataUsageEdit' | 'DataUsageSettings' | 'DataUsageToolbox' | 'DataWaterfall' | 'DataWhisker' | 'Database' | 'DatabaseArrowDown' | 'DatabaseArrowRight' | 'DatabaseArrowUp' | 'DatabaseLightning' | 'DatabaseLink' | 'DatabaseMultiple' | 'DatabasePerson' | 'DatabasePlugConnected' | 'DatabaseSearch' | 'DatabaseStack' | 'DatabaseSwitch' | 'DatabaseWarning' | 'DatabaseWindow' | 'DecimalArrowLeft' | 'DecimalArrowRight' | 'Delete' | 'DeleteArrowBack' | 'DeleteDismiss' | 'DeleteLines' | 'DeleteOff' | 'Dentist' | 'DesignIdeas' | 'Desk' | 'Desktop' | 'DesktopArrowDown' | 'DesktopArrowRight' | 'DesktopCheckmark' | 'DesktopCursor' | 'DesktopEdit' | 'DesktopFlow' | 'DesktopKeyboard' | 'DesktopMac' | 'DesktopPulse' | 'DesktopSignal' | 'DesktopSpeaker' | 'DesktopSpeakerOff' | 'DesktopSync' | 'DesktopToolbox' | 'DesktopTower' | 'DeveloperBoard' | 'DeveloperBoardLightning' | 'DeveloperBoardLightningToolbox' | 'DeveloperBoardSearch' | 'DeviceEq' | 'DeviceMeetingRoom' | 'DeviceMeetingRoomRemote' | 'Diagram' | 'Dialpad' | 'DialpadOff' | 'DialpadQuestionMark' | 'Diamond' | 'Directions' | 'Dishwasher' | 'Dismiss' | 'DismissCircle' | 'DismissSquare' | 'DismissSquareMultiple' | 'Diversity' | 'DividerShort' | 'DividerTall' | 'Dock' | 'DockRow' | 'Doctor' | 'Document100' | 'Document' | 'DocumentAdd' | 'DocumentArrowDown' | 'DocumentArrowLeft' | 'DocumentArrowRight' | 'DocumentArrowUp' | 'DocumentBorder' | 'DocumentBorderPrint' | 'DocumentBriefcase' | 'DocumentBulletList' | 'DocumentBulletListArrowLeft' | 'DocumentBulletListClock' | 'DocumentBulletListCube' | 'DocumentBulletListMultiple' | 'DocumentBulletListOff' | 'DocumentCatchUp' | 'DocumentCheckmark' | 'DocumentChevronDouble' | 'DocumentContract' | 'DocumentCopy' | 'DocumentCs' | 'DocumentCss' | 'DocumentCube' | 'DocumentData' | 'DocumentDataLink' | 'DocumentDataLock' | 'DocumentDatabase' | 'DocumentDismiss' | 'DocumentEdit' | 'DocumentEndnote' | 'DocumentError' | 'DocumentFit' | 'DocumentFlowchart' | 'DocumentFolder' | 'DocumentFooter' | 'DocumentFooterDismiss' | 'DocumentFs' | 'DocumentHeader' | 'DocumentHeaderArrowDown' | 'DocumentHeaderDismiss' | 'DocumentHeaderFooter' | 'DocumentHeart' | 'DocumentHeartPulse' | 'DocumentImage' | 'DocumentJava' | 'DocumentJavascript' | 'DocumentJs' | 'DocumentKey' | 'DocumentLandscape' | 'DocumentLandscapeData' | 'DocumentLandscapeSplit' | 'DocumentLandscapeSplitHint' | 'DocumentLightning' | 'DocumentLink' | 'DocumentLock' | 'DocumentMargins' | 'DocumentMention' | 'DocumentMultiple' | 'DocumentMultiplePercent' | 'DocumentMultipleProhibited' | 'DocumentMultipleSync' | 'DocumentNumber1' | 'DocumentOnePage' | 'DocumentOnePageAdd' | 'DocumentOnePageBeaker' | 'DocumentOnePageColumns' | 'DocumentOnePageLink' | 'DocumentOnePageMultiple' | 'DocumentOnePageSparkle' | 'DocumentPageBottomCenter' | 'DocumentPageBottomLeft' | 'DocumentPageBottomRight' | 'DocumentPageBreak' | 'DocumentPageNumber' | 'DocumentPageTopCenter' | 'DocumentPageTopLeft' | 'DocumentPageTopRight' | 'DocumentPdf' | 'DocumentPercent' | 'DocumentPerson' | 'DocumentPill' | 'DocumentPrint' | 'DocumentProhibited' | 'DocumentPy' | 'DocumentQuestionMark' | 'DocumentQueue' | 'DocumentQueueAdd' | 'DocumentQueueMultiple' | 'DocumentRb' | 'DocumentRibbon' | 'DocumentSass' | 'DocumentSave' | 'DocumentSearch' | 'DocumentSettings' | 'DocumentSplitHint' | 'DocumentSplitHintOff' | 'DocumentSync' | 'DocumentTable' | 'DocumentTableArrowRight' | 'DocumentTableCheckmark' | 'DocumentTableCube' | 'DocumentTableSearch' | 'DocumentTableTruck' | 'DocumentTarget' | 'DocumentText' | 'DocumentTextClock' | 'DocumentTextExtract' | 'DocumentTextLink' | 'DocumentTextToolbox' | 'DocumentToolbox' | 'DocumentTs' | 'DocumentVb' | 'DocumentWidth' | 'DocumentYml' | 'Door' | 'DoorArrowLeft' | 'DoorArrowRight' | 'DoorTag' | 'DoubleSwipeDown' | 'DoubleSwipeUp' | 'DoubleTapSwipeDown' | 'DoubleTapSwipeUp' | 'Drafts' | 'Drag' | 'DrawImage' | 'DrawShape' | 'DrawText' | 'Drawer' | 'DrawerAdd' | 'DrawerArrowDownload' | 'DrawerDismiss' | 'DrawerPlay' | 'DrawerSubtract' | 'DrinkBeer' | 'DrinkBottle' | 'DrinkBottleOff' | 'DrinkCoffee' | 'DrinkMargarita' | 'DrinkToGo' | 'DrinkWine' | 'DriveTrain' | 'Drop' | 'DualScreen' | 'DualScreenAdd' | 'DualScreenArrowRight' | 'DualScreenArrowUp' | 'DualScreenClock' | 'DualScreenClosedAlert' | 'DualScreenDesktop' | 'DualScreenDismiss' | 'DualScreenGroup' | 'DualScreenHeader' | 'DualScreenLock' | 'DualScreenMirror' | 'DualScreenPagination' | 'DualScreenSettings' | 'DualScreenSpan' | 'DualScreenSpeaker' | 'DualScreenStatusBar' | 'DualScreenTablet' | 'DualScreenUpdate' | 'DualScreenVerticalScroll' | 'DualScreenVibrate' | 'Dumbbell' | 'Dust' | 'Earth' | 'EarthLeaf' | 'Edit' | 'EditArrowBack' | 'EditOff' | 'EditProhibited' | 'EditSettings' | 'Elevator' | 'Emoji' | 'EmojiAdd' | 'EmojiAngry' | 'EmojiEdit' | 'EmojiHand' | 'EmojiHint' | 'EmojiLaugh' | 'EmojiMeh' | 'EmojiMultiple' | 'EmojiSad' | 'EmojiSadSlight' | 'EmojiSmileSlight' | 'EmojiSparkle' | 'EmojiSurprise' | 'Engine' | 'EqualCircle' | 'EqualOff' | 'Eraser' | 'EraserMedium' | 'EraserSegment' | 'EraserSmall' | 'EraserTool' | 'ErrorCircle' | 'ErrorCircleSettings' | 'ExpandUpLeft' | 'ExpandUpRight' | 'ExtendedDock' | 'Eye' | 'EyeLines' | 'EyeOff' | 'EyeTracking' | 'EyeTrackingOff' | 'Eyedropper' | 'EyedropperOff' | 'FStop' | 'FastAcceleration' | 'FastForward' | 'Fax' | 'Feed' | 'Filmstrip' | 'FilmstripImage' | 'FilmstripOff' | 'FilmstripPlay' | 'FilmstripSplit' | 'Filter' | 'FilterAdd' | 'FilterDismiss' | 'FilterSync' | 'Fingerprint' | 'Fire' | 'Fireplace' | 'FixedWidth' | 'Flag' | 'FlagCheckered' | 'FlagClock' | 'FlagOff' | 'FlagPride' | 'FlagPrideIntersexInclusiveProgress' | 'FlagPridePhiladelphia' | 'FlagPrideProgress' | 'Flash' | 'FlashAdd' | 'FlashAuto' | 'FlashCheckmark' | 'FlashFlow' | 'FlashOff' | 'FlashPlay' | 'FlashSettings' | 'FlashSparkle' | 'Flashlight' | 'FlashlightOff' | 'FlipHorizontal' | 'FlipVertical' | 'Flow' | 'Flowchart' | 'FlowchartCircle' | 'Fluent' | 'Fluid' | 'Folder' | 'FolderAdd' | 'FolderArrowLeft' | 'FolderArrowRight' | 'FolderArrowUp' | 'FolderBriefcase' | 'FolderGlobe' | 'FolderLightning' | 'FolderLink' | 'FolderList' | 'FolderMail' | 'FolderMultiple' | 'FolderOpen' | 'FolderOpenVertical' | 'FolderPeople' | 'FolderPerson' | 'FolderProhibited' | 'FolderSearch' | 'FolderSwap' | 'FolderSync' | 'FolderZip' | 'FontDecrease' | 'FontIncrease' | 'FontSpaceTrackingIn' | 'FontSpaceTrackingOut' | 'Food' | 'FoodApple' | 'FoodCake' | 'FoodCarrot' | 'FoodChickenLeg' | 'FoodEgg' | 'FoodFish' | 'FoodGrains' | 'FoodPizza' | 'FoodToast' | 'Form' | 'FormMultiple' | 'FormNew' | 'Fps120' | 'Fps240' | 'Fps30' | 'Fps60' | 'Fps960' | 'Frame' | 'FullScreenMaximize' | 'FullScreenMinimize' | 'Games' | 'GanttChart' | 'Gas' | 'GasPump' | 'Gather' | 'Gauge' | 'GaugeAdd' | 'Gavel' | 'GavelProhibited' | 'Gesture' | 'Gif' | 'Gift' | 'GiftCard' | 'GiftCardAdd' | 'GiftCardArrowRight' | 'GiftCardMoney' | 'GiftCardMultiple' | 'GiftOpen' | 'Glance' | 'GlanceDefault' | 'GlanceHorizontal' | 'GlanceHorizontalSparkle' | 'GlanceHorizontalSparkles' | 'Glasses' | 'GlassesOff' | 'Globe' | 'GlobeAdd' | 'GlobeArrowForward' | 'GlobeArrowUp' | 'GlobeClock' | 'GlobeDesktop' | 'GlobeError' | 'GlobeLocation' | 'GlobePerson' | 'GlobeProhibited' | 'GlobeSearch' | 'GlobeShield' | 'GlobeStar' | 'GlobeSurface' | 'GlobeSync' | 'GlobeVideo' | 'GlobeWarning' | 'Grid' | 'GridCircles' | 'GridDots' | 'GridKanban' | 'Group' | 'GroupDismiss' | 'GroupList' | 'GroupReturn' | 'Guardian' | 'Guest' | 'GuestAdd' | 'Guitar' | 'HandDraw' | 'HandLeft' | 'HandLeftChat' | 'HandOpenHeart' | 'HandRight' | 'HandRightOff' | 'HandWave' | 'Handshake' | 'HardDrive' | 'HardDriveCall' | 'HatGraduation' | 'HatGraduationAdd' | 'HatGraduationSparkle' | 'Hd' | 'Hdr' | 'HdrOff' | 'Headphones' | 'HeadphonesSoundWave' | 'Headset' | 'HeadsetAdd' | 'HeadsetVr' | 'Heart' | 'HeartBroken' | 'HeartCircle' | 'HeartCircleHint' | 'HeartOff' | 'HeartPulse' | 'HeartPulseCheckmark' | 'HeartPulseError' | 'HeartPulseWarning' | 'Hexagon' | 'HexagonThree' | 'Highlight' | 'HighlightAccent' | 'HighlightLink' | 'History' | 'HistoryDismiss' | 'Home' | 'HomeAdd' | 'HomeCheckmark' | 'HomeDatabase' | 'HomeHeart' | 'HomeMore' | 'HomePerson' | 'HomeSplit' | 'Hourglass' | 'HourglassHalf' | 'HourglassOneQuarter' | 'HourglassThreeQuarter' | 'Icons' | 'Image' | 'ImageAdd' | 'ImageAltText' | 'ImageArrowBack' | 'ImageArrowCounterclockwise' | 'ImageArrowForward' | 'ImageBorder' | 'ImageCircle' | 'ImageCopy' | 'ImageEdit' | 'ImageGlobe' | 'ImageMultiple' | 'ImageMultipleOff' | 'ImageOff' | 'ImageProhibited' | 'ImageReflection' | 'ImageSearch' | 'ImageShadow' | 'ImageSparkle' | 'ImageStack' | 'ImageTable' | 'ImmersiveReader' | 'Important' | 'Incognito' | 'Info' | 'InfoShield' | 'InkStroke' | 'InkStrokeArrowDown' | 'InkStrokeArrowUpDown' | 'InkingTool' | 'InkingToolAccent' | 'InprivateAccount' | 'Insert' | 'IosArrow' | 'IosArrowLtr' | 'IosArrowRtl' | 'IosChevronRight' | 'Iot' | 'IotAlert' | 'Javascript' | 'Joystick' | 'Key' | 'KeyCommand' | 'KeyMultiple' | 'KeyReset' | 'Keyboard123' | 'Keyboard' | 'KeyboardDock' | 'KeyboardLayoutFloat' | 'KeyboardLayoutOneHandedLeft' | 'KeyboardLayoutResize' | 'KeyboardLayoutSplit' | 'KeyboardMouse' | 'KeyboardShift' | 'KeyboardShiftUppercase' | 'KeyboardTab' | 'Kiosk' | 'Laptop' | 'LaptopDismiss' | 'LaptopMultiple' | 'LaptopSettings' | 'LaptopShield' | 'LaserTool' | 'Lasso' | 'LauncherSettings' | 'Layer' | 'LayerDiagonal' | 'LayerDiagonalAdd' | 'LayerDiagonalPerson' | 'LayoutCellFour' | 'LayoutCellFourFocusBottomLeft' | 'LayoutCellFourFocusBottomRight' | 'LayoutCellFourFocusTopLeft' | 'LayoutCellFourFocusTopRight' | 'LayoutColumnFour' | 'LayoutColumnFourFocusCenterLeft' | 'LayoutColumnFourFocusCenterRight' | 'LayoutColumnFourFocusLeft' | 'LayoutColumnFourFocusRight' | 'LayoutColumnOneThirdLeft' | 'LayoutColumnOneThirdRight' | 'LayoutColumnOneThirdRightHint' | 'LayoutColumnThree' | 'LayoutColumnThreeFocusCenter' | 'LayoutColumnThreeFocusLeft' | 'LayoutColumnThreeFocusRight' | 'LayoutColumnTwo' | 'LayoutColumnTwoFocusLeft' | 'LayoutColumnTwoFocusRight' | 'LayoutColumnTwoSplitLeft' | 'LayoutColumnTwoSplitLeftFocusBottomLeft' | 'LayoutColumnTwoSplitLeftFocusRight' | 'LayoutColumnTwoSplitLeftFocusTopLeft' | 'LayoutColumnTwoSplitRight' | 'LayoutColumnTwoSplitRightFocusBottomRight' | 'LayoutColumnTwoSplitRightFocusLeft' | 'LayoutColumnTwoSplitRightFocusTopRight' | 'LayoutRowFour' | 'LayoutRowFourFocusBottom' | 'LayoutRowFourFocusCenterBottom' | 'LayoutRowFourFocusCenterTop' | 'LayoutRowFourFocusTop' | 'LayoutRowThree' | 'LayoutRowThreeFocusBottom' | 'LayoutRowThreeFocusCenter' | 'LayoutRowThreeFocusTop' | 'LayoutRowTwo' | 'LayoutRowTwoFocusBottom' | 'LayoutRowTwoFocusTop' | 'LayoutRowTwoSplitBottom' | 'LayoutRowTwoSplitBottomFocusBottomLeft' | 'LayoutRowTwoSplitBottomFocusBottomRight' | 'LayoutRowTwoSplitBottomFocusTop' | 'LayoutRowTwoSplitTop' | 'LayoutRowTwoSplitTopFocusBottom' | 'LayoutRowTwoSplitTopFocusTopLeft' | 'LayoutRowTwoSplitTopFocusTopRight' | 'LeafOne' | 'LeafThree' | 'LeafTwo' | 'LearningApp' | 'Library' | 'Lightbulb' | 'LightbulbCheckmark' | 'LightbulbCircle' | 'LightbulbFilament' | 'LightbulbPerson' | 'Likert' | 'Line' | 'LineDashes' | 'LineHorizontal1' | 'LineHorizontal1Dashes' | 'LineHorizontal2DashesSolid' | 'LineHorizontal3' | 'LineHorizontal4' | 'LineHorizontal4Search' | 'LineHorizontal5' | 'LineHorizontal5Error' | 'LineStyle' | 'LineThickness' | 'Link' | 'LinkAdd' | 'LinkDismiss' | 'LinkEdit' | 'LinkMultiple' | 'LinkPerson' | 'LinkSettings' | 'LinkSquare' | 'LinkToolbox' | 'List' | 'ListBar' | 'ListBarTree' | 'ListBarTreeOffset' | 'ListRtl' | 'Live' | 'LiveOff' | 'LocalLanguage' | 'Location' | 'LocationAdd' | 'LocationAddLeft' | 'LocationAddRight' | 'LocationAddUp' | 'LocationArrow' | 'LocationArrowLeft' | 'LocationArrowRight' | 'LocationArrowUp' | 'LocationDismiss' | 'LocationLive' | 'LocationOff' | 'LocationTargetSquare' | 'LockClosed' | 'LockClosedKey' | 'LockMultiple' | 'LockOpen' | 'LockShield' | 'Lottery' | 'Luggage' | 'Mail' | 'MailAdd' | 'MailAlert' | 'MailAllRead' | 'MailAllUnread' | 'MailArrowDoubleBack' | 'MailArrowDown' | 'MailArrowForward' | 'MailArrowUp' | 'MailAttach' | 'MailCheckmark' | 'MailClock' | 'MailCopy' | 'MailDismiss' | 'MailEdit' | 'MailError' | 'MailInbox' | 'MailInboxAdd' | 'MailInboxAll' | 'MailInboxArrowDown' | 'MailInboxArrowRight' | 'MailInboxArrowUp' | 'MailInboxCheckmark' | 'MailInboxDismiss' | 'MailLink' | 'MailList' | 'MailMultiple' | 'MailOff' | 'MailOpenPerson' | 'MailPause' | 'MailProhibited' | 'MailRead' | 'MailReadMultiple' | 'MailRewind' | 'MailSettings' | 'MailShield' | 'MailTemplate' | 'MailUnread' | 'MailWarning' | 'Mailbox' | 'Map' | 'MapDrive' | 'Markdown' | 'MatchAppLayout' | 'MathFormatLinear' | 'MathFormatProfessional' | 'MathFormula' | 'MathSymbols' | 'Maximize' | 'MeetNow' | 'Megaphone' | 'MegaphoneCircle' | 'MegaphoneLoud' | 'MegaphoneOff' | 'Memory' | 'Mention' | 'MentionArrowDown' | 'MentionBrackets' | 'Merge' | 'Mic' | 'MicOff' | 'MicProhibited' | 'MicPulse' | 'MicPulseOff' | 'MicRecord' | 'MicSettings' | 'MicSparkle' | 'MicSync' | 'Microscope' | 'Midi' | 'MobileOptimized' | 'Mold' | 'Molecule' | 'Money' | 'MoneyCalculator' | 'MoneyDismiss' | 'MoneyHand' | 'MoneyOff' | 'MoneySettings' | 'MoreCircle' | 'MoreHorizontal' | 'MoreVertical' | 'MountainLocationBottom' | 'MountainLocationTop' | 'MountainTrail' | 'MoviesAndTv' | 'Multiplier12X' | 'Multiplier15X' | 'Multiplier18X' | 'Multiplier1X' | 'Multiplier2X' | 'Multiplier5X' | 'MultiselectLtr' | 'MultiselectRtl' | 'MusicNote1' | 'MusicNote2' | 'MusicNote2Play' | 'MusicNoteOff1' | 'MusicNoteOff2' | 'MyLocation' | 'Navigation' | 'NavigationLocationTarget' | 'NavigationPlay' | 'NavigationUnread' | 'NetworkAdapter' | 'NetworkCheck' | 'New' | 'News' | 'Next' | 'NextFrame' | 'Note' | 'NoteAdd' | 'NoteEdit' | 'NotePin' | 'Notebook' | 'NotebookAdd' | 'NotebookArrowCurveDown' | 'NotebookError' | 'NotebookEye' | 'NotebookLightning' | 'NotebookQuestionMark' | 'NotebookSection' | 'NotebookSectionArrowRight' | 'NotebookSubsection' | 'NotebookSync' | 'Notepad' | 'NotepadEdit' | 'NotepadPerson' | 'NumberCircle0' | 'NumberCircle1' | 'NumberCircle2' | 'NumberCircle3' | 'NumberCircle4' | 'NumberCircle5' | 'NumberCircle6' | 'NumberCircle7' | 'NumberCircle8' | 'NumberCircle9' | 'NumberRow' | 'NumberSymbol' | 'NumberSymbolDismiss' | 'NumberSymbolSquare' | 'Open' | 'OpenFolder' | 'OpenOff' | 'Options' | 'Organization' | 'OrganizationHorizontal' | 'Orientation' | 'Oval' | 'Oven' | 'PaddingDown' | 'PaddingLeft' | 'PaddingRight' | 'PaddingTop' | 'PageFit' | 'PaintBrush' | 'PaintBrushArrowDown' | 'PaintBrushArrowUp' | 'PaintBucket' | 'Pair' | 'PanelBottom' | 'PanelBottomContract' | 'PanelBottomExpand' | 'PanelLeft' | 'PanelLeftAdd' | 'PanelLeftContract' | 'PanelLeftExpand' | 'PanelLeftFocusRight' | 'PanelLeftHeader' | 'PanelLeftHeaderAdd' | 'PanelLeftHeaderKey' | 'PanelLeftKey' | 'PanelLeftText' | 'PanelLeftTextAdd' | 'PanelLeftTextDismiss' | 'PanelRight' | 'PanelRightAdd' | 'PanelRightContract' | 'PanelRightCursor' | 'PanelRightExpand' | 'PanelRightGallery' | 'PanelSeparateWindow' | 'PanelTopContract' | 'PanelTopExpand' | 'PanelTopGallery' | 'Password' | 'Patch' | 'Patient' | 'Pause' | 'PauseCircle' | 'PauseOff' | 'PauseSettings' | 'Payment' | 'Pen' | 'PenDismiss' | 'PenOff' | 'PenProhibited' | 'PenSparkle' | 'Pentagon' | 'People' | 'PeopleAdd' | 'PeopleAudience' | 'PeopleCall' | 'PeopleChat' | 'PeopleCheckmark' | 'PeopleCommunity' | 'PeopleCommunityAdd' | 'PeopleEdit' | 'PeopleError' | 'PeopleList' | 'PeopleLock' | 'PeopleMoney' | 'PeopleProhibited' | 'PeopleQueue' | 'PeopleSearch' | 'PeopleSettings' | 'PeopleStar' | 'PeopleSwap' | 'PeopleSync' | 'PeopleTeam' | 'PeopleTeamAdd' | 'PeopleTeamDelete' | 'PeopleTeamToolbox' | 'PeopleToolbox' | 'Person' | 'Person5' | 'Person6' | 'PersonAccounts' | 'PersonAdd' | 'PersonAlert' | 'PersonArrowBack' | 'PersonArrowLeft' | 'PersonArrowRight' | 'PersonAvailable' | 'PersonBoard' | 'PersonCall' | 'PersonChat' | 'PersonCircle' | 'PersonClock' | 'PersonDelete' | 'PersonDesktop' | 'PersonEdit' | 'PersonFeedback' | 'PersonHeart' | 'PersonInfo' | 'PersonKey' | 'PersonLightbulb' | 'PersonLightning' | 'PersonLink' | 'PersonLock' | 'PersonMail' | 'PersonMoney' | 'PersonNote' | 'PersonPhone' | 'PersonPill' | 'PersonProhibited' | 'PersonQuestionMark' | 'PersonRibbon' | 'PersonRunning' | 'PersonSearch' | 'PersonSettings' | 'PersonSquare' | 'PersonSquareCheckmark' | 'PersonStanding' | 'PersonStar' | 'PersonStarburst' | 'PersonSubtract' | 'PersonSupport' | 'PersonSwap' | 'PersonSync' | 'PersonTag' | 'PersonVoice' | 'PersonWalking' | 'PersonWarning' | 'PersonWrench' | 'Phone' | 'PhoneAdd' | 'PhoneArrowRight' | 'PhoneBriefcase' | 'PhoneChat' | 'PhoneCheckmark' | 'PhoneDesktop' | 'PhoneDesktopAdd' | 'PhoneDismiss' | 'PhoneEdit' | 'PhoneEraser' | 'PhoneFooterArrowDown' | 'PhoneHeaderArrowUp' | 'PhoneKey' | 'PhoneLaptop' | 'PhoneLinkSetup' | 'PhoneLock' | 'PhoneMultiple' | 'PhoneMultipleSettings' | 'PhonePageHeader' | 'PhonePagination' | 'PhonePerson' | 'PhoneScreenTime' | 'PhoneShake' | 'PhoneSpanIn' | 'PhoneSpanOut' | 'PhoneSpeaker' | 'PhoneStatusBar' | 'PhoneSubtract' | 'PhoneTablet' | 'PhoneUpdate' | 'PhoneUpdateCheckmark' | 'PhoneVerticalScroll' | 'PhoneVibrate' | 'PhotoFilter' | 'Pi' | 'PictureInPicture' | 'PictureInPictureEnter' | 'PictureInPictureExit' | 'Pill' | 'Pin' | 'PinOff' | 'Pipeline' | 'PipelineAdd' | 'PipelineArrowCurveDown' | 'PipelinePlay' | 'Pivot' | 'PlantGrass' | 'PlantRagweed' | 'Play' | 'PlayCircle' | 'PlayCircleHint' | 'PlayMultiple' | 'PlaySettings' | 'PlayingCards' | 'PlugConnected' | 'PlugConnectedAdd' | 'PlugConnectedCheckmark' | 'PlugConnectedSettings' | 'PlugDisconnected' | 'PointScan' | 'Poll' | 'PollHorizontal' | 'PollOff' | 'PortHdmi' | 'PortMicroUsb' | 'PortUsbA' | 'PortUsbC' | 'PositionBackward' | 'PositionForward' | 'PositionToBack' | 'PositionToFront' | 'Power' | 'Predictions' | 'Premium' | 'PremiumPerson' | 'PresenceAvailable' | 'PresenceAway' | 'PresenceBlocked' | 'PresenceBusy' | 'PresenceDnd' | 'PresenceOffline' | 'PresenceOof' | 'PresenceUnknown' | 'Presenter' | 'PresenterOff' | 'PreviewLink' | 'Previous' | 'PreviousFrame' | 'Print' | 'PrintAdd' | 'Production' | 'ProductionCheckmark' | 'Prohibited' | 'ProhibitedMultiple' | 'ProhibitedNote' | 'ProjectionScreen' | 'ProjectionScreenDismiss' | 'ProjectionScreenText' | 'ProtocolHandler' | 'Pulse' | 'PulseSquare' | 'PuzzleCube' | 'PuzzleCubePiece' | 'PuzzlePiece' | 'PuzzlePieceShield' | 'QrCode' | 'Question' | 'QuestionCircle' | 'QuizNew' | 'Radar' | 'RadarCheckmark' | 'RadarRectangleMultiple' | 'RadioButton' | 'RadioButtonOff' | 'Ram' | 'RatingMature' | 'RatioOneToOne' | 'ReOrder' | 'ReOrderDotsHorizontal' | 'ReOrderDotsVertical' | 'ReadAloud' | 'ReadingList' | 'ReadingListAdd' | 'ReadingModeMobile' | 'RealEstate' | 'Receipt' | 'ReceiptAdd' | 'ReceiptBag' | 'ReceiptCube' | 'ReceiptMoney' | 'ReceiptPlay' | 'ReceiptSearch' | 'ReceiptSparkles' | 'Record' | 'RecordStop' | 'RectangleLandscape' | 'RectangleLandscapeHintCopy' | 'RectangleLandscapeSparkle' | 'RectangleLandscapeSync' | 'RectangleLandscapeSyncOff' | 'RectanglePortraitLocationTarget' | 'Recycle' | 'RemixAdd' | 'Remote' | 'Rename' | 'Reorder' | 'Replay' | 'Resize' | 'ResizeImage' | 'ResizeLarge' | 'ResizeSmall' | 'ResizeTable' | 'ResizeVideo' | 'Reward' | 'Rewind' | 'Rhombus' | 'Ribbon' | 'RibbonAdd' | 'RibbonOff' | 'RibbonStar' | 'RoadCone' | 'Rocket' | 'RotateLeft' | 'RotateRight' | 'Router' | 'RowTriple' | 'Rss' | 'Ruler' | 'Run' | 'Sanitize' | 'Save' | 'SaveArrowRight' | 'SaveCopy' | 'SaveEdit' | 'SaveImage' | 'SaveMultiple' | 'SaveSearch' | 'SaveSync' | 'Savings' | 'ScaleFill' | 'ScaleFit' | 'Scales' | 'Scan' | 'ScanCamera' | 'ScanDash' | 'ScanObject' | 'ScanPerson' | 'ScanQrCode' | 'ScanTable' | 'ScanText' | 'ScanThumbUp' | 'ScanThumbUpOff' | 'ScanType' | 'ScanTypeCheckmark' | 'ScanTypeOff' | 'Scratchpad' | 'ScreenCut' | 'ScreenPerson' | 'ScreenSearch' | 'Screenshot' | 'ScreenshotRecord' | 'Script' | 'Search' | 'SearchInfo' | 'SearchSettings' | 'SearchShield' | 'SearchSquare' | 'SearchVisual' | 'Seat' | 'SeatAdd' | 'SelectAllOff' | 'SelectAllOn' | 'SelectObject' | 'SelectObjectSkew' | 'SelectObjectSkewDismiss' | 'SelectObjectSkewEdit' | 'Send' | 'SendBeaker' | 'SendClock' | 'SendCopy' | 'SerialPort' | 'Server' | 'ServerLink' | 'ServerMultiple' | 'ServerPlay' | 'ServerSurface' | 'ServerSurfaceMultiple' | 'ServiceBell' | 'Settings' | 'SettingsChat' | 'SettingsCogMultiple' | 'ShapeExclude' | 'ShapeIntersect' | 'ShapeOrganic' | 'ShapeSubtract' | 'ShapeUnion' | 'Shapes' | 'Share' | 'ShareAndroid' | 'ShareCloseTray' | 'ShareIos' | 'ShareScreenPerson' | 'ShareScreenPersonOverlay' | 'ShareScreenPersonOverlayInside' | 'ShareScreenPersonP' | 'ShareScreenStart' | 'ShareScreenStop' | 'Shield' | 'ShieldAdd' | 'ShieldBadge' | 'ShieldCheckmark' | 'ShieldDismiss' | 'ShieldDismissShield' | 'ShieldError' | 'ShieldGlobe' | 'ShieldKeyhole' | 'ShieldLock' | 'ShieldPerson' | 'ShieldPersonAdd' | 'ShieldProhibited' | 'ShieldQuestion' | 'ShieldTask' | 'Shifts' | 'Shifts30Minutes' | 'ShiftsActivity' | 'ShiftsAdd' | 'ShiftsAvailability' | 'ShiftsCheckmark' | 'ShiftsDay' | 'ShiftsOpen' | 'ShiftsProhibited' | 'ShiftsQuestionMark' | 'ShiftsTeam' | 'ShoppingBag' | 'ShoppingBagAdd' | 'ShoppingBagArrowLeft' | 'ShoppingBagDismiss' | 'ShoppingBagPause' | 'ShoppingBagPercent' | 'ShoppingBagPlay' | 'ShoppingBagTag' | 'Shortpick' | 'Showerhead' | 'SidebarSearchLtr' | 'SidebarSearchRtl' | 'SignOut' | 'Signature' | 'Sim' | 'SkipBack10' | 'SkipForward10' | 'SkipForward30' | 'SkipForwardTab' | 'SlashForward' | 'Sleep' | 'SlideAdd' | 'SlideArrowRight' | 'SlideContent' | 'SlideEraser' | 'SlideGrid' | 'SlideHide' | 'SlideLayout' | 'SlideLink' | 'SlideMicrophone' | 'SlideMultiple' | 'SlideMultipleArrowRight' | 'SlideMultipleSearch' | 'SlideRecord' | 'SlideSearch' | 'SlideSettings' | 'SlideSize' | 'SlideText' | 'SlideTextEdit' | 'SlideTextMultiple' | 'SlideTextPerson' | 'SlideTextSparkle' | 'SlideTransition' | 'Smartwatch' | 'SmartwatchDot' | 'Snooze' | 'SoundSource' | 'SoundWaveCircle' | 'Space3D' | 'Spacebar' | 'Sparkle' | 'SparkleCircle' | 'Speaker0' | 'Speaker1' | 'Speaker2' | 'SpeakerBluetooth' | 'SpeakerBox' | 'SpeakerEdit' | 'SpeakerMute' | 'SpeakerOff' | 'SpeakerSettings' | 'SpeakerUsb' | 'SpinnerIos' | 'SplitHint' | 'SplitHorizontal' | 'SplitVertical' | 'Sport' | 'SportAmericanFootball' | 'SportBaseball' | 'SportBasketball' | 'SportHockey' | 'SportSoccer' | 'SprayCan' | 'Square' | 'SquareAdd' | 'SquareArrowForward' | 'SquareDismiss' | 'SquareEraser' | 'SquareHint' | 'SquareHintApps' | 'SquareHintArrowBack' | 'SquareHintHexagon' | 'SquareHintSparkles' | 'SquareMultiple' | 'SquareShadow' | 'SquaresNested' | 'Stack' | 'StackAdd' | 'StackArrowForward' | 'StackStar' | 'StackVertical' | 'Star' | 'StarAdd' | 'StarArrowBack' | 'StarArrowRightEnd' | 'StarArrowRightStart' | 'StarCheckmark' | 'StarDismiss' | 'StarEdit' | 'StarEmphasis' | 'StarHalf' | 'StarLineHorizontal3' | 'StarOff' | 'StarOneQuarter' | 'StarProhibited' | 'StarSettings' | 'StarThreeQuarter' | 'Status' | 'Step' | 'Steps' | 'Stethoscope' | 'Sticker' | 'StickerAdd' | 'Stop' | 'Storage' | 'StoreMicrosoft' | 'Stream' | 'StreamInput' | 'StreamInputOutput' | 'StreamOutput' | 'StreetSign' | 'StyleGuide' | 'SubGrid' | 'Subtitles' | 'Subtract' | 'SubtractCircle' | 'SubtractCircleArrowBack' | 'SubtractCircleArrowForward' | 'SubtractParentheses' | 'SubtractSquare' | 'SubtractSquareMultiple' | 'SurfaceEarbuds' | 'SurfaceHub' | 'SwimmingPool' | 'SwipeDown' | 'SwipeRight' | 'SwipeUp' | 'Symbols' | 'SyncOff' | 'Syringe' | 'System' | 'Tab' | 'TabAdd' | 'TabArrowLeft' | 'TabDesktop' | 'TabDesktopArrowClockwise' | 'TabDesktopArrowLeft' | 'TabDesktopBottom' | 'TabDesktopClock' | 'TabDesktopCopy' | 'TabDesktopImage' | 'TabDesktopLink' | 'TabDesktopMultiple' | 'TabDesktopMultipleAdd' | 'TabDesktopMultipleBottom' | 'TabDesktopNewPage' | 'TabInPrivate' | 'TabInprivateAccount' | 'TabProhibited' | 'TabShieldDismiss' | 'Table' | 'TableAdd' | 'TableArrowUp' | 'TableBottomRow' | 'TableCalculator' | 'TableCellEdit' | 'TableCellsMerge' | 'TableCellsSplit' | 'TableChecker' | 'TableColumnTopBottom' | 'TableCopy' | 'TableDefault' | 'TableDeleteColumn' | 'TableDeleteRow' | 'TableDismiss' | 'TableEdit' | 'TableFreezeColumn' | 'TableFreezeColumnAndRow' | 'TableFreezeRow' | 'TableImage' | 'TableInsertColumn' | 'TableInsertRow' | 'TableLightning' | 'TableLink' | 'TableLock' | 'TableMoveAbove' | 'TableMoveBelow' | 'TableMoveLeft' | 'TableMoveRight' | 'TableMultiple' | 'TableOffset' | 'TableOffsetAdd' | 'TableOffsetLessThanOrEqualTo' | 'TableOffsetSettings' | 'TableResizeColumn' | 'TableResizeRow' | 'TableSearch' | 'TableSettings' | 'TableSimple' | 'TableSimpleCheckmark' | 'TableSimpleExclude' | 'TableSimpleInclude' | 'TableSimpleMultiple' | 'TableSplit' | 'TableStackAbove' | 'TableStackBelow' | 'TableStackLeft' | 'TableStackRight' | 'TableSwitch' | 'Tablet' | 'TabletLaptop' | 'TabletSpeaker' | 'Tabs' | 'Tag' | 'TagCircle' | 'TagDismiss' | 'TagError' | 'TagLock' | 'TagLockAccent' | 'TagMultiple' | 'TagOff' | 'TagQuestionMark' | 'TagReset' | 'TagSearch' | 'TapDouble' | 'TapSingle' | 'Target' | 'TargetAdd' | 'TargetArrow' | 'TargetDismiss' | 'TargetEdit' | 'TaskListAdd' | 'TaskListLtr' | 'TaskListRtl' | 'TaskListSquareAdd' | 'TaskListSquareDatabase' | 'TaskListSquareLtr' | 'TaskListSquarePerson' | 'TaskListSquareRtl' | 'TaskListSquareSettings' | 'TasksApp' | 'TeardropBottomRight' | 'Teddy' | 'Temperature' | 'Tent' | 'TetrisApp' | 'Text' | 'TextAbcUnderlineDouble' | 'TextAdd' | 'TextAddSpaceAfter' | 'TextAddSpaceBefore' | 'TextAddT' | 'TextAlignCenter' | 'TextAlignCenterRotate270' | 'TextAlignCenterRotate90' | 'TextAlignDistributed' | 'TextAlignDistributedEvenly' | 'TextAlignDistributedVertical' | 'TextAlignJustify' | 'TextAlignJustifyLow' | 'TextAlignJustifyLow90' | 'TextAlignJustifyLowRotate270' | 'TextAlignJustifyLowRotate90' | 'TextAlignJustifyRotate270' | 'TextAlignJustifyRotate90' | 'TextAlignLeft' | 'TextAlignLeftRotate270' | 'TextAlignLeftRotate90' | 'TextAlignRight' | 'TextAlignRightRotate270' | 'TextAlignRightRotate90' | 'TextArrowDownRightColumn' | 'TextAsterisk' | 'TextBaseline' | 'TextBold' | 'TextBoxSettings' | 'TextBulletList' | 'TextBulletList270' | 'TextBulletList90' | 'TextBulletListAdd' | 'TextBulletListCheckmark' | 'TextBulletListDismiss' | 'TextBulletListLtr' | 'TextBulletListLtr90' | 'TextBulletListLtrRotate270' | 'TextBulletListRtl' | 'TextBulletListRtl90' | 'TextBulletListSquare' | 'TextBulletListSquareClock' | 'TextBulletListSquareEdit' | 'TextBulletListSquarePerson' | 'TextBulletListSquareSearch' | 'TextBulletListSquareSettings' | 'TextBulletListSquareShield' | 'TextBulletListSquareSparkle' | 'TextBulletListSquareToolbox' | 'TextBulletListSquareWarning' | 'TextBulletListTree' | 'TextCaseLowercase' | 'TextCaseTitle' | 'TextCaseUppercase' | 'TextChangeCase' | 'TextClearFormatting' | 'TextCollapse' | 'TextColor' | 'TextColorAccent' | 'TextColumnOne' | 'TextColumnOneNarrow' | 'TextColumnOneSemiNarrow' | 'TextColumnOneWide' | 'TextColumnOneWideLightning' | 'TextColumnThree' | 'TextColumnTwo' | 'TextColumnTwoLeft' | 'TextColumnTwoRight' | 'TextColumnWide' | 'TextContinuous' | 'TextDensity' | 'TextDescription' | 'TextDescriptionLtr' | 'TextDescriptionRtl' | 'TextDirectionHorizontalLeft' | 'TextDirectionHorizontalLtr' | 'TextDirectionHorizontalRight' | 'TextDirectionHorizontalRtl' | 'TextDirectionRotate270Right' | 'TextDirectionRotate315Right' | 'TextDirectionRotate45Right' | 'TextDirectionRotate90Left' | 'TextDirectionRotate90Ltr' | 'TextDirectionRotate90Right' | 'TextDirectionRotate90Rtl' | 'TextDirectionVertical' | 'TextEditStyle' | 'TextEditStyleCharacterA' | 'TextEditStyleCharacterGa' | 'TextEffects' | 'TextEffectsSparkle' | 'TextExpand' | 'TextField' | 'TextFirstLine' | 'TextFont' | 'TextFontInfo' | 'TextFontSize' | 'TextFootnote' | 'TextGrammarArrowLeft' | 'TextGrammarArrowRight' | 'TextGrammarCheckmark' | 'TextGrammarDismiss' | 'TextGrammarError' | 'TextGrammarLightning' | 'TextGrammarSettings' | 'TextGrammarWand' | 'TextHanging' | 'TextHeader1' | 'TextHeader1Lines' | 'TextHeader1LinesCaret' | 'TextHeader2' | 'TextHeader2Lines' | 'TextHeader2LinesCaret' | 'TextHeader3' | 'TextHeader3Lines' | 'TextHeader3LinesCaret' | 'TextIndentDecrease' | 'TextIndentDecreaseLtr' | 'TextIndentDecreaseLtr90' | 'TextIndentDecreaseLtrRotate270' | 'TextIndentDecreaseRotate270' | 'TextIndentDecreaseRotate90' | 'TextIndentDecreaseRtl' | 'TextIndentDecreaseRtl90' | 'TextIndentDecreaseRtlRotate270' | 'TextIndentIncrease' | 'TextIndentIncreaseLtr' | 'TextIndentIncreaseLtr90' | 'TextIndentIncreaseLtrRotate270' | 'TextIndentIncreaseRotate270' | 'TextIndentIncreaseRotate90' | 'TextIndentIncreaseRtl' | 'TextIndentIncreaseRtl90' | 'TextIndentIncreaseRtlRotate270' | 'TextItalic' | 'TextLineSpacing' | 'TextMore' | 'TextNumberFormat' | 'TextNumberListLtr' | 'TextNumberListLtr90' | 'TextNumberListLtrRotate270' | 'TextNumberListRotate270' | 'TextNumberListRotate90' | 'TextNumberListRtl' | 'TextNumberListRtl90' | 'TextNumberListRtlRotate270' | 'TextParagraph' | 'TextParagraphDirection' | 'TextParagraphDirectionLeft' | 'TextParagraphDirectionRight' | 'TextPeriodAsterisk' | 'TextPositionBehind' | 'TextPositionFront' | 'TextPositionLine' | 'TextPositionSquare' | 'TextPositionSquareLeft' | 'TextPositionSquareRight' | 'TextPositionThrough' | 'TextPositionTight' | 'TextPositionTopBottom' | 'TextProofingTools' | 'TextQuote' | 'TextSortAscending' | 'TextSortDescending' | 'TextStrikethrough' | 'TextSubscript' | 'TextSuperscript' | 'TextT' | 'TextTTag' | 'TextUnderline' | 'TextUnderlineCharacterU' | 'TextUnderlineDouble' | 'TextWholeWord' | 'TextWordCount' | 'TextWrap' | 'TextWrapOff' | 'Textbox' | 'TextboxAlignBottom' | 'TextboxAlignBottomCenter' | 'TextboxAlignBottomLeft' | 'TextboxAlignBottomRight' | 'TextboxAlignBottomRotate90' | 'TextboxAlignCenter' | 'TextboxAlignMiddle' | 'TextboxAlignMiddleLeft' | 'TextboxAlignMiddleRight' | 'TextboxAlignMiddleRotate90' | 'TextboxAlignTop' | 'TextboxAlignTopCenter' | 'TextboxAlignTopLeft' | 'TextboxAlignTopRight' | 'TextboxAlignTopRotate90' | 'TextboxMore' | 'TextboxRotate90' | 'TextboxSettings' | 'Thinking' | 'ThumbDislike' | 'ThumbLike' | 'ThumbLikeDislike' | 'TicketDiagonal' | 'TicketHorizontal' | 'TimeAndWeather' | 'TimePicker' | 'Timeline' | 'Timer10' | 'Timer' | 'Timer2' | 'Timer3' | 'TimerOff' | 'ToggleLeft' | 'ToggleMultiple' | 'ToggleRight' | 'Toolbox' | 'TooltipQuote' | 'TopSpeed' | 'Translate' | 'TranslateAuto' | 'TranslateOff' | 'Transmission' | 'TrayItemAdd' | 'TrayItemRemove' | 'TreeDeciduous' | 'TreeEvergreen' | 'Triangle' | 'TriangleDown' | 'TriangleLeft' | 'TriangleRight' | 'TriangleUp' | 'Trophy' | 'TrophyLock' | 'TrophyOff' | 'Tv' | 'TvArrowRight' | 'TvUsb' | 'Umbrella' | 'UninstallApp' | 'UsbPlug' | 'UsbStick' | 'Vault' | 'VehicleBicycle' | 'VehicleBus' | 'VehicleCab' | 'VehicleCableCar' | 'VehicleCar' | 'VehicleCarCollision' | 'VehicleCarParking' | 'VehicleCarProfile' | 'VehicleCarProfileLtr' | 'VehicleCarProfileLtrClock' | 'VehicleCarProfileRtl' | 'VehicleShip' | 'VehicleSubway' | 'VehicleSubwayClock' | 'VehicleTruck' | 'VehicleTruckBag' | 'VehicleTruckCube' | 'VehicleTruckProfile' | 'Video' | 'Video360' | 'Video360Off' | 'VideoAdd' | 'VideoBackgroundEffect' | 'VideoBackgroundEffectHorizontal' | 'VideoChat' | 'VideoClip' | 'VideoClipMultiple' | 'VideoClipOff' | 'VideoClipOptimize' | 'VideoLink' | 'VideoOff' | 'VideoPeople' | 'VideoPerson' | 'VideoPersonCall' | 'VideoPersonClock' | 'VideoPersonOff' | 'VideoPersonPulse' | 'VideoPersonSparkle' | 'VideoPersonSparkleOff' | 'VideoPersonStar' | 'VideoPersonStarOff' | 'VideoPlayPause' | 'VideoProhibited' | 'VideoRecording' | 'VideoSecurity' | 'VideoSwitch' | 'VideoSync' | 'ViewDesktop' | 'ViewDesktopMobile' | 'VirtualNetwork' | 'VirtualNetworkToolbox' | 'Voicemail' | 'VoicemailArrowBack' | 'VoicemailArrowForward' | 'VoicemailArrowSubtract' | 'VoicemailShield' | 'VoicemailSubtract' | 'Vote' | 'WalkieTalkie' | 'Wallet' | 'WalletCreditCard' | 'Wallpaper' | 'Wand' | 'Warning' | 'WarningShield' | 'Washer' | 'Water' | 'WeatherBlowingSnow' | 'WeatherCloudy' | 'WeatherDrizzle' | 'WeatherDuststorm' | 'WeatherFog' | 'WeatherHailDay' | 'WeatherHailNight' | 'WeatherHaze' | 'WeatherMoon' | 'WeatherMoonOff' | 'WeatherPartlyCloudyDay' | 'WeatherPartlyCloudyNight' | 'WeatherRain' | 'WeatherRainShowersDay' | 'WeatherRainShowersNight' | 'WeatherRainSnow' | 'WeatherSnow' | 'WeatherSnowShowerDay' | 'WeatherSnowShowerNight' | 'WeatherSnowflake' | 'WeatherSqualls' | 'WeatherSunny' | 'WeatherSunnyHigh' | 'WeatherSunnyLow' | 'WeatherThunderstorm' | 'WebAsset' | 'Whiteboard' | 'WhiteboardOff' | 'Wifi1' | 'Wifi2' | 'Wifi3' | 'Wifi4' | 'WifiLock' | 'WifiOff' | 'WifiSettings' | 'WifiWarning' | 'Window' | 'WindowAd' | 'WindowAdOff' | 'WindowAdPerson' | 'WindowApps' | 'WindowArrowUp' | 'WindowBulletList' | 'WindowBulletListAdd' | 'WindowConsole' | 'WindowDatabase' | 'WindowDevEdit' | 'WindowDevTools' | 'WindowEdit' | 'WindowHeaderHorizontal' | 'WindowHeaderHorizontalOff' | 'WindowHeaderVertical' | 'WindowInprivate' | 'WindowInprivateAccount' | 'WindowLocationTarget' | 'WindowMultiple' | 'WindowMultipleSwap' | 'WindowNew' | 'WindowPlay' | 'WindowSettings' | 'WindowShield' | 'WindowText' | 'WindowWrench' | 'Wrench' | 'WrenchScrewdriver' | 'WrenchSettings' | 'XboxConsole' | 'XboxController' | 'XboxControllerError' | 'Xray' | 'ZoomFit' | 'ZoomIn' | 'ZoomOut'; -export type ActionStyle = "default" | "positive" | "destructive"; +export type ActionStyle = 'default' | 'positive' | 'destructive'; -export type ActionMode = "primary" | "secondary"; +export type ActionMode = 'primary' | 'secondary'; export type MenuActionArray = (IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction)[]; -export type ThemeName = "Light" | "Dark"; +export type ThemeName = 'Light' | 'Dark'; -export type ElementHeight = "auto" | "stretch"; +export type ElementHeight = 'auto' | 'stretch'; -export type HorizontalAlignment = "Left" | "Center" | "Right"; +export type HorizontalAlignment = 'Left' | 'Center' | 'Right'; -export type Spacing = "None" | "ExtraSmall" | "Small" | "Default" | "Medium" | "Large" | "ExtraLarge" | "Padding"; +export type Spacing = 'None' | 'ExtraSmall' | 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge' | 'Padding'; -export type TargetWidth = "VeryNarrow" | "Narrow" | "Standard" | "Wide" | "atLeast:VeryNarrow" | "atMost:VeryNarrow" | "atLeast:Narrow" | "atMost:Narrow" | "atLeast:Standard" | "atMost:Standard" | "atLeast:Wide" | "atMost:Wide"; +export type TargetWidth = 'VeryNarrow' | 'Narrow' | 'Standard' | 'Wide' | 'atLeast:VeryNarrow' | 'atMost:VeryNarrow' | 'atLeast:Narrow' | 'atMost:Narrow' | 'atLeast:Standard' | 'atMost:Standard' | 'atLeast:Wide' | 'atMost:Wide'; -export type ContainerStyle = "default" | "emphasis" | "accent" | "good" | "attention" | "warning"; +export type ContainerStyle = 'default' | 'emphasis' | 'accent' | 'good' | 'attention' | 'warning'; -export type VerticalAlignment = "Top" | "Center" | "Bottom"; +export type VerticalAlignment = 'Top' | 'Center' | 'Bottom'; -export type FlowLayoutItemFit = "Fit" | "Fill"; +export type FlowLayoutItemFit = 'Fit' | 'Fill'; -export type FillMode = "Cover" | "RepeatHorizontally" | "RepeatVertically" | "Repeat"; +export type FillMode = 'Cover' | 'RepeatHorizontally' | 'RepeatVertically' | 'Repeat'; -export type TextSize = "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"; +export type TextSize = 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'; -export type TextWeight = "Lighter" | "Default" | "Bolder"; +export type TextWeight = 'Lighter' | 'Default' | 'Bolder'; -export type TextColor = "Default" | "Dark" | "Light" | "Accent" | "Good" | "Warning" | "Attention"; +export type TextColor = 'Default' | 'Dark' | 'Light' | 'Accent' | 'Good' | 'Warning' | 'Attention'; -export type FontType = "Default" | "Monospace"; +export type FontType = 'Default' | 'Monospace'; -export type TextBlockStyle = "default" | "columnHeader" | "heading"; +export type TextBlockStyle = 'default' | 'columnHeader' | 'heading'; -export type ImageStyle = "Default" | "Person" | "RoundedCorners"; +export type ImageStyle = 'Default' | 'Person' | 'RoundedCorners'; -export type Size = "Auto" | "Stretch" | "Small" | "Medium" | "Large"; +export type Size = 'Auto' | 'Stretch' | 'Small' | 'Medium' | 'Large'; -export type ImageFitMode = "Cover" | "Contain" | "Fill"; +export type ImageFitMode = 'Cover' | 'Contain' | 'Fill'; -export type InputTextStyle = "Text" | "Tel" | "Url" | "Email" | "Password"; +export type InputTextStyle = 'Text' | 'Tel' | 'Url' | 'Email' | 'Password'; -export type AssociatedInputs = "auto" | "none"; +export type AssociatedInputs = 'auto' | 'none'; -export type ChoiceSetInputStyle = "compact" | "expanded" | "filtered"; +export type ChoiceSetInputStyle = 'compact' | 'expanded' | 'filtered'; -export type RatingSize = "Medium" | "Large"; +export type RatingSize = 'Medium' | 'Large'; -export type RatingColor = "Neutral" | "Marigold"; +export type RatingColor = 'Neutral' | 'Marigold'; -export type RatingStyle = "Default" | "Compact"; +export type RatingStyle = 'Default' | 'Compact'; -export type IconSize = "xxSmall" | "xSmall" | "Small" | "Standard" | "Medium" | "Large" | "xLarge" | "xxLarge"; +export type IconSize = 'xxSmall' | 'xSmall' | 'Small' | 'Standard' | 'Medium' | 'Large' | 'xLarge' | 'xxLarge'; -export type IconStyle = "Regular" | "Filled"; +export type IconStyle = 'Regular' | 'Filled'; -export type CarouselPageAnimation = "Slide" | "CrossFade" | "None"; +export type CarouselPageAnimation = 'Slide' | 'CrossFade' | 'None'; -export type BadgeIconPosition = "Before" | "After"; +export type BadgeIconPosition = 'Before' | 'After'; -export type BadgeAppearance = "Filled" | "Tint"; +export type BadgeAppearance = 'Filled' | 'Tint'; -export type BadgeSize = "Medium" | "Large" | "ExtraLarge"; +export type BadgeSize = 'Medium' | 'Large' | 'ExtraLarge'; -export type BadgeShape = "Square" | "Rounded" | "Circular"; +export type BadgeShape = 'Square' | 'Rounded' | 'Circular'; -export type BadgeStyle = "Default" | "Subtle" | "Informative" | "Accent" | "Good" | "Attention" | "Warning"; +export type BadgeStyle = 'Default' | 'Subtle' | 'Informative' | 'Accent' | 'Good' | 'Attention' | 'Warning'; -export type ProgressRingLabelPosition = "Before" | "After" | "Above" | "Below"; +export type ProgressRingLabelPosition = 'Before' | 'After' | 'Above' | 'Below'; -export type ProgressRingSize = "Tiny" | "Small" | "Medium" | "Large"; +export type ProgressRingSize = 'Tiny' | 'Small' | 'Medium' | 'Large'; -export type ProgressBarColor = "Accent" | "Good" | "Warning" | "Attention"; +export type ProgressBarColor = 'Accent' | 'Good' | 'Warning' | 'Attention'; -export type ChartColorSet = "categorical" | "sequential" | "sequentialred" | "sequentialgreen" | "sequentialyellow" | "diverging"; +export type ChartColorSet = 'categorical' | 'sequential' | 'sequentialred' | 'sequentialgreen' | 'sequentialyellow' | 'diverging'; -export type ChartColor = "good" | "warning" | "attention" | "neutral" | "categoricalRed" | "categoricalPurple" | "categoricalLavender" | "categoricalBlue" | "categoricalLightBlue" | "categoricalTeal" | "categoricalGreen" | "categoricalLime" | "categoricalMarigold" | "sequential1" | "sequential2" | "sequential3" | "sequential4" | "sequential5" | "sequential6" | "sequential7" | "sequential8" | "divergingBlue" | "divergingLightBlue" | "divergingCyan" | "divergingTeal" | "divergingYellow" | "divergingPeach" | "divergingLightRed" | "divergingRed" | "divergingMaroon" | "divergingGray" | "sequentialRed1" | "sequentialRed2" | "sequentialRed3" | "sequentialRed4" | "sequentialRed5" | "sequentialRed6" | "sequentialRed7" | "sequentialRed8" | "sequentialGreen1" | "sequentialGreen2" | "sequentialGreen3" | "sequentialGreen4" | "sequentialGreen5" | "sequentialGreen6" | "sequentialGreen7" | "sequentialGreen8" | "sequentialYellow1" | "sequentialYellow2" | "sequentialYellow3" | "sequentialYellow4" | "sequentialYellow5" | "sequentialYellow6" | "sequentialYellow7" | "sequentialYellow8"; +export type ChartColor = 'good' | 'warning' | 'attention' | 'neutral' | 'categoricalRed' | 'categoricalPurple' | 'categoricalLavender' | 'categoricalBlue' | 'categoricalLightBlue' | 'categoricalTeal' | 'categoricalGreen' | 'categoricalLime' | 'categoricalMarigold' | 'sequential1' | 'sequential2' | 'sequential3' | 'sequential4' | 'sequential5' | 'sequential6' | 'sequential7' | 'sequential8' | 'divergingBlue' | 'divergingLightBlue' | 'divergingCyan' | 'divergingTeal' | 'divergingYellow' | 'divergingPeach' | 'divergingLightRed' | 'divergingRed' | 'divergingMaroon' | 'divergingGray' | 'sequentialRed1' | 'sequentialRed2' | 'sequentialRed3' | 'sequentialRed4' | 'sequentialRed5' | 'sequentialRed6' | 'sequentialRed7' | 'sequentialRed8' | 'sequentialGreen1' | 'sequentialGreen2' | 'sequentialGreen3' | 'sequentialGreen4' | 'sequentialGreen5' | 'sequentialGreen6' | 'sequentialGreen7' | 'sequentialGreen8' | 'sequentialYellow1' | 'sequentialYellow2' | 'sequentialYellow3' | 'sequentialYellow4' | 'sequentialYellow5' | 'sequentialYellow6' | 'sequentialYellow7' | 'sequentialYellow8'; -export type DonutThickness = "Thin" | "Thick"; +export type DonutThickness = 'Thin' | 'Thick'; -export type HorizontalBarChartDisplayMode = "AbsoluteWithAxis" | "AbsoluteNoAxis" | "PartToWhole"; +export type HorizontalBarChartDisplayMode = 'AbsoluteWithAxis' | 'AbsoluteNoAxis' | 'PartToWhole'; -export type GaugeChartValueFormat = "Percentage" | "Fraction"; +export type GaugeChartValueFormat = 'Percentage' | 'Fraction'; -export type CodeLanguage = "Bash" | "C" | "Cpp" | "CSharp" | "Css" | "Dos" | "Go" | "Graphql" | "Html" | "Java" | "JavaScript" | "Json" | "ObjectiveC" | "Perl" | "Php" | "PlainText" | "PowerShell" | "Python" | "Sql" | "TypeScript" | "VbNet" | "Verilog" | "Vhdl" | "Xml"; +export type CodeLanguage = 'Bash' | 'C' | 'Cpp' | 'CSharp' | 'Css' | 'Dos' | 'Go' | 'Graphql' | 'Html' | 'Java' | 'JavaScript' | 'Json' | 'ObjectiveC' | 'Perl' | 'Php' | 'PlainText' | 'PowerShell' | 'Python' | 'Sql' | 'TypeScript' | 'VbNet' | 'Verilog' | 'Vhdl' | 'Xml'; -export type PersonaIconStyle = "profilePicture" | "contactCard" | "none"; +export type PersonaIconStyle = 'profilePicture' | 'contactCard' | 'none'; -export type PersonaDisplayStyle = "iconAndName" | "iconOnly" | "nameOnly"; +export type PersonaDisplayStyle = 'iconAndName' | 'iconOnly' | 'nameOnly'; -export type FallbackElement = IContainer | IActionSet | IColumnSet | IMedia | IRichTextBlock | ITable | ITextBlock | IFactSet | IImageSet | IImage | ITextInput | IDateInput | ITimeInput | INumberInput | IToggleInput | IChoiceSetInput | IRatingInput | IRating | ICompoundButton | IIcon | ICarousel | IBadge | IProgressRing | IProgressBar | IDonutChart | IPieChart | IGroupedVerticalBarChart | IVerticalBarChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IGaugeChart | ICodeBlock | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComEventMicrosoftGraphComponent | "drop"; +export type FallbackElement = IContainer | IActionSet | IColumnSet | IMedia | IRichTextBlock | ITable | ITextBlock | IFactSet | IImageSet | IImage | ITextInput | IDateInput | ITimeInput | INumberInput | IToggleInput | IChoiceSetInput | IRatingInput | IRating | ICompoundButton | IIcon | ICarousel | IBadge | IProgressRing | IProgressBar | IDonutChart | IPieChart | IGroupedVerticalBarChart | IVerticalBarChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IGaugeChart | ICodeBlock | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComEventMicrosoftGraphComponent | 'drop'; export type CardElementArray = (IActionSet | IBadge | ICarousel | IDonutChart | IGaugeChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IPieChart | IVerticalBarChart | IGroupedVerticalBarChart | ICodeBlock | IColumnSet | IComEventMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | ICompoundButton | IContainer | IFactSet | IIcon | IImage | IImageSet | IChoiceSetInput | IDateInput | INumberInput | IRatingInput | ITextInput | ITimeInput | IToggleInput | IMedia | IProgressBar | IProgressRing | IRating | IRichTextBlock | ITable | ITextBlock)[]; -export type ImageSize = "Small" | "Medium" | "Large"; +export type ImageSize = 'Small' | 'Medium' | 'Large'; export type TableCellArray = ITableCell[]; @@ -117,17 +117,17 @@ export type ColumnArray = IColumn[]; export type ActionArray = (IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | IShowCardAction | ISubmitAction | IToggleVisibilityAction)[]; -export type PopoverPosition = "Above" | "Below" | "Before" | "After"; +export type PopoverPosition = 'Above' | 'Below' | 'Before' | 'After'; -export type FallbackAction = ISubmitAction | IOpenUrlAction | IExecuteAction | IToggleVisibilityAction | IShowCardAction | IResetInputsAction | IPopoverAction | IOpenUrlDialogAction | IInsertImageAction | "drop"; +export type FallbackAction = ISubmitAction | IOpenUrlAction | IExecuteAction | IToggleVisibilityAction | IShowCardAction | IResetInputsAction | IPopoverAction | IOpenUrlDialogAction | IInsertImageAction | 'drop'; -export type ImageInsertPosition = "Selection" | "Top" | "Bottom"; +export type ImageInsertPosition = 'Selection' | 'Top' | 'Bottom'; -export type Version = "1.0" | "1.1" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6"; +export type Version = '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '1.5' | '1.6'; -export type TeamsCardWidth = "full"; +export type TeamsCardWidth = 'full'; -export type MentionType = "Person" | "Tag"; +export type MentionType = 'Person' | 'Tag'; /** * An Adaptive Card, containing a free-form body of card elements, and an optional set of actions. @@ -140,7 +140,7 @@ export interface IAdaptiveCard { /** * Must be **AdaptiveCard**. */ - readonly type: "AdaptiveCard"; + readonly type: 'AdaptiveCard'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -228,7 +228,7 @@ export interface IAdaptiveCard { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -254,10 +254,10 @@ export interface IAdaptiveCard { */ export function isAdaptiveCard(value: unknown): value is IAdaptiveCard { const obj = value as IAdaptiveCard; - return typeof obj === "object" && obj.type === "AdaptiveCard"; + return typeof obj === 'object' && obj.type === 'AdaptiveCard'; } -export type AdaptiveCardOptions = Partial>; +export type AdaptiveCardOptions = Partial>; /** * An Adaptive Card, containing a free-form body of card elements, and an optional set of actions. @@ -270,7 +270,7 @@ export class AdaptiveCard implements IAdaptiveCard { /** * Must be **AdaptiveCard**. */ - readonly type = "AdaptiveCard"; + readonly type = 'AdaptiveCard'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -322,7 +322,7 @@ export class AdaptiveCard implements IAdaptiveCard { /** * The Adaptive Card schema version the card is authored against. */ - version?: Version = "1.5"; + version?: Version = '1.5'; /** * The text that should be displayed if the client is not able to render the card. */ @@ -358,7 +358,7 @@ export class AdaptiveCard implements IAdaptiveCard { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -548,7 +548,7 @@ export interface IExecuteAction { /** * Must be **Action.Execute**. */ - readonly type: "Action.Execute"; + readonly type: 'Action.Execute'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -624,10 +624,10 @@ export interface IExecuteAction { */ export function isExecuteAction(value: unknown): value is IExecuteAction { const obj = value as IExecuteAction; - return typeof obj === "object" && obj.type === "Action.Execute"; + return typeof obj === 'object' && obj.type === 'Action.Execute'; } -export type ExecuteActionOptions = Partial>; +export type ExecuteActionOptions = Partial>; /** * Gathers input values, merges them with the data property if specified, and sends them to the Bot via an Invoke activity. The Bot can respond synchronously and return an updated Adaptive Card to be displayed by the client. Action.Execute works in all Adaptive Card hosts. @@ -640,7 +640,7 @@ export class ExecuteAction implements IExecuteAction { /** * Must be **Action.Execute**. */ - readonly type = "Action.Execute"; + readonly type = 'Action.Execute'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -662,11 +662,11 @@ export class ExecuteAction implements IExecuteAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -708,7 +708,7 @@ export class ExecuteAction implements IExecuteAction { Object.assign(this, options); } - static from(options: Omit): ExecuteAction { + static from(options: Omit): ExecuteAction { return new ExecuteAction(options); } @@ -804,7 +804,7 @@ export interface IInsertImageAction { /** * Must be **Action.InsertImage**. */ - readonly type: "Action.InsertImage"; + readonly type: 'Action.InsertImage'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -876,10 +876,10 @@ export interface IInsertImageAction { */ export function isInsertImageAction(value: unknown): value is IInsertImageAction { const obj = value as IInsertImageAction; - return typeof obj === "object" && obj.type === "Action.InsertImage"; + return typeof obj === 'object' && obj.type === 'Action.InsertImage'; } -export type InsertImageActionOptions = Partial>; +export type InsertImageActionOptions = Partial>; /** * Inserts an image into the host application's canvas. @@ -892,7 +892,7 @@ export class InsertImageAction implements IInsertImageAction { /** * Must be **Action.InsertImage**. */ - readonly type = "Action.InsertImage"; + readonly type = 'Action.InsertImage'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -914,11 +914,11 @@ export class InsertImageAction implements IInsertImageAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -946,7 +946,7 @@ export class InsertImageAction implements IInsertImageAction { /** * The position at which to insert the image. */ - insertPosition?: ImageInsertPosition = "Selection"; + insertPosition?: ImageInsertPosition = 'Selection'; /** * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -956,7 +956,7 @@ export class InsertImageAction implements IInsertImageAction { Object.assign(this, options); } - static from(options: Omit): InsertImageAction { + static from(options: Omit): InsertImageAction { return new InsertImageAction(options); } @@ -1047,7 +1047,7 @@ export interface IOpenUrlAction { /** * Must be **Action.OpenUrl**. */ - readonly type: "Action.OpenUrl"; + readonly type: 'Action.OpenUrl'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1111,10 +1111,10 @@ export interface IOpenUrlAction { */ export function isOpenUrlAction(value: unknown): value is IOpenUrlAction { const obj = value as IOpenUrlAction; - return typeof obj === "object" && obj.type === "Action.OpenUrl"; + return typeof obj === 'object' && obj.type === 'Action.OpenUrl'; } -export type OpenUrlActionOptions = Partial>; +export type OpenUrlActionOptions = Partial>; /** * Opens the provided URL in either a separate browser tab or within the host application. @@ -1127,7 +1127,7 @@ export class OpenUrlAction implements IOpenUrlAction { /** * Must be **Action.OpenUrl**. */ - readonly type = "Action.OpenUrl"; + readonly type = 'Action.OpenUrl'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1149,11 +1149,11 @@ export class OpenUrlAction implements IOpenUrlAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -1184,7 +1184,7 @@ export class OpenUrlAction implements IOpenUrlAction { this.url = url; } - static from(options: Omit): OpenUrlAction { + static from(options: Omit): OpenUrlAction { return new OpenUrlAction(options.url, options); } @@ -1265,7 +1265,7 @@ export interface IOpenUrlDialogAction { /** * Must be **Action.OpenUrlDialog**. */ - readonly type: "Action.OpenUrlDialog"; + readonly type: 'Action.OpenUrlDialog'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1315,11 +1315,11 @@ export interface IOpenUrlDialogAction { /** * The height of the dialog. To define height as a number of pixels, use the px format. */ - dialogHeight?: "small" | "medium" | "large" | string; + dialogHeight?: 'small' | 'medium' | 'large' | string; /** * The width of the dialog. To define width as a number of pixels, use the px format. */ - dialogWidth?: "small" | "medium" | "large" | string; + dialogWidth?: 'small' | 'medium' | 'large' | string; /** * The URL to open. */ @@ -1341,10 +1341,10 @@ export interface IOpenUrlDialogAction { */ export function isOpenUrlDialogAction(value: unknown): value is IOpenUrlDialogAction { const obj = value as IOpenUrlDialogAction; - return typeof obj === "object" && obj.type === "Action.OpenUrlDialog"; + return typeof obj === 'object' && obj.type === 'Action.OpenUrlDialog'; } -export type OpenUrlDialogActionOptions = Partial>; +export type OpenUrlDialogActionOptions = Partial>; /** * Opens a task module in a modal dialog hosting the content at a provided URL. @@ -1357,7 +1357,7 @@ export class OpenUrlDialogAction implements IOpenUrlDialogAction { /** * Must be **Action.OpenUrlDialog**. */ - readonly type = "Action.OpenUrlDialog"; + readonly type = 'Action.OpenUrlDialog'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1379,11 +1379,11 @@ export class OpenUrlDialogAction implements IOpenUrlDialogAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -1407,11 +1407,11 @@ export class OpenUrlDialogAction implements IOpenUrlDialogAction { /** * The height of the dialog. To define height as a number of pixels, use the px format. */ - dialogHeight?: "small" | "medium" | "large" | string; + dialogHeight?: 'small' | 'medium' | 'large' | string; /** * The width of the dialog. To define width as a number of pixels, use the px format. */ - dialogWidth?: "small" | "medium" | "large" | string; + dialogWidth?: 'small' | 'medium' | 'large' | string; /** * The URL to open. */ @@ -1425,7 +1425,7 @@ export class OpenUrlDialogAction implements IOpenUrlDialogAction { Object.assign(this, options); } - static from(options: Omit): OpenUrlDialogAction { + static from(options: Omit): OpenUrlDialogAction { return new OpenUrlDialogAction(options); } @@ -1489,12 +1489,12 @@ export class OpenUrlDialogAction implements IOpenUrlDialogAction { return this; } - withDialogHeight(dialogHeight: "small" | "medium" | "large" | string): this { + withDialogHeight(dialogHeight: 'small' | 'medium' | 'large' | string): this { this.dialogHeight = dialogHeight; return this; } - withDialogWidth(dialogWidth: "small" | "medium" | "large" | string): this { + withDialogWidth(dialogWidth: 'small' | 'medium' | 'large' | string): this { this.dialogWidth = dialogWidth; return this; } @@ -1521,7 +1521,7 @@ export interface IResetInputsAction { /** * Must be **Action.ResetInputs**. */ - readonly type: "Action.ResetInputs"; + readonly type: 'Action.ResetInputs'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1585,10 +1585,10 @@ export interface IResetInputsAction { */ export function isResetInputsAction(value: unknown): value is IResetInputsAction { const obj = value as IResetInputsAction; - return typeof obj === "object" && obj.type === "Action.ResetInputs"; + return typeof obj === 'object' && obj.type === 'Action.ResetInputs'; } -export type ResetInputsActionOptions = Partial>; +export type ResetInputsActionOptions = Partial>; /** * Resets the values of the inputs in the card. @@ -1601,7 +1601,7 @@ export class ResetInputsAction implements IResetInputsAction { /** * Must be **Action.ResetInputs**. */ - readonly type = "Action.ResetInputs"; + readonly type = 'Action.ResetInputs'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1623,11 +1623,11 @@ export class ResetInputsAction implements IResetInputsAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -1657,7 +1657,7 @@ export class ResetInputsAction implements IResetInputsAction { Object.assign(this, options); } - static from(options: Omit): ResetInputsAction { + static from(options: Omit): ResetInputsAction { return new ResetInputsAction(options); } @@ -1738,7 +1738,7 @@ export interface ISubmitAction { /** * Must be **Action.Submit**. */ - readonly type: "Action.Submit"; + readonly type: 'Action.Submit'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1818,10 +1818,10 @@ export interface ISubmitAction { */ export function isSubmitAction(value: unknown): value is ISubmitAction { const obj = value as ISubmitAction; - return typeof obj === "object" && obj.type === "Action.Submit"; + return typeof obj === 'object' && obj.type === 'Action.Submit'; } -export type SubmitActionOptions = Partial>; +export type SubmitActionOptions = Partial>; /** * Gathers input values, merges them with the data property if specified, and sends them to the Bot via an Invoke activity. The Bot can only acknowledge is has received the request. @@ -1834,7 +1834,7 @@ export class SubmitAction implements ISubmitAction { /** * Must be **Action.Submit**. */ - readonly type = "Action.Submit"; + readonly type = 'Action.Submit'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1856,11 +1856,11 @@ export class SubmitAction implements ISubmitAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -1906,7 +1906,7 @@ export class SubmitAction implements ISubmitAction { Object.assign(this, options); } - static from(options: Omit): SubmitAction { + static from(options: Omit): SubmitAction { return new SubmitAction(options); } @@ -2007,7 +2007,7 @@ export interface IToggleVisibilityAction { /** * Must be **Action.ToggleVisibility**. */ - readonly type: "Action.ToggleVisibility"; + readonly type: 'Action.ToggleVisibility'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2071,10 +2071,10 @@ export interface IToggleVisibilityAction { */ export function isToggleVisibilityAction(value: unknown): value is IToggleVisibilityAction { const obj = value as IToggleVisibilityAction; - return typeof obj === "object" && obj.type === "Action.ToggleVisibility"; + return typeof obj === 'object' && obj.type === 'Action.ToggleVisibility'; } -export type ToggleVisibilityActionOptions = Partial>; +export type ToggleVisibilityActionOptions = Partial>; /** * Toggles the visibility of a set of elements. Action.ToggleVisibility is useful for creating "Show more" type UI patterns. @@ -2087,7 +2087,7 @@ export class ToggleVisibilityAction implements IToggleVisibilityAction { /** * Must be **Action.ToggleVisibility**. */ - readonly type = "Action.ToggleVisibility"; + readonly type = 'Action.ToggleVisibility'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2109,11 +2109,11 @@ export class ToggleVisibilityAction implements IToggleVisibilityAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -2143,7 +2143,7 @@ export class ToggleVisibilityAction implements IToggleVisibilityAction { Object.assign(this, options); } - static from(options: Omit): ToggleVisibilityAction { + static from(options: Omit): ToggleVisibilityAction { return new ToggleVisibilityAction(options); } @@ -2245,7 +2245,7 @@ export class ThemedUrl implements IThemedUrl { /** * The theme this URL applies to. */ - theme?: ThemeName = "Light"; + theme?: ThemeName = 'Light'; /** * The URL to use for the associated theme. */ @@ -2335,7 +2335,7 @@ export interface IShowCardAction { /** * Must be **Action.ShowCard**. */ - readonly type: "Action.ShowCard"; + readonly type: 'Action.ShowCard'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2399,10 +2399,10 @@ export interface IShowCardAction { */ export function isShowCardAction(value: unknown): value is IShowCardAction { const obj = value as IShowCardAction; - return typeof obj === "object" && obj.type === "Action.ShowCard"; + return typeof obj === 'object' && obj.type === 'Action.ShowCard'; } -export type ShowCardActionOptions = Partial>; +export type ShowCardActionOptions = Partial>; /** * Expands or collapses an embedded card within the main card. @@ -2415,7 +2415,7 @@ export class ShowCardAction implements IShowCardAction { /** * Must be **Action.ShowCard**. */ - readonly type = "Action.ShowCard"; + readonly type = 'Action.ShowCard'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2437,11 +2437,11 @@ export class ShowCardAction implements IShowCardAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -2471,7 +2471,7 @@ export class ShowCardAction implements IShowCardAction { Object.assign(this, options); } - static from(options: Omit): ShowCardAction { + static from(options: Omit): ShowCardAction { return new ShowCardAction(options); } @@ -2552,7 +2552,7 @@ export interface IPopoverAction { /** * Must be **Action.Popover**. */ - readonly type: "Action.Popover"; + readonly type: 'Action.Popover'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2624,10 +2624,10 @@ export interface IPopoverAction { */ export function isPopoverAction(value: unknown): value is IPopoverAction { const obj = value as IPopoverAction; - return typeof obj === "object" && obj.type === "Action.Popover"; + return typeof obj === 'object' && obj.type === 'Action.Popover'; } -export type PopoverActionOptions = Partial>; +export type PopoverActionOptions = Partial>; /** * Shows a popover to display more information to the user. @@ -2640,7 +2640,7 @@ export class PopoverAction implements IPopoverAction { /** * Must be **Action.Popover**. */ - readonly type = "Action.Popover"; + readonly type = 'Action.Popover'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2662,11 +2662,11 @@ export class PopoverAction implements IPopoverAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -2690,7 +2690,7 @@ export class PopoverAction implements IPopoverAction { /** * Controls where the popover should be displayed with regards to the element that triggered it. */ - position?: PopoverPosition = "Above"; + position?: PopoverPosition = 'Above'; /** * The maximum width of the popover in pixels, in the `px` format */ @@ -2704,7 +2704,7 @@ export class PopoverAction implements IPopoverAction { Object.assign(this, options); } - static from(options: Omit): PopoverAction { + static from(options: Omit): PopoverAction { return new PopoverAction(options); } @@ -2795,7 +2795,7 @@ export interface IActionSet { /** * Must be **ActionSet**. */ - readonly type: "ActionSet"; + readonly type: 'ActionSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2839,7 +2839,7 @@ export interface IActionSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -2861,10 +2861,10 @@ export interface IActionSet { */ export function isActionSet(value: unknown): value is IActionSet { const obj = value as IActionSet; - return typeof obj === "object" && obj.type === "ActionSet"; + return typeof obj === 'object' && obj.type === 'ActionSet'; } -export type ActionSetOptions = Partial>; +export type ActionSetOptions = Partial>; /** * Displays a set of action, which can be placed anywhere in the card. @@ -2877,7 +2877,7 @@ export class ActionSet implements IActionSet { /** * Must be **ActionSet**. */ - readonly type = "ActionSet"; + readonly type = 'ActionSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2901,7 +2901,7 @@ export class ActionSet implements IActionSet { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -2909,7 +2909,7 @@ export class ActionSet implements IActionSet { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -2921,7 +2921,7 @@ export class ActionSet implements IActionSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -3017,7 +3017,7 @@ export interface IContainer { /** * Must be **Container**. */ - readonly type: "Container"; + readonly type: 'Container'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -3105,7 +3105,7 @@ export interface IContainer { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -3127,10 +3127,10 @@ export interface IContainer { */ export function isContainer(value: unknown): value is IContainer { const obj = value as IContainer; - return typeof obj === "object" && obj.type === "Container"; + return typeof obj === 'object' && obj.type === 'Container'; } -export type ContainerOptions = Partial>; +export type ContainerOptions = Partial>; /** * A container for other elements. Use containers for styling purposes and/or to logically group a set of elements together, which can be especially useful when used with Action.ToggleVisibility. @@ -3143,7 +3143,7 @@ export class Container implements IContainer { /** * Must be **Container**. */ - readonly type = "Container"; + readonly type = 'Container'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -3167,7 +3167,7 @@ export class Container implements IContainer { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -3175,7 +3175,7 @@ export class Container implements IContainer { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -3231,7 +3231,7 @@ export class Container implements IContainer { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -3382,7 +3382,7 @@ export interface IStackLayout { /** * Must be **Layout.Stack**. */ - readonly type: "Layout.Stack"; + readonly type: 'Layout.Stack'; /** * Controls for which card width the layout should be used. */ @@ -3400,10 +3400,10 @@ export interface IStackLayout { */ export function isStackLayout(value: unknown): value is IStackLayout { const obj = value as IStackLayout; - return typeof obj === "object" && obj.type === "Layout.Stack"; + return typeof obj === 'object' && obj.type === 'Layout.Stack'; } -export type StackLayoutOptions = Partial>; +export type StackLayoutOptions = Partial>; /** * A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers. @@ -3416,7 +3416,7 @@ export class StackLayout implements IStackLayout { /** * Must be **Layout.Stack**. */ - readonly type = "Layout.Stack"; + readonly type = 'Layout.Stack'; /** * Controls for which card width the layout should be used. */ @@ -3426,7 +3426,7 @@ export class StackLayout implements IStackLayout { Object.assign(this, options); } - static from(options: Omit): StackLayout { + static from(options: Omit): StackLayout { return new StackLayout(options); } @@ -3452,7 +3452,7 @@ export interface IFlowLayout { /** * Must be **Layout.Flow**. */ - readonly type: "Layout.Flow"; + readonly type: 'Layout.Flow'; /** * Controls for which card width the layout should be used. */ @@ -3502,10 +3502,10 @@ export interface IFlowLayout { */ export function isFlowLayout(value: unknown): value is IFlowLayout { const obj = value as IFlowLayout; - return typeof obj === "object" && obj.type === "Layout.Flow"; + return typeof obj === 'object' && obj.type === 'Layout.Flow'; } -export type FlowLayoutOptions = Partial>; +export type FlowLayoutOptions = Partial>; /** * A layout that spreads elements horizontally and wraps them across multiple rows, as needed. @@ -3518,7 +3518,7 @@ export class FlowLayout implements IFlowLayout { /** * Must be **Layout.Flow**. */ - readonly type = "Layout.Flow"; + readonly type = 'Layout.Flow'; /** * Controls for which card width the layout should be used. */ @@ -3526,15 +3526,15 @@ export class FlowLayout implements IFlowLayout { /** * Controls how the content of the container should be horizontally aligned. */ - horizontalItemsAlignment?: HorizontalAlignment = "Center"; + horizontalItemsAlignment?: HorizontalAlignment = 'Center'; /** * Controls how the content of the container should be vertically aligned. */ - verticalItemsAlignment?: VerticalAlignment = "Top"; + verticalItemsAlignment?: VerticalAlignment = 'Top'; /** * Controls how item should fit inside the container. */ - itemFit?: FlowLayoutItemFit = "Fit"; + itemFit?: FlowLayoutItemFit = 'Fit'; /** * The minimum width, in pixels, of each item, in the `px` format. Should not be used if itemWidth is set. */ @@ -3550,17 +3550,17 @@ export class FlowLayout implements IFlowLayout { /** * The space between items. */ - columnSpacing?: Spacing = "Default"; + columnSpacing?: Spacing = 'Default'; /** * The space between rows of items. */ - rowSpacing?: Spacing = "Default"; + rowSpacing?: Spacing = 'Default'; constructor(options: FlowLayoutOptions = {}) { Object.assign(this, options); } - static from(options: Omit): FlowLayout { + static from(options: Omit): FlowLayout { return new FlowLayout(options); } @@ -3626,7 +3626,7 @@ export interface IAreaGridLayout { /** * Must be **Layout.AreaGrid**. */ - readonly type: "Layout.AreaGrid"; + readonly type: 'Layout.AreaGrid'; /** * Controls for which card width the layout should be used. */ @@ -3660,10 +3660,10 @@ export interface IAreaGridLayout { */ export function isAreaGridLayout(value: unknown): value is IAreaGridLayout { const obj = value as IAreaGridLayout; - return typeof obj === "object" && obj.type === "Layout.AreaGrid"; + return typeof obj === 'object' && obj.type === 'Layout.AreaGrid'; } -export type AreaGridLayoutOptions = Partial>; +export type AreaGridLayoutOptions = Partial>; /** * A layout that divides a container into named areas into which elements can be placed. @@ -3676,7 +3676,7 @@ export class AreaGridLayout implements IAreaGridLayout { /** * Must be **Layout.AreaGrid**. */ - readonly type = "Layout.AreaGrid"; + readonly type = 'Layout.AreaGrid'; /** * Controls for which card width the layout should be used. */ @@ -3692,17 +3692,17 @@ export class AreaGridLayout implements IAreaGridLayout { /** * The space between columns. */ - columnSpacing?: Spacing = "Default"; + columnSpacing?: Spacing = 'Default'; /** * The space between rows. */ - rowSpacing?: Spacing = "Default"; + rowSpacing?: Spacing = 'Default'; constructor(options: AreaGridLayoutOptions = {}) { Object.assign(this, options); } - static from(options: Omit): AreaGridLayout { + static from(options: Omit): AreaGridLayout { return new AreaGridLayout(options); } @@ -3886,15 +3886,15 @@ export class BackgroundImage implements IBackgroundImage { /** * Controls how the image should fill the area. */ - fillMode?: FillMode = "Cover"; + fillMode?: FillMode = 'Cover'; /** * Controls how the image should be aligned if it must be cropped or if using repeat fill mode. */ - horizontalAlignment?: HorizontalAlignment = "Left"; + horizontalAlignment?: HorizontalAlignment = 'Left'; /** * Controls how the image should be aligned if it must be cropped or if using repeat fill mode. */ - verticalAlignment?: VerticalAlignment = "Top"; + verticalAlignment?: VerticalAlignment = 'Top'; /** * A set of theme-specific image URLs. */ @@ -3950,7 +3950,7 @@ export interface IColumnSet { /** * Must be **ColumnSet**. */ - readonly type: "ColumnSet"; + readonly type: 'ColumnSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4018,11 +4018,11 @@ export interface IColumnSet { /** * The minimum width of the column set. `auto` will automatically adjust the column set's minimum width according to its content and using the `px` format will give the column set an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. */ - minWidth?: "auto" | string; + minWidth?: 'auto' | string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4044,10 +4044,10 @@ export interface IColumnSet { */ export function isColumnSet(value: unknown): value is IColumnSet { const obj = value as IColumnSet; - return typeof obj === "object" && obj.type === "ColumnSet"; + return typeof obj === 'object' && obj.type === 'ColumnSet'; } -export type ColumnSetOptions = Partial>; +export type ColumnSetOptions = Partial>; /** * Splits the available horizontal space into separate columns, so elements can be organized in a row. @@ -4060,7 +4060,7 @@ export class ColumnSet implements IColumnSet { /** * Must be **ColumnSet**. */ - readonly type = "ColumnSet"; + readonly type = 'ColumnSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4084,7 +4084,7 @@ export class ColumnSet implements IColumnSet { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -4092,7 +4092,7 @@ export class ColumnSet implements IColumnSet { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -4128,11 +4128,11 @@ export class ColumnSet implements IColumnSet { /** * The minimum width of the column set. `auto` will automatically adjust the column set's minimum width according to its content and using the `px` format will give the column set an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. */ - minWidth?: "auto" | string; + minWidth?: 'auto' | string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4146,7 +4146,7 @@ export class ColumnSet implements IColumnSet { Object.assign(this, options); } - static from(options: Omit): ColumnSet { + static from(options: Omit): ColumnSet { return new ColumnSet(options); } @@ -4235,7 +4235,7 @@ export class ColumnSet implements IColumnSet { return this; } - withMinWidth(minWidth: "auto" | string): this { + withMinWidth(minWidth: 'auto' | string): this { this.minWidth = minWidth; return this; } @@ -4262,7 +4262,7 @@ export interface IMedia { /** * Must be **Media**. */ - readonly type: "Media"; + readonly type: 'Media'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4318,7 +4318,7 @@ export interface IMedia { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4336,10 +4336,10 @@ export interface IMedia { */ export function isMedia(value: unknown): value is IMedia { const obj = value as IMedia; - return typeof obj === "object" && obj.type === "Media"; + return typeof obj === 'object' && obj.type === 'Media'; } -export type MediaOptions = Partial>; +export type MediaOptions = Partial>; /** * A media element, that makes it possible to embed videos inside a card. @@ -4352,7 +4352,7 @@ export class Media implements IMedia { /** * Must be **Media**. */ - readonly type = "Media"; + readonly type = 'Media'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4376,11 +4376,11 @@ export class Media implements IMedia { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -4408,7 +4408,7 @@ export class Media implements IMedia { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4418,7 +4418,7 @@ export class Media implements IMedia { Object.assign(this, options); } - static from(options: Omit): Media { + static from(options: Omit): Media { return new Media(options); } @@ -4646,7 +4646,7 @@ export interface IRichTextBlock { /** * Must be **RichTextBlock**. */ - readonly type: "RichTextBlock"; + readonly type: 'RichTextBlock'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4694,7 +4694,7 @@ export interface IRichTextBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4716,10 +4716,10 @@ export interface IRichTextBlock { */ export function isRichTextBlock(value: unknown): value is IRichTextBlock { const obj = value as IRichTextBlock; - return typeof obj === "object" && obj.type === "RichTextBlock"; + return typeof obj === 'object' && obj.type === 'RichTextBlock'; } -export type RichTextBlockOptions = Partial>; +export type RichTextBlockOptions = Partial>; /** * A rich text block that displays formatted text. @@ -4732,7 +4732,7 @@ export class RichTextBlock implements IRichTextBlock { /** * Must be **RichTextBlock**. */ - readonly type = "RichTextBlock"; + readonly type = 'RichTextBlock'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4756,7 +4756,7 @@ export class RichTextBlock implements IRichTextBlock { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -4764,7 +4764,7 @@ export class RichTextBlock implements IRichTextBlock { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -4780,7 +4780,7 @@ export class RichTextBlock implements IRichTextBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4794,7 +4794,7 @@ export class RichTextBlock implements IRichTextBlock { Object.assign(this, options); } - static from(options: Omit): RichTextBlock { + static from(options: Omit): RichTextBlock { return new RichTextBlock(options); } @@ -4880,7 +4880,7 @@ export interface ITable { /** * Must be **Table**. */ - readonly type: "Table"; + readonly type: 'Table'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4940,7 +4940,7 @@ export interface ITable { /** * The minimum width of the table in pixels. `auto` will automatically adjust the table's minimum width according to its content and using the `px` format will give the table an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. */ - minWidth?: "auto" | string; + minWidth?: 'auto' | string; /** * Controls whether the first row of the table should be treated as a header. */ @@ -4964,7 +4964,7 @@ export interface ITable { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4986,10 +4986,10 @@ export interface ITable { */ export function isTable(value: unknown): value is ITable { const obj = value as ITable; - return typeof obj === "object" && obj.type === "Table"; + return typeof obj === 'object' && obj.type === 'Table'; } -export type TableOptions = Partial>; +export type TableOptions = Partial>; /** * Use tables to display data in a tabular way, with rows, columns and cells. @@ -5002,7 +5002,7 @@ export class Table implements ITable { /** * Must be **Table**. */ - readonly type = "Table"; + readonly type = 'Table'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5026,7 +5026,7 @@ export class Table implements ITable { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -5034,7 +5034,7 @@ export class Table implements ITable { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -5062,7 +5062,7 @@ export class Table implements ITable { /** * The minimum width of the table in pixels. `auto` will automatically adjust the table's minimum width according to its content and using the `px` format will give the table an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. */ - minWidth?: "auto" | string; + minWidth?: 'auto' | string; /** * Controls whether the first row of the table should be treated as a header. */ @@ -5086,7 +5086,7 @@ export class Table implements ITable { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5100,7 +5100,7 @@ export class Table implements ITable { Object.assign(this, options); } - static from(options: Omit): Table { + static from(options: Omit): Table { return new Table(options); } @@ -5179,7 +5179,7 @@ export class Table implements ITable { return this; } - withMinWidth(minWidth: "auto" | string): this { + withMinWidth(minWidth: 'auto' | string): this { this.minWidth = minWidth; return this; } @@ -5239,7 +5239,7 @@ export interface IColumnDefinition { /** * The width of the column in the table. If expressed as a number, represents the relative weight of the column in the table. If expressed as a string, `auto` will automatically adjust the column's width according to its content and using the `px` format will give the column an explicit width in pixels. */ - width?: "auto" | string | number; + width?: 'auto' | string | number; } @@ -5264,7 +5264,7 @@ export class ColumnDefinition implements IColumnDefinition { /** * The width of the column in the table. If expressed as a number, represents the relative weight of the column in the table. If expressed as a string, `auto` will automatically adjust the column's width according to its content and using the `px` format will give the column an explicit width in pixels. */ - width?: "auto" | string | number; + width?: 'auto' | string | number; constructor(options: ColumnDefinitionOptions = {}) { Object.assign(this, options); @@ -5289,7 +5289,7 @@ export class ColumnDefinition implements IColumnDefinition { return this; } - withWidth(width: "auto" | string | number): this { + withWidth(width: 'auto' | string | number): this { this.width = width; return this; } @@ -5306,7 +5306,7 @@ export interface ITextBlock { /** * Must be **TextBlock**. */ - readonly type: "TextBlock"; + readonly type: 'TextBlock'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5390,7 +5390,7 @@ export interface ITextBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5408,10 +5408,10 @@ export interface ITextBlock { */ export function isTextBlock(value: unknown): value is ITextBlock { const obj = value as ITextBlock; - return typeof obj === "object" && obj.type === "TextBlock"; + return typeof obj === 'object' && obj.type === 'TextBlock'; } -export type TextBlockOptions = Partial>; +export type TextBlockOptions = Partial>; /** * A block of text, optionally formatted using Markdown. @@ -5424,7 +5424,7 @@ export class TextBlock implements ITextBlock { /** * Must be **TextBlock**. */ - readonly type = "TextBlock"; + readonly type = 'TextBlock'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5448,7 +5448,7 @@ export class TextBlock implements ITextBlock { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -5456,7 +5456,7 @@ export class TextBlock implements ITextBlock { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -5508,7 +5508,7 @@ export class TextBlock implements ITextBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5519,7 +5519,7 @@ export class TextBlock implements ITextBlock { this.text = text; } - static from(options: Omit): TextBlock { + static from(options: Omit): TextBlock { return new TextBlock(options.text, options); } @@ -5645,7 +5645,7 @@ export interface IFactSet { /** * Must be **FactSet**. */ - readonly type: "FactSet"; + readonly type: 'FactSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5689,7 +5689,7 @@ export interface IFactSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5707,10 +5707,10 @@ export interface IFactSet { */ export function isFactSet(value: unknown): value is IFactSet { const obj = value as IFactSet; - return typeof obj === "object" && obj.type === "FactSet"; + return typeof obj === 'object' && obj.type === 'FactSet'; } -export type FactSetOptions = Partial>; +export type FactSetOptions = Partial>; /** * A set of facts, displayed as a table or a vertical list when horizontal space is constrained. @@ -5723,7 +5723,7 @@ export class FactSet implements IFactSet { /** * Must be **FactSet**. */ - readonly type = "FactSet"; + readonly type = 'FactSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5747,11 +5747,11 @@ export class FactSet implements IFactSet { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -5767,7 +5767,7 @@ export class FactSet implements IFactSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5918,7 +5918,7 @@ export interface IImageSet { /** * Must be **ImageSet**. */ - readonly type: "ImageSet"; + readonly type: 'ImageSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5970,7 +5970,7 @@ export interface IImageSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5988,10 +5988,10 @@ export interface IImageSet { */ export function isImageSet(value: unknown): value is IImageSet { const obj = value as IImageSet; - return typeof obj === "object" && obj.type === "ImageSet"; + return typeof obj === 'object' && obj.type === 'ImageSet'; } -export type ImageSetOptions = Partial>; +export type ImageSetOptions = Partial>; /** * A set of images, displayed side-by-side and wrapped across multiple rows as needed. @@ -6004,7 +6004,7 @@ export class ImageSet implements IImageSet { /** * Must be **ImageSet**. */ - readonly type = "ImageSet"; + readonly type = 'ImageSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6028,7 +6028,7 @@ export class ImageSet implements IImageSet { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -6036,7 +6036,7 @@ export class ImageSet implements IImageSet { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -6052,11 +6052,11 @@ export class ImageSet implements IImageSet { /** * The size to use to render all images in the set. */ - imageSize?: ImageSize = "Medium"; + imageSize?: ImageSize = 'Medium'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6153,7 +6153,7 @@ export interface IImage { /** * Must be **Image**. */ - readonly type: "Image"; + readonly type: 'Image'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6213,7 +6213,7 @@ export interface IImage { /** * The width of the image. */ - width?: "auto" | "stretch" | string; + width?: 'auto' | 'stretch' | string; /** * An Action that will be invoked when the image is tapped or clicked. Action.ShowCard is not supported. */ @@ -6249,11 +6249,11 @@ export interface IImage { /** * The height of the image. */ - height?: "auto" | "stretch" | string; + height?: 'auto' | 'stretch' | string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6271,10 +6271,10 @@ export interface IImage { */ export function isImage(value: unknown): value is IImage { const obj = value as IImage; - return typeof obj === "object" && obj.type === "Image"; + return typeof obj === 'object' && obj.type === 'Image'; } -export type ImageOptions = Partial>; +export type ImageOptions = Partial>; /** * A standalone image element. @@ -6287,7 +6287,7 @@ export class Image implements IImage { /** * Must be **Image**. */ - readonly type = "Image"; + readonly type = 'Image'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6315,7 +6315,7 @@ export class Image implements IImage { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -6339,15 +6339,15 @@ export class Image implements IImage { /** * The style of the image. */ - style?: ImageStyle = "Default"; + style?: ImageStyle = 'Default'; /** * The size of the image. */ - size?: Size = "Auto"; + size?: Size = 'Auto'; /** * The width of the image. */ - width?: "auto" | "stretch" | string = "auto"; + width?: 'auto' | 'stretch' | string = 'auto'; /** * An Action that will be invoked when the image is tapped or clicked. Action.ShowCard is not supported. */ @@ -6371,23 +6371,23 @@ export class Image implements IImage { /** * Controls how the image should be fitted inside its bounding box. imageFit is only meaningful when both the width and height properties are set. When fitMode is set to contain, the default style is always used. */ - fitMode?: ImageFitMode = "Fill"; + fitMode?: ImageFitMode = 'Fill'; /** * Controls the horizontal position of the image within its bounding box. horizontalContentAlignment is only meaningful when both the width and height properties are set and fitMode is set to either cover or contain. */ - horizontalContentAlignment?: HorizontalAlignment = "Left"; + horizontalContentAlignment?: HorizontalAlignment = 'Left'; /** * Controls the vertical position of the image within its bounding box. verticalContentAlignment is only meaningful when both the width and height properties are set and fitMode is set to either cover or contain. */ - verticalContentAlignment?: VerticalAlignment = "Top"; + verticalContentAlignment?: VerticalAlignment = 'Top'; /** * The height of the image. */ - height?: "auto" | "stretch" | string = "auto"; + height?: 'auto' | 'stretch' | string = 'auto'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6398,7 +6398,7 @@ export class Image implements IImage { this.url = url; } - static from(options: Omit): Image { + static from(options: Omit): Image { return new Image(options.url, options); } @@ -6477,7 +6477,7 @@ export class Image implements IImage { return this; } - withWidth(width: "auto" | "stretch" | string): this { + withWidth(width: 'auto' | 'stretch' | string): this { this.width = width; return this; } @@ -6522,7 +6522,7 @@ export class Image implements IImage { return this; } - withHeight(height: "auto" | "stretch" | string): this { + withHeight(height: 'auto' | 'stretch' | string): this { this.height = height; return this; } @@ -6593,7 +6593,7 @@ export interface ITextInput { /** * Must be **Input.Text**. */ - readonly type: "Input.Text"; + readonly type: 'Input.Text'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6679,7 +6679,7 @@ export interface ITextInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6697,10 +6697,10 @@ export interface ITextInput { */ export function isTextInput(value: unknown): value is ITextInput { const obj = value as ITextInput; - return typeof obj === "object" && obj.type === "Input.Text"; + return typeof obj === 'object' && obj.type === 'Input.Text'; } -export type TextInputOptions = Partial>; +export type TextInputOptions = Partial>; /** * An input to allow the user to enter text. @@ -6713,7 +6713,7 @@ export class TextInput implements ITextInput { /** * Must be **Input.Text**. */ - readonly type = "Input.Text"; + readonly type = 'Input.Text'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6737,11 +6737,11 @@ export class TextInput implements ITextInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -6787,7 +6787,7 @@ export class TextInput implements ITextInput { /** * The style of the input. */ - style?: InputTextStyle = "Text"; + style?: InputTextStyle = 'Text'; /** * The action that should be displayed as a button alongside the input. Action.ShowCard is not supported. */ @@ -6799,7 +6799,7 @@ export class TextInput implements ITextInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6809,7 +6809,7 @@ export class TextInput implements ITextInput { Object.assign(this, options); } - static from(options: Omit): TextInput { + static from(options: Omit): TextInput { return new TextInput(options); } @@ -6935,7 +6935,7 @@ export interface IDateInput { /** * Must be **Input.Date**. */ - readonly type: "Input.Date"; + readonly type: 'Input.Date'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7009,7 +7009,7 @@ export interface IDateInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7027,10 +7027,10 @@ export interface IDateInput { */ export function isDateInput(value: unknown): value is IDateInput { const obj = value as IDateInput; - return typeof obj === "object" && obj.type === "Input.Date"; + return typeof obj === 'object' && obj.type === 'Input.Date'; } -export type DateInputOptions = Partial>; +export type DateInputOptions = Partial>; /** * An input to allow the user to select a date. @@ -7043,7 +7043,7 @@ export class DateInput implements IDateInput { /** * Must be **Input.Date**. */ - readonly type = "Input.Date"; + readonly type = 'Input.Date'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7067,11 +7067,11 @@ export class DateInput implements IDateInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -7117,7 +7117,7 @@ export class DateInput implements IDateInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7127,7 +7127,7 @@ export class DateInput implements IDateInput { Object.assign(this, options); } - static from(options: Omit): DateInput { + static from(options: Omit): DateInput { return new DateInput(options); } @@ -7238,7 +7238,7 @@ export interface ITimeInput { /** * Must be **Input.Time**. */ - readonly type: "Input.Time"; + readonly type: 'Input.Time'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7312,7 +7312,7 @@ export interface ITimeInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7330,10 +7330,10 @@ export interface ITimeInput { */ export function isTimeInput(value: unknown): value is ITimeInput { const obj = value as ITimeInput; - return typeof obj === "object" && obj.type === "Input.Time"; + return typeof obj === 'object' && obj.type === 'Input.Time'; } -export type TimeInputOptions = Partial>; +export type TimeInputOptions = Partial>; /** * An input to allow the user to select a time. @@ -7346,7 +7346,7 @@ export class TimeInput implements ITimeInput { /** * Must be **Input.Time**. */ - readonly type = "Input.Time"; + readonly type = 'Input.Time'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7370,11 +7370,11 @@ export class TimeInput implements ITimeInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -7420,7 +7420,7 @@ export class TimeInput implements ITimeInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7430,7 +7430,7 @@ export class TimeInput implements ITimeInput { Object.assign(this, options); } - static from(options: Omit): TimeInput { + static from(options: Omit): TimeInput { return new TimeInput(options); } @@ -7541,7 +7541,7 @@ export interface INumberInput { /** * Must be **Input.Number**. */ - readonly type: "Input.Number"; + readonly type: 'Input.Number'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7615,7 +7615,7 @@ export interface INumberInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7633,10 +7633,10 @@ export interface INumberInput { */ export function isNumberInput(value: unknown): value is INumberInput { const obj = value as INumberInput; - return typeof obj === "object" && obj.type === "Input.Number"; + return typeof obj === 'object' && obj.type === 'Input.Number'; } -export type NumberInputOptions = Partial>; +export type NumberInputOptions = Partial>; /** * An input to allow the user to enter a number. @@ -7649,7 +7649,7 @@ export class NumberInput implements INumberInput { /** * Must be **Input.Number**. */ - readonly type = "Input.Number"; + readonly type = 'Input.Number'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7673,11 +7673,11 @@ export class NumberInput implements INumberInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -7723,7 +7723,7 @@ export class NumberInput implements INumberInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7733,7 +7733,7 @@ export class NumberInput implements INumberInput { Object.assign(this, options); } - static from(options: Omit): NumberInput { + static from(options: Omit): NumberInput { return new NumberInput(options); } @@ -7844,7 +7844,7 @@ export interface IToggleInput { /** * Must be **Input.Toggle**. */ - readonly type: "Input.Toggle"; + readonly type: 'Input.Toggle'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7926,7 +7926,7 @@ export interface IToggleInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7944,10 +7944,10 @@ export interface IToggleInput { */ export function isToggleInput(value: unknown): value is IToggleInput { const obj = value as IToggleInput; - return typeof obj === "object" && obj.type === "Input.Toggle"; + return typeof obj === 'object' && obj.type === 'Input.Toggle'; } -export type ToggleInputOptions = Partial>; +export type ToggleInputOptions = Partial>; /** * An input to allow the user to select between on/off states. @@ -7960,7 +7960,7 @@ export class ToggleInput implements IToggleInput { /** * Must be **Input.Toggle**. */ - readonly type = "Input.Toggle"; + readonly type = 'Input.Toggle'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7984,11 +7984,11 @@ export class ToggleInput implements IToggleInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -8018,7 +8018,7 @@ export class ToggleInput implements IToggleInput { /** * The default value of the input. */ - value?: string = "false"; + value?: string = 'false'; /** * The title (caption) to display next to the toggle. */ @@ -8026,11 +8026,11 @@ export class ToggleInput implements IToggleInput { /** * The value to send to the Bot when the toggle is on. */ - valueOn?: string = "true"; + valueOn?: string = 'true'; /** * The value to send to the Bot when the toggle is off. */ - valueOff?: string = "false"; + valueOff?: string = 'false'; /** * Controls if the title should wrap. */ @@ -8042,7 +8042,7 @@ export class ToggleInput implements IToggleInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8053,7 +8053,7 @@ export class ToggleInput implements IToggleInput { this.title = title; } - static from(options: Omit): ToggleInput { + static from(options: Omit): ToggleInput { return new ToggleInput(options.title, options); } @@ -8174,7 +8174,7 @@ export interface IChoiceSetInput { /** * Must be **Input.ChoiceSet**. */ - readonly type: "Input.ChoiceSet"; + readonly type: 'Input.ChoiceSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8240,7 +8240,7 @@ export interface IChoiceSetInput { /** * A Data.Query object that defines the dataset from which to dynamically fetch the choices for the input. */ - "choices.data"?: IQueryData; + 'choices.data'?: IQueryData; /** * Controls whether the input should be displayed as a dropdown (compact) or a list of radio buttons or checkboxes (expanded). */ @@ -8268,7 +8268,7 @@ export interface IChoiceSetInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8286,10 +8286,10 @@ export interface IChoiceSetInput { */ export function isChoiceSetInput(value: unknown): value is IChoiceSetInput { const obj = value as IChoiceSetInput; - return typeof obj === "object" && obj.type === "Input.ChoiceSet"; + return typeof obj === 'object' && obj.type === 'Input.ChoiceSet'; } -export type ChoiceSetInputOptions = Partial>; +export type ChoiceSetInputOptions = Partial>; /** * An input to allow the user to select one or more values. @@ -8302,7 +8302,7 @@ export class ChoiceSetInput implements IChoiceSetInput { /** * Must be **Input.ChoiceSet**. */ - readonly type = "Input.ChoiceSet"; + readonly type = 'Input.ChoiceSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8326,11 +8326,11 @@ export class ChoiceSetInput implements IChoiceSetInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -8368,11 +8368,11 @@ export class ChoiceSetInput implements IChoiceSetInput { /** * A Data.Query object that defines the dataset from which to dynamically fetch the choices for the input. */ - "choices.data"?: IQueryData; + 'choices.data'?: IQueryData; /** * Controls whether the input should be displayed as a dropdown (compact) or a list of radio buttons or checkboxes (expanded). */ - style?: ChoiceSetInputStyle = "compact"; + style?: ChoiceSetInputStyle = 'compact'; /** * Controls whether multiple choices can be selected. */ @@ -8396,7 +8396,7 @@ export class ChoiceSetInput implements IChoiceSetInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8600,7 +8600,7 @@ export interface IQueryData { /** * Must be **Data.Query**. */ - readonly type: "Data.Query"; + readonly type: 'Data.Query'; /** * The dataset from which to fetch the data. */ @@ -8630,10 +8630,10 @@ export interface IQueryData { */ export function isQueryData(value: unknown): value is IQueryData { const obj = value as IQueryData; - return typeof obj === "object" && obj.type === "Data.Query"; + return typeof obj === 'object' && obj.type === 'Data.Query'; } -export type QueryDataOptions = Partial>; +export type QueryDataOptions = Partial>; /** * Defines a query to dynamically fetch data from a Bot. @@ -8646,7 +8646,7 @@ export class QueryData implements IQueryData { /** * Must be **Data.Query**. */ - readonly type = "Data.Query"; + readonly type = 'Data.Query'; /** * The dataset from which to fetch the data. */ @@ -8668,7 +8668,7 @@ export class QueryData implements IQueryData { Object.assign(this, options); } - static from(options: Omit): QueryData { + static from(options: Omit): QueryData { return new QueryData(options); } @@ -8709,7 +8709,7 @@ export interface IRatingInput { /** * Must be **Input.Rating**. */ - readonly type: "Input.Rating"; + readonly type: 'Input.Rating'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8787,7 +8787,7 @@ export interface IRatingInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8805,10 +8805,10 @@ export interface IRatingInput { */ export function isRatingInput(value: unknown): value is IRatingInput { const obj = value as IRatingInput; - return typeof obj === "object" && obj.type === "Input.Rating"; + return typeof obj === 'object' && obj.type === 'Input.Rating'; } -export type RatingInputOptions = Partial>; +export type RatingInputOptions = Partial>; /** * An input to allow the user to rate something using stars. @@ -8821,7 +8821,7 @@ export class RatingInput implements IRatingInput { /** * Must be **Input.Rating**. */ - readonly type = "Input.Rating"; + readonly type = 'Input.Rating'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8845,11 +8845,11 @@ export class RatingInput implements IRatingInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -8891,15 +8891,15 @@ export class RatingInput implements IRatingInput { /** * The size of the stars. */ - size?: RatingSize = "Large"; + size?: RatingSize = 'Large'; /** * The color of the stars. */ - color?: RatingColor = "Neutral"; + color?: RatingColor = 'Neutral'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8909,7 +8909,7 @@ export class RatingInput implements IRatingInput { Object.assign(this, options); } - static from(options: Omit): RatingInput { + static from(options: Omit): RatingInput { return new RatingInput(options); } @@ -9025,7 +9025,7 @@ export interface IRating { /** * Must be **Rating**. */ - readonly type: "Rating"; + readonly type: 'Rating'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9093,7 +9093,7 @@ export interface IRating { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9111,10 +9111,10 @@ export interface IRating { */ export function isRating(value: unknown): value is IRating { const obj = value as IRating; - return typeof obj === "object" && obj.type === "Rating"; + return typeof obj === 'object' && obj.type === 'Rating'; } -export type RatingOptions = Partial>; +export type RatingOptions = Partial>; /** * A read-only star rating element, to display the rating of something. @@ -9127,7 +9127,7 @@ export class Rating implements IRating { /** * Must be **Rating**. */ - readonly type = "Rating"; + readonly type = 'Rating'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9151,7 +9151,7 @@ export class Rating implements IRating { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -9159,7 +9159,7 @@ export class Rating implements IRating { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -9183,19 +9183,19 @@ export class Rating implements IRating { /** * The size of the stars. */ - size?: RatingSize = "Large"; + size?: RatingSize = 'Large'; /** * The color of the stars. */ - color?: RatingColor = "Neutral"; + color?: RatingColor = 'Neutral'; /** * The style of the stars. */ - style?: RatingStyle = "Default"; + style?: RatingStyle = 'Default'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9205,7 +9205,7 @@ export class Rating implements IRating { Object.assign(this, options); } - static from(options: Omit): Rating { + static from(options: Omit): Rating { return new Rating(options); } @@ -9311,7 +9311,7 @@ export interface ICompoundButton { /** * Must be **CompoundButton**. */ - readonly type: "CompoundButton"; + readonly type: 'CompoundButton'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9375,7 +9375,7 @@ export interface ICompoundButton { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9393,10 +9393,10 @@ export interface ICompoundButton { */ export function isCompoundButton(value: unknown): value is ICompoundButton { const obj = value as ICompoundButton; - return typeof obj === "object" && obj.type === "CompoundButton"; + return typeof obj === 'object' && obj.type === 'CompoundButton'; } -export type CompoundButtonOptions = Partial>; +export type CompoundButtonOptions = Partial>; /** * A special type of button with an icon, title and description. @@ -9409,7 +9409,7 @@ export class CompoundButton implements ICompoundButton { /** * Must be **CompoundButton**. */ - readonly type = "CompoundButton"; + readonly type = 'CompoundButton'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9433,7 +9433,7 @@ export class CompoundButton implements ICompoundButton { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -9441,7 +9441,7 @@ export class CompoundButton implements ICompoundButton { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -9473,7 +9473,7 @@ export class CompoundButton implements ICompoundButton { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9483,7 +9483,7 @@ export class CompoundButton implements ICompoundButton { Object.assign(this, options); } - static from(options: Omit): CompoundButton { + static from(options: Omit): CompoundButton { return new CompoundButton(options); } @@ -9617,15 +9617,15 @@ export class IconInfo implements IIconInfo { /** * The size of the icon. */ - size?: IconSize = "xSmall"; + size?: IconSize = 'xSmall'; /** * The style of the icon. */ - style?: IconStyle = "Regular"; + style?: IconStyle = 'Regular'; /** * The color of the icon. */ - color?: TextColor = "Default"; + color?: TextColor = 'Default'; constructor(options: IconInfoOptions = {}) { Object.assign(this, options); @@ -9672,7 +9672,7 @@ export interface IIcon { /** * Must be **Icon**. */ - readonly type: "Icon"; + readonly type: 'Icon'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9732,7 +9732,7 @@ export interface IIcon { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9750,10 +9750,10 @@ export interface IIcon { */ export function isIcon(value: unknown): value is IIcon { const obj = value as IIcon; - return typeof obj === "object" && obj.type === "Icon"; + return typeof obj === 'object' && obj.type === 'Icon'; } -export type IconOptions = Partial>; +export type IconOptions = Partial>; /** * A standalone icon element. Icons can be picked from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog). @@ -9766,7 +9766,7 @@ export class Icon implements IIcon { /** * Must be **Icon**. */ - readonly type = "Icon"; + readonly type = 'Icon'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9794,7 +9794,7 @@ export class Icon implements IIcon { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -9810,15 +9810,15 @@ export class Icon implements IIcon { /** * The size of the icon. */ - size?: IconSize = "Standard"; + size?: IconSize = 'Standard'; /** * The style of the icon. */ - style?: IconStyle = "Regular"; + style?: IconStyle = 'Regular'; /** * The color of the icon. */ - color?: TextColor = "Default"; + color?: TextColor = 'Default'; /** * An Action that will be invoked when the icon is tapped or clicked. Action.ShowCard is not supported. */ @@ -9826,7 +9826,7 @@ export class Icon implements IIcon { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9837,7 +9837,7 @@ export class Icon implements IIcon { this.name = name; } - static from(options: Omit): Icon { + static from(options: Omit): Icon { return new Icon(options.name, options); } @@ -9933,7 +9933,7 @@ export interface ICarousel { /** * Must be **Carousel**. */ - readonly type: "Carousel"; + readonly type: 'Carousel'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9985,7 +9985,7 @@ export interface ICarousel { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10007,10 +10007,10 @@ export interface ICarousel { */ export function isCarousel(value: unknown): value is ICarousel { const obj = value as ICarousel; - return typeof obj === "object" && obj.type === "Carousel"; + return typeof obj === 'object' && obj.type === 'Carousel'; } -export type CarouselOptions = Partial>; +export type CarouselOptions = Partial>; /** * A carousel with sliding pages. @@ -10023,7 +10023,7 @@ export class Carousel implements ICarousel { /** * Must be **Carousel**. */ - readonly type = "Carousel"; + readonly type = 'Carousel'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10047,11 +10047,11 @@ export class Carousel implements ICarousel { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -10071,11 +10071,11 @@ export class Carousel implements ICarousel { /** * Controls the type of animation to use to navigate between pages. */ - pageAnimation?: CarouselPageAnimation = "Slide"; + pageAnimation?: CarouselPageAnimation = 'Slide'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10089,7 +10089,7 @@ export class Carousel implements ICarousel { Object.assign(this, options); } - static from(options: Omit): Carousel { + static from(options: Omit): Carousel { return new Carousel(options); } @@ -10180,7 +10180,7 @@ export interface IBadge { /** * Must be **Badge**. */ - readonly type: "Badge"; + readonly type: 'Badge'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10256,7 +10256,7 @@ export interface IBadge { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10274,10 +10274,10 @@ export interface IBadge { */ export function isBadge(value: unknown): value is IBadge { const obj = value as IBadge; - return typeof obj === "object" && obj.type === "Badge"; + return typeof obj === 'object' && obj.type === 'Badge'; } -export type BadgeOptions = Partial>; +export type BadgeOptions = Partial>; /** * A badge element to show an icon and/or text in a compact form over a colored background. @@ -10290,7 +10290,7 @@ export class Badge implements IBadge { /** * Must be **Badge**. */ - readonly type = "Badge"; + readonly type = 'Badge'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10314,7 +10314,7 @@ export class Badge implements IBadge { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -10322,7 +10322,7 @@ export class Badge implements IBadge { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -10342,23 +10342,23 @@ export class Badge implements IBadge { /** * Controls the position of the icon. */ - iconPosition?: BadgeIconPosition = "Before"; + iconPosition?: BadgeIconPosition = 'Before'; /** * Controls the strength of the background color. */ - appearance?: BadgeAppearance = "Filled"; + appearance?: BadgeAppearance = 'Filled'; /** * The size of the badge. */ - size?: BadgeSize = "Medium"; + size?: BadgeSize = 'Medium'; /** * Controls the shape of the badge. */ - shape?: BadgeShape = "Circular"; + shape?: BadgeShape = 'Circular'; /** * The style of the badge. */ - style?: BadgeStyle = "Default"; + style?: BadgeStyle = 'Default'; /** * Controls the tooltip text to display when the badge is hovered over. */ @@ -10366,7 +10366,7 @@ export class Badge implements IBadge { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10376,7 +10376,7 @@ export class Badge implements IBadge { Object.assign(this, options); } - static from(options: Omit): Badge { + static from(options: Omit): Badge { return new Badge(options); } @@ -10492,7 +10492,7 @@ export interface IProgressRing { /** * Must be **ProgressRing**. */ - readonly type: "ProgressRing"; + readonly type: 'ProgressRing'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10548,7 +10548,7 @@ export interface IProgressRing { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10566,10 +10566,10 @@ export interface IProgressRing { */ export function isProgressRing(value: unknown): value is IProgressRing { const obj = value as IProgressRing; - return typeof obj === "object" && obj.type === "ProgressRing"; + return typeof obj === 'object' && obj.type === 'ProgressRing'; } -export type ProgressRingOptions = Partial>; +export type ProgressRingOptions = Partial>; /** * A spinning ring element, to indicate progress. @@ -10582,7 +10582,7 @@ export class ProgressRing implements IProgressRing { /** * Must be **ProgressRing**. */ - readonly type = "ProgressRing"; + readonly type = 'ProgressRing'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10606,7 +10606,7 @@ export class ProgressRing implements IProgressRing { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -10614,7 +10614,7 @@ export class ProgressRing implements IProgressRing { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -10630,15 +10630,15 @@ export class ProgressRing implements IProgressRing { /** * Controls the relative position of the label to the progress ring. */ - labelPosition?: ProgressRingLabelPosition = "Below"; + labelPosition?: ProgressRingLabelPosition = 'Below'; /** * The size of the progress ring. */ - size?: ProgressRingSize = "Medium"; + size?: ProgressRingSize = 'Medium'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10648,7 +10648,7 @@ export class ProgressRing implements IProgressRing { Object.assign(this, options); } - static from(options: Omit): ProgressRing { + static from(options: Omit): ProgressRing { return new ProgressRing(options); } @@ -10739,7 +10739,7 @@ export interface IProgressBar { /** * Must be **ProgressBar**. */ - readonly type: "ProgressBar"; + readonly type: 'ProgressBar'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10795,7 +10795,7 @@ export interface IProgressBar { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10813,10 +10813,10 @@ export interface IProgressBar { */ export function isProgressBar(value: unknown): value is IProgressBar { const obj = value as IProgressBar; - return typeof obj === "object" && obj.type === "ProgressBar"; + return typeof obj === 'object' && obj.type === 'ProgressBar'; } -export type ProgressBarOptions = Partial>; +export type ProgressBarOptions = Partial>; /** * A progress bar element, to represent a value within a range. @@ -10829,7 +10829,7 @@ export class ProgressBar implements IProgressBar { /** * Must be **ProgressBar**. */ - readonly type = "ProgressBar"; + readonly type = 'ProgressBar'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10853,7 +10853,7 @@ export class ProgressBar implements IProgressBar { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -10861,7 +10861,7 @@ export class ProgressBar implements IProgressBar { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -10881,11 +10881,11 @@ export class ProgressBar implements IProgressBar { /** * The color of the progress bar. `color` has no effect when the `ProgressBar` is in indeterminate mode, in which case the "accent" color is always used. */ - color?: ProgressBarColor = "Accent"; + color?: ProgressBarColor = 'Accent'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10895,7 +10895,7 @@ export class ProgressBar implements IProgressBar { Object.assign(this, options); } - static from(options: Omit): ProgressBar { + static from(options: Omit): ProgressBar { return new ProgressBar(options); } @@ -10986,7 +10986,7 @@ export interface IDonutChart { /** * Must be **Chart.Donut**. */ - readonly type: "Chart.Donut"; + readonly type: 'Chart.Donut'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11070,7 +11070,7 @@ export interface IDonutChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11088,10 +11088,10 @@ export interface IDonutChart { */ export function isDonutChart(value: unknown): value is IDonutChart { const obj = value as IDonutChart; - return typeof obj === "object" && obj.type === "Chart.Donut"; + return typeof obj === 'object' && obj.type === 'Chart.Donut'; } -export type DonutChartOptions = Partial>; +export type DonutChartOptions = Partial>; /** * A donut chart. @@ -11104,7 +11104,7 @@ export class DonutChart implements IDonutChart { /** * Must be **Chart.Donut**. */ - readonly type = "Chart.Donut"; + readonly type = 'Chart.Donut'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11128,7 +11128,7 @@ export class DonutChart implements IDonutChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -11136,7 +11136,7 @@ export class DonutChart implements IDonutChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -11188,7 +11188,7 @@ export class DonutChart implements IDonutChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11198,7 +11198,7 @@ export class DonutChart implements IDonutChart { Object.assign(this, options); } - static from(options: Omit): DonutChart { + static from(options: Omit): DonutChart { return new DonutChart(options); } @@ -11399,7 +11399,7 @@ export interface IPieChart { /** * Must be **Chart.Pie**. */ - readonly type: "Chart.Pie"; + readonly type: 'Chart.Pie'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11483,7 +11483,7 @@ export interface IPieChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11501,10 +11501,10 @@ export interface IPieChart { */ export function isPieChart(value: unknown): value is IPieChart { const obj = value as IPieChart; - return typeof obj === "object" && obj.type === "Chart.Pie"; + return typeof obj === 'object' && obj.type === 'Chart.Pie'; } -export type PieChartOptions = Partial>; +export type PieChartOptions = Partial>; /** * A pie chart. @@ -11517,7 +11517,7 @@ export class PieChart implements IPieChart { /** * Must be **Chart.Pie**. */ - readonly type = "Chart.Pie"; + readonly type = 'Chart.Pie'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11541,7 +11541,7 @@ export class PieChart implements IPieChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -11549,7 +11549,7 @@ export class PieChart implements IPieChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -11601,7 +11601,7 @@ export class PieChart implements IPieChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11611,7 +11611,7 @@ export class PieChart implements IPieChart { Object.assign(this, options); } - static from(options: Omit): PieChart { + static from(options: Omit): PieChart { return new PieChart(options); } @@ -11737,7 +11737,7 @@ export interface IGroupedVerticalBarChart { /** * Must be **Chart.VerticalBar.Grouped**. */ - readonly type: "Chart.VerticalBar.Grouped"; + readonly type: 'Chart.VerticalBar.Grouped'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11839,7 +11839,7 @@ export interface IGroupedVerticalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11857,10 +11857,10 @@ export interface IGroupedVerticalBarChart { */ export function isGroupedVerticalBarChart(value: unknown): value is IGroupedVerticalBarChart { const obj = value as IGroupedVerticalBarChart; - return typeof obj === "object" && obj.type === "Chart.VerticalBar.Grouped"; + return typeof obj === 'object' && obj.type === 'Chart.VerticalBar.Grouped'; } -export type GroupedVerticalBarChartOptions = Partial>; +export type GroupedVerticalBarChartOptions = Partial>; /** * A grouped vertical bar chart. @@ -11873,7 +11873,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * Must be **Chart.VerticalBar.Grouped**. */ - readonly type = "Chart.VerticalBar.Grouped"; + readonly type = 'Chart.VerticalBar.Grouped'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11897,7 +11897,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -11905,7 +11905,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -11975,7 +11975,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11985,7 +11985,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { Object.assign(this, options); } - static from(options: Omit): GroupedVerticalBarChart { + static from(options: Omit): GroupedVerticalBarChart { return new GroupedVerticalBarChart(options); } @@ -12263,7 +12263,7 @@ export interface IVerticalBarChart { /** * Must be **Chart.VerticalBar**. */ - readonly type: "Chart.VerticalBar"; + readonly type: 'Chart.VerticalBar'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12355,7 +12355,7 @@ export interface IVerticalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12373,10 +12373,10 @@ export interface IVerticalBarChart { */ export function isVerticalBarChart(value: unknown): value is IVerticalBarChart { const obj = value as IVerticalBarChart; - return typeof obj === "object" && obj.type === "Chart.VerticalBar"; + return typeof obj === 'object' && obj.type === 'Chart.VerticalBar'; } -export type VerticalBarChartOptions = Partial>; +export type VerticalBarChartOptions = Partial>; /** * A vertical bar chart. @@ -12389,7 +12389,7 @@ export class VerticalBarChart implements IVerticalBarChart { /** * Must be **Chart.VerticalBar**. */ - readonly type = "Chart.VerticalBar"; + readonly type = 'Chart.VerticalBar'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12413,7 +12413,7 @@ export class VerticalBarChart implements IVerticalBarChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -12421,7 +12421,7 @@ export class VerticalBarChart implements IVerticalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -12481,7 +12481,7 @@ export class VerticalBarChart implements IVerticalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12491,7 +12491,7 @@ export class VerticalBarChart implements IVerticalBarChart { Object.assign(this, options); } - static from(options: Omit): VerticalBarChart { + static from(options: Omit): VerticalBarChart { return new VerticalBarChart(options); } @@ -12702,7 +12702,7 @@ export interface IHorizontalBarChart { /** * Must be **Chart.HorizontalBar**. */ - readonly type: "Chart.HorizontalBar"; + readonly type: 'Chart.HorizontalBar'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12786,7 +12786,7 @@ export interface IHorizontalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12804,10 +12804,10 @@ export interface IHorizontalBarChart { */ export function isHorizontalBarChart(value: unknown): value is IHorizontalBarChart { const obj = value as IHorizontalBarChart; - return typeof obj === "object" && obj.type === "Chart.HorizontalBar"; + return typeof obj === 'object' && obj.type === 'Chart.HorizontalBar'; } -export type HorizontalBarChartOptions = Partial>; +export type HorizontalBarChartOptions = Partial>; /** * A horizontal bar chart. @@ -12820,7 +12820,7 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * Must be **Chart.HorizontalBar**. */ - readonly type = "Chart.HorizontalBar"; + readonly type = 'Chart.HorizontalBar'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12844,7 +12844,7 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -12852,7 +12852,7 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -12900,11 +12900,11 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * Controls how the chart should be visually laid out. */ - displayMode?: HorizontalBarChartDisplayMode = "AbsoluteWithAxis"; + displayMode?: HorizontalBarChartDisplayMode = 'AbsoluteWithAxis'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12914,7 +12914,7 @@ export class HorizontalBarChart implements IHorizontalBarChart { Object.assign(this, options); } - static from(options: Omit): HorizontalBarChart { + static from(options: Omit): HorizontalBarChart { return new HorizontalBarChart(options); } @@ -13115,7 +13115,7 @@ export interface IStackedHorizontalBarChart { /** * Must be **Chart.HorizontalBar.Stacked**. */ - readonly type: "Chart.HorizontalBar.Stacked"; + readonly type: 'Chart.HorizontalBar.Stacked'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13195,7 +13195,7 @@ export interface IStackedHorizontalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -13213,10 +13213,10 @@ export interface IStackedHorizontalBarChart { */ export function isStackedHorizontalBarChart(value: unknown): value is IStackedHorizontalBarChart { const obj = value as IStackedHorizontalBarChart; - return typeof obj === "object" && obj.type === "Chart.HorizontalBar.Stacked"; + return typeof obj === 'object' && obj.type === 'Chart.HorizontalBar.Stacked'; } -export type StackedHorizontalBarChartOptions = Partial>; +export type StackedHorizontalBarChartOptions = Partial>; /** * A stacked horizontal bar chart. @@ -13229,7 +13229,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * Must be **Chart.HorizontalBar.Stacked**. */ - readonly type = "Chart.HorizontalBar.Stacked"; + readonly type = 'Chart.HorizontalBar.Stacked'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13253,7 +13253,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -13261,7 +13261,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -13309,7 +13309,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -13319,7 +13319,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { Object.assign(this, options); } - static from(options: Omit): StackedHorizontalBarChart { + static from(options: Omit): StackedHorizontalBarChart { return new StackedHorizontalBarChart(options); } @@ -13577,7 +13577,7 @@ export interface ILineChart { /** * Must be **Chart.Line**. */ - readonly type: "Chart.Line"; + readonly type: 'Chart.Line'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13665,7 +13665,7 @@ export interface ILineChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -13683,10 +13683,10 @@ export interface ILineChart { */ export function isLineChart(value: unknown): value is ILineChart { const obj = value as ILineChart; - return typeof obj === "object" && obj.type === "Chart.Line"; + return typeof obj === 'object' && obj.type === 'Chart.Line'; } -export type LineChartOptions = Partial>; +export type LineChartOptions = Partial>; /** * A line chart. @@ -13699,7 +13699,7 @@ export class LineChart implements ILineChart { /** * Must be **Chart.Line**. */ - readonly type = "Chart.Line"; + readonly type = 'Chart.Line'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13723,7 +13723,7 @@ export class LineChart implements ILineChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -13731,7 +13731,7 @@ export class LineChart implements ILineChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -13787,7 +13787,7 @@ export class LineChart implements ILineChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -13797,7 +13797,7 @@ export class LineChart implements ILineChart { Object.assign(this, options); } - static from(options: Omit): LineChart { + static from(options: Omit): LineChart { return new LineChart(options); } @@ -14073,7 +14073,7 @@ export interface IGaugeChart { /** * Must be **Chart.Gauge**. */ - readonly type: "Chart.Gauge"; + readonly type: 'Chart.Gauge'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14173,7 +14173,7 @@ export interface IGaugeChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14191,10 +14191,10 @@ export interface IGaugeChart { */ export function isGaugeChart(value: unknown): value is IGaugeChart { const obj = value as IGaugeChart; - return typeof obj === "object" && obj.type === "Chart.Gauge"; + return typeof obj === 'object' && obj.type === 'Chart.Gauge'; } -export type GaugeChartOptions = Partial>; +export type GaugeChartOptions = Partial>; /** * A gauge chart. @@ -14207,7 +14207,7 @@ export class GaugeChart implements IGaugeChart { /** * Must be **Chart.Gauge**. */ - readonly type = "Chart.Gauge"; + readonly type = 'Chart.Gauge'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14231,7 +14231,7 @@ export class GaugeChart implements IGaugeChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -14239,7 +14239,7 @@ export class GaugeChart implements IGaugeChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -14303,11 +14303,11 @@ export class GaugeChart implements IGaugeChart { /** * The format used to display the gauge's value. */ - valueFormat?: GaugeChartValueFormat = "Percentage"; + valueFormat?: GaugeChartValueFormat = 'Percentage'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14317,7 +14317,7 @@ export class GaugeChart implements IGaugeChart { Object.assign(this, options); } - static from(options: Omit): GaugeChart { + static from(options: Omit): GaugeChart { return new GaugeChart(options); } @@ -14538,7 +14538,7 @@ export interface ICodeBlock { /** * Must be **CodeBlock**. */ - readonly type: "CodeBlock"; + readonly type: 'CodeBlock'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14594,7 +14594,7 @@ export interface ICodeBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14612,10 +14612,10 @@ export interface ICodeBlock { */ export function isCodeBlock(value: unknown): value is ICodeBlock { const obj = value as ICodeBlock; - return typeof obj === "object" && obj.type === "CodeBlock"; + return typeof obj === 'object' && obj.type === 'CodeBlock'; } -export type CodeBlockOptions = Partial>; +export type CodeBlockOptions = Partial>; /** * A formatted and syntax-colored code block. @@ -14628,7 +14628,7 @@ export class CodeBlock implements ICodeBlock { /** * Must be **CodeBlock**. */ - readonly type = "CodeBlock"; + readonly type = 'CodeBlock'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14652,7 +14652,7 @@ export class CodeBlock implements ICodeBlock { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -14660,7 +14660,7 @@ export class CodeBlock implements ICodeBlock { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -14676,7 +14676,7 @@ export class CodeBlock implements ICodeBlock { /** * The language the code snippet is expressed in. */ - language?: CodeLanguage = "PlainText"; + language?: CodeLanguage = 'PlainText'; /** * A number that represents the line in the file from where the code snippet was extracted. */ @@ -14684,7 +14684,7 @@ export class CodeBlock implements ICodeBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14694,7 +14694,7 @@ export class CodeBlock implements ICodeBlock { Object.assign(this, options); } - static from(options: Omit): CodeBlock { + static from(options: Omit): CodeBlock { return new CodeBlock(options); } @@ -14785,7 +14785,7 @@ export interface IComUserMicrosoftGraphComponent { /** * Must be **Component**. */ - readonly type: "Component"; + readonly type: 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14829,7 +14829,7 @@ export interface IComUserMicrosoftGraphComponent { /** * Must be **graph.microsoft.com/user**. */ - readonly name: "graph.microsoft.com/user"; + readonly name: 'graph.microsoft.com/user'; /** * The properties of the Persona component. */ @@ -14837,7 +14837,7 @@ export interface IComUserMicrosoftGraphComponent { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14855,10 +14855,10 @@ export interface IComUserMicrosoftGraphComponent { */ export function isComUserMicrosoftGraphComponent(value: unknown): value is IComUserMicrosoftGraphComponent { const obj = value as IComUserMicrosoftGraphComponent; - return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/user"; + return typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/user'; } -export type ComUserMicrosoftGraphComponentOptions = Partial>; +export type ComUserMicrosoftGraphComponentOptions = Partial>; /** * Displays a user's information, including their profile picture. @@ -14871,7 +14871,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * Must be **Component**. */ - readonly type = "Component"; + readonly type = 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14895,7 +14895,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -14903,7 +14903,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -14915,7 +14915,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * Must be **graph.microsoft.com/user**. */ - readonly name = "graph.microsoft.com/user"; + readonly name = 'graph.microsoft.com/user'; /** * The properties of the Persona component. */ @@ -14923,7 +14923,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14933,7 +14933,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom Object.assign(this, options); } - static from(options: Omit): ComUserMicrosoftGraphComponent { + static from(options: Omit): ComUserMicrosoftGraphComponent { return new ComUserMicrosoftGraphComponent(options); } @@ -15115,7 +15115,7 @@ export interface IComUsersMicrosoftGraphComponent { /** * Must be **Component**. */ - readonly type: "Component"; + readonly type: 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15159,7 +15159,7 @@ export interface IComUsersMicrosoftGraphComponent { /** * Must be **graph.microsoft.com/users**. */ - readonly name: "graph.microsoft.com/users"; + readonly name: 'graph.microsoft.com/users'; /** * The properties of the PersonaSet component. */ @@ -15167,7 +15167,7 @@ export interface IComUsersMicrosoftGraphComponent { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15185,10 +15185,10 @@ export interface IComUsersMicrosoftGraphComponent { */ export function isComUsersMicrosoftGraphComponent(value: unknown): value is IComUsersMicrosoftGraphComponent { const obj = value as IComUsersMicrosoftGraphComponent; - return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/users"; + return typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/users'; } -export type ComUsersMicrosoftGraphComponentOptions = Partial>; +export type ComUsersMicrosoftGraphComponentOptions = Partial>; /** * Displays multiple users' information, including their profile pictures. @@ -15201,7 +15201,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * Must be **Component**. */ - readonly type = "Component"; + readonly type = 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15225,7 +15225,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -15233,7 +15233,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -15245,7 +15245,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * Must be **graph.microsoft.com/users**. */ - readonly name = "graph.microsoft.com/users"; + readonly name = 'graph.microsoft.com/users'; /** * The properties of the PersonaSet component. */ @@ -15253,7 +15253,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15263,7 +15263,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC Object.assign(this, options); } - static from(options: Omit): ComUsersMicrosoftGraphComponent { + static from(options: Omit): ComUsersMicrosoftGraphComponent { return new ComUsersMicrosoftGraphComponent(options); } @@ -15419,7 +15419,7 @@ export interface IComResourceMicrosoftGraphComponent { /** * Must be **Component**. */ - readonly type: "Component"; + readonly type: 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15463,7 +15463,7 @@ export interface IComResourceMicrosoftGraphComponent { /** * Must be **graph.microsoft.com/resource**. */ - readonly name: "graph.microsoft.com/resource"; + readonly name: 'graph.microsoft.com/resource'; /** * The properties of the resource. */ @@ -15471,7 +15471,7 @@ export interface IComResourceMicrosoftGraphComponent { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15489,10 +15489,10 @@ export interface IComResourceMicrosoftGraphComponent { */ export function isComResourceMicrosoftGraphComponent(value: unknown): value is IComResourceMicrosoftGraphComponent { const obj = value as IComResourceMicrosoftGraphComponent; - return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/resource"; + return typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/resource'; } -export type ComResourceMicrosoftGraphComponentOptions = Partial>; +export type ComResourceMicrosoftGraphComponentOptions = Partial>; /** * Displays information about a generic graph resource. @@ -15505,7 +15505,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * Must be **Component**. */ - readonly type = "Component"; + readonly type = 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15529,7 +15529,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -15537,7 +15537,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -15549,7 +15549,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * Must be **graph.microsoft.com/resource**. */ - readonly name = "graph.microsoft.com/resource"; + readonly name = 'graph.microsoft.com/resource'; /** * The properties of the resource. */ @@ -15557,7 +15557,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15567,7 +15567,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft Object.assign(this, options); } - static from(options: Omit): ComResourceMicrosoftGraphComponent { + static from(options: Omit): ComResourceMicrosoftGraphComponent { return new ComResourceMicrosoftGraphComponent(options); } @@ -15772,7 +15772,7 @@ export interface IComFileMicrosoftGraphComponent { /** * Must be **Component**. */ - readonly type: "Component"; + readonly type: 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15816,7 +15816,7 @@ export interface IComFileMicrosoftGraphComponent { /** * Must be **graph.microsoft.com/file**. */ - readonly name: "graph.microsoft.com/file"; + readonly name: 'graph.microsoft.com/file'; /** * The properties of the file. */ @@ -15824,7 +15824,7 @@ export interface IComFileMicrosoftGraphComponent { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15842,10 +15842,10 @@ export interface IComFileMicrosoftGraphComponent { */ export function isComFileMicrosoftGraphComponent(value: unknown): value is IComFileMicrosoftGraphComponent { const obj = value as IComFileMicrosoftGraphComponent; - return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/file"; + return typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/file'; } -export type ComFileMicrosoftGraphComponentOptions = Partial>; +export type ComFileMicrosoftGraphComponentOptions = Partial>; /** * Displays information about a file resource. @@ -15858,7 +15858,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * Must be **Component**. */ - readonly type = "Component"; + readonly type = 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15882,7 +15882,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -15890,7 +15890,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -15902,7 +15902,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * Must be **graph.microsoft.com/file**. */ - readonly name = "graph.microsoft.com/file"; + readonly name = 'graph.microsoft.com/file'; /** * The properties of the file. */ @@ -15910,7 +15910,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15920,7 +15920,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom Object.assign(this, options); } - static from(options: Omit): ComFileMicrosoftGraphComponent { + static from(options: Omit): ComFileMicrosoftGraphComponent { return new ComFileMicrosoftGraphComponent(options); } @@ -16076,7 +16076,7 @@ export interface IComEventMicrosoftGraphComponent { /** * Must be **Component**. */ - readonly type: "Component"; + readonly type: 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16120,7 +16120,7 @@ export interface IComEventMicrosoftGraphComponent { /** * Must be **graph.microsoft.com/event**. */ - readonly name: "graph.microsoft.com/event"; + readonly name: 'graph.microsoft.com/event'; /** * The properties of the event. */ @@ -16128,7 +16128,7 @@ export interface IComEventMicrosoftGraphComponent { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16146,10 +16146,10 @@ export interface IComEventMicrosoftGraphComponent { */ export function isComEventMicrosoftGraphComponent(value: unknown): value is IComEventMicrosoftGraphComponent { const obj = value as IComEventMicrosoftGraphComponent; - return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/event"; + return typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/event'; } -export type ComEventMicrosoftGraphComponentOptions = Partial>; +export type ComEventMicrosoftGraphComponentOptions = Partial>; /** * Displays information about a calendar event. @@ -16162,7 +16162,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * Must be **Component**. */ - readonly type = "Component"; + readonly type = 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16186,7 +16186,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -16194,7 +16194,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -16206,7 +16206,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * Must be **graph.microsoft.com/event**. */ - readonly name = "graph.microsoft.com/event"; + readonly name = 'graph.microsoft.com/event'; /** * The properties of the event. */ @@ -16214,7 +16214,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16224,7 +16224,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC Object.assign(this, options); } - static from(options: Omit): ComEventMicrosoftGraphComponent { + static from(options: Omit): ComEventMicrosoftGraphComponent { return new ComEventMicrosoftGraphComponent(options); } @@ -16598,7 +16598,7 @@ export interface ICarouselPage { /** * Must be **CarouselPage**. */ - readonly type: "CarouselPage"; + readonly type: 'CarouselPage'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16670,7 +16670,7 @@ export interface ICarouselPage { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16692,10 +16692,10 @@ export interface ICarouselPage { */ export function isCarouselPage(value: unknown): value is ICarouselPage { const obj = value as ICarouselPage; - return typeof obj === "object" && obj.type === "CarouselPage"; + return typeof obj === 'object' && obj.type === 'CarouselPage'; } -export type CarouselPageOptions = Partial>; +export type CarouselPageOptions = Partial>; /** * A page inside a Carousel element. @@ -16708,7 +16708,7 @@ export class CarouselPage implements ICarouselPage { /** * Must be **CarouselPage**. */ - readonly type = "CarouselPage"; + readonly type = 'CarouselPage'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16728,7 +16728,7 @@ export class CarouselPage implements ICarouselPage { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -16780,7 +16780,7 @@ export class CarouselPage implements ICarouselPage { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16911,7 +16911,7 @@ export interface ITableRow { /** * Must be **TableRow**. */ - readonly type: "TableRow"; + readonly type: 'TableRow'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16975,7 +16975,7 @@ export interface ITableRow { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16997,10 +16997,10 @@ export interface ITableRow { */ export function isTableRow(value: unknown): value is ITableRow { const obj = value as ITableRow; - return typeof obj === "object" && obj.type === "TableRow"; + return typeof obj === 'object' && obj.type === 'TableRow'; } -export type TableRowOptions = Partial>; +export type TableRowOptions = Partial>; /** * Represents a row of cells in a table. @@ -17013,7 +17013,7 @@ export class TableRow implements ITableRow { /** * Must be **TableRow**. */ - readonly type = "TableRow"; + readonly type = 'TableRow'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17037,7 +17037,7 @@ export class TableRow implements ITableRow { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -17045,7 +17045,7 @@ export class TableRow implements ITableRow { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -17077,7 +17077,7 @@ export class TableRow implements ITableRow { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17091,7 +17091,7 @@ export class TableRow implements ITableRow { Object.assign(this, options); } - static from(options: Omit): TableRow { + static from(options: Omit): TableRow { return new TableRow(options); } @@ -17197,7 +17197,7 @@ export interface ITableCell { /** * Must be **TableCell**. */ - readonly type: "TableCell"; + readonly type: 'TableCell'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17273,7 +17273,7 @@ export interface ITableCell { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17295,10 +17295,10 @@ export interface ITableCell { */ export function isTableCell(value: unknown): value is ITableCell { const obj = value as ITableCell; - return typeof obj === "object" && obj.type === "TableCell"; + return typeof obj === 'object' && obj.type === 'TableCell'; } -export type TableCellOptions = Partial>; +export type TableCellOptions = Partial>; /** * Represents a cell in a table row. @@ -17311,7 +17311,7 @@ export class TableCell implements ITableCell { /** * Must be **TableCell**. */ - readonly type = "TableCell"; + readonly type = 'TableCell'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17335,11 +17335,11 @@ export class TableCell implements ITableCell { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -17387,7 +17387,7 @@ export class TableCell implements ITableCell { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17523,7 +17523,7 @@ export interface ITextRun { /** * Must be **TextRun**. */ - readonly type: "TextRun"; + readonly type: 'TextRun'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17587,7 +17587,7 @@ export interface ITextRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17605,10 +17605,10 @@ export interface ITextRun { */ export function isTextRun(value: unknown): value is ITextRun { const obj = value as ITextRun; - return typeof obj === "object" && obj.type === "TextRun"; + return typeof obj === 'object' && obj.type === 'TextRun'; } -export type TextRunOptions = Partial>; +export type TextRunOptions = Partial>; /** * A block of text inside a RichTextBlock element. @@ -17621,7 +17621,7 @@ export class TextRun implements ITextRun { /** * Must be **TextRun**. */ - readonly type = "TextRun"; + readonly type = 'TextRun'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17685,7 +17685,7 @@ export class TextRun implements ITextRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17696,7 +17696,7 @@ export class TextRun implements ITextRun { this.text = text; } - static from(options: Omit): TextRun { + static from(options: Omit): TextRun { return new TextRun(options.text, options); } @@ -17797,7 +17797,7 @@ export interface IIconRun { /** * Must be **IconRun**. */ - readonly type: "IconRun"; + readonly type: 'IconRun'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17821,7 +17821,7 @@ export interface IIconRun { /** * The size of the inline icon. */ - size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"; + size?: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'; /** * The style of the inline icon. */ @@ -17837,7 +17837,7 @@ export interface IIconRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17855,10 +17855,10 @@ export interface IIconRun { */ export function isIconRun(value: unknown): value is IIconRun { const obj = value as IIconRun; - return typeof obj === "object" && obj.type === "IconRun"; + return typeof obj === 'object' && obj.type === 'IconRun'; } -export type IconRunOptions = Partial>; +export type IconRunOptions = Partial>; /** * An inline icon inside a RichTextBlock element. @@ -17871,7 +17871,7 @@ export class IconRun implements IIconRun { /** * Must be **IconRun**. */ - readonly type = "IconRun"; + readonly type = 'IconRun'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17895,15 +17895,15 @@ export class IconRun implements IIconRun { /** * The size of the inline icon. */ - size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge" = "Default"; + size?: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge' = 'Default'; /** * The style of the inline icon. */ - style?: IconStyle = "Regular"; + style?: IconStyle = 'Regular'; /** * The color of the inline icon. */ - color?: TextColor = "Default"; + color?: TextColor = 'Default'; /** * An Action that will be invoked when the inline icon is tapped or clicked. Action.ShowCard is not supported. */ @@ -17911,7 +17911,7 @@ export class IconRun implements IIconRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17921,7 +17921,7 @@ export class IconRun implements IIconRun { Object.assign(this, options); } - static from(options: Omit): IconRun { + static from(options: Omit): IconRun { return new IconRun(options); } @@ -17955,7 +17955,7 @@ export class IconRun implements IIconRun { return this; } - withSize(size: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"): this { + withSize(size: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'): this { this.size = size; return this; } @@ -17992,7 +17992,7 @@ export interface IImageRun { /** * Must be **ImageRun**. */ - readonly type: "ImageRun"; + readonly type: 'ImageRun'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -18016,7 +18016,7 @@ export interface IImageRun { /** * The size of the inline image. */ - size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"; + size?: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'; /** * The style of the inline image. */ @@ -18032,7 +18032,7 @@ export interface IImageRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -18050,10 +18050,10 @@ export interface IImageRun { */ export function isImageRun(value: unknown): value is IImageRun { const obj = value as IImageRun; - return typeof obj === "object" && obj.type === "ImageRun"; + return typeof obj === 'object' && obj.type === 'ImageRun'; } -export type ImageRunOptions = Partial>; +export type ImageRunOptions = Partial>; /** * An inline image inside a RichTextBlock element. @@ -18066,7 +18066,7 @@ export class ImageRun implements IImageRun { /** * Must be **ImageRun**. */ - readonly type = "ImageRun"; + readonly type = 'ImageRun'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -18090,11 +18090,11 @@ export class ImageRun implements IImageRun { /** * The size of the inline image. */ - size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge" = "Default"; + size?: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge' = 'Default'; /** * The style of the inline image. */ - style?: ImageStyle = "Default"; + style?: ImageStyle = 'Default'; /** * An Action that will be invoked when the image is tapped or clicked. Action.ShowCard is not supported. */ @@ -18106,7 +18106,7 @@ export class ImageRun implements IImageRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -18116,7 +18116,7 @@ export class ImageRun implements IImageRun { Object.assign(this, options); } - static from(options: Omit): ImageRun { + static from(options: Omit): ImageRun { return new ImageRun(options); } @@ -18150,7 +18150,7 @@ export class ImageRun implements IImageRun { return this; } - withSize(size: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"): this { + withSize(size: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'): this { this.size = size; return this; } @@ -18187,7 +18187,7 @@ export interface IColumn { /** * Optional. If specified, must be **Column**. */ - readonly type: "Column"; + readonly type: 'Column'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -18275,11 +18275,11 @@ export interface IColumn { /** * The width of the column. If expressed as a number, represents the relative weight of the column in the set. If expressed as a string, `auto` will automatically adjust the column's width according to its content, `stretch` will make the column use the remaining horizontal space (shared with other columns with width set to `stretch`) and using the `px` format will give the column an explicit width in pixels. */ - width?: "auto" | "stretch" | string | number; + width?: 'auto' | 'stretch' | string | number; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -18301,10 +18301,10 @@ export interface IColumn { */ export function isColumn(value: unknown): value is IColumn { const obj = value as IColumn; - return typeof obj === "object" && obj.type === "Column"; + return typeof obj === 'object' && obj.type === 'Column'; } -export type ColumnOptions = Partial>; +export type ColumnOptions = Partial>; /** * A column in a ColumnSet element. @@ -18317,7 +18317,7 @@ export class Column implements IColumn { /** * Optional. If specified, must be **Column**. */ - readonly type = "Column"; + readonly type = 'Column'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -18341,7 +18341,7 @@ export class Column implements IColumn { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -18349,7 +18349,7 @@ export class Column implements IColumn { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -18405,11 +18405,11 @@ export class Column implements IColumn { /** * The width of the column. If expressed as a number, represents the relative weight of the column in the set. If expressed as a string, `auto` will automatically adjust the column's width according to its content, `stretch` will make the column use the remaining horizontal space (shared with other columns with width set to `stretch`) and using the `px` format will give the column an explicit width in pixels. */ - width?: "auto" | "stretch" | string | number; + width?: 'auto' | 'stretch' | string | number; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -18538,7 +18538,7 @@ export class Column implements IColumn { return this; } - withWidth(width: "auto" | "stretch" | string | number): this { + withWidth(width: 'auto' | 'stretch' | string | number): this { this.width = width; return this; } @@ -18607,7 +18607,7 @@ export interface IImBackSubmitActionData { /** * Must be **imBack**. */ - readonly type: "imBack"; + readonly type: 'imBack'; /** * The value that will be sent to the Bot. */ @@ -18625,10 +18625,10 @@ export interface IImBackSubmitActionData { */ export function isImBackSubmitActionData(value: unknown): value is IImBackSubmitActionData { const obj = value as IImBackSubmitActionData; - return typeof obj === "object" && obj.type === "imBack"; + return typeof obj === 'object' && obj.type === 'imBack'; } -export type ImBackSubmitActionDataOptions = Partial>; +export type ImBackSubmitActionDataOptions = Partial>; /** * Represents Teams-specific data in an Action.Submit to send an Instant Message back to the Bot. @@ -18641,7 +18641,7 @@ export class ImBackSubmitActionData implements IImBackSubmitActionData { /** * Must be **imBack**. */ - readonly type = "imBack"; + readonly type = 'imBack'; /** * The value that will be sent to the Bot. */ @@ -18652,7 +18652,7 @@ export class ImBackSubmitActionData implements IImBackSubmitActionData { this.value = value; } - static from(options: Omit): ImBackSubmitActionData { + static from(options: Omit): ImBackSubmitActionData { return new ImBackSubmitActionData(options.value, options); } @@ -18678,7 +18678,7 @@ export interface IInvokeSubmitActionData { /** * Must be **invoke**. */ - readonly type: "invoke"; + readonly type: 'invoke'; /** * The object to send to the Bot with the Invoke request. Can be strongly typed as one of the below values to trigger a specific action in Teams. */ @@ -18696,10 +18696,10 @@ export interface IInvokeSubmitActionData { */ export function isInvokeSubmitActionData(value: unknown): value is IInvokeSubmitActionData { const obj = value as IInvokeSubmitActionData; - return typeof obj === "object" && obj.type === "invoke"; + return typeof obj === 'object' && obj.type === 'invoke'; } -export type InvokeSubmitActionDataOptions = Partial>; +export type InvokeSubmitActionDataOptions = Partial>; /** * Represents Teams-specific data in an Action.Submit to make an Invoke request to the Bot. @@ -18712,7 +18712,7 @@ export class InvokeSubmitActionData implements IInvokeSubmitActionData { /** * Must be **invoke**. */ - readonly type = "invoke"; + readonly type = 'invoke'; /** * The object to send to the Bot with the Invoke request. Can be strongly typed as one of the below values to trigger a specific action in Teams. */ @@ -18723,7 +18723,7 @@ export class InvokeSubmitActionData implements IInvokeSubmitActionData { this.value = value; } - static from(options: Omit): InvokeSubmitActionData { + static from(options: Omit): InvokeSubmitActionData { return new InvokeSubmitActionData(options.value, options); } @@ -18745,7 +18745,7 @@ export interface ICollabStageInvokeDataValue { /** * Must be **tab/tabInfoAction**. */ - readonly type: "tab/tabInfoAction"; + readonly type: 'tab/tabInfoAction'; /** * Provides information about the iFrame content, rendered in the collab stage popout window. */ @@ -18763,10 +18763,10 @@ export interface ICollabStageInvokeDataValue { */ export function isCollabStageInvokeDataValue(value: unknown): value is ICollabStageInvokeDataValue { const obj = value as ICollabStageInvokeDataValue; - return typeof obj === "object" && obj.type === "tab/tabInfoAction"; + return typeof obj === 'object' && obj.type === 'tab/tabInfoAction'; } -export type CollabStageInvokeDataValueOptions = Partial>; +export type CollabStageInvokeDataValueOptions = Partial>; /** * Data for invoking a collaboration stage action. @@ -18775,7 +18775,7 @@ export class CollabStageInvokeDataValue implements ICollabStageInvokeDataValue { /** * Must be **tab/tabInfoAction**. */ - readonly type = "tab/tabInfoAction"; + readonly type = 'tab/tabInfoAction'; /** * Provides information about the iFrame content, rendered in the collab stage popout window. */ @@ -18785,7 +18785,7 @@ export class CollabStageInvokeDataValue implements ICollabStageInvokeDataValue { Object.assign(this, options); } - static from(options: Omit): CollabStageInvokeDataValue { + static from(options: Omit): CollabStageInvokeDataValue { return new CollabStageInvokeDataValue(options); } @@ -18881,7 +18881,7 @@ export interface IMessageBackSubmitActionData { /** * Must be **messageBack**. */ - readonly type: "messageBack"; + readonly type: 'messageBack'; /** * The text that will be sent to the Bot. */ @@ -18907,10 +18907,10 @@ export interface IMessageBackSubmitActionData { */ export function isMessageBackSubmitActionData(value: unknown): value is IMessageBackSubmitActionData { const obj = value as IMessageBackSubmitActionData; - return typeof obj === "object" && obj.type === "messageBack"; + return typeof obj === 'object' && obj.type === 'messageBack'; } -export type MessageBackSubmitActionDataOptions = Partial>; +export type MessageBackSubmitActionDataOptions = Partial>; /** * Represents Teams-specific data in an Action.Submit to send a message back to the Bot. @@ -18923,7 +18923,7 @@ export class MessageBackSubmitActionData implements IMessageBackSubmitActionData /** * Must be **messageBack**. */ - readonly type = "messageBack"; + readonly type = 'messageBack'; /** * The text that will be sent to the Bot. */ @@ -18941,7 +18941,7 @@ export class MessageBackSubmitActionData implements IMessageBackSubmitActionData Object.assign(this, options); } - static from(options: Omit): MessageBackSubmitActionData { + static from(options: Omit): MessageBackSubmitActionData { return new MessageBackSubmitActionData(options); } @@ -18977,7 +18977,7 @@ export interface ISigninSubmitActionData { /** * Must be **signin**. */ - readonly type: "signin"; + readonly type: 'signin'; /** * The URL to redirect the end-user for signing in. */ @@ -18995,10 +18995,10 @@ export interface ISigninSubmitActionData { */ export function isSigninSubmitActionData(value: unknown): value is ISigninSubmitActionData { const obj = value as ISigninSubmitActionData; - return typeof obj === "object" && obj.type === "signin"; + return typeof obj === 'object' && obj.type === 'signin'; } -export type SigninSubmitActionDataOptions = Partial>; +export type SigninSubmitActionDataOptions = Partial>; /** * Represents Teams-specific data in an Action.Submit to sign in a user. @@ -19011,7 +19011,7 @@ export class SigninSubmitActionData implements ISigninSubmitActionData { /** * Must be **signin**. */ - readonly type = "signin"; + readonly type = 'signin'; /** * The URL to redirect the end-user for signing in. */ @@ -19022,7 +19022,7 @@ export class SigninSubmitActionData implements ISigninSubmitActionData { this.value = value; } - static from(options: Omit): SigninSubmitActionData { + static from(options: Omit): SigninSubmitActionData { return new SigninSubmitActionData(options.value, options); } @@ -19048,7 +19048,7 @@ export interface ITaskFetchSubmitActionData { /** * Must be **task/fetch**. */ - readonly type: "task/fetch"; + readonly type: 'task/fetch'; } /** @@ -19062,10 +19062,10 @@ export interface ITaskFetchSubmitActionData { */ export function isTaskFetchSubmitActionData(value: unknown): value is ITaskFetchSubmitActionData { const obj = value as ITaskFetchSubmitActionData; - return typeof obj === "object" && obj.type === "task/fetch"; + return typeof obj === 'object' && obj.type === 'task/fetch'; } -export type TaskFetchSubmitActionDataOptions = Partial>; +export type TaskFetchSubmitActionDataOptions = Partial>; /** * Represents Teams-specific data in an Action.Submit to open a task module. @@ -19078,13 +19078,13 @@ export class TaskFetchSubmitActionData implements ITaskFetchSubmitActionData { /** * Must be **task/fetch**. */ - readonly type = "task/fetch"; + readonly type = 'task/fetch'; constructor(options: TaskFetchSubmitActionDataOptions = {}) { Object.assign(this, options); } - static from(options: Omit): TaskFetchSubmitActionData { + static from(options: Omit): TaskFetchSubmitActionData { return new TaskFetchSubmitActionData(options); } @@ -19582,7 +19582,7 @@ export interface IMention { /** * Must be **mention**. */ - readonly type: "mention"; + readonly type: 'mention'; /** * The text that will be substituted with the mention. */ @@ -19604,10 +19604,10 @@ export interface IMention { */ export function isMention(value: unknown): value is IMention { const obj = value as IMention; - return typeof obj === "object" && obj.type === "mention"; + return typeof obj === 'object' && obj.type === 'mention'; } -export type MentionOptions = Partial>; +export type MentionOptions = Partial>; /** * Represents a mention to a person. @@ -19620,7 +19620,7 @@ export class Mention implements IMention { /** * Must be **mention**. */ - readonly type = "mention"; + readonly type = 'mention'; /** * The text that will be substituted with the mention. */ @@ -19634,7 +19634,7 @@ export class Mention implements IMention { Object.assign(this, options); } - static from(options: Omit): Mention { + static from(options: Omit): Mention { return new Mention(options); } @@ -19698,7 +19698,7 @@ export class MentionedEntity implements IMentionedEntity { /** * The type of the mentioned entity. */ - mentionType?: MentionType = "Person"; + mentionType?: MentionType = 'Person'; constructor(options: MentionedEntityOptions = {}) { Object.assign(this, options); From 7e4cf1bd3b47c291d46f4f88d6cd4b3c96335662 Mon Sep 17 00:00:00 2001 From: Corina Gum <> Date: Wed, 18 Mar 2026 16:21:03 -0700 Subject: [PATCH 6/9] Lint --- packages/cards/src/actions/submit/collab-stage.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cards/src/actions/submit/collab-stage.spec.ts b/packages/cards/src/actions/submit/collab-stage.spec.ts index cf3f1f612..4bee14ac7 100644 --- a/packages/cards/src/actions/submit/collab-stage.spec.ts +++ b/packages/cards/src/actions/submit/collab-stage.spec.ts @@ -1,6 +1,7 @@ -import { CollabStageAction } from './collab-stage'; import { CollabStageInvokeDataValue, InvokeSubmitActionData, SubmitActionData } from '../../core'; +import { CollabStageAction } from './collab-stage'; + describe('Actions.Submit.CollabStage', () => { it('should build', () => { const action = new CollabStageAction().withData( From 5a1b30aa49380b8a10993c3b2d92cf0a5dc16c20 Mon Sep 17 00:00:00 2001 From: Corina Gum <> Date: Wed, 18 Mar 2026 16:29:35 -0700 Subject: [PATCH 7/9] Fixes --- packages/cards/src/actions/submit/collab-stage.spec.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/cards/src/actions/submit/collab-stage.spec.ts b/packages/cards/src/actions/submit/collab-stage.spec.ts index 4bee14ac7..2a7b7c685 100644 --- a/packages/cards/src/actions/submit/collab-stage.spec.ts +++ b/packages/cards/src/actions/submit/collab-stage.spec.ts @@ -26,9 +26,11 @@ describe('Actions.Submit.CollabStage', () => { data: new SubmitActionData({ msteams: new InvokeSubmitActionData( new CollabStageInvokeDataValue({ - name: 'test', - entityId: 'test', - contentUrl: 'http://localhost/tabs/test', + tabInfo: { + name: 'test', + entityId: 'test', + contentUrl: 'http://localhost/tabs/test', + }, }) ), }), From b34e4534a0d7b2b64f3630b3ff08db3420aed9da Mon Sep 17 00:00:00 2001 From: Corina Gum <> Date: Thu, 19 Mar 2026 14:51:48 -0700 Subject: [PATCH 8/9] Remove MsTeams --- packages/cards/src/core.ts | 1369 +++++++++++++++++------------------- 1 file changed, 662 insertions(+), 707 deletions(-) diff --git a/packages/cards/src/core.ts b/packages/cards/src/core.ts index 39e7a1036..49545b30e 100644 --- a/packages/cards/src/core.ts +++ b/packages/cards/src/core.ts @@ -1,111 +1,111 @@ - - +/* eslint-disable @typescript-eslint/no-empty-interface */ +/* eslint-disable @typescript-eslint/no-explicit-any */ /* cSpell:disable */ -// This file was automatically generated by a tool on 03/18/2026, 10:42 PM UTC. DO NOT UPDATE MANUALLY. +// This file was automatically generated by a tool on 03/19/2026, 9:27 PM UTC. DO NOT UPDATE MANUALLY. // It includes declarations for Adaptive Card features available in Teams, Copilot, Outlook, Word, Excel, PowerPoint. export type CardElement = IContainer | IActionSet | IColumnSet | IMedia | IRichTextBlock | ITable | ITextBlock | IFactSet | IImageSet | IImage | ITextInput | IDateInput | ITimeInput | INumberInput | IToggleInput | IChoiceSetInput | IRatingInput | IRating | ICompoundButton | IIcon | ICarousel | IBadge | IProgressRing | IProgressBar | IDonutChart | IPieChart | IGroupedVerticalBarChart | IVerticalBarChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IGaugeChart | ICodeBlock | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComEventMicrosoftGraphComponent; export type Action = ISubmitAction | IOpenUrlAction | IExecuteAction | IToggleVisibilityAction | IShowCardAction | IResetInputsAction | IPopoverAction | IOpenUrlDialogAction | IInsertImageAction; -export type IconName = 'AccessTime' | 'Accessibility' | 'AccessibilityCheckmark' | 'Add' | 'AddCircle' | 'AddSquare' | 'AddSquareMultiple' | 'AddSubtractCircle' | 'Airplane' | 'AirplaneLanding' | 'AirplaneTakeOff' | 'Album' | 'AlbumAdd' | 'Alert' | 'AlertBadge' | 'AlertOff' | 'AlertOn' | 'AlertSnooze' | 'AlertUrgent' | 'AlignBottom' | 'AlignCenterHorizontal' | 'AlignCenterVertical' | 'AlignDistributeBottom' | 'AlignDistributeLeft' | 'AlignDistributeRight' | 'AlignDistributeTop' | 'AlignEndHorizontal' | 'AlignEndVertical' | 'AlignLeft' | 'AlignRight' | 'AlignSpaceAroundHorizontal' | 'AlignSpaceAroundVertical' | 'AlignSpaceBetweenHorizontal' | 'AlignSpaceBetweenVertical' | 'AlignSpaceEvenlyHorizontal' | 'AlignSpaceEvenlyVertical' | 'AlignSpaceFitVertical' | 'AlignStartHorizontal' | 'AlignStartVertical' | 'AlignStraighten' | 'AlignStretchHorizontal' | 'AlignStretchVertical' | 'AlignTop' | 'AnimalCat' | 'AnimalDog' | 'AnimalRabbit' | 'AnimalRabbitOff' | 'AnimalTurtle' | 'AppFolder' | 'AppGeneric' | 'AppRecent' | 'AppStore' | 'AppTitle' | 'ApprovalsApp' | 'Apps' | 'AppsAddIn' | 'AppsList' | 'AppsListDetail' | 'Archive' | 'ArchiveArrowBack' | 'ArchiveMultiple' | 'ArchiveSettings' | 'ArrowAutofitContent' | 'ArrowAutofitDown' | 'ArrowAutofitHeight' | 'ArrowAutofitHeightDotted' | 'ArrowAutofitHeightIn' | 'ArrowAutofitUp' | 'ArrowAutofitWidth' | 'ArrowAutofitWidthDotted' | 'ArrowBetweenDown' | 'ArrowBetweenUp' | 'ArrowBidirectionalLeftRight' | 'ArrowBidirectionalUpDown' | 'ArrowBounce' | 'ArrowCircleDown' | 'ArrowCircleDownDouble' | 'ArrowCircleDownRight' | 'ArrowCircleDownSplit' | 'ArrowCircleDownUp' | 'ArrowCircleLeft' | 'ArrowCircleRight' | 'ArrowCircleUp' | 'ArrowCircleUpLeft' | 'ArrowCircleUpRight' | 'ArrowClockwise' | 'ArrowClockwiseDashes' | 'ArrowCollapseAll' | 'ArrowCounterclockwise' | 'ArrowCounterclockwiseDashes' | 'ArrowCurveDownLeft' | 'ArrowCurveDownRight' | 'ArrowCurveUpLeft' | 'ArrowCurveUpRight' | 'ArrowDown' | 'ArrowDownExclamation' | 'ArrowDownLeft' | 'ArrowDownload' | 'ArrowDownloadOff' | 'ArrowEject' | 'ArrowEnter' | 'ArrowEnterLeft' | 'ArrowEnterUp' | 'ArrowExit' | 'ArrowExpand' | 'ArrowExport' | 'ArrowExportLtr' | 'ArrowExportRtl' | 'ArrowExportUp' | 'ArrowFit' | 'ArrowFitIn' | 'ArrowFlowDiagonalUpRight' | 'ArrowFlowUpRight' | 'ArrowFlowUpRightRectangleMultiple' | 'ArrowForward' | 'ArrowForwardDownLightning' | 'ArrowForwardDownPerson' | 'ArrowHookDownLeft' | 'ArrowHookDownRight' | 'ArrowHookUpLeft' | 'ArrowHookUpRight' | 'ArrowImport' | 'ArrowJoin' | 'ArrowLeft' | 'ArrowMaximize' | 'ArrowMaximizeVertical' | 'ArrowMinimize' | 'ArrowMinimizeVertical' | 'ArrowMove' | 'ArrowMoveInward' | 'ArrowNext' | 'ArrowOutlineDownLeft' | 'ArrowOutlineUpRight' | 'ArrowParagraph' | 'ArrowPrevious' | 'ArrowRedo' | 'ArrowRepeat1' | 'ArrowRepeatAll' | 'ArrowRepeatAllOff' | 'ArrowReply' | 'ArrowReplyAll' | 'ArrowReplyDown' | 'ArrowReset' | 'ArrowRight' | 'ArrowRotateClockwise' | 'ArrowRotateCounterclockwise' | 'ArrowRouting' | 'ArrowRoutingRectangleMultiple' | 'ArrowShuffle' | 'ArrowShuffleOff' | 'ArrowSort' | 'ArrowSortDown' | 'ArrowSortDownLines' | 'ArrowSortUp' | 'ArrowSplit' | 'ArrowSprint' | 'ArrowSquareDown' | 'ArrowSquareUpRight' | 'ArrowStepBack' | 'ArrowStepIn' | 'ArrowStepInDiagonalDownLeft' | 'ArrowStepInLeft' | 'ArrowStepInRight' | 'ArrowStepOut' | 'ArrowStepOver' | 'ArrowSwap' | 'ArrowSync' | 'ArrowSyncCheckmark' | 'ArrowSyncCircle' | 'ArrowSyncDismiss' | 'ArrowSyncOff' | 'ArrowTrending' | 'ArrowTrendingCheckmark' | 'ArrowTrendingDown' | 'ArrowTrendingLines' | 'ArrowTrendingSettings' | 'ArrowTrendingSparkle' | 'ArrowTrendingText' | 'ArrowTrendingWrench' | 'ArrowTurnBidirectionalDownRight' | 'ArrowTurnDownLeft' | 'ArrowTurnDownRight' | 'ArrowTurnDownUp' | 'ArrowTurnLeftDown' | 'ArrowTurnLeftRight' | 'ArrowTurnLeftUp' | 'ArrowTurnRight' | 'ArrowTurnRightDown' | 'ArrowTurnRightLeft' | 'ArrowTurnRightUp' | 'ArrowTurnUpDown' | 'ArrowTurnUpLeft' | 'ArrowUndo' | 'ArrowUp' | 'ArrowUpLeft' | 'ArrowUpRight' | 'ArrowUpRightDashes' | 'ArrowUpSquareSettings' | 'ArrowUpload' | 'ArrowWrap' | 'ArrowWrapOff' | 'ArrowsBidirectional' | 'Attach' | 'AttachArrowRight' | 'AttachText' | 'AutoFitHeight' | 'AutoFitWidth' | 'Autocorrect' | 'Autosum' | 'Backpack' | 'BackpackAdd' | 'Backspace' | 'Badge' | 'Balloon' | 'BarcodeScanner' | 'Battery0' | 'Battery10' | 'Battery1' | 'Battery2' | 'Battery3' | 'Battery4' | 'Battery5' | 'Battery6' | 'Battery7' | 'Battery8' | 'Battery9' | 'BatteryCharge' | 'BatteryCheckmark' | 'BatterySaver' | 'BatteryWarning' | 'Beach' | 'Beaker' | 'BeakerAdd' | 'BeakerDismiss' | 'BeakerEdit' | 'BeakerEmpty' | 'BeakerOff' | 'BeakerSettings' | 'Bed' | 'BezierCurveSquare' | 'BinFull' | 'BinRecycle' | 'BinRecycleFull' | 'BinderTriangle' | 'Bluetooth' | 'BluetoothConnected' | 'BluetoothDisabled' | 'BluetoothSearching' | 'Blur' | 'Board' | 'BoardGames' | 'BoardHeart' | 'BoardSplit' | 'Book' | 'BookAdd' | 'BookArrowClockwise' | 'BookClock' | 'BookCoins' | 'BookCompass' | 'BookContacts' | 'BookDatabase' | 'BookDefault' | 'BookDismiss' | 'BookExclamationMark' | 'BookGlobe' | 'BookInformation' | 'BookLetter' | 'BookNumber' | 'BookOpen' | 'BookOpenGlobe' | 'BookOpenMicrophone' | 'BookPulse' | 'BookQuestionMark' | 'BookQuestionMarkRtl' | 'BookSearch' | 'BookStar' | 'BookTemplate' | 'BookTheta' | 'BookToolbox' | 'Bookmark' | 'BookmarkAdd' | 'BookmarkMultiple' | 'BookmarkOff' | 'BookmarkSearch' | 'BorderAll' | 'BorderBottom' | 'BorderBottomDouble' | 'BorderBottomThick' | 'BorderInside' | 'BorderLeft' | 'BorderLeftRight' | 'BorderNone' | 'BorderOutside' | 'BorderOutsideThick' | 'BorderRight' | 'BorderTop' | 'BorderTopBottom' | 'BorderTopBottomDouble' | 'BorderTopBottomThick' | 'Bot' | 'BotAdd' | 'BotSparkle' | 'BowTie' | 'BowlChopsticks' | 'BowlSalad' | 'Box' | 'BoxArrowLeft' | 'BoxArrowUp' | 'BoxCheckmark' | 'BoxDismiss' | 'BoxEdit' | 'BoxMultiple' | 'BoxMultipleArrowLeft' | 'BoxMultipleArrowRight' | 'BoxMultipleCheckmark' | 'BoxMultipleSearch' | 'BoxSearch' | 'BoxToolbox' | 'Braces' | 'BracesCheckmark' | 'BracesDismiss' | 'BracesVariable' | 'BrainCircuit' | 'Branch' | 'BranchCompare' | 'BranchFork' | 'BranchForkHint' | 'BranchForkLink' | 'BranchRequest' | 'BreakoutRoom' | 'Briefcase' | 'BriefcaseMedical' | 'BriefcaseOff' | 'BriefcasePerson' | 'BriefcaseSearch' | 'BrightnessHigh' | 'BrightnessLow' | 'BroadActivityFeed' | 'Broom' | 'BubbleMultiple' | 'Bug' | 'BugArrowCounterclockwise' | 'BugProhibited' | 'Building' | 'BuildingBank' | 'BuildingBankLink' | 'BuildingBankToolbox' | 'BuildingCloud' | 'BuildingDesktop' | 'BuildingFactory' | 'BuildingGovernment' | 'BuildingGovernmentSearch' | 'BuildingHome' | 'BuildingLighthouse' | 'BuildingMosque' | 'BuildingMultiple' | 'BuildingPeople' | 'BuildingRetail' | 'BuildingRetailMoney' | 'BuildingRetailMore' | 'BuildingRetailShield' | 'BuildingRetailToolbox' | 'BuildingShop' | 'BuildingSkyscraper' | 'BuildingSwap' | 'BuildingTownhouse' | 'Button' | 'Calculator' | 'CalculatorArrowClockwise' | 'CalculatorMultiple' | 'Calendar' | 'Calendar3Day' | 'CalendarAdd' | 'CalendarAgenda' | 'CalendarArrowCounterclockwise' | 'CalendarArrowDown' | 'CalendarArrowRight' | 'CalendarAssistant' | 'CalendarCancel' | 'CalendarChat' | 'CalendarCheckmark' | 'CalendarClock' | 'CalendarDataBar' | 'CalendarDate' | 'CalendarDay' | 'CalendarEdit' | 'CalendarEmpty' | 'CalendarError' | 'CalendarEye' | 'CalendarInfo' | 'CalendarLink' | 'CalendarLock' | 'CalendarLtr' | 'CalendarMail' | 'CalendarMention' | 'CalendarMonth' | 'CalendarMultiple' | 'CalendarNote' | 'CalendarPattern' | 'CalendarPerson' | 'CalendarPhone' | 'CalendarPlay' | 'CalendarQuestionMark' | 'CalendarRecord' | 'CalendarReply' | 'CalendarRtl' | 'CalendarSearch' | 'CalendarSettings' | 'CalendarShield' | 'CalendarStar' | 'CalendarSync' | 'CalendarToday' | 'CalendarToolbox' | 'CalendarVideo' | 'CalendarWeekNumbers' | 'CalendarWeekStart' | 'CalendarWorkWeek' | 'Call' | 'CallAdd' | 'CallCheckmark' | 'CallConnecting' | 'CallDismiss' | 'CallEnd' | 'CallExclamation' | 'CallForward' | 'CallInbound' | 'CallMissed' | 'CallOutbound' | 'CallPark' | 'CallPause' | 'CallProhibited' | 'CallTransfer' | 'CallWarning' | 'CalligraphyPen' | 'CalligraphyPenCheckmark' | 'CalligraphyPenError' | 'CalligraphyPenQuestionMark' | 'Camera' | 'CameraAdd' | 'CameraDome' | 'CameraEdit' | 'CameraOff' | 'CameraSparkles' | 'CameraSwitch' | 'CardUi' | 'CaretDown' | 'CaretDownRight' | 'CaretLeft' | 'CaretRight' | 'CaretUp' | 'Cart' | 'Cast' | 'CastMultiple' | 'CatchUp' | 'Cd' | 'Cellular3G' | 'Cellular4G' | 'Cellular5G' | 'CellularData1' | 'CellularData2' | 'CellularData3' | 'CellularData4' | 'CellularData5' | 'CellularOff' | 'CellularWarning' | 'CenterHorizontal' | 'CenterVertical' | 'Certificate' | 'Channel' | 'ChannelAdd' | 'ChannelAlert' | 'ChannelArrowLeft' | 'ChannelDismiss' | 'ChannelShare' | 'ChannelSubtract' | 'ChartMultiple' | 'ChartPerson' | 'Chat' | 'ChatAdd' | 'ChatArrowBack' | 'ChatArrowDoubleBack' | 'ChatBubblesQuestion' | 'ChatCursor' | 'ChatDismiss' | 'ChatEmpty' | 'ChatHelp' | 'ChatLock' | 'ChatMail' | 'ChatMultiple' | 'ChatMultipleHeart' | 'ChatOff' | 'ChatSettings' | 'ChatSparkle' | 'ChatVideo' | 'ChatWarning' | 'Check' | 'Checkbox1' | 'Checkbox2' | 'CheckboxArrowRight' | 'CheckboxChecked' | 'CheckboxCheckedSync' | 'CheckboxIndeterminate' | 'CheckboxPerson' | 'CheckboxUnchecked' | 'CheckboxWarning' | 'Checkmark' | 'CheckmarkCircle' | 'CheckmarkCircleSquare' | 'CheckmarkLock' | 'CheckmarkNote' | 'CheckmarkSquare' | 'CheckmarkStarburst' | 'CheckmarkUnderlineCircle' | 'Chess' | 'ChevronCircleDown' | 'ChevronCircleLeft' | 'ChevronCircleRight' | 'ChevronCircleUp' | 'ChevronDoubleDown' | 'ChevronDoubleLeft' | 'ChevronDoubleRight' | 'ChevronDoubleUp' | 'ChevronDown' | 'ChevronDownUp' | 'ChevronLeft' | 'ChevronRight' | 'ChevronUp' | 'ChevronUpDown' | 'Circle' | 'CircleEdit' | 'CircleEraser' | 'CircleHalfFill' | 'CircleHint' | 'CircleHintHalfVertical' | 'CircleImage' | 'CircleLine' | 'CircleMultipleSubtractCheckmark' | 'CircleOff' | 'CircleSmall' | 'City' | 'Class' | 'Classification' | 'ClearFormatting' | 'Clipboard' | 'Clipboard3Day' | 'ClipboardArrowRight' | 'ClipboardBrush' | 'ClipboardBulletList' | 'ClipboardBulletListLtr' | 'ClipboardBulletListRtl' | 'ClipboardCheckmark' | 'ClipboardClock' | 'ClipboardCode' | 'ClipboardDataBar' | 'ClipboardDay' | 'ClipboardEdit' | 'ClipboardError' | 'ClipboardHeart' | 'ClipboardImage' | 'ClipboardLetter' | 'ClipboardLink' | 'ClipboardMathFormula' | 'ClipboardMonth' | 'ClipboardMore' | 'ClipboardMultiple' | 'ClipboardNote' | 'ClipboardNumber123' | 'ClipboardPaste' | 'ClipboardPulse' | 'ClipboardSearch' | 'ClipboardSettings' | 'ClipboardTask' | 'ClipboardTaskAdd' | 'ClipboardTaskList' | 'ClipboardTaskListLtr' | 'ClipboardTaskListRtl' | 'ClipboardText' | 'ClipboardTextEdit' | 'ClipboardTextLtr' | 'ClipboardTextRtl' | 'Clock' | 'ClockAlarm' | 'ClockArrowDownload' | 'ClockDismiss' | 'ClockLock' | 'ClockPause' | 'ClockToolbox' | 'ClosedCaption' | 'ClosedCaptionOff' | 'Cloud' | 'CloudAdd' | 'CloudArchive' | 'CloudArrowDown' | 'CloudArrowUp' | 'CloudBeaker' | 'CloudBidirectional' | 'CloudCheckmark' | 'CloudCube' | 'CloudDatabase' | 'CloudDesktop' | 'CloudDismiss' | 'CloudEdit' | 'CloudError' | 'CloudFlow' | 'CloudLink' | 'CloudOff' | 'CloudSwap' | 'CloudSync' | 'CloudWords' | 'Clover' | 'Code' | 'CodeBlock' | 'CodeCircle' | 'CodeCs' | 'CodeCsRectangle' | 'CodeFs' | 'CodeFsRectangle' | 'CodeJs' | 'CodeJsRectangle' | 'CodePy' | 'CodePyRectangle' | 'CodeRb' | 'CodeRbRectangle' | 'CodeText' | 'CodeTextEdit' | 'CodeTextOff' | 'CodeTs' | 'CodeTsRectangle' | 'CodeVb' | 'CodeVbRectangle' | 'Collections' | 'CollectionsAdd' | 'Color' | 'ColorBackground' | 'ColorBackgroundAccent' | 'ColorFill' | 'ColorFillAccent' | 'ColorLine' | 'ColorLineAccent' | 'Column' | 'ColumnArrowRight' | 'ColumnDoubleCompare' | 'ColumnEdit' | 'ColumnSingle' | 'ColumnSingleCompare' | 'ColumnTriple' | 'ColumnTripleEdit' | 'Comma' | 'Comment' | 'CommentAdd' | 'CommentArrowLeft' | 'CommentArrowRight' | 'CommentCheckmark' | 'CommentDismiss' | 'CommentEdit' | 'CommentError' | 'CommentLightning' | 'CommentLink' | 'CommentMention' | 'CommentMultiple' | 'CommentMultipleCheckmark' | 'CommentMultipleLink' | 'CommentNote' | 'CommentOff' | 'Communication' | 'CommunicationPerson' | 'CommunicationShield' | 'CompassNorthwest' | 'Component2DoubleTapSwipeDown' | 'Component2DoubleTapSwipeUp' | 'Compose' | 'Cone' | 'ConferenceRoom' | 'Connected' | 'Connector' | 'ContactCard' | 'ContactCardGroup' | 'ContactCardLink' | 'ContactCardRibbon' | 'ContentSettings' | 'ContentView' | 'ContentViewGallery' | 'ContentViewGalleryLightning' | 'ContractDownLeft' | 'ContractUpRight' | 'ControlButton' | 'ConvertRange' | 'Cookies' | 'Copy' | 'CopyAdd' | 'CopyArrowRight' | 'CopySelect' | 'Couch' | 'CreditCardClock' | 'CreditCardPerson' | 'CreditCardToolbox' | 'Crop' | 'CropInterim' | 'CropInterimOff' | 'CropSparkle' | 'Crown' | 'CrownSubtract' | 'Cube' | 'CubeAdd' | 'CubeArrowCurveDown' | 'CubeLink' | 'CubeMultiple' | 'CubeQuick' | 'CubeRotate' | 'CubeSync' | 'CubeTree' | 'CurrencyDollarEuro' | 'CurrencyDollarRupee' | 'Cursor' | 'CursorClick' | 'CursorHover' | 'CursorHoverOff' | 'CursorProhibited' | 'Cut' | 'DarkTheme' | 'DataArea' | 'DataBarHorizontal' | 'DataBarHorizontalDescending' | 'DataBarVertical' | 'DataBarVerticalAdd' | 'DataBarVerticalAscending' | 'DataBarVerticalStar' | 'DataFunnel' | 'DataHistogram' | 'DataLine' | 'DataPie' | 'DataScatter' | 'DataSunburst' | 'DataTreemap' | 'DataTrending' | 'DataUsage' | 'DataUsageEdit' | 'DataUsageSettings' | 'DataUsageToolbox' | 'DataWaterfall' | 'DataWhisker' | 'Database' | 'DatabaseArrowDown' | 'DatabaseArrowRight' | 'DatabaseArrowUp' | 'DatabaseLightning' | 'DatabaseLink' | 'DatabaseMultiple' | 'DatabasePerson' | 'DatabasePlugConnected' | 'DatabaseSearch' | 'DatabaseStack' | 'DatabaseSwitch' | 'DatabaseWarning' | 'DatabaseWindow' | 'DecimalArrowLeft' | 'DecimalArrowRight' | 'Delete' | 'DeleteArrowBack' | 'DeleteDismiss' | 'DeleteLines' | 'DeleteOff' | 'Dentist' | 'DesignIdeas' | 'Desk' | 'Desktop' | 'DesktopArrowDown' | 'DesktopArrowRight' | 'DesktopCheckmark' | 'DesktopCursor' | 'DesktopEdit' | 'DesktopFlow' | 'DesktopKeyboard' | 'DesktopMac' | 'DesktopPulse' | 'DesktopSignal' | 'DesktopSpeaker' | 'DesktopSpeakerOff' | 'DesktopSync' | 'DesktopToolbox' | 'DesktopTower' | 'DeveloperBoard' | 'DeveloperBoardLightning' | 'DeveloperBoardLightningToolbox' | 'DeveloperBoardSearch' | 'DeviceEq' | 'DeviceMeetingRoom' | 'DeviceMeetingRoomRemote' | 'Diagram' | 'Dialpad' | 'DialpadOff' | 'DialpadQuestionMark' | 'Diamond' | 'Directions' | 'Dishwasher' | 'Dismiss' | 'DismissCircle' | 'DismissSquare' | 'DismissSquareMultiple' | 'Diversity' | 'DividerShort' | 'DividerTall' | 'Dock' | 'DockRow' | 'Doctor' | 'Document100' | 'Document' | 'DocumentAdd' | 'DocumentArrowDown' | 'DocumentArrowLeft' | 'DocumentArrowRight' | 'DocumentArrowUp' | 'DocumentBorder' | 'DocumentBorderPrint' | 'DocumentBriefcase' | 'DocumentBulletList' | 'DocumentBulletListArrowLeft' | 'DocumentBulletListClock' | 'DocumentBulletListCube' | 'DocumentBulletListMultiple' | 'DocumentBulletListOff' | 'DocumentCatchUp' | 'DocumentCheckmark' | 'DocumentChevronDouble' | 'DocumentContract' | 'DocumentCopy' | 'DocumentCs' | 'DocumentCss' | 'DocumentCube' | 'DocumentData' | 'DocumentDataLink' | 'DocumentDataLock' | 'DocumentDatabase' | 'DocumentDismiss' | 'DocumentEdit' | 'DocumentEndnote' | 'DocumentError' | 'DocumentFit' | 'DocumentFlowchart' | 'DocumentFolder' | 'DocumentFooter' | 'DocumentFooterDismiss' | 'DocumentFs' | 'DocumentHeader' | 'DocumentHeaderArrowDown' | 'DocumentHeaderDismiss' | 'DocumentHeaderFooter' | 'DocumentHeart' | 'DocumentHeartPulse' | 'DocumentImage' | 'DocumentJava' | 'DocumentJavascript' | 'DocumentJs' | 'DocumentKey' | 'DocumentLandscape' | 'DocumentLandscapeData' | 'DocumentLandscapeSplit' | 'DocumentLandscapeSplitHint' | 'DocumentLightning' | 'DocumentLink' | 'DocumentLock' | 'DocumentMargins' | 'DocumentMention' | 'DocumentMultiple' | 'DocumentMultiplePercent' | 'DocumentMultipleProhibited' | 'DocumentMultipleSync' | 'DocumentNumber1' | 'DocumentOnePage' | 'DocumentOnePageAdd' | 'DocumentOnePageBeaker' | 'DocumentOnePageColumns' | 'DocumentOnePageLink' | 'DocumentOnePageMultiple' | 'DocumentOnePageSparkle' | 'DocumentPageBottomCenter' | 'DocumentPageBottomLeft' | 'DocumentPageBottomRight' | 'DocumentPageBreak' | 'DocumentPageNumber' | 'DocumentPageTopCenter' | 'DocumentPageTopLeft' | 'DocumentPageTopRight' | 'DocumentPdf' | 'DocumentPercent' | 'DocumentPerson' | 'DocumentPill' | 'DocumentPrint' | 'DocumentProhibited' | 'DocumentPy' | 'DocumentQuestionMark' | 'DocumentQueue' | 'DocumentQueueAdd' | 'DocumentQueueMultiple' | 'DocumentRb' | 'DocumentRibbon' | 'DocumentSass' | 'DocumentSave' | 'DocumentSearch' | 'DocumentSettings' | 'DocumentSplitHint' | 'DocumentSplitHintOff' | 'DocumentSync' | 'DocumentTable' | 'DocumentTableArrowRight' | 'DocumentTableCheckmark' | 'DocumentTableCube' | 'DocumentTableSearch' | 'DocumentTableTruck' | 'DocumentTarget' | 'DocumentText' | 'DocumentTextClock' | 'DocumentTextExtract' | 'DocumentTextLink' | 'DocumentTextToolbox' | 'DocumentToolbox' | 'DocumentTs' | 'DocumentVb' | 'DocumentWidth' | 'DocumentYml' | 'Door' | 'DoorArrowLeft' | 'DoorArrowRight' | 'DoorTag' | 'DoubleSwipeDown' | 'DoubleSwipeUp' | 'DoubleTapSwipeDown' | 'DoubleTapSwipeUp' | 'Drafts' | 'Drag' | 'DrawImage' | 'DrawShape' | 'DrawText' | 'Drawer' | 'DrawerAdd' | 'DrawerArrowDownload' | 'DrawerDismiss' | 'DrawerPlay' | 'DrawerSubtract' | 'DrinkBeer' | 'DrinkBottle' | 'DrinkBottleOff' | 'DrinkCoffee' | 'DrinkMargarita' | 'DrinkToGo' | 'DrinkWine' | 'DriveTrain' | 'Drop' | 'DualScreen' | 'DualScreenAdd' | 'DualScreenArrowRight' | 'DualScreenArrowUp' | 'DualScreenClock' | 'DualScreenClosedAlert' | 'DualScreenDesktop' | 'DualScreenDismiss' | 'DualScreenGroup' | 'DualScreenHeader' | 'DualScreenLock' | 'DualScreenMirror' | 'DualScreenPagination' | 'DualScreenSettings' | 'DualScreenSpan' | 'DualScreenSpeaker' | 'DualScreenStatusBar' | 'DualScreenTablet' | 'DualScreenUpdate' | 'DualScreenVerticalScroll' | 'DualScreenVibrate' | 'Dumbbell' | 'Dust' | 'Earth' | 'EarthLeaf' | 'Edit' | 'EditArrowBack' | 'EditOff' | 'EditProhibited' | 'EditSettings' | 'Elevator' | 'Emoji' | 'EmojiAdd' | 'EmojiAngry' | 'EmojiEdit' | 'EmojiHand' | 'EmojiHint' | 'EmojiLaugh' | 'EmojiMeh' | 'EmojiMultiple' | 'EmojiSad' | 'EmojiSadSlight' | 'EmojiSmileSlight' | 'EmojiSparkle' | 'EmojiSurprise' | 'Engine' | 'EqualCircle' | 'EqualOff' | 'Eraser' | 'EraserMedium' | 'EraserSegment' | 'EraserSmall' | 'EraserTool' | 'ErrorCircle' | 'ErrorCircleSettings' | 'ExpandUpLeft' | 'ExpandUpRight' | 'ExtendedDock' | 'Eye' | 'EyeLines' | 'EyeOff' | 'EyeTracking' | 'EyeTrackingOff' | 'Eyedropper' | 'EyedropperOff' | 'FStop' | 'FastAcceleration' | 'FastForward' | 'Fax' | 'Feed' | 'Filmstrip' | 'FilmstripImage' | 'FilmstripOff' | 'FilmstripPlay' | 'FilmstripSplit' | 'Filter' | 'FilterAdd' | 'FilterDismiss' | 'FilterSync' | 'Fingerprint' | 'Fire' | 'Fireplace' | 'FixedWidth' | 'Flag' | 'FlagCheckered' | 'FlagClock' | 'FlagOff' | 'FlagPride' | 'FlagPrideIntersexInclusiveProgress' | 'FlagPridePhiladelphia' | 'FlagPrideProgress' | 'Flash' | 'FlashAdd' | 'FlashAuto' | 'FlashCheckmark' | 'FlashFlow' | 'FlashOff' | 'FlashPlay' | 'FlashSettings' | 'FlashSparkle' | 'Flashlight' | 'FlashlightOff' | 'FlipHorizontal' | 'FlipVertical' | 'Flow' | 'Flowchart' | 'FlowchartCircle' | 'Fluent' | 'Fluid' | 'Folder' | 'FolderAdd' | 'FolderArrowLeft' | 'FolderArrowRight' | 'FolderArrowUp' | 'FolderBriefcase' | 'FolderGlobe' | 'FolderLightning' | 'FolderLink' | 'FolderList' | 'FolderMail' | 'FolderMultiple' | 'FolderOpen' | 'FolderOpenVertical' | 'FolderPeople' | 'FolderPerson' | 'FolderProhibited' | 'FolderSearch' | 'FolderSwap' | 'FolderSync' | 'FolderZip' | 'FontDecrease' | 'FontIncrease' | 'FontSpaceTrackingIn' | 'FontSpaceTrackingOut' | 'Food' | 'FoodApple' | 'FoodCake' | 'FoodCarrot' | 'FoodChickenLeg' | 'FoodEgg' | 'FoodFish' | 'FoodGrains' | 'FoodPizza' | 'FoodToast' | 'Form' | 'FormMultiple' | 'FormNew' | 'Fps120' | 'Fps240' | 'Fps30' | 'Fps60' | 'Fps960' | 'Frame' | 'FullScreenMaximize' | 'FullScreenMinimize' | 'Games' | 'GanttChart' | 'Gas' | 'GasPump' | 'Gather' | 'Gauge' | 'GaugeAdd' | 'Gavel' | 'GavelProhibited' | 'Gesture' | 'Gif' | 'Gift' | 'GiftCard' | 'GiftCardAdd' | 'GiftCardArrowRight' | 'GiftCardMoney' | 'GiftCardMultiple' | 'GiftOpen' | 'Glance' | 'GlanceDefault' | 'GlanceHorizontal' | 'GlanceHorizontalSparkle' | 'GlanceHorizontalSparkles' | 'Glasses' | 'GlassesOff' | 'Globe' | 'GlobeAdd' | 'GlobeArrowForward' | 'GlobeArrowUp' | 'GlobeClock' | 'GlobeDesktop' | 'GlobeError' | 'GlobeLocation' | 'GlobePerson' | 'GlobeProhibited' | 'GlobeSearch' | 'GlobeShield' | 'GlobeStar' | 'GlobeSurface' | 'GlobeSync' | 'GlobeVideo' | 'GlobeWarning' | 'Grid' | 'GridCircles' | 'GridDots' | 'GridKanban' | 'Group' | 'GroupDismiss' | 'GroupList' | 'GroupReturn' | 'Guardian' | 'Guest' | 'GuestAdd' | 'Guitar' | 'HandDraw' | 'HandLeft' | 'HandLeftChat' | 'HandOpenHeart' | 'HandRight' | 'HandRightOff' | 'HandWave' | 'Handshake' | 'HardDrive' | 'HardDriveCall' | 'HatGraduation' | 'HatGraduationAdd' | 'HatGraduationSparkle' | 'Hd' | 'Hdr' | 'HdrOff' | 'Headphones' | 'HeadphonesSoundWave' | 'Headset' | 'HeadsetAdd' | 'HeadsetVr' | 'Heart' | 'HeartBroken' | 'HeartCircle' | 'HeartCircleHint' | 'HeartOff' | 'HeartPulse' | 'HeartPulseCheckmark' | 'HeartPulseError' | 'HeartPulseWarning' | 'Hexagon' | 'HexagonThree' | 'Highlight' | 'HighlightAccent' | 'HighlightLink' | 'History' | 'HistoryDismiss' | 'Home' | 'HomeAdd' | 'HomeCheckmark' | 'HomeDatabase' | 'HomeHeart' | 'HomeMore' | 'HomePerson' | 'HomeSplit' | 'Hourglass' | 'HourglassHalf' | 'HourglassOneQuarter' | 'HourglassThreeQuarter' | 'Icons' | 'Image' | 'ImageAdd' | 'ImageAltText' | 'ImageArrowBack' | 'ImageArrowCounterclockwise' | 'ImageArrowForward' | 'ImageBorder' | 'ImageCircle' | 'ImageCopy' | 'ImageEdit' | 'ImageGlobe' | 'ImageMultiple' | 'ImageMultipleOff' | 'ImageOff' | 'ImageProhibited' | 'ImageReflection' | 'ImageSearch' | 'ImageShadow' | 'ImageSparkle' | 'ImageStack' | 'ImageTable' | 'ImmersiveReader' | 'Important' | 'Incognito' | 'Info' | 'InfoShield' | 'InkStroke' | 'InkStrokeArrowDown' | 'InkStrokeArrowUpDown' | 'InkingTool' | 'InkingToolAccent' | 'InprivateAccount' | 'Insert' | 'IosArrow' | 'IosArrowLtr' | 'IosArrowRtl' | 'IosChevronRight' | 'Iot' | 'IotAlert' | 'Javascript' | 'Joystick' | 'Key' | 'KeyCommand' | 'KeyMultiple' | 'KeyReset' | 'Keyboard123' | 'Keyboard' | 'KeyboardDock' | 'KeyboardLayoutFloat' | 'KeyboardLayoutOneHandedLeft' | 'KeyboardLayoutResize' | 'KeyboardLayoutSplit' | 'KeyboardMouse' | 'KeyboardShift' | 'KeyboardShiftUppercase' | 'KeyboardTab' | 'Kiosk' | 'Laptop' | 'LaptopDismiss' | 'LaptopMultiple' | 'LaptopSettings' | 'LaptopShield' | 'LaserTool' | 'Lasso' | 'LauncherSettings' | 'Layer' | 'LayerDiagonal' | 'LayerDiagonalAdd' | 'LayerDiagonalPerson' | 'LayoutCellFour' | 'LayoutCellFourFocusBottomLeft' | 'LayoutCellFourFocusBottomRight' | 'LayoutCellFourFocusTopLeft' | 'LayoutCellFourFocusTopRight' | 'LayoutColumnFour' | 'LayoutColumnFourFocusCenterLeft' | 'LayoutColumnFourFocusCenterRight' | 'LayoutColumnFourFocusLeft' | 'LayoutColumnFourFocusRight' | 'LayoutColumnOneThirdLeft' | 'LayoutColumnOneThirdRight' | 'LayoutColumnOneThirdRightHint' | 'LayoutColumnThree' | 'LayoutColumnThreeFocusCenter' | 'LayoutColumnThreeFocusLeft' | 'LayoutColumnThreeFocusRight' | 'LayoutColumnTwo' | 'LayoutColumnTwoFocusLeft' | 'LayoutColumnTwoFocusRight' | 'LayoutColumnTwoSplitLeft' | 'LayoutColumnTwoSplitLeftFocusBottomLeft' | 'LayoutColumnTwoSplitLeftFocusRight' | 'LayoutColumnTwoSplitLeftFocusTopLeft' | 'LayoutColumnTwoSplitRight' | 'LayoutColumnTwoSplitRightFocusBottomRight' | 'LayoutColumnTwoSplitRightFocusLeft' | 'LayoutColumnTwoSplitRightFocusTopRight' | 'LayoutRowFour' | 'LayoutRowFourFocusBottom' | 'LayoutRowFourFocusCenterBottom' | 'LayoutRowFourFocusCenterTop' | 'LayoutRowFourFocusTop' | 'LayoutRowThree' | 'LayoutRowThreeFocusBottom' | 'LayoutRowThreeFocusCenter' | 'LayoutRowThreeFocusTop' | 'LayoutRowTwo' | 'LayoutRowTwoFocusBottom' | 'LayoutRowTwoFocusTop' | 'LayoutRowTwoSplitBottom' | 'LayoutRowTwoSplitBottomFocusBottomLeft' | 'LayoutRowTwoSplitBottomFocusBottomRight' | 'LayoutRowTwoSplitBottomFocusTop' | 'LayoutRowTwoSplitTop' | 'LayoutRowTwoSplitTopFocusBottom' | 'LayoutRowTwoSplitTopFocusTopLeft' | 'LayoutRowTwoSplitTopFocusTopRight' | 'LeafOne' | 'LeafThree' | 'LeafTwo' | 'LearningApp' | 'Library' | 'Lightbulb' | 'LightbulbCheckmark' | 'LightbulbCircle' | 'LightbulbFilament' | 'LightbulbPerson' | 'Likert' | 'Line' | 'LineDashes' | 'LineHorizontal1' | 'LineHorizontal1Dashes' | 'LineHorizontal2DashesSolid' | 'LineHorizontal3' | 'LineHorizontal4' | 'LineHorizontal4Search' | 'LineHorizontal5' | 'LineHorizontal5Error' | 'LineStyle' | 'LineThickness' | 'Link' | 'LinkAdd' | 'LinkDismiss' | 'LinkEdit' | 'LinkMultiple' | 'LinkPerson' | 'LinkSettings' | 'LinkSquare' | 'LinkToolbox' | 'List' | 'ListBar' | 'ListBarTree' | 'ListBarTreeOffset' | 'ListRtl' | 'Live' | 'LiveOff' | 'LocalLanguage' | 'Location' | 'LocationAdd' | 'LocationAddLeft' | 'LocationAddRight' | 'LocationAddUp' | 'LocationArrow' | 'LocationArrowLeft' | 'LocationArrowRight' | 'LocationArrowUp' | 'LocationDismiss' | 'LocationLive' | 'LocationOff' | 'LocationTargetSquare' | 'LockClosed' | 'LockClosedKey' | 'LockMultiple' | 'LockOpen' | 'LockShield' | 'Lottery' | 'Luggage' | 'Mail' | 'MailAdd' | 'MailAlert' | 'MailAllRead' | 'MailAllUnread' | 'MailArrowDoubleBack' | 'MailArrowDown' | 'MailArrowForward' | 'MailArrowUp' | 'MailAttach' | 'MailCheckmark' | 'MailClock' | 'MailCopy' | 'MailDismiss' | 'MailEdit' | 'MailError' | 'MailInbox' | 'MailInboxAdd' | 'MailInboxAll' | 'MailInboxArrowDown' | 'MailInboxArrowRight' | 'MailInboxArrowUp' | 'MailInboxCheckmark' | 'MailInboxDismiss' | 'MailLink' | 'MailList' | 'MailMultiple' | 'MailOff' | 'MailOpenPerson' | 'MailPause' | 'MailProhibited' | 'MailRead' | 'MailReadMultiple' | 'MailRewind' | 'MailSettings' | 'MailShield' | 'MailTemplate' | 'MailUnread' | 'MailWarning' | 'Mailbox' | 'Map' | 'MapDrive' | 'Markdown' | 'MatchAppLayout' | 'MathFormatLinear' | 'MathFormatProfessional' | 'MathFormula' | 'MathSymbols' | 'Maximize' | 'MeetNow' | 'Megaphone' | 'MegaphoneCircle' | 'MegaphoneLoud' | 'MegaphoneOff' | 'Memory' | 'Mention' | 'MentionArrowDown' | 'MentionBrackets' | 'Merge' | 'Mic' | 'MicOff' | 'MicProhibited' | 'MicPulse' | 'MicPulseOff' | 'MicRecord' | 'MicSettings' | 'MicSparkle' | 'MicSync' | 'Microscope' | 'Midi' | 'MobileOptimized' | 'Mold' | 'Molecule' | 'Money' | 'MoneyCalculator' | 'MoneyDismiss' | 'MoneyHand' | 'MoneyOff' | 'MoneySettings' | 'MoreCircle' | 'MoreHorizontal' | 'MoreVertical' | 'MountainLocationBottom' | 'MountainLocationTop' | 'MountainTrail' | 'MoviesAndTv' | 'Multiplier12X' | 'Multiplier15X' | 'Multiplier18X' | 'Multiplier1X' | 'Multiplier2X' | 'Multiplier5X' | 'MultiselectLtr' | 'MultiselectRtl' | 'MusicNote1' | 'MusicNote2' | 'MusicNote2Play' | 'MusicNoteOff1' | 'MusicNoteOff2' | 'MyLocation' | 'Navigation' | 'NavigationLocationTarget' | 'NavigationPlay' | 'NavigationUnread' | 'NetworkAdapter' | 'NetworkCheck' | 'New' | 'News' | 'Next' | 'NextFrame' | 'Note' | 'NoteAdd' | 'NoteEdit' | 'NotePin' | 'Notebook' | 'NotebookAdd' | 'NotebookArrowCurveDown' | 'NotebookError' | 'NotebookEye' | 'NotebookLightning' | 'NotebookQuestionMark' | 'NotebookSection' | 'NotebookSectionArrowRight' | 'NotebookSubsection' | 'NotebookSync' | 'Notepad' | 'NotepadEdit' | 'NotepadPerson' | 'NumberCircle0' | 'NumberCircle1' | 'NumberCircle2' | 'NumberCircle3' | 'NumberCircle4' | 'NumberCircle5' | 'NumberCircle6' | 'NumberCircle7' | 'NumberCircle8' | 'NumberCircle9' | 'NumberRow' | 'NumberSymbol' | 'NumberSymbolDismiss' | 'NumberSymbolSquare' | 'Open' | 'OpenFolder' | 'OpenOff' | 'Options' | 'Organization' | 'OrganizationHorizontal' | 'Orientation' | 'Oval' | 'Oven' | 'PaddingDown' | 'PaddingLeft' | 'PaddingRight' | 'PaddingTop' | 'PageFit' | 'PaintBrush' | 'PaintBrushArrowDown' | 'PaintBrushArrowUp' | 'PaintBucket' | 'Pair' | 'PanelBottom' | 'PanelBottomContract' | 'PanelBottomExpand' | 'PanelLeft' | 'PanelLeftAdd' | 'PanelLeftContract' | 'PanelLeftExpand' | 'PanelLeftFocusRight' | 'PanelLeftHeader' | 'PanelLeftHeaderAdd' | 'PanelLeftHeaderKey' | 'PanelLeftKey' | 'PanelLeftText' | 'PanelLeftTextAdd' | 'PanelLeftTextDismiss' | 'PanelRight' | 'PanelRightAdd' | 'PanelRightContract' | 'PanelRightCursor' | 'PanelRightExpand' | 'PanelRightGallery' | 'PanelSeparateWindow' | 'PanelTopContract' | 'PanelTopExpand' | 'PanelTopGallery' | 'Password' | 'Patch' | 'Patient' | 'Pause' | 'PauseCircle' | 'PauseOff' | 'PauseSettings' | 'Payment' | 'Pen' | 'PenDismiss' | 'PenOff' | 'PenProhibited' | 'PenSparkle' | 'Pentagon' | 'People' | 'PeopleAdd' | 'PeopleAudience' | 'PeopleCall' | 'PeopleChat' | 'PeopleCheckmark' | 'PeopleCommunity' | 'PeopleCommunityAdd' | 'PeopleEdit' | 'PeopleError' | 'PeopleList' | 'PeopleLock' | 'PeopleMoney' | 'PeopleProhibited' | 'PeopleQueue' | 'PeopleSearch' | 'PeopleSettings' | 'PeopleStar' | 'PeopleSwap' | 'PeopleSync' | 'PeopleTeam' | 'PeopleTeamAdd' | 'PeopleTeamDelete' | 'PeopleTeamToolbox' | 'PeopleToolbox' | 'Person' | 'Person5' | 'Person6' | 'PersonAccounts' | 'PersonAdd' | 'PersonAlert' | 'PersonArrowBack' | 'PersonArrowLeft' | 'PersonArrowRight' | 'PersonAvailable' | 'PersonBoard' | 'PersonCall' | 'PersonChat' | 'PersonCircle' | 'PersonClock' | 'PersonDelete' | 'PersonDesktop' | 'PersonEdit' | 'PersonFeedback' | 'PersonHeart' | 'PersonInfo' | 'PersonKey' | 'PersonLightbulb' | 'PersonLightning' | 'PersonLink' | 'PersonLock' | 'PersonMail' | 'PersonMoney' | 'PersonNote' | 'PersonPhone' | 'PersonPill' | 'PersonProhibited' | 'PersonQuestionMark' | 'PersonRibbon' | 'PersonRunning' | 'PersonSearch' | 'PersonSettings' | 'PersonSquare' | 'PersonSquareCheckmark' | 'PersonStanding' | 'PersonStar' | 'PersonStarburst' | 'PersonSubtract' | 'PersonSupport' | 'PersonSwap' | 'PersonSync' | 'PersonTag' | 'PersonVoice' | 'PersonWalking' | 'PersonWarning' | 'PersonWrench' | 'Phone' | 'PhoneAdd' | 'PhoneArrowRight' | 'PhoneBriefcase' | 'PhoneChat' | 'PhoneCheckmark' | 'PhoneDesktop' | 'PhoneDesktopAdd' | 'PhoneDismiss' | 'PhoneEdit' | 'PhoneEraser' | 'PhoneFooterArrowDown' | 'PhoneHeaderArrowUp' | 'PhoneKey' | 'PhoneLaptop' | 'PhoneLinkSetup' | 'PhoneLock' | 'PhoneMultiple' | 'PhoneMultipleSettings' | 'PhonePageHeader' | 'PhonePagination' | 'PhonePerson' | 'PhoneScreenTime' | 'PhoneShake' | 'PhoneSpanIn' | 'PhoneSpanOut' | 'PhoneSpeaker' | 'PhoneStatusBar' | 'PhoneSubtract' | 'PhoneTablet' | 'PhoneUpdate' | 'PhoneUpdateCheckmark' | 'PhoneVerticalScroll' | 'PhoneVibrate' | 'PhotoFilter' | 'Pi' | 'PictureInPicture' | 'PictureInPictureEnter' | 'PictureInPictureExit' | 'Pill' | 'Pin' | 'PinOff' | 'Pipeline' | 'PipelineAdd' | 'PipelineArrowCurveDown' | 'PipelinePlay' | 'Pivot' | 'PlantGrass' | 'PlantRagweed' | 'Play' | 'PlayCircle' | 'PlayCircleHint' | 'PlayMultiple' | 'PlaySettings' | 'PlayingCards' | 'PlugConnected' | 'PlugConnectedAdd' | 'PlugConnectedCheckmark' | 'PlugConnectedSettings' | 'PlugDisconnected' | 'PointScan' | 'Poll' | 'PollHorizontal' | 'PollOff' | 'PortHdmi' | 'PortMicroUsb' | 'PortUsbA' | 'PortUsbC' | 'PositionBackward' | 'PositionForward' | 'PositionToBack' | 'PositionToFront' | 'Power' | 'Predictions' | 'Premium' | 'PremiumPerson' | 'PresenceAvailable' | 'PresenceAway' | 'PresenceBlocked' | 'PresenceBusy' | 'PresenceDnd' | 'PresenceOffline' | 'PresenceOof' | 'PresenceUnknown' | 'Presenter' | 'PresenterOff' | 'PreviewLink' | 'Previous' | 'PreviousFrame' | 'Print' | 'PrintAdd' | 'Production' | 'ProductionCheckmark' | 'Prohibited' | 'ProhibitedMultiple' | 'ProhibitedNote' | 'ProjectionScreen' | 'ProjectionScreenDismiss' | 'ProjectionScreenText' | 'ProtocolHandler' | 'Pulse' | 'PulseSquare' | 'PuzzleCube' | 'PuzzleCubePiece' | 'PuzzlePiece' | 'PuzzlePieceShield' | 'QrCode' | 'Question' | 'QuestionCircle' | 'QuizNew' | 'Radar' | 'RadarCheckmark' | 'RadarRectangleMultiple' | 'RadioButton' | 'RadioButtonOff' | 'Ram' | 'RatingMature' | 'RatioOneToOne' | 'ReOrder' | 'ReOrderDotsHorizontal' | 'ReOrderDotsVertical' | 'ReadAloud' | 'ReadingList' | 'ReadingListAdd' | 'ReadingModeMobile' | 'RealEstate' | 'Receipt' | 'ReceiptAdd' | 'ReceiptBag' | 'ReceiptCube' | 'ReceiptMoney' | 'ReceiptPlay' | 'ReceiptSearch' | 'ReceiptSparkles' | 'Record' | 'RecordStop' | 'RectangleLandscape' | 'RectangleLandscapeHintCopy' | 'RectangleLandscapeSparkle' | 'RectangleLandscapeSync' | 'RectangleLandscapeSyncOff' | 'RectanglePortraitLocationTarget' | 'Recycle' | 'RemixAdd' | 'Remote' | 'Rename' | 'Reorder' | 'Replay' | 'Resize' | 'ResizeImage' | 'ResizeLarge' | 'ResizeSmall' | 'ResizeTable' | 'ResizeVideo' | 'Reward' | 'Rewind' | 'Rhombus' | 'Ribbon' | 'RibbonAdd' | 'RibbonOff' | 'RibbonStar' | 'RoadCone' | 'Rocket' | 'RotateLeft' | 'RotateRight' | 'Router' | 'RowTriple' | 'Rss' | 'Ruler' | 'Run' | 'Sanitize' | 'Save' | 'SaveArrowRight' | 'SaveCopy' | 'SaveEdit' | 'SaveImage' | 'SaveMultiple' | 'SaveSearch' | 'SaveSync' | 'Savings' | 'ScaleFill' | 'ScaleFit' | 'Scales' | 'Scan' | 'ScanCamera' | 'ScanDash' | 'ScanObject' | 'ScanPerson' | 'ScanQrCode' | 'ScanTable' | 'ScanText' | 'ScanThumbUp' | 'ScanThumbUpOff' | 'ScanType' | 'ScanTypeCheckmark' | 'ScanTypeOff' | 'Scratchpad' | 'ScreenCut' | 'ScreenPerson' | 'ScreenSearch' | 'Screenshot' | 'ScreenshotRecord' | 'Script' | 'Search' | 'SearchInfo' | 'SearchSettings' | 'SearchShield' | 'SearchSquare' | 'SearchVisual' | 'Seat' | 'SeatAdd' | 'SelectAllOff' | 'SelectAllOn' | 'SelectObject' | 'SelectObjectSkew' | 'SelectObjectSkewDismiss' | 'SelectObjectSkewEdit' | 'Send' | 'SendBeaker' | 'SendClock' | 'SendCopy' | 'SerialPort' | 'Server' | 'ServerLink' | 'ServerMultiple' | 'ServerPlay' | 'ServerSurface' | 'ServerSurfaceMultiple' | 'ServiceBell' | 'Settings' | 'SettingsChat' | 'SettingsCogMultiple' | 'ShapeExclude' | 'ShapeIntersect' | 'ShapeOrganic' | 'ShapeSubtract' | 'ShapeUnion' | 'Shapes' | 'Share' | 'ShareAndroid' | 'ShareCloseTray' | 'ShareIos' | 'ShareScreenPerson' | 'ShareScreenPersonOverlay' | 'ShareScreenPersonOverlayInside' | 'ShareScreenPersonP' | 'ShareScreenStart' | 'ShareScreenStop' | 'Shield' | 'ShieldAdd' | 'ShieldBadge' | 'ShieldCheckmark' | 'ShieldDismiss' | 'ShieldDismissShield' | 'ShieldError' | 'ShieldGlobe' | 'ShieldKeyhole' | 'ShieldLock' | 'ShieldPerson' | 'ShieldPersonAdd' | 'ShieldProhibited' | 'ShieldQuestion' | 'ShieldTask' | 'Shifts' | 'Shifts30Minutes' | 'ShiftsActivity' | 'ShiftsAdd' | 'ShiftsAvailability' | 'ShiftsCheckmark' | 'ShiftsDay' | 'ShiftsOpen' | 'ShiftsProhibited' | 'ShiftsQuestionMark' | 'ShiftsTeam' | 'ShoppingBag' | 'ShoppingBagAdd' | 'ShoppingBagArrowLeft' | 'ShoppingBagDismiss' | 'ShoppingBagPause' | 'ShoppingBagPercent' | 'ShoppingBagPlay' | 'ShoppingBagTag' | 'Shortpick' | 'Showerhead' | 'SidebarSearchLtr' | 'SidebarSearchRtl' | 'SignOut' | 'Signature' | 'Sim' | 'SkipBack10' | 'SkipForward10' | 'SkipForward30' | 'SkipForwardTab' | 'SlashForward' | 'Sleep' | 'SlideAdd' | 'SlideArrowRight' | 'SlideContent' | 'SlideEraser' | 'SlideGrid' | 'SlideHide' | 'SlideLayout' | 'SlideLink' | 'SlideMicrophone' | 'SlideMultiple' | 'SlideMultipleArrowRight' | 'SlideMultipleSearch' | 'SlideRecord' | 'SlideSearch' | 'SlideSettings' | 'SlideSize' | 'SlideText' | 'SlideTextEdit' | 'SlideTextMultiple' | 'SlideTextPerson' | 'SlideTextSparkle' | 'SlideTransition' | 'Smartwatch' | 'SmartwatchDot' | 'Snooze' | 'SoundSource' | 'SoundWaveCircle' | 'Space3D' | 'Spacebar' | 'Sparkle' | 'SparkleCircle' | 'Speaker0' | 'Speaker1' | 'Speaker2' | 'SpeakerBluetooth' | 'SpeakerBox' | 'SpeakerEdit' | 'SpeakerMute' | 'SpeakerOff' | 'SpeakerSettings' | 'SpeakerUsb' | 'SpinnerIos' | 'SplitHint' | 'SplitHorizontal' | 'SplitVertical' | 'Sport' | 'SportAmericanFootball' | 'SportBaseball' | 'SportBasketball' | 'SportHockey' | 'SportSoccer' | 'SprayCan' | 'Square' | 'SquareAdd' | 'SquareArrowForward' | 'SquareDismiss' | 'SquareEraser' | 'SquareHint' | 'SquareHintApps' | 'SquareHintArrowBack' | 'SquareHintHexagon' | 'SquareHintSparkles' | 'SquareMultiple' | 'SquareShadow' | 'SquaresNested' | 'Stack' | 'StackAdd' | 'StackArrowForward' | 'StackStar' | 'StackVertical' | 'Star' | 'StarAdd' | 'StarArrowBack' | 'StarArrowRightEnd' | 'StarArrowRightStart' | 'StarCheckmark' | 'StarDismiss' | 'StarEdit' | 'StarEmphasis' | 'StarHalf' | 'StarLineHorizontal3' | 'StarOff' | 'StarOneQuarter' | 'StarProhibited' | 'StarSettings' | 'StarThreeQuarter' | 'Status' | 'Step' | 'Steps' | 'Stethoscope' | 'Sticker' | 'StickerAdd' | 'Stop' | 'Storage' | 'StoreMicrosoft' | 'Stream' | 'StreamInput' | 'StreamInputOutput' | 'StreamOutput' | 'StreetSign' | 'StyleGuide' | 'SubGrid' | 'Subtitles' | 'Subtract' | 'SubtractCircle' | 'SubtractCircleArrowBack' | 'SubtractCircleArrowForward' | 'SubtractParentheses' | 'SubtractSquare' | 'SubtractSquareMultiple' | 'SurfaceEarbuds' | 'SurfaceHub' | 'SwimmingPool' | 'SwipeDown' | 'SwipeRight' | 'SwipeUp' | 'Symbols' | 'SyncOff' | 'Syringe' | 'System' | 'Tab' | 'TabAdd' | 'TabArrowLeft' | 'TabDesktop' | 'TabDesktopArrowClockwise' | 'TabDesktopArrowLeft' | 'TabDesktopBottom' | 'TabDesktopClock' | 'TabDesktopCopy' | 'TabDesktopImage' | 'TabDesktopLink' | 'TabDesktopMultiple' | 'TabDesktopMultipleAdd' | 'TabDesktopMultipleBottom' | 'TabDesktopNewPage' | 'TabInPrivate' | 'TabInprivateAccount' | 'TabProhibited' | 'TabShieldDismiss' | 'Table' | 'TableAdd' | 'TableArrowUp' | 'TableBottomRow' | 'TableCalculator' | 'TableCellEdit' | 'TableCellsMerge' | 'TableCellsSplit' | 'TableChecker' | 'TableColumnTopBottom' | 'TableCopy' | 'TableDefault' | 'TableDeleteColumn' | 'TableDeleteRow' | 'TableDismiss' | 'TableEdit' | 'TableFreezeColumn' | 'TableFreezeColumnAndRow' | 'TableFreezeRow' | 'TableImage' | 'TableInsertColumn' | 'TableInsertRow' | 'TableLightning' | 'TableLink' | 'TableLock' | 'TableMoveAbove' | 'TableMoveBelow' | 'TableMoveLeft' | 'TableMoveRight' | 'TableMultiple' | 'TableOffset' | 'TableOffsetAdd' | 'TableOffsetLessThanOrEqualTo' | 'TableOffsetSettings' | 'TableResizeColumn' | 'TableResizeRow' | 'TableSearch' | 'TableSettings' | 'TableSimple' | 'TableSimpleCheckmark' | 'TableSimpleExclude' | 'TableSimpleInclude' | 'TableSimpleMultiple' | 'TableSplit' | 'TableStackAbove' | 'TableStackBelow' | 'TableStackLeft' | 'TableStackRight' | 'TableSwitch' | 'Tablet' | 'TabletLaptop' | 'TabletSpeaker' | 'Tabs' | 'Tag' | 'TagCircle' | 'TagDismiss' | 'TagError' | 'TagLock' | 'TagLockAccent' | 'TagMultiple' | 'TagOff' | 'TagQuestionMark' | 'TagReset' | 'TagSearch' | 'TapDouble' | 'TapSingle' | 'Target' | 'TargetAdd' | 'TargetArrow' | 'TargetDismiss' | 'TargetEdit' | 'TaskListAdd' | 'TaskListLtr' | 'TaskListRtl' | 'TaskListSquareAdd' | 'TaskListSquareDatabase' | 'TaskListSquareLtr' | 'TaskListSquarePerson' | 'TaskListSquareRtl' | 'TaskListSquareSettings' | 'TasksApp' | 'TeardropBottomRight' | 'Teddy' | 'Temperature' | 'Tent' | 'TetrisApp' | 'Text' | 'TextAbcUnderlineDouble' | 'TextAdd' | 'TextAddSpaceAfter' | 'TextAddSpaceBefore' | 'TextAddT' | 'TextAlignCenter' | 'TextAlignCenterRotate270' | 'TextAlignCenterRotate90' | 'TextAlignDistributed' | 'TextAlignDistributedEvenly' | 'TextAlignDistributedVertical' | 'TextAlignJustify' | 'TextAlignJustifyLow' | 'TextAlignJustifyLow90' | 'TextAlignJustifyLowRotate270' | 'TextAlignJustifyLowRotate90' | 'TextAlignJustifyRotate270' | 'TextAlignJustifyRotate90' | 'TextAlignLeft' | 'TextAlignLeftRotate270' | 'TextAlignLeftRotate90' | 'TextAlignRight' | 'TextAlignRightRotate270' | 'TextAlignRightRotate90' | 'TextArrowDownRightColumn' | 'TextAsterisk' | 'TextBaseline' | 'TextBold' | 'TextBoxSettings' | 'TextBulletList' | 'TextBulletList270' | 'TextBulletList90' | 'TextBulletListAdd' | 'TextBulletListCheckmark' | 'TextBulletListDismiss' | 'TextBulletListLtr' | 'TextBulletListLtr90' | 'TextBulletListLtrRotate270' | 'TextBulletListRtl' | 'TextBulletListRtl90' | 'TextBulletListSquare' | 'TextBulletListSquareClock' | 'TextBulletListSquareEdit' | 'TextBulletListSquarePerson' | 'TextBulletListSquareSearch' | 'TextBulletListSquareSettings' | 'TextBulletListSquareShield' | 'TextBulletListSquareSparkle' | 'TextBulletListSquareToolbox' | 'TextBulletListSquareWarning' | 'TextBulletListTree' | 'TextCaseLowercase' | 'TextCaseTitle' | 'TextCaseUppercase' | 'TextChangeCase' | 'TextClearFormatting' | 'TextCollapse' | 'TextColor' | 'TextColorAccent' | 'TextColumnOne' | 'TextColumnOneNarrow' | 'TextColumnOneSemiNarrow' | 'TextColumnOneWide' | 'TextColumnOneWideLightning' | 'TextColumnThree' | 'TextColumnTwo' | 'TextColumnTwoLeft' | 'TextColumnTwoRight' | 'TextColumnWide' | 'TextContinuous' | 'TextDensity' | 'TextDescription' | 'TextDescriptionLtr' | 'TextDescriptionRtl' | 'TextDirectionHorizontalLeft' | 'TextDirectionHorizontalLtr' | 'TextDirectionHorizontalRight' | 'TextDirectionHorizontalRtl' | 'TextDirectionRotate270Right' | 'TextDirectionRotate315Right' | 'TextDirectionRotate45Right' | 'TextDirectionRotate90Left' | 'TextDirectionRotate90Ltr' | 'TextDirectionRotate90Right' | 'TextDirectionRotate90Rtl' | 'TextDirectionVertical' | 'TextEditStyle' | 'TextEditStyleCharacterA' | 'TextEditStyleCharacterGa' | 'TextEffects' | 'TextEffectsSparkle' | 'TextExpand' | 'TextField' | 'TextFirstLine' | 'TextFont' | 'TextFontInfo' | 'TextFontSize' | 'TextFootnote' | 'TextGrammarArrowLeft' | 'TextGrammarArrowRight' | 'TextGrammarCheckmark' | 'TextGrammarDismiss' | 'TextGrammarError' | 'TextGrammarLightning' | 'TextGrammarSettings' | 'TextGrammarWand' | 'TextHanging' | 'TextHeader1' | 'TextHeader1Lines' | 'TextHeader1LinesCaret' | 'TextHeader2' | 'TextHeader2Lines' | 'TextHeader2LinesCaret' | 'TextHeader3' | 'TextHeader3Lines' | 'TextHeader3LinesCaret' | 'TextIndentDecrease' | 'TextIndentDecreaseLtr' | 'TextIndentDecreaseLtr90' | 'TextIndentDecreaseLtrRotate270' | 'TextIndentDecreaseRotate270' | 'TextIndentDecreaseRotate90' | 'TextIndentDecreaseRtl' | 'TextIndentDecreaseRtl90' | 'TextIndentDecreaseRtlRotate270' | 'TextIndentIncrease' | 'TextIndentIncreaseLtr' | 'TextIndentIncreaseLtr90' | 'TextIndentIncreaseLtrRotate270' | 'TextIndentIncreaseRotate270' | 'TextIndentIncreaseRotate90' | 'TextIndentIncreaseRtl' | 'TextIndentIncreaseRtl90' | 'TextIndentIncreaseRtlRotate270' | 'TextItalic' | 'TextLineSpacing' | 'TextMore' | 'TextNumberFormat' | 'TextNumberListLtr' | 'TextNumberListLtr90' | 'TextNumberListLtrRotate270' | 'TextNumberListRotate270' | 'TextNumberListRotate90' | 'TextNumberListRtl' | 'TextNumberListRtl90' | 'TextNumberListRtlRotate270' | 'TextParagraph' | 'TextParagraphDirection' | 'TextParagraphDirectionLeft' | 'TextParagraphDirectionRight' | 'TextPeriodAsterisk' | 'TextPositionBehind' | 'TextPositionFront' | 'TextPositionLine' | 'TextPositionSquare' | 'TextPositionSquareLeft' | 'TextPositionSquareRight' | 'TextPositionThrough' | 'TextPositionTight' | 'TextPositionTopBottom' | 'TextProofingTools' | 'TextQuote' | 'TextSortAscending' | 'TextSortDescending' | 'TextStrikethrough' | 'TextSubscript' | 'TextSuperscript' | 'TextT' | 'TextTTag' | 'TextUnderline' | 'TextUnderlineCharacterU' | 'TextUnderlineDouble' | 'TextWholeWord' | 'TextWordCount' | 'TextWrap' | 'TextWrapOff' | 'Textbox' | 'TextboxAlignBottom' | 'TextboxAlignBottomCenter' | 'TextboxAlignBottomLeft' | 'TextboxAlignBottomRight' | 'TextboxAlignBottomRotate90' | 'TextboxAlignCenter' | 'TextboxAlignMiddle' | 'TextboxAlignMiddleLeft' | 'TextboxAlignMiddleRight' | 'TextboxAlignMiddleRotate90' | 'TextboxAlignTop' | 'TextboxAlignTopCenter' | 'TextboxAlignTopLeft' | 'TextboxAlignTopRight' | 'TextboxAlignTopRotate90' | 'TextboxMore' | 'TextboxRotate90' | 'TextboxSettings' | 'Thinking' | 'ThumbDislike' | 'ThumbLike' | 'ThumbLikeDislike' | 'TicketDiagonal' | 'TicketHorizontal' | 'TimeAndWeather' | 'TimePicker' | 'Timeline' | 'Timer10' | 'Timer' | 'Timer2' | 'Timer3' | 'TimerOff' | 'ToggleLeft' | 'ToggleMultiple' | 'ToggleRight' | 'Toolbox' | 'TooltipQuote' | 'TopSpeed' | 'Translate' | 'TranslateAuto' | 'TranslateOff' | 'Transmission' | 'TrayItemAdd' | 'TrayItemRemove' | 'TreeDeciduous' | 'TreeEvergreen' | 'Triangle' | 'TriangleDown' | 'TriangleLeft' | 'TriangleRight' | 'TriangleUp' | 'Trophy' | 'TrophyLock' | 'TrophyOff' | 'Tv' | 'TvArrowRight' | 'TvUsb' | 'Umbrella' | 'UninstallApp' | 'UsbPlug' | 'UsbStick' | 'Vault' | 'VehicleBicycle' | 'VehicleBus' | 'VehicleCab' | 'VehicleCableCar' | 'VehicleCar' | 'VehicleCarCollision' | 'VehicleCarParking' | 'VehicleCarProfile' | 'VehicleCarProfileLtr' | 'VehicleCarProfileLtrClock' | 'VehicleCarProfileRtl' | 'VehicleShip' | 'VehicleSubway' | 'VehicleSubwayClock' | 'VehicleTruck' | 'VehicleTruckBag' | 'VehicleTruckCube' | 'VehicleTruckProfile' | 'Video' | 'Video360' | 'Video360Off' | 'VideoAdd' | 'VideoBackgroundEffect' | 'VideoBackgroundEffectHorizontal' | 'VideoChat' | 'VideoClip' | 'VideoClipMultiple' | 'VideoClipOff' | 'VideoClipOptimize' | 'VideoLink' | 'VideoOff' | 'VideoPeople' | 'VideoPerson' | 'VideoPersonCall' | 'VideoPersonClock' | 'VideoPersonOff' | 'VideoPersonPulse' | 'VideoPersonSparkle' | 'VideoPersonSparkleOff' | 'VideoPersonStar' | 'VideoPersonStarOff' | 'VideoPlayPause' | 'VideoProhibited' | 'VideoRecording' | 'VideoSecurity' | 'VideoSwitch' | 'VideoSync' | 'ViewDesktop' | 'ViewDesktopMobile' | 'VirtualNetwork' | 'VirtualNetworkToolbox' | 'Voicemail' | 'VoicemailArrowBack' | 'VoicemailArrowForward' | 'VoicemailArrowSubtract' | 'VoicemailShield' | 'VoicemailSubtract' | 'Vote' | 'WalkieTalkie' | 'Wallet' | 'WalletCreditCard' | 'Wallpaper' | 'Wand' | 'Warning' | 'WarningShield' | 'Washer' | 'Water' | 'WeatherBlowingSnow' | 'WeatherCloudy' | 'WeatherDrizzle' | 'WeatherDuststorm' | 'WeatherFog' | 'WeatherHailDay' | 'WeatherHailNight' | 'WeatherHaze' | 'WeatherMoon' | 'WeatherMoonOff' | 'WeatherPartlyCloudyDay' | 'WeatherPartlyCloudyNight' | 'WeatherRain' | 'WeatherRainShowersDay' | 'WeatherRainShowersNight' | 'WeatherRainSnow' | 'WeatherSnow' | 'WeatherSnowShowerDay' | 'WeatherSnowShowerNight' | 'WeatherSnowflake' | 'WeatherSqualls' | 'WeatherSunny' | 'WeatherSunnyHigh' | 'WeatherSunnyLow' | 'WeatherThunderstorm' | 'WebAsset' | 'Whiteboard' | 'WhiteboardOff' | 'Wifi1' | 'Wifi2' | 'Wifi3' | 'Wifi4' | 'WifiLock' | 'WifiOff' | 'WifiSettings' | 'WifiWarning' | 'Window' | 'WindowAd' | 'WindowAdOff' | 'WindowAdPerson' | 'WindowApps' | 'WindowArrowUp' | 'WindowBulletList' | 'WindowBulletListAdd' | 'WindowConsole' | 'WindowDatabase' | 'WindowDevEdit' | 'WindowDevTools' | 'WindowEdit' | 'WindowHeaderHorizontal' | 'WindowHeaderHorizontalOff' | 'WindowHeaderVertical' | 'WindowInprivate' | 'WindowInprivateAccount' | 'WindowLocationTarget' | 'WindowMultiple' | 'WindowMultipleSwap' | 'WindowNew' | 'WindowPlay' | 'WindowSettings' | 'WindowShield' | 'WindowText' | 'WindowWrench' | 'Wrench' | 'WrenchScrewdriver' | 'WrenchSettings' | 'XboxConsole' | 'XboxController' | 'XboxControllerError' | 'Xray' | 'ZoomFit' | 'ZoomIn' | 'ZoomOut'; +export type IconName = "AccessTime" | "Accessibility" | "AccessibilityCheckmark" | "Add" | "AddCircle" | "AddSquare" | "AddSquareMultiple" | "AddSubtractCircle" | "Airplane" | "AirplaneLanding" | "AirplaneTakeOff" | "Album" | "AlbumAdd" | "Alert" | "AlertBadge" | "AlertOff" | "AlertOn" | "AlertSnooze" | "AlertUrgent" | "AlignBottom" | "AlignCenterHorizontal" | "AlignCenterVertical" | "AlignDistributeBottom" | "AlignDistributeLeft" | "AlignDistributeRight" | "AlignDistributeTop" | "AlignEndHorizontal" | "AlignEndVertical" | "AlignLeft" | "AlignRight" | "AlignSpaceAroundHorizontal" | "AlignSpaceAroundVertical" | "AlignSpaceBetweenHorizontal" | "AlignSpaceBetweenVertical" | "AlignSpaceEvenlyHorizontal" | "AlignSpaceEvenlyVertical" | "AlignSpaceFitVertical" | "AlignStartHorizontal" | "AlignStartVertical" | "AlignStraighten" | "AlignStretchHorizontal" | "AlignStretchVertical" | "AlignTop" | "AnimalCat" | "AnimalDog" | "AnimalRabbit" | "AnimalRabbitOff" | "AnimalTurtle" | "AppFolder" | "AppGeneric" | "AppRecent" | "AppStore" | "AppTitle" | "ApprovalsApp" | "Apps" | "AppsAddIn" | "AppsList" | "AppsListDetail" | "Archive" | "ArchiveArrowBack" | "ArchiveMultiple" | "ArchiveSettings" | "ArrowAutofitContent" | "ArrowAutofitDown" | "ArrowAutofitHeight" | "ArrowAutofitHeightDotted" | "ArrowAutofitHeightIn" | "ArrowAutofitUp" | "ArrowAutofitWidth" | "ArrowAutofitWidthDotted" | "ArrowBetweenDown" | "ArrowBetweenUp" | "ArrowBidirectionalLeftRight" | "ArrowBidirectionalUpDown" | "ArrowBounce" | "ArrowCircleDown" | "ArrowCircleDownDouble" | "ArrowCircleDownRight" | "ArrowCircleDownSplit" | "ArrowCircleDownUp" | "ArrowCircleLeft" | "ArrowCircleRight" | "ArrowCircleUp" | "ArrowCircleUpLeft" | "ArrowCircleUpRight" | "ArrowClockwise" | "ArrowClockwiseDashes" | "ArrowCollapseAll" | "ArrowCounterclockwise" | "ArrowCounterclockwiseDashes" | "ArrowCurveDownLeft" | "ArrowCurveDownRight" | "ArrowCurveUpLeft" | "ArrowCurveUpRight" | "ArrowDown" | "ArrowDownExclamation" | "ArrowDownLeft" | "ArrowDownload" | "ArrowDownloadOff" | "ArrowEject" | "ArrowEnter" | "ArrowEnterLeft" | "ArrowEnterUp" | "ArrowExit" | "ArrowExpand" | "ArrowExport" | "ArrowExportLtr" | "ArrowExportRtl" | "ArrowExportUp" | "ArrowFit" | "ArrowFitIn" | "ArrowFlowDiagonalUpRight" | "ArrowFlowUpRight" | "ArrowFlowUpRightRectangleMultiple" | "ArrowForward" | "ArrowForwardDownLightning" | "ArrowForwardDownPerson" | "ArrowHookDownLeft" | "ArrowHookDownRight" | "ArrowHookUpLeft" | "ArrowHookUpRight" | "ArrowImport" | "ArrowJoin" | "ArrowLeft" | "ArrowMaximize" | "ArrowMaximizeVertical" | "ArrowMinimize" | "ArrowMinimizeVertical" | "ArrowMove" | "ArrowMoveInward" | "ArrowNext" | "ArrowOutlineDownLeft" | "ArrowOutlineUpRight" | "ArrowParagraph" | "ArrowPrevious" | "ArrowRedo" | "ArrowRepeat1" | "ArrowRepeatAll" | "ArrowRepeatAllOff" | "ArrowReply" | "ArrowReplyAll" | "ArrowReplyDown" | "ArrowReset" | "ArrowRight" | "ArrowRotateClockwise" | "ArrowRotateCounterclockwise" | "ArrowRouting" | "ArrowRoutingRectangleMultiple" | "ArrowShuffle" | "ArrowShuffleOff" | "ArrowSort" | "ArrowSortDown" | "ArrowSortDownLines" | "ArrowSortUp" | "ArrowSplit" | "ArrowSprint" | "ArrowSquareDown" | "ArrowSquareUpRight" | "ArrowStepBack" | "ArrowStepIn" | "ArrowStepInDiagonalDownLeft" | "ArrowStepInLeft" | "ArrowStepInRight" | "ArrowStepOut" | "ArrowStepOver" | "ArrowSwap" | "ArrowSync" | "ArrowSyncCheckmark" | "ArrowSyncCircle" | "ArrowSyncDismiss" | "ArrowSyncOff" | "ArrowTrending" | "ArrowTrendingCheckmark" | "ArrowTrendingDown" | "ArrowTrendingLines" | "ArrowTrendingSettings" | "ArrowTrendingSparkle" | "ArrowTrendingText" | "ArrowTrendingWrench" | "ArrowTurnBidirectionalDownRight" | "ArrowTurnDownLeft" | "ArrowTurnDownRight" | "ArrowTurnDownUp" | "ArrowTurnLeftDown" | "ArrowTurnLeftRight" | "ArrowTurnLeftUp" | "ArrowTurnRight" | "ArrowTurnRightDown" | "ArrowTurnRightLeft" | "ArrowTurnRightUp" | "ArrowTurnUpDown" | "ArrowTurnUpLeft" | "ArrowUndo" | "ArrowUp" | "ArrowUpLeft" | "ArrowUpRight" | "ArrowUpRightDashes" | "ArrowUpSquareSettings" | "ArrowUpload" | "ArrowWrap" | "ArrowWrapOff" | "ArrowsBidirectional" | "Attach" | "AttachArrowRight" | "AttachText" | "AutoFitHeight" | "AutoFitWidth" | "Autocorrect" | "Autosum" | "Backpack" | "BackpackAdd" | "Backspace" | "Badge" | "Balloon" | "BarcodeScanner" | "Battery0" | "Battery10" | "Battery1" | "Battery2" | "Battery3" | "Battery4" | "Battery5" | "Battery6" | "Battery7" | "Battery8" | "Battery9" | "BatteryCharge" | "BatteryCheckmark" | "BatterySaver" | "BatteryWarning" | "Beach" | "Beaker" | "BeakerAdd" | "BeakerDismiss" | "BeakerEdit" | "BeakerEmpty" | "BeakerOff" | "BeakerSettings" | "Bed" | "BezierCurveSquare" | "BinFull" | "BinRecycle" | "BinRecycleFull" | "BinderTriangle" | "Bluetooth" | "BluetoothConnected" | "BluetoothDisabled" | "BluetoothSearching" | "Blur" | "Board" | "BoardGames" | "BoardHeart" | "BoardSplit" | "Book" | "BookAdd" | "BookArrowClockwise" | "BookClock" | "BookCoins" | "BookCompass" | "BookContacts" | "BookDatabase" | "BookDefault" | "BookDismiss" | "BookExclamationMark" | "BookGlobe" | "BookInformation" | "BookLetter" | "BookNumber" | "BookOpen" | "BookOpenGlobe" | "BookOpenMicrophone" | "BookPulse" | "BookQuestionMark" | "BookQuestionMarkRtl" | "BookSearch" | "BookStar" | "BookTemplate" | "BookTheta" | "BookToolbox" | "Bookmark" | "BookmarkAdd" | "BookmarkMultiple" | "BookmarkOff" | "BookmarkSearch" | "BorderAll" | "BorderBottom" | "BorderBottomDouble" | "BorderBottomThick" | "BorderInside" | "BorderLeft" | "BorderLeftRight" | "BorderNone" | "BorderOutside" | "BorderOutsideThick" | "BorderRight" | "BorderTop" | "BorderTopBottom" | "BorderTopBottomDouble" | "BorderTopBottomThick" | "Bot" | "BotAdd" | "BotSparkle" | "BowTie" | "BowlChopsticks" | "BowlSalad" | "Box" | "BoxArrowLeft" | "BoxArrowUp" | "BoxCheckmark" | "BoxDismiss" | "BoxEdit" | "BoxMultiple" | "BoxMultipleArrowLeft" | "BoxMultipleArrowRight" | "BoxMultipleCheckmark" | "BoxMultipleSearch" | "BoxSearch" | "BoxToolbox" | "Braces" | "BracesCheckmark" | "BracesDismiss" | "BracesVariable" | "BrainCircuit" | "Branch" | "BranchCompare" | "BranchFork" | "BranchForkHint" | "BranchForkLink" | "BranchRequest" | "BreakoutRoom" | "Briefcase" | "BriefcaseMedical" | "BriefcaseOff" | "BriefcasePerson" | "BriefcaseSearch" | "BrightnessHigh" | "BrightnessLow" | "BroadActivityFeed" | "Broom" | "BubbleMultiple" | "Bug" | "BugArrowCounterclockwise" | "BugProhibited" | "Building" | "BuildingBank" | "BuildingBankLink" | "BuildingBankToolbox" | "BuildingCloud" | "BuildingDesktop" | "BuildingFactory" | "BuildingGovernment" | "BuildingGovernmentSearch" | "BuildingHome" | "BuildingLighthouse" | "BuildingMosque" | "BuildingMultiple" | "BuildingPeople" | "BuildingRetail" | "BuildingRetailMoney" | "BuildingRetailMore" | "BuildingRetailShield" | "BuildingRetailToolbox" | "BuildingShop" | "BuildingSkyscraper" | "BuildingSwap" | "BuildingTownhouse" | "Button" | "Calculator" | "CalculatorArrowClockwise" | "CalculatorMultiple" | "Calendar" | "Calendar3Day" | "CalendarAdd" | "CalendarAgenda" | "CalendarArrowCounterclockwise" | "CalendarArrowDown" | "CalendarArrowRight" | "CalendarAssistant" | "CalendarCancel" | "CalendarChat" | "CalendarCheckmark" | "CalendarClock" | "CalendarDataBar" | "CalendarDate" | "CalendarDay" | "CalendarEdit" | "CalendarEmpty" | "CalendarError" | "CalendarEye" | "CalendarInfo" | "CalendarLink" | "CalendarLock" | "CalendarLtr" | "CalendarMail" | "CalendarMention" | "CalendarMonth" | "CalendarMultiple" | "CalendarNote" | "CalendarPattern" | "CalendarPerson" | "CalendarPhone" | "CalendarPlay" | "CalendarQuestionMark" | "CalendarRecord" | "CalendarReply" | "CalendarRtl" | "CalendarSearch" | "CalendarSettings" | "CalendarShield" | "CalendarStar" | "CalendarSync" | "CalendarToday" | "CalendarToolbox" | "CalendarVideo" | "CalendarWeekNumbers" | "CalendarWeekStart" | "CalendarWorkWeek" | "Call" | "CallAdd" | "CallCheckmark" | "CallConnecting" | "CallDismiss" | "CallEnd" | "CallExclamation" | "CallForward" | "CallInbound" | "CallMissed" | "CallOutbound" | "CallPark" | "CallPause" | "CallProhibited" | "CallTransfer" | "CallWarning" | "CalligraphyPen" | "CalligraphyPenCheckmark" | "CalligraphyPenError" | "CalligraphyPenQuestionMark" | "Camera" | "CameraAdd" | "CameraDome" | "CameraEdit" | "CameraOff" | "CameraSparkles" | "CameraSwitch" | "CardUi" | "CaretDown" | "CaretDownRight" | "CaretLeft" | "CaretRight" | "CaretUp" | "Cart" | "Cast" | "CastMultiple" | "CatchUp" | "Cd" | "Cellular3G" | "Cellular4G" | "Cellular5G" | "CellularData1" | "CellularData2" | "CellularData3" | "CellularData4" | "CellularData5" | "CellularOff" | "CellularWarning" | "CenterHorizontal" | "CenterVertical" | "Certificate" | "Channel" | "ChannelAdd" | "ChannelAlert" | "ChannelArrowLeft" | "ChannelDismiss" | "ChannelShare" | "ChannelSubtract" | "ChartMultiple" | "ChartPerson" | "Chat" | "ChatAdd" | "ChatArrowBack" | "ChatArrowDoubleBack" | "ChatBubblesQuestion" | "ChatCursor" | "ChatDismiss" | "ChatEmpty" | "ChatHelp" | "ChatLock" | "ChatMail" | "ChatMultiple" | "ChatMultipleHeart" | "ChatOff" | "ChatSettings" | "ChatSparkle" | "ChatVideo" | "ChatWarning" | "Check" | "Checkbox1" | "Checkbox2" | "CheckboxArrowRight" | "CheckboxChecked" | "CheckboxCheckedSync" | "CheckboxIndeterminate" | "CheckboxPerson" | "CheckboxUnchecked" | "CheckboxWarning" | "Checkmark" | "CheckmarkCircle" | "CheckmarkCircleSquare" | "CheckmarkLock" | "CheckmarkNote" | "CheckmarkSquare" | "CheckmarkStarburst" | "CheckmarkUnderlineCircle" | "Chess" | "ChevronCircleDown" | "ChevronCircleLeft" | "ChevronCircleRight" | "ChevronCircleUp" | "ChevronDoubleDown" | "ChevronDoubleLeft" | "ChevronDoubleRight" | "ChevronDoubleUp" | "ChevronDown" | "ChevronDownUp" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "ChevronUpDown" | "Circle" | "CircleEdit" | "CircleEraser" | "CircleHalfFill" | "CircleHint" | "CircleHintHalfVertical" | "CircleImage" | "CircleLine" | "CircleMultipleSubtractCheckmark" | "CircleOff" | "CircleSmall" | "City" | "Class" | "Classification" | "ClearFormatting" | "Clipboard" | "Clipboard3Day" | "ClipboardArrowRight" | "ClipboardBrush" | "ClipboardBulletList" | "ClipboardBulletListLtr" | "ClipboardBulletListRtl" | "ClipboardCheckmark" | "ClipboardClock" | "ClipboardCode" | "ClipboardDataBar" | "ClipboardDay" | "ClipboardEdit" | "ClipboardError" | "ClipboardHeart" | "ClipboardImage" | "ClipboardLetter" | "ClipboardLink" | "ClipboardMathFormula" | "ClipboardMonth" | "ClipboardMore" | "ClipboardMultiple" | "ClipboardNote" | "ClipboardNumber123" | "ClipboardPaste" | "ClipboardPulse" | "ClipboardSearch" | "ClipboardSettings" | "ClipboardTask" | "ClipboardTaskAdd" | "ClipboardTaskList" | "ClipboardTaskListLtr" | "ClipboardTaskListRtl" | "ClipboardText" | "ClipboardTextEdit" | "ClipboardTextLtr" | "ClipboardTextRtl" | "Clock" | "ClockAlarm" | "ClockArrowDownload" | "ClockDismiss" | "ClockLock" | "ClockPause" | "ClockToolbox" | "ClosedCaption" | "ClosedCaptionOff" | "Cloud" | "CloudAdd" | "CloudArchive" | "CloudArrowDown" | "CloudArrowUp" | "CloudBeaker" | "CloudBidirectional" | "CloudCheckmark" | "CloudCube" | "CloudDatabase" | "CloudDesktop" | "CloudDismiss" | "CloudEdit" | "CloudError" | "CloudFlow" | "CloudLink" | "CloudOff" | "CloudSwap" | "CloudSync" | "CloudWords" | "Clover" | "Code" | "CodeBlock" | "CodeCircle" | "CodeCs" | "CodeCsRectangle" | "CodeFs" | "CodeFsRectangle" | "CodeJs" | "CodeJsRectangle" | "CodePy" | "CodePyRectangle" | "CodeRb" | "CodeRbRectangle" | "CodeText" | "CodeTextEdit" | "CodeTextOff" | "CodeTs" | "CodeTsRectangle" | "CodeVb" | "CodeVbRectangle" | "Collections" | "CollectionsAdd" | "Color" | "ColorBackground" | "ColorBackgroundAccent" | "ColorFill" | "ColorFillAccent" | "ColorLine" | "ColorLineAccent" | "Column" | "ColumnArrowRight" | "ColumnDoubleCompare" | "ColumnEdit" | "ColumnSingle" | "ColumnSingleCompare" | "ColumnTriple" | "ColumnTripleEdit" | "Comma" | "Comment" | "CommentAdd" | "CommentArrowLeft" | "CommentArrowRight" | "CommentCheckmark" | "CommentDismiss" | "CommentEdit" | "CommentError" | "CommentLightning" | "CommentLink" | "CommentMention" | "CommentMultiple" | "CommentMultipleCheckmark" | "CommentMultipleLink" | "CommentNote" | "CommentOff" | "Communication" | "CommunicationPerson" | "CommunicationShield" | "CompassNorthwest" | "Component2DoubleTapSwipeDown" | "Component2DoubleTapSwipeUp" | "Compose" | "Cone" | "ConferenceRoom" | "Connected" | "Connector" | "ContactCard" | "ContactCardGroup" | "ContactCardLink" | "ContactCardRibbon" | "ContentSettings" | "ContentView" | "ContentViewGallery" | "ContentViewGalleryLightning" | "ContractDownLeft" | "ContractUpRight" | "ControlButton" | "ConvertRange" | "Cookies" | "Copy" | "CopyAdd" | "CopyArrowRight" | "CopySelect" | "Couch" | "CreditCardClock" | "CreditCardPerson" | "CreditCardToolbox" | "Crop" | "CropInterim" | "CropInterimOff" | "CropSparkle" | "Crown" | "CrownSubtract" | "Cube" | "CubeAdd" | "CubeArrowCurveDown" | "CubeLink" | "CubeMultiple" | "CubeQuick" | "CubeRotate" | "CubeSync" | "CubeTree" | "CurrencyDollarEuro" | "CurrencyDollarRupee" | "Cursor" | "CursorClick" | "CursorHover" | "CursorHoverOff" | "CursorProhibited" | "Cut" | "DarkTheme" | "DataArea" | "DataBarHorizontal" | "DataBarHorizontalDescending" | "DataBarVertical" | "DataBarVerticalAdd" | "DataBarVerticalAscending" | "DataBarVerticalStar" | "DataFunnel" | "DataHistogram" | "DataLine" | "DataPie" | "DataScatter" | "DataSunburst" | "DataTreemap" | "DataTrending" | "DataUsage" | "DataUsageEdit" | "DataUsageSettings" | "DataUsageToolbox" | "DataWaterfall" | "DataWhisker" | "Database" | "DatabaseArrowDown" | "DatabaseArrowRight" | "DatabaseArrowUp" | "DatabaseLightning" | "DatabaseLink" | "DatabaseMultiple" | "DatabasePerson" | "DatabasePlugConnected" | "DatabaseSearch" | "DatabaseStack" | "DatabaseSwitch" | "DatabaseWarning" | "DatabaseWindow" | "DecimalArrowLeft" | "DecimalArrowRight" | "Delete" | "DeleteArrowBack" | "DeleteDismiss" | "DeleteLines" | "DeleteOff" | "Dentist" | "DesignIdeas" | "Desk" | "Desktop" | "DesktopArrowDown" | "DesktopArrowRight" | "DesktopCheckmark" | "DesktopCursor" | "DesktopEdit" | "DesktopFlow" | "DesktopKeyboard" | "DesktopMac" | "DesktopPulse" | "DesktopSignal" | "DesktopSpeaker" | "DesktopSpeakerOff" | "DesktopSync" | "DesktopToolbox" | "DesktopTower" | "DeveloperBoard" | "DeveloperBoardLightning" | "DeveloperBoardLightningToolbox" | "DeveloperBoardSearch" | "DeviceEq" | "DeviceMeetingRoom" | "DeviceMeetingRoomRemote" | "Diagram" | "Dialpad" | "DialpadOff" | "DialpadQuestionMark" | "Diamond" | "Directions" | "Dishwasher" | "Dismiss" | "DismissCircle" | "DismissSquare" | "DismissSquareMultiple" | "Diversity" | "DividerShort" | "DividerTall" | "Dock" | "DockRow" | "Doctor" | "Document100" | "Document" | "DocumentAdd" | "DocumentArrowDown" | "DocumentArrowLeft" | "DocumentArrowRight" | "DocumentArrowUp" | "DocumentBorder" | "DocumentBorderPrint" | "DocumentBriefcase" | "DocumentBulletList" | "DocumentBulletListArrowLeft" | "DocumentBulletListClock" | "DocumentBulletListCube" | "DocumentBulletListMultiple" | "DocumentBulletListOff" | "DocumentCatchUp" | "DocumentCheckmark" | "DocumentChevronDouble" | "DocumentContract" | "DocumentCopy" | "DocumentCs" | "DocumentCss" | "DocumentCube" | "DocumentData" | "DocumentDataLink" | "DocumentDataLock" | "DocumentDatabase" | "DocumentDismiss" | "DocumentEdit" | "DocumentEndnote" | "DocumentError" | "DocumentFit" | "DocumentFlowchart" | "DocumentFolder" | "DocumentFooter" | "DocumentFooterDismiss" | "DocumentFs" | "DocumentHeader" | "DocumentHeaderArrowDown" | "DocumentHeaderDismiss" | "DocumentHeaderFooter" | "DocumentHeart" | "DocumentHeartPulse" | "DocumentImage" | "DocumentJava" | "DocumentJavascript" | "DocumentJs" | "DocumentKey" | "DocumentLandscape" | "DocumentLandscapeData" | "DocumentLandscapeSplit" | "DocumentLandscapeSplitHint" | "DocumentLightning" | "DocumentLink" | "DocumentLock" | "DocumentMargins" | "DocumentMention" | "DocumentMultiple" | "DocumentMultiplePercent" | "DocumentMultipleProhibited" | "DocumentMultipleSync" | "DocumentNumber1" | "DocumentOnePage" | "DocumentOnePageAdd" | "DocumentOnePageBeaker" | "DocumentOnePageColumns" | "DocumentOnePageLink" | "DocumentOnePageMultiple" | "DocumentOnePageSparkle" | "DocumentPageBottomCenter" | "DocumentPageBottomLeft" | "DocumentPageBottomRight" | "DocumentPageBreak" | "DocumentPageNumber" | "DocumentPageTopCenter" | "DocumentPageTopLeft" | "DocumentPageTopRight" | "DocumentPdf" | "DocumentPercent" | "DocumentPerson" | "DocumentPill" | "DocumentPrint" | "DocumentProhibited" | "DocumentPy" | "DocumentQuestionMark" | "DocumentQueue" | "DocumentQueueAdd" | "DocumentQueueMultiple" | "DocumentRb" | "DocumentRibbon" | "DocumentSass" | "DocumentSave" | "DocumentSearch" | "DocumentSettings" | "DocumentSplitHint" | "DocumentSplitHintOff" | "DocumentSync" | "DocumentTable" | "DocumentTableArrowRight" | "DocumentTableCheckmark" | "DocumentTableCube" | "DocumentTableSearch" | "DocumentTableTruck" | "DocumentTarget" | "DocumentText" | "DocumentTextClock" | "DocumentTextExtract" | "DocumentTextLink" | "DocumentTextToolbox" | "DocumentToolbox" | "DocumentTs" | "DocumentVb" | "DocumentWidth" | "DocumentYml" | "Door" | "DoorArrowLeft" | "DoorArrowRight" | "DoorTag" | "DoubleSwipeDown" | "DoubleSwipeUp" | "DoubleTapSwipeDown" | "DoubleTapSwipeUp" | "Drafts" | "Drag" | "DrawImage" | "DrawShape" | "DrawText" | "Drawer" | "DrawerAdd" | "DrawerArrowDownload" | "DrawerDismiss" | "DrawerPlay" | "DrawerSubtract" | "DrinkBeer" | "DrinkBottle" | "DrinkBottleOff" | "DrinkCoffee" | "DrinkMargarita" | "DrinkToGo" | "DrinkWine" | "DriveTrain" | "Drop" | "DualScreen" | "DualScreenAdd" | "DualScreenArrowRight" | "DualScreenArrowUp" | "DualScreenClock" | "DualScreenClosedAlert" | "DualScreenDesktop" | "DualScreenDismiss" | "DualScreenGroup" | "DualScreenHeader" | "DualScreenLock" | "DualScreenMirror" | "DualScreenPagination" | "DualScreenSettings" | "DualScreenSpan" | "DualScreenSpeaker" | "DualScreenStatusBar" | "DualScreenTablet" | "DualScreenUpdate" | "DualScreenVerticalScroll" | "DualScreenVibrate" | "Dumbbell" | "Dust" | "Earth" | "EarthLeaf" | "Edit" | "EditArrowBack" | "EditOff" | "EditProhibited" | "EditSettings" | "Elevator" | "Emoji" | "EmojiAdd" | "EmojiAngry" | "EmojiEdit" | "EmojiHand" | "EmojiHint" | "EmojiLaugh" | "EmojiMeh" | "EmojiMultiple" | "EmojiSad" | "EmojiSadSlight" | "EmojiSmileSlight" | "EmojiSparkle" | "EmojiSurprise" | "Engine" | "EqualCircle" | "EqualOff" | "Eraser" | "EraserMedium" | "EraserSegment" | "EraserSmall" | "EraserTool" | "ErrorCircle" | "ErrorCircleSettings" | "ExpandUpLeft" | "ExpandUpRight" | "ExtendedDock" | "Eye" | "EyeLines" | "EyeOff" | "EyeTracking" | "EyeTrackingOff" | "Eyedropper" | "EyedropperOff" | "FStop" | "FastAcceleration" | "FastForward" | "Fax" | "Feed" | "Filmstrip" | "FilmstripImage" | "FilmstripOff" | "FilmstripPlay" | "FilmstripSplit" | "Filter" | "FilterAdd" | "FilterDismiss" | "FilterSync" | "Fingerprint" | "Fire" | "Fireplace" | "FixedWidth" | "Flag" | "FlagCheckered" | "FlagClock" | "FlagOff" | "FlagPride" | "FlagPrideIntersexInclusiveProgress" | "FlagPridePhiladelphia" | "FlagPrideProgress" | "Flash" | "FlashAdd" | "FlashAuto" | "FlashCheckmark" | "FlashFlow" | "FlashOff" | "FlashPlay" | "FlashSettings" | "FlashSparkle" | "Flashlight" | "FlashlightOff" | "FlipHorizontal" | "FlipVertical" | "Flow" | "Flowchart" | "FlowchartCircle" | "Fluent" | "Fluid" | "Folder" | "FolderAdd" | "FolderArrowLeft" | "FolderArrowRight" | "FolderArrowUp" | "FolderBriefcase" | "FolderGlobe" | "FolderLightning" | "FolderLink" | "FolderList" | "FolderMail" | "FolderMultiple" | "FolderOpen" | "FolderOpenVertical" | "FolderPeople" | "FolderPerson" | "FolderProhibited" | "FolderSearch" | "FolderSwap" | "FolderSync" | "FolderZip" | "FontDecrease" | "FontIncrease" | "FontSpaceTrackingIn" | "FontSpaceTrackingOut" | "Food" | "FoodApple" | "FoodCake" | "FoodCarrot" | "FoodChickenLeg" | "FoodEgg" | "FoodFish" | "FoodGrains" | "FoodPizza" | "FoodToast" | "Form" | "FormMultiple" | "FormNew" | "Fps120" | "Fps240" | "Fps30" | "Fps60" | "Fps960" | "Frame" | "FullScreenMaximize" | "FullScreenMinimize" | "Games" | "GanttChart" | "Gas" | "GasPump" | "Gather" | "Gauge" | "GaugeAdd" | "Gavel" | "GavelProhibited" | "Gesture" | "Gif" | "Gift" | "GiftCard" | "GiftCardAdd" | "GiftCardArrowRight" | "GiftCardMoney" | "GiftCardMultiple" | "GiftOpen" | "Glance" | "GlanceDefault" | "GlanceHorizontal" | "GlanceHorizontalSparkle" | "GlanceHorizontalSparkles" | "Glasses" | "GlassesOff" | "Globe" | "GlobeAdd" | "GlobeArrowForward" | "GlobeArrowUp" | "GlobeClock" | "GlobeDesktop" | "GlobeError" | "GlobeLocation" | "GlobePerson" | "GlobeProhibited" | "GlobeSearch" | "GlobeShield" | "GlobeStar" | "GlobeSurface" | "GlobeSync" | "GlobeVideo" | "GlobeWarning" | "Grid" | "GridCircles" | "GridDots" | "GridKanban" | "Group" | "GroupDismiss" | "GroupList" | "GroupReturn" | "Guardian" | "Guest" | "GuestAdd" | "Guitar" | "HandDraw" | "HandLeft" | "HandLeftChat" | "HandOpenHeart" | "HandRight" | "HandRightOff" | "HandWave" | "Handshake" | "HardDrive" | "HardDriveCall" | "HatGraduation" | "HatGraduationAdd" | "HatGraduationSparkle" | "Hd" | "Hdr" | "HdrOff" | "Headphones" | "HeadphonesSoundWave" | "Headset" | "HeadsetAdd" | "HeadsetVr" | "Heart" | "HeartBroken" | "HeartCircle" | "HeartCircleHint" | "HeartOff" | "HeartPulse" | "HeartPulseCheckmark" | "HeartPulseError" | "HeartPulseWarning" | "Hexagon" | "HexagonThree" | "Highlight" | "HighlightAccent" | "HighlightLink" | "History" | "HistoryDismiss" | "Home" | "HomeAdd" | "HomeCheckmark" | "HomeDatabase" | "HomeHeart" | "HomeMore" | "HomePerson" | "HomeSplit" | "Hourglass" | "HourglassHalf" | "HourglassOneQuarter" | "HourglassThreeQuarter" | "Icons" | "Image" | "ImageAdd" | "ImageAltText" | "ImageArrowBack" | "ImageArrowCounterclockwise" | "ImageArrowForward" | "ImageBorder" | "ImageCircle" | "ImageCopy" | "ImageEdit" | "ImageGlobe" | "ImageMultiple" | "ImageMultipleOff" | "ImageOff" | "ImageProhibited" | "ImageReflection" | "ImageSearch" | "ImageShadow" | "ImageSparkle" | "ImageStack" | "ImageTable" | "ImmersiveReader" | "Important" | "Incognito" | "Info" | "InfoShield" | "InkStroke" | "InkStrokeArrowDown" | "InkStrokeArrowUpDown" | "InkingTool" | "InkingToolAccent" | "InprivateAccount" | "Insert" | "IosArrow" | "IosArrowLtr" | "IosArrowRtl" | "IosChevronRight" | "Iot" | "IotAlert" | "Javascript" | "Joystick" | "Key" | "KeyCommand" | "KeyMultiple" | "KeyReset" | "Keyboard123" | "Keyboard" | "KeyboardDock" | "KeyboardLayoutFloat" | "KeyboardLayoutOneHandedLeft" | "KeyboardLayoutResize" | "KeyboardLayoutSplit" | "KeyboardMouse" | "KeyboardShift" | "KeyboardShiftUppercase" | "KeyboardTab" | "Kiosk" | "Laptop" | "LaptopDismiss" | "LaptopMultiple" | "LaptopSettings" | "LaptopShield" | "LaserTool" | "Lasso" | "LauncherSettings" | "Layer" | "LayerDiagonal" | "LayerDiagonalAdd" | "LayerDiagonalPerson" | "LayoutCellFour" | "LayoutCellFourFocusBottomLeft" | "LayoutCellFourFocusBottomRight" | "LayoutCellFourFocusTopLeft" | "LayoutCellFourFocusTopRight" | "LayoutColumnFour" | "LayoutColumnFourFocusCenterLeft" | "LayoutColumnFourFocusCenterRight" | "LayoutColumnFourFocusLeft" | "LayoutColumnFourFocusRight" | "LayoutColumnOneThirdLeft" | "LayoutColumnOneThirdRight" | "LayoutColumnOneThirdRightHint" | "LayoutColumnThree" | "LayoutColumnThreeFocusCenter" | "LayoutColumnThreeFocusLeft" | "LayoutColumnThreeFocusRight" | "LayoutColumnTwo" | "LayoutColumnTwoFocusLeft" | "LayoutColumnTwoFocusRight" | "LayoutColumnTwoSplitLeft" | "LayoutColumnTwoSplitLeftFocusBottomLeft" | "LayoutColumnTwoSplitLeftFocusRight" | "LayoutColumnTwoSplitLeftFocusTopLeft" | "LayoutColumnTwoSplitRight" | "LayoutColumnTwoSplitRightFocusBottomRight" | "LayoutColumnTwoSplitRightFocusLeft" | "LayoutColumnTwoSplitRightFocusTopRight" | "LayoutRowFour" | "LayoutRowFourFocusBottom" | "LayoutRowFourFocusCenterBottom" | "LayoutRowFourFocusCenterTop" | "LayoutRowFourFocusTop" | "LayoutRowThree" | "LayoutRowThreeFocusBottom" | "LayoutRowThreeFocusCenter" | "LayoutRowThreeFocusTop" | "LayoutRowTwo" | "LayoutRowTwoFocusBottom" | "LayoutRowTwoFocusTop" | "LayoutRowTwoSplitBottom" | "LayoutRowTwoSplitBottomFocusBottomLeft" | "LayoutRowTwoSplitBottomFocusBottomRight" | "LayoutRowTwoSplitBottomFocusTop" | "LayoutRowTwoSplitTop" | "LayoutRowTwoSplitTopFocusBottom" | "LayoutRowTwoSplitTopFocusTopLeft" | "LayoutRowTwoSplitTopFocusTopRight" | "LeafOne" | "LeafThree" | "LeafTwo" | "LearningApp" | "Library" | "Lightbulb" | "LightbulbCheckmark" | "LightbulbCircle" | "LightbulbFilament" | "LightbulbPerson" | "Likert" | "Line" | "LineDashes" | "LineHorizontal1" | "LineHorizontal1Dashes" | "LineHorizontal2DashesSolid" | "LineHorizontal3" | "LineHorizontal4" | "LineHorizontal4Search" | "LineHorizontal5" | "LineHorizontal5Error" | "LineStyle" | "LineThickness" | "Link" | "LinkAdd" | "LinkDismiss" | "LinkEdit" | "LinkMultiple" | "LinkPerson" | "LinkSettings" | "LinkSquare" | "LinkToolbox" | "List" | "ListBar" | "ListBarTree" | "ListBarTreeOffset" | "ListRtl" | "Live" | "LiveOff" | "LocalLanguage" | "Location" | "LocationAdd" | "LocationAddLeft" | "LocationAddRight" | "LocationAddUp" | "LocationArrow" | "LocationArrowLeft" | "LocationArrowRight" | "LocationArrowUp" | "LocationDismiss" | "LocationLive" | "LocationOff" | "LocationTargetSquare" | "LockClosed" | "LockClosedKey" | "LockMultiple" | "LockOpen" | "LockShield" | "Lottery" | "Luggage" | "Mail" | "MailAdd" | "MailAlert" | "MailAllRead" | "MailAllUnread" | "MailArrowDoubleBack" | "MailArrowDown" | "MailArrowForward" | "MailArrowUp" | "MailAttach" | "MailCheckmark" | "MailClock" | "MailCopy" | "MailDismiss" | "MailEdit" | "MailError" | "MailInbox" | "MailInboxAdd" | "MailInboxAll" | "MailInboxArrowDown" | "MailInboxArrowRight" | "MailInboxArrowUp" | "MailInboxCheckmark" | "MailInboxDismiss" | "MailLink" | "MailList" | "MailMultiple" | "MailOff" | "MailOpenPerson" | "MailPause" | "MailProhibited" | "MailRead" | "MailReadMultiple" | "MailRewind" | "MailSettings" | "MailShield" | "MailTemplate" | "MailUnread" | "MailWarning" | "Mailbox" | "Map" | "MapDrive" | "Markdown" | "MatchAppLayout" | "MathFormatLinear" | "MathFormatProfessional" | "MathFormula" | "MathSymbols" | "Maximize" | "MeetNow" | "Megaphone" | "MegaphoneCircle" | "MegaphoneLoud" | "MegaphoneOff" | "Memory" | "Mention" | "MentionArrowDown" | "MentionBrackets" | "Merge" | "Mic" | "MicOff" | "MicProhibited" | "MicPulse" | "MicPulseOff" | "MicRecord" | "MicSettings" | "MicSparkle" | "MicSync" | "Microscope" | "Midi" | "MobileOptimized" | "Mold" | "Molecule" | "Money" | "MoneyCalculator" | "MoneyDismiss" | "MoneyHand" | "MoneyOff" | "MoneySettings" | "MoreCircle" | "MoreHorizontal" | "MoreVertical" | "MountainLocationBottom" | "MountainLocationTop" | "MountainTrail" | "MoviesAndTv" | "Multiplier12X" | "Multiplier15X" | "Multiplier18X" | "Multiplier1X" | "Multiplier2X" | "Multiplier5X" | "MultiselectLtr" | "MultiselectRtl" | "MusicNote1" | "MusicNote2" | "MusicNote2Play" | "MusicNoteOff1" | "MusicNoteOff2" | "MyLocation" | "Navigation" | "NavigationLocationTarget" | "NavigationPlay" | "NavigationUnread" | "NetworkAdapter" | "NetworkCheck" | "New" | "News" | "Next" | "NextFrame" | "Note" | "NoteAdd" | "NoteEdit" | "NotePin" | "Notebook" | "NotebookAdd" | "NotebookArrowCurveDown" | "NotebookError" | "NotebookEye" | "NotebookLightning" | "NotebookQuestionMark" | "NotebookSection" | "NotebookSectionArrowRight" | "NotebookSubsection" | "NotebookSync" | "Notepad" | "NotepadEdit" | "NotepadPerson" | "NumberCircle0" | "NumberCircle1" | "NumberCircle2" | "NumberCircle3" | "NumberCircle4" | "NumberCircle5" | "NumberCircle6" | "NumberCircle7" | "NumberCircle8" | "NumberCircle9" | "NumberRow" | "NumberSymbol" | "NumberSymbolDismiss" | "NumberSymbolSquare" | "Open" | "OpenFolder" | "OpenOff" | "Options" | "Organization" | "OrganizationHorizontal" | "Orientation" | "Oval" | "Oven" | "PaddingDown" | "PaddingLeft" | "PaddingRight" | "PaddingTop" | "PageFit" | "PaintBrush" | "PaintBrushArrowDown" | "PaintBrushArrowUp" | "PaintBucket" | "Pair" | "PanelBottom" | "PanelBottomContract" | "PanelBottomExpand" | "PanelLeft" | "PanelLeftAdd" | "PanelLeftContract" | "PanelLeftExpand" | "PanelLeftFocusRight" | "PanelLeftHeader" | "PanelLeftHeaderAdd" | "PanelLeftHeaderKey" | "PanelLeftKey" | "PanelLeftText" | "PanelLeftTextAdd" | "PanelLeftTextDismiss" | "PanelRight" | "PanelRightAdd" | "PanelRightContract" | "PanelRightCursor" | "PanelRightExpand" | "PanelRightGallery" | "PanelSeparateWindow" | "PanelTopContract" | "PanelTopExpand" | "PanelTopGallery" | "Password" | "Patch" | "Patient" | "Pause" | "PauseCircle" | "PauseOff" | "PauseSettings" | "Payment" | "Pen" | "PenDismiss" | "PenOff" | "PenProhibited" | "PenSparkle" | "Pentagon" | "People" | "PeopleAdd" | "PeopleAudience" | "PeopleCall" | "PeopleChat" | "PeopleCheckmark" | "PeopleCommunity" | "PeopleCommunityAdd" | "PeopleEdit" | "PeopleError" | "PeopleList" | "PeopleLock" | "PeopleMoney" | "PeopleProhibited" | "PeopleQueue" | "PeopleSearch" | "PeopleSettings" | "PeopleStar" | "PeopleSwap" | "PeopleSync" | "PeopleTeam" | "PeopleTeamAdd" | "PeopleTeamDelete" | "PeopleTeamToolbox" | "PeopleToolbox" | "Person" | "Person5" | "Person6" | "PersonAccounts" | "PersonAdd" | "PersonAlert" | "PersonArrowBack" | "PersonArrowLeft" | "PersonArrowRight" | "PersonAvailable" | "PersonBoard" | "PersonCall" | "PersonChat" | "PersonCircle" | "PersonClock" | "PersonDelete" | "PersonDesktop" | "PersonEdit" | "PersonFeedback" | "PersonHeart" | "PersonInfo" | "PersonKey" | "PersonLightbulb" | "PersonLightning" | "PersonLink" | "PersonLock" | "PersonMail" | "PersonMoney" | "PersonNote" | "PersonPhone" | "PersonPill" | "PersonProhibited" | "PersonQuestionMark" | "PersonRibbon" | "PersonRunning" | "PersonSearch" | "PersonSettings" | "PersonSquare" | "PersonSquareCheckmark" | "PersonStanding" | "PersonStar" | "PersonStarburst" | "PersonSubtract" | "PersonSupport" | "PersonSwap" | "PersonSync" | "PersonTag" | "PersonVoice" | "PersonWalking" | "PersonWarning" | "PersonWrench" | "Phone" | "PhoneAdd" | "PhoneArrowRight" | "PhoneBriefcase" | "PhoneChat" | "PhoneCheckmark" | "PhoneDesktop" | "PhoneDesktopAdd" | "PhoneDismiss" | "PhoneEdit" | "PhoneEraser" | "PhoneFooterArrowDown" | "PhoneHeaderArrowUp" | "PhoneKey" | "PhoneLaptop" | "PhoneLinkSetup" | "PhoneLock" | "PhoneMultiple" | "PhoneMultipleSettings" | "PhonePageHeader" | "PhonePagination" | "PhonePerson" | "PhoneScreenTime" | "PhoneShake" | "PhoneSpanIn" | "PhoneSpanOut" | "PhoneSpeaker" | "PhoneStatusBar" | "PhoneSubtract" | "PhoneTablet" | "PhoneUpdate" | "PhoneUpdateCheckmark" | "PhoneVerticalScroll" | "PhoneVibrate" | "PhotoFilter" | "Pi" | "PictureInPicture" | "PictureInPictureEnter" | "PictureInPictureExit" | "Pill" | "Pin" | "PinOff" | "Pipeline" | "PipelineAdd" | "PipelineArrowCurveDown" | "PipelinePlay" | "Pivot" | "PlantGrass" | "PlantRagweed" | "Play" | "PlayCircle" | "PlayCircleHint" | "PlayMultiple" | "PlaySettings" | "PlayingCards" | "PlugConnected" | "PlugConnectedAdd" | "PlugConnectedCheckmark" | "PlugConnectedSettings" | "PlugDisconnected" | "PointScan" | "Poll" | "PollHorizontal" | "PollOff" | "PortHdmi" | "PortMicroUsb" | "PortUsbA" | "PortUsbC" | "PositionBackward" | "PositionForward" | "PositionToBack" | "PositionToFront" | "Power" | "Predictions" | "Premium" | "PremiumPerson" | "PresenceAvailable" | "PresenceAway" | "PresenceBlocked" | "PresenceBusy" | "PresenceDnd" | "PresenceOffline" | "PresenceOof" | "PresenceUnknown" | "Presenter" | "PresenterOff" | "PreviewLink" | "Previous" | "PreviousFrame" | "Print" | "PrintAdd" | "Production" | "ProductionCheckmark" | "Prohibited" | "ProhibitedMultiple" | "ProhibitedNote" | "ProjectionScreen" | "ProjectionScreenDismiss" | "ProjectionScreenText" | "ProtocolHandler" | "Pulse" | "PulseSquare" | "PuzzleCube" | "PuzzleCubePiece" | "PuzzlePiece" | "PuzzlePieceShield" | "QrCode" | "Question" | "QuestionCircle" | "QuizNew" | "Radar" | "RadarCheckmark" | "RadarRectangleMultiple" | "RadioButton" | "RadioButtonOff" | "Ram" | "RatingMature" | "RatioOneToOne" | "ReOrder" | "ReOrderDotsHorizontal" | "ReOrderDotsVertical" | "ReadAloud" | "ReadingList" | "ReadingListAdd" | "ReadingModeMobile" | "RealEstate" | "Receipt" | "ReceiptAdd" | "ReceiptBag" | "ReceiptCube" | "ReceiptMoney" | "ReceiptPlay" | "ReceiptSearch" | "ReceiptSparkles" | "Record" | "RecordStop" | "RectangleLandscape" | "RectangleLandscapeHintCopy" | "RectangleLandscapeSparkle" | "RectangleLandscapeSync" | "RectangleLandscapeSyncOff" | "RectanglePortraitLocationTarget" | "Recycle" | "RemixAdd" | "Remote" | "Rename" | "Reorder" | "Replay" | "Resize" | "ResizeImage" | "ResizeLarge" | "ResizeSmall" | "ResizeTable" | "ResizeVideo" | "Reward" | "Rewind" | "Rhombus" | "Ribbon" | "RibbonAdd" | "RibbonOff" | "RibbonStar" | "RoadCone" | "Rocket" | "RotateLeft" | "RotateRight" | "Router" | "RowTriple" | "Rss" | "Ruler" | "Run" | "Sanitize" | "Save" | "SaveArrowRight" | "SaveCopy" | "SaveEdit" | "SaveImage" | "SaveMultiple" | "SaveSearch" | "SaveSync" | "Savings" | "ScaleFill" | "ScaleFit" | "Scales" | "Scan" | "ScanCamera" | "ScanDash" | "ScanObject" | "ScanPerson" | "ScanQrCode" | "ScanTable" | "ScanText" | "ScanThumbUp" | "ScanThumbUpOff" | "ScanType" | "ScanTypeCheckmark" | "ScanTypeOff" | "Scratchpad" | "ScreenCut" | "ScreenPerson" | "ScreenSearch" | "Screenshot" | "ScreenshotRecord" | "Script" | "Search" | "SearchInfo" | "SearchSettings" | "SearchShield" | "SearchSquare" | "SearchVisual" | "Seat" | "SeatAdd" | "SelectAllOff" | "SelectAllOn" | "SelectObject" | "SelectObjectSkew" | "SelectObjectSkewDismiss" | "SelectObjectSkewEdit" | "Send" | "SendBeaker" | "SendClock" | "SendCopy" | "SerialPort" | "Server" | "ServerLink" | "ServerMultiple" | "ServerPlay" | "ServerSurface" | "ServerSurfaceMultiple" | "ServiceBell" | "Settings" | "SettingsChat" | "SettingsCogMultiple" | "ShapeExclude" | "ShapeIntersect" | "ShapeOrganic" | "ShapeSubtract" | "ShapeUnion" | "Shapes" | "Share" | "ShareAndroid" | "ShareCloseTray" | "ShareIos" | "ShareScreenPerson" | "ShareScreenPersonOverlay" | "ShareScreenPersonOverlayInside" | "ShareScreenPersonP" | "ShareScreenStart" | "ShareScreenStop" | "Shield" | "ShieldAdd" | "ShieldBadge" | "ShieldCheckmark" | "ShieldDismiss" | "ShieldDismissShield" | "ShieldError" | "ShieldGlobe" | "ShieldKeyhole" | "ShieldLock" | "ShieldPerson" | "ShieldPersonAdd" | "ShieldProhibited" | "ShieldQuestion" | "ShieldTask" | "Shifts" | "Shifts30Minutes" | "ShiftsActivity" | "ShiftsAdd" | "ShiftsAvailability" | "ShiftsCheckmark" | "ShiftsDay" | "ShiftsOpen" | "ShiftsProhibited" | "ShiftsQuestionMark" | "ShiftsTeam" | "ShoppingBag" | "ShoppingBagAdd" | "ShoppingBagArrowLeft" | "ShoppingBagDismiss" | "ShoppingBagPause" | "ShoppingBagPercent" | "ShoppingBagPlay" | "ShoppingBagTag" | "Shortpick" | "Showerhead" | "SidebarSearchLtr" | "SidebarSearchRtl" | "SignOut" | "Signature" | "Sim" | "SkipBack10" | "SkipForward10" | "SkipForward30" | "SkipForwardTab" | "SlashForward" | "Sleep" | "SlideAdd" | "SlideArrowRight" | "SlideContent" | "SlideEraser" | "SlideGrid" | "SlideHide" | "SlideLayout" | "SlideLink" | "SlideMicrophone" | "SlideMultiple" | "SlideMultipleArrowRight" | "SlideMultipleSearch" | "SlideRecord" | "SlideSearch" | "SlideSettings" | "SlideSize" | "SlideText" | "SlideTextEdit" | "SlideTextMultiple" | "SlideTextPerson" | "SlideTextSparkle" | "SlideTransition" | "Smartwatch" | "SmartwatchDot" | "Snooze" | "SoundSource" | "SoundWaveCircle" | "Space3D" | "Spacebar" | "Sparkle" | "SparkleCircle" | "Speaker0" | "Speaker1" | "Speaker2" | "SpeakerBluetooth" | "SpeakerBox" | "SpeakerEdit" | "SpeakerMute" | "SpeakerOff" | "SpeakerSettings" | "SpeakerUsb" | "SpinnerIos" | "SplitHint" | "SplitHorizontal" | "SplitVertical" | "Sport" | "SportAmericanFootball" | "SportBaseball" | "SportBasketball" | "SportHockey" | "SportSoccer" | "SprayCan" | "Square" | "SquareAdd" | "SquareArrowForward" | "SquareDismiss" | "SquareEraser" | "SquareHint" | "SquareHintApps" | "SquareHintArrowBack" | "SquareHintHexagon" | "SquareHintSparkles" | "SquareMultiple" | "SquareShadow" | "SquaresNested" | "Stack" | "StackAdd" | "StackArrowForward" | "StackStar" | "StackVertical" | "Star" | "StarAdd" | "StarArrowBack" | "StarArrowRightEnd" | "StarArrowRightStart" | "StarCheckmark" | "StarDismiss" | "StarEdit" | "StarEmphasis" | "StarHalf" | "StarLineHorizontal3" | "StarOff" | "StarOneQuarter" | "StarProhibited" | "StarSettings" | "StarThreeQuarter" | "Status" | "Step" | "Steps" | "Stethoscope" | "Sticker" | "StickerAdd" | "Stop" | "Storage" | "StoreMicrosoft" | "Stream" | "StreamInput" | "StreamInputOutput" | "StreamOutput" | "StreetSign" | "StyleGuide" | "SubGrid" | "Subtitles" | "Subtract" | "SubtractCircle" | "SubtractCircleArrowBack" | "SubtractCircleArrowForward" | "SubtractParentheses" | "SubtractSquare" | "SubtractSquareMultiple" | "SurfaceEarbuds" | "SurfaceHub" | "SwimmingPool" | "SwipeDown" | "SwipeRight" | "SwipeUp" | "Symbols" | "SyncOff" | "Syringe" | "System" | "Tab" | "TabAdd" | "TabArrowLeft" | "TabDesktop" | "TabDesktopArrowClockwise" | "TabDesktopArrowLeft" | "TabDesktopBottom" | "TabDesktopClock" | "TabDesktopCopy" | "TabDesktopImage" | "TabDesktopLink" | "TabDesktopMultiple" | "TabDesktopMultipleAdd" | "TabDesktopMultipleBottom" | "TabDesktopNewPage" | "TabInPrivate" | "TabInprivateAccount" | "TabProhibited" | "TabShieldDismiss" | "Table" | "TableAdd" | "TableArrowUp" | "TableBottomRow" | "TableCalculator" | "TableCellEdit" | "TableCellsMerge" | "TableCellsSplit" | "TableChecker" | "TableColumnTopBottom" | "TableCopy" | "TableDefault" | "TableDeleteColumn" | "TableDeleteRow" | "TableDismiss" | "TableEdit" | "TableFreezeColumn" | "TableFreezeColumnAndRow" | "TableFreezeRow" | "TableImage" | "TableInsertColumn" | "TableInsertRow" | "TableLightning" | "TableLink" | "TableLock" | "TableMoveAbove" | "TableMoveBelow" | "TableMoveLeft" | "TableMoveRight" | "TableMultiple" | "TableOffset" | "TableOffsetAdd" | "TableOffsetLessThanOrEqualTo" | "TableOffsetSettings" | "TableResizeColumn" | "TableResizeRow" | "TableSearch" | "TableSettings" | "TableSimple" | "TableSimpleCheckmark" | "TableSimpleExclude" | "TableSimpleInclude" | "TableSimpleMultiple" | "TableSplit" | "TableStackAbove" | "TableStackBelow" | "TableStackLeft" | "TableStackRight" | "TableSwitch" | "Tablet" | "TabletLaptop" | "TabletSpeaker" | "Tabs" | "Tag" | "TagCircle" | "TagDismiss" | "TagError" | "TagLock" | "TagLockAccent" | "TagMultiple" | "TagOff" | "TagQuestionMark" | "TagReset" | "TagSearch" | "TapDouble" | "TapSingle" | "Target" | "TargetAdd" | "TargetArrow" | "TargetDismiss" | "TargetEdit" | "TaskListAdd" | "TaskListLtr" | "TaskListRtl" | "TaskListSquareAdd" | "TaskListSquareDatabase" | "TaskListSquareLtr" | "TaskListSquarePerson" | "TaskListSquareRtl" | "TaskListSquareSettings" | "TasksApp" | "TeardropBottomRight" | "Teddy" | "Temperature" | "Tent" | "TetrisApp" | "Text" | "TextAbcUnderlineDouble" | "TextAdd" | "TextAddSpaceAfter" | "TextAddSpaceBefore" | "TextAddT" | "TextAlignCenter" | "TextAlignCenterRotate270" | "TextAlignCenterRotate90" | "TextAlignDistributed" | "TextAlignDistributedEvenly" | "TextAlignDistributedVertical" | "TextAlignJustify" | "TextAlignJustifyLow" | "TextAlignJustifyLow90" | "TextAlignJustifyLowRotate270" | "TextAlignJustifyLowRotate90" | "TextAlignJustifyRotate270" | "TextAlignJustifyRotate90" | "TextAlignLeft" | "TextAlignLeftRotate270" | "TextAlignLeftRotate90" | "TextAlignRight" | "TextAlignRightRotate270" | "TextAlignRightRotate90" | "TextArrowDownRightColumn" | "TextAsterisk" | "TextBaseline" | "TextBold" | "TextBoxSettings" | "TextBulletList" | "TextBulletList270" | "TextBulletList90" | "TextBulletListAdd" | "TextBulletListCheckmark" | "TextBulletListDismiss" | "TextBulletListLtr" | "TextBulletListLtr90" | "TextBulletListLtrRotate270" | "TextBulletListRtl" | "TextBulletListRtl90" | "TextBulletListSquare" | "TextBulletListSquareClock" | "TextBulletListSquareEdit" | "TextBulletListSquarePerson" | "TextBulletListSquareSearch" | "TextBulletListSquareSettings" | "TextBulletListSquareShield" | "TextBulletListSquareSparkle" | "TextBulletListSquareToolbox" | "TextBulletListSquareWarning" | "TextBulletListTree" | "TextCaseLowercase" | "TextCaseTitle" | "TextCaseUppercase" | "TextChangeCase" | "TextClearFormatting" | "TextCollapse" | "TextColor" | "TextColorAccent" | "TextColumnOne" | "TextColumnOneNarrow" | "TextColumnOneSemiNarrow" | "TextColumnOneWide" | "TextColumnOneWideLightning" | "TextColumnThree" | "TextColumnTwo" | "TextColumnTwoLeft" | "TextColumnTwoRight" | "TextColumnWide" | "TextContinuous" | "TextDensity" | "TextDescription" | "TextDescriptionLtr" | "TextDescriptionRtl" | "TextDirectionHorizontalLeft" | "TextDirectionHorizontalLtr" | "TextDirectionHorizontalRight" | "TextDirectionHorizontalRtl" | "TextDirectionRotate270Right" | "TextDirectionRotate315Right" | "TextDirectionRotate45Right" | "TextDirectionRotate90Left" | "TextDirectionRotate90Ltr" | "TextDirectionRotate90Right" | "TextDirectionRotate90Rtl" | "TextDirectionVertical" | "TextEditStyle" | "TextEditStyleCharacterA" | "TextEditStyleCharacterGa" | "TextEffects" | "TextEffectsSparkle" | "TextExpand" | "TextField" | "TextFirstLine" | "TextFont" | "TextFontInfo" | "TextFontSize" | "TextFootnote" | "TextGrammarArrowLeft" | "TextGrammarArrowRight" | "TextGrammarCheckmark" | "TextGrammarDismiss" | "TextGrammarError" | "TextGrammarLightning" | "TextGrammarSettings" | "TextGrammarWand" | "TextHanging" | "TextHeader1" | "TextHeader1Lines" | "TextHeader1LinesCaret" | "TextHeader2" | "TextHeader2Lines" | "TextHeader2LinesCaret" | "TextHeader3" | "TextHeader3Lines" | "TextHeader3LinesCaret" | "TextIndentDecrease" | "TextIndentDecreaseLtr" | "TextIndentDecreaseLtr90" | "TextIndentDecreaseLtrRotate270" | "TextIndentDecreaseRotate270" | "TextIndentDecreaseRotate90" | "TextIndentDecreaseRtl" | "TextIndentDecreaseRtl90" | "TextIndentDecreaseRtlRotate270" | "TextIndentIncrease" | "TextIndentIncreaseLtr" | "TextIndentIncreaseLtr90" | "TextIndentIncreaseLtrRotate270" | "TextIndentIncreaseRotate270" | "TextIndentIncreaseRotate90" | "TextIndentIncreaseRtl" | "TextIndentIncreaseRtl90" | "TextIndentIncreaseRtlRotate270" | "TextItalic" | "TextLineSpacing" | "TextMore" | "TextNumberFormat" | "TextNumberListLtr" | "TextNumberListLtr90" | "TextNumberListLtrRotate270" | "TextNumberListRotate270" | "TextNumberListRotate90" | "TextNumberListRtl" | "TextNumberListRtl90" | "TextNumberListRtlRotate270" | "TextParagraph" | "TextParagraphDirection" | "TextParagraphDirectionLeft" | "TextParagraphDirectionRight" | "TextPeriodAsterisk" | "TextPositionBehind" | "TextPositionFront" | "TextPositionLine" | "TextPositionSquare" | "TextPositionSquareLeft" | "TextPositionSquareRight" | "TextPositionThrough" | "TextPositionTight" | "TextPositionTopBottom" | "TextProofingTools" | "TextQuote" | "TextSortAscending" | "TextSortDescending" | "TextStrikethrough" | "TextSubscript" | "TextSuperscript" | "TextT" | "TextTTag" | "TextUnderline" | "TextUnderlineCharacterU" | "TextUnderlineDouble" | "TextWholeWord" | "TextWordCount" | "TextWrap" | "TextWrapOff" | "Textbox" | "TextboxAlignBottom" | "TextboxAlignBottomCenter" | "TextboxAlignBottomLeft" | "TextboxAlignBottomRight" | "TextboxAlignBottomRotate90" | "TextboxAlignCenter" | "TextboxAlignMiddle" | "TextboxAlignMiddleLeft" | "TextboxAlignMiddleRight" | "TextboxAlignMiddleRotate90" | "TextboxAlignTop" | "TextboxAlignTopCenter" | "TextboxAlignTopLeft" | "TextboxAlignTopRight" | "TextboxAlignTopRotate90" | "TextboxMore" | "TextboxRotate90" | "TextboxSettings" | "Thinking" | "ThumbDislike" | "ThumbLike" | "ThumbLikeDislike" | "TicketDiagonal" | "TicketHorizontal" | "TimeAndWeather" | "TimePicker" | "Timeline" | "Timer10" | "Timer" | "Timer2" | "Timer3" | "TimerOff" | "ToggleLeft" | "ToggleMultiple" | "ToggleRight" | "Toolbox" | "TooltipQuote" | "TopSpeed" | "Translate" | "TranslateAuto" | "TranslateOff" | "Transmission" | "TrayItemAdd" | "TrayItemRemove" | "TreeDeciduous" | "TreeEvergreen" | "Triangle" | "TriangleDown" | "TriangleLeft" | "TriangleRight" | "TriangleUp" | "Trophy" | "TrophyLock" | "TrophyOff" | "Tv" | "TvArrowRight" | "TvUsb" | "Umbrella" | "UninstallApp" | "UsbPlug" | "UsbStick" | "Vault" | "VehicleBicycle" | "VehicleBus" | "VehicleCab" | "VehicleCableCar" | "VehicleCar" | "VehicleCarCollision" | "VehicleCarParking" | "VehicleCarProfile" | "VehicleCarProfileLtr" | "VehicleCarProfileLtrClock" | "VehicleCarProfileRtl" | "VehicleShip" | "VehicleSubway" | "VehicleSubwayClock" | "VehicleTruck" | "VehicleTruckBag" | "VehicleTruckCube" | "VehicleTruckProfile" | "Video" | "Video360" | "Video360Off" | "VideoAdd" | "VideoBackgroundEffect" | "VideoBackgroundEffectHorizontal" | "VideoChat" | "VideoClip" | "VideoClipMultiple" | "VideoClipOff" | "VideoClipOptimize" | "VideoLink" | "VideoOff" | "VideoPeople" | "VideoPerson" | "VideoPersonCall" | "VideoPersonClock" | "VideoPersonOff" | "VideoPersonPulse" | "VideoPersonSparkle" | "VideoPersonSparkleOff" | "VideoPersonStar" | "VideoPersonStarOff" | "VideoPlayPause" | "VideoProhibited" | "VideoRecording" | "VideoSecurity" | "VideoSwitch" | "VideoSync" | "ViewDesktop" | "ViewDesktopMobile" | "VirtualNetwork" | "VirtualNetworkToolbox" | "Voicemail" | "VoicemailArrowBack" | "VoicemailArrowForward" | "VoicemailArrowSubtract" | "VoicemailShield" | "VoicemailSubtract" | "Vote" | "WalkieTalkie" | "Wallet" | "WalletCreditCard" | "Wallpaper" | "Wand" | "Warning" | "WarningShield" | "Washer" | "Water" | "WeatherBlowingSnow" | "WeatherCloudy" | "WeatherDrizzle" | "WeatherDuststorm" | "WeatherFog" | "WeatherHailDay" | "WeatherHailNight" | "WeatherHaze" | "WeatherMoon" | "WeatherMoonOff" | "WeatherPartlyCloudyDay" | "WeatherPartlyCloudyNight" | "WeatherRain" | "WeatherRainShowersDay" | "WeatherRainShowersNight" | "WeatherRainSnow" | "WeatherSnow" | "WeatherSnowShowerDay" | "WeatherSnowShowerNight" | "WeatherSnowflake" | "WeatherSqualls" | "WeatherSunny" | "WeatherSunnyHigh" | "WeatherSunnyLow" | "WeatherThunderstorm" | "WebAsset" | "Whiteboard" | "WhiteboardOff" | "Wifi1" | "Wifi2" | "Wifi3" | "Wifi4" | "WifiLock" | "WifiOff" | "WifiSettings" | "WifiWarning" | "Window" | "WindowAd" | "WindowAdOff" | "WindowAdPerson" | "WindowApps" | "WindowArrowUp" | "WindowBulletList" | "WindowBulletListAdd" | "WindowConsole" | "WindowDatabase" | "WindowDevEdit" | "WindowDevTools" | "WindowEdit" | "WindowHeaderHorizontal" | "WindowHeaderHorizontalOff" | "WindowHeaderVertical" | "WindowInprivate" | "WindowInprivateAccount" | "WindowLocationTarget" | "WindowMultiple" | "WindowMultipleSwap" | "WindowNew" | "WindowPlay" | "WindowSettings" | "WindowShield" | "WindowText" | "WindowWrench" | "Wrench" | "WrenchScrewdriver" | "WrenchSettings" | "XboxConsole" | "XboxController" | "XboxControllerError" | "Xray" | "ZoomFit" | "ZoomIn" | "ZoomOut" -export type ActionStyle = 'default' | 'positive' | 'destructive'; +export type ActionStyle = "default" | "positive" | "destructive"; -export type ActionMode = 'primary' | 'secondary'; +export type ActionMode = "primary" | "secondary"; export type MenuActionArray = (IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction)[]; -export type ThemeName = 'Light' | 'Dark'; +export type ThemeName = "Light" | "Dark"; -export type ElementHeight = 'auto' | 'stretch'; +export type ElementHeight = "auto" | "stretch"; -export type HorizontalAlignment = 'Left' | 'Center' | 'Right'; +export type HorizontalAlignment = "Left" | "Center" | "Right"; -export type Spacing = 'None' | 'ExtraSmall' | 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge' | 'Padding'; +export type Spacing = "None" | "ExtraSmall" | "Small" | "Default" | "Medium" | "Large" | "ExtraLarge" | "Padding"; -export type TargetWidth = 'VeryNarrow' | 'Narrow' | 'Standard' | 'Wide' | 'atLeast:VeryNarrow' | 'atMost:VeryNarrow' | 'atLeast:Narrow' | 'atMost:Narrow' | 'atLeast:Standard' | 'atMost:Standard' | 'atLeast:Wide' | 'atMost:Wide'; +export type TargetWidth = "VeryNarrow" | "Narrow" | "Standard" | "Wide" | "atLeast:VeryNarrow" | "atMost:VeryNarrow" | "atLeast:Narrow" | "atMost:Narrow" | "atLeast:Standard" | "atMost:Standard" | "atLeast:Wide" | "atMost:Wide"; -export type ContainerStyle = 'default' | 'emphasis' | 'accent' | 'good' | 'attention' | 'warning'; +export type ContainerStyle = "default" | "emphasis" | "accent" | "good" | "attention" | "warning"; -export type VerticalAlignment = 'Top' | 'Center' | 'Bottom'; +export type VerticalAlignment = "Top" | "Center" | "Bottom"; -export type FlowLayoutItemFit = 'Fit' | 'Fill'; +export type FlowLayoutItemFit = "Fit" | "Fill"; -export type FillMode = 'Cover' | 'RepeatHorizontally' | 'RepeatVertically' | 'Repeat'; +export type FillMode = "Cover" | "RepeatHorizontally" | "RepeatVertically" | "Repeat"; -export type TextSize = 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'; +export type TextSize = "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"; -export type TextWeight = 'Lighter' | 'Default' | 'Bolder'; +export type TextWeight = "Lighter" | "Default" | "Bolder"; -export type TextColor = 'Default' | 'Dark' | 'Light' | 'Accent' | 'Good' | 'Warning' | 'Attention'; +export type TextColor = "Default" | "Dark" | "Light" | "Accent" | "Good" | "Warning" | "Attention"; -export type FontType = 'Default' | 'Monospace'; +export type FontType = "Default" | "Monospace"; -export type TextBlockStyle = 'default' | 'columnHeader' | 'heading'; +export type TextBlockStyle = "default" | "columnHeader" | "heading"; -export type ImageStyle = 'Default' | 'Person' | 'RoundedCorners'; +export type ImageStyle = "Default" | "Person" | "RoundedCorners"; -export type Size = 'Auto' | 'Stretch' | 'Small' | 'Medium' | 'Large'; +export type Size = "Auto" | "Stretch" | "Small" | "Medium" | "Large"; -export type ImageFitMode = 'Cover' | 'Contain' | 'Fill'; +export type ImageFitMode = "Cover" | "Contain" | "Fill"; -export type InputTextStyle = 'Text' | 'Tel' | 'Url' | 'Email' | 'Password'; +export type InputTextStyle = "Text" | "Tel" | "Url" | "Email" | "Password"; -export type AssociatedInputs = 'auto' | 'none'; +export type AssociatedInputs = "auto" | "none"; -export type ChoiceSetInputStyle = 'compact' | 'expanded' | 'filtered'; +export type ChoiceSetInputStyle = "compact" | "expanded" | "filtered"; -export type RatingSize = 'Medium' | 'Large'; +export type RatingSize = "Medium" | "Large"; -export type RatingColor = 'Neutral' | 'Marigold'; +export type RatingColor = "Neutral" | "Marigold"; -export type RatingStyle = 'Default' | 'Compact'; +export type RatingStyle = "Default" | "Compact"; -export type IconSize = 'xxSmall' | 'xSmall' | 'Small' | 'Standard' | 'Medium' | 'Large' | 'xLarge' | 'xxLarge'; +export type IconSize = "xxSmall" | "xSmall" | "Small" | "Standard" | "Medium" | "Large" | "xLarge" | "xxLarge"; -export type IconStyle = 'Regular' | 'Filled'; +export type IconStyle = "Regular" | "Filled"; -export type CarouselPageAnimation = 'Slide' | 'CrossFade' | 'None'; +export type CarouselPageAnimation = "Slide" | "CrossFade" | "None"; -export type BadgeIconPosition = 'Before' | 'After'; +export type BadgeIconPosition = "Before" | "After"; -export type BadgeAppearance = 'Filled' | 'Tint'; +export type BadgeAppearance = "Filled" | "Tint"; -export type BadgeSize = 'Medium' | 'Large' | 'ExtraLarge'; +export type BadgeSize = "Medium" | "Large" | "ExtraLarge"; -export type BadgeShape = 'Square' | 'Rounded' | 'Circular'; +export type BadgeShape = "Square" | "Rounded" | "Circular"; -export type BadgeStyle = 'Default' | 'Subtle' | 'Informative' | 'Accent' | 'Good' | 'Attention' | 'Warning'; +export type BadgeStyle = "Default" | "Subtle" | "Informative" | "Accent" | "Good" | "Attention" | "Warning"; -export type ProgressRingLabelPosition = 'Before' | 'After' | 'Above' | 'Below'; +export type ProgressRingLabelPosition = "Before" | "After" | "Above" | "Below"; -export type ProgressRingSize = 'Tiny' | 'Small' | 'Medium' | 'Large'; +export type ProgressRingSize = "Tiny" | "Small" | "Medium" | "Large"; -export type ProgressBarColor = 'Accent' | 'Good' | 'Warning' | 'Attention'; +export type ProgressBarColor = "Accent" | "Good" | "Warning" | "Attention"; -export type ChartColorSet = 'categorical' | 'sequential' | 'sequentialred' | 'sequentialgreen' | 'sequentialyellow' | 'diverging'; +export type ChartColorSet = "categorical" | "sequential" | "sequentialred" | "sequentialgreen" | "sequentialyellow" | "diverging"; -export type ChartColor = 'good' | 'warning' | 'attention' | 'neutral' | 'categoricalRed' | 'categoricalPurple' | 'categoricalLavender' | 'categoricalBlue' | 'categoricalLightBlue' | 'categoricalTeal' | 'categoricalGreen' | 'categoricalLime' | 'categoricalMarigold' | 'sequential1' | 'sequential2' | 'sequential3' | 'sequential4' | 'sequential5' | 'sequential6' | 'sequential7' | 'sequential8' | 'divergingBlue' | 'divergingLightBlue' | 'divergingCyan' | 'divergingTeal' | 'divergingYellow' | 'divergingPeach' | 'divergingLightRed' | 'divergingRed' | 'divergingMaroon' | 'divergingGray' | 'sequentialRed1' | 'sequentialRed2' | 'sequentialRed3' | 'sequentialRed4' | 'sequentialRed5' | 'sequentialRed6' | 'sequentialRed7' | 'sequentialRed8' | 'sequentialGreen1' | 'sequentialGreen2' | 'sequentialGreen3' | 'sequentialGreen4' | 'sequentialGreen5' | 'sequentialGreen6' | 'sequentialGreen7' | 'sequentialGreen8' | 'sequentialYellow1' | 'sequentialYellow2' | 'sequentialYellow3' | 'sequentialYellow4' | 'sequentialYellow5' | 'sequentialYellow6' | 'sequentialYellow7' | 'sequentialYellow8'; +export type ChartColor = "good" | "warning" | "attention" | "neutral" | "categoricalRed" | "categoricalPurple" | "categoricalLavender" | "categoricalBlue" | "categoricalLightBlue" | "categoricalTeal" | "categoricalGreen" | "categoricalLime" | "categoricalMarigold" | "sequential1" | "sequential2" | "sequential3" | "sequential4" | "sequential5" | "sequential6" | "sequential7" | "sequential8" | "divergingBlue" | "divergingLightBlue" | "divergingCyan" | "divergingTeal" | "divergingYellow" | "divergingPeach" | "divergingLightRed" | "divergingRed" | "divergingMaroon" | "divergingGray" | "sequentialRed1" | "sequentialRed2" | "sequentialRed3" | "sequentialRed4" | "sequentialRed5" | "sequentialRed6" | "sequentialRed7" | "sequentialRed8" | "sequentialGreen1" | "sequentialGreen2" | "sequentialGreen3" | "sequentialGreen4" | "sequentialGreen5" | "sequentialGreen6" | "sequentialGreen7" | "sequentialGreen8" | "sequentialYellow1" | "sequentialYellow2" | "sequentialYellow3" | "sequentialYellow4" | "sequentialYellow5" | "sequentialYellow6" | "sequentialYellow7" | "sequentialYellow8"; -export type DonutThickness = 'Thin' | 'Thick'; +export type DonutThickness = "Thin" | "Thick"; -export type HorizontalBarChartDisplayMode = 'AbsoluteWithAxis' | 'AbsoluteNoAxis' | 'PartToWhole'; +export type HorizontalBarChartDisplayMode = "AbsoluteWithAxis" | "AbsoluteNoAxis" | "PartToWhole"; -export type GaugeChartValueFormat = 'Percentage' | 'Fraction'; +export type GaugeChartValueFormat = "Percentage" | "Fraction"; -export type CodeLanguage = 'Bash' | 'C' | 'Cpp' | 'CSharp' | 'Css' | 'Dos' | 'Go' | 'Graphql' | 'Html' | 'Java' | 'JavaScript' | 'Json' | 'ObjectiveC' | 'Perl' | 'Php' | 'PlainText' | 'PowerShell' | 'Python' | 'Sql' | 'TypeScript' | 'VbNet' | 'Verilog' | 'Vhdl' | 'Xml'; +export type CodeLanguage = "Bash" | "C" | "Cpp" | "CSharp" | "Css" | "Dos" | "Go" | "Graphql" | "Html" | "Java" | "JavaScript" | "Json" | "ObjectiveC" | "Perl" | "Php" | "PlainText" | "PowerShell" | "Python" | "Sql" | "TypeScript" | "VbNet" | "Verilog" | "Vhdl" | "Xml"; -export type PersonaIconStyle = 'profilePicture' | 'contactCard' | 'none'; +export type PersonaIconStyle = "profilePicture" | "contactCard" | "none"; -export type PersonaDisplayStyle = 'iconAndName' | 'iconOnly' | 'nameOnly'; +export type PersonaDisplayStyle = "iconAndName" | "iconOnly" | "nameOnly"; -export type FallbackElement = IContainer | IActionSet | IColumnSet | IMedia | IRichTextBlock | ITable | ITextBlock | IFactSet | IImageSet | IImage | ITextInput | IDateInput | ITimeInput | INumberInput | IToggleInput | IChoiceSetInput | IRatingInput | IRating | ICompoundButton | IIcon | ICarousel | IBadge | IProgressRing | IProgressBar | IDonutChart | IPieChart | IGroupedVerticalBarChart | IVerticalBarChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IGaugeChart | ICodeBlock | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComEventMicrosoftGraphComponent | 'drop'; +export type FallbackElement = IContainer | IActionSet | IColumnSet | IMedia | IRichTextBlock | ITable | ITextBlock | IFactSet | IImageSet | IImage | ITextInput | IDateInput | ITimeInput | INumberInput | IToggleInput | IChoiceSetInput | IRatingInput | IRating | ICompoundButton | IIcon | ICarousel | IBadge | IProgressRing | IProgressBar | IDonutChart | IPieChart | IGroupedVerticalBarChart | IVerticalBarChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IGaugeChart | ICodeBlock | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComEventMicrosoftGraphComponent | "drop"; export type CardElementArray = (IActionSet | IBadge | ICarousel | IDonutChart | IGaugeChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IPieChart | IVerticalBarChart | IGroupedVerticalBarChart | ICodeBlock | IColumnSet | IComEventMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | ICompoundButton | IContainer | IFactSet | IIcon | IImage | IImageSet | IChoiceSetInput | IDateInput | INumberInput | IRatingInput | ITextInput | ITimeInput | IToggleInput | IMedia | IProgressBar | IProgressRing | IRating | IRichTextBlock | ITable | ITextBlock)[]; -export type ImageSize = 'Small' | 'Medium' | 'Large'; +export type ImageSize = "Small" | "Medium" | "Large"; export type TableCellArray = ITableCell[]; @@ -117,17 +117,17 @@ export type ColumnArray = IColumn[]; export type ActionArray = (IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | IShowCardAction | ISubmitAction | IToggleVisibilityAction)[]; -export type PopoverPosition = 'Above' | 'Below' | 'Before' | 'After'; +export type PopoverPosition = "Above" | "Below" | "Before" | "After"; -export type FallbackAction = ISubmitAction | IOpenUrlAction | IExecuteAction | IToggleVisibilityAction | IShowCardAction | IResetInputsAction | IPopoverAction | IOpenUrlDialogAction | IInsertImageAction | 'drop'; +export type FallbackAction = ISubmitAction | IOpenUrlAction | IExecuteAction | IToggleVisibilityAction | IShowCardAction | IResetInputsAction | IPopoverAction | IOpenUrlDialogAction | IInsertImageAction | "drop"; -export type ImageInsertPosition = 'Selection' | 'Top' | 'Bottom'; +export type ImageInsertPosition = "Selection" | "Top" | "Bottom"; -export type Version = '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '1.5' | '1.6'; +export type Version = "1.0" | "1.1" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6"; -export type TeamsCardWidth = 'full'; +export type TeamsCardWidth = "full"; -export type MentionType = 'Person' | 'Tag'; +export type MentionType = "Person" | "Tag"; /** * An Adaptive Card, containing a free-form body of card elements, and an optional set of actions. @@ -140,7 +140,7 @@ export interface IAdaptiveCard { /** * Must be **AdaptiveCard**. */ - readonly type: 'AdaptiveCard'; + readonly type: "AdaptiveCard"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -213,10 +213,6 @@ export interface IAdaptiveCard { * Teams-specific metadata associated with the card. */ msteams?: ITeamsCardProperties; - /** - * Teams-specific metadata associated with the card. Equivalent to `msteams`. - */ - msTeams?: ITeamsCardProperties; /** * Metadata associated with the card. */ @@ -228,7 +224,7 @@ export interface IAdaptiveCard { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -254,10 +250,10 @@ export interface IAdaptiveCard { */ export function isAdaptiveCard(value: unknown): value is IAdaptiveCard { const obj = value as IAdaptiveCard; - return typeof obj === 'object' && obj.type === 'AdaptiveCard'; + return typeof obj === "object" && obj.type === "AdaptiveCard"; } -export type AdaptiveCardOptions = Partial>; +export type AdaptiveCardOptions = Partial>; /** * An Adaptive Card, containing a free-form body of card elements, and an optional set of actions. @@ -270,7 +266,7 @@ export class AdaptiveCard implements IAdaptiveCard { /** * Must be **AdaptiveCard**. */ - readonly type = 'AdaptiveCard'; + readonly type = "AdaptiveCard"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -322,7 +318,7 @@ export class AdaptiveCard implements IAdaptiveCard { /** * The Adaptive Card schema version the card is authored against. */ - version?: Version = '1.5'; + version?: Version = "1.5"; /** * The text that should be displayed if the client is not able to render the card. */ @@ -343,10 +339,6 @@ export class AdaptiveCard implements IAdaptiveCard { * Teams-specific metadata associated with the card. */ msteams?: ITeamsCardProperties; - /** - * Teams-specific metadata associated with the card. Equivalent to `msteams`. - */ - msTeams?: ITeamsCardProperties; /** * Metadata associated with the card. */ @@ -358,7 +350,7 @@ export class AdaptiveCard implements IAdaptiveCard { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -476,11 +468,6 @@ export class AdaptiveCard implements IAdaptiveCard { return this; } - withMsTeams(msTeams: ITeamsCardProperties): this { - this.msTeams = msTeams; - return this; - } - withMetadata(metadata: ICardMetadata): this { this.metadata = metadata; return this; @@ -548,7 +535,7 @@ export interface IExecuteAction { /** * Must be **Action.Execute**. */ - readonly type: 'Action.Execute'; + readonly type: "Action.Execute"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -624,10 +611,10 @@ export interface IExecuteAction { */ export function isExecuteAction(value: unknown): value is IExecuteAction { const obj = value as IExecuteAction; - return typeof obj === 'object' && obj.type === 'Action.Execute'; + return typeof obj === "object" && obj.type === "Action.Execute"; } -export type ExecuteActionOptions = Partial>; +export type ExecuteActionOptions = Partial>; /** * Gathers input values, merges them with the data property if specified, and sends them to the Bot via an Invoke activity. The Bot can respond synchronously and return an updated Adaptive Card to be displayed by the client. Action.Execute works in all Adaptive Card hosts. @@ -640,7 +627,7 @@ export class ExecuteAction implements IExecuteAction { /** * Must be **Action.Execute**. */ - readonly type = 'Action.Execute'; + readonly type = "Action.Execute"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -662,11 +649,11 @@ export class ExecuteAction implements IExecuteAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = 'default'; + style?: ActionStyle = "default"; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = 'primary'; + mode?: ActionMode = "primary"; /** * The tooltip text to display when the action is hovered over. */ @@ -708,7 +695,7 @@ export class ExecuteAction implements IExecuteAction { Object.assign(this, options); } - static from(options: Omit): ExecuteAction { + static from(options: Omit): ExecuteAction { return new ExecuteAction(options); } @@ -804,7 +791,7 @@ export interface IInsertImageAction { /** * Must be **Action.InsertImage**. */ - readonly type: 'Action.InsertImage'; + readonly type: "Action.InsertImage"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -876,10 +863,10 @@ export interface IInsertImageAction { */ export function isInsertImageAction(value: unknown): value is IInsertImageAction { const obj = value as IInsertImageAction; - return typeof obj === 'object' && obj.type === 'Action.InsertImage'; + return typeof obj === "object" && obj.type === "Action.InsertImage"; } -export type InsertImageActionOptions = Partial>; +export type InsertImageActionOptions = Partial>; /** * Inserts an image into the host application's canvas. @@ -892,7 +879,7 @@ export class InsertImageAction implements IInsertImageAction { /** * Must be **Action.InsertImage**. */ - readonly type = 'Action.InsertImage'; + readonly type = "Action.InsertImage"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -914,11 +901,11 @@ export class InsertImageAction implements IInsertImageAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = 'default'; + style?: ActionStyle = "default"; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = 'primary'; + mode?: ActionMode = "primary"; /** * The tooltip text to display when the action is hovered over. */ @@ -946,7 +933,7 @@ export class InsertImageAction implements IInsertImageAction { /** * The position at which to insert the image. */ - insertPosition?: ImageInsertPosition = 'Selection'; + insertPosition?: ImageInsertPosition = "Selection"; /** * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -956,7 +943,7 @@ export class InsertImageAction implements IInsertImageAction { Object.assign(this, options); } - static from(options: Omit): InsertImageAction { + static from(options: Omit): InsertImageAction { return new InsertImageAction(options); } @@ -1047,7 +1034,7 @@ export interface IOpenUrlAction { /** * Must be **Action.OpenUrl**. */ - readonly type: 'Action.OpenUrl'; + readonly type: "Action.OpenUrl"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1111,10 +1098,10 @@ export interface IOpenUrlAction { */ export function isOpenUrlAction(value: unknown): value is IOpenUrlAction { const obj = value as IOpenUrlAction; - return typeof obj === 'object' && obj.type === 'Action.OpenUrl'; + return typeof obj === "object" && obj.type === "Action.OpenUrl"; } -export type OpenUrlActionOptions = Partial>; +export type OpenUrlActionOptions = Partial>; /** * Opens the provided URL in either a separate browser tab or within the host application. @@ -1127,7 +1114,7 @@ export class OpenUrlAction implements IOpenUrlAction { /** * Must be **Action.OpenUrl**. */ - readonly type = 'Action.OpenUrl'; + readonly type = "Action.OpenUrl"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1149,11 +1136,11 @@ export class OpenUrlAction implements IOpenUrlAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = 'default'; + style?: ActionStyle = "default"; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = 'primary'; + mode?: ActionMode = "primary"; /** * The tooltip text to display when the action is hovered over. */ @@ -1184,7 +1171,7 @@ export class OpenUrlAction implements IOpenUrlAction { this.url = url; } - static from(options: Omit): OpenUrlAction { + static from(options: Omit): OpenUrlAction { return new OpenUrlAction(options.url, options); } @@ -1265,7 +1252,7 @@ export interface IOpenUrlDialogAction { /** * Must be **Action.OpenUrlDialog**. */ - readonly type: 'Action.OpenUrlDialog'; + readonly type: "Action.OpenUrlDialog"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1315,11 +1302,11 @@ export interface IOpenUrlDialogAction { /** * The height of the dialog. To define height as a number of pixels, use the px format. */ - dialogHeight?: 'small' | 'medium' | 'large' | string; + dialogHeight?: "small" | "medium" | "large" | string; /** * The width of the dialog. To define width as a number of pixels, use the px format. */ - dialogWidth?: 'small' | 'medium' | 'large' | string; + dialogWidth?: "small" | "medium" | "large" | string; /** * The URL to open. */ @@ -1341,10 +1328,10 @@ export interface IOpenUrlDialogAction { */ export function isOpenUrlDialogAction(value: unknown): value is IOpenUrlDialogAction { const obj = value as IOpenUrlDialogAction; - return typeof obj === 'object' && obj.type === 'Action.OpenUrlDialog'; + return typeof obj === "object" && obj.type === "Action.OpenUrlDialog"; } -export type OpenUrlDialogActionOptions = Partial>; +export type OpenUrlDialogActionOptions = Partial>; /** * Opens a task module in a modal dialog hosting the content at a provided URL. @@ -1357,7 +1344,7 @@ export class OpenUrlDialogAction implements IOpenUrlDialogAction { /** * Must be **Action.OpenUrlDialog**. */ - readonly type = 'Action.OpenUrlDialog'; + readonly type = "Action.OpenUrlDialog"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1379,11 +1366,11 @@ export class OpenUrlDialogAction implements IOpenUrlDialogAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = 'default'; + style?: ActionStyle = "default"; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = 'primary'; + mode?: ActionMode = "primary"; /** * The tooltip text to display when the action is hovered over. */ @@ -1407,11 +1394,11 @@ export class OpenUrlDialogAction implements IOpenUrlDialogAction { /** * The height of the dialog. To define height as a number of pixels, use the px format. */ - dialogHeight?: 'small' | 'medium' | 'large' | string; + dialogHeight?: "small" | "medium" | "large" | string; /** * The width of the dialog. To define width as a number of pixels, use the px format. */ - dialogWidth?: 'small' | 'medium' | 'large' | string; + dialogWidth?: "small" | "medium" | "large" | string; /** * The URL to open. */ @@ -1425,7 +1412,7 @@ export class OpenUrlDialogAction implements IOpenUrlDialogAction { Object.assign(this, options); } - static from(options: Omit): OpenUrlDialogAction { + static from(options: Omit): OpenUrlDialogAction { return new OpenUrlDialogAction(options); } @@ -1489,12 +1476,12 @@ export class OpenUrlDialogAction implements IOpenUrlDialogAction { return this; } - withDialogHeight(dialogHeight: 'small' | 'medium' | 'large' | string): this { + withDialogHeight(dialogHeight: "small" | "medium" | "large" | string): this { this.dialogHeight = dialogHeight; return this; } - withDialogWidth(dialogWidth: 'small' | 'medium' | 'large' | string): this { + withDialogWidth(dialogWidth: "small" | "medium" | "large" | string): this { this.dialogWidth = dialogWidth; return this; } @@ -1521,7 +1508,7 @@ export interface IResetInputsAction { /** * Must be **Action.ResetInputs**. */ - readonly type: 'Action.ResetInputs'; + readonly type: "Action.ResetInputs"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1585,10 +1572,10 @@ export interface IResetInputsAction { */ export function isResetInputsAction(value: unknown): value is IResetInputsAction { const obj = value as IResetInputsAction; - return typeof obj === 'object' && obj.type === 'Action.ResetInputs'; + return typeof obj === "object" && obj.type === "Action.ResetInputs"; } -export type ResetInputsActionOptions = Partial>; +export type ResetInputsActionOptions = Partial>; /** * Resets the values of the inputs in the card. @@ -1601,7 +1588,7 @@ export class ResetInputsAction implements IResetInputsAction { /** * Must be **Action.ResetInputs**. */ - readonly type = 'Action.ResetInputs'; + readonly type = "Action.ResetInputs"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1623,11 +1610,11 @@ export class ResetInputsAction implements IResetInputsAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = 'default'; + style?: ActionStyle = "default"; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = 'primary'; + mode?: ActionMode = "primary"; /** * The tooltip text to display when the action is hovered over. */ @@ -1657,7 +1644,7 @@ export class ResetInputsAction implements IResetInputsAction { Object.assign(this, options); } - static from(options: Omit): ResetInputsAction { + static from(options: Omit): ResetInputsAction { return new ResetInputsAction(options); } @@ -1738,7 +1725,7 @@ export interface ISubmitAction { /** * Must be **Action.Submit**. */ - readonly type: 'Action.Submit'; + readonly type: "Action.Submit"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1797,10 +1784,6 @@ export interface ISubmitAction { * Teams-specific metadata associated with the action. */ msteams?: ITeamsSubmitActionProperties; - /** - * Teams-specific metadata associated with the action. Equivalent to `msteams`. - */ - msTeams?: ITeamsSubmitActionProperties; /** * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -1818,10 +1801,10 @@ export interface ISubmitAction { */ export function isSubmitAction(value: unknown): value is ISubmitAction { const obj = value as ISubmitAction; - return typeof obj === 'object' && obj.type === 'Action.Submit'; + return typeof obj === "object" && obj.type === "Action.Submit"; } -export type SubmitActionOptions = Partial>; +export type SubmitActionOptions = Partial>; /** * Gathers input values, merges them with the data property if specified, and sends them to the Bot via an Invoke activity. The Bot can only acknowledge is has received the request. @@ -1834,7 +1817,7 @@ export class SubmitAction implements ISubmitAction { /** * Must be **Action.Submit**. */ - readonly type = 'Action.Submit'; + readonly type = "Action.Submit"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1856,11 +1839,11 @@ export class SubmitAction implements ISubmitAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = 'default'; + style?: ActionStyle = "default"; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = 'primary'; + mode?: ActionMode = "primary"; /** * The tooltip text to display when the action is hovered over. */ @@ -1893,10 +1876,6 @@ export class SubmitAction implements ISubmitAction { * Teams-specific metadata associated with the action. */ msteams?: ITeamsSubmitActionProperties; - /** - * Teams-specific metadata associated with the action. Equivalent to `msteams`. - */ - msTeams?: ITeamsSubmitActionProperties; /** * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -1906,7 +1885,7 @@ export class SubmitAction implements ISubmitAction { Object.assign(this, options); } - static from(options: Omit): SubmitAction { + static from(options: Omit): SubmitAction { return new SubmitAction(options); } @@ -1985,11 +1964,6 @@ export class SubmitAction implements ISubmitAction { return this; } - withMsTeams(msTeams: ITeamsSubmitActionProperties): this { - this.msTeams = msTeams; - return this; - } - withFallback(fallback: FallbackAction): this { this.fallback = fallback; return this; @@ -2007,7 +1981,7 @@ export interface IToggleVisibilityAction { /** * Must be **Action.ToggleVisibility**. */ - readonly type: 'Action.ToggleVisibility'; + readonly type: "Action.ToggleVisibility"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2071,10 +2045,10 @@ export interface IToggleVisibilityAction { */ export function isToggleVisibilityAction(value: unknown): value is IToggleVisibilityAction { const obj = value as IToggleVisibilityAction; - return typeof obj === 'object' && obj.type === 'Action.ToggleVisibility'; + return typeof obj === "object" && obj.type === "Action.ToggleVisibility"; } -export type ToggleVisibilityActionOptions = Partial>; +export type ToggleVisibilityActionOptions = Partial>; /** * Toggles the visibility of a set of elements. Action.ToggleVisibility is useful for creating "Show more" type UI patterns. @@ -2087,7 +2061,7 @@ export class ToggleVisibilityAction implements IToggleVisibilityAction { /** * Must be **Action.ToggleVisibility**. */ - readonly type = 'Action.ToggleVisibility'; + readonly type = "Action.ToggleVisibility"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2109,11 +2083,11 @@ export class ToggleVisibilityAction implements IToggleVisibilityAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = 'default'; + style?: ActionStyle = "default"; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = 'primary'; + mode?: ActionMode = "primary"; /** * The tooltip text to display when the action is hovered over. */ @@ -2143,7 +2117,7 @@ export class ToggleVisibilityAction implements IToggleVisibilityAction { Object.assign(this, options); } - static from(options: Omit): ToggleVisibilityAction { + static from(options: Omit): ToggleVisibilityAction { return new ToggleVisibilityAction(options); } @@ -2245,7 +2219,7 @@ export class ThemedUrl implements IThemedUrl { /** * The theme this URL applies to. */ - theme?: ThemeName = 'Light'; + theme?: ThemeName = "Light"; /** * The URL to use for the associated theme. */ @@ -2335,7 +2309,7 @@ export interface IShowCardAction { /** * Must be **Action.ShowCard**. */ - readonly type: 'Action.ShowCard'; + readonly type: "Action.ShowCard"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2399,10 +2373,10 @@ export interface IShowCardAction { */ export function isShowCardAction(value: unknown): value is IShowCardAction { const obj = value as IShowCardAction; - return typeof obj === 'object' && obj.type === 'Action.ShowCard'; + return typeof obj === "object" && obj.type === "Action.ShowCard"; } -export type ShowCardActionOptions = Partial>; +export type ShowCardActionOptions = Partial>; /** * Expands or collapses an embedded card within the main card. @@ -2415,7 +2389,7 @@ export class ShowCardAction implements IShowCardAction { /** * Must be **Action.ShowCard**. */ - readonly type = 'Action.ShowCard'; + readonly type = "Action.ShowCard"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2437,11 +2411,11 @@ export class ShowCardAction implements IShowCardAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = 'default'; + style?: ActionStyle = "default"; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = 'primary'; + mode?: ActionMode = "primary"; /** * The tooltip text to display when the action is hovered over. */ @@ -2471,7 +2445,7 @@ export class ShowCardAction implements IShowCardAction { Object.assign(this, options); } - static from(options: Omit): ShowCardAction { + static from(options: Omit): ShowCardAction { return new ShowCardAction(options); } @@ -2552,7 +2526,7 @@ export interface IPopoverAction { /** * Must be **Action.Popover**. */ - readonly type: 'Action.Popover'; + readonly type: "Action.Popover"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2624,10 +2598,10 @@ export interface IPopoverAction { */ export function isPopoverAction(value: unknown): value is IPopoverAction { const obj = value as IPopoverAction; - return typeof obj === 'object' && obj.type === 'Action.Popover'; + return typeof obj === "object" && obj.type === "Action.Popover"; } -export type PopoverActionOptions = Partial>; +export type PopoverActionOptions = Partial>; /** * Shows a popover to display more information to the user. @@ -2640,7 +2614,7 @@ export class PopoverAction implements IPopoverAction { /** * Must be **Action.Popover**. */ - readonly type = 'Action.Popover'; + readonly type = "Action.Popover"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2662,11 +2636,11 @@ export class PopoverAction implements IPopoverAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = 'default'; + style?: ActionStyle = "default"; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = 'primary'; + mode?: ActionMode = "primary"; /** * The tooltip text to display when the action is hovered over. */ @@ -2690,7 +2664,7 @@ export class PopoverAction implements IPopoverAction { /** * Controls where the popover should be displayed with regards to the element that triggered it. */ - position?: PopoverPosition = 'Above'; + position?: PopoverPosition = "Above"; /** * The maximum width of the popover in pixels, in the `px` format */ @@ -2704,7 +2678,7 @@ export class PopoverAction implements IPopoverAction { Object.assign(this, options); } - static from(options: Omit): PopoverAction { + static from(options: Omit): PopoverAction { return new PopoverAction(options); } @@ -2795,7 +2769,7 @@ export interface IActionSet { /** * Must be **ActionSet**. */ - readonly type: 'ActionSet'; + readonly type: "ActionSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2839,7 +2813,7 @@ export interface IActionSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -2861,10 +2835,10 @@ export interface IActionSet { */ export function isActionSet(value: unknown): value is IActionSet { const obj = value as IActionSet; - return typeof obj === 'object' && obj.type === 'ActionSet'; + return typeof obj === "object" && obj.type === "ActionSet"; } -export type ActionSetOptions = Partial>; +export type ActionSetOptions = Partial>; /** * Displays a set of action, which can be placed anywhere in the card. @@ -2877,7 +2851,7 @@ export class ActionSet implements IActionSet { /** * Must be **ActionSet**. */ - readonly type = 'ActionSet'; + readonly type = "ActionSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2901,7 +2875,7 @@ export class ActionSet implements IActionSet { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -2909,7 +2883,7 @@ export class ActionSet implements IActionSet { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -2921,7 +2895,7 @@ export class ActionSet implements IActionSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -3017,7 +2991,7 @@ export interface IContainer { /** * Must be **Container**. */ - readonly type: 'Container'; + readonly type: "Container"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -3105,7 +3079,7 @@ export interface IContainer { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -3127,10 +3101,10 @@ export interface IContainer { */ export function isContainer(value: unknown): value is IContainer { const obj = value as IContainer; - return typeof obj === 'object' && obj.type === 'Container'; + return typeof obj === "object" && obj.type === "Container"; } -export type ContainerOptions = Partial>; +export type ContainerOptions = Partial>; /** * A container for other elements. Use containers for styling purposes and/or to logically group a set of elements together, which can be especially useful when used with Action.ToggleVisibility. @@ -3143,7 +3117,7 @@ export class Container implements IContainer { /** * Must be **Container**. */ - readonly type = 'Container'; + readonly type = "Container"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -3167,7 +3141,7 @@ export class Container implements IContainer { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -3175,7 +3149,7 @@ export class Container implements IContainer { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -3231,7 +3205,7 @@ export class Container implements IContainer { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -3382,7 +3356,7 @@ export interface IStackLayout { /** * Must be **Layout.Stack**. */ - readonly type: 'Layout.Stack'; + readonly type: "Layout.Stack"; /** * Controls for which card width the layout should be used. */ @@ -3400,10 +3374,10 @@ export interface IStackLayout { */ export function isStackLayout(value: unknown): value is IStackLayout { const obj = value as IStackLayout; - return typeof obj === 'object' && obj.type === 'Layout.Stack'; + return typeof obj === "object" && obj.type === "Layout.Stack"; } -export type StackLayoutOptions = Partial>; +export type StackLayoutOptions = Partial>; /** * A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers. @@ -3416,7 +3390,7 @@ export class StackLayout implements IStackLayout { /** * Must be **Layout.Stack**. */ - readonly type = 'Layout.Stack'; + readonly type = "Layout.Stack"; /** * Controls for which card width the layout should be used. */ @@ -3426,7 +3400,7 @@ export class StackLayout implements IStackLayout { Object.assign(this, options); } - static from(options: Omit): StackLayout { + static from(options: Omit): StackLayout { return new StackLayout(options); } @@ -3452,7 +3426,7 @@ export interface IFlowLayout { /** * Must be **Layout.Flow**. */ - readonly type: 'Layout.Flow'; + readonly type: "Layout.Flow"; /** * Controls for which card width the layout should be used. */ @@ -3502,10 +3476,10 @@ export interface IFlowLayout { */ export function isFlowLayout(value: unknown): value is IFlowLayout { const obj = value as IFlowLayout; - return typeof obj === 'object' && obj.type === 'Layout.Flow'; + return typeof obj === "object" && obj.type === "Layout.Flow"; } -export type FlowLayoutOptions = Partial>; +export type FlowLayoutOptions = Partial>; /** * A layout that spreads elements horizontally and wraps them across multiple rows, as needed. @@ -3518,7 +3492,7 @@ export class FlowLayout implements IFlowLayout { /** * Must be **Layout.Flow**. */ - readonly type = 'Layout.Flow'; + readonly type = "Layout.Flow"; /** * Controls for which card width the layout should be used. */ @@ -3526,15 +3500,15 @@ export class FlowLayout implements IFlowLayout { /** * Controls how the content of the container should be horizontally aligned. */ - horizontalItemsAlignment?: HorizontalAlignment = 'Center'; + horizontalItemsAlignment?: HorizontalAlignment = "Center"; /** * Controls how the content of the container should be vertically aligned. */ - verticalItemsAlignment?: VerticalAlignment = 'Top'; + verticalItemsAlignment?: VerticalAlignment = "Top"; /** * Controls how item should fit inside the container. */ - itemFit?: FlowLayoutItemFit = 'Fit'; + itemFit?: FlowLayoutItemFit = "Fit"; /** * The minimum width, in pixels, of each item, in the `px` format. Should not be used if itemWidth is set. */ @@ -3550,17 +3524,17 @@ export class FlowLayout implements IFlowLayout { /** * The space between items. */ - columnSpacing?: Spacing = 'Default'; + columnSpacing?: Spacing = "Default"; /** * The space between rows of items. */ - rowSpacing?: Spacing = 'Default'; + rowSpacing?: Spacing = "Default"; constructor(options: FlowLayoutOptions = {}) { Object.assign(this, options); } - static from(options: Omit): FlowLayout { + static from(options: Omit): FlowLayout { return new FlowLayout(options); } @@ -3626,7 +3600,7 @@ export interface IAreaGridLayout { /** * Must be **Layout.AreaGrid**. */ - readonly type: 'Layout.AreaGrid'; + readonly type: "Layout.AreaGrid"; /** * Controls for which card width the layout should be used. */ @@ -3660,10 +3634,10 @@ export interface IAreaGridLayout { */ export function isAreaGridLayout(value: unknown): value is IAreaGridLayout { const obj = value as IAreaGridLayout; - return typeof obj === 'object' && obj.type === 'Layout.AreaGrid'; + return typeof obj === "object" && obj.type === "Layout.AreaGrid"; } -export type AreaGridLayoutOptions = Partial>; +export type AreaGridLayoutOptions = Partial>; /** * A layout that divides a container into named areas into which elements can be placed. @@ -3676,7 +3650,7 @@ export class AreaGridLayout implements IAreaGridLayout { /** * Must be **Layout.AreaGrid**. */ - readonly type = 'Layout.AreaGrid'; + readonly type = "Layout.AreaGrid"; /** * Controls for which card width the layout should be used. */ @@ -3692,17 +3666,17 @@ export class AreaGridLayout implements IAreaGridLayout { /** * The space between columns. */ - columnSpacing?: Spacing = 'Default'; + columnSpacing?: Spacing = "Default"; /** * The space between rows. */ - rowSpacing?: Spacing = 'Default'; + rowSpacing?: Spacing = "Default"; constructor(options: AreaGridLayoutOptions = {}) { Object.assign(this, options); } - static from(options: Omit): AreaGridLayout { + static from(options: Omit): AreaGridLayout { return new AreaGridLayout(options); } @@ -3886,15 +3860,15 @@ export class BackgroundImage implements IBackgroundImage { /** * Controls how the image should fill the area. */ - fillMode?: FillMode = 'Cover'; + fillMode?: FillMode = "Cover"; /** * Controls how the image should be aligned if it must be cropped or if using repeat fill mode. */ - horizontalAlignment?: HorizontalAlignment = 'Left'; + horizontalAlignment?: HorizontalAlignment = "Left"; /** * Controls how the image should be aligned if it must be cropped or if using repeat fill mode. */ - verticalAlignment?: VerticalAlignment = 'Top'; + verticalAlignment?: VerticalAlignment = "Top"; /** * A set of theme-specific image URLs. */ @@ -3950,7 +3924,7 @@ export interface IColumnSet { /** * Must be **ColumnSet**. */ - readonly type: 'ColumnSet'; + readonly type: "ColumnSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4018,11 +3992,11 @@ export interface IColumnSet { /** * The minimum width of the column set. `auto` will automatically adjust the column set's minimum width according to its content and using the `px` format will give the column set an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. */ - minWidth?: 'auto' | string; + minWidth?: "auto" | string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4044,10 +4018,10 @@ export interface IColumnSet { */ export function isColumnSet(value: unknown): value is IColumnSet { const obj = value as IColumnSet; - return typeof obj === 'object' && obj.type === 'ColumnSet'; + return typeof obj === "object" && obj.type === "ColumnSet"; } -export type ColumnSetOptions = Partial>; +export type ColumnSetOptions = Partial>; /** * Splits the available horizontal space into separate columns, so elements can be organized in a row. @@ -4060,7 +4034,7 @@ export class ColumnSet implements IColumnSet { /** * Must be **ColumnSet**. */ - readonly type = 'ColumnSet'; + readonly type = "ColumnSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4084,7 +4058,7 @@ export class ColumnSet implements IColumnSet { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -4092,7 +4066,7 @@ export class ColumnSet implements IColumnSet { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -4128,11 +4102,11 @@ export class ColumnSet implements IColumnSet { /** * The minimum width of the column set. `auto` will automatically adjust the column set's minimum width according to its content and using the `px` format will give the column set an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. */ - minWidth?: 'auto' | string; + minWidth?: "auto" | string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4146,7 +4120,7 @@ export class ColumnSet implements IColumnSet { Object.assign(this, options); } - static from(options: Omit): ColumnSet { + static from(options: Omit): ColumnSet { return new ColumnSet(options); } @@ -4235,7 +4209,7 @@ export class ColumnSet implements IColumnSet { return this; } - withMinWidth(minWidth: 'auto' | string): this { + withMinWidth(minWidth: "auto" | string): this { this.minWidth = minWidth; return this; } @@ -4262,7 +4236,7 @@ export interface IMedia { /** * Must be **Media**. */ - readonly type: 'Media'; + readonly type: "Media"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4318,7 +4292,7 @@ export interface IMedia { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4336,10 +4310,10 @@ export interface IMedia { */ export function isMedia(value: unknown): value is IMedia { const obj = value as IMedia; - return typeof obj === 'object' && obj.type === 'Media'; + return typeof obj === "object" && obj.type === "Media"; } -export type MediaOptions = Partial>; +export type MediaOptions = Partial>; /** * A media element, that makes it possible to embed videos inside a card. @@ -4352,7 +4326,7 @@ export class Media implements IMedia { /** * Must be **Media**. */ - readonly type = 'Media'; + readonly type = "Media"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4376,11 +4350,11 @@ export class Media implements IMedia { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -4408,7 +4382,7 @@ export class Media implements IMedia { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4418,7 +4392,7 @@ export class Media implements IMedia { Object.assign(this, options); } - static from(options: Omit): Media { + static from(options: Omit): Media { return new Media(options); } @@ -4646,7 +4620,7 @@ export interface IRichTextBlock { /** * Must be **RichTextBlock**. */ - readonly type: 'RichTextBlock'; + readonly type: "RichTextBlock"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4694,7 +4668,7 @@ export interface IRichTextBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4716,10 +4690,10 @@ export interface IRichTextBlock { */ export function isRichTextBlock(value: unknown): value is IRichTextBlock { const obj = value as IRichTextBlock; - return typeof obj === 'object' && obj.type === 'RichTextBlock'; + return typeof obj === "object" && obj.type === "RichTextBlock"; } -export type RichTextBlockOptions = Partial>; +export type RichTextBlockOptions = Partial>; /** * A rich text block that displays formatted text. @@ -4732,7 +4706,7 @@ export class RichTextBlock implements IRichTextBlock { /** * Must be **RichTextBlock**. */ - readonly type = 'RichTextBlock'; + readonly type = "RichTextBlock"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4756,7 +4730,7 @@ export class RichTextBlock implements IRichTextBlock { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -4764,7 +4738,7 @@ export class RichTextBlock implements IRichTextBlock { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -4780,7 +4754,7 @@ export class RichTextBlock implements IRichTextBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4794,7 +4768,7 @@ export class RichTextBlock implements IRichTextBlock { Object.assign(this, options); } - static from(options: Omit): RichTextBlock { + static from(options: Omit): RichTextBlock { return new RichTextBlock(options); } @@ -4880,7 +4854,7 @@ export interface ITable { /** * Must be **Table**. */ - readonly type: 'Table'; + readonly type: "Table"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4940,7 +4914,7 @@ export interface ITable { /** * The minimum width of the table in pixels. `auto` will automatically adjust the table's minimum width according to its content and using the `px` format will give the table an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. */ - minWidth?: 'auto' | string; + minWidth?: "auto" | string; /** * Controls whether the first row of the table should be treated as a header. */ @@ -4964,7 +4938,7 @@ export interface ITable { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4986,10 +4960,10 @@ export interface ITable { */ export function isTable(value: unknown): value is ITable { const obj = value as ITable; - return typeof obj === 'object' && obj.type === 'Table'; + return typeof obj === "object" && obj.type === "Table"; } -export type TableOptions = Partial>; +export type TableOptions = Partial>; /** * Use tables to display data in a tabular way, with rows, columns and cells. @@ -5002,7 +4976,7 @@ export class Table implements ITable { /** * Must be **Table**. */ - readonly type = 'Table'; + readonly type = "Table"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5026,7 +5000,7 @@ export class Table implements ITable { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -5034,7 +5008,7 @@ export class Table implements ITable { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -5062,7 +5036,7 @@ export class Table implements ITable { /** * The minimum width of the table in pixels. `auto` will automatically adjust the table's minimum width according to its content and using the `px` format will give the table an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. */ - minWidth?: 'auto' | string; + minWidth?: "auto" | string; /** * Controls whether the first row of the table should be treated as a header. */ @@ -5086,7 +5060,7 @@ export class Table implements ITable { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5100,7 +5074,7 @@ export class Table implements ITable { Object.assign(this, options); } - static from(options: Omit): Table { + static from(options: Omit): Table { return new Table(options); } @@ -5179,7 +5153,7 @@ export class Table implements ITable { return this; } - withMinWidth(minWidth: 'auto' | string): this { + withMinWidth(minWidth: "auto" | string): this { this.minWidth = minWidth; return this; } @@ -5239,7 +5213,7 @@ export interface IColumnDefinition { /** * The width of the column in the table. If expressed as a number, represents the relative weight of the column in the table. If expressed as a string, `auto` will automatically adjust the column's width according to its content and using the `px` format will give the column an explicit width in pixels. */ - width?: 'auto' | string | number; + width?: "auto" | string | number; } @@ -5264,7 +5238,7 @@ export class ColumnDefinition implements IColumnDefinition { /** * The width of the column in the table. If expressed as a number, represents the relative weight of the column in the table. If expressed as a string, `auto` will automatically adjust the column's width according to its content and using the `px` format will give the column an explicit width in pixels. */ - width?: 'auto' | string | number; + width?: "auto" | string | number; constructor(options: ColumnDefinitionOptions = {}) { Object.assign(this, options); @@ -5289,7 +5263,7 @@ export class ColumnDefinition implements IColumnDefinition { return this; } - withWidth(width: 'auto' | string | number): this { + withWidth(width: "auto" | string | number): this { this.width = width; return this; } @@ -5306,7 +5280,7 @@ export interface ITextBlock { /** * Must be **TextBlock**. */ - readonly type: 'TextBlock'; + readonly type: "TextBlock"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5390,7 +5364,7 @@ export interface ITextBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5408,10 +5382,10 @@ export interface ITextBlock { */ export function isTextBlock(value: unknown): value is ITextBlock { const obj = value as ITextBlock; - return typeof obj === 'object' && obj.type === 'TextBlock'; + return typeof obj === "object" && obj.type === "TextBlock"; } -export type TextBlockOptions = Partial>; +export type TextBlockOptions = Partial>; /** * A block of text, optionally formatted using Markdown. @@ -5424,7 +5398,7 @@ export class TextBlock implements ITextBlock { /** * Must be **TextBlock**. */ - readonly type = 'TextBlock'; + readonly type = "TextBlock"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5448,7 +5422,7 @@ export class TextBlock implements ITextBlock { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -5456,7 +5430,7 @@ export class TextBlock implements ITextBlock { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -5508,7 +5482,7 @@ export class TextBlock implements ITextBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5519,7 +5493,7 @@ export class TextBlock implements ITextBlock { this.text = text; } - static from(options: Omit): TextBlock { + static from(options: Omit): TextBlock { return new TextBlock(options.text, options); } @@ -5645,7 +5619,7 @@ export interface IFactSet { /** * Must be **FactSet**. */ - readonly type: 'FactSet'; + readonly type: "FactSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5689,7 +5663,7 @@ export interface IFactSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5707,10 +5681,10 @@ export interface IFactSet { */ export function isFactSet(value: unknown): value is IFactSet { const obj = value as IFactSet; - return typeof obj === 'object' && obj.type === 'FactSet'; + return typeof obj === "object" && obj.type === "FactSet"; } -export type FactSetOptions = Partial>; +export type FactSetOptions = Partial>; /** * A set of facts, displayed as a table or a vertical list when horizontal space is constrained. @@ -5723,7 +5697,7 @@ export class FactSet implements IFactSet { /** * Must be **FactSet**. */ - readonly type = 'FactSet'; + readonly type = "FactSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5747,11 +5721,11 @@ export class FactSet implements IFactSet { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -5767,7 +5741,7 @@ export class FactSet implements IFactSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5918,7 +5892,7 @@ export interface IImageSet { /** * Must be **ImageSet**. */ - readonly type: 'ImageSet'; + readonly type: "ImageSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5970,7 +5944,7 @@ export interface IImageSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5988,10 +5962,10 @@ export interface IImageSet { */ export function isImageSet(value: unknown): value is IImageSet { const obj = value as IImageSet; - return typeof obj === 'object' && obj.type === 'ImageSet'; + return typeof obj === "object" && obj.type === "ImageSet"; } -export type ImageSetOptions = Partial>; +export type ImageSetOptions = Partial>; /** * A set of images, displayed side-by-side and wrapped across multiple rows as needed. @@ -6004,7 +5978,7 @@ export class ImageSet implements IImageSet { /** * Must be **ImageSet**. */ - readonly type = 'ImageSet'; + readonly type = "ImageSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6028,7 +6002,7 @@ export class ImageSet implements IImageSet { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -6036,7 +6010,7 @@ export class ImageSet implements IImageSet { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -6052,11 +6026,11 @@ export class ImageSet implements IImageSet { /** * The size to use to render all images in the set. */ - imageSize?: ImageSize = 'Medium'; + imageSize?: ImageSize = "Medium"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6153,7 +6127,7 @@ export interface IImage { /** * Must be **Image**. */ - readonly type: 'Image'; + readonly type: "Image"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6213,7 +6187,7 @@ export interface IImage { /** * The width of the image. */ - width?: 'auto' | 'stretch' | string; + width?: "auto" | "stretch" | string; /** * An Action that will be invoked when the image is tapped or clicked. Action.ShowCard is not supported. */ @@ -6226,10 +6200,6 @@ export interface IImage { * Teams-specific metadata associated with the image. */ msteams?: ITeamsImageProperties; - /** - * Teams-specific metadata associated with the image. Equivalent to `msteams`. - */ - msTeams?: ITeamsImageProperties; /** * A set of theme-specific image URLs. */ @@ -6249,11 +6219,11 @@ export interface IImage { /** * The height of the image. */ - height?: 'auto' | 'stretch' | string; + height?: "auto" | "stretch" | string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6271,10 +6241,10 @@ export interface IImage { */ export function isImage(value: unknown): value is IImage { const obj = value as IImage; - return typeof obj === 'object' && obj.type === 'Image'; + return typeof obj === "object" && obj.type === "Image"; } -export type ImageOptions = Partial>; +export type ImageOptions = Partial>; /** * A standalone image element. @@ -6287,7 +6257,7 @@ export class Image implements IImage { /** * Must be **Image**. */ - readonly type = 'Image'; + readonly type = "Image"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6315,7 +6285,7 @@ export class Image implements IImage { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -6339,15 +6309,15 @@ export class Image implements IImage { /** * The style of the image. */ - style?: ImageStyle = 'Default'; + style?: ImageStyle = "Default"; /** * The size of the image. */ - size?: Size = 'Auto'; + size?: Size = "Auto"; /** * The width of the image. */ - width?: 'auto' | 'stretch' | string = 'auto'; + width?: "auto" | "stretch" | string = "auto"; /** * An Action that will be invoked when the image is tapped or clicked. Action.ShowCard is not supported. */ @@ -6360,10 +6330,6 @@ export class Image implements IImage { * Teams-specific metadata associated with the image. */ msteams?: ITeamsImageProperties; - /** - * Teams-specific metadata associated with the image. Equivalent to `msteams`. - */ - msTeams?: ITeamsImageProperties; /** * A set of theme-specific image URLs. */ @@ -6371,23 +6337,23 @@ export class Image implements IImage { /** * Controls how the image should be fitted inside its bounding box. imageFit is only meaningful when both the width and height properties are set. When fitMode is set to contain, the default style is always used. */ - fitMode?: ImageFitMode = 'Fill'; + fitMode?: ImageFitMode = "Fill"; /** * Controls the horizontal position of the image within its bounding box. horizontalContentAlignment is only meaningful when both the width and height properties are set and fitMode is set to either cover or contain. */ - horizontalContentAlignment?: HorizontalAlignment = 'Left'; + horizontalContentAlignment?: HorizontalAlignment = "Left"; /** * Controls the vertical position of the image within its bounding box. verticalContentAlignment is only meaningful when both the width and height properties are set and fitMode is set to either cover or contain. */ - verticalContentAlignment?: VerticalAlignment = 'Top'; + verticalContentAlignment?: VerticalAlignment = "Top"; /** * The height of the image. */ - height?: 'auto' | 'stretch' | string = 'auto'; + height?: "auto" | "stretch" | string = "auto"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6398,7 +6364,7 @@ export class Image implements IImage { this.url = url; } - static from(options: Omit): Image { + static from(options: Omit): Image { return new Image(options.url, options); } @@ -6477,7 +6443,7 @@ export class Image implements IImage { return this; } - withWidth(width: 'auto' | 'stretch' | string): this { + withWidth(width: "auto" | "stretch" | string): this { this.width = width; return this; } @@ -6497,11 +6463,6 @@ export class Image implements IImage { return this; } - withMsTeams(msTeams: ITeamsImageProperties): this { - this.msTeams = msTeams; - return this; - } - withThemedUrls(...themedUrls: IThemedUrl[]): this { this.themedUrls = themedUrls; return this; @@ -6522,7 +6483,7 @@ export class Image implements IImage { return this; } - withHeight(height: 'auto' | 'stretch' | string): this { + withHeight(height: "auto" | "stretch" | string): this { this.height = height; return this; } @@ -6593,7 +6554,7 @@ export interface ITextInput { /** * Must be **Input.Text**. */ - readonly type: 'Input.Text'; + readonly type: "Input.Text"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6679,7 +6640,7 @@ export interface ITextInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6697,10 +6658,10 @@ export interface ITextInput { */ export function isTextInput(value: unknown): value is ITextInput { const obj = value as ITextInput; - return typeof obj === 'object' && obj.type === 'Input.Text'; + return typeof obj === "object" && obj.type === "Input.Text"; } -export type TextInputOptions = Partial>; +export type TextInputOptions = Partial>; /** * An input to allow the user to enter text. @@ -6713,7 +6674,7 @@ export class TextInput implements ITextInput { /** * Must be **Input.Text**. */ - readonly type = 'Input.Text'; + readonly type = "Input.Text"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6737,11 +6698,11 @@ export class TextInput implements ITextInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -6787,7 +6748,7 @@ export class TextInput implements ITextInput { /** * The style of the input. */ - style?: InputTextStyle = 'Text'; + style?: InputTextStyle = "Text"; /** * The action that should be displayed as a button alongside the input. Action.ShowCard is not supported. */ @@ -6799,7 +6760,7 @@ export class TextInput implements ITextInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6809,7 +6770,7 @@ export class TextInput implements ITextInput { Object.assign(this, options); } - static from(options: Omit): TextInput { + static from(options: Omit): TextInput { return new TextInput(options); } @@ -6935,7 +6896,7 @@ export interface IDateInput { /** * Must be **Input.Date**. */ - readonly type: 'Input.Date'; + readonly type: "Input.Date"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7009,7 +6970,7 @@ export interface IDateInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7027,10 +6988,10 @@ export interface IDateInput { */ export function isDateInput(value: unknown): value is IDateInput { const obj = value as IDateInput; - return typeof obj === 'object' && obj.type === 'Input.Date'; + return typeof obj === "object" && obj.type === "Input.Date"; } -export type DateInputOptions = Partial>; +export type DateInputOptions = Partial>; /** * An input to allow the user to select a date. @@ -7043,7 +7004,7 @@ export class DateInput implements IDateInput { /** * Must be **Input.Date**. */ - readonly type = 'Input.Date'; + readonly type = "Input.Date"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7067,11 +7028,11 @@ export class DateInput implements IDateInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -7117,7 +7078,7 @@ export class DateInput implements IDateInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7127,7 +7088,7 @@ export class DateInput implements IDateInput { Object.assign(this, options); } - static from(options: Omit): DateInput { + static from(options: Omit): DateInput { return new DateInput(options); } @@ -7238,7 +7199,7 @@ export interface ITimeInput { /** * Must be **Input.Time**. */ - readonly type: 'Input.Time'; + readonly type: "Input.Time"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7312,7 +7273,7 @@ export interface ITimeInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7330,10 +7291,10 @@ export interface ITimeInput { */ export function isTimeInput(value: unknown): value is ITimeInput { const obj = value as ITimeInput; - return typeof obj === 'object' && obj.type === 'Input.Time'; + return typeof obj === "object" && obj.type === "Input.Time"; } -export type TimeInputOptions = Partial>; +export type TimeInputOptions = Partial>; /** * An input to allow the user to select a time. @@ -7346,7 +7307,7 @@ export class TimeInput implements ITimeInput { /** * Must be **Input.Time**. */ - readonly type = 'Input.Time'; + readonly type = "Input.Time"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7370,11 +7331,11 @@ export class TimeInput implements ITimeInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -7420,7 +7381,7 @@ export class TimeInput implements ITimeInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7430,7 +7391,7 @@ export class TimeInput implements ITimeInput { Object.assign(this, options); } - static from(options: Omit): TimeInput { + static from(options: Omit): TimeInput { return new TimeInput(options); } @@ -7541,7 +7502,7 @@ export interface INumberInput { /** * Must be **Input.Number**. */ - readonly type: 'Input.Number'; + readonly type: "Input.Number"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7615,7 +7576,7 @@ export interface INumberInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7633,10 +7594,10 @@ export interface INumberInput { */ export function isNumberInput(value: unknown): value is INumberInput { const obj = value as INumberInput; - return typeof obj === 'object' && obj.type === 'Input.Number'; + return typeof obj === "object" && obj.type === "Input.Number"; } -export type NumberInputOptions = Partial>; +export type NumberInputOptions = Partial>; /** * An input to allow the user to enter a number. @@ -7649,7 +7610,7 @@ export class NumberInput implements INumberInput { /** * Must be **Input.Number**. */ - readonly type = 'Input.Number'; + readonly type = "Input.Number"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7673,11 +7634,11 @@ export class NumberInput implements INumberInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -7723,7 +7684,7 @@ export class NumberInput implements INumberInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7733,7 +7694,7 @@ export class NumberInput implements INumberInput { Object.assign(this, options); } - static from(options: Omit): NumberInput { + static from(options: Omit): NumberInput { return new NumberInput(options); } @@ -7844,7 +7805,7 @@ export interface IToggleInput { /** * Must be **Input.Toggle**. */ - readonly type: 'Input.Toggle'; + readonly type: "Input.Toggle"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7926,7 +7887,7 @@ export interface IToggleInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7944,10 +7905,10 @@ export interface IToggleInput { */ export function isToggleInput(value: unknown): value is IToggleInput { const obj = value as IToggleInput; - return typeof obj === 'object' && obj.type === 'Input.Toggle'; + return typeof obj === "object" && obj.type === "Input.Toggle"; } -export type ToggleInputOptions = Partial>; +export type ToggleInputOptions = Partial>; /** * An input to allow the user to select between on/off states. @@ -7960,7 +7921,7 @@ export class ToggleInput implements IToggleInput { /** * Must be **Input.Toggle**. */ - readonly type = 'Input.Toggle'; + readonly type = "Input.Toggle"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7984,11 +7945,11 @@ export class ToggleInput implements IToggleInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -8018,7 +7979,7 @@ export class ToggleInput implements IToggleInput { /** * The default value of the input. */ - value?: string = 'false'; + value?: string = "false"; /** * The title (caption) to display next to the toggle. */ @@ -8026,11 +7987,11 @@ export class ToggleInput implements IToggleInput { /** * The value to send to the Bot when the toggle is on. */ - valueOn?: string = 'true'; + valueOn?: string = "true"; /** * The value to send to the Bot when the toggle is off. */ - valueOff?: string = 'false'; + valueOff?: string = "false"; /** * Controls if the title should wrap. */ @@ -8042,7 +8003,7 @@ export class ToggleInput implements IToggleInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8053,7 +8014,7 @@ export class ToggleInput implements IToggleInput { this.title = title; } - static from(options: Omit): ToggleInput { + static from(options: Omit): ToggleInput { return new ToggleInput(options.title, options); } @@ -8174,7 +8135,7 @@ export interface IChoiceSetInput { /** * Must be **Input.ChoiceSet**. */ - readonly type: 'Input.ChoiceSet'; + readonly type: "Input.ChoiceSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8240,7 +8201,7 @@ export interface IChoiceSetInput { /** * A Data.Query object that defines the dataset from which to dynamically fetch the choices for the input. */ - 'choices.data'?: IQueryData; + "choices.data"?: IQueryData; /** * Controls whether the input should be displayed as a dropdown (compact) or a list of radio buttons or checkboxes (expanded). */ @@ -8268,7 +8229,7 @@ export interface IChoiceSetInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8286,10 +8247,10 @@ export interface IChoiceSetInput { */ export function isChoiceSetInput(value: unknown): value is IChoiceSetInput { const obj = value as IChoiceSetInput; - return typeof obj === 'object' && obj.type === 'Input.ChoiceSet'; + return typeof obj === "object" && obj.type === "Input.ChoiceSet"; } -export type ChoiceSetInputOptions = Partial>; +export type ChoiceSetInputOptions = Partial>; /** * An input to allow the user to select one or more values. @@ -8302,7 +8263,7 @@ export class ChoiceSetInput implements IChoiceSetInput { /** * Must be **Input.ChoiceSet**. */ - readonly type = 'Input.ChoiceSet'; + readonly type = "Input.ChoiceSet"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8326,11 +8287,11 @@ export class ChoiceSetInput implements IChoiceSetInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -8368,11 +8329,11 @@ export class ChoiceSetInput implements IChoiceSetInput { /** * A Data.Query object that defines the dataset from which to dynamically fetch the choices for the input. */ - 'choices.data'?: IQueryData; + "choices.data"?: IQueryData; /** * Controls whether the input should be displayed as a dropdown (compact) or a list of radio buttons or checkboxes (expanded). */ - style?: ChoiceSetInputStyle = 'compact'; + style?: ChoiceSetInputStyle = "compact"; /** * Controls whether multiple choices can be selected. */ @@ -8396,7 +8357,7 @@ export class ChoiceSetInput implements IChoiceSetInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8600,7 +8561,7 @@ export interface IQueryData { /** * Must be **Data.Query**. */ - readonly type: 'Data.Query'; + readonly type: "Data.Query"; /** * The dataset from which to fetch the data. */ @@ -8630,10 +8591,10 @@ export interface IQueryData { */ export function isQueryData(value: unknown): value is IQueryData { const obj = value as IQueryData; - return typeof obj === 'object' && obj.type === 'Data.Query'; + return typeof obj === "object" && obj.type === "Data.Query"; } -export type QueryDataOptions = Partial>; +export type QueryDataOptions = Partial>; /** * Defines a query to dynamically fetch data from a Bot. @@ -8646,7 +8607,7 @@ export class QueryData implements IQueryData { /** * Must be **Data.Query**. */ - readonly type = 'Data.Query'; + readonly type = "Data.Query"; /** * The dataset from which to fetch the data. */ @@ -8668,7 +8629,7 @@ export class QueryData implements IQueryData { Object.assign(this, options); } - static from(options: Omit): QueryData { + static from(options: Omit): QueryData { return new QueryData(options); } @@ -8709,7 +8670,7 @@ export interface IRatingInput { /** * Must be **Input.Rating**. */ - readonly type: 'Input.Rating'; + readonly type: "Input.Rating"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8787,7 +8748,7 @@ export interface IRatingInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8805,10 +8766,10 @@ export interface IRatingInput { */ export function isRatingInput(value: unknown): value is IRatingInput { const obj = value as IRatingInput; - return typeof obj === 'object' && obj.type === 'Input.Rating'; + return typeof obj === "object" && obj.type === "Input.Rating"; } -export type RatingInputOptions = Partial>; +export type RatingInputOptions = Partial>; /** * An input to allow the user to rate something using stars. @@ -8821,7 +8782,7 @@ export class RatingInput implements IRatingInput { /** * Must be **Input.Rating**. */ - readonly type = 'Input.Rating'; + readonly type = "Input.Rating"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8845,11 +8806,11 @@ export class RatingInput implements IRatingInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -8891,15 +8852,15 @@ export class RatingInput implements IRatingInput { /** * The size of the stars. */ - size?: RatingSize = 'Large'; + size?: RatingSize = "Large"; /** * The color of the stars. */ - color?: RatingColor = 'Neutral'; + color?: RatingColor = "Neutral"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8909,7 +8870,7 @@ export class RatingInput implements IRatingInput { Object.assign(this, options); } - static from(options: Omit): RatingInput { + static from(options: Omit): RatingInput { return new RatingInput(options); } @@ -9025,7 +8986,7 @@ export interface IRating { /** * Must be **Rating**. */ - readonly type: 'Rating'; + readonly type: "Rating"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9093,7 +9054,7 @@ export interface IRating { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9111,10 +9072,10 @@ export interface IRating { */ export function isRating(value: unknown): value is IRating { const obj = value as IRating; - return typeof obj === 'object' && obj.type === 'Rating'; + return typeof obj === "object" && obj.type === "Rating"; } -export type RatingOptions = Partial>; +export type RatingOptions = Partial>; /** * A read-only star rating element, to display the rating of something. @@ -9127,7 +9088,7 @@ export class Rating implements IRating { /** * Must be **Rating**. */ - readonly type = 'Rating'; + readonly type = "Rating"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9151,7 +9112,7 @@ export class Rating implements IRating { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -9159,7 +9120,7 @@ export class Rating implements IRating { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -9183,19 +9144,19 @@ export class Rating implements IRating { /** * The size of the stars. */ - size?: RatingSize = 'Large'; + size?: RatingSize = "Large"; /** * The color of the stars. */ - color?: RatingColor = 'Neutral'; + color?: RatingColor = "Neutral"; /** * The style of the stars. */ - style?: RatingStyle = 'Default'; + style?: RatingStyle = "Default"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9205,7 +9166,7 @@ export class Rating implements IRating { Object.assign(this, options); } - static from(options: Omit): Rating { + static from(options: Omit): Rating { return new Rating(options); } @@ -9311,7 +9272,7 @@ export interface ICompoundButton { /** * Must be **CompoundButton**. */ - readonly type: 'CompoundButton'; + readonly type: "CompoundButton"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9375,7 +9336,7 @@ export interface ICompoundButton { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9393,10 +9354,10 @@ export interface ICompoundButton { */ export function isCompoundButton(value: unknown): value is ICompoundButton { const obj = value as ICompoundButton; - return typeof obj === 'object' && obj.type === 'CompoundButton'; + return typeof obj === "object" && obj.type === "CompoundButton"; } -export type CompoundButtonOptions = Partial>; +export type CompoundButtonOptions = Partial>; /** * A special type of button with an icon, title and description. @@ -9409,7 +9370,7 @@ export class CompoundButton implements ICompoundButton { /** * Must be **CompoundButton**. */ - readonly type = 'CompoundButton'; + readonly type = "CompoundButton"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9433,7 +9394,7 @@ export class CompoundButton implements ICompoundButton { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -9441,7 +9402,7 @@ export class CompoundButton implements ICompoundButton { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -9473,7 +9434,7 @@ export class CompoundButton implements ICompoundButton { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9483,7 +9444,7 @@ export class CompoundButton implements ICompoundButton { Object.assign(this, options); } - static from(options: Omit): CompoundButton { + static from(options: Omit): CompoundButton { return new CompoundButton(options); } @@ -9617,15 +9578,15 @@ export class IconInfo implements IIconInfo { /** * The size of the icon. */ - size?: IconSize = 'xSmall'; + size?: IconSize = "xSmall"; /** * The style of the icon. */ - style?: IconStyle = 'Regular'; + style?: IconStyle = "Regular"; /** * The color of the icon. */ - color?: TextColor = 'Default'; + color?: TextColor = "Default"; constructor(options: IconInfoOptions = {}) { Object.assign(this, options); @@ -9672,7 +9633,7 @@ export interface IIcon { /** * Must be **Icon**. */ - readonly type: 'Icon'; + readonly type: "Icon"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9732,7 +9693,7 @@ export interface IIcon { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9750,10 +9711,10 @@ export interface IIcon { */ export function isIcon(value: unknown): value is IIcon { const obj = value as IIcon; - return typeof obj === 'object' && obj.type === 'Icon'; + return typeof obj === "object" && obj.type === "Icon"; } -export type IconOptions = Partial>; +export type IconOptions = Partial>; /** * A standalone icon element. Icons can be picked from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog). @@ -9766,7 +9727,7 @@ export class Icon implements IIcon { /** * Must be **Icon**. */ - readonly type = 'Icon'; + readonly type = "Icon"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9794,7 +9755,7 @@ export class Icon implements IIcon { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -9810,15 +9771,15 @@ export class Icon implements IIcon { /** * The size of the icon. */ - size?: IconSize = 'Standard'; + size?: IconSize = "Standard"; /** * The style of the icon. */ - style?: IconStyle = 'Regular'; + style?: IconStyle = "Regular"; /** * The color of the icon. */ - color?: TextColor = 'Default'; + color?: TextColor = "Default"; /** * An Action that will be invoked when the icon is tapped or clicked. Action.ShowCard is not supported. */ @@ -9826,7 +9787,7 @@ export class Icon implements IIcon { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9837,7 +9798,7 @@ export class Icon implements IIcon { this.name = name; } - static from(options: Omit): Icon { + static from(options: Omit): Icon { return new Icon(options.name, options); } @@ -9933,7 +9894,7 @@ export interface ICarousel { /** * Must be **Carousel**. */ - readonly type: 'Carousel'; + readonly type: "Carousel"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9985,7 +9946,7 @@ export interface ICarousel { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10007,10 +9968,10 @@ export interface ICarousel { */ export function isCarousel(value: unknown): value is ICarousel { const obj = value as ICarousel; - return typeof obj === 'object' && obj.type === 'Carousel'; + return typeof obj === "object" && obj.type === "Carousel"; } -export type CarouselOptions = Partial>; +export type CarouselOptions = Partial>; /** * A carousel with sliding pages. @@ -10023,7 +9984,7 @@ export class Carousel implements ICarousel { /** * Must be **Carousel**. */ - readonly type = 'Carousel'; + readonly type = "Carousel"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10047,11 +10008,11 @@ export class Carousel implements ICarousel { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -10071,11 +10032,11 @@ export class Carousel implements ICarousel { /** * Controls the type of animation to use to navigate between pages. */ - pageAnimation?: CarouselPageAnimation = 'Slide'; + pageAnimation?: CarouselPageAnimation = "Slide"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10089,7 +10050,7 @@ export class Carousel implements ICarousel { Object.assign(this, options); } - static from(options: Omit): Carousel { + static from(options: Omit): Carousel { return new Carousel(options); } @@ -10180,7 +10141,7 @@ export interface IBadge { /** * Must be **Badge**. */ - readonly type: 'Badge'; + readonly type: "Badge"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10256,7 +10217,7 @@ export interface IBadge { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10274,10 +10235,10 @@ export interface IBadge { */ export function isBadge(value: unknown): value is IBadge { const obj = value as IBadge; - return typeof obj === 'object' && obj.type === 'Badge'; + return typeof obj === "object" && obj.type === "Badge"; } -export type BadgeOptions = Partial>; +export type BadgeOptions = Partial>; /** * A badge element to show an icon and/or text in a compact form over a colored background. @@ -10290,7 +10251,7 @@ export class Badge implements IBadge { /** * Must be **Badge**. */ - readonly type = 'Badge'; + readonly type = "Badge"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10314,7 +10275,7 @@ export class Badge implements IBadge { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -10322,7 +10283,7 @@ export class Badge implements IBadge { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -10342,23 +10303,23 @@ export class Badge implements IBadge { /** * Controls the position of the icon. */ - iconPosition?: BadgeIconPosition = 'Before'; + iconPosition?: BadgeIconPosition = "Before"; /** * Controls the strength of the background color. */ - appearance?: BadgeAppearance = 'Filled'; + appearance?: BadgeAppearance = "Filled"; /** * The size of the badge. */ - size?: BadgeSize = 'Medium'; + size?: BadgeSize = "Medium"; /** * Controls the shape of the badge. */ - shape?: BadgeShape = 'Circular'; + shape?: BadgeShape = "Circular"; /** * The style of the badge. */ - style?: BadgeStyle = 'Default'; + style?: BadgeStyle = "Default"; /** * Controls the tooltip text to display when the badge is hovered over. */ @@ -10366,7 +10327,7 @@ export class Badge implements IBadge { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10376,7 +10337,7 @@ export class Badge implements IBadge { Object.assign(this, options); } - static from(options: Omit): Badge { + static from(options: Omit): Badge { return new Badge(options); } @@ -10492,7 +10453,7 @@ export interface IProgressRing { /** * Must be **ProgressRing**. */ - readonly type: 'ProgressRing'; + readonly type: "ProgressRing"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10548,7 +10509,7 @@ export interface IProgressRing { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10566,10 +10527,10 @@ export interface IProgressRing { */ export function isProgressRing(value: unknown): value is IProgressRing { const obj = value as IProgressRing; - return typeof obj === 'object' && obj.type === 'ProgressRing'; + return typeof obj === "object" && obj.type === "ProgressRing"; } -export type ProgressRingOptions = Partial>; +export type ProgressRingOptions = Partial>; /** * A spinning ring element, to indicate progress. @@ -10582,7 +10543,7 @@ export class ProgressRing implements IProgressRing { /** * Must be **ProgressRing**. */ - readonly type = 'ProgressRing'; + readonly type = "ProgressRing"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10606,7 +10567,7 @@ export class ProgressRing implements IProgressRing { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -10614,7 +10575,7 @@ export class ProgressRing implements IProgressRing { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -10630,15 +10591,15 @@ export class ProgressRing implements IProgressRing { /** * Controls the relative position of the label to the progress ring. */ - labelPosition?: ProgressRingLabelPosition = 'Below'; + labelPosition?: ProgressRingLabelPosition = "Below"; /** * The size of the progress ring. */ - size?: ProgressRingSize = 'Medium'; + size?: ProgressRingSize = "Medium"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10648,7 +10609,7 @@ export class ProgressRing implements IProgressRing { Object.assign(this, options); } - static from(options: Omit): ProgressRing { + static from(options: Omit): ProgressRing { return new ProgressRing(options); } @@ -10739,7 +10700,7 @@ export interface IProgressBar { /** * Must be **ProgressBar**. */ - readonly type: 'ProgressBar'; + readonly type: "ProgressBar"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10795,7 +10756,7 @@ export interface IProgressBar { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10813,10 +10774,10 @@ export interface IProgressBar { */ export function isProgressBar(value: unknown): value is IProgressBar { const obj = value as IProgressBar; - return typeof obj === 'object' && obj.type === 'ProgressBar'; + return typeof obj === "object" && obj.type === "ProgressBar"; } -export type ProgressBarOptions = Partial>; +export type ProgressBarOptions = Partial>; /** * A progress bar element, to represent a value within a range. @@ -10829,7 +10790,7 @@ export class ProgressBar implements IProgressBar { /** * Must be **ProgressBar**. */ - readonly type = 'ProgressBar'; + readonly type = "ProgressBar"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10853,7 +10814,7 @@ export class ProgressBar implements IProgressBar { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -10861,7 +10822,7 @@ export class ProgressBar implements IProgressBar { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -10881,11 +10842,11 @@ export class ProgressBar implements IProgressBar { /** * The color of the progress bar. `color` has no effect when the `ProgressBar` is in indeterminate mode, in which case the "accent" color is always used. */ - color?: ProgressBarColor = 'Accent'; + color?: ProgressBarColor = "Accent"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10895,7 +10856,7 @@ export class ProgressBar implements IProgressBar { Object.assign(this, options); } - static from(options: Omit): ProgressBar { + static from(options: Omit): ProgressBar { return new ProgressBar(options); } @@ -10986,7 +10947,7 @@ export interface IDonutChart { /** * Must be **Chart.Donut**. */ - readonly type: 'Chart.Donut'; + readonly type: "Chart.Donut"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11070,7 +11031,7 @@ export interface IDonutChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11088,10 +11049,10 @@ export interface IDonutChart { */ export function isDonutChart(value: unknown): value is IDonutChart { const obj = value as IDonutChart; - return typeof obj === 'object' && obj.type === 'Chart.Donut'; + return typeof obj === "object" && obj.type === "Chart.Donut"; } -export type DonutChartOptions = Partial>; +export type DonutChartOptions = Partial>; /** * A donut chart. @@ -11104,7 +11065,7 @@ export class DonutChart implements IDonutChart { /** * Must be **Chart.Donut**. */ - readonly type = 'Chart.Donut'; + readonly type = "Chart.Donut"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11128,7 +11089,7 @@ export class DonutChart implements IDonutChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -11136,7 +11097,7 @@ export class DonutChart implements IDonutChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -11188,7 +11149,7 @@ export class DonutChart implements IDonutChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11198,7 +11159,7 @@ export class DonutChart implements IDonutChart { Object.assign(this, options); } - static from(options: Omit): DonutChart { + static from(options: Omit): DonutChart { return new DonutChart(options); } @@ -11399,7 +11360,7 @@ export interface IPieChart { /** * Must be **Chart.Pie**. */ - readonly type: 'Chart.Pie'; + readonly type: "Chart.Pie"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11483,7 +11444,7 @@ export interface IPieChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11501,10 +11462,10 @@ export interface IPieChart { */ export function isPieChart(value: unknown): value is IPieChart { const obj = value as IPieChart; - return typeof obj === 'object' && obj.type === 'Chart.Pie'; + return typeof obj === "object" && obj.type === "Chart.Pie"; } -export type PieChartOptions = Partial>; +export type PieChartOptions = Partial>; /** * A pie chart. @@ -11517,7 +11478,7 @@ export class PieChart implements IPieChart { /** * Must be **Chart.Pie**. */ - readonly type = 'Chart.Pie'; + readonly type = "Chart.Pie"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11541,7 +11502,7 @@ export class PieChart implements IPieChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -11549,7 +11510,7 @@ export class PieChart implements IPieChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -11601,7 +11562,7 @@ export class PieChart implements IPieChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11611,7 +11572,7 @@ export class PieChart implements IPieChart { Object.assign(this, options); } - static from(options: Omit): PieChart { + static from(options: Omit): PieChart { return new PieChart(options); } @@ -11737,7 +11698,7 @@ export interface IGroupedVerticalBarChart { /** * Must be **Chart.VerticalBar.Grouped**. */ - readonly type: 'Chart.VerticalBar.Grouped'; + readonly type: "Chart.VerticalBar.Grouped"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11839,7 +11800,7 @@ export interface IGroupedVerticalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11857,10 +11818,10 @@ export interface IGroupedVerticalBarChart { */ export function isGroupedVerticalBarChart(value: unknown): value is IGroupedVerticalBarChart { const obj = value as IGroupedVerticalBarChart; - return typeof obj === 'object' && obj.type === 'Chart.VerticalBar.Grouped'; + return typeof obj === "object" && obj.type === "Chart.VerticalBar.Grouped"; } -export type GroupedVerticalBarChartOptions = Partial>; +export type GroupedVerticalBarChartOptions = Partial>; /** * A grouped vertical bar chart. @@ -11873,7 +11834,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * Must be **Chart.VerticalBar.Grouped**. */ - readonly type = 'Chart.VerticalBar.Grouped'; + readonly type = "Chart.VerticalBar.Grouped"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11897,7 +11858,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -11905,7 +11866,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -11975,7 +11936,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11985,7 +11946,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { Object.assign(this, options); } - static from(options: Omit): GroupedVerticalBarChart { + static from(options: Omit): GroupedVerticalBarChart { return new GroupedVerticalBarChart(options); } @@ -12263,7 +12224,7 @@ export interface IVerticalBarChart { /** * Must be **Chart.VerticalBar**. */ - readonly type: 'Chart.VerticalBar'; + readonly type: "Chart.VerticalBar"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12355,7 +12316,7 @@ export interface IVerticalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12373,10 +12334,10 @@ export interface IVerticalBarChart { */ export function isVerticalBarChart(value: unknown): value is IVerticalBarChart { const obj = value as IVerticalBarChart; - return typeof obj === 'object' && obj.type === 'Chart.VerticalBar'; + return typeof obj === "object" && obj.type === "Chart.VerticalBar"; } -export type VerticalBarChartOptions = Partial>; +export type VerticalBarChartOptions = Partial>; /** * A vertical bar chart. @@ -12389,7 +12350,7 @@ export class VerticalBarChart implements IVerticalBarChart { /** * Must be **Chart.VerticalBar**. */ - readonly type = 'Chart.VerticalBar'; + readonly type = "Chart.VerticalBar"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12413,7 +12374,7 @@ export class VerticalBarChart implements IVerticalBarChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -12421,7 +12382,7 @@ export class VerticalBarChart implements IVerticalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -12481,7 +12442,7 @@ export class VerticalBarChart implements IVerticalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12491,7 +12452,7 @@ export class VerticalBarChart implements IVerticalBarChart { Object.assign(this, options); } - static from(options: Omit): VerticalBarChart { + static from(options: Omit): VerticalBarChart { return new VerticalBarChart(options); } @@ -12702,7 +12663,7 @@ export interface IHorizontalBarChart { /** * Must be **Chart.HorizontalBar**. */ - readonly type: 'Chart.HorizontalBar'; + readonly type: "Chart.HorizontalBar"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12786,7 +12747,7 @@ export interface IHorizontalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12804,10 +12765,10 @@ export interface IHorizontalBarChart { */ export function isHorizontalBarChart(value: unknown): value is IHorizontalBarChart { const obj = value as IHorizontalBarChart; - return typeof obj === 'object' && obj.type === 'Chart.HorizontalBar'; + return typeof obj === "object" && obj.type === "Chart.HorizontalBar"; } -export type HorizontalBarChartOptions = Partial>; +export type HorizontalBarChartOptions = Partial>; /** * A horizontal bar chart. @@ -12820,7 +12781,7 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * Must be **Chart.HorizontalBar**. */ - readonly type = 'Chart.HorizontalBar'; + readonly type = "Chart.HorizontalBar"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12844,7 +12805,7 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -12852,7 +12813,7 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -12900,11 +12861,11 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * Controls how the chart should be visually laid out. */ - displayMode?: HorizontalBarChartDisplayMode = 'AbsoluteWithAxis'; + displayMode?: HorizontalBarChartDisplayMode = "AbsoluteWithAxis"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12914,7 +12875,7 @@ export class HorizontalBarChart implements IHorizontalBarChart { Object.assign(this, options); } - static from(options: Omit): HorizontalBarChart { + static from(options: Omit): HorizontalBarChart { return new HorizontalBarChart(options); } @@ -13115,7 +13076,7 @@ export interface IStackedHorizontalBarChart { /** * Must be **Chart.HorizontalBar.Stacked**. */ - readonly type: 'Chart.HorizontalBar.Stacked'; + readonly type: "Chart.HorizontalBar.Stacked"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13195,7 +13156,7 @@ export interface IStackedHorizontalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -13213,10 +13174,10 @@ export interface IStackedHorizontalBarChart { */ export function isStackedHorizontalBarChart(value: unknown): value is IStackedHorizontalBarChart { const obj = value as IStackedHorizontalBarChart; - return typeof obj === 'object' && obj.type === 'Chart.HorizontalBar.Stacked'; + return typeof obj === "object" && obj.type === "Chart.HorizontalBar.Stacked"; } -export type StackedHorizontalBarChartOptions = Partial>; +export type StackedHorizontalBarChartOptions = Partial>; /** * A stacked horizontal bar chart. @@ -13229,7 +13190,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * Must be **Chart.HorizontalBar.Stacked**. */ - readonly type = 'Chart.HorizontalBar.Stacked'; + readonly type = "Chart.HorizontalBar.Stacked"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13253,7 +13214,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -13261,7 +13222,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -13309,7 +13270,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -13319,7 +13280,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { Object.assign(this, options); } - static from(options: Omit): StackedHorizontalBarChart { + static from(options: Omit): StackedHorizontalBarChart { return new StackedHorizontalBarChart(options); } @@ -13577,7 +13538,7 @@ export interface ILineChart { /** * Must be **Chart.Line**. */ - readonly type: 'Chart.Line'; + readonly type: "Chart.Line"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13665,7 +13626,7 @@ export interface ILineChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -13683,10 +13644,10 @@ export interface ILineChart { */ export function isLineChart(value: unknown): value is ILineChart { const obj = value as ILineChart; - return typeof obj === 'object' && obj.type === 'Chart.Line'; + return typeof obj === "object" && obj.type === "Chart.Line"; } -export type LineChartOptions = Partial>; +export type LineChartOptions = Partial>; /** * A line chart. @@ -13699,7 +13660,7 @@ export class LineChart implements ILineChart { /** * Must be **Chart.Line**. */ - readonly type = 'Chart.Line'; + readonly type = "Chart.Line"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13723,7 +13684,7 @@ export class LineChart implements ILineChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -13731,7 +13692,7 @@ export class LineChart implements ILineChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -13787,7 +13748,7 @@ export class LineChart implements ILineChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -13797,7 +13758,7 @@ export class LineChart implements ILineChart { Object.assign(this, options); } - static from(options: Omit): LineChart { + static from(options: Omit): LineChart { return new LineChart(options); } @@ -14073,7 +14034,7 @@ export interface IGaugeChart { /** * Must be **Chart.Gauge**. */ - readonly type: 'Chart.Gauge'; + readonly type: "Chart.Gauge"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14173,7 +14134,7 @@ export interface IGaugeChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14191,10 +14152,10 @@ export interface IGaugeChart { */ export function isGaugeChart(value: unknown): value is IGaugeChart { const obj = value as IGaugeChart; - return typeof obj === 'object' && obj.type === 'Chart.Gauge'; + return typeof obj === "object" && obj.type === "Chart.Gauge"; } -export type GaugeChartOptions = Partial>; +export type GaugeChartOptions = Partial>; /** * A gauge chart. @@ -14207,7 +14168,7 @@ export class GaugeChart implements IGaugeChart { /** * Must be **Chart.Gauge**. */ - readonly type = 'Chart.Gauge'; + readonly type = "Chart.Gauge"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14231,7 +14192,7 @@ export class GaugeChart implements IGaugeChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -14239,7 +14200,7 @@ export class GaugeChart implements IGaugeChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -14303,11 +14264,11 @@ export class GaugeChart implements IGaugeChart { /** * The format used to display the gauge's value. */ - valueFormat?: GaugeChartValueFormat = 'Percentage'; + valueFormat?: GaugeChartValueFormat = "Percentage"; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14317,7 +14278,7 @@ export class GaugeChart implements IGaugeChart { Object.assign(this, options); } - static from(options: Omit): GaugeChart { + static from(options: Omit): GaugeChart { return new GaugeChart(options); } @@ -14538,7 +14499,7 @@ export interface ICodeBlock { /** * Must be **CodeBlock**. */ - readonly type: 'CodeBlock'; + readonly type: "CodeBlock"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14594,7 +14555,7 @@ export interface ICodeBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14612,10 +14573,10 @@ export interface ICodeBlock { */ export function isCodeBlock(value: unknown): value is ICodeBlock { const obj = value as ICodeBlock; - return typeof obj === 'object' && obj.type === 'CodeBlock'; + return typeof obj === "object" && obj.type === "CodeBlock"; } -export type CodeBlockOptions = Partial>; +export type CodeBlockOptions = Partial>; /** * A formatted and syntax-colored code block. @@ -14628,7 +14589,7 @@ export class CodeBlock implements ICodeBlock { /** * Must be **CodeBlock**. */ - readonly type = 'CodeBlock'; + readonly type = "CodeBlock"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14652,7 +14613,7 @@ export class CodeBlock implements ICodeBlock { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -14660,7 +14621,7 @@ export class CodeBlock implements ICodeBlock { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -14676,7 +14637,7 @@ export class CodeBlock implements ICodeBlock { /** * The language the code snippet is expressed in. */ - language?: CodeLanguage = 'PlainText'; + language?: CodeLanguage = "PlainText"; /** * A number that represents the line in the file from where the code snippet was extracted. */ @@ -14684,7 +14645,7 @@ export class CodeBlock implements ICodeBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14694,7 +14655,7 @@ export class CodeBlock implements ICodeBlock { Object.assign(this, options); } - static from(options: Omit): CodeBlock { + static from(options: Omit): CodeBlock { return new CodeBlock(options); } @@ -14785,7 +14746,7 @@ export interface IComUserMicrosoftGraphComponent { /** * Must be **Component**. */ - readonly type: 'Component'; + readonly type: "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14829,7 +14790,7 @@ export interface IComUserMicrosoftGraphComponent { /** * Must be **graph.microsoft.com/user**. */ - readonly name: 'graph.microsoft.com/user'; + readonly name: "graph.microsoft.com/user"; /** * The properties of the Persona component. */ @@ -14837,7 +14798,7 @@ export interface IComUserMicrosoftGraphComponent { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14855,10 +14816,10 @@ export interface IComUserMicrosoftGraphComponent { */ export function isComUserMicrosoftGraphComponent(value: unknown): value is IComUserMicrosoftGraphComponent { const obj = value as IComUserMicrosoftGraphComponent; - return typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/user'; + return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/user"; } -export type ComUserMicrosoftGraphComponentOptions = Partial>; +export type ComUserMicrosoftGraphComponentOptions = Partial>; /** * Displays a user's information, including their profile picture. @@ -14871,7 +14832,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * Must be **Component**. */ - readonly type = 'Component'; + readonly type = "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14895,7 +14856,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -14903,7 +14864,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -14915,7 +14876,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * Must be **graph.microsoft.com/user**. */ - readonly name = 'graph.microsoft.com/user'; + readonly name = "graph.microsoft.com/user"; /** * The properties of the Persona component. */ @@ -14923,7 +14884,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14933,7 +14894,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom Object.assign(this, options); } - static from(options: Omit): ComUserMicrosoftGraphComponent { + static from(options: Omit): ComUserMicrosoftGraphComponent { return new ComUserMicrosoftGraphComponent(options); } @@ -15115,7 +15076,7 @@ export interface IComUsersMicrosoftGraphComponent { /** * Must be **Component**. */ - readonly type: 'Component'; + readonly type: "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15159,7 +15120,7 @@ export interface IComUsersMicrosoftGraphComponent { /** * Must be **graph.microsoft.com/users**. */ - readonly name: 'graph.microsoft.com/users'; + readonly name: "graph.microsoft.com/users"; /** * The properties of the PersonaSet component. */ @@ -15167,7 +15128,7 @@ export interface IComUsersMicrosoftGraphComponent { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15185,10 +15146,10 @@ export interface IComUsersMicrosoftGraphComponent { */ export function isComUsersMicrosoftGraphComponent(value: unknown): value is IComUsersMicrosoftGraphComponent { const obj = value as IComUsersMicrosoftGraphComponent; - return typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/users'; + return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/users"; } -export type ComUsersMicrosoftGraphComponentOptions = Partial>; +export type ComUsersMicrosoftGraphComponentOptions = Partial>; /** * Displays multiple users' information, including their profile pictures. @@ -15201,7 +15162,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * Must be **Component**. */ - readonly type = 'Component'; + readonly type = "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15225,7 +15186,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -15233,7 +15194,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -15245,7 +15206,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * Must be **graph.microsoft.com/users**. */ - readonly name = 'graph.microsoft.com/users'; + readonly name = "graph.microsoft.com/users"; /** * The properties of the PersonaSet component. */ @@ -15253,7 +15214,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15263,7 +15224,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC Object.assign(this, options); } - static from(options: Omit): ComUsersMicrosoftGraphComponent { + static from(options: Omit): ComUsersMicrosoftGraphComponent { return new ComUsersMicrosoftGraphComponent(options); } @@ -15419,7 +15380,7 @@ export interface IComResourceMicrosoftGraphComponent { /** * Must be **Component**. */ - readonly type: 'Component'; + readonly type: "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15463,7 +15424,7 @@ export interface IComResourceMicrosoftGraphComponent { /** * Must be **graph.microsoft.com/resource**. */ - readonly name: 'graph.microsoft.com/resource'; + readonly name: "graph.microsoft.com/resource"; /** * The properties of the resource. */ @@ -15471,7 +15432,7 @@ export interface IComResourceMicrosoftGraphComponent { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15489,10 +15450,10 @@ export interface IComResourceMicrosoftGraphComponent { */ export function isComResourceMicrosoftGraphComponent(value: unknown): value is IComResourceMicrosoftGraphComponent { const obj = value as IComResourceMicrosoftGraphComponent; - return typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/resource'; + return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/resource"; } -export type ComResourceMicrosoftGraphComponentOptions = Partial>; +export type ComResourceMicrosoftGraphComponentOptions = Partial>; /** * Displays information about a generic graph resource. @@ -15505,7 +15466,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * Must be **Component**. */ - readonly type = 'Component'; + readonly type = "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15529,7 +15490,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -15537,7 +15498,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -15549,7 +15510,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * Must be **graph.microsoft.com/resource**. */ - readonly name = 'graph.microsoft.com/resource'; + readonly name = "graph.microsoft.com/resource"; /** * The properties of the resource. */ @@ -15557,7 +15518,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15567,7 +15528,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft Object.assign(this, options); } - static from(options: Omit): ComResourceMicrosoftGraphComponent { + static from(options: Omit): ComResourceMicrosoftGraphComponent { return new ComResourceMicrosoftGraphComponent(options); } @@ -15772,7 +15733,7 @@ export interface IComFileMicrosoftGraphComponent { /** * Must be **Component**. */ - readonly type: 'Component'; + readonly type: "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15816,7 +15777,7 @@ export interface IComFileMicrosoftGraphComponent { /** * Must be **graph.microsoft.com/file**. */ - readonly name: 'graph.microsoft.com/file'; + readonly name: "graph.microsoft.com/file"; /** * The properties of the file. */ @@ -15824,7 +15785,7 @@ export interface IComFileMicrosoftGraphComponent { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15842,10 +15803,10 @@ export interface IComFileMicrosoftGraphComponent { */ export function isComFileMicrosoftGraphComponent(value: unknown): value is IComFileMicrosoftGraphComponent { const obj = value as IComFileMicrosoftGraphComponent; - return typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/file'; + return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/file"; } -export type ComFileMicrosoftGraphComponentOptions = Partial>; +export type ComFileMicrosoftGraphComponentOptions = Partial>; /** * Displays information about a file resource. @@ -15858,7 +15819,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * Must be **Component**. */ - readonly type = 'Component'; + readonly type = "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15882,7 +15843,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -15890,7 +15851,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -15902,7 +15863,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * Must be **graph.microsoft.com/file**. */ - readonly name = 'graph.microsoft.com/file'; + readonly name = "graph.microsoft.com/file"; /** * The properties of the file. */ @@ -15910,7 +15871,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15920,7 +15881,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom Object.assign(this, options); } - static from(options: Omit): ComFileMicrosoftGraphComponent { + static from(options: Omit): ComFileMicrosoftGraphComponent { return new ComFileMicrosoftGraphComponent(options); } @@ -16076,7 +16037,7 @@ export interface IComEventMicrosoftGraphComponent { /** * Must be **Component**. */ - readonly type: 'Component'; + readonly type: "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16120,7 +16081,7 @@ export interface IComEventMicrosoftGraphComponent { /** * Must be **graph.microsoft.com/event**. */ - readonly name: 'graph.microsoft.com/event'; + readonly name: "graph.microsoft.com/event"; /** * The properties of the event. */ @@ -16128,7 +16089,7 @@ export interface IComEventMicrosoftGraphComponent { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16146,10 +16107,10 @@ export interface IComEventMicrosoftGraphComponent { */ export function isComEventMicrosoftGraphComponent(value: unknown): value is IComEventMicrosoftGraphComponent { const obj = value as IComEventMicrosoftGraphComponent; - return typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/event'; + return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/event"; } -export type ComEventMicrosoftGraphComponentOptions = Partial>; +export type ComEventMicrosoftGraphComponentOptions = Partial>; /** * Displays information about a calendar event. @@ -16162,7 +16123,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * Must be **Component**. */ - readonly type = 'Component'; + readonly type = "Component"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16186,7 +16147,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -16194,7 +16155,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -16206,7 +16167,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * Must be **graph.microsoft.com/event**. */ - readonly name = 'graph.microsoft.com/event'; + readonly name = "graph.microsoft.com/event"; /** * The properties of the event. */ @@ -16214,7 +16175,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16224,7 +16185,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC Object.assign(this, options); } - static from(options: Omit): ComEventMicrosoftGraphComponent { + static from(options: Omit): ComEventMicrosoftGraphComponent { return new ComEventMicrosoftGraphComponent(options); } @@ -16598,7 +16559,7 @@ export interface ICarouselPage { /** * Must be **CarouselPage**. */ - readonly type: 'CarouselPage'; + readonly type: "CarouselPage"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16670,7 +16631,7 @@ export interface ICarouselPage { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16692,10 +16653,10 @@ export interface ICarouselPage { */ export function isCarouselPage(value: unknown): value is ICarouselPage { const obj = value as ICarouselPage; - return typeof obj === 'object' && obj.type === 'CarouselPage'; + return typeof obj === "object" && obj.type === "CarouselPage"; } -export type CarouselPageOptions = Partial>; +export type CarouselPageOptions = Partial>; /** * A page inside a Carousel element. @@ -16708,7 +16669,7 @@ export class CarouselPage implements ICarouselPage { /** * Must be **CarouselPage**. */ - readonly type = 'CarouselPage'; + readonly type = "CarouselPage"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16728,7 +16689,7 @@ export class CarouselPage implements ICarouselPage { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -16780,7 +16741,7 @@ export class CarouselPage implements ICarouselPage { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16911,7 +16872,7 @@ export interface ITableRow { /** * Must be **TableRow**. */ - readonly type: 'TableRow'; + readonly type: "TableRow"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16975,7 +16936,7 @@ export interface ITableRow { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16997,10 +16958,10 @@ export interface ITableRow { */ export function isTableRow(value: unknown): value is ITableRow { const obj = value as ITableRow; - return typeof obj === 'object' && obj.type === 'TableRow'; + return typeof obj === "object" && obj.type === "TableRow"; } -export type TableRowOptions = Partial>; +export type TableRowOptions = Partial>; /** * Represents a row of cells in a table. @@ -17013,7 +16974,7 @@ export class TableRow implements ITableRow { /** * Must be **TableRow**. */ - readonly type = 'TableRow'; + readonly type = "TableRow"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17037,7 +16998,7 @@ export class TableRow implements ITableRow { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -17045,7 +17006,7 @@ export class TableRow implements ITableRow { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -17077,7 +17038,7 @@ export class TableRow implements ITableRow { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17091,7 +17052,7 @@ export class TableRow implements ITableRow { Object.assign(this, options); } - static from(options: Omit): TableRow { + static from(options: Omit): TableRow { return new TableRow(options); } @@ -17197,7 +17158,7 @@ export interface ITableCell { /** * Must be **TableCell**. */ - readonly type: 'TableCell'; + readonly type: "TableCell"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17273,7 +17234,7 @@ export interface ITableCell { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17295,10 +17256,10 @@ export interface ITableCell { */ export function isTableCell(value: unknown): value is ITableCell { const obj = value as ITableCell; - return typeof obj === 'object' && obj.type === 'TableCell'; + return typeof obj === "object" && obj.type === "TableCell"; } -export type TableCellOptions = Partial>; +export type TableCellOptions = Partial>; /** * Represents a cell in a table row. @@ -17311,7 +17272,7 @@ export class TableCell implements ITableCell { /** * Must be **TableCell**. */ - readonly type = 'TableCell'; + readonly type = "TableCell"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17335,11 +17296,11 @@ export class TableCell implements ITableCell { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -17387,7 +17348,7 @@ export class TableCell implements ITableCell { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17523,7 +17484,7 @@ export interface ITextRun { /** * Must be **TextRun**. */ - readonly type: 'TextRun'; + readonly type: "TextRun"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17587,7 +17548,7 @@ export interface ITextRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17605,10 +17566,10 @@ export interface ITextRun { */ export function isTextRun(value: unknown): value is ITextRun { const obj = value as ITextRun; - return typeof obj === 'object' && obj.type === 'TextRun'; + return typeof obj === "object" && obj.type === "TextRun"; } -export type TextRunOptions = Partial>; +export type TextRunOptions = Partial>; /** * A block of text inside a RichTextBlock element. @@ -17621,7 +17582,7 @@ export class TextRun implements ITextRun { /** * Must be **TextRun**. */ - readonly type = 'TextRun'; + readonly type = "TextRun"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17685,7 +17646,7 @@ export class TextRun implements ITextRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17696,7 +17657,7 @@ export class TextRun implements ITextRun { this.text = text; } - static from(options: Omit): TextRun { + static from(options: Omit): TextRun { return new TextRun(options.text, options); } @@ -17797,7 +17758,7 @@ export interface IIconRun { /** * Must be **IconRun**. */ - readonly type: 'IconRun'; + readonly type: "IconRun"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17821,7 +17782,7 @@ export interface IIconRun { /** * The size of the inline icon. */ - size?: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'; + size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"; /** * The style of the inline icon. */ @@ -17837,7 +17798,7 @@ export interface IIconRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17855,10 +17816,10 @@ export interface IIconRun { */ export function isIconRun(value: unknown): value is IIconRun { const obj = value as IIconRun; - return typeof obj === 'object' && obj.type === 'IconRun'; + return typeof obj === "object" && obj.type === "IconRun"; } -export type IconRunOptions = Partial>; +export type IconRunOptions = Partial>; /** * An inline icon inside a RichTextBlock element. @@ -17871,7 +17832,7 @@ export class IconRun implements IIconRun { /** * Must be **IconRun**. */ - readonly type = 'IconRun'; + readonly type = "IconRun"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17895,15 +17856,15 @@ export class IconRun implements IIconRun { /** * The size of the inline icon. */ - size?: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge' = 'Default'; + size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge" = "Default"; /** * The style of the inline icon. */ - style?: IconStyle = 'Regular'; + style?: IconStyle = "Regular"; /** * The color of the inline icon. */ - color?: TextColor = 'Default'; + color?: TextColor = "Default"; /** * An Action that will be invoked when the inline icon is tapped or clicked. Action.ShowCard is not supported. */ @@ -17911,7 +17872,7 @@ export class IconRun implements IIconRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17921,7 +17882,7 @@ export class IconRun implements IIconRun { Object.assign(this, options); } - static from(options: Omit): IconRun { + static from(options: Omit): IconRun { return new IconRun(options); } @@ -17955,7 +17916,7 @@ export class IconRun implements IIconRun { return this; } - withSize(size: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'): this { + withSize(size: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"): this { this.size = size; return this; } @@ -17992,7 +17953,7 @@ export interface IImageRun { /** * Must be **ImageRun**. */ - readonly type: 'ImageRun'; + readonly type: "ImageRun"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -18016,7 +17977,7 @@ export interface IImageRun { /** * The size of the inline image. */ - size?: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'; + size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"; /** * The style of the inline image. */ @@ -18032,7 +17993,7 @@ export interface IImageRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -18050,10 +18011,10 @@ export interface IImageRun { */ export function isImageRun(value: unknown): value is IImageRun { const obj = value as IImageRun; - return typeof obj === 'object' && obj.type === 'ImageRun'; + return typeof obj === "object" && obj.type === "ImageRun"; } -export type ImageRunOptions = Partial>; +export type ImageRunOptions = Partial>; /** * An inline image inside a RichTextBlock element. @@ -18066,7 +18027,7 @@ export class ImageRun implements IImageRun { /** * Must be **ImageRun**. */ - readonly type = 'ImageRun'; + readonly type = "ImageRun"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -18090,11 +18051,11 @@ export class ImageRun implements IImageRun { /** * The size of the inline image. */ - size?: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge' = 'Default'; + size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge" = "Default"; /** * The style of the inline image. */ - style?: ImageStyle = 'Default'; + style?: ImageStyle = "Default"; /** * An Action that will be invoked when the image is tapped or clicked. Action.ShowCard is not supported. */ @@ -18106,7 +18067,7 @@ export class ImageRun implements IImageRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -18116,7 +18077,7 @@ export class ImageRun implements IImageRun { Object.assign(this, options); } - static from(options: Omit): ImageRun { + static from(options: Omit): ImageRun { return new ImageRun(options); } @@ -18150,7 +18111,7 @@ export class ImageRun implements IImageRun { return this; } - withSize(size: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'): this { + withSize(size: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"): this { this.size = size; return this; } @@ -18187,7 +18148,7 @@ export interface IColumn { /** * Optional. If specified, must be **Column**. */ - readonly type: 'Column'; + readonly type: "Column"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -18275,11 +18236,11 @@ export interface IColumn { /** * The width of the column. If expressed as a number, represents the relative weight of the column in the set. If expressed as a string, `auto` will automatically adjust the column's width according to its content, `stretch` will make the column use the remaining horizontal space (shared with other columns with width set to `stretch`) and using the `px` format will give the column an explicit width in pixels. */ - width?: 'auto' | 'stretch' | string | number; + width?: "auto" | "stretch" | string | number; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -18301,10 +18262,10 @@ export interface IColumn { */ export function isColumn(value: unknown): value is IColumn { const obj = value as IColumn; - return typeof obj === 'object' && obj.type === 'Column'; + return typeof obj === "object" && obj.type === "Column"; } -export type ColumnOptions = Partial>; +export type ColumnOptions = Partial>; /** * A column in a ColumnSet element. @@ -18317,7 +18278,7 @@ export class Column implements IColumn { /** * Optional. If specified, must be **Column**. */ - readonly type = 'Column'; + readonly type = "Column"; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -18341,7 +18302,7 @@ export class Column implements IColumn { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = 'auto'; + height?: ElementHeight = "auto"; /** * Controls how the element should be horizontally aligned. */ @@ -18349,7 +18310,7 @@ export class Column implements IColumn { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = 'Default'; + spacing?: Spacing = "Default"; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -18405,11 +18366,11 @@ export class Column implements IColumn { /** * The width of the column. If expressed as a number, represents the relative weight of the column in the set. If expressed as a string, `auto` will automatically adjust the column's width according to its content, `stretch` will make the column use the remaining horizontal space (shared with other columns with width set to `stretch`) and using the `px` format will give the column an explicit width in pixels. */ - width?: 'auto' | 'stretch' | string | number; + width?: "auto" | "stretch" | string | number; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - 'grid.area'?: string; + "grid.area"?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -18538,7 +18499,7 @@ export class Column implements IColumn { return this; } - withWidth(width: 'auto' | 'stretch' | string | number): this { + withWidth(width: "auto" | "stretch" | string | number): this { this.width = width; return this; } @@ -18564,9 +18525,6 @@ export interface ISubmitActionData extends Record { /** * Defines the optional Teams-specific portion of the action's data. */ - /** - * Defines the optional Teams-specific portion of the action's data. Equivalent to `msteams`. - */ } @@ -18582,9 +18540,6 @@ export class SubmitActionData implements ISubmitActionData { /** * Defines the optional Teams-specific portion of the action's data. */ - /** - * Defines the optional Teams-specific portion of the action's data. Equivalent to `msteams`. - */ constructor(options: SubmitActionDataOptions = {}) { Object.assign(this, options); @@ -18607,7 +18562,7 @@ export interface IImBackSubmitActionData { /** * Must be **imBack**. */ - readonly type: 'imBack'; + readonly type: "imBack"; /** * The value that will be sent to the Bot. */ @@ -18625,10 +18580,10 @@ export interface IImBackSubmitActionData { */ export function isImBackSubmitActionData(value: unknown): value is IImBackSubmitActionData { const obj = value as IImBackSubmitActionData; - return typeof obj === 'object' && obj.type === 'imBack'; + return typeof obj === "object" && obj.type === "imBack"; } -export type ImBackSubmitActionDataOptions = Partial>; +export type ImBackSubmitActionDataOptions = Partial>; /** * Represents Teams-specific data in an Action.Submit to send an Instant Message back to the Bot. @@ -18641,7 +18596,7 @@ export class ImBackSubmitActionData implements IImBackSubmitActionData { /** * Must be **imBack**. */ - readonly type = 'imBack'; + readonly type = "imBack"; /** * The value that will be sent to the Bot. */ @@ -18652,7 +18607,7 @@ export class ImBackSubmitActionData implements IImBackSubmitActionData { this.value = value; } - static from(options: Omit): ImBackSubmitActionData { + static from(options: Omit): ImBackSubmitActionData { return new ImBackSubmitActionData(options.value, options); } @@ -18678,7 +18633,7 @@ export interface IInvokeSubmitActionData { /** * Must be **invoke**. */ - readonly type: 'invoke'; + readonly type: "invoke"; /** * The object to send to the Bot with the Invoke request. Can be strongly typed as one of the below values to trigger a specific action in Teams. */ @@ -18696,10 +18651,10 @@ export interface IInvokeSubmitActionData { */ export function isInvokeSubmitActionData(value: unknown): value is IInvokeSubmitActionData { const obj = value as IInvokeSubmitActionData; - return typeof obj === 'object' && obj.type === 'invoke'; + return typeof obj === "object" && obj.type === "invoke"; } -export type InvokeSubmitActionDataOptions = Partial>; +export type InvokeSubmitActionDataOptions = Partial>; /** * Represents Teams-specific data in an Action.Submit to make an Invoke request to the Bot. @@ -18712,7 +18667,7 @@ export class InvokeSubmitActionData implements IInvokeSubmitActionData { /** * Must be **invoke**. */ - readonly type = 'invoke'; + readonly type = "invoke"; /** * The object to send to the Bot with the Invoke request. Can be strongly typed as one of the below values to trigger a specific action in Teams. */ @@ -18723,7 +18678,7 @@ export class InvokeSubmitActionData implements IInvokeSubmitActionData { this.value = value; } - static from(options: Omit): InvokeSubmitActionData { + static from(options: Omit): InvokeSubmitActionData { return new InvokeSubmitActionData(options.value, options); } @@ -18745,7 +18700,7 @@ export interface ICollabStageInvokeDataValue { /** * Must be **tab/tabInfoAction**. */ - readonly type: 'tab/tabInfoAction'; + readonly type: "tab/tabInfoAction"; /** * Provides information about the iFrame content, rendered in the collab stage popout window. */ @@ -18763,10 +18718,10 @@ export interface ICollabStageInvokeDataValue { */ export function isCollabStageInvokeDataValue(value: unknown): value is ICollabStageInvokeDataValue { const obj = value as ICollabStageInvokeDataValue; - return typeof obj === 'object' && obj.type === 'tab/tabInfoAction'; + return typeof obj === "object" && obj.type === "tab/tabInfoAction"; } -export type CollabStageInvokeDataValueOptions = Partial>; +export type CollabStageInvokeDataValueOptions = Partial>; /** * Data for invoking a collaboration stage action. @@ -18775,7 +18730,7 @@ export class CollabStageInvokeDataValue implements ICollabStageInvokeDataValue { /** * Must be **tab/tabInfoAction**. */ - readonly type = 'tab/tabInfoAction'; + readonly type = "tab/tabInfoAction"; /** * Provides information about the iFrame content, rendered in the collab stage popout window. */ @@ -18785,7 +18740,7 @@ export class CollabStageInvokeDataValue implements ICollabStageInvokeDataValue { Object.assign(this, options); } - static from(options: Omit): CollabStageInvokeDataValue { + static from(options: Omit): CollabStageInvokeDataValue { return new CollabStageInvokeDataValue(options); } @@ -18881,7 +18836,7 @@ export interface IMessageBackSubmitActionData { /** * Must be **messageBack**. */ - readonly type: 'messageBack'; + readonly type: "messageBack"; /** * The text that will be sent to the Bot. */ @@ -18907,10 +18862,10 @@ export interface IMessageBackSubmitActionData { */ export function isMessageBackSubmitActionData(value: unknown): value is IMessageBackSubmitActionData { const obj = value as IMessageBackSubmitActionData; - return typeof obj === 'object' && obj.type === 'messageBack'; + return typeof obj === "object" && obj.type === "messageBack"; } -export type MessageBackSubmitActionDataOptions = Partial>; +export type MessageBackSubmitActionDataOptions = Partial>; /** * Represents Teams-specific data in an Action.Submit to send a message back to the Bot. @@ -18923,7 +18878,7 @@ export class MessageBackSubmitActionData implements IMessageBackSubmitActionData /** * Must be **messageBack**. */ - readonly type = 'messageBack'; + readonly type = "messageBack"; /** * The text that will be sent to the Bot. */ @@ -18941,7 +18896,7 @@ export class MessageBackSubmitActionData implements IMessageBackSubmitActionData Object.assign(this, options); } - static from(options: Omit): MessageBackSubmitActionData { + static from(options: Omit): MessageBackSubmitActionData { return new MessageBackSubmitActionData(options); } @@ -18977,7 +18932,7 @@ export interface ISigninSubmitActionData { /** * Must be **signin**. */ - readonly type: 'signin'; + readonly type: "signin"; /** * The URL to redirect the end-user for signing in. */ @@ -18995,10 +18950,10 @@ export interface ISigninSubmitActionData { */ export function isSigninSubmitActionData(value: unknown): value is ISigninSubmitActionData { const obj = value as ISigninSubmitActionData; - return typeof obj === 'object' && obj.type === 'signin'; + return typeof obj === "object" && obj.type === "signin"; } -export type SigninSubmitActionDataOptions = Partial>; +export type SigninSubmitActionDataOptions = Partial>; /** * Represents Teams-specific data in an Action.Submit to sign in a user. @@ -19011,7 +18966,7 @@ export class SigninSubmitActionData implements ISigninSubmitActionData { /** * Must be **signin**. */ - readonly type = 'signin'; + readonly type = "signin"; /** * The URL to redirect the end-user for signing in. */ @@ -19022,7 +18977,7 @@ export class SigninSubmitActionData implements ISigninSubmitActionData { this.value = value; } - static from(options: Omit): SigninSubmitActionData { + static from(options: Omit): SigninSubmitActionData { return new SigninSubmitActionData(options.value, options); } @@ -19048,7 +19003,7 @@ export interface ITaskFetchSubmitActionData { /** * Must be **task/fetch**. */ - readonly type: 'task/fetch'; + readonly type: "task/fetch"; } /** @@ -19062,10 +19017,10 @@ export interface ITaskFetchSubmitActionData { */ export function isTaskFetchSubmitActionData(value: unknown): value is ITaskFetchSubmitActionData { const obj = value as ITaskFetchSubmitActionData; - return typeof obj === 'object' && obj.type === 'task/fetch'; + return typeof obj === "object" && obj.type === "task/fetch"; } -export type TaskFetchSubmitActionDataOptions = Partial>; +export type TaskFetchSubmitActionDataOptions = Partial>; /** * Represents Teams-specific data in an Action.Submit to open a task module. @@ -19078,13 +19033,13 @@ export class TaskFetchSubmitActionData implements ITaskFetchSubmitActionData { /** * Must be **task/fetch**. */ - readonly type = 'task/fetch'; + readonly type = "task/fetch"; constructor(options: TaskFetchSubmitActionDataOptions = {}) { Object.assign(this, options); } - static from(options: Omit): TaskFetchSubmitActionData { + static from(options: Omit): TaskFetchSubmitActionData { return new TaskFetchSubmitActionData(options); } @@ -19582,7 +19537,7 @@ export interface IMention { /** * Must be **mention**. */ - readonly type: 'mention'; + readonly type: "mention"; /** * The text that will be substituted with the mention. */ @@ -19604,10 +19559,10 @@ export interface IMention { */ export function isMention(value: unknown): value is IMention { const obj = value as IMention; - return typeof obj === 'object' && obj.type === 'mention'; + return typeof obj === "object" && obj.type === "mention"; } -export type MentionOptions = Partial>; +export type MentionOptions = Partial>; /** * Represents a mention to a person. @@ -19620,7 +19575,7 @@ export class Mention implements IMention { /** * Must be **mention**. */ - readonly type = 'mention'; + readonly type = "mention"; /** * The text that will be substituted with the mention. */ @@ -19634,7 +19589,7 @@ export class Mention implements IMention { Object.assign(this, options); } - static from(options: Omit): Mention { + static from(options: Omit): Mention { return new Mention(options); } @@ -19698,7 +19653,7 @@ export class MentionedEntity implements IMentionedEntity { /** * The type of the mentioned entity. */ - mentionType?: MentionType = 'Person'; + mentionType?: MentionType = "Person"; constructor(options: MentionedEntityOptions = {}) { Object.assign(this, options); From b782ca0f7fff6a39fc9a73203f701fa3fc2c834b Mon Sep 17 00:00:00 2001 From: Corina Gum <> Date: Thu, 19 Mar 2026 15:33:36 -0700 Subject: [PATCH 9/9] Lint --- packages/cards/src/core.ts | 1322 ++++++++++++++++++------------------ 1 file changed, 660 insertions(+), 662 deletions(-) diff --git a/packages/cards/src/core.ts b/packages/cards/src/core.ts index 49545b30e..2ec4b4a00 100644 --- a/packages/cards/src/core.ts +++ b/packages/cards/src/core.ts @@ -1,6 +1,4 @@ -/* eslint-disable @typescript-eslint/no-empty-interface */ -/* eslint-disable @typescript-eslint/no-explicit-any */ -/* cSpell:disable */ + /* cSpell:disable */ // This file was automatically generated by a tool on 03/19/2026, 9:27 PM UTC. DO NOT UPDATE MANUALLY. // It includes declarations for Adaptive Card features available in Teams, Copilot, Outlook, Word, Excel, PowerPoint. @@ -9,103 +7,103 @@ export type CardElement = IContainer | IActionSet | IColumnSet | IMedia | IRichT export type Action = ISubmitAction | IOpenUrlAction | IExecuteAction | IToggleVisibilityAction | IShowCardAction | IResetInputsAction | IPopoverAction | IOpenUrlDialogAction | IInsertImageAction; -export type IconName = "AccessTime" | "Accessibility" | "AccessibilityCheckmark" | "Add" | "AddCircle" | "AddSquare" | "AddSquareMultiple" | "AddSubtractCircle" | "Airplane" | "AirplaneLanding" | "AirplaneTakeOff" | "Album" | "AlbumAdd" | "Alert" | "AlertBadge" | "AlertOff" | "AlertOn" | "AlertSnooze" | "AlertUrgent" | "AlignBottom" | "AlignCenterHorizontal" | "AlignCenterVertical" | "AlignDistributeBottom" | "AlignDistributeLeft" | "AlignDistributeRight" | "AlignDistributeTop" | "AlignEndHorizontal" | "AlignEndVertical" | "AlignLeft" | "AlignRight" | "AlignSpaceAroundHorizontal" | "AlignSpaceAroundVertical" | "AlignSpaceBetweenHorizontal" | "AlignSpaceBetweenVertical" | "AlignSpaceEvenlyHorizontal" | "AlignSpaceEvenlyVertical" | "AlignSpaceFitVertical" | "AlignStartHorizontal" | "AlignStartVertical" | "AlignStraighten" | "AlignStretchHorizontal" | "AlignStretchVertical" | "AlignTop" | "AnimalCat" | "AnimalDog" | "AnimalRabbit" | "AnimalRabbitOff" | "AnimalTurtle" | "AppFolder" | "AppGeneric" | "AppRecent" | "AppStore" | "AppTitle" | "ApprovalsApp" | "Apps" | "AppsAddIn" | "AppsList" | "AppsListDetail" | "Archive" | "ArchiveArrowBack" | "ArchiveMultiple" | "ArchiveSettings" | "ArrowAutofitContent" | "ArrowAutofitDown" | "ArrowAutofitHeight" | "ArrowAutofitHeightDotted" | "ArrowAutofitHeightIn" | "ArrowAutofitUp" | "ArrowAutofitWidth" | "ArrowAutofitWidthDotted" | "ArrowBetweenDown" | "ArrowBetweenUp" | "ArrowBidirectionalLeftRight" | "ArrowBidirectionalUpDown" | "ArrowBounce" | "ArrowCircleDown" | "ArrowCircleDownDouble" | "ArrowCircleDownRight" | "ArrowCircleDownSplit" | "ArrowCircleDownUp" | "ArrowCircleLeft" | "ArrowCircleRight" | "ArrowCircleUp" | "ArrowCircleUpLeft" | "ArrowCircleUpRight" | "ArrowClockwise" | "ArrowClockwiseDashes" | "ArrowCollapseAll" | "ArrowCounterclockwise" | "ArrowCounterclockwiseDashes" | "ArrowCurveDownLeft" | "ArrowCurveDownRight" | "ArrowCurveUpLeft" | "ArrowCurveUpRight" | "ArrowDown" | "ArrowDownExclamation" | "ArrowDownLeft" | "ArrowDownload" | "ArrowDownloadOff" | "ArrowEject" | "ArrowEnter" | "ArrowEnterLeft" | "ArrowEnterUp" | "ArrowExit" | "ArrowExpand" | "ArrowExport" | "ArrowExportLtr" | "ArrowExportRtl" | "ArrowExportUp" | "ArrowFit" | "ArrowFitIn" | "ArrowFlowDiagonalUpRight" | "ArrowFlowUpRight" | "ArrowFlowUpRightRectangleMultiple" | "ArrowForward" | "ArrowForwardDownLightning" | "ArrowForwardDownPerson" | "ArrowHookDownLeft" | "ArrowHookDownRight" | "ArrowHookUpLeft" | "ArrowHookUpRight" | "ArrowImport" | "ArrowJoin" | "ArrowLeft" | "ArrowMaximize" | "ArrowMaximizeVertical" | "ArrowMinimize" | "ArrowMinimizeVertical" | "ArrowMove" | "ArrowMoveInward" | "ArrowNext" | "ArrowOutlineDownLeft" | "ArrowOutlineUpRight" | "ArrowParagraph" | "ArrowPrevious" | "ArrowRedo" | "ArrowRepeat1" | "ArrowRepeatAll" | "ArrowRepeatAllOff" | "ArrowReply" | "ArrowReplyAll" | "ArrowReplyDown" | "ArrowReset" | "ArrowRight" | "ArrowRotateClockwise" | "ArrowRotateCounterclockwise" | "ArrowRouting" | "ArrowRoutingRectangleMultiple" | "ArrowShuffle" | "ArrowShuffleOff" | "ArrowSort" | "ArrowSortDown" | "ArrowSortDownLines" | "ArrowSortUp" | "ArrowSplit" | "ArrowSprint" | "ArrowSquareDown" | "ArrowSquareUpRight" | "ArrowStepBack" | "ArrowStepIn" | "ArrowStepInDiagonalDownLeft" | "ArrowStepInLeft" | "ArrowStepInRight" | "ArrowStepOut" | "ArrowStepOver" | "ArrowSwap" | "ArrowSync" | "ArrowSyncCheckmark" | "ArrowSyncCircle" | "ArrowSyncDismiss" | "ArrowSyncOff" | "ArrowTrending" | "ArrowTrendingCheckmark" | "ArrowTrendingDown" | "ArrowTrendingLines" | "ArrowTrendingSettings" | "ArrowTrendingSparkle" | "ArrowTrendingText" | "ArrowTrendingWrench" | "ArrowTurnBidirectionalDownRight" | "ArrowTurnDownLeft" | "ArrowTurnDownRight" | "ArrowTurnDownUp" | "ArrowTurnLeftDown" | "ArrowTurnLeftRight" | "ArrowTurnLeftUp" | "ArrowTurnRight" | "ArrowTurnRightDown" | "ArrowTurnRightLeft" | "ArrowTurnRightUp" | "ArrowTurnUpDown" | "ArrowTurnUpLeft" | "ArrowUndo" | "ArrowUp" | "ArrowUpLeft" | "ArrowUpRight" | "ArrowUpRightDashes" | "ArrowUpSquareSettings" | "ArrowUpload" | "ArrowWrap" | "ArrowWrapOff" | "ArrowsBidirectional" | "Attach" | "AttachArrowRight" | "AttachText" | "AutoFitHeight" | "AutoFitWidth" | "Autocorrect" | "Autosum" | "Backpack" | "BackpackAdd" | "Backspace" | "Badge" | "Balloon" | "BarcodeScanner" | "Battery0" | "Battery10" | "Battery1" | "Battery2" | "Battery3" | "Battery4" | "Battery5" | "Battery6" | "Battery7" | "Battery8" | "Battery9" | "BatteryCharge" | "BatteryCheckmark" | "BatterySaver" | "BatteryWarning" | "Beach" | "Beaker" | "BeakerAdd" | "BeakerDismiss" | "BeakerEdit" | "BeakerEmpty" | "BeakerOff" | "BeakerSettings" | "Bed" | "BezierCurveSquare" | "BinFull" | "BinRecycle" | "BinRecycleFull" | "BinderTriangle" | "Bluetooth" | "BluetoothConnected" | "BluetoothDisabled" | "BluetoothSearching" | "Blur" | "Board" | "BoardGames" | "BoardHeart" | "BoardSplit" | "Book" | "BookAdd" | "BookArrowClockwise" | "BookClock" | "BookCoins" | "BookCompass" | "BookContacts" | "BookDatabase" | "BookDefault" | "BookDismiss" | "BookExclamationMark" | "BookGlobe" | "BookInformation" | "BookLetter" | "BookNumber" | "BookOpen" | "BookOpenGlobe" | "BookOpenMicrophone" | "BookPulse" | "BookQuestionMark" | "BookQuestionMarkRtl" | "BookSearch" | "BookStar" | "BookTemplate" | "BookTheta" | "BookToolbox" | "Bookmark" | "BookmarkAdd" | "BookmarkMultiple" | "BookmarkOff" | "BookmarkSearch" | "BorderAll" | "BorderBottom" | "BorderBottomDouble" | "BorderBottomThick" | "BorderInside" | "BorderLeft" | "BorderLeftRight" | "BorderNone" | "BorderOutside" | "BorderOutsideThick" | "BorderRight" | "BorderTop" | "BorderTopBottom" | "BorderTopBottomDouble" | "BorderTopBottomThick" | "Bot" | "BotAdd" | "BotSparkle" | "BowTie" | "BowlChopsticks" | "BowlSalad" | "Box" | "BoxArrowLeft" | "BoxArrowUp" | "BoxCheckmark" | "BoxDismiss" | "BoxEdit" | "BoxMultiple" | "BoxMultipleArrowLeft" | "BoxMultipleArrowRight" | "BoxMultipleCheckmark" | "BoxMultipleSearch" | "BoxSearch" | "BoxToolbox" | "Braces" | "BracesCheckmark" | "BracesDismiss" | "BracesVariable" | "BrainCircuit" | "Branch" | "BranchCompare" | "BranchFork" | "BranchForkHint" | "BranchForkLink" | "BranchRequest" | "BreakoutRoom" | "Briefcase" | "BriefcaseMedical" | "BriefcaseOff" | "BriefcasePerson" | "BriefcaseSearch" | "BrightnessHigh" | "BrightnessLow" | "BroadActivityFeed" | "Broom" | "BubbleMultiple" | "Bug" | "BugArrowCounterclockwise" | "BugProhibited" | "Building" | "BuildingBank" | "BuildingBankLink" | "BuildingBankToolbox" | "BuildingCloud" | "BuildingDesktop" | "BuildingFactory" | "BuildingGovernment" | "BuildingGovernmentSearch" | "BuildingHome" | "BuildingLighthouse" | "BuildingMosque" | "BuildingMultiple" | "BuildingPeople" | "BuildingRetail" | "BuildingRetailMoney" | "BuildingRetailMore" | "BuildingRetailShield" | "BuildingRetailToolbox" | "BuildingShop" | "BuildingSkyscraper" | "BuildingSwap" | "BuildingTownhouse" | "Button" | "Calculator" | "CalculatorArrowClockwise" | "CalculatorMultiple" | "Calendar" | "Calendar3Day" | "CalendarAdd" | "CalendarAgenda" | "CalendarArrowCounterclockwise" | "CalendarArrowDown" | "CalendarArrowRight" | "CalendarAssistant" | "CalendarCancel" | "CalendarChat" | "CalendarCheckmark" | "CalendarClock" | "CalendarDataBar" | "CalendarDate" | "CalendarDay" | "CalendarEdit" | "CalendarEmpty" | "CalendarError" | "CalendarEye" | "CalendarInfo" | "CalendarLink" | "CalendarLock" | "CalendarLtr" | "CalendarMail" | "CalendarMention" | "CalendarMonth" | "CalendarMultiple" | "CalendarNote" | "CalendarPattern" | "CalendarPerson" | "CalendarPhone" | "CalendarPlay" | "CalendarQuestionMark" | "CalendarRecord" | "CalendarReply" | "CalendarRtl" | "CalendarSearch" | "CalendarSettings" | "CalendarShield" | "CalendarStar" | "CalendarSync" | "CalendarToday" | "CalendarToolbox" | "CalendarVideo" | "CalendarWeekNumbers" | "CalendarWeekStart" | "CalendarWorkWeek" | "Call" | "CallAdd" | "CallCheckmark" | "CallConnecting" | "CallDismiss" | "CallEnd" | "CallExclamation" | "CallForward" | "CallInbound" | "CallMissed" | "CallOutbound" | "CallPark" | "CallPause" | "CallProhibited" | "CallTransfer" | "CallWarning" | "CalligraphyPen" | "CalligraphyPenCheckmark" | "CalligraphyPenError" | "CalligraphyPenQuestionMark" | "Camera" | "CameraAdd" | "CameraDome" | "CameraEdit" | "CameraOff" | "CameraSparkles" | "CameraSwitch" | "CardUi" | "CaretDown" | "CaretDownRight" | "CaretLeft" | "CaretRight" | "CaretUp" | "Cart" | "Cast" | "CastMultiple" | "CatchUp" | "Cd" | "Cellular3G" | "Cellular4G" | "Cellular5G" | "CellularData1" | "CellularData2" | "CellularData3" | "CellularData4" | "CellularData5" | "CellularOff" | "CellularWarning" | "CenterHorizontal" | "CenterVertical" | "Certificate" | "Channel" | "ChannelAdd" | "ChannelAlert" | "ChannelArrowLeft" | "ChannelDismiss" | "ChannelShare" | "ChannelSubtract" | "ChartMultiple" | "ChartPerson" | "Chat" | "ChatAdd" | "ChatArrowBack" | "ChatArrowDoubleBack" | "ChatBubblesQuestion" | "ChatCursor" | "ChatDismiss" | "ChatEmpty" | "ChatHelp" | "ChatLock" | "ChatMail" | "ChatMultiple" | "ChatMultipleHeart" | "ChatOff" | "ChatSettings" | "ChatSparkle" | "ChatVideo" | "ChatWarning" | "Check" | "Checkbox1" | "Checkbox2" | "CheckboxArrowRight" | "CheckboxChecked" | "CheckboxCheckedSync" | "CheckboxIndeterminate" | "CheckboxPerson" | "CheckboxUnchecked" | "CheckboxWarning" | "Checkmark" | "CheckmarkCircle" | "CheckmarkCircleSquare" | "CheckmarkLock" | "CheckmarkNote" | "CheckmarkSquare" | "CheckmarkStarburst" | "CheckmarkUnderlineCircle" | "Chess" | "ChevronCircleDown" | "ChevronCircleLeft" | "ChevronCircleRight" | "ChevronCircleUp" | "ChevronDoubleDown" | "ChevronDoubleLeft" | "ChevronDoubleRight" | "ChevronDoubleUp" | "ChevronDown" | "ChevronDownUp" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "ChevronUpDown" | "Circle" | "CircleEdit" | "CircleEraser" | "CircleHalfFill" | "CircleHint" | "CircleHintHalfVertical" | "CircleImage" | "CircleLine" | "CircleMultipleSubtractCheckmark" | "CircleOff" | "CircleSmall" | "City" | "Class" | "Classification" | "ClearFormatting" | "Clipboard" | "Clipboard3Day" | "ClipboardArrowRight" | "ClipboardBrush" | "ClipboardBulletList" | "ClipboardBulletListLtr" | "ClipboardBulletListRtl" | "ClipboardCheckmark" | "ClipboardClock" | "ClipboardCode" | "ClipboardDataBar" | "ClipboardDay" | "ClipboardEdit" | "ClipboardError" | "ClipboardHeart" | "ClipboardImage" | "ClipboardLetter" | "ClipboardLink" | "ClipboardMathFormula" | "ClipboardMonth" | "ClipboardMore" | "ClipboardMultiple" | "ClipboardNote" | "ClipboardNumber123" | "ClipboardPaste" | "ClipboardPulse" | "ClipboardSearch" | "ClipboardSettings" | "ClipboardTask" | "ClipboardTaskAdd" | "ClipboardTaskList" | "ClipboardTaskListLtr" | "ClipboardTaskListRtl" | "ClipboardText" | "ClipboardTextEdit" | "ClipboardTextLtr" | "ClipboardTextRtl" | "Clock" | "ClockAlarm" | "ClockArrowDownload" | "ClockDismiss" | "ClockLock" | "ClockPause" | "ClockToolbox" | "ClosedCaption" | "ClosedCaptionOff" | "Cloud" | "CloudAdd" | "CloudArchive" | "CloudArrowDown" | "CloudArrowUp" | "CloudBeaker" | "CloudBidirectional" | "CloudCheckmark" | "CloudCube" | "CloudDatabase" | "CloudDesktop" | "CloudDismiss" | "CloudEdit" | "CloudError" | "CloudFlow" | "CloudLink" | "CloudOff" | "CloudSwap" | "CloudSync" | "CloudWords" | "Clover" | "Code" | "CodeBlock" | "CodeCircle" | "CodeCs" | "CodeCsRectangle" | "CodeFs" | "CodeFsRectangle" | "CodeJs" | "CodeJsRectangle" | "CodePy" | "CodePyRectangle" | "CodeRb" | "CodeRbRectangle" | "CodeText" | "CodeTextEdit" | "CodeTextOff" | "CodeTs" | "CodeTsRectangle" | "CodeVb" | "CodeVbRectangle" | "Collections" | "CollectionsAdd" | "Color" | "ColorBackground" | "ColorBackgroundAccent" | "ColorFill" | "ColorFillAccent" | "ColorLine" | "ColorLineAccent" | "Column" | "ColumnArrowRight" | "ColumnDoubleCompare" | "ColumnEdit" | "ColumnSingle" | "ColumnSingleCompare" | "ColumnTriple" | "ColumnTripleEdit" | "Comma" | "Comment" | "CommentAdd" | "CommentArrowLeft" | "CommentArrowRight" | "CommentCheckmark" | "CommentDismiss" | "CommentEdit" | "CommentError" | "CommentLightning" | "CommentLink" | "CommentMention" | "CommentMultiple" | "CommentMultipleCheckmark" | "CommentMultipleLink" | "CommentNote" | "CommentOff" | "Communication" | "CommunicationPerson" | "CommunicationShield" | "CompassNorthwest" | "Component2DoubleTapSwipeDown" | "Component2DoubleTapSwipeUp" | "Compose" | "Cone" | "ConferenceRoom" | "Connected" | "Connector" | "ContactCard" | "ContactCardGroup" | "ContactCardLink" | "ContactCardRibbon" | "ContentSettings" | "ContentView" | "ContentViewGallery" | "ContentViewGalleryLightning" | "ContractDownLeft" | "ContractUpRight" | "ControlButton" | "ConvertRange" | "Cookies" | "Copy" | "CopyAdd" | "CopyArrowRight" | "CopySelect" | "Couch" | "CreditCardClock" | "CreditCardPerson" | "CreditCardToolbox" | "Crop" | "CropInterim" | "CropInterimOff" | "CropSparkle" | "Crown" | "CrownSubtract" | "Cube" | "CubeAdd" | "CubeArrowCurveDown" | "CubeLink" | "CubeMultiple" | "CubeQuick" | "CubeRotate" | "CubeSync" | "CubeTree" | "CurrencyDollarEuro" | "CurrencyDollarRupee" | "Cursor" | "CursorClick" | "CursorHover" | "CursorHoverOff" | "CursorProhibited" | "Cut" | "DarkTheme" | "DataArea" | "DataBarHorizontal" | "DataBarHorizontalDescending" | "DataBarVertical" | "DataBarVerticalAdd" | "DataBarVerticalAscending" | "DataBarVerticalStar" | "DataFunnel" | "DataHistogram" | "DataLine" | "DataPie" | "DataScatter" | "DataSunburst" | "DataTreemap" | "DataTrending" | "DataUsage" | "DataUsageEdit" | "DataUsageSettings" | "DataUsageToolbox" | "DataWaterfall" | "DataWhisker" | "Database" | "DatabaseArrowDown" | "DatabaseArrowRight" | "DatabaseArrowUp" | "DatabaseLightning" | "DatabaseLink" | "DatabaseMultiple" | "DatabasePerson" | "DatabasePlugConnected" | "DatabaseSearch" | "DatabaseStack" | "DatabaseSwitch" | "DatabaseWarning" | "DatabaseWindow" | "DecimalArrowLeft" | "DecimalArrowRight" | "Delete" | "DeleteArrowBack" | "DeleteDismiss" | "DeleteLines" | "DeleteOff" | "Dentist" | "DesignIdeas" | "Desk" | "Desktop" | "DesktopArrowDown" | "DesktopArrowRight" | "DesktopCheckmark" | "DesktopCursor" | "DesktopEdit" | "DesktopFlow" | "DesktopKeyboard" | "DesktopMac" | "DesktopPulse" | "DesktopSignal" | "DesktopSpeaker" | "DesktopSpeakerOff" | "DesktopSync" | "DesktopToolbox" | "DesktopTower" | "DeveloperBoard" | "DeveloperBoardLightning" | "DeveloperBoardLightningToolbox" | "DeveloperBoardSearch" | "DeviceEq" | "DeviceMeetingRoom" | "DeviceMeetingRoomRemote" | "Diagram" | "Dialpad" | "DialpadOff" | "DialpadQuestionMark" | "Diamond" | "Directions" | "Dishwasher" | "Dismiss" | "DismissCircle" | "DismissSquare" | "DismissSquareMultiple" | "Diversity" | "DividerShort" | "DividerTall" | "Dock" | "DockRow" | "Doctor" | "Document100" | "Document" | "DocumentAdd" | "DocumentArrowDown" | "DocumentArrowLeft" | "DocumentArrowRight" | "DocumentArrowUp" | "DocumentBorder" | "DocumentBorderPrint" | "DocumentBriefcase" | "DocumentBulletList" | "DocumentBulletListArrowLeft" | "DocumentBulletListClock" | "DocumentBulletListCube" | "DocumentBulletListMultiple" | "DocumentBulletListOff" | "DocumentCatchUp" | "DocumentCheckmark" | "DocumentChevronDouble" | "DocumentContract" | "DocumentCopy" | "DocumentCs" | "DocumentCss" | "DocumentCube" | "DocumentData" | "DocumentDataLink" | "DocumentDataLock" | "DocumentDatabase" | "DocumentDismiss" | "DocumentEdit" | "DocumentEndnote" | "DocumentError" | "DocumentFit" | "DocumentFlowchart" | "DocumentFolder" | "DocumentFooter" | "DocumentFooterDismiss" | "DocumentFs" | "DocumentHeader" | "DocumentHeaderArrowDown" | "DocumentHeaderDismiss" | "DocumentHeaderFooter" | "DocumentHeart" | "DocumentHeartPulse" | "DocumentImage" | "DocumentJava" | "DocumentJavascript" | "DocumentJs" | "DocumentKey" | "DocumentLandscape" | "DocumentLandscapeData" | "DocumentLandscapeSplit" | "DocumentLandscapeSplitHint" | "DocumentLightning" | "DocumentLink" | "DocumentLock" | "DocumentMargins" | "DocumentMention" | "DocumentMultiple" | "DocumentMultiplePercent" | "DocumentMultipleProhibited" | "DocumentMultipleSync" | "DocumentNumber1" | "DocumentOnePage" | "DocumentOnePageAdd" | "DocumentOnePageBeaker" | "DocumentOnePageColumns" | "DocumentOnePageLink" | "DocumentOnePageMultiple" | "DocumentOnePageSparkle" | "DocumentPageBottomCenter" | "DocumentPageBottomLeft" | "DocumentPageBottomRight" | "DocumentPageBreak" | "DocumentPageNumber" | "DocumentPageTopCenter" | "DocumentPageTopLeft" | "DocumentPageTopRight" | "DocumentPdf" | "DocumentPercent" | "DocumentPerson" | "DocumentPill" | "DocumentPrint" | "DocumentProhibited" | "DocumentPy" | "DocumentQuestionMark" | "DocumentQueue" | "DocumentQueueAdd" | "DocumentQueueMultiple" | "DocumentRb" | "DocumentRibbon" | "DocumentSass" | "DocumentSave" | "DocumentSearch" | "DocumentSettings" | "DocumentSplitHint" | "DocumentSplitHintOff" | "DocumentSync" | "DocumentTable" | "DocumentTableArrowRight" | "DocumentTableCheckmark" | "DocumentTableCube" | "DocumentTableSearch" | "DocumentTableTruck" | "DocumentTarget" | "DocumentText" | "DocumentTextClock" | "DocumentTextExtract" | "DocumentTextLink" | "DocumentTextToolbox" | "DocumentToolbox" | "DocumentTs" | "DocumentVb" | "DocumentWidth" | "DocumentYml" | "Door" | "DoorArrowLeft" | "DoorArrowRight" | "DoorTag" | "DoubleSwipeDown" | "DoubleSwipeUp" | "DoubleTapSwipeDown" | "DoubleTapSwipeUp" | "Drafts" | "Drag" | "DrawImage" | "DrawShape" | "DrawText" | "Drawer" | "DrawerAdd" | "DrawerArrowDownload" | "DrawerDismiss" | "DrawerPlay" | "DrawerSubtract" | "DrinkBeer" | "DrinkBottle" | "DrinkBottleOff" | "DrinkCoffee" | "DrinkMargarita" | "DrinkToGo" | "DrinkWine" | "DriveTrain" | "Drop" | "DualScreen" | "DualScreenAdd" | "DualScreenArrowRight" | "DualScreenArrowUp" | "DualScreenClock" | "DualScreenClosedAlert" | "DualScreenDesktop" | "DualScreenDismiss" | "DualScreenGroup" | "DualScreenHeader" | "DualScreenLock" | "DualScreenMirror" | "DualScreenPagination" | "DualScreenSettings" | "DualScreenSpan" | "DualScreenSpeaker" | "DualScreenStatusBar" | "DualScreenTablet" | "DualScreenUpdate" | "DualScreenVerticalScroll" | "DualScreenVibrate" | "Dumbbell" | "Dust" | "Earth" | "EarthLeaf" | "Edit" | "EditArrowBack" | "EditOff" | "EditProhibited" | "EditSettings" | "Elevator" | "Emoji" | "EmojiAdd" | "EmojiAngry" | "EmojiEdit" | "EmojiHand" | "EmojiHint" | "EmojiLaugh" | "EmojiMeh" | "EmojiMultiple" | "EmojiSad" | "EmojiSadSlight" | "EmojiSmileSlight" | "EmojiSparkle" | "EmojiSurprise" | "Engine" | "EqualCircle" | "EqualOff" | "Eraser" | "EraserMedium" | "EraserSegment" | "EraserSmall" | "EraserTool" | "ErrorCircle" | "ErrorCircleSettings" | "ExpandUpLeft" | "ExpandUpRight" | "ExtendedDock" | "Eye" | "EyeLines" | "EyeOff" | "EyeTracking" | "EyeTrackingOff" | "Eyedropper" | "EyedropperOff" | "FStop" | "FastAcceleration" | "FastForward" | "Fax" | "Feed" | "Filmstrip" | "FilmstripImage" | "FilmstripOff" | "FilmstripPlay" | "FilmstripSplit" | "Filter" | "FilterAdd" | "FilterDismiss" | "FilterSync" | "Fingerprint" | "Fire" | "Fireplace" | "FixedWidth" | "Flag" | "FlagCheckered" | "FlagClock" | "FlagOff" | "FlagPride" | "FlagPrideIntersexInclusiveProgress" | "FlagPridePhiladelphia" | "FlagPrideProgress" | "Flash" | "FlashAdd" | "FlashAuto" | "FlashCheckmark" | "FlashFlow" | "FlashOff" | "FlashPlay" | "FlashSettings" | "FlashSparkle" | "Flashlight" | "FlashlightOff" | "FlipHorizontal" | "FlipVertical" | "Flow" | "Flowchart" | "FlowchartCircle" | "Fluent" | "Fluid" | "Folder" | "FolderAdd" | "FolderArrowLeft" | "FolderArrowRight" | "FolderArrowUp" | "FolderBriefcase" | "FolderGlobe" | "FolderLightning" | "FolderLink" | "FolderList" | "FolderMail" | "FolderMultiple" | "FolderOpen" | "FolderOpenVertical" | "FolderPeople" | "FolderPerson" | "FolderProhibited" | "FolderSearch" | "FolderSwap" | "FolderSync" | "FolderZip" | "FontDecrease" | "FontIncrease" | "FontSpaceTrackingIn" | "FontSpaceTrackingOut" | "Food" | "FoodApple" | "FoodCake" | "FoodCarrot" | "FoodChickenLeg" | "FoodEgg" | "FoodFish" | "FoodGrains" | "FoodPizza" | "FoodToast" | "Form" | "FormMultiple" | "FormNew" | "Fps120" | "Fps240" | "Fps30" | "Fps60" | "Fps960" | "Frame" | "FullScreenMaximize" | "FullScreenMinimize" | "Games" | "GanttChart" | "Gas" | "GasPump" | "Gather" | "Gauge" | "GaugeAdd" | "Gavel" | "GavelProhibited" | "Gesture" | "Gif" | "Gift" | "GiftCard" | "GiftCardAdd" | "GiftCardArrowRight" | "GiftCardMoney" | "GiftCardMultiple" | "GiftOpen" | "Glance" | "GlanceDefault" | "GlanceHorizontal" | "GlanceHorizontalSparkle" | "GlanceHorizontalSparkles" | "Glasses" | "GlassesOff" | "Globe" | "GlobeAdd" | "GlobeArrowForward" | "GlobeArrowUp" | "GlobeClock" | "GlobeDesktop" | "GlobeError" | "GlobeLocation" | "GlobePerson" | "GlobeProhibited" | "GlobeSearch" | "GlobeShield" | "GlobeStar" | "GlobeSurface" | "GlobeSync" | "GlobeVideo" | "GlobeWarning" | "Grid" | "GridCircles" | "GridDots" | "GridKanban" | "Group" | "GroupDismiss" | "GroupList" | "GroupReturn" | "Guardian" | "Guest" | "GuestAdd" | "Guitar" | "HandDraw" | "HandLeft" | "HandLeftChat" | "HandOpenHeart" | "HandRight" | "HandRightOff" | "HandWave" | "Handshake" | "HardDrive" | "HardDriveCall" | "HatGraduation" | "HatGraduationAdd" | "HatGraduationSparkle" | "Hd" | "Hdr" | "HdrOff" | "Headphones" | "HeadphonesSoundWave" | "Headset" | "HeadsetAdd" | "HeadsetVr" | "Heart" | "HeartBroken" | "HeartCircle" | "HeartCircleHint" | "HeartOff" | "HeartPulse" | "HeartPulseCheckmark" | "HeartPulseError" | "HeartPulseWarning" | "Hexagon" | "HexagonThree" | "Highlight" | "HighlightAccent" | "HighlightLink" | "History" | "HistoryDismiss" | "Home" | "HomeAdd" | "HomeCheckmark" | "HomeDatabase" | "HomeHeart" | "HomeMore" | "HomePerson" | "HomeSplit" | "Hourglass" | "HourglassHalf" | "HourglassOneQuarter" | "HourglassThreeQuarter" | "Icons" | "Image" | "ImageAdd" | "ImageAltText" | "ImageArrowBack" | "ImageArrowCounterclockwise" | "ImageArrowForward" | "ImageBorder" | "ImageCircle" | "ImageCopy" | "ImageEdit" | "ImageGlobe" | "ImageMultiple" | "ImageMultipleOff" | "ImageOff" | "ImageProhibited" | "ImageReflection" | "ImageSearch" | "ImageShadow" | "ImageSparkle" | "ImageStack" | "ImageTable" | "ImmersiveReader" | "Important" | "Incognito" | "Info" | "InfoShield" | "InkStroke" | "InkStrokeArrowDown" | "InkStrokeArrowUpDown" | "InkingTool" | "InkingToolAccent" | "InprivateAccount" | "Insert" | "IosArrow" | "IosArrowLtr" | "IosArrowRtl" | "IosChevronRight" | "Iot" | "IotAlert" | "Javascript" | "Joystick" | "Key" | "KeyCommand" | "KeyMultiple" | "KeyReset" | "Keyboard123" | "Keyboard" | "KeyboardDock" | "KeyboardLayoutFloat" | "KeyboardLayoutOneHandedLeft" | "KeyboardLayoutResize" | "KeyboardLayoutSplit" | "KeyboardMouse" | "KeyboardShift" | "KeyboardShiftUppercase" | "KeyboardTab" | "Kiosk" | "Laptop" | "LaptopDismiss" | "LaptopMultiple" | "LaptopSettings" | "LaptopShield" | "LaserTool" | "Lasso" | "LauncherSettings" | "Layer" | "LayerDiagonal" | "LayerDiagonalAdd" | "LayerDiagonalPerson" | "LayoutCellFour" | "LayoutCellFourFocusBottomLeft" | "LayoutCellFourFocusBottomRight" | "LayoutCellFourFocusTopLeft" | "LayoutCellFourFocusTopRight" | "LayoutColumnFour" | "LayoutColumnFourFocusCenterLeft" | "LayoutColumnFourFocusCenterRight" | "LayoutColumnFourFocusLeft" | "LayoutColumnFourFocusRight" | "LayoutColumnOneThirdLeft" | "LayoutColumnOneThirdRight" | "LayoutColumnOneThirdRightHint" | "LayoutColumnThree" | "LayoutColumnThreeFocusCenter" | "LayoutColumnThreeFocusLeft" | "LayoutColumnThreeFocusRight" | "LayoutColumnTwo" | "LayoutColumnTwoFocusLeft" | "LayoutColumnTwoFocusRight" | "LayoutColumnTwoSplitLeft" | "LayoutColumnTwoSplitLeftFocusBottomLeft" | "LayoutColumnTwoSplitLeftFocusRight" | "LayoutColumnTwoSplitLeftFocusTopLeft" | "LayoutColumnTwoSplitRight" | "LayoutColumnTwoSplitRightFocusBottomRight" | "LayoutColumnTwoSplitRightFocusLeft" | "LayoutColumnTwoSplitRightFocusTopRight" | "LayoutRowFour" | "LayoutRowFourFocusBottom" | "LayoutRowFourFocusCenterBottom" | "LayoutRowFourFocusCenterTop" | "LayoutRowFourFocusTop" | "LayoutRowThree" | "LayoutRowThreeFocusBottom" | "LayoutRowThreeFocusCenter" | "LayoutRowThreeFocusTop" | "LayoutRowTwo" | "LayoutRowTwoFocusBottom" | "LayoutRowTwoFocusTop" | "LayoutRowTwoSplitBottom" | "LayoutRowTwoSplitBottomFocusBottomLeft" | "LayoutRowTwoSplitBottomFocusBottomRight" | "LayoutRowTwoSplitBottomFocusTop" | "LayoutRowTwoSplitTop" | "LayoutRowTwoSplitTopFocusBottom" | "LayoutRowTwoSplitTopFocusTopLeft" | "LayoutRowTwoSplitTopFocusTopRight" | "LeafOne" | "LeafThree" | "LeafTwo" | "LearningApp" | "Library" | "Lightbulb" | "LightbulbCheckmark" | "LightbulbCircle" | "LightbulbFilament" | "LightbulbPerson" | "Likert" | "Line" | "LineDashes" | "LineHorizontal1" | "LineHorizontal1Dashes" | "LineHorizontal2DashesSolid" | "LineHorizontal3" | "LineHorizontal4" | "LineHorizontal4Search" | "LineHorizontal5" | "LineHorizontal5Error" | "LineStyle" | "LineThickness" | "Link" | "LinkAdd" | "LinkDismiss" | "LinkEdit" | "LinkMultiple" | "LinkPerson" | "LinkSettings" | "LinkSquare" | "LinkToolbox" | "List" | "ListBar" | "ListBarTree" | "ListBarTreeOffset" | "ListRtl" | "Live" | "LiveOff" | "LocalLanguage" | "Location" | "LocationAdd" | "LocationAddLeft" | "LocationAddRight" | "LocationAddUp" | "LocationArrow" | "LocationArrowLeft" | "LocationArrowRight" | "LocationArrowUp" | "LocationDismiss" | "LocationLive" | "LocationOff" | "LocationTargetSquare" | "LockClosed" | "LockClosedKey" | "LockMultiple" | "LockOpen" | "LockShield" | "Lottery" | "Luggage" | "Mail" | "MailAdd" | "MailAlert" | "MailAllRead" | "MailAllUnread" | "MailArrowDoubleBack" | "MailArrowDown" | "MailArrowForward" | "MailArrowUp" | "MailAttach" | "MailCheckmark" | "MailClock" | "MailCopy" | "MailDismiss" | "MailEdit" | "MailError" | "MailInbox" | "MailInboxAdd" | "MailInboxAll" | "MailInboxArrowDown" | "MailInboxArrowRight" | "MailInboxArrowUp" | "MailInboxCheckmark" | "MailInboxDismiss" | "MailLink" | "MailList" | "MailMultiple" | "MailOff" | "MailOpenPerson" | "MailPause" | "MailProhibited" | "MailRead" | "MailReadMultiple" | "MailRewind" | "MailSettings" | "MailShield" | "MailTemplate" | "MailUnread" | "MailWarning" | "Mailbox" | "Map" | "MapDrive" | "Markdown" | "MatchAppLayout" | "MathFormatLinear" | "MathFormatProfessional" | "MathFormula" | "MathSymbols" | "Maximize" | "MeetNow" | "Megaphone" | "MegaphoneCircle" | "MegaphoneLoud" | "MegaphoneOff" | "Memory" | "Mention" | "MentionArrowDown" | "MentionBrackets" | "Merge" | "Mic" | "MicOff" | "MicProhibited" | "MicPulse" | "MicPulseOff" | "MicRecord" | "MicSettings" | "MicSparkle" | "MicSync" | "Microscope" | "Midi" | "MobileOptimized" | "Mold" | "Molecule" | "Money" | "MoneyCalculator" | "MoneyDismiss" | "MoneyHand" | "MoneyOff" | "MoneySettings" | "MoreCircle" | "MoreHorizontal" | "MoreVertical" | "MountainLocationBottom" | "MountainLocationTop" | "MountainTrail" | "MoviesAndTv" | "Multiplier12X" | "Multiplier15X" | "Multiplier18X" | "Multiplier1X" | "Multiplier2X" | "Multiplier5X" | "MultiselectLtr" | "MultiselectRtl" | "MusicNote1" | "MusicNote2" | "MusicNote2Play" | "MusicNoteOff1" | "MusicNoteOff2" | "MyLocation" | "Navigation" | "NavigationLocationTarget" | "NavigationPlay" | "NavigationUnread" | "NetworkAdapter" | "NetworkCheck" | "New" | "News" | "Next" | "NextFrame" | "Note" | "NoteAdd" | "NoteEdit" | "NotePin" | "Notebook" | "NotebookAdd" | "NotebookArrowCurveDown" | "NotebookError" | "NotebookEye" | "NotebookLightning" | "NotebookQuestionMark" | "NotebookSection" | "NotebookSectionArrowRight" | "NotebookSubsection" | "NotebookSync" | "Notepad" | "NotepadEdit" | "NotepadPerson" | "NumberCircle0" | "NumberCircle1" | "NumberCircle2" | "NumberCircle3" | "NumberCircle4" | "NumberCircle5" | "NumberCircle6" | "NumberCircle7" | "NumberCircle8" | "NumberCircle9" | "NumberRow" | "NumberSymbol" | "NumberSymbolDismiss" | "NumberSymbolSquare" | "Open" | "OpenFolder" | "OpenOff" | "Options" | "Organization" | "OrganizationHorizontal" | "Orientation" | "Oval" | "Oven" | "PaddingDown" | "PaddingLeft" | "PaddingRight" | "PaddingTop" | "PageFit" | "PaintBrush" | "PaintBrushArrowDown" | "PaintBrushArrowUp" | "PaintBucket" | "Pair" | "PanelBottom" | "PanelBottomContract" | "PanelBottomExpand" | "PanelLeft" | "PanelLeftAdd" | "PanelLeftContract" | "PanelLeftExpand" | "PanelLeftFocusRight" | "PanelLeftHeader" | "PanelLeftHeaderAdd" | "PanelLeftHeaderKey" | "PanelLeftKey" | "PanelLeftText" | "PanelLeftTextAdd" | "PanelLeftTextDismiss" | "PanelRight" | "PanelRightAdd" | "PanelRightContract" | "PanelRightCursor" | "PanelRightExpand" | "PanelRightGallery" | "PanelSeparateWindow" | "PanelTopContract" | "PanelTopExpand" | "PanelTopGallery" | "Password" | "Patch" | "Patient" | "Pause" | "PauseCircle" | "PauseOff" | "PauseSettings" | "Payment" | "Pen" | "PenDismiss" | "PenOff" | "PenProhibited" | "PenSparkle" | "Pentagon" | "People" | "PeopleAdd" | "PeopleAudience" | "PeopleCall" | "PeopleChat" | "PeopleCheckmark" | "PeopleCommunity" | "PeopleCommunityAdd" | "PeopleEdit" | "PeopleError" | "PeopleList" | "PeopleLock" | "PeopleMoney" | "PeopleProhibited" | "PeopleQueue" | "PeopleSearch" | "PeopleSettings" | "PeopleStar" | "PeopleSwap" | "PeopleSync" | "PeopleTeam" | "PeopleTeamAdd" | "PeopleTeamDelete" | "PeopleTeamToolbox" | "PeopleToolbox" | "Person" | "Person5" | "Person6" | "PersonAccounts" | "PersonAdd" | "PersonAlert" | "PersonArrowBack" | "PersonArrowLeft" | "PersonArrowRight" | "PersonAvailable" | "PersonBoard" | "PersonCall" | "PersonChat" | "PersonCircle" | "PersonClock" | "PersonDelete" | "PersonDesktop" | "PersonEdit" | "PersonFeedback" | "PersonHeart" | "PersonInfo" | "PersonKey" | "PersonLightbulb" | "PersonLightning" | "PersonLink" | "PersonLock" | "PersonMail" | "PersonMoney" | "PersonNote" | "PersonPhone" | "PersonPill" | "PersonProhibited" | "PersonQuestionMark" | "PersonRibbon" | "PersonRunning" | "PersonSearch" | "PersonSettings" | "PersonSquare" | "PersonSquareCheckmark" | "PersonStanding" | "PersonStar" | "PersonStarburst" | "PersonSubtract" | "PersonSupport" | "PersonSwap" | "PersonSync" | "PersonTag" | "PersonVoice" | "PersonWalking" | "PersonWarning" | "PersonWrench" | "Phone" | "PhoneAdd" | "PhoneArrowRight" | "PhoneBriefcase" | "PhoneChat" | "PhoneCheckmark" | "PhoneDesktop" | "PhoneDesktopAdd" | "PhoneDismiss" | "PhoneEdit" | "PhoneEraser" | "PhoneFooterArrowDown" | "PhoneHeaderArrowUp" | "PhoneKey" | "PhoneLaptop" | "PhoneLinkSetup" | "PhoneLock" | "PhoneMultiple" | "PhoneMultipleSettings" | "PhonePageHeader" | "PhonePagination" | "PhonePerson" | "PhoneScreenTime" | "PhoneShake" | "PhoneSpanIn" | "PhoneSpanOut" | "PhoneSpeaker" | "PhoneStatusBar" | "PhoneSubtract" | "PhoneTablet" | "PhoneUpdate" | "PhoneUpdateCheckmark" | "PhoneVerticalScroll" | "PhoneVibrate" | "PhotoFilter" | "Pi" | "PictureInPicture" | "PictureInPictureEnter" | "PictureInPictureExit" | "Pill" | "Pin" | "PinOff" | "Pipeline" | "PipelineAdd" | "PipelineArrowCurveDown" | "PipelinePlay" | "Pivot" | "PlantGrass" | "PlantRagweed" | "Play" | "PlayCircle" | "PlayCircleHint" | "PlayMultiple" | "PlaySettings" | "PlayingCards" | "PlugConnected" | "PlugConnectedAdd" | "PlugConnectedCheckmark" | "PlugConnectedSettings" | "PlugDisconnected" | "PointScan" | "Poll" | "PollHorizontal" | "PollOff" | "PortHdmi" | "PortMicroUsb" | "PortUsbA" | "PortUsbC" | "PositionBackward" | "PositionForward" | "PositionToBack" | "PositionToFront" | "Power" | "Predictions" | "Premium" | "PremiumPerson" | "PresenceAvailable" | "PresenceAway" | "PresenceBlocked" | "PresenceBusy" | "PresenceDnd" | "PresenceOffline" | "PresenceOof" | "PresenceUnknown" | "Presenter" | "PresenterOff" | "PreviewLink" | "Previous" | "PreviousFrame" | "Print" | "PrintAdd" | "Production" | "ProductionCheckmark" | "Prohibited" | "ProhibitedMultiple" | "ProhibitedNote" | "ProjectionScreen" | "ProjectionScreenDismiss" | "ProjectionScreenText" | "ProtocolHandler" | "Pulse" | "PulseSquare" | "PuzzleCube" | "PuzzleCubePiece" | "PuzzlePiece" | "PuzzlePieceShield" | "QrCode" | "Question" | "QuestionCircle" | "QuizNew" | "Radar" | "RadarCheckmark" | "RadarRectangleMultiple" | "RadioButton" | "RadioButtonOff" | "Ram" | "RatingMature" | "RatioOneToOne" | "ReOrder" | "ReOrderDotsHorizontal" | "ReOrderDotsVertical" | "ReadAloud" | "ReadingList" | "ReadingListAdd" | "ReadingModeMobile" | "RealEstate" | "Receipt" | "ReceiptAdd" | "ReceiptBag" | "ReceiptCube" | "ReceiptMoney" | "ReceiptPlay" | "ReceiptSearch" | "ReceiptSparkles" | "Record" | "RecordStop" | "RectangleLandscape" | "RectangleLandscapeHintCopy" | "RectangleLandscapeSparkle" | "RectangleLandscapeSync" | "RectangleLandscapeSyncOff" | "RectanglePortraitLocationTarget" | "Recycle" | "RemixAdd" | "Remote" | "Rename" | "Reorder" | "Replay" | "Resize" | "ResizeImage" | "ResizeLarge" | "ResizeSmall" | "ResizeTable" | "ResizeVideo" | "Reward" | "Rewind" | "Rhombus" | "Ribbon" | "RibbonAdd" | "RibbonOff" | "RibbonStar" | "RoadCone" | "Rocket" | "RotateLeft" | "RotateRight" | "Router" | "RowTriple" | "Rss" | "Ruler" | "Run" | "Sanitize" | "Save" | "SaveArrowRight" | "SaveCopy" | "SaveEdit" | "SaveImage" | "SaveMultiple" | "SaveSearch" | "SaveSync" | "Savings" | "ScaleFill" | "ScaleFit" | "Scales" | "Scan" | "ScanCamera" | "ScanDash" | "ScanObject" | "ScanPerson" | "ScanQrCode" | "ScanTable" | "ScanText" | "ScanThumbUp" | "ScanThumbUpOff" | "ScanType" | "ScanTypeCheckmark" | "ScanTypeOff" | "Scratchpad" | "ScreenCut" | "ScreenPerson" | "ScreenSearch" | "Screenshot" | "ScreenshotRecord" | "Script" | "Search" | "SearchInfo" | "SearchSettings" | "SearchShield" | "SearchSquare" | "SearchVisual" | "Seat" | "SeatAdd" | "SelectAllOff" | "SelectAllOn" | "SelectObject" | "SelectObjectSkew" | "SelectObjectSkewDismiss" | "SelectObjectSkewEdit" | "Send" | "SendBeaker" | "SendClock" | "SendCopy" | "SerialPort" | "Server" | "ServerLink" | "ServerMultiple" | "ServerPlay" | "ServerSurface" | "ServerSurfaceMultiple" | "ServiceBell" | "Settings" | "SettingsChat" | "SettingsCogMultiple" | "ShapeExclude" | "ShapeIntersect" | "ShapeOrganic" | "ShapeSubtract" | "ShapeUnion" | "Shapes" | "Share" | "ShareAndroid" | "ShareCloseTray" | "ShareIos" | "ShareScreenPerson" | "ShareScreenPersonOverlay" | "ShareScreenPersonOverlayInside" | "ShareScreenPersonP" | "ShareScreenStart" | "ShareScreenStop" | "Shield" | "ShieldAdd" | "ShieldBadge" | "ShieldCheckmark" | "ShieldDismiss" | "ShieldDismissShield" | "ShieldError" | "ShieldGlobe" | "ShieldKeyhole" | "ShieldLock" | "ShieldPerson" | "ShieldPersonAdd" | "ShieldProhibited" | "ShieldQuestion" | "ShieldTask" | "Shifts" | "Shifts30Minutes" | "ShiftsActivity" | "ShiftsAdd" | "ShiftsAvailability" | "ShiftsCheckmark" | "ShiftsDay" | "ShiftsOpen" | "ShiftsProhibited" | "ShiftsQuestionMark" | "ShiftsTeam" | "ShoppingBag" | "ShoppingBagAdd" | "ShoppingBagArrowLeft" | "ShoppingBagDismiss" | "ShoppingBagPause" | "ShoppingBagPercent" | "ShoppingBagPlay" | "ShoppingBagTag" | "Shortpick" | "Showerhead" | "SidebarSearchLtr" | "SidebarSearchRtl" | "SignOut" | "Signature" | "Sim" | "SkipBack10" | "SkipForward10" | "SkipForward30" | "SkipForwardTab" | "SlashForward" | "Sleep" | "SlideAdd" | "SlideArrowRight" | "SlideContent" | "SlideEraser" | "SlideGrid" | "SlideHide" | "SlideLayout" | "SlideLink" | "SlideMicrophone" | "SlideMultiple" | "SlideMultipleArrowRight" | "SlideMultipleSearch" | "SlideRecord" | "SlideSearch" | "SlideSettings" | "SlideSize" | "SlideText" | "SlideTextEdit" | "SlideTextMultiple" | "SlideTextPerson" | "SlideTextSparkle" | "SlideTransition" | "Smartwatch" | "SmartwatchDot" | "Snooze" | "SoundSource" | "SoundWaveCircle" | "Space3D" | "Spacebar" | "Sparkle" | "SparkleCircle" | "Speaker0" | "Speaker1" | "Speaker2" | "SpeakerBluetooth" | "SpeakerBox" | "SpeakerEdit" | "SpeakerMute" | "SpeakerOff" | "SpeakerSettings" | "SpeakerUsb" | "SpinnerIos" | "SplitHint" | "SplitHorizontal" | "SplitVertical" | "Sport" | "SportAmericanFootball" | "SportBaseball" | "SportBasketball" | "SportHockey" | "SportSoccer" | "SprayCan" | "Square" | "SquareAdd" | "SquareArrowForward" | "SquareDismiss" | "SquareEraser" | "SquareHint" | "SquareHintApps" | "SquareHintArrowBack" | "SquareHintHexagon" | "SquareHintSparkles" | "SquareMultiple" | "SquareShadow" | "SquaresNested" | "Stack" | "StackAdd" | "StackArrowForward" | "StackStar" | "StackVertical" | "Star" | "StarAdd" | "StarArrowBack" | "StarArrowRightEnd" | "StarArrowRightStart" | "StarCheckmark" | "StarDismiss" | "StarEdit" | "StarEmphasis" | "StarHalf" | "StarLineHorizontal3" | "StarOff" | "StarOneQuarter" | "StarProhibited" | "StarSettings" | "StarThreeQuarter" | "Status" | "Step" | "Steps" | "Stethoscope" | "Sticker" | "StickerAdd" | "Stop" | "Storage" | "StoreMicrosoft" | "Stream" | "StreamInput" | "StreamInputOutput" | "StreamOutput" | "StreetSign" | "StyleGuide" | "SubGrid" | "Subtitles" | "Subtract" | "SubtractCircle" | "SubtractCircleArrowBack" | "SubtractCircleArrowForward" | "SubtractParentheses" | "SubtractSquare" | "SubtractSquareMultiple" | "SurfaceEarbuds" | "SurfaceHub" | "SwimmingPool" | "SwipeDown" | "SwipeRight" | "SwipeUp" | "Symbols" | "SyncOff" | "Syringe" | "System" | "Tab" | "TabAdd" | "TabArrowLeft" | "TabDesktop" | "TabDesktopArrowClockwise" | "TabDesktopArrowLeft" | "TabDesktopBottom" | "TabDesktopClock" | "TabDesktopCopy" | "TabDesktopImage" | "TabDesktopLink" | "TabDesktopMultiple" | "TabDesktopMultipleAdd" | "TabDesktopMultipleBottom" | "TabDesktopNewPage" | "TabInPrivate" | "TabInprivateAccount" | "TabProhibited" | "TabShieldDismiss" | "Table" | "TableAdd" | "TableArrowUp" | "TableBottomRow" | "TableCalculator" | "TableCellEdit" | "TableCellsMerge" | "TableCellsSplit" | "TableChecker" | "TableColumnTopBottom" | "TableCopy" | "TableDefault" | "TableDeleteColumn" | "TableDeleteRow" | "TableDismiss" | "TableEdit" | "TableFreezeColumn" | "TableFreezeColumnAndRow" | "TableFreezeRow" | "TableImage" | "TableInsertColumn" | "TableInsertRow" | "TableLightning" | "TableLink" | "TableLock" | "TableMoveAbove" | "TableMoveBelow" | "TableMoveLeft" | "TableMoveRight" | "TableMultiple" | "TableOffset" | "TableOffsetAdd" | "TableOffsetLessThanOrEqualTo" | "TableOffsetSettings" | "TableResizeColumn" | "TableResizeRow" | "TableSearch" | "TableSettings" | "TableSimple" | "TableSimpleCheckmark" | "TableSimpleExclude" | "TableSimpleInclude" | "TableSimpleMultiple" | "TableSplit" | "TableStackAbove" | "TableStackBelow" | "TableStackLeft" | "TableStackRight" | "TableSwitch" | "Tablet" | "TabletLaptop" | "TabletSpeaker" | "Tabs" | "Tag" | "TagCircle" | "TagDismiss" | "TagError" | "TagLock" | "TagLockAccent" | "TagMultiple" | "TagOff" | "TagQuestionMark" | "TagReset" | "TagSearch" | "TapDouble" | "TapSingle" | "Target" | "TargetAdd" | "TargetArrow" | "TargetDismiss" | "TargetEdit" | "TaskListAdd" | "TaskListLtr" | "TaskListRtl" | "TaskListSquareAdd" | "TaskListSquareDatabase" | "TaskListSquareLtr" | "TaskListSquarePerson" | "TaskListSquareRtl" | "TaskListSquareSettings" | "TasksApp" | "TeardropBottomRight" | "Teddy" | "Temperature" | "Tent" | "TetrisApp" | "Text" | "TextAbcUnderlineDouble" | "TextAdd" | "TextAddSpaceAfter" | "TextAddSpaceBefore" | "TextAddT" | "TextAlignCenter" | "TextAlignCenterRotate270" | "TextAlignCenterRotate90" | "TextAlignDistributed" | "TextAlignDistributedEvenly" | "TextAlignDistributedVertical" | "TextAlignJustify" | "TextAlignJustifyLow" | "TextAlignJustifyLow90" | "TextAlignJustifyLowRotate270" | "TextAlignJustifyLowRotate90" | "TextAlignJustifyRotate270" | "TextAlignJustifyRotate90" | "TextAlignLeft" | "TextAlignLeftRotate270" | "TextAlignLeftRotate90" | "TextAlignRight" | "TextAlignRightRotate270" | "TextAlignRightRotate90" | "TextArrowDownRightColumn" | "TextAsterisk" | "TextBaseline" | "TextBold" | "TextBoxSettings" | "TextBulletList" | "TextBulletList270" | "TextBulletList90" | "TextBulletListAdd" | "TextBulletListCheckmark" | "TextBulletListDismiss" | "TextBulletListLtr" | "TextBulletListLtr90" | "TextBulletListLtrRotate270" | "TextBulletListRtl" | "TextBulletListRtl90" | "TextBulletListSquare" | "TextBulletListSquareClock" | "TextBulletListSquareEdit" | "TextBulletListSquarePerson" | "TextBulletListSquareSearch" | "TextBulletListSquareSettings" | "TextBulletListSquareShield" | "TextBulletListSquareSparkle" | "TextBulletListSquareToolbox" | "TextBulletListSquareWarning" | "TextBulletListTree" | "TextCaseLowercase" | "TextCaseTitle" | "TextCaseUppercase" | "TextChangeCase" | "TextClearFormatting" | "TextCollapse" | "TextColor" | "TextColorAccent" | "TextColumnOne" | "TextColumnOneNarrow" | "TextColumnOneSemiNarrow" | "TextColumnOneWide" | "TextColumnOneWideLightning" | "TextColumnThree" | "TextColumnTwo" | "TextColumnTwoLeft" | "TextColumnTwoRight" | "TextColumnWide" | "TextContinuous" | "TextDensity" | "TextDescription" | "TextDescriptionLtr" | "TextDescriptionRtl" | "TextDirectionHorizontalLeft" | "TextDirectionHorizontalLtr" | "TextDirectionHorizontalRight" | "TextDirectionHorizontalRtl" | "TextDirectionRotate270Right" | "TextDirectionRotate315Right" | "TextDirectionRotate45Right" | "TextDirectionRotate90Left" | "TextDirectionRotate90Ltr" | "TextDirectionRotate90Right" | "TextDirectionRotate90Rtl" | "TextDirectionVertical" | "TextEditStyle" | "TextEditStyleCharacterA" | "TextEditStyleCharacterGa" | "TextEffects" | "TextEffectsSparkle" | "TextExpand" | "TextField" | "TextFirstLine" | "TextFont" | "TextFontInfo" | "TextFontSize" | "TextFootnote" | "TextGrammarArrowLeft" | "TextGrammarArrowRight" | "TextGrammarCheckmark" | "TextGrammarDismiss" | "TextGrammarError" | "TextGrammarLightning" | "TextGrammarSettings" | "TextGrammarWand" | "TextHanging" | "TextHeader1" | "TextHeader1Lines" | "TextHeader1LinesCaret" | "TextHeader2" | "TextHeader2Lines" | "TextHeader2LinesCaret" | "TextHeader3" | "TextHeader3Lines" | "TextHeader3LinesCaret" | "TextIndentDecrease" | "TextIndentDecreaseLtr" | "TextIndentDecreaseLtr90" | "TextIndentDecreaseLtrRotate270" | "TextIndentDecreaseRotate270" | "TextIndentDecreaseRotate90" | "TextIndentDecreaseRtl" | "TextIndentDecreaseRtl90" | "TextIndentDecreaseRtlRotate270" | "TextIndentIncrease" | "TextIndentIncreaseLtr" | "TextIndentIncreaseLtr90" | "TextIndentIncreaseLtrRotate270" | "TextIndentIncreaseRotate270" | "TextIndentIncreaseRotate90" | "TextIndentIncreaseRtl" | "TextIndentIncreaseRtl90" | "TextIndentIncreaseRtlRotate270" | "TextItalic" | "TextLineSpacing" | "TextMore" | "TextNumberFormat" | "TextNumberListLtr" | "TextNumberListLtr90" | "TextNumberListLtrRotate270" | "TextNumberListRotate270" | "TextNumberListRotate90" | "TextNumberListRtl" | "TextNumberListRtl90" | "TextNumberListRtlRotate270" | "TextParagraph" | "TextParagraphDirection" | "TextParagraphDirectionLeft" | "TextParagraphDirectionRight" | "TextPeriodAsterisk" | "TextPositionBehind" | "TextPositionFront" | "TextPositionLine" | "TextPositionSquare" | "TextPositionSquareLeft" | "TextPositionSquareRight" | "TextPositionThrough" | "TextPositionTight" | "TextPositionTopBottom" | "TextProofingTools" | "TextQuote" | "TextSortAscending" | "TextSortDescending" | "TextStrikethrough" | "TextSubscript" | "TextSuperscript" | "TextT" | "TextTTag" | "TextUnderline" | "TextUnderlineCharacterU" | "TextUnderlineDouble" | "TextWholeWord" | "TextWordCount" | "TextWrap" | "TextWrapOff" | "Textbox" | "TextboxAlignBottom" | "TextboxAlignBottomCenter" | "TextboxAlignBottomLeft" | "TextboxAlignBottomRight" | "TextboxAlignBottomRotate90" | "TextboxAlignCenter" | "TextboxAlignMiddle" | "TextboxAlignMiddleLeft" | "TextboxAlignMiddleRight" | "TextboxAlignMiddleRotate90" | "TextboxAlignTop" | "TextboxAlignTopCenter" | "TextboxAlignTopLeft" | "TextboxAlignTopRight" | "TextboxAlignTopRotate90" | "TextboxMore" | "TextboxRotate90" | "TextboxSettings" | "Thinking" | "ThumbDislike" | "ThumbLike" | "ThumbLikeDislike" | "TicketDiagonal" | "TicketHorizontal" | "TimeAndWeather" | "TimePicker" | "Timeline" | "Timer10" | "Timer" | "Timer2" | "Timer3" | "TimerOff" | "ToggleLeft" | "ToggleMultiple" | "ToggleRight" | "Toolbox" | "TooltipQuote" | "TopSpeed" | "Translate" | "TranslateAuto" | "TranslateOff" | "Transmission" | "TrayItemAdd" | "TrayItemRemove" | "TreeDeciduous" | "TreeEvergreen" | "Triangle" | "TriangleDown" | "TriangleLeft" | "TriangleRight" | "TriangleUp" | "Trophy" | "TrophyLock" | "TrophyOff" | "Tv" | "TvArrowRight" | "TvUsb" | "Umbrella" | "UninstallApp" | "UsbPlug" | "UsbStick" | "Vault" | "VehicleBicycle" | "VehicleBus" | "VehicleCab" | "VehicleCableCar" | "VehicleCar" | "VehicleCarCollision" | "VehicleCarParking" | "VehicleCarProfile" | "VehicleCarProfileLtr" | "VehicleCarProfileLtrClock" | "VehicleCarProfileRtl" | "VehicleShip" | "VehicleSubway" | "VehicleSubwayClock" | "VehicleTruck" | "VehicleTruckBag" | "VehicleTruckCube" | "VehicleTruckProfile" | "Video" | "Video360" | "Video360Off" | "VideoAdd" | "VideoBackgroundEffect" | "VideoBackgroundEffectHorizontal" | "VideoChat" | "VideoClip" | "VideoClipMultiple" | "VideoClipOff" | "VideoClipOptimize" | "VideoLink" | "VideoOff" | "VideoPeople" | "VideoPerson" | "VideoPersonCall" | "VideoPersonClock" | "VideoPersonOff" | "VideoPersonPulse" | "VideoPersonSparkle" | "VideoPersonSparkleOff" | "VideoPersonStar" | "VideoPersonStarOff" | "VideoPlayPause" | "VideoProhibited" | "VideoRecording" | "VideoSecurity" | "VideoSwitch" | "VideoSync" | "ViewDesktop" | "ViewDesktopMobile" | "VirtualNetwork" | "VirtualNetworkToolbox" | "Voicemail" | "VoicemailArrowBack" | "VoicemailArrowForward" | "VoicemailArrowSubtract" | "VoicemailShield" | "VoicemailSubtract" | "Vote" | "WalkieTalkie" | "Wallet" | "WalletCreditCard" | "Wallpaper" | "Wand" | "Warning" | "WarningShield" | "Washer" | "Water" | "WeatherBlowingSnow" | "WeatherCloudy" | "WeatherDrizzle" | "WeatherDuststorm" | "WeatherFog" | "WeatherHailDay" | "WeatherHailNight" | "WeatherHaze" | "WeatherMoon" | "WeatherMoonOff" | "WeatherPartlyCloudyDay" | "WeatherPartlyCloudyNight" | "WeatherRain" | "WeatherRainShowersDay" | "WeatherRainShowersNight" | "WeatherRainSnow" | "WeatherSnow" | "WeatherSnowShowerDay" | "WeatherSnowShowerNight" | "WeatherSnowflake" | "WeatherSqualls" | "WeatherSunny" | "WeatherSunnyHigh" | "WeatherSunnyLow" | "WeatherThunderstorm" | "WebAsset" | "Whiteboard" | "WhiteboardOff" | "Wifi1" | "Wifi2" | "Wifi3" | "Wifi4" | "WifiLock" | "WifiOff" | "WifiSettings" | "WifiWarning" | "Window" | "WindowAd" | "WindowAdOff" | "WindowAdPerson" | "WindowApps" | "WindowArrowUp" | "WindowBulletList" | "WindowBulletListAdd" | "WindowConsole" | "WindowDatabase" | "WindowDevEdit" | "WindowDevTools" | "WindowEdit" | "WindowHeaderHorizontal" | "WindowHeaderHorizontalOff" | "WindowHeaderVertical" | "WindowInprivate" | "WindowInprivateAccount" | "WindowLocationTarget" | "WindowMultiple" | "WindowMultipleSwap" | "WindowNew" | "WindowPlay" | "WindowSettings" | "WindowShield" | "WindowText" | "WindowWrench" | "Wrench" | "WrenchScrewdriver" | "WrenchSettings" | "XboxConsole" | "XboxController" | "XboxControllerError" | "Xray" | "ZoomFit" | "ZoomIn" | "ZoomOut" +export type IconName = 'AccessTime' | 'Accessibility' | 'AccessibilityCheckmark' | 'Add' | 'AddCircle' | 'AddSquare' | 'AddSquareMultiple' | 'AddSubtractCircle' | 'Airplane' | 'AirplaneLanding' | 'AirplaneTakeOff' | 'Album' | 'AlbumAdd' | 'Alert' | 'AlertBadge' | 'AlertOff' | 'AlertOn' | 'AlertSnooze' | 'AlertUrgent' | 'AlignBottom' | 'AlignCenterHorizontal' | 'AlignCenterVertical' | 'AlignDistributeBottom' | 'AlignDistributeLeft' | 'AlignDistributeRight' | 'AlignDistributeTop' | 'AlignEndHorizontal' | 'AlignEndVertical' | 'AlignLeft' | 'AlignRight' | 'AlignSpaceAroundHorizontal' | 'AlignSpaceAroundVertical' | 'AlignSpaceBetweenHorizontal' | 'AlignSpaceBetweenVertical' | 'AlignSpaceEvenlyHorizontal' | 'AlignSpaceEvenlyVertical' | 'AlignSpaceFitVertical' | 'AlignStartHorizontal' | 'AlignStartVertical' | 'AlignStraighten' | 'AlignStretchHorizontal' | 'AlignStretchVertical' | 'AlignTop' | 'AnimalCat' | 'AnimalDog' | 'AnimalRabbit' | 'AnimalRabbitOff' | 'AnimalTurtle' | 'AppFolder' | 'AppGeneric' | 'AppRecent' | 'AppStore' | 'AppTitle' | 'ApprovalsApp' | 'Apps' | 'AppsAddIn' | 'AppsList' | 'AppsListDetail' | 'Archive' | 'ArchiveArrowBack' | 'ArchiveMultiple' | 'ArchiveSettings' | 'ArrowAutofitContent' | 'ArrowAutofitDown' | 'ArrowAutofitHeight' | 'ArrowAutofitHeightDotted' | 'ArrowAutofitHeightIn' | 'ArrowAutofitUp' | 'ArrowAutofitWidth' | 'ArrowAutofitWidthDotted' | 'ArrowBetweenDown' | 'ArrowBetweenUp' | 'ArrowBidirectionalLeftRight' | 'ArrowBidirectionalUpDown' | 'ArrowBounce' | 'ArrowCircleDown' | 'ArrowCircleDownDouble' | 'ArrowCircleDownRight' | 'ArrowCircleDownSplit' | 'ArrowCircleDownUp' | 'ArrowCircleLeft' | 'ArrowCircleRight' | 'ArrowCircleUp' | 'ArrowCircleUpLeft' | 'ArrowCircleUpRight' | 'ArrowClockwise' | 'ArrowClockwiseDashes' | 'ArrowCollapseAll' | 'ArrowCounterclockwise' | 'ArrowCounterclockwiseDashes' | 'ArrowCurveDownLeft' | 'ArrowCurveDownRight' | 'ArrowCurveUpLeft' | 'ArrowCurveUpRight' | 'ArrowDown' | 'ArrowDownExclamation' | 'ArrowDownLeft' | 'ArrowDownload' | 'ArrowDownloadOff' | 'ArrowEject' | 'ArrowEnter' | 'ArrowEnterLeft' | 'ArrowEnterUp' | 'ArrowExit' | 'ArrowExpand' | 'ArrowExport' | 'ArrowExportLtr' | 'ArrowExportRtl' | 'ArrowExportUp' | 'ArrowFit' | 'ArrowFitIn' | 'ArrowFlowDiagonalUpRight' | 'ArrowFlowUpRight' | 'ArrowFlowUpRightRectangleMultiple' | 'ArrowForward' | 'ArrowForwardDownLightning' | 'ArrowForwardDownPerson' | 'ArrowHookDownLeft' | 'ArrowHookDownRight' | 'ArrowHookUpLeft' | 'ArrowHookUpRight' | 'ArrowImport' | 'ArrowJoin' | 'ArrowLeft' | 'ArrowMaximize' | 'ArrowMaximizeVertical' | 'ArrowMinimize' | 'ArrowMinimizeVertical' | 'ArrowMove' | 'ArrowMoveInward' | 'ArrowNext' | 'ArrowOutlineDownLeft' | 'ArrowOutlineUpRight' | 'ArrowParagraph' | 'ArrowPrevious' | 'ArrowRedo' | 'ArrowRepeat1' | 'ArrowRepeatAll' | 'ArrowRepeatAllOff' | 'ArrowReply' | 'ArrowReplyAll' | 'ArrowReplyDown' | 'ArrowReset' | 'ArrowRight' | 'ArrowRotateClockwise' | 'ArrowRotateCounterclockwise' | 'ArrowRouting' | 'ArrowRoutingRectangleMultiple' | 'ArrowShuffle' | 'ArrowShuffleOff' | 'ArrowSort' | 'ArrowSortDown' | 'ArrowSortDownLines' | 'ArrowSortUp' | 'ArrowSplit' | 'ArrowSprint' | 'ArrowSquareDown' | 'ArrowSquareUpRight' | 'ArrowStepBack' | 'ArrowStepIn' | 'ArrowStepInDiagonalDownLeft' | 'ArrowStepInLeft' | 'ArrowStepInRight' | 'ArrowStepOut' | 'ArrowStepOver' | 'ArrowSwap' | 'ArrowSync' | 'ArrowSyncCheckmark' | 'ArrowSyncCircle' | 'ArrowSyncDismiss' | 'ArrowSyncOff' | 'ArrowTrending' | 'ArrowTrendingCheckmark' | 'ArrowTrendingDown' | 'ArrowTrendingLines' | 'ArrowTrendingSettings' | 'ArrowTrendingSparkle' | 'ArrowTrendingText' | 'ArrowTrendingWrench' | 'ArrowTurnBidirectionalDownRight' | 'ArrowTurnDownLeft' | 'ArrowTurnDownRight' | 'ArrowTurnDownUp' | 'ArrowTurnLeftDown' | 'ArrowTurnLeftRight' | 'ArrowTurnLeftUp' | 'ArrowTurnRight' | 'ArrowTurnRightDown' | 'ArrowTurnRightLeft' | 'ArrowTurnRightUp' | 'ArrowTurnUpDown' | 'ArrowTurnUpLeft' | 'ArrowUndo' | 'ArrowUp' | 'ArrowUpLeft' | 'ArrowUpRight' | 'ArrowUpRightDashes' | 'ArrowUpSquareSettings' | 'ArrowUpload' | 'ArrowWrap' | 'ArrowWrapOff' | 'ArrowsBidirectional' | 'Attach' | 'AttachArrowRight' | 'AttachText' | 'AutoFitHeight' | 'AutoFitWidth' | 'Autocorrect' | 'Autosum' | 'Backpack' | 'BackpackAdd' | 'Backspace' | 'Badge' | 'Balloon' | 'BarcodeScanner' | 'Battery0' | 'Battery10' | 'Battery1' | 'Battery2' | 'Battery3' | 'Battery4' | 'Battery5' | 'Battery6' | 'Battery7' | 'Battery8' | 'Battery9' | 'BatteryCharge' | 'BatteryCheckmark' | 'BatterySaver' | 'BatteryWarning' | 'Beach' | 'Beaker' | 'BeakerAdd' | 'BeakerDismiss' | 'BeakerEdit' | 'BeakerEmpty' | 'BeakerOff' | 'BeakerSettings' | 'Bed' | 'BezierCurveSquare' | 'BinFull' | 'BinRecycle' | 'BinRecycleFull' | 'BinderTriangle' | 'Bluetooth' | 'BluetoothConnected' | 'BluetoothDisabled' | 'BluetoothSearching' | 'Blur' | 'Board' | 'BoardGames' | 'BoardHeart' | 'BoardSplit' | 'Book' | 'BookAdd' | 'BookArrowClockwise' | 'BookClock' | 'BookCoins' | 'BookCompass' | 'BookContacts' | 'BookDatabase' | 'BookDefault' | 'BookDismiss' | 'BookExclamationMark' | 'BookGlobe' | 'BookInformation' | 'BookLetter' | 'BookNumber' | 'BookOpen' | 'BookOpenGlobe' | 'BookOpenMicrophone' | 'BookPulse' | 'BookQuestionMark' | 'BookQuestionMarkRtl' | 'BookSearch' | 'BookStar' | 'BookTemplate' | 'BookTheta' | 'BookToolbox' | 'Bookmark' | 'BookmarkAdd' | 'BookmarkMultiple' | 'BookmarkOff' | 'BookmarkSearch' | 'BorderAll' | 'BorderBottom' | 'BorderBottomDouble' | 'BorderBottomThick' | 'BorderInside' | 'BorderLeft' | 'BorderLeftRight' | 'BorderNone' | 'BorderOutside' | 'BorderOutsideThick' | 'BorderRight' | 'BorderTop' | 'BorderTopBottom' | 'BorderTopBottomDouble' | 'BorderTopBottomThick' | 'Bot' | 'BotAdd' | 'BotSparkle' | 'BowTie' | 'BowlChopsticks' | 'BowlSalad' | 'Box' | 'BoxArrowLeft' | 'BoxArrowUp' | 'BoxCheckmark' | 'BoxDismiss' | 'BoxEdit' | 'BoxMultiple' | 'BoxMultipleArrowLeft' | 'BoxMultipleArrowRight' | 'BoxMultipleCheckmark' | 'BoxMultipleSearch' | 'BoxSearch' | 'BoxToolbox' | 'Braces' | 'BracesCheckmark' | 'BracesDismiss' | 'BracesVariable' | 'BrainCircuit' | 'Branch' | 'BranchCompare' | 'BranchFork' | 'BranchForkHint' | 'BranchForkLink' | 'BranchRequest' | 'BreakoutRoom' | 'Briefcase' | 'BriefcaseMedical' | 'BriefcaseOff' | 'BriefcasePerson' | 'BriefcaseSearch' | 'BrightnessHigh' | 'BrightnessLow' | 'BroadActivityFeed' | 'Broom' | 'BubbleMultiple' | 'Bug' | 'BugArrowCounterclockwise' | 'BugProhibited' | 'Building' | 'BuildingBank' | 'BuildingBankLink' | 'BuildingBankToolbox' | 'BuildingCloud' | 'BuildingDesktop' | 'BuildingFactory' | 'BuildingGovernment' | 'BuildingGovernmentSearch' | 'BuildingHome' | 'BuildingLighthouse' | 'BuildingMosque' | 'BuildingMultiple' | 'BuildingPeople' | 'BuildingRetail' | 'BuildingRetailMoney' | 'BuildingRetailMore' | 'BuildingRetailShield' | 'BuildingRetailToolbox' | 'BuildingShop' | 'BuildingSkyscraper' | 'BuildingSwap' | 'BuildingTownhouse' | 'Button' | 'Calculator' | 'CalculatorArrowClockwise' | 'CalculatorMultiple' | 'Calendar' | 'Calendar3Day' | 'CalendarAdd' | 'CalendarAgenda' | 'CalendarArrowCounterclockwise' | 'CalendarArrowDown' | 'CalendarArrowRight' | 'CalendarAssistant' | 'CalendarCancel' | 'CalendarChat' | 'CalendarCheckmark' | 'CalendarClock' | 'CalendarDataBar' | 'CalendarDate' | 'CalendarDay' | 'CalendarEdit' | 'CalendarEmpty' | 'CalendarError' | 'CalendarEye' | 'CalendarInfo' | 'CalendarLink' | 'CalendarLock' | 'CalendarLtr' | 'CalendarMail' | 'CalendarMention' | 'CalendarMonth' | 'CalendarMultiple' | 'CalendarNote' | 'CalendarPattern' | 'CalendarPerson' | 'CalendarPhone' | 'CalendarPlay' | 'CalendarQuestionMark' | 'CalendarRecord' | 'CalendarReply' | 'CalendarRtl' | 'CalendarSearch' | 'CalendarSettings' | 'CalendarShield' | 'CalendarStar' | 'CalendarSync' | 'CalendarToday' | 'CalendarToolbox' | 'CalendarVideo' | 'CalendarWeekNumbers' | 'CalendarWeekStart' | 'CalendarWorkWeek' | 'Call' | 'CallAdd' | 'CallCheckmark' | 'CallConnecting' | 'CallDismiss' | 'CallEnd' | 'CallExclamation' | 'CallForward' | 'CallInbound' | 'CallMissed' | 'CallOutbound' | 'CallPark' | 'CallPause' | 'CallProhibited' | 'CallTransfer' | 'CallWarning' | 'CalligraphyPen' | 'CalligraphyPenCheckmark' | 'CalligraphyPenError' | 'CalligraphyPenQuestionMark' | 'Camera' | 'CameraAdd' | 'CameraDome' | 'CameraEdit' | 'CameraOff' | 'CameraSparkles' | 'CameraSwitch' | 'CardUi' | 'CaretDown' | 'CaretDownRight' | 'CaretLeft' | 'CaretRight' | 'CaretUp' | 'Cart' | 'Cast' | 'CastMultiple' | 'CatchUp' | 'Cd' | 'Cellular3G' | 'Cellular4G' | 'Cellular5G' | 'CellularData1' | 'CellularData2' | 'CellularData3' | 'CellularData4' | 'CellularData5' | 'CellularOff' | 'CellularWarning' | 'CenterHorizontal' | 'CenterVertical' | 'Certificate' | 'Channel' | 'ChannelAdd' | 'ChannelAlert' | 'ChannelArrowLeft' | 'ChannelDismiss' | 'ChannelShare' | 'ChannelSubtract' | 'ChartMultiple' | 'ChartPerson' | 'Chat' | 'ChatAdd' | 'ChatArrowBack' | 'ChatArrowDoubleBack' | 'ChatBubblesQuestion' | 'ChatCursor' | 'ChatDismiss' | 'ChatEmpty' | 'ChatHelp' | 'ChatLock' | 'ChatMail' | 'ChatMultiple' | 'ChatMultipleHeart' | 'ChatOff' | 'ChatSettings' | 'ChatSparkle' | 'ChatVideo' | 'ChatWarning' | 'Check' | 'Checkbox1' | 'Checkbox2' | 'CheckboxArrowRight' | 'CheckboxChecked' | 'CheckboxCheckedSync' | 'CheckboxIndeterminate' | 'CheckboxPerson' | 'CheckboxUnchecked' | 'CheckboxWarning' | 'Checkmark' | 'CheckmarkCircle' | 'CheckmarkCircleSquare' | 'CheckmarkLock' | 'CheckmarkNote' | 'CheckmarkSquare' | 'CheckmarkStarburst' | 'CheckmarkUnderlineCircle' | 'Chess' | 'ChevronCircleDown' | 'ChevronCircleLeft' | 'ChevronCircleRight' | 'ChevronCircleUp' | 'ChevronDoubleDown' | 'ChevronDoubleLeft' | 'ChevronDoubleRight' | 'ChevronDoubleUp' | 'ChevronDown' | 'ChevronDownUp' | 'ChevronLeft' | 'ChevronRight' | 'ChevronUp' | 'ChevronUpDown' | 'Circle' | 'CircleEdit' | 'CircleEraser' | 'CircleHalfFill' | 'CircleHint' | 'CircleHintHalfVertical' | 'CircleImage' | 'CircleLine' | 'CircleMultipleSubtractCheckmark' | 'CircleOff' | 'CircleSmall' | 'City' | 'Class' | 'Classification' | 'ClearFormatting' | 'Clipboard' | 'Clipboard3Day' | 'ClipboardArrowRight' | 'ClipboardBrush' | 'ClipboardBulletList' | 'ClipboardBulletListLtr' | 'ClipboardBulletListRtl' | 'ClipboardCheckmark' | 'ClipboardClock' | 'ClipboardCode' | 'ClipboardDataBar' | 'ClipboardDay' | 'ClipboardEdit' | 'ClipboardError' | 'ClipboardHeart' | 'ClipboardImage' | 'ClipboardLetter' | 'ClipboardLink' | 'ClipboardMathFormula' | 'ClipboardMonth' | 'ClipboardMore' | 'ClipboardMultiple' | 'ClipboardNote' | 'ClipboardNumber123' | 'ClipboardPaste' | 'ClipboardPulse' | 'ClipboardSearch' | 'ClipboardSettings' | 'ClipboardTask' | 'ClipboardTaskAdd' | 'ClipboardTaskList' | 'ClipboardTaskListLtr' | 'ClipboardTaskListRtl' | 'ClipboardText' | 'ClipboardTextEdit' | 'ClipboardTextLtr' | 'ClipboardTextRtl' | 'Clock' | 'ClockAlarm' | 'ClockArrowDownload' | 'ClockDismiss' | 'ClockLock' | 'ClockPause' | 'ClockToolbox' | 'ClosedCaption' | 'ClosedCaptionOff' | 'Cloud' | 'CloudAdd' | 'CloudArchive' | 'CloudArrowDown' | 'CloudArrowUp' | 'CloudBeaker' | 'CloudBidirectional' | 'CloudCheckmark' | 'CloudCube' | 'CloudDatabase' | 'CloudDesktop' | 'CloudDismiss' | 'CloudEdit' | 'CloudError' | 'CloudFlow' | 'CloudLink' | 'CloudOff' | 'CloudSwap' | 'CloudSync' | 'CloudWords' | 'Clover' | 'Code' | 'CodeBlock' | 'CodeCircle' | 'CodeCs' | 'CodeCsRectangle' | 'CodeFs' | 'CodeFsRectangle' | 'CodeJs' | 'CodeJsRectangle' | 'CodePy' | 'CodePyRectangle' | 'CodeRb' | 'CodeRbRectangle' | 'CodeText' | 'CodeTextEdit' | 'CodeTextOff' | 'CodeTs' | 'CodeTsRectangle' | 'CodeVb' | 'CodeVbRectangle' | 'Collections' | 'CollectionsAdd' | 'Color' | 'ColorBackground' | 'ColorBackgroundAccent' | 'ColorFill' | 'ColorFillAccent' | 'ColorLine' | 'ColorLineAccent' | 'Column' | 'ColumnArrowRight' | 'ColumnDoubleCompare' | 'ColumnEdit' | 'ColumnSingle' | 'ColumnSingleCompare' | 'ColumnTriple' | 'ColumnTripleEdit' | 'Comma' | 'Comment' | 'CommentAdd' | 'CommentArrowLeft' | 'CommentArrowRight' | 'CommentCheckmark' | 'CommentDismiss' | 'CommentEdit' | 'CommentError' | 'CommentLightning' | 'CommentLink' | 'CommentMention' | 'CommentMultiple' | 'CommentMultipleCheckmark' | 'CommentMultipleLink' | 'CommentNote' | 'CommentOff' | 'Communication' | 'CommunicationPerson' | 'CommunicationShield' | 'CompassNorthwest' | 'Component2DoubleTapSwipeDown' | 'Component2DoubleTapSwipeUp' | 'Compose' | 'Cone' | 'ConferenceRoom' | 'Connected' | 'Connector' | 'ContactCard' | 'ContactCardGroup' | 'ContactCardLink' | 'ContactCardRibbon' | 'ContentSettings' | 'ContentView' | 'ContentViewGallery' | 'ContentViewGalleryLightning' | 'ContractDownLeft' | 'ContractUpRight' | 'ControlButton' | 'ConvertRange' | 'Cookies' | 'Copy' | 'CopyAdd' | 'CopyArrowRight' | 'CopySelect' | 'Couch' | 'CreditCardClock' | 'CreditCardPerson' | 'CreditCardToolbox' | 'Crop' | 'CropInterim' | 'CropInterimOff' | 'CropSparkle' | 'Crown' | 'CrownSubtract' | 'Cube' | 'CubeAdd' | 'CubeArrowCurveDown' | 'CubeLink' | 'CubeMultiple' | 'CubeQuick' | 'CubeRotate' | 'CubeSync' | 'CubeTree' | 'CurrencyDollarEuro' | 'CurrencyDollarRupee' | 'Cursor' | 'CursorClick' | 'CursorHover' | 'CursorHoverOff' | 'CursorProhibited' | 'Cut' | 'DarkTheme' | 'DataArea' | 'DataBarHorizontal' | 'DataBarHorizontalDescending' | 'DataBarVertical' | 'DataBarVerticalAdd' | 'DataBarVerticalAscending' | 'DataBarVerticalStar' | 'DataFunnel' | 'DataHistogram' | 'DataLine' | 'DataPie' | 'DataScatter' | 'DataSunburst' | 'DataTreemap' | 'DataTrending' | 'DataUsage' | 'DataUsageEdit' | 'DataUsageSettings' | 'DataUsageToolbox' | 'DataWaterfall' | 'DataWhisker' | 'Database' | 'DatabaseArrowDown' | 'DatabaseArrowRight' | 'DatabaseArrowUp' | 'DatabaseLightning' | 'DatabaseLink' | 'DatabaseMultiple' | 'DatabasePerson' | 'DatabasePlugConnected' | 'DatabaseSearch' | 'DatabaseStack' | 'DatabaseSwitch' | 'DatabaseWarning' | 'DatabaseWindow' | 'DecimalArrowLeft' | 'DecimalArrowRight' | 'Delete' | 'DeleteArrowBack' | 'DeleteDismiss' | 'DeleteLines' | 'DeleteOff' | 'Dentist' | 'DesignIdeas' | 'Desk' | 'Desktop' | 'DesktopArrowDown' | 'DesktopArrowRight' | 'DesktopCheckmark' | 'DesktopCursor' | 'DesktopEdit' | 'DesktopFlow' | 'DesktopKeyboard' | 'DesktopMac' | 'DesktopPulse' | 'DesktopSignal' | 'DesktopSpeaker' | 'DesktopSpeakerOff' | 'DesktopSync' | 'DesktopToolbox' | 'DesktopTower' | 'DeveloperBoard' | 'DeveloperBoardLightning' | 'DeveloperBoardLightningToolbox' | 'DeveloperBoardSearch' | 'DeviceEq' | 'DeviceMeetingRoom' | 'DeviceMeetingRoomRemote' | 'Diagram' | 'Dialpad' | 'DialpadOff' | 'DialpadQuestionMark' | 'Diamond' | 'Directions' | 'Dishwasher' | 'Dismiss' | 'DismissCircle' | 'DismissSquare' | 'DismissSquareMultiple' | 'Diversity' | 'DividerShort' | 'DividerTall' | 'Dock' | 'DockRow' | 'Doctor' | 'Document100' | 'Document' | 'DocumentAdd' | 'DocumentArrowDown' | 'DocumentArrowLeft' | 'DocumentArrowRight' | 'DocumentArrowUp' | 'DocumentBorder' | 'DocumentBorderPrint' | 'DocumentBriefcase' | 'DocumentBulletList' | 'DocumentBulletListArrowLeft' | 'DocumentBulletListClock' | 'DocumentBulletListCube' | 'DocumentBulletListMultiple' | 'DocumentBulletListOff' | 'DocumentCatchUp' | 'DocumentCheckmark' | 'DocumentChevronDouble' | 'DocumentContract' | 'DocumentCopy' | 'DocumentCs' | 'DocumentCss' | 'DocumentCube' | 'DocumentData' | 'DocumentDataLink' | 'DocumentDataLock' | 'DocumentDatabase' | 'DocumentDismiss' | 'DocumentEdit' | 'DocumentEndnote' | 'DocumentError' | 'DocumentFit' | 'DocumentFlowchart' | 'DocumentFolder' | 'DocumentFooter' | 'DocumentFooterDismiss' | 'DocumentFs' | 'DocumentHeader' | 'DocumentHeaderArrowDown' | 'DocumentHeaderDismiss' | 'DocumentHeaderFooter' | 'DocumentHeart' | 'DocumentHeartPulse' | 'DocumentImage' | 'DocumentJava' | 'DocumentJavascript' | 'DocumentJs' | 'DocumentKey' | 'DocumentLandscape' | 'DocumentLandscapeData' | 'DocumentLandscapeSplit' | 'DocumentLandscapeSplitHint' | 'DocumentLightning' | 'DocumentLink' | 'DocumentLock' | 'DocumentMargins' | 'DocumentMention' | 'DocumentMultiple' | 'DocumentMultiplePercent' | 'DocumentMultipleProhibited' | 'DocumentMultipleSync' | 'DocumentNumber1' | 'DocumentOnePage' | 'DocumentOnePageAdd' | 'DocumentOnePageBeaker' | 'DocumentOnePageColumns' | 'DocumentOnePageLink' | 'DocumentOnePageMultiple' | 'DocumentOnePageSparkle' | 'DocumentPageBottomCenter' | 'DocumentPageBottomLeft' | 'DocumentPageBottomRight' | 'DocumentPageBreak' | 'DocumentPageNumber' | 'DocumentPageTopCenter' | 'DocumentPageTopLeft' | 'DocumentPageTopRight' | 'DocumentPdf' | 'DocumentPercent' | 'DocumentPerson' | 'DocumentPill' | 'DocumentPrint' | 'DocumentProhibited' | 'DocumentPy' | 'DocumentQuestionMark' | 'DocumentQueue' | 'DocumentQueueAdd' | 'DocumentQueueMultiple' | 'DocumentRb' | 'DocumentRibbon' | 'DocumentSass' | 'DocumentSave' | 'DocumentSearch' | 'DocumentSettings' | 'DocumentSplitHint' | 'DocumentSplitHintOff' | 'DocumentSync' | 'DocumentTable' | 'DocumentTableArrowRight' | 'DocumentTableCheckmark' | 'DocumentTableCube' | 'DocumentTableSearch' | 'DocumentTableTruck' | 'DocumentTarget' | 'DocumentText' | 'DocumentTextClock' | 'DocumentTextExtract' | 'DocumentTextLink' | 'DocumentTextToolbox' | 'DocumentToolbox' | 'DocumentTs' | 'DocumentVb' | 'DocumentWidth' | 'DocumentYml' | 'Door' | 'DoorArrowLeft' | 'DoorArrowRight' | 'DoorTag' | 'DoubleSwipeDown' | 'DoubleSwipeUp' | 'DoubleTapSwipeDown' | 'DoubleTapSwipeUp' | 'Drafts' | 'Drag' | 'DrawImage' | 'DrawShape' | 'DrawText' | 'Drawer' | 'DrawerAdd' | 'DrawerArrowDownload' | 'DrawerDismiss' | 'DrawerPlay' | 'DrawerSubtract' | 'DrinkBeer' | 'DrinkBottle' | 'DrinkBottleOff' | 'DrinkCoffee' | 'DrinkMargarita' | 'DrinkToGo' | 'DrinkWine' | 'DriveTrain' | 'Drop' | 'DualScreen' | 'DualScreenAdd' | 'DualScreenArrowRight' | 'DualScreenArrowUp' | 'DualScreenClock' | 'DualScreenClosedAlert' | 'DualScreenDesktop' | 'DualScreenDismiss' | 'DualScreenGroup' | 'DualScreenHeader' | 'DualScreenLock' | 'DualScreenMirror' | 'DualScreenPagination' | 'DualScreenSettings' | 'DualScreenSpan' | 'DualScreenSpeaker' | 'DualScreenStatusBar' | 'DualScreenTablet' | 'DualScreenUpdate' | 'DualScreenVerticalScroll' | 'DualScreenVibrate' | 'Dumbbell' | 'Dust' | 'Earth' | 'EarthLeaf' | 'Edit' | 'EditArrowBack' | 'EditOff' | 'EditProhibited' | 'EditSettings' | 'Elevator' | 'Emoji' | 'EmojiAdd' | 'EmojiAngry' | 'EmojiEdit' | 'EmojiHand' | 'EmojiHint' | 'EmojiLaugh' | 'EmojiMeh' | 'EmojiMultiple' | 'EmojiSad' | 'EmojiSadSlight' | 'EmojiSmileSlight' | 'EmojiSparkle' | 'EmojiSurprise' | 'Engine' | 'EqualCircle' | 'EqualOff' | 'Eraser' | 'EraserMedium' | 'EraserSegment' | 'EraserSmall' | 'EraserTool' | 'ErrorCircle' | 'ErrorCircleSettings' | 'ExpandUpLeft' | 'ExpandUpRight' | 'ExtendedDock' | 'Eye' | 'EyeLines' | 'EyeOff' | 'EyeTracking' | 'EyeTrackingOff' | 'Eyedropper' | 'EyedropperOff' | 'FStop' | 'FastAcceleration' | 'FastForward' | 'Fax' | 'Feed' | 'Filmstrip' | 'FilmstripImage' | 'FilmstripOff' | 'FilmstripPlay' | 'FilmstripSplit' | 'Filter' | 'FilterAdd' | 'FilterDismiss' | 'FilterSync' | 'Fingerprint' | 'Fire' | 'Fireplace' | 'FixedWidth' | 'Flag' | 'FlagCheckered' | 'FlagClock' | 'FlagOff' | 'FlagPride' | 'FlagPrideIntersexInclusiveProgress' | 'FlagPridePhiladelphia' | 'FlagPrideProgress' | 'Flash' | 'FlashAdd' | 'FlashAuto' | 'FlashCheckmark' | 'FlashFlow' | 'FlashOff' | 'FlashPlay' | 'FlashSettings' | 'FlashSparkle' | 'Flashlight' | 'FlashlightOff' | 'FlipHorizontal' | 'FlipVertical' | 'Flow' | 'Flowchart' | 'FlowchartCircle' | 'Fluent' | 'Fluid' | 'Folder' | 'FolderAdd' | 'FolderArrowLeft' | 'FolderArrowRight' | 'FolderArrowUp' | 'FolderBriefcase' | 'FolderGlobe' | 'FolderLightning' | 'FolderLink' | 'FolderList' | 'FolderMail' | 'FolderMultiple' | 'FolderOpen' | 'FolderOpenVertical' | 'FolderPeople' | 'FolderPerson' | 'FolderProhibited' | 'FolderSearch' | 'FolderSwap' | 'FolderSync' | 'FolderZip' | 'FontDecrease' | 'FontIncrease' | 'FontSpaceTrackingIn' | 'FontSpaceTrackingOut' | 'Food' | 'FoodApple' | 'FoodCake' | 'FoodCarrot' | 'FoodChickenLeg' | 'FoodEgg' | 'FoodFish' | 'FoodGrains' | 'FoodPizza' | 'FoodToast' | 'Form' | 'FormMultiple' | 'FormNew' | 'Fps120' | 'Fps240' | 'Fps30' | 'Fps60' | 'Fps960' | 'Frame' | 'FullScreenMaximize' | 'FullScreenMinimize' | 'Games' | 'GanttChart' | 'Gas' | 'GasPump' | 'Gather' | 'Gauge' | 'GaugeAdd' | 'Gavel' | 'GavelProhibited' | 'Gesture' | 'Gif' | 'Gift' | 'GiftCard' | 'GiftCardAdd' | 'GiftCardArrowRight' | 'GiftCardMoney' | 'GiftCardMultiple' | 'GiftOpen' | 'Glance' | 'GlanceDefault' | 'GlanceHorizontal' | 'GlanceHorizontalSparkle' | 'GlanceHorizontalSparkles' | 'Glasses' | 'GlassesOff' | 'Globe' | 'GlobeAdd' | 'GlobeArrowForward' | 'GlobeArrowUp' | 'GlobeClock' | 'GlobeDesktop' | 'GlobeError' | 'GlobeLocation' | 'GlobePerson' | 'GlobeProhibited' | 'GlobeSearch' | 'GlobeShield' | 'GlobeStar' | 'GlobeSurface' | 'GlobeSync' | 'GlobeVideo' | 'GlobeWarning' | 'Grid' | 'GridCircles' | 'GridDots' | 'GridKanban' | 'Group' | 'GroupDismiss' | 'GroupList' | 'GroupReturn' | 'Guardian' | 'Guest' | 'GuestAdd' | 'Guitar' | 'HandDraw' | 'HandLeft' | 'HandLeftChat' | 'HandOpenHeart' | 'HandRight' | 'HandRightOff' | 'HandWave' | 'Handshake' | 'HardDrive' | 'HardDriveCall' | 'HatGraduation' | 'HatGraduationAdd' | 'HatGraduationSparkle' | 'Hd' | 'Hdr' | 'HdrOff' | 'Headphones' | 'HeadphonesSoundWave' | 'Headset' | 'HeadsetAdd' | 'HeadsetVr' | 'Heart' | 'HeartBroken' | 'HeartCircle' | 'HeartCircleHint' | 'HeartOff' | 'HeartPulse' | 'HeartPulseCheckmark' | 'HeartPulseError' | 'HeartPulseWarning' | 'Hexagon' | 'HexagonThree' | 'Highlight' | 'HighlightAccent' | 'HighlightLink' | 'History' | 'HistoryDismiss' | 'Home' | 'HomeAdd' | 'HomeCheckmark' | 'HomeDatabase' | 'HomeHeart' | 'HomeMore' | 'HomePerson' | 'HomeSplit' | 'Hourglass' | 'HourglassHalf' | 'HourglassOneQuarter' | 'HourglassThreeQuarter' | 'Icons' | 'Image' | 'ImageAdd' | 'ImageAltText' | 'ImageArrowBack' | 'ImageArrowCounterclockwise' | 'ImageArrowForward' | 'ImageBorder' | 'ImageCircle' | 'ImageCopy' | 'ImageEdit' | 'ImageGlobe' | 'ImageMultiple' | 'ImageMultipleOff' | 'ImageOff' | 'ImageProhibited' | 'ImageReflection' | 'ImageSearch' | 'ImageShadow' | 'ImageSparkle' | 'ImageStack' | 'ImageTable' | 'ImmersiveReader' | 'Important' | 'Incognito' | 'Info' | 'InfoShield' | 'InkStroke' | 'InkStrokeArrowDown' | 'InkStrokeArrowUpDown' | 'InkingTool' | 'InkingToolAccent' | 'InprivateAccount' | 'Insert' | 'IosArrow' | 'IosArrowLtr' | 'IosArrowRtl' | 'IosChevronRight' | 'Iot' | 'IotAlert' | 'Javascript' | 'Joystick' | 'Key' | 'KeyCommand' | 'KeyMultiple' | 'KeyReset' | 'Keyboard123' | 'Keyboard' | 'KeyboardDock' | 'KeyboardLayoutFloat' | 'KeyboardLayoutOneHandedLeft' | 'KeyboardLayoutResize' | 'KeyboardLayoutSplit' | 'KeyboardMouse' | 'KeyboardShift' | 'KeyboardShiftUppercase' | 'KeyboardTab' | 'Kiosk' | 'Laptop' | 'LaptopDismiss' | 'LaptopMultiple' | 'LaptopSettings' | 'LaptopShield' | 'LaserTool' | 'Lasso' | 'LauncherSettings' | 'Layer' | 'LayerDiagonal' | 'LayerDiagonalAdd' | 'LayerDiagonalPerson' | 'LayoutCellFour' | 'LayoutCellFourFocusBottomLeft' | 'LayoutCellFourFocusBottomRight' | 'LayoutCellFourFocusTopLeft' | 'LayoutCellFourFocusTopRight' | 'LayoutColumnFour' | 'LayoutColumnFourFocusCenterLeft' | 'LayoutColumnFourFocusCenterRight' | 'LayoutColumnFourFocusLeft' | 'LayoutColumnFourFocusRight' | 'LayoutColumnOneThirdLeft' | 'LayoutColumnOneThirdRight' | 'LayoutColumnOneThirdRightHint' | 'LayoutColumnThree' | 'LayoutColumnThreeFocusCenter' | 'LayoutColumnThreeFocusLeft' | 'LayoutColumnThreeFocusRight' | 'LayoutColumnTwo' | 'LayoutColumnTwoFocusLeft' | 'LayoutColumnTwoFocusRight' | 'LayoutColumnTwoSplitLeft' | 'LayoutColumnTwoSplitLeftFocusBottomLeft' | 'LayoutColumnTwoSplitLeftFocusRight' | 'LayoutColumnTwoSplitLeftFocusTopLeft' | 'LayoutColumnTwoSplitRight' | 'LayoutColumnTwoSplitRightFocusBottomRight' | 'LayoutColumnTwoSplitRightFocusLeft' | 'LayoutColumnTwoSplitRightFocusTopRight' | 'LayoutRowFour' | 'LayoutRowFourFocusBottom' | 'LayoutRowFourFocusCenterBottom' | 'LayoutRowFourFocusCenterTop' | 'LayoutRowFourFocusTop' | 'LayoutRowThree' | 'LayoutRowThreeFocusBottom' | 'LayoutRowThreeFocusCenter' | 'LayoutRowThreeFocusTop' | 'LayoutRowTwo' | 'LayoutRowTwoFocusBottom' | 'LayoutRowTwoFocusTop' | 'LayoutRowTwoSplitBottom' | 'LayoutRowTwoSplitBottomFocusBottomLeft' | 'LayoutRowTwoSplitBottomFocusBottomRight' | 'LayoutRowTwoSplitBottomFocusTop' | 'LayoutRowTwoSplitTop' | 'LayoutRowTwoSplitTopFocusBottom' | 'LayoutRowTwoSplitTopFocusTopLeft' | 'LayoutRowTwoSplitTopFocusTopRight' | 'LeafOne' | 'LeafThree' | 'LeafTwo' | 'LearningApp' | 'Library' | 'Lightbulb' | 'LightbulbCheckmark' | 'LightbulbCircle' | 'LightbulbFilament' | 'LightbulbPerson' | 'Likert' | 'Line' | 'LineDashes' | 'LineHorizontal1' | 'LineHorizontal1Dashes' | 'LineHorizontal2DashesSolid' | 'LineHorizontal3' | 'LineHorizontal4' | 'LineHorizontal4Search' | 'LineHorizontal5' | 'LineHorizontal5Error' | 'LineStyle' | 'LineThickness' | 'Link' | 'LinkAdd' | 'LinkDismiss' | 'LinkEdit' | 'LinkMultiple' | 'LinkPerson' | 'LinkSettings' | 'LinkSquare' | 'LinkToolbox' | 'List' | 'ListBar' | 'ListBarTree' | 'ListBarTreeOffset' | 'ListRtl' | 'Live' | 'LiveOff' | 'LocalLanguage' | 'Location' | 'LocationAdd' | 'LocationAddLeft' | 'LocationAddRight' | 'LocationAddUp' | 'LocationArrow' | 'LocationArrowLeft' | 'LocationArrowRight' | 'LocationArrowUp' | 'LocationDismiss' | 'LocationLive' | 'LocationOff' | 'LocationTargetSquare' | 'LockClosed' | 'LockClosedKey' | 'LockMultiple' | 'LockOpen' | 'LockShield' | 'Lottery' | 'Luggage' | 'Mail' | 'MailAdd' | 'MailAlert' | 'MailAllRead' | 'MailAllUnread' | 'MailArrowDoubleBack' | 'MailArrowDown' | 'MailArrowForward' | 'MailArrowUp' | 'MailAttach' | 'MailCheckmark' | 'MailClock' | 'MailCopy' | 'MailDismiss' | 'MailEdit' | 'MailError' | 'MailInbox' | 'MailInboxAdd' | 'MailInboxAll' | 'MailInboxArrowDown' | 'MailInboxArrowRight' | 'MailInboxArrowUp' | 'MailInboxCheckmark' | 'MailInboxDismiss' | 'MailLink' | 'MailList' | 'MailMultiple' | 'MailOff' | 'MailOpenPerson' | 'MailPause' | 'MailProhibited' | 'MailRead' | 'MailReadMultiple' | 'MailRewind' | 'MailSettings' | 'MailShield' | 'MailTemplate' | 'MailUnread' | 'MailWarning' | 'Mailbox' | 'Map' | 'MapDrive' | 'Markdown' | 'MatchAppLayout' | 'MathFormatLinear' | 'MathFormatProfessional' | 'MathFormula' | 'MathSymbols' | 'Maximize' | 'MeetNow' | 'Megaphone' | 'MegaphoneCircle' | 'MegaphoneLoud' | 'MegaphoneOff' | 'Memory' | 'Mention' | 'MentionArrowDown' | 'MentionBrackets' | 'Merge' | 'Mic' | 'MicOff' | 'MicProhibited' | 'MicPulse' | 'MicPulseOff' | 'MicRecord' | 'MicSettings' | 'MicSparkle' | 'MicSync' | 'Microscope' | 'Midi' | 'MobileOptimized' | 'Mold' | 'Molecule' | 'Money' | 'MoneyCalculator' | 'MoneyDismiss' | 'MoneyHand' | 'MoneyOff' | 'MoneySettings' | 'MoreCircle' | 'MoreHorizontal' | 'MoreVertical' | 'MountainLocationBottom' | 'MountainLocationTop' | 'MountainTrail' | 'MoviesAndTv' | 'Multiplier12X' | 'Multiplier15X' | 'Multiplier18X' | 'Multiplier1X' | 'Multiplier2X' | 'Multiplier5X' | 'MultiselectLtr' | 'MultiselectRtl' | 'MusicNote1' | 'MusicNote2' | 'MusicNote2Play' | 'MusicNoteOff1' | 'MusicNoteOff2' | 'MyLocation' | 'Navigation' | 'NavigationLocationTarget' | 'NavigationPlay' | 'NavigationUnread' | 'NetworkAdapter' | 'NetworkCheck' | 'New' | 'News' | 'Next' | 'NextFrame' | 'Note' | 'NoteAdd' | 'NoteEdit' | 'NotePin' | 'Notebook' | 'NotebookAdd' | 'NotebookArrowCurveDown' | 'NotebookError' | 'NotebookEye' | 'NotebookLightning' | 'NotebookQuestionMark' | 'NotebookSection' | 'NotebookSectionArrowRight' | 'NotebookSubsection' | 'NotebookSync' | 'Notepad' | 'NotepadEdit' | 'NotepadPerson' | 'NumberCircle0' | 'NumberCircle1' | 'NumberCircle2' | 'NumberCircle3' | 'NumberCircle4' | 'NumberCircle5' | 'NumberCircle6' | 'NumberCircle7' | 'NumberCircle8' | 'NumberCircle9' | 'NumberRow' | 'NumberSymbol' | 'NumberSymbolDismiss' | 'NumberSymbolSquare' | 'Open' | 'OpenFolder' | 'OpenOff' | 'Options' | 'Organization' | 'OrganizationHorizontal' | 'Orientation' | 'Oval' | 'Oven' | 'PaddingDown' | 'PaddingLeft' | 'PaddingRight' | 'PaddingTop' | 'PageFit' | 'PaintBrush' | 'PaintBrushArrowDown' | 'PaintBrushArrowUp' | 'PaintBucket' | 'Pair' | 'PanelBottom' | 'PanelBottomContract' | 'PanelBottomExpand' | 'PanelLeft' | 'PanelLeftAdd' | 'PanelLeftContract' | 'PanelLeftExpand' | 'PanelLeftFocusRight' | 'PanelLeftHeader' | 'PanelLeftHeaderAdd' | 'PanelLeftHeaderKey' | 'PanelLeftKey' | 'PanelLeftText' | 'PanelLeftTextAdd' | 'PanelLeftTextDismiss' | 'PanelRight' | 'PanelRightAdd' | 'PanelRightContract' | 'PanelRightCursor' | 'PanelRightExpand' | 'PanelRightGallery' | 'PanelSeparateWindow' | 'PanelTopContract' | 'PanelTopExpand' | 'PanelTopGallery' | 'Password' | 'Patch' | 'Patient' | 'Pause' | 'PauseCircle' | 'PauseOff' | 'PauseSettings' | 'Payment' | 'Pen' | 'PenDismiss' | 'PenOff' | 'PenProhibited' | 'PenSparkle' | 'Pentagon' | 'People' | 'PeopleAdd' | 'PeopleAudience' | 'PeopleCall' | 'PeopleChat' | 'PeopleCheckmark' | 'PeopleCommunity' | 'PeopleCommunityAdd' | 'PeopleEdit' | 'PeopleError' | 'PeopleList' | 'PeopleLock' | 'PeopleMoney' | 'PeopleProhibited' | 'PeopleQueue' | 'PeopleSearch' | 'PeopleSettings' | 'PeopleStar' | 'PeopleSwap' | 'PeopleSync' | 'PeopleTeam' | 'PeopleTeamAdd' | 'PeopleTeamDelete' | 'PeopleTeamToolbox' | 'PeopleToolbox' | 'Person' | 'Person5' | 'Person6' | 'PersonAccounts' | 'PersonAdd' | 'PersonAlert' | 'PersonArrowBack' | 'PersonArrowLeft' | 'PersonArrowRight' | 'PersonAvailable' | 'PersonBoard' | 'PersonCall' | 'PersonChat' | 'PersonCircle' | 'PersonClock' | 'PersonDelete' | 'PersonDesktop' | 'PersonEdit' | 'PersonFeedback' | 'PersonHeart' | 'PersonInfo' | 'PersonKey' | 'PersonLightbulb' | 'PersonLightning' | 'PersonLink' | 'PersonLock' | 'PersonMail' | 'PersonMoney' | 'PersonNote' | 'PersonPhone' | 'PersonPill' | 'PersonProhibited' | 'PersonQuestionMark' | 'PersonRibbon' | 'PersonRunning' | 'PersonSearch' | 'PersonSettings' | 'PersonSquare' | 'PersonSquareCheckmark' | 'PersonStanding' | 'PersonStar' | 'PersonStarburst' | 'PersonSubtract' | 'PersonSupport' | 'PersonSwap' | 'PersonSync' | 'PersonTag' | 'PersonVoice' | 'PersonWalking' | 'PersonWarning' | 'PersonWrench' | 'Phone' | 'PhoneAdd' | 'PhoneArrowRight' | 'PhoneBriefcase' | 'PhoneChat' | 'PhoneCheckmark' | 'PhoneDesktop' | 'PhoneDesktopAdd' | 'PhoneDismiss' | 'PhoneEdit' | 'PhoneEraser' | 'PhoneFooterArrowDown' | 'PhoneHeaderArrowUp' | 'PhoneKey' | 'PhoneLaptop' | 'PhoneLinkSetup' | 'PhoneLock' | 'PhoneMultiple' | 'PhoneMultipleSettings' | 'PhonePageHeader' | 'PhonePagination' | 'PhonePerson' | 'PhoneScreenTime' | 'PhoneShake' | 'PhoneSpanIn' | 'PhoneSpanOut' | 'PhoneSpeaker' | 'PhoneStatusBar' | 'PhoneSubtract' | 'PhoneTablet' | 'PhoneUpdate' | 'PhoneUpdateCheckmark' | 'PhoneVerticalScroll' | 'PhoneVibrate' | 'PhotoFilter' | 'Pi' | 'PictureInPicture' | 'PictureInPictureEnter' | 'PictureInPictureExit' | 'Pill' | 'Pin' | 'PinOff' | 'Pipeline' | 'PipelineAdd' | 'PipelineArrowCurveDown' | 'PipelinePlay' | 'Pivot' | 'PlantGrass' | 'PlantRagweed' | 'Play' | 'PlayCircle' | 'PlayCircleHint' | 'PlayMultiple' | 'PlaySettings' | 'PlayingCards' | 'PlugConnected' | 'PlugConnectedAdd' | 'PlugConnectedCheckmark' | 'PlugConnectedSettings' | 'PlugDisconnected' | 'PointScan' | 'Poll' | 'PollHorizontal' | 'PollOff' | 'PortHdmi' | 'PortMicroUsb' | 'PortUsbA' | 'PortUsbC' | 'PositionBackward' | 'PositionForward' | 'PositionToBack' | 'PositionToFront' | 'Power' | 'Predictions' | 'Premium' | 'PremiumPerson' | 'PresenceAvailable' | 'PresenceAway' | 'PresenceBlocked' | 'PresenceBusy' | 'PresenceDnd' | 'PresenceOffline' | 'PresenceOof' | 'PresenceUnknown' | 'Presenter' | 'PresenterOff' | 'PreviewLink' | 'Previous' | 'PreviousFrame' | 'Print' | 'PrintAdd' | 'Production' | 'ProductionCheckmark' | 'Prohibited' | 'ProhibitedMultiple' | 'ProhibitedNote' | 'ProjectionScreen' | 'ProjectionScreenDismiss' | 'ProjectionScreenText' | 'ProtocolHandler' | 'Pulse' | 'PulseSquare' | 'PuzzleCube' | 'PuzzleCubePiece' | 'PuzzlePiece' | 'PuzzlePieceShield' | 'QrCode' | 'Question' | 'QuestionCircle' | 'QuizNew' | 'Radar' | 'RadarCheckmark' | 'RadarRectangleMultiple' | 'RadioButton' | 'RadioButtonOff' | 'Ram' | 'RatingMature' | 'RatioOneToOne' | 'ReOrder' | 'ReOrderDotsHorizontal' | 'ReOrderDotsVertical' | 'ReadAloud' | 'ReadingList' | 'ReadingListAdd' | 'ReadingModeMobile' | 'RealEstate' | 'Receipt' | 'ReceiptAdd' | 'ReceiptBag' | 'ReceiptCube' | 'ReceiptMoney' | 'ReceiptPlay' | 'ReceiptSearch' | 'ReceiptSparkles' | 'Record' | 'RecordStop' | 'RectangleLandscape' | 'RectangleLandscapeHintCopy' | 'RectangleLandscapeSparkle' | 'RectangleLandscapeSync' | 'RectangleLandscapeSyncOff' | 'RectanglePortraitLocationTarget' | 'Recycle' | 'RemixAdd' | 'Remote' | 'Rename' | 'Reorder' | 'Replay' | 'Resize' | 'ResizeImage' | 'ResizeLarge' | 'ResizeSmall' | 'ResizeTable' | 'ResizeVideo' | 'Reward' | 'Rewind' | 'Rhombus' | 'Ribbon' | 'RibbonAdd' | 'RibbonOff' | 'RibbonStar' | 'RoadCone' | 'Rocket' | 'RotateLeft' | 'RotateRight' | 'Router' | 'RowTriple' | 'Rss' | 'Ruler' | 'Run' | 'Sanitize' | 'Save' | 'SaveArrowRight' | 'SaveCopy' | 'SaveEdit' | 'SaveImage' | 'SaveMultiple' | 'SaveSearch' | 'SaveSync' | 'Savings' | 'ScaleFill' | 'ScaleFit' | 'Scales' | 'Scan' | 'ScanCamera' | 'ScanDash' | 'ScanObject' | 'ScanPerson' | 'ScanQrCode' | 'ScanTable' | 'ScanText' | 'ScanThumbUp' | 'ScanThumbUpOff' | 'ScanType' | 'ScanTypeCheckmark' | 'ScanTypeOff' | 'Scratchpad' | 'ScreenCut' | 'ScreenPerson' | 'ScreenSearch' | 'Screenshot' | 'ScreenshotRecord' | 'Script' | 'Search' | 'SearchInfo' | 'SearchSettings' | 'SearchShield' | 'SearchSquare' | 'SearchVisual' | 'Seat' | 'SeatAdd' | 'SelectAllOff' | 'SelectAllOn' | 'SelectObject' | 'SelectObjectSkew' | 'SelectObjectSkewDismiss' | 'SelectObjectSkewEdit' | 'Send' | 'SendBeaker' | 'SendClock' | 'SendCopy' | 'SerialPort' | 'Server' | 'ServerLink' | 'ServerMultiple' | 'ServerPlay' | 'ServerSurface' | 'ServerSurfaceMultiple' | 'ServiceBell' | 'Settings' | 'SettingsChat' | 'SettingsCogMultiple' | 'ShapeExclude' | 'ShapeIntersect' | 'ShapeOrganic' | 'ShapeSubtract' | 'ShapeUnion' | 'Shapes' | 'Share' | 'ShareAndroid' | 'ShareCloseTray' | 'ShareIos' | 'ShareScreenPerson' | 'ShareScreenPersonOverlay' | 'ShareScreenPersonOverlayInside' | 'ShareScreenPersonP' | 'ShareScreenStart' | 'ShareScreenStop' | 'Shield' | 'ShieldAdd' | 'ShieldBadge' | 'ShieldCheckmark' | 'ShieldDismiss' | 'ShieldDismissShield' | 'ShieldError' | 'ShieldGlobe' | 'ShieldKeyhole' | 'ShieldLock' | 'ShieldPerson' | 'ShieldPersonAdd' | 'ShieldProhibited' | 'ShieldQuestion' | 'ShieldTask' | 'Shifts' | 'Shifts30Minutes' | 'ShiftsActivity' | 'ShiftsAdd' | 'ShiftsAvailability' | 'ShiftsCheckmark' | 'ShiftsDay' | 'ShiftsOpen' | 'ShiftsProhibited' | 'ShiftsQuestionMark' | 'ShiftsTeam' | 'ShoppingBag' | 'ShoppingBagAdd' | 'ShoppingBagArrowLeft' | 'ShoppingBagDismiss' | 'ShoppingBagPause' | 'ShoppingBagPercent' | 'ShoppingBagPlay' | 'ShoppingBagTag' | 'Shortpick' | 'Showerhead' | 'SidebarSearchLtr' | 'SidebarSearchRtl' | 'SignOut' | 'Signature' | 'Sim' | 'SkipBack10' | 'SkipForward10' | 'SkipForward30' | 'SkipForwardTab' | 'SlashForward' | 'Sleep' | 'SlideAdd' | 'SlideArrowRight' | 'SlideContent' | 'SlideEraser' | 'SlideGrid' | 'SlideHide' | 'SlideLayout' | 'SlideLink' | 'SlideMicrophone' | 'SlideMultiple' | 'SlideMultipleArrowRight' | 'SlideMultipleSearch' | 'SlideRecord' | 'SlideSearch' | 'SlideSettings' | 'SlideSize' | 'SlideText' | 'SlideTextEdit' | 'SlideTextMultiple' | 'SlideTextPerson' | 'SlideTextSparkle' | 'SlideTransition' | 'Smartwatch' | 'SmartwatchDot' | 'Snooze' | 'SoundSource' | 'SoundWaveCircle' | 'Space3D' | 'Spacebar' | 'Sparkle' | 'SparkleCircle' | 'Speaker0' | 'Speaker1' | 'Speaker2' | 'SpeakerBluetooth' | 'SpeakerBox' | 'SpeakerEdit' | 'SpeakerMute' | 'SpeakerOff' | 'SpeakerSettings' | 'SpeakerUsb' | 'SpinnerIos' | 'SplitHint' | 'SplitHorizontal' | 'SplitVertical' | 'Sport' | 'SportAmericanFootball' | 'SportBaseball' | 'SportBasketball' | 'SportHockey' | 'SportSoccer' | 'SprayCan' | 'Square' | 'SquareAdd' | 'SquareArrowForward' | 'SquareDismiss' | 'SquareEraser' | 'SquareHint' | 'SquareHintApps' | 'SquareHintArrowBack' | 'SquareHintHexagon' | 'SquareHintSparkles' | 'SquareMultiple' | 'SquareShadow' | 'SquaresNested' | 'Stack' | 'StackAdd' | 'StackArrowForward' | 'StackStar' | 'StackVertical' | 'Star' | 'StarAdd' | 'StarArrowBack' | 'StarArrowRightEnd' | 'StarArrowRightStart' | 'StarCheckmark' | 'StarDismiss' | 'StarEdit' | 'StarEmphasis' | 'StarHalf' | 'StarLineHorizontal3' | 'StarOff' | 'StarOneQuarter' | 'StarProhibited' | 'StarSettings' | 'StarThreeQuarter' | 'Status' | 'Step' | 'Steps' | 'Stethoscope' | 'Sticker' | 'StickerAdd' | 'Stop' | 'Storage' | 'StoreMicrosoft' | 'Stream' | 'StreamInput' | 'StreamInputOutput' | 'StreamOutput' | 'StreetSign' | 'StyleGuide' | 'SubGrid' | 'Subtitles' | 'Subtract' | 'SubtractCircle' | 'SubtractCircleArrowBack' | 'SubtractCircleArrowForward' | 'SubtractParentheses' | 'SubtractSquare' | 'SubtractSquareMultiple' | 'SurfaceEarbuds' | 'SurfaceHub' | 'SwimmingPool' | 'SwipeDown' | 'SwipeRight' | 'SwipeUp' | 'Symbols' | 'SyncOff' | 'Syringe' | 'System' | 'Tab' | 'TabAdd' | 'TabArrowLeft' | 'TabDesktop' | 'TabDesktopArrowClockwise' | 'TabDesktopArrowLeft' | 'TabDesktopBottom' | 'TabDesktopClock' | 'TabDesktopCopy' | 'TabDesktopImage' | 'TabDesktopLink' | 'TabDesktopMultiple' | 'TabDesktopMultipleAdd' | 'TabDesktopMultipleBottom' | 'TabDesktopNewPage' | 'TabInPrivate' | 'TabInprivateAccount' | 'TabProhibited' | 'TabShieldDismiss' | 'Table' | 'TableAdd' | 'TableArrowUp' | 'TableBottomRow' | 'TableCalculator' | 'TableCellEdit' | 'TableCellsMerge' | 'TableCellsSplit' | 'TableChecker' | 'TableColumnTopBottom' | 'TableCopy' | 'TableDefault' | 'TableDeleteColumn' | 'TableDeleteRow' | 'TableDismiss' | 'TableEdit' | 'TableFreezeColumn' | 'TableFreezeColumnAndRow' | 'TableFreezeRow' | 'TableImage' | 'TableInsertColumn' | 'TableInsertRow' | 'TableLightning' | 'TableLink' | 'TableLock' | 'TableMoveAbove' | 'TableMoveBelow' | 'TableMoveLeft' | 'TableMoveRight' | 'TableMultiple' | 'TableOffset' | 'TableOffsetAdd' | 'TableOffsetLessThanOrEqualTo' | 'TableOffsetSettings' | 'TableResizeColumn' | 'TableResizeRow' | 'TableSearch' | 'TableSettings' | 'TableSimple' | 'TableSimpleCheckmark' | 'TableSimpleExclude' | 'TableSimpleInclude' | 'TableSimpleMultiple' | 'TableSplit' | 'TableStackAbove' | 'TableStackBelow' | 'TableStackLeft' | 'TableStackRight' | 'TableSwitch' | 'Tablet' | 'TabletLaptop' | 'TabletSpeaker' | 'Tabs' | 'Tag' | 'TagCircle' | 'TagDismiss' | 'TagError' | 'TagLock' | 'TagLockAccent' | 'TagMultiple' | 'TagOff' | 'TagQuestionMark' | 'TagReset' | 'TagSearch' | 'TapDouble' | 'TapSingle' | 'Target' | 'TargetAdd' | 'TargetArrow' | 'TargetDismiss' | 'TargetEdit' | 'TaskListAdd' | 'TaskListLtr' | 'TaskListRtl' | 'TaskListSquareAdd' | 'TaskListSquareDatabase' | 'TaskListSquareLtr' | 'TaskListSquarePerson' | 'TaskListSquareRtl' | 'TaskListSquareSettings' | 'TasksApp' | 'TeardropBottomRight' | 'Teddy' | 'Temperature' | 'Tent' | 'TetrisApp' | 'Text' | 'TextAbcUnderlineDouble' | 'TextAdd' | 'TextAddSpaceAfter' | 'TextAddSpaceBefore' | 'TextAddT' | 'TextAlignCenter' | 'TextAlignCenterRotate270' | 'TextAlignCenterRotate90' | 'TextAlignDistributed' | 'TextAlignDistributedEvenly' | 'TextAlignDistributedVertical' | 'TextAlignJustify' | 'TextAlignJustifyLow' | 'TextAlignJustifyLow90' | 'TextAlignJustifyLowRotate270' | 'TextAlignJustifyLowRotate90' | 'TextAlignJustifyRotate270' | 'TextAlignJustifyRotate90' | 'TextAlignLeft' | 'TextAlignLeftRotate270' | 'TextAlignLeftRotate90' | 'TextAlignRight' | 'TextAlignRightRotate270' | 'TextAlignRightRotate90' | 'TextArrowDownRightColumn' | 'TextAsterisk' | 'TextBaseline' | 'TextBold' | 'TextBoxSettings' | 'TextBulletList' | 'TextBulletList270' | 'TextBulletList90' | 'TextBulletListAdd' | 'TextBulletListCheckmark' | 'TextBulletListDismiss' | 'TextBulletListLtr' | 'TextBulletListLtr90' | 'TextBulletListLtrRotate270' | 'TextBulletListRtl' | 'TextBulletListRtl90' | 'TextBulletListSquare' | 'TextBulletListSquareClock' | 'TextBulletListSquareEdit' | 'TextBulletListSquarePerson' | 'TextBulletListSquareSearch' | 'TextBulletListSquareSettings' | 'TextBulletListSquareShield' | 'TextBulletListSquareSparkle' | 'TextBulletListSquareToolbox' | 'TextBulletListSquareWarning' | 'TextBulletListTree' | 'TextCaseLowercase' | 'TextCaseTitle' | 'TextCaseUppercase' | 'TextChangeCase' | 'TextClearFormatting' | 'TextCollapse' | 'TextColor' | 'TextColorAccent' | 'TextColumnOne' | 'TextColumnOneNarrow' | 'TextColumnOneSemiNarrow' | 'TextColumnOneWide' | 'TextColumnOneWideLightning' | 'TextColumnThree' | 'TextColumnTwo' | 'TextColumnTwoLeft' | 'TextColumnTwoRight' | 'TextColumnWide' | 'TextContinuous' | 'TextDensity' | 'TextDescription' | 'TextDescriptionLtr' | 'TextDescriptionRtl' | 'TextDirectionHorizontalLeft' | 'TextDirectionHorizontalLtr' | 'TextDirectionHorizontalRight' | 'TextDirectionHorizontalRtl' | 'TextDirectionRotate270Right' | 'TextDirectionRotate315Right' | 'TextDirectionRotate45Right' | 'TextDirectionRotate90Left' | 'TextDirectionRotate90Ltr' | 'TextDirectionRotate90Right' | 'TextDirectionRotate90Rtl' | 'TextDirectionVertical' | 'TextEditStyle' | 'TextEditStyleCharacterA' | 'TextEditStyleCharacterGa' | 'TextEffects' | 'TextEffectsSparkle' | 'TextExpand' | 'TextField' | 'TextFirstLine' | 'TextFont' | 'TextFontInfo' | 'TextFontSize' | 'TextFootnote' | 'TextGrammarArrowLeft' | 'TextGrammarArrowRight' | 'TextGrammarCheckmark' | 'TextGrammarDismiss' | 'TextGrammarError' | 'TextGrammarLightning' | 'TextGrammarSettings' | 'TextGrammarWand' | 'TextHanging' | 'TextHeader1' | 'TextHeader1Lines' | 'TextHeader1LinesCaret' | 'TextHeader2' | 'TextHeader2Lines' | 'TextHeader2LinesCaret' | 'TextHeader3' | 'TextHeader3Lines' | 'TextHeader3LinesCaret' | 'TextIndentDecrease' | 'TextIndentDecreaseLtr' | 'TextIndentDecreaseLtr90' | 'TextIndentDecreaseLtrRotate270' | 'TextIndentDecreaseRotate270' | 'TextIndentDecreaseRotate90' | 'TextIndentDecreaseRtl' | 'TextIndentDecreaseRtl90' | 'TextIndentDecreaseRtlRotate270' | 'TextIndentIncrease' | 'TextIndentIncreaseLtr' | 'TextIndentIncreaseLtr90' | 'TextIndentIncreaseLtrRotate270' | 'TextIndentIncreaseRotate270' | 'TextIndentIncreaseRotate90' | 'TextIndentIncreaseRtl' | 'TextIndentIncreaseRtl90' | 'TextIndentIncreaseRtlRotate270' | 'TextItalic' | 'TextLineSpacing' | 'TextMore' | 'TextNumberFormat' | 'TextNumberListLtr' | 'TextNumberListLtr90' | 'TextNumberListLtrRotate270' | 'TextNumberListRotate270' | 'TextNumberListRotate90' | 'TextNumberListRtl' | 'TextNumberListRtl90' | 'TextNumberListRtlRotate270' | 'TextParagraph' | 'TextParagraphDirection' | 'TextParagraphDirectionLeft' | 'TextParagraphDirectionRight' | 'TextPeriodAsterisk' | 'TextPositionBehind' | 'TextPositionFront' | 'TextPositionLine' | 'TextPositionSquare' | 'TextPositionSquareLeft' | 'TextPositionSquareRight' | 'TextPositionThrough' | 'TextPositionTight' | 'TextPositionTopBottom' | 'TextProofingTools' | 'TextQuote' | 'TextSortAscending' | 'TextSortDescending' | 'TextStrikethrough' | 'TextSubscript' | 'TextSuperscript' | 'TextT' | 'TextTTag' | 'TextUnderline' | 'TextUnderlineCharacterU' | 'TextUnderlineDouble' | 'TextWholeWord' | 'TextWordCount' | 'TextWrap' | 'TextWrapOff' | 'Textbox' | 'TextboxAlignBottom' | 'TextboxAlignBottomCenter' | 'TextboxAlignBottomLeft' | 'TextboxAlignBottomRight' | 'TextboxAlignBottomRotate90' | 'TextboxAlignCenter' | 'TextboxAlignMiddle' | 'TextboxAlignMiddleLeft' | 'TextboxAlignMiddleRight' | 'TextboxAlignMiddleRotate90' | 'TextboxAlignTop' | 'TextboxAlignTopCenter' | 'TextboxAlignTopLeft' | 'TextboxAlignTopRight' | 'TextboxAlignTopRotate90' | 'TextboxMore' | 'TextboxRotate90' | 'TextboxSettings' | 'Thinking' | 'ThumbDislike' | 'ThumbLike' | 'ThumbLikeDislike' | 'TicketDiagonal' | 'TicketHorizontal' | 'TimeAndWeather' | 'TimePicker' | 'Timeline' | 'Timer10' | 'Timer' | 'Timer2' | 'Timer3' | 'TimerOff' | 'ToggleLeft' | 'ToggleMultiple' | 'ToggleRight' | 'Toolbox' | 'TooltipQuote' | 'TopSpeed' | 'Translate' | 'TranslateAuto' | 'TranslateOff' | 'Transmission' | 'TrayItemAdd' | 'TrayItemRemove' | 'TreeDeciduous' | 'TreeEvergreen' | 'Triangle' | 'TriangleDown' | 'TriangleLeft' | 'TriangleRight' | 'TriangleUp' | 'Trophy' | 'TrophyLock' | 'TrophyOff' | 'Tv' | 'TvArrowRight' | 'TvUsb' | 'Umbrella' | 'UninstallApp' | 'UsbPlug' | 'UsbStick' | 'Vault' | 'VehicleBicycle' | 'VehicleBus' | 'VehicleCab' | 'VehicleCableCar' | 'VehicleCar' | 'VehicleCarCollision' | 'VehicleCarParking' | 'VehicleCarProfile' | 'VehicleCarProfileLtr' | 'VehicleCarProfileLtrClock' | 'VehicleCarProfileRtl' | 'VehicleShip' | 'VehicleSubway' | 'VehicleSubwayClock' | 'VehicleTruck' | 'VehicleTruckBag' | 'VehicleTruckCube' | 'VehicleTruckProfile' | 'Video' | 'Video360' | 'Video360Off' | 'VideoAdd' | 'VideoBackgroundEffect' | 'VideoBackgroundEffectHorizontal' | 'VideoChat' | 'VideoClip' | 'VideoClipMultiple' | 'VideoClipOff' | 'VideoClipOptimize' | 'VideoLink' | 'VideoOff' | 'VideoPeople' | 'VideoPerson' | 'VideoPersonCall' | 'VideoPersonClock' | 'VideoPersonOff' | 'VideoPersonPulse' | 'VideoPersonSparkle' | 'VideoPersonSparkleOff' | 'VideoPersonStar' | 'VideoPersonStarOff' | 'VideoPlayPause' | 'VideoProhibited' | 'VideoRecording' | 'VideoSecurity' | 'VideoSwitch' | 'VideoSync' | 'ViewDesktop' | 'ViewDesktopMobile' | 'VirtualNetwork' | 'VirtualNetworkToolbox' | 'Voicemail' | 'VoicemailArrowBack' | 'VoicemailArrowForward' | 'VoicemailArrowSubtract' | 'VoicemailShield' | 'VoicemailSubtract' | 'Vote' | 'WalkieTalkie' | 'Wallet' | 'WalletCreditCard' | 'Wallpaper' | 'Wand' | 'Warning' | 'WarningShield' | 'Washer' | 'Water' | 'WeatherBlowingSnow' | 'WeatherCloudy' | 'WeatherDrizzle' | 'WeatherDuststorm' | 'WeatherFog' | 'WeatherHailDay' | 'WeatherHailNight' | 'WeatherHaze' | 'WeatherMoon' | 'WeatherMoonOff' | 'WeatherPartlyCloudyDay' | 'WeatherPartlyCloudyNight' | 'WeatherRain' | 'WeatherRainShowersDay' | 'WeatherRainShowersNight' | 'WeatherRainSnow' | 'WeatherSnow' | 'WeatherSnowShowerDay' | 'WeatherSnowShowerNight' | 'WeatherSnowflake' | 'WeatherSqualls' | 'WeatherSunny' | 'WeatherSunnyHigh' | 'WeatherSunnyLow' | 'WeatherThunderstorm' | 'WebAsset' | 'Whiteboard' | 'WhiteboardOff' | 'Wifi1' | 'Wifi2' | 'Wifi3' | 'Wifi4' | 'WifiLock' | 'WifiOff' | 'WifiSettings' | 'WifiWarning' | 'Window' | 'WindowAd' | 'WindowAdOff' | 'WindowAdPerson' | 'WindowApps' | 'WindowArrowUp' | 'WindowBulletList' | 'WindowBulletListAdd' | 'WindowConsole' | 'WindowDatabase' | 'WindowDevEdit' | 'WindowDevTools' | 'WindowEdit' | 'WindowHeaderHorizontal' | 'WindowHeaderHorizontalOff' | 'WindowHeaderVertical' | 'WindowInprivate' | 'WindowInprivateAccount' | 'WindowLocationTarget' | 'WindowMultiple' | 'WindowMultipleSwap' | 'WindowNew' | 'WindowPlay' | 'WindowSettings' | 'WindowShield' | 'WindowText' | 'WindowWrench' | 'Wrench' | 'WrenchScrewdriver' | 'WrenchSettings' | 'XboxConsole' | 'XboxController' | 'XboxControllerError' | 'Xray' | 'ZoomFit' | 'ZoomIn' | 'ZoomOut'; -export type ActionStyle = "default" | "positive" | "destructive"; +export type ActionStyle = 'default' | 'positive' | 'destructive'; -export type ActionMode = "primary" | "secondary"; +export type ActionMode = 'primary' | 'secondary'; export type MenuActionArray = (IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IResetInputsAction | ISubmitAction | IToggleVisibilityAction)[]; -export type ThemeName = "Light" | "Dark"; +export type ThemeName = 'Light' | 'Dark'; -export type ElementHeight = "auto" | "stretch"; +export type ElementHeight = 'auto' | 'stretch'; -export type HorizontalAlignment = "Left" | "Center" | "Right"; +export type HorizontalAlignment = 'Left' | 'Center' | 'Right'; -export type Spacing = "None" | "ExtraSmall" | "Small" | "Default" | "Medium" | "Large" | "ExtraLarge" | "Padding"; +export type Spacing = 'None' | 'ExtraSmall' | 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge' | 'Padding'; -export type TargetWidth = "VeryNarrow" | "Narrow" | "Standard" | "Wide" | "atLeast:VeryNarrow" | "atMost:VeryNarrow" | "atLeast:Narrow" | "atMost:Narrow" | "atLeast:Standard" | "atMost:Standard" | "atLeast:Wide" | "atMost:Wide"; +export type TargetWidth = 'VeryNarrow' | 'Narrow' | 'Standard' | 'Wide' | 'atLeast:VeryNarrow' | 'atMost:VeryNarrow' | 'atLeast:Narrow' | 'atMost:Narrow' | 'atLeast:Standard' | 'atMost:Standard' | 'atLeast:Wide' | 'atMost:Wide'; -export type ContainerStyle = "default" | "emphasis" | "accent" | "good" | "attention" | "warning"; +export type ContainerStyle = 'default' | 'emphasis' | 'accent' | 'good' | 'attention' | 'warning'; -export type VerticalAlignment = "Top" | "Center" | "Bottom"; +export type VerticalAlignment = 'Top' | 'Center' | 'Bottom'; -export type FlowLayoutItemFit = "Fit" | "Fill"; +export type FlowLayoutItemFit = 'Fit' | 'Fill'; -export type FillMode = "Cover" | "RepeatHorizontally" | "RepeatVertically" | "Repeat"; +export type FillMode = 'Cover' | 'RepeatHorizontally' | 'RepeatVertically' | 'Repeat'; -export type TextSize = "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"; +export type TextSize = 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'; -export type TextWeight = "Lighter" | "Default" | "Bolder"; +export type TextWeight = 'Lighter' | 'Default' | 'Bolder'; -export type TextColor = "Default" | "Dark" | "Light" | "Accent" | "Good" | "Warning" | "Attention"; +export type TextColor = 'Default' | 'Dark' | 'Light' | 'Accent' | 'Good' | 'Warning' | 'Attention'; -export type FontType = "Default" | "Monospace"; +export type FontType = 'Default' | 'Monospace'; -export type TextBlockStyle = "default" | "columnHeader" | "heading"; +export type TextBlockStyle = 'default' | 'columnHeader' | 'heading'; -export type ImageStyle = "Default" | "Person" | "RoundedCorners"; +export type ImageStyle = 'Default' | 'Person' | 'RoundedCorners'; -export type Size = "Auto" | "Stretch" | "Small" | "Medium" | "Large"; +export type Size = 'Auto' | 'Stretch' | 'Small' | 'Medium' | 'Large'; -export type ImageFitMode = "Cover" | "Contain" | "Fill"; +export type ImageFitMode = 'Cover' | 'Contain' | 'Fill'; -export type InputTextStyle = "Text" | "Tel" | "Url" | "Email" | "Password"; +export type InputTextStyle = 'Text' | 'Tel' | 'Url' | 'Email' | 'Password'; -export type AssociatedInputs = "auto" | "none"; +export type AssociatedInputs = 'auto' | 'none'; -export type ChoiceSetInputStyle = "compact" | "expanded" | "filtered"; +export type ChoiceSetInputStyle = 'compact' | 'expanded' | 'filtered'; -export type RatingSize = "Medium" | "Large"; +export type RatingSize = 'Medium' | 'Large'; -export type RatingColor = "Neutral" | "Marigold"; +export type RatingColor = 'Neutral' | 'Marigold'; -export type RatingStyle = "Default" | "Compact"; +export type RatingStyle = 'Default' | 'Compact'; -export type IconSize = "xxSmall" | "xSmall" | "Small" | "Standard" | "Medium" | "Large" | "xLarge" | "xxLarge"; +export type IconSize = 'xxSmall' | 'xSmall' | 'Small' | 'Standard' | 'Medium' | 'Large' | 'xLarge' | 'xxLarge'; -export type IconStyle = "Regular" | "Filled"; +export type IconStyle = 'Regular' | 'Filled'; -export type CarouselPageAnimation = "Slide" | "CrossFade" | "None"; +export type CarouselPageAnimation = 'Slide' | 'CrossFade' | 'None'; -export type BadgeIconPosition = "Before" | "After"; +export type BadgeIconPosition = 'Before' | 'After'; -export type BadgeAppearance = "Filled" | "Tint"; +export type BadgeAppearance = 'Filled' | 'Tint'; -export type BadgeSize = "Medium" | "Large" | "ExtraLarge"; +export type BadgeSize = 'Medium' | 'Large' | 'ExtraLarge'; -export type BadgeShape = "Square" | "Rounded" | "Circular"; +export type BadgeShape = 'Square' | 'Rounded' | 'Circular'; -export type BadgeStyle = "Default" | "Subtle" | "Informative" | "Accent" | "Good" | "Attention" | "Warning"; +export type BadgeStyle = 'Default' | 'Subtle' | 'Informative' | 'Accent' | 'Good' | 'Attention' | 'Warning'; -export type ProgressRingLabelPosition = "Before" | "After" | "Above" | "Below"; +export type ProgressRingLabelPosition = 'Before' | 'After' | 'Above' | 'Below'; -export type ProgressRingSize = "Tiny" | "Small" | "Medium" | "Large"; +export type ProgressRingSize = 'Tiny' | 'Small' | 'Medium' | 'Large'; -export type ProgressBarColor = "Accent" | "Good" | "Warning" | "Attention"; +export type ProgressBarColor = 'Accent' | 'Good' | 'Warning' | 'Attention'; -export type ChartColorSet = "categorical" | "sequential" | "sequentialred" | "sequentialgreen" | "sequentialyellow" | "diverging"; +export type ChartColorSet = 'categorical' | 'sequential' | 'sequentialred' | 'sequentialgreen' | 'sequentialyellow' | 'diverging'; -export type ChartColor = "good" | "warning" | "attention" | "neutral" | "categoricalRed" | "categoricalPurple" | "categoricalLavender" | "categoricalBlue" | "categoricalLightBlue" | "categoricalTeal" | "categoricalGreen" | "categoricalLime" | "categoricalMarigold" | "sequential1" | "sequential2" | "sequential3" | "sequential4" | "sequential5" | "sequential6" | "sequential7" | "sequential8" | "divergingBlue" | "divergingLightBlue" | "divergingCyan" | "divergingTeal" | "divergingYellow" | "divergingPeach" | "divergingLightRed" | "divergingRed" | "divergingMaroon" | "divergingGray" | "sequentialRed1" | "sequentialRed2" | "sequentialRed3" | "sequentialRed4" | "sequentialRed5" | "sequentialRed6" | "sequentialRed7" | "sequentialRed8" | "sequentialGreen1" | "sequentialGreen2" | "sequentialGreen3" | "sequentialGreen4" | "sequentialGreen5" | "sequentialGreen6" | "sequentialGreen7" | "sequentialGreen8" | "sequentialYellow1" | "sequentialYellow2" | "sequentialYellow3" | "sequentialYellow4" | "sequentialYellow5" | "sequentialYellow6" | "sequentialYellow7" | "sequentialYellow8"; +export type ChartColor = 'good' | 'warning' | 'attention' | 'neutral' | 'categoricalRed' | 'categoricalPurple' | 'categoricalLavender' | 'categoricalBlue' | 'categoricalLightBlue' | 'categoricalTeal' | 'categoricalGreen' | 'categoricalLime' | 'categoricalMarigold' | 'sequential1' | 'sequential2' | 'sequential3' | 'sequential4' | 'sequential5' | 'sequential6' | 'sequential7' | 'sequential8' | 'divergingBlue' | 'divergingLightBlue' | 'divergingCyan' | 'divergingTeal' | 'divergingYellow' | 'divergingPeach' | 'divergingLightRed' | 'divergingRed' | 'divergingMaroon' | 'divergingGray' | 'sequentialRed1' | 'sequentialRed2' | 'sequentialRed3' | 'sequentialRed4' | 'sequentialRed5' | 'sequentialRed6' | 'sequentialRed7' | 'sequentialRed8' | 'sequentialGreen1' | 'sequentialGreen2' | 'sequentialGreen3' | 'sequentialGreen4' | 'sequentialGreen5' | 'sequentialGreen6' | 'sequentialGreen7' | 'sequentialGreen8' | 'sequentialYellow1' | 'sequentialYellow2' | 'sequentialYellow3' | 'sequentialYellow4' | 'sequentialYellow5' | 'sequentialYellow6' | 'sequentialYellow7' | 'sequentialYellow8'; -export type DonutThickness = "Thin" | "Thick"; +export type DonutThickness = 'Thin' | 'Thick'; -export type HorizontalBarChartDisplayMode = "AbsoluteWithAxis" | "AbsoluteNoAxis" | "PartToWhole"; +export type HorizontalBarChartDisplayMode = 'AbsoluteWithAxis' | 'AbsoluteNoAxis' | 'PartToWhole'; -export type GaugeChartValueFormat = "Percentage" | "Fraction"; +export type GaugeChartValueFormat = 'Percentage' | 'Fraction'; -export type CodeLanguage = "Bash" | "C" | "Cpp" | "CSharp" | "Css" | "Dos" | "Go" | "Graphql" | "Html" | "Java" | "JavaScript" | "Json" | "ObjectiveC" | "Perl" | "Php" | "PlainText" | "PowerShell" | "Python" | "Sql" | "TypeScript" | "VbNet" | "Verilog" | "Vhdl" | "Xml"; +export type CodeLanguage = 'Bash' | 'C' | 'Cpp' | 'CSharp' | 'Css' | 'Dos' | 'Go' | 'Graphql' | 'Html' | 'Java' | 'JavaScript' | 'Json' | 'ObjectiveC' | 'Perl' | 'Php' | 'PlainText' | 'PowerShell' | 'Python' | 'Sql' | 'TypeScript' | 'VbNet' | 'Verilog' | 'Vhdl' | 'Xml'; -export type PersonaIconStyle = "profilePicture" | "contactCard" | "none"; +export type PersonaIconStyle = 'profilePicture' | 'contactCard' | 'none'; -export type PersonaDisplayStyle = "iconAndName" | "iconOnly" | "nameOnly"; +export type PersonaDisplayStyle = 'iconAndName' | 'iconOnly' | 'nameOnly'; -export type FallbackElement = IContainer | IActionSet | IColumnSet | IMedia | IRichTextBlock | ITable | ITextBlock | IFactSet | IImageSet | IImage | ITextInput | IDateInput | ITimeInput | INumberInput | IToggleInput | IChoiceSetInput | IRatingInput | IRating | ICompoundButton | IIcon | ICarousel | IBadge | IProgressRing | IProgressBar | IDonutChart | IPieChart | IGroupedVerticalBarChart | IVerticalBarChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IGaugeChart | ICodeBlock | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComEventMicrosoftGraphComponent | "drop"; +export type FallbackElement = IContainer | IActionSet | IColumnSet | IMedia | IRichTextBlock | ITable | ITextBlock | IFactSet | IImageSet | IImage | ITextInput | IDateInput | ITimeInput | INumberInput | IToggleInput | IChoiceSetInput | IRatingInput | IRating | ICompoundButton | IIcon | ICarousel | IBadge | IProgressRing | IProgressBar | IDonutChart | IPieChart | IGroupedVerticalBarChart | IVerticalBarChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IGaugeChart | ICodeBlock | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComEventMicrosoftGraphComponent | 'drop'; export type CardElementArray = (IActionSet | IBadge | ICarousel | IDonutChart | IGaugeChart | IHorizontalBarChart | IStackedHorizontalBarChart | ILineChart | IPieChart | IVerticalBarChart | IGroupedVerticalBarChart | ICodeBlock | IColumnSet | IComEventMicrosoftGraphComponent | IComFileMicrosoftGraphComponent | IComResourceMicrosoftGraphComponent | IComUserMicrosoftGraphComponent | IComUsersMicrosoftGraphComponent | ICompoundButton | IContainer | IFactSet | IIcon | IImage | IImageSet | IChoiceSetInput | IDateInput | INumberInput | IRatingInput | ITextInput | ITimeInput | IToggleInput | IMedia | IProgressBar | IProgressRing | IRating | IRichTextBlock | ITable | ITextBlock)[]; -export type ImageSize = "Small" | "Medium" | "Large"; +export type ImageSize = 'Small' | 'Medium' | 'Large'; export type TableCellArray = ITableCell[]; @@ -117,17 +115,17 @@ export type ColumnArray = IColumn[]; export type ActionArray = (IExecuteAction | IInsertImageAction | IOpenUrlAction | IOpenUrlDialogAction | IPopoverAction | IResetInputsAction | IShowCardAction | ISubmitAction | IToggleVisibilityAction)[]; -export type PopoverPosition = "Above" | "Below" | "Before" | "After"; +export type PopoverPosition = 'Above' | 'Below' | 'Before' | 'After'; -export type FallbackAction = ISubmitAction | IOpenUrlAction | IExecuteAction | IToggleVisibilityAction | IShowCardAction | IResetInputsAction | IPopoverAction | IOpenUrlDialogAction | IInsertImageAction | "drop"; +export type FallbackAction = ISubmitAction | IOpenUrlAction | IExecuteAction | IToggleVisibilityAction | IShowCardAction | IResetInputsAction | IPopoverAction | IOpenUrlDialogAction | IInsertImageAction | 'drop'; -export type ImageInsertPosition = "Selection" | "Top" | "Bottom"; +export type ImageInsertPosition = 'Selection' | 'Top' | 'Bottom'; -export type Version = "1.0" | "1.1" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6"; +export type Version = '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '1.5' | '1.6'; -export type TeamsCardWidth = "full"; +export type TeamsCardWidth = 'full'; -export type MentionType = "Person" | "Tag"; +export type MentionType = 'Person' | 'Tag'; /** * An Adaptive Card, containing a free-form body of card elements, and an optional set of actions. @@ -140,7 +138,7 @@ export interface IAdaptiveCard { /** * Must be **AdaptiveCard**. */ - readonly type: "AdaptiveCard"; + readonly type: 'AdaptiveCard'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -224,7 +222,7 @@ export interface IAdaptiveCard { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -250,10 +248,10 @@ export interface IAdaptiveCard { */ export function isAdaptiveCard(value: unknown): value is IAdaptiveCard { const obj = value as IAdaptiveCard; - return typeof obj === "object" && obj.type === "AdaptiveCard"; + return typeof obj === 'object' && obj.type === 'AdaptiveCard'; } -export type AdaptiveCardOptions = Partial>; +export type AdaptiveCardOptions = Partial>; /** * An Adaptive Card, containing a free-form body of card elements, and an optional set of actions. @@ -266,7 +264,7 @@ export class AdaptiveCard implements IAdaptiveCard { /** * Must be **AdaptiveCard**. */ - readonly type = "AdaptiveCard"; + readonly type = 'AdaptiveCard'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -318,7 +316,7 @@ export class AdaptiveCard implements IAdaptiveCard { /** * The Adaptive Card schema version the card is authored against. */ - version?: Version = "1.5"; + version?: Version = '1.5'; /** * The text that should be displayed if the client is not able to render the card. */ @@ -350,7 +348,7 @@ export class AdaptiveCard implements IAdaptiveCard { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -535,7 +533,7 @@ export interface IExecuteAction { /** * Must be **Action.Execute**. */ - readonly type: "Action.Execute"; + readonly type: 'Action.Execute'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -611,10 +609,10 @@ export interface IExecuteAction { */ export function isExecuteAction(value: unknown): value is IExecuteAction { const obj = value as IExecuteAction; - return typeof obj === "object" && obj.type === "Action.Execute"; + return typeof obj === 'object' && obj.type === 'Action.Execute'; } -export type ExecuteActionOptions = Partial>; +export type ExecuteActionOptions = Partial>; /** * Gathers input values, merges them with the data property if specified, and sends them to the Bot via an Invoke activity. The Bot can respond synchronously and return an updated Adaptive Card to be displayed by the client. Action.Execute works in all Adaptive Card hosts. @@ -627,7 +625,7 @@ export class ExecuteAction implements IExecuteAction { /** * Must be **Action.Execute**. */ - readonly type = "Action.Execute"; + readonly type = 'Action.Execute'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -649,11 +647,11 @@ export class ExecuteAction implements IExecuteAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -695,7 +693,7 @@ export class ExecuteAction implements IExecuteAction { Object.assign(this, options); } - static from(options: Omit): ExecuteAction { + static from(options: Omit): ExecuteAction { return new ExecuteAction(options); } @@ -791,7 +789,7 @@ export interface IInsertImageAction { /** * Must be **Action.InsertImage**. */ - readonly type: "Action.InsertImage"; + readonly type: 'Action.InsertImage'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -863,10 +861,10 @@ export interface IInsertImageAction { */ export function isInsertImageAction(value: unknown): value is IInsertImageAction { const obj = value as IInsertImageAction; - return typeof obj === "object" && obj.type === "Action.InsertImage"; + return typeof obj === 'object' && obj.type === 'Action.InsertImage'; } -export type InsertImageActionOptions = Partial>; +export type InsertImageActionOptions = Partial>; /** * Inserts an image into the host application's canvas. @@ -879,7 +877,7 @@ export class InsertImageAction implements IInsertImageAction { /** * Must be **Action.InsertImage**. */ - readonly type = "Action.InsertImage"; + readonly type = 'Action.InsertImage'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -901,11 +899,11 @@ export class InsertImageAction implements IInsertImageAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -933,7 +931,7 @@ export class InsertImageAction implements IInsertImageAction { /** * The position at which to insert the image. */ - insertPosition?: ImageInsertPosition = "Selection"; + insertPosition?: ImageInsertPosition = 'Selection'; /** * An alternate action to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -943,7 +941,7 @@ export class InsertImageAction implements IInsertImageAction { Object.assign(this, options); } - static from(options: Omit): InsertImageAction { + static from(options: Omit): InsertImageAction { return new InsertImageAction(options); } @@ -1034,7 +1032,7 @@ export interface IOpenUrlAction { /** * Must be **Action.OpenUrl**. */ - readonly type: "Action.OpenUrl"; + readonly type: 'Action.OpenUrl'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1098,10 +1096,10 @@ export interface IOpenUrlAction { */ export function isOpenUrlAction(value: unknown): value is IOpenUrlAction { const obj = value as IOpenUrlAction; - return typeof obj === "object" && obj.type === "Action.OpenUrl"; + return typeof obj === 'object' && obj.type === 'Action.OpenUrl'; } -export type OpenUrlActionOptions = Partial>; +export type OpenUrlActionOptions = Partial>; /** * Opens the provided URL in either a separate browser tab or within the host application. @@ -1114,7 +1112,7 @@ export class OpenUrlAction implements IOpenUrlAction { /** * Must be **Action.OpenUrl**. */ - readonly type = "Action.OpenUrl"; + readonly type = 'Action.OpenUrl'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1136,11 +1134,11 @@ export class OpenUrlAction implements IOpenUrlAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -1171,7 +1169,7 @@ export class OpenUrlAction implements IOpenUrlAction { this.url = url; } - static from(options: Omit): OpenUrlAction { + static from(options: Omit): OpenUrlAction { return new OpenUrlAction(options.url, options); } @@ -1252,7 +1250,7 @@ export interface IOpenUrlDialogAction { /** * Must be **Action.OpenUrlDialog**. */ - readonly type: "Action.OpenUrlDialog"; + readonly type: 'Action.OpenUrlDialog'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1302,11 +1300,11 @@ export interface IOpenUrlDialogAction { /** * The height of the dialog. To define height as a number of pixels, use the px format. */ - dialogHeight?: "small" | "medium" | "large" | string; + dialogHeight?: 'small' | 'medium' | 'large' | string; /** * The width of the dialog. To define width as a number of pixels, use the px format. */ - dialogWidth?: "small" | "medium" | "large" | string; + dialogWidth?: 'small' | 'medium' | 'large' | string; /** * The URL to open. */ @@ -1328,10 +1326,10 @@ export interface IOpenUrlDialogAction { */ export function isOpenUrlDialogAction(value: unknown): value is IOpenUrlDialogAction { const obj = value as IOpenUrlDialogAction; - return typeof obj === "object" && obj.type === "Action.OpenUrlDialog"; + return typeof obj === 'object' && obj.type === 'Action.OpenUrlDialog'; } -export type OpenUrlDialogActionOptions = Partial>; +export type OpenUrlDialogActionOptions = Partial>; /** * Opens a task module in a modal dialog hosting the content at a provided URL. @@ -1344,7 +1342,7 @@ export class OpenUrlDialogAction implements IOpenUrlDialogAction { /** * Must be **Action.OpenUrlDialog**. */ - readonly type = "Action.OpenUrlDialog"; + readonly type = 'Action.OpenUrlDialog'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1366,11 +1364,11 @@ export class OpenUrlDialogAction implements IOpenUrlDialogAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -1394,11 +1392,11 @@ export class OpenUrlDialogAction implements IOpenUrlDialogAction { /** * The height of the dialog. To define height as a number of pixels, use the px format. */ - dialogHeight?: "small" | "medium" | "large" | string; + dialogHeight?: 'small' | 'medium' | 'large' | string; /** * The width of the dialog. To define width as a number of pixels, use the px format. */ - dialogWidth?: "small" | "medium" | "large" | string; + dialogWidth?: 'small' | 'medium' | 'large' | string; /** * The URL to open. */ @@ -1412,7 +1410,7 @@ export class OpenUrlDialogAction implements IOpenUrlDialogAction { Object.assign(this, options); } - static from(options: Omit): OpenUrlDialogAction { + static from(options: Omit): OpenUrlDialogAction { return new OpenUrlDialogAction(options); } @@ -1476,12 +1474,12 @@ export class OpenUrlDialogAction implements IOpenUrlDialogAction { return this; } - withDialogHeight(dialogHeight: "small" | "medium" | "large" | string): this { + withDialogHeight(dialogHeight: 'small' | 'medium' | 'large' | string): this { this.dialogHeight = dialogHeight; return this; } - withDialogWidth(dialogWidth: "small" | "medium" | "large" | string): this { + withDialogWidth(dialogWidth: 'small' | 'medium' | 'large' | string): this { this.dialogWidth = dialogWidth; return this; } @@ -1508,7 +1506,7 @@ export interface IResetInputsAction { /** * Must be **Action.ResetInputs**. */ - readonly type: "Action.ResetInputs"; + readonly type: 'Action.ResetInputs'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1572,10 +1570,10 @@ export interface IResetInputsAction { */ export function isResetInputsAction(value: unknown): value is IResetInputsAction { const obj = value as IResetInputsAction; - return typeof obj === "object" && obj.type === "Action.ResetInputs"; + return typeof obj === 'object' && obj.type === 'Action.ResetInputs'; } -export type ResetInputsActionOptions = Partial>; +export type ResetInputsActionOptions = Partial>; /** * Resets the values of the inputs in the card. @@ -1588,7 +1586,7 @@ export class ResetInputsAction implements IResetInputsAction { /** * Must be **Action.ResetInputs**. */ - readonly type = "Action.ResetInputs"; + readonly type = 'Action.ResetInputs'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1610,11 +1608,11 @@ export class ResetInputsAction implements IResetInputsAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -1644,7 +1642,7 @@ export class ResetInputsAction implements IResetInputsAction { Object.assign(this, options); } - static from(options: Omit): ResetInputsAction { + static from(options: Omit): ResetInputsAction { return new ResetInputsAction(options); } @@ -1725,7 +1723,7 @@ export interface ISubmitAction { /** * Must be **Action.Submit**. */ - readonly type: "Action.Submit"; + readonly type: 'Action.Submit'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1801,10 +1799,10 @@ export interface ISubmitAction { */ export function isSubmitAction(value: unknown): value is ISubmitAction { const obj = value as ISubmitAction; - return typeof obj === "object" && obj.type === "Action.Submit"; + return typeof obj === 'object' && obj.type === 'Action.Submit'; } -export type SubmitActionOptions = Partial>; +export type SubmitActionOptions = Partial>; /** * Gathers input values, merges them with the data property if specified, and sends them to the Bot via an Invoke activity. The Bot can only acknowledge is has received the request. @@ -1817,7 +1815,7 @@ export class SubmitAction implements ISubmitAction { /** * Must be **Action.Submit**. */ - readonly type = "Action.Submit"; + readonly type = 'Action.Submit'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -1839,11 +1837,11 @@ export class SubmitAction implements ISubmitAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -1885,7 +1883,7 @@ export class SubmitAction implements ISubmitAction { Object.assign(this, options); } - static from(options: Omit): SubmitAction { + static from(options: Omit): SubmitAction { return new SubmitAction(options); } @@ -1981,7 +1979,7 @@ export interface IToggleVisibilityAction { /** * Must be **Action.ToggleVisibility**. */ - readonly type: "Action.ToggleVisibility"; + readonly type: 'Action.ToggleVisibility'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2045,10 +2043,10 @@ export interface IToggleVisibilityAction { */ export function isToggleVisibilityAction(value: unknown): value is IToggleVisibilityAction { const obj = value as IToggleVisibilityAction; - return typeof obj === "object" && obj.type === "Action.ToggleVisibility"; + return typeof obj === 'object' && obj.type === 'Action.ToggleVisibility'; } -export type ToggleVisibilityActionOptions = Partial>; +export type ToggleVisibilityActionOptions = Partial>; /** * Toggles the visibility of a set of elements. Action.ToggleVisibility is useful for creating "Show more" type UI patterns. @@ -2061,7 +2059,7 @@ export class ToggleVisibilityAction implements IToggleVisibilityAction { /** * Must be **Action.ToggleVisibility**. */ - readonly type = "Action.ToggleVisibility"; + readonly type = 'Action.ToggleVisibility'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2083,11 +2081,11 @@ export class ToggleVisibilityAction implements IToggleVisibilityAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -2117,7 +2115,7 @@ export class ToggleVisibilityAction implements IToggleVisibilityAction { Object.assign(this, options); } - static from(options: Omit): ToggleVisibilityAction { + static from(options: Omit): ToggleVisibilityAction { return new ToggleVisibilityAction(options); } @@ -2219,7 +2217,7 @@ export class ThemedUrl implements IThemedUrl { /** * The theme this URL applies to. */ - theme?: ThemeName = "Light"; + theme?: ThemeName = 'Light'; /** * The URL to use for the associated theme. */ @@ -2309,7 +2307,7 @@ export interface IShowCardAction { /** * Must be **Action.ShowCard**. */ - readonly type: "Action.ShowCard"; + readonly type: 'Action.ShowCard'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2373,10 +2371,10 @@ export interface IShowCardAction { */ export function isShowCardAction(value: unknown): value is IShowCardAction { const obj = value as IShowCardAction; - return typeof obj === "object" && obj.type === "Action.ShowCard"; + return typeof obj === 'object' && obj.type === 'Action.ShowCard'; } -export type ShowCardActionOptions = Partial>; +export type ShowCardActionOptions = Partial>; /** * Expands or collapses an embedded card within the main card. @@ -2389,7 +2387,7 @@ export class ShowCardAction implements IShowCardAction { /** * Must be **Action.ShowCard**. */ - readonly type = "Action.ShowCard"; + readonly type = 'Action.ShowCard'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2411,11 +2409,11 @@ export class ShowCardAction implements IShowCardAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -2445,7 +2443,7 @@ export class ShowCardAction implements IShowCardAction { Object.assign(this, options); } - static from(options: Omit): ShowCardAction { + static from(options: Omit): ShowCardAction { return new ShowCardAction(options); } @@ -2526,7 +2524,7 @@ export interface IPopoverAction { /** * Must be **Action.Popover**. */ - readonly type: "Action.Popover"; + readonly type: 'Action.Popover'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2598,10 +2596,10 @@ export interface IPopoverAction { */ export function isPopoverAction(value: unknown): value is IPopoverAction { const obj = value as IPopoverAction; - return typeof obj === "object" && obj.type === "Action.Popover"; + return typeof obj === 'object' && obj.type === 'Action.Popover'; } -export type PopoverActionOptions = Partial>; +export type PopoverActionOptions = Partial>; /** * Shows a popover to display more information to the user. @@ -2614,7 +2612,7 @@ export class PopoverAction implements IPopoverAction { /** * Must be **Action.Popover**. */ - readonly type = "Action.Popover"; + readonly type = 'Action.Popover'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2636,11 +2634,11 @@ export class PopoverAction implements IPopoverAction { /** * Control the style of the action, affecting its visual and spoken representations. */ - style?: ActionStyle = "default"; + style?: ActionStyle = 'default'; /** * Controls if the action is primary or secondary. Secondary actions appear in an overflow menu. */ - mode?: ActionMode = "primary"; + mode?: ActionMode = 'primary'; /** * The tooltip text to display when the action is hovered over. */ @@ -2664,7 +2662,7 @@ export class PopoverAction implements IPopoverAction { /** * Controls where the popover should be displayed with regards to the element that triggered it. */ - position?: PopoverPosition = "Above"; + position?: PopoverPosition = 'Above'; /** * The maximum width of the popover in pixels, in the `px` format */ @@ -2678,7 +2676,7 @@ export class PopoverAction implements IPopoverAction { Object.assign(this, options); } - static from(options: Omit): PopoverAction { + static from(options: Omit): PopoverAction { return new PopoverAction(options); } @@ -2769,7 +2767,7 @@ export interface IActionSet { /** * Must be **ActionSet**. */ - readonly type: "ActionSet"; + readonly type: 'ActionSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2813,7 +2811,7 @@ export interface IActionSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -2835,10 +2833,10 @@ export interface IActionSet { */ export function isActionSet(value: unknown): value is IActionSet { const obj = value as IActionSet; - return typeof obj === "object" && obj.type === "ActionSet"; + return typeof obj === 'object' && obj.type === 'ActionSet'; } -export type ActionSetOptions = Partial>; +export type ActionSetOptions = Partial>; /** * Displays a set of action, which can be placed anywhere in the card. @@ -2851,7 +2849,7 @@ export class ActionSet implements IActionSet { /** * Must be **ActionSet**. */ - readonly type = "ActionSet"; + readonly type = 'ActionSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -2875,7 +2873,7 @@ export class ActionSet implements IActionSet { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -2883,7 +2881,7 @@ export class ActionSet implements IActionSet { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -2895,7 +2893,7 @@ export class ActionSet implements IActionSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -2991,7 +2989,7 @@ export interface IContainer { /** * Must be **Container**. */ - readonly type: "Container"; + readonly type: 'Container'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -3079,7 +3077,7 @@ export interface IContainer { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -3101,10 +3099,10 @@ export interface IContainer { */ export function isContainer(value: unknown): value is IContainer { const obj = value as IContainer; - return typeof obj === "object" && obj.type === "Container"; + return typeof obj === 'object' && obj.type === 'Container'; } -export type ContainerOptions = Partial>; +export type ContainerOptions = Partial>; /** * A container for other elements. Use containers for styling purposes and/or to logically group a set of elements together, which can be especially useful when used with Action.ToggleVisibility. @@ -3117,7 +3115,7 @@ export class Container implements IContainer { /** * Must be **Container**. */ - readonly type = "Container"; + readonly type = 'Container'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -3141,7 +3139,7 @@ export class Container implements IContainer { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -3149,7 +3147,7 @@ export class Container implements IContainer { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -3205,7 +3203,7 @@ export class Container implements IContainer { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -3356,7 +3354,7 @@ export interface IStackLayout { /** * Must be **Layout.Stack**. */ - readonly type: "Layout.Stack"; + readonly type: 'Layout.Stack'; /** * Controls for which card width the layout should be used. */ @@ -3374,10 +3372,10 @@ export interface IStackLayout { */ export function isStackLayout(value: unknown): value is IStackLayout { const obj = value as IStackLayout; - return typeof obj === "object" && obj.type === "Layout.Stack"; + return typeof obj === 'object' && obj.type === 'Layout.Stack'; } -export type StackLayoutOptions = Partial>; +export type StackLayoutOptions = Partial>; /** * A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers. @@ -3390,7 +3388,7 @@ export class StackLayout implements IStackLayout { /** * Must be **Layout.Stack**. */ - readonly type = "Layout.Stack"; + readonly type = 'Layout.Stack'; /** * Controls for which card width the layout should be used. */ @@ -3400,7 +3398,7 @@ export class StackLayout implements IStackLayout { Object.assign(this, options); } - static from(options: Omit): StackLayout { + static from(options: Omit): StackLayout { return new StackLayout(options); } @@ -3426,7 +3424,7 @@ export interface IFlowLayout { /** * Must be **Layout.Flow**. */ - readonly type: "Layout.Flow"; + readonly type: 'Layout.Flow'; /** * Controls for which card width the layout should be used. */ @@ -3476,10 +3474,10 @@ export interface IFlowLayout { */ export function isFlowLayout(value: unknown): value is IFlowLayout { const obj = value as IFlowLayout; - return typeof obj === "object" && obj.type === "Layout.Flow"; + return typeof obj === 'object' && obj.type === 'Layout.Flow'; } -export type FlowLayoutOptions = Partial>; +export type FlowLayoutOptions = Partial>; /** * A layout that spreads elements horizontally and wraps them across multiple rows, as needed. @@ -3492,7 +3490,7 @@ export class FlowLayout implements IFlowLayout { /** * Must be **Layout.Flow**. */ - readonly type = "Layout.Flow"; + readonly type = 'Layout.Flow'; /** * Controls for which card width the layout should be used. */ @@ -3500,15 +3498,15 @@ export class FlowLayout implements IFlowLayout { /** * Controls how the content of the container should be horizontally aligned. */ - horizontalItemsAlignment?: HorizontalAlignment = "Center"; + horizontalItemsAlignment?: HorizontalAlignment = 'Center'; /** * Controls how the content of the container should be vertically aligned. */ - verticalItemsAlignment?: VerticalAlignment = "Top"; + verticalItemsAlignment?: VerticalAlignment = 'Top'; /** * Controls how item should fit inside the container. */ - itemFit?: FlowLayoutItemFit = "Fit"; + itemFit?: FlowLayoutItemFit = 'Fit'; /** * The minimum width, in pixels, of each item, in the `px` format. Should not be used if itemWidth is set. */ @@ -3524,17 +3522,17 @@ export class FlowLayout implements IFlowLayout { /** * The space between items. */ - columnSpacing?: Spacing = "Default"; + columnSpacing?: Spacing = 'Default'; /** * The space between rows of items. */ - rowSpacing?: Spacing = "Default"; + rowSpacing?: Spacing = 'Default'; constructor(options: FlowLayoutOptions = {}) { Object.assign(this, options); } - static from(options: Omit): FlowLayout { + static from(options: Omit): FlowLayout { return new FlowLayout(options); } @@ -3600,7 +3598,7 @@ export interface IAreaGridLayout { /** * Must be **Layout.AreaGrid**. */ - readonly type: "Layout.AreaGrid"; + readonly type: 'Layout.AreaGrid'; /** * Controls for which card width the layout should be used. */ @@ -3634,10 +3632,10 @@ export interface IAreaGridLayout { */ export function isAreaGridLayout(value: unknown): value is IAreaGridLayout { const obj = value as IAreaGridLayout; - return typeof obj === "object" && obj.type === "Layout.AreaGrid"; + return typeof obj === 'object' && obj.type === 'Layout.AreaGrid'; } -export type AreaGridLayoutOptions = Partial>; +export type AreaGridLayoutOptions = Partial>; /** * A layout that divides a container into named areas into which elements can be placed. @@ -3650,7 +3648,7 @@ export class AreaGridLayout implements IAreaGridLayout { /** * Must be **Layout.AreaGrid**. */ - readonly type = "Layout.AreaGrid"; + readonly type = 'Layout.AreaGrid'; /** * Controls for which card width the layout should be used. */ @@ -3666,17 +3664,17 @@ export class AreaGridLayout implements IAreaGridLayout { /** * The space between columns. */ - columnSpacing?: Spacing = "Default"; + columnSpacing?: Spacing = 'Default'; /** * The space between rows. */ - rowSpacing?: Spacing = "Default"; + rowSpacing?: Spacing = 'Default'; constructor(options: AreaGridLayoutOptions = {}) { Object.assign(this, options); } - static from(options: Omit): AreaGridLayout { + static from(options: Omit): AreaGridLayout { return new AreaGridLayout(options); } @@ -3860,15 +3858,15 @@ export class BackgroundImage implements IBackgroundImage { /** * Controls how the image should fill the area. */ - fillMode?: FillMode = "Cover"; + fillMode?: FillMode = 'Cover'; /** * Controls how the image should be aligned if it must be cropped or if using repeat fill mode. */ - horizontalAlignment?: HorizontalAlignment = "Left"; + horizontalAlignment?: HorizontalAlignment = 'Left'; /** * Controls how the image should be aligned if it must be cropped or if using repeat fill mode. */ - verticalAlignment?: VerticalAlignment = "Top"; + verticalAlignment?: VerticalAlignment = 'Top'; /** * A set of theme-specific image URLs. */ @@ -3924,7 +3922,7 @@ export interface IColumnSet { /** * Must be **ColumnSet**. */ - readonly type: "ColumnSet"; + readonly type: 'ColumnSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -3992,11 +3990,11 @@ export interface IColumnSet { /** * The minimum width of the column set. `auto` will automatically adjust the column set's minimum width according to its content and using the `px` format will give the column set an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. */ - minWidth?: "auto" | string; + minWidth?: 'auto' | string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4018,10 +4016,10 @@ export interface IColumnSet { */ export function isColumnSet(value: unknown): value is IColumnSet { const obj = value as IColumnSet; - return typeof obj === "object" && obj.type === "ColumnSet"; + return typeof obj === 'object' && obj.type === 'ColumnSet'; } -export type ColumnSetOptions = Partial>; +export type ColumnSetOptions = Partial>; /** * Splits the available horizontal space into separate columns, so elements can be organized in a row. @@ -4034,7 +4032,7 @@ export class ColumnSet implements IColumnSet { /** * Must be **ColumnSet**. */ - readonly type = "ColumnSet"; + readonly type = 'ColumnSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4058,7 +4056,7 @@ export class ColumnSet implements IColumnSet { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -4066,7 +4064,7 @@ export class ColumnSet implements IColumnSet { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -4102,11 +4100,11 @@ export class ColumnSet implements IColumnSet { /** * The minimum width of the column set. `auto` will automatically adjust the column set's minimum width according to its content and using the `px` format will give the column set an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. */ - minWidth?: "auto" | string; + minWidth?: 'auto' | string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4120,7 +4118,7 @@ export class ColumnSet implements IColumnSet { Object.assign(this, options); } - static from(options: Omit): ColumnSet { + static from(options: Omit): ColumnSet { return new ColumnSet(options); } @@ -4209,7 +4207,7 @@ export class ColumnSet implements IColumnSet { return this; } - withMinWidth(minWidth: "auto" | string): this { + withMinWidth(minWidth: 'auto' | string): this { this.minWidth = minWidth; return this; } @@ -4236,7 +4234,7 @@ export interface IMedia { /** * Must be **Media**. */ - readonly type: "Media"; + readonly type: 'Media'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4292,7 +4290,7 @@ export interface IMedia { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4310,10 +4308,10 @@ export interface IMedia { */ export function isMedia(value: unknown): value is IMedia { const obj = value as IMedia; - return typeof obj === "object" && obj.type === "Media"; + return typeof obj === 'object' && obj.type === 'Media'; } -export type MediaOptions = Partial>; +export type MediaOptions = Partial>; /** * A media element, that makes it possible to embed videos inside a card. @@ -4326,7 +4324,7 @@ export class Media implements IMedia { /** * Must be **Media**. */ - readonly type = "Media"; + readonly type = 'Media'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4350,11 +4348,11 @@ export class Media implements IMedia { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -4382,7 +4380,7 @@ export class Media implements IMedia { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4392,7 +4390,7 @@ export class Media implements IMedia { Object.assign(this, options); } - static from(options: Omit): Media { + static from(options: Omit): Media { return new Media(options); } @@ -4620,7 +4618,7 @@ export interface IRichTextBlock { /** * Must be **RichTextBlock**. */ - readonly type: "RichTextBlock"; + readonly type: 'RichTextBlock'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4668,7 +4666,7 @@ export interface IRichTextBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4690,10 +4688,10 @@ export interface IRichTextBlock { */ export function isRichTextBlock(value: unknown): value is IRichTextBlock { const obj = value as IRichTextBlock; - return typeof obj === "object" && obj.type === "RichTextBlock"; + return typeof obj === 'object' && obj.type === 'RichTextBlock'; } -export type RichTextBlockOptions = Partial>; +export type RichTextBlockOptions = Partial>; /** * A rich text block that displays formatted text. @@ -4706,7 +4704,7 @@ export class RichTextBlock implements IRichTextBlock { /** * Must be **RichTextBlock**. */ - readonly type = "RichTextBlock"; + readonly type = 'RichTextBlock'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4730,7 +4728,7 @@ export class RichTextBlock implements IRichTextBlock { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -4738,7 +4736,7 @@ export class RichTextBlock implements IRichTextBlock { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -4754,7 +4752,7 @@ export class RichTextBlock implements IRichTextBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4768,7 +4766,7 @@ export class RichTextBlock implements IRichTextBlock { Object.assign(this, options); } - static from(options: Omit): RichTextBlock { + static from(options: Omit): RichTextBlock { return new RichTextBlock(options); } @@ -4854,7 +4852,7 @@ export interface ITable { /** * Must be **Table**. */ - readonly type: "Table"; + readonly type: 'Table'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -4914,7 +4912,7 @@ export interface ITable { /** * The minimum width of the table in pixels. `auto` will automatically adjust the table's minimum width according to its content and using the `px` format will give the table an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. */ - minWidth?: "auto" | string; + minWidth?: 'auto' | string; /** * Controls whether the first row of the table should be treated as a header. */ @@ -4938,7 +4936,7 @@ export interface ITable { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -4960,10 +4958,10 @@ export interface ITable { */ export function isTable(value: unknown): value is ITable { const obj = value as ITable; - return typeof obj === "object" && obj.type === "Table"; + return typeof obj === 'object' && obj.type === 'Table'; } -export type TableOptions = Partial>; +export type TableOptions = Partial>; /** * Use tables to display data in a tabular way, with rows, columns and cells. @@ -4976,7 +4974,7 @@ export class Table implements ITable { /** * Must be **Table**. */ - readonly type = "Table"; + readonly type = 'Table'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5000,7 +4998,7 @@ export class Table implements ITable { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -5008,7 +5006,7 @@ export class Table implements ITable { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -5036,7 +5034,7 @@ export class Table implements ITable { /** * The minimum width of the table in pixels. `auto` will automatically adjust the table's minimum width according to its content and using the `px` format will give the table an explicit minimum width in pixels. A scrollbar will be displayed if the available width is less than the specified minimum width. */ - minWidth?: "auto" | string; + minWidth?: 'auto' | string; /** * Controls whether the first row of the table should be treated as a header. */ @@ -5060,7 +5058,7 @@ export class Table implements ITable { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5074,7 +5072,7 @@ export class Table implements ITable { Object.assign(this, options); } - static from(options: Omit): Table { + static from(options: Omit): Table { return new Table(options); } @@ -5153,7 +5151,7 @@ export class Table implements ITable { return this; } - withMinWidth(minWidth: "auto" | string): this { + withMinWidth(minWidth: 'auto' | string): this { this.minWidth = minWidth; return this; } @@ -5213,7 +5211,7 @@ export interface IColumnDefinition { /** * The width of the column in the table. If expressed as a number, represents the relative weight of the column in the table. If expressed as a string, `auto` will automatically adjust the column's width according to its content and using the `px` format will give the column an explicit width in pixels. */ - width?: "auto" | string | number; + width?: 'auto' | string | number; } @@ -5238,7 +5236,7 @@ export class ColumnDefinition implements IColumnDefinition { /** * The width of the column in the table. If expressed as a number, represents the relative weight of the column in the table. If expressed as a string, `auto` will automatically adjust the column's width according to its content and using the `px` format will give the column an explicit width in pixels. */ - width?: "auto" | string | number; + width?: 'auto' | string | number; constructor(options: ColumnDefinitionOptions = {}) { Object.assign(this, options); @@ -5263,7 +5261,7 @@ export class ColumnDefinition implements IColumnDefinition { return this; } - withWidth(width: "auto" | string | number): this { + withWidth(width: 'auto' | string | number): this { this.width = width; return this; } @@ -5280,7 +5278,7 @@ export interface ITextBlock { /** * Must be **TextBlock**. */ - readonly type: "TextBlock"; + readonly type: 'TextBlock'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5364,7 +5362,7 @@ export interface ITextBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5382,10 +5380,10 @@ export interface ITextBlock { */ export function isTextBlock(value: unknown): value is ITextBlock { const obj = value as ITextBlock; - return typeof obj === "object" && obj.type === "TextBlock"; + return typeof obj === 'object' && obj.type === 'TextBlock'; } -export type TextBlockOptions = Partial>; +export type TextBlockOptions = Partial>; /** * A block of text, optionally formatted using Markdown. @@ -5398,7 +5396,7 @@ export class TextBlock implements ITextBlock { /** * Must be **TextBlock**. */ - readonly type = "TextBlock"; + readonly type = 'TextBlock'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5422,7 +5420,7 @@ export class TextBlock implements ITextBlock { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -5430,7 +5428,7 @@ export class TextBlock implements ITextBlock { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -5482,7 +5480,7 @@ export class TextBlock implements ITextBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5493,7 +5491,7 @@ export class TextBlock implements ITextBlock { this.text = text; } - static from(options: Omit): TextBlock { + static from(options: Omit): TextBlock { return new TextBlock(options.text, options); } @@ -5619,7 +5617,7 @@ export interface IFactSet { /** * Must be **FactSet**. */ - readonly type: "FactSet"; + readonly type: 'FactSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5663,7 +5661,7 @@ export interface IFactSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5681,10 +5679,10 @@ export interface IFactSet { */ export function isFactSet(value: unknown): value is IFactSet { const obj = value as IFactSet; - return typeof obj === "object" && obj.type === "FactSet"; + return typeof obj === 'object' && obj.type === 'FactSet'; } -export type FactSetOptions = Partial>; +export type FactSetOptions = Partial>; /** * A set of facts, displayed as a table or a vertical list when horizontal space is constrained. @@ -5697,7 +5695,7 @@ export class FactSet implements IFactSet { /** * Must be **FactSet**. */ - readonly type = "FactSet"; + readonly type = 'FactSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5721,11 +5719,11 @@ export class FactSet implements IFactSet { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -5741,7 +5739,7 @@ export class FactSet implements IFactSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5892,7 +5890,7 @@ export interface IImageSet { /** * Must be **ImageSet**. */ - readonly type: "ImageSet"; + readonly type: 'ImageSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -5944,7 +5942,7 @@ export interface IImageSet { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -5962,10 +5960,10 @@ export interface IImageSet { */ export function isImageSet(value: unknown): value is IImageSet { const obj = value as IImageSet; - return typeof obj === "object" && obj.type === "ImageSet"; + return typeof obj === 'object' && obj.type === 'ImageSet'; } -export type ImageSetOptions = Partial>; +export type ImageSetOptions = Partial>; /** * A set of images, displayed side-by-side and wrapped across multiple rows as needed. @@ -5978,7 +5976,7 @@ export class ImageSet implements IImageSet { /** * Must be **ImageSet**. */ - readonly type = "ImageSet"; + readonly type = 'ImageSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6002,7 +6000,7 @@ export class ImageSet implements IImageSet { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -6010,7 +6008,7 @@ export class ImageSet implements IImageSet { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -6026,11 +6024,11 @@ export class ImageSet implements IImageSet { /** * The size to use to render all images in the set. */ - imageSize?: ImageSize = "Medium"; + imageSize?: ImageSize = 'Medium'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6127,7 +6125,7 @@ export interface IImage { /** * Must be **Image**. */ - readonly type: "Image"; + readonly type: 'Image'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6187,7 +6185,7 @@ export interface IImage { /** * The width of the image. */ - width?: "auto" | "stretch" | string; + width?: 'auto' | 'stretch' | string; /** * An Action that will be invoked when the image is tapped or clicked. Action.ShowCard is not supported. */ @@ -6219,11 +6217,11 @@ export interface IImage { /** * The height of the image. */ - height?: "auto" | "stretch" | string; + height?: 'auto' | 'stretch' | string; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6241,10 +6239,10 @@ export interface IImage { */ export function isImage(value: unknown): value is IImage { const obj = value as IImage; - return typeof obj === "object" && obj.type === "Image"; + return typeof obj === 'object' && obj.type === 'Image'; } -export type ImageOptions = Partial>; +export type ImageOptions = Partial>; /** * A standalone image element. @@ -6257,7 +6255,7 @@ export class Image implements IImage { /** * Must be **Image**. */ - readonly type = "Image"; + readonly type = 'Image'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6285,7 +6283,7 @@ export class Image implements IImage { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -6309,15 +6307,15 @@ export class Image implements IImage { /** * The style of the image. */ - style?: ImageStyle = "Default"; + style?: ImageStyle = 'Default'; /** * The size of the image. */ - size?: Size = "Auto"; + size?: Size = 'Auto'; /** * The width of the image. */ - width?: "auto" | "stretch" | string = "auto"; + width?: 'auto' | 'stretch' | string = 'auto'; /** * An Action that will be invoked when the image is tapped or clicked. Action.ShowCard is not supported. */ @@ -6337,23 +6335,23 @@ export class Image implements IImage { /** * Controls how the image should be fitted inside its bounding box. imageFit is only meaningful when both the width and height properties are set. When fitMode is set to contain, the default style is always used. */ - fitMode?: ImageFitMode = "Fill"; + fitMode?: ImageFitMode = 'Fill'; /** * Controls the horizontal position of the image within its bounding box. horizontalContentAlignment is only meaningful when both the width and height properties are set and fitMode is set to either cover or contain. */ - horizontalContentAlignment?: HorizontalAlignment = "Left"; + horizontalContentAlignment?: HorizontalAlignment = 'Left'; /** * Controls the vertical position of the image within its bounding box. verticalContentAlignment is only meaningful when both the width and height properties are set and fitMode is set to either cover or contain. */ - verticalContentAlignment?: VerticalAlignment = "Top"; + verticalContentAlignment?: VerticalAlignment = 'Top'; /** * The height of the image. */ - height?: "auto" | "stretch" | string = "auto"; + height?: 'auto' | 'stretch' | string = 'auto'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6364,7 +6362,7 @@ export class Image implements IImage { this.url = url; } - static from(options: Omit): Image { + static from(options: Omit): Image { return new Image(options.url, options); } @@ -6443,7 +6441,7 @@ export class Image implements IImage { return this; } - withWidth(width: "auto" | "stretch" | string): this { + withWidth(width: 'auto' | 'stretch' | string): this { this.width = width; return this; } @@ -6483,7 +6481,7 @@ export class Image implements IImage { return this; } - withHeight(height: "auto" | "stretch" | string): this { + withHeight(height: 'auto' | 'stretch' | string): this { this.height = height; return this; } @@ -6554,7 +6552,7 @@ export interface ITextInput { /** * Must be **Input.Text**. */ - readonly type: "Input.Text"; + readonly type: 'Input.Text'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6640,7 +6638,7 @@ export interface ITextInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6658,10 +6656,10 @@ export interface ITextInput { */ export function isTextInput(value: unknown): value is ITextInput { const obj = value as ITextInput; - return typeof obj === "object" && obj.type === "Input.Text"; + return typeof obj === 'object' && obj.type === 'Input.Text'; } -export type TextInputOptions = Partial>; +export type TextInputOptions = Partial>; /** * An input to allow the user to enter text. @@ -6674,7 +6672,7 @@ export class TextInput implements ITextInput { /** * Must be **Input.Text**. */ - readonly type = "Input.Text"; + readonly type = 'Input.Text'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6698,11 +6696,11 @@ export class TextInput implements ITextInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -6748,7 +6746,7 @@ export class TextInput implements ITextInput { /** * The style of the input. */ - style?: InputTextStyle = "Text"; + style?: InputTextStyle = 'Text'; /** * The action that should be displayed as a button alongside the input. Action.ShowCard is not supported. */ @@ -6760,7 +6758,7 @@ export class TextInput implements ITextInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6770,7 +6768,7 @@ export class TextInput implements ITextInput { Object.assign(this, options); } - static from(options: Omit): TextInput { + static from(options: Omit): TextInput { return new TextInput(options); } @@ -6896,7 +6894,7 @@ export interface IDateInput { /** * Must be **Input.Date**. */ - readonly type: "Input.Date"; + readonly type: 'Input.Date'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -6970,7 +6968,7 @@ export interface IDateInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -6988,10 +6986,10 @@ export interface IDateInput { */ export function isDateInput(value: unknown): value is IDateInput { const obj = value as IDateInput; - return typeof obj === "object" && obj.type === "Input.Date"; + return typeof obj === 'object' && obj.type === 'Input.Date'; } -export type DateInputOptions = Partial>; +export type DateInputOptions = Partial>; /** * An input to allow the user to select a date. @@ -7004,7 +7002,7 @@ export class DateInput implements IDateInput { /** * Must be **Input.Date**. */ - readonly type = "Input.Date"; + readonly type = 'Input.Date'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7028,11 +7026,11 @@ export class DateInput implements IDateInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -7078,7 +7076,7 @@ export class DateInput implements IDateInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7088,7 +7086,7 @@ export class DateInput implements IDateInput { Object.assign(this, options); } - static from(options: Omit): DateInput { + static from(options: Omit): DateInput { return new DateInput(options); } @@ -7199,7 +7197,7 @@ export interface ITimeInput { /** * Must be **Input.Time**. */ - readonly type: "Input.Time"; + readonly type: 'Input.Time'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7273,7 +7271,7 @@ export interface ITimeInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7291,10 +7289,10 @@ export interface ITimeInput { */ export function isTimeInput(value: unknown): value is ITimeInput { const obj = value as ITimeInput; - return typeof obj === "object" && obj.type === "Input.Time"; + return typeof obj === 'object' && obj.type === 'Input.Time'; } -export type TimeInputOptions = Partial>; +export type TimeInputOptions = Partial>; /** * An input to allow the user to select a time. @@ -7307,7 +7305,7 @@ export class TimeInput implements ITimeInput { /** * Must be **Input.Time**. */ - readonly type = "Input.Time"; + readonly type = 'Input.Time'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7331,11 +7329,11 @@ export class TimeInput implements ITimeInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -7381,7 +7379,7 @@ export class TimeInput implements ITimeInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7391,7 +7389,7 @@ export class TimeInput implements ITimeInput { Object.assign(this, options); } - static from(options: Omit): TimeInput { + static from(options: Omit): TimeInput { return new TimeInput(options); } @@ -7502,7 +7500,7 @@ export interface INumberInput { /** * Must be **Input.Number**. */ - readonly type: "Input.Number"; + readonly type: 'Input.Number'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7576,7 +7574,7 @@ export interface INumberInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7594,10 +7592,10 @@ export interface INumberInput { */ export function isNumberInput(value: unknown): value is INumberInput { const obj = value as INumberInput; - return typeof obj === "object" && obj.type === "Input.Number"; + return typeof obj === 'object' && obj.type === 'Input.Number'; } -export type NumberInputOptions = Partial>; +export type NumberInputOptions = Partial>; /** * An input to allow the user to enter a number. @@ -7610,7 +7608,7 @@ export class NumberInput implements INumberInput { /** * Must be **Input.Number**. */ - readonly type = "Input.Number"; + readonly type = 'Input.Number'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7634,11 +7632,11 @@ export class NumberInput implements INumberInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -7684,7 +7682,7 @@ export class NumberInput implements INumberInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7694,7 +7692,7 @@ export class NumberInput implements INumberInput { Object.assign(this, options); } - static from(options: Omit): NumberInput { + static from(options: Omit): NumberInput { return new NumberInput(options); } @@ -7805,7 +7803,7 @@ export interface IToggleInput { /** * Must be **Input.Toggle**. */ - readonly type: "Input.Toggle"; + readonly type: 'Input.Toggle'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7887,7 +7885,7 @@ export interface IToggleInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -7905,10 +7903,10 @@ export interface IToggleInput { */ export function isToggleInput(value: unknown): value is IToggleInput { const obj = value as IToggleInput; - return typeof obj === "object" && obj.type === "Input.Toggle"; + return typeof obj === 'object' && obj.type === 'Input.Toggle'; } -export type ToggleInputOptions = Partial>; +export type ToggleInputOptions = Partial>; /** * An input to allow the user to select between on/off states. @@ -7921,7 +7919,7 @@ export class ToggleInput implements IToggleInput { /** * Must be **Input.Toggle**. */ - readonly type = "Input.Toggle"; + readonly type = 'Input.Toggle'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -7945,11 +7943,11 @@ export class ToggleInput implements IToggleInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -7979,7 +7977,7 @@ export class ToggleInput implements IToggleInput { /** * The default value of the input. */ - value?: string = "false"; + value?: string = 'false'; /** * The title (caption) to display next to the toggle. */ @@ -7987,11 +7985,11 @@ export class ToggleInput implements IToggleInput { /** * The value to send to the Bot when the toggle is on. */ - valueOn?: string = "true"; + valueOn?: string = 'true'; /** * The value to send to the Bot when the toggle is off. */ - valueOff?: string = "false"; + valueOff?: string = 'false'; /** * Controls if the title should wrap. */ @@ -8003,7 +8001,7 @@ export class ToggleInput implements IToggleInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8014,7 +8012,7 @@ export class ToggleInput implements IToggleInput { this.title = title; } - static from(options: Omit): ToggleInput { + static from(options: Omit): ToggleInput { return new ToggleInput(options.title, options); } @@ -8135,7 +8133,7 @@ export interface IChoiceSetInput { /** * Must be **Input.ChoiceSet**. */ - readonly type: "Input.ChoiceSet"; + readonly type: 'Input.ChoiceSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8201,7 +8199,7 @@ export interface IChoiceSetInput { /** * A Data.Query object that defines the dataset from which to dynamically fetch the choices for the input. */ - "choices.data"?: IQueryData; + 'choices.data'?: IQueryData; /** * Controls whether the input should be displayed as a dropdown (compact) or a list of radio buttons or checkboxes (expanded). */ @@ -8229,7 +8227,7 @@ export interface IChoiceSetInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8247,10 +8245,10 @@ export interface IChoiceSetInput { */ export function isChoiceSetInput(value: unknown): value is IChoiceSetInput { const obj = value as IChoiceSetInput; - return typeof obj === "object" && obj.type === "Input.ChoiceSet"; + return typeof obj === 'object' && obj.type === 'Input.ChoiceSet'; } -export type ChoiceSetInputOptions = Partial>; +export type ChoiceSetInputOptions = Partial>; /** * An input to allow the user to select one or more values. @@ -8263,7 +8261,7 @@ export class ChoiceSetInput implements IChoiceSetInput { /** * Must be **Input.ChoiceSet**. */ - readonly type = "Input.ChoiceSet"; + readonly type = 'Input.ChoiceSet'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8287,11 +8285,11 @@ export class ChoiceSetInput implements IChoiceSetInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -8329,11 +8327,11 @@ export class ChoiceSetInput implements IChoiceSetInput { /** * A Data.Query object that defines the dataset from which to dynamically fetch the choices for the input. */ - "choices.data"?: IQueryData; + 'choices.data'?: IQueryData; /** * Controls whether the input should be displayed as a dropdown (compact) or a list of radio buttons or checkboxes (expanded). */ - style?: ChoiceSetInputStyle = "compact"; + style?: ChoiceSetInputStyle = 'compact'; /** * Controls whether multiple choices can be selected. */ @@ -8357,7 +8355,7 @@ export class ChoiceSetInput implements IChoiceSetInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8561,7 +8559,7 @@ export interface IQueryData { /** * Must be **Data.Query**. */ - readonly type: "Data.Query"; + readonly type: 'Data.Query'; /** * The dataset from which to fetch the data. */ @@ -8591,10 +8589,10 @@ export interface IQueryData { */ export function isQueryData(value: unknown): value is IQueryData { const obj = value as IQueryData; - return typeof obj === "object" && obj.type === "Data.Query"; + return typeof obj === 'object' && obj.type === 'Data.Query'; } -export type QueryDataOptions = Partial>; +export type QueryDataOptions = Partial>; /** * Defines a query to dynamically fetch data from a Bot. @@ -8607,7 +8605,7 @@ export class QueryData implements IQueryData { /** * Must be **Data.Query**. */ - readonly type = "Data.Query"; + readonly type = 'Data.Query'; /** * The dataset from which to fetch the data. */ @@ -8629,7 +8627,7 @@ export class QueryData implements IQueryData { Object.assign(this, options); } - static from(options: Omit): QueryData { + static from(options: Omit): QueryData { return new QueryData(options); } @@ -8670,7 +8668,7 @@ export interface IRatingInput { /** * Must be **Input.Rating**. */ - readonly type: "Input.Rating"; + readonly type: 'Input.Rating'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8748,7 +8746,7 @@ export interface IRatingInput { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8766,10 +8764,10 @@ export interface IRatingInput { */ export function isRatingInput(value: unknown): value is IRatingInput { const obj = value as IRatingInput; - return typeof obj === "object" && obj.type === "Input.Rating"; + return typeof obj === 'object' && obj.type === 'Input.Rating'; } -export type RatingInputOptions = Partial>; +export type RatingInputOptions = Partial>; /** * An input to allow the user to rate something using stars. @@ -8782,7 +8780,7 @@ export class RatingInput implements IRatingInput { /** * Must be **Input.Rating**. */ - readonly type = "Input.Rating"; + readonly type = 'Input.Rating'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -8806,11 +8804,11 @@ export class RatingInput implements IRatingInput { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -8852,15 +8850,15 @@ export class RatingInput implements IRatingInput { /** * The size of the stars. */ - size?: RatingSize = "Large"; + size?: RatingSize = 'Large'; /** * The color of the stars. */ - color?: RatingColor = "Neutral"; + color?: RatingColor = 'Neutral'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -8870,7 +8868,7 @@ export class RatingInput implements IRatingInput { Object.assign(this, options); } - static from(options: Omit): RatingInput { + static from(options: Omit): RatingInput { return new RatingInput(options); } @@ -8986,7 +8984,7 @@ export interface IRating { /** * Must be **Rating**. */ - readonly type: "Rating"; + readonly type: 'Rating'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9054,7 +9052,7 @@ export interface IRating { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9072,10 +9070,10 @@ export interface IRating { */ export function isRating(value: unknown): value is IRating { const obj = value as IRating; - return typeof obj === "object" && obj.type === "Rating"; + return typeof obj === 'object' && obj.type === 'Rating'; } -export type RatingOptions = Partial>; +export type RatingOptions = Partial>; /** * A read-only star rating element, to display the rating of something. @@ -9088,7 +9086,7 @@ export class Rating implements IRating { /** * Must be **Rating**. */ - readonly type = "Rating"; + readonly type = 'Rating'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9112,7 +9110,7 @@ export class Rating implements IRating { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -9120,7 +9118,7 @@ export class Rating implements IRating { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -9144,19 +9142,19 @@ export class Rating implements IRating { /** * The size of the stars. */ - size?: RatingSize = "Large"; + size?: RatingSize = 'Large'; /** * The color of the stars. */ - color?: RatingColor = "Neutral"; + color?: RatingColor = 'Neutral'; /** * The style of the stars. */ - style?: RatingStyle = "Default"; + style?: RatingStyle = 'Default'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9166,7 +9164,7 @@ export class Rating implements IRating { Object.assign(this, options); } - static from(options: Omit): Rating { + static from(options: Omit): Rating { return new Rating(options); } @@ -9272,7 +9270,7 @@ export interface ICompoundButton { /** * Must be **CompoundButton**. */ - readonly type: "CompoundButton"; + readonly type: 'CompoundButton'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9336,7 +9334,7 @@ export interface ICompoundButton { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9354,10 +9352,10 @@ export interface ICompoundButton { */ export function isCompoundButton(value: unknown): value is ICompoundButton { const obj = value as ICompoundButton; - return typeof obj === "object" && obj.type === "CompoundButton"; + return typeof obj === 'object' && obj.type === 'CompoundButton'; } -export type CompoundButtonOptions = Partial>; +export type CompoundButtonOptions = Partial>; /** * A special type of button with an icon, title and description. @@ -9370,7 +9368,7 @@ export class CompoundButton implements ICompoundButton { /** * Must be **CompoundButton**. */ - readonly type = "CompoundButton"; + readonly type = 'CompoundButton'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9394,7 +9392,7 @@ export class CompoundButton implements ICompoundButton { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -9402,7 +9400,7 @@ export class CompoundButton implements ICompoundButton { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -9434,7 +9432,7 @@ export class CompoundButton implements ICompoundButton { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9444,7 +9442,7 @@ export class CompoundButton implements ICompoundButton { Object.assign(this, options); } - static from(options: Omit): CompoundButton { + static from(options: Omit): CompoundButton { return new CompoundButton(options); } @@ -9578,15 +9576,15 @@ export class IconInfo implements IIconInfo { /** * The size of the icon. */ - size?: IconSize = "xSmall"; + size?: IconSize = 'xSmall'; /** * The style of the icon. */ - style?: IconStyle = "Regular"; + style?: IconStyle = 'Regular'; /** * The color of the icon. */ - color?: TextColor = "Default"; + color?: TextColor = 'Default'; constructor(options: IconInfoOptions = {}) { Object.assign(this, options); @@ -9633,7 +9631,7 @@ export interface IIcon { /** * Must be **Icon**. */ - readonly type: "Icon"; + readonly type: 'Icon'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9693,7 +9691,7 @@ export interface IIcon { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9711,10 +9709,10 @@ export interface IIcon { */ export function isIcon(value: unknown): value is IIcon { const obj = value as IIcon; - return typeof obj === "object" && obj.type === "Icon"; + return typeof obj === 'object' && obj.type === 'Icon'; } -export type IconOptions = Partial>; +export type IconOptions = Partial>; /** * A standalone icon element. Icons can be picked from the vast [Adaptive Card icon catalog](https://adaptivecards.microsoft.com/?topic=icon-catalog). @@ -9727,7 +9725,7 @@ export class Icon implements IIcon { /** * Must be **Icon**. */ - readonly type = "Icon"; + readonly type = 'Icon'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9755,7 +9753,7 @@ export class Icon implements IIcon { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -9771,15 +9769,15 @@ export class Icon implements IIcon { /** * The size of the icon. */ - size?: IconSize = "Standard"; + size?: IconSize = 'Standard'; /** * The style of the icon. */ - style?: IconStyle = "Regular"; + style?: IconStyle = 'Regular'; /** * The color of the icon. */ - color?: TextColor = "Default"; + color?: TextColor = 'Default'; /** * An Action that will be invoked when the icon is tapped or clicked. Action.ShowCard is not supported. */ @@ -9787,7 +9785,7 @@ export class Icon implements IIcon { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9798,7 +9796,7 @@ export class Icon implements IIcon { this.name = name; } - static from(options: Omit): Icon { + static from(options: Omit): Icon { return new Icon(options.name, options); } @@ -9894,7 +9892,7 @@ export interface ICarousel { /** * Must be **Carousel**. */ - readonly type: "Carousel"; + readonly type: 'Carousel'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -9946,7 +9944,7 @@ export interface ICarousel { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -9968,10 +9966,10 @@ export interface ICarousel { */ export function isCarousel(value: unknown): value is ICarousel { const obj = value as ICarousel; - return typeof obj === "object" && obj.type === "Carousel"; + return typeof obj === 'object' && obj.type === 'Carousel'; } -export type CarouselOptions = Partial>; +export type CarouselOptions = Partial>; /** * A carousel with sliding pages. @@ -9984,7 +9982,7 @@ export class Carousel implements ICarousel { /** * Must be **Carousel**. */ - readonly type = "Carousel"; + readonly type = 'Carousel'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10008,11 +10006,11 @@ export class Carousel implements ICarousel { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -10032,11 +10030,11 @@ export class Carousel implements ICarousel { /** * Controls the type of animation to use to navigate between pages. */ - pageAnimation?: CarouselPageAnimation = "Slide"; + pageAnimation?: CarouselPageAnimation = 'Slide'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10050,7 +10048,7 @@ export class Carousel implements ICarousel { Object.assign(this, options); } - static from(options: Omit): Carousel { + static from(options: Omit): Carousel { return new Carousel(options); } @@ -10141,7 +10139,7 @@ export interface IBadge { /** * Must be **Badge**. */ - readonly type: "Badge"; + readonly type: 'Badge'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10217,7 +10215,7 @@ export interface IBadge { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10235,10 +10233,10 @@ export interface IBadge { */ export function isBadge(value: unknown): value is IBadge { const obj = value as IBadge; - return typeof obj === "object" && obj.type === "Badge"; + return typeof obj === 'object' && obj.type === 'Badge'; } -export type BadgeOptions = Partial>; +export type BadgeOptions = Partial>; /** * A badge element to show an icon and/or text in a compact form over a colored background. @@ -10251,7 +10249,7 @@ export class Badge implements IBadge { /** * Must be **Badge**. */ - readonly type = "Badge"; + readonly type = 'Badge'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10275,7 +10273,7 @@ export class Badge implements IBadge { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -10283,7 +10281,7 @@ export class Badge implements IBadge { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -10303,23 +10301,23 @@ export class Badge implements IBadge { /** * Controls the position of the icon. */ - iconPosition?: BadgeIconPosition = "Before"; + iconPosition?: BadgeIconPosition = 'Before'; /** * Controls the strength of the background color. */ - appearance?: BadgeAppearance = "Filled"; + appearance?: BadgeAppearance = 'Filled'; /** * The size of the badge. */ - size?: BadgeSize = "Medium"; + size?: BadgeSize = 'Medium'; /** * Controls the shape of the badge. */ - shape?: BadgeShape = "Circular"; + shape?: BadgeShape = 'Circular'; /** * The style of the badge. */ - style?: BadgeStyle = "Default"; + style?: BadgeStyle = 'Default'; /** * Controls the tooltip text to display when the badge is hovered over. */ @@ -10327,7 +10325,7 @@ export class Badge implements IBadge { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10337,7 +10335,7 @@ export class Badge implements IBadge { Object.assign(this, options); } - static from(options: Omit): Badge { + static from(options: Omit): Badge { return new Badge(options); } @@ -10453,7 +10451,7 @@ export interface IProgressRing { /** * Must be **ProgressRing**. */ - readonly type: "ProgressRing"; + readonly type: 'ProgressRing'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10509,7 +10507,7 @@ export interface IProgressRing { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10527,10 +10525,10 @@ export interface IProgressRing { */ export function isProgressRing(value: unknown): value is IProgressRing { const obj = value as IProgressRing; - return typeof obj === "object" && obj.type === "ProgressRing"; + return typeof obj === 'object' && obj.type === 'ProgressRing'; } -export type ProgressRingOptions = Partial>; +export type ProgressRingOptions = Partial>; /** * A spinning ring element, to indicate progress. @@ -10543,7 +10541,7 @@ export class ProgressRing implements IProgressRing { /** * Must be **ProgressRing**. */ - readonly type = "ProgressRing"; + readonly type = 'ProgressRing'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10567,7 +10565,7 @@ export class ProgressRing implements IProgressRing { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -10575,7 +10573,7 @@ export class ProgressRing implements IProgressRing { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -10591,15 +10589,15 @@ export class ProgressRing implements IProgressRing { /** * Controls the relative position of the label to the progress ring. */ - labelPosition?: ProgressRingLabelPosition = "Below"; + labelPosition?: ProgressRingLabelPosition = 'Below'; /** * The size of the progress ring. */ - size?: ProgressRingSize = "Medium"; + size?: ProgressRingSize = 'Medium'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10609,7 +10607,7 @@ export class ProgressRing implements IProgressRing { Object.assign(this, options); } - static from(options: Omit): ProgressRing { + static from(options: Omit): ProgressRing { return new ProgressRing(options); } @@ -10700,7 +10698,7 @@ export interface IProgressBar { /** * Must be **ProgressBar**. */ - readonly type: "ProgressBar"; + readonly type: 'ProgressBar'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10756,7 +10754,7 @@ export interface IProgressBar { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10774,10 +10772,10 @@ export interface IProgressBar { */ export function isProgressBar(value: unknown): value is IProgressBar { const obj = value as IProgressBar; - return typeof obj === "object" && obj.type === "ProgressBar"; + return typeof obj === 'object' && obj.type === 'ProgressBar'; } -export type ProgressBarOptions = Partial>; +export type ProgressBarOptions = Partial>; /** * A progress bar element, to represent a value within a range. @@ -10790,7 +10788,7 @@ export class ProgressBar implements IProgressBar { /** * Must be **ProgressBar**. */ - readonly type = "ProgressBar"; + readonly type = 'ProgressBar'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -10814,7 +10812,7 @@ export class ProgressBar implements IProgressBar { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -10822,7 +10820,7 @@ export class ProgressBar implements IProgressBar { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -10842,11 +10840,11 @@ export class ProgressBar implements IProgressBar { /** * The color of the progress bar. `color` has no effect when the `ProgressBar` is in indeterminate mode, in which case the "accent" color is always used. */ - color?: ProgressBarColor = "Accent"; + color?: ProgressBarColor = 'Accent'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -10856,7 +10854,7 @@ export class ProgressBar implements IProgressBar { Object.assign(this, options); } - static from(options: Omit): ProgressBar { + static from(options: Omit): ProgressBar { return new ProgressBar(options); } @@ -10947,7 +10945,7 @@ export interface IDonutChart { /** * Must be **Chart.Donut**. */ - readonly type: "Chart.Donut"; + readonly type: 'Chart.Donut'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11031,7 +11029,7 @@ export interface IDonutChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11049,10 +11047,10 @@ export interface IDonutChart { */ export function isDonutChart(value: unknown): value is IDonutChart { const obj = value as IDonutChart; - return typeof obj === "object" && obj.type === "Chart.Donut"; + return typeof obj === 'object' && obj.type === 'Chart.Donut'; } -export type DonutChartOptions = Partial>; +export type DonutChartOptions = Partial>; /** * A donut chart. @@ -11065,7 +11063,7 @@ export class DonutChart implements IDonutChart { /** * Must be **Chart.Donut**. */ - readonly type = "Chart.Donut"; + readonly type = 'Chart.Donut'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11089,7 +11087,7 @@ export class DonutChart implements IDonutChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -11097,7 +11095,7 @@ export class DonutChart implements IDonutChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -11149,7 +11147,7 @@ export class DonutChart implements IDonutChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11159,7 +11157,7 @@ export class DonutChart implements IDonutChart { Object.assign(this, options); } - static from(options: Omit): DonutChart { + static from(options: Omit): DonutChart { return new DonutChart(options); } @@ -11360,7 +11358,7 @@ export interface IPieChart { /** * Must be **Chart.Pie**. */ - readonly type: "Chart.Pie"; + readonly type: 'Chart.Pie'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11444,7 +11442,7 @@ export interface IPieChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11462,10 +11460,10 @@ export interface IPieChart { */ export function isPieChart(value: unknown): value is IPieChart { const obj = value as IPieChart; - return typeof obj === "object" && obj.type === "Chart.Pie"; + return typeof obj === 'object' && obj.type === 'Chart.Pie'; } -export type PieChartOptions = Partial>; +export type PieChartOptions = Partial>; /** * A pie chart. @@ -11478,7 +11476,7 @@ export class PieChart implements IPieChart { /** * Must be **Chart.Pie**. */ - readonly type = "Chart.Pie"; + readonly type = 'Chart.Pie'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11502,7 +11500,7 @@ export class PieChart implements IPieChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -11510,7 +11508,7 @@ export class PieChart implements IPieChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -11562,7 +11560,7 @@ export class PieChart implements IPieChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11572,7 +11570,7 @@ export class PieChart implements IPieChart { Object.assign(this, options); } - static from(options: Omit): PieChart { + static from(options: Omit): PieChart { return new PieChart(options); } @@ -11698,7 +11696,7 @@ export interface IGroupedVerticalBarChart { /** * Must be **Chart.VerticalBar.Grouped**. */ - readonly type: "Chart.VerticalBar.Grouped"; + readonly type: 'Chart.VerticalBar.Grouped'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11800,7 +11798,7 @@ export interface IGroupedVerticalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11818,10 +11816,10 @@ export interface IGroupedVerticalBarChart { */ export function isGroupedVerticalBarChart(value: unknown): value is IGroupedVerticalBarChart { const obj = value as IGroupedVerticalBarChart; - return typeof obj === "object" && obj.type === "Chart.VerticalBar.Grouped"; + return typeof obj === 'object' && obj.type === 'Chart.VerticalBar.Grouped'; } -export type GroupedVerticalBarChartOptions = Partial>; +export type GroupedVerticalBarChartOptions = Partial>; /** * A grouped vertical bar chart. @@ -11834,7 +11832,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * Must be **Chart.VerticalBar.Grouped**. */ - readonly type = "Chart.VerticalBar.Grouped"; + readonly type = 'Chart.VerticalBar.Grouped'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -11858,7 +11856,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -11866,7 +11864,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -11936,7 +11934,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -11946,7 +11944,7 @@ export class GroupedVerticalBarChart implements IGroupedVerticalBarChart { Object.assign(this, options); } - static from(options: Omit): GroupedVerticalBarChart { + static from(options: Omit): GroupedVerticalBarChart { return new GroupedVerticalBarChart(options); } @@ -12224,7 +12222,7 @@ export interface IVerticalBarChart { /** * Must be **Chart.VerticalBar**. */ - readonly type: "Chart.VerticalBar"; + readonly type: 'Chart.VerticalBar'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12316,7 +12314,7 @@ export interface IVerticalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12334,10 +12332,10 @@ export interface IVerticalBarChart { */ export function isVerticalBarChart(value: unknown): value is IVerticalBarChart { const obj = value as IVerticalBarChart; - return typeof obj === "object" && obj.type === "Chart.VerticalBar"; + return typeof obj === 'object' && obj.type === 'Chart.VerticalBar'; } -export type VerticalBarChartOptions = Partial>; +export type VerticalBarChartOptions = Partial>; /** * A vertical bar chart. @@ -12350,7 +12348,7 @@ export class VerticalBarChart implements IVerticalBarChart { /** * Must be **Chart.VerticalBar**. */ - readonly type = "Chart.VerticalBar"; + readonly type = 'Chart.VerticalBar'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12374,7 +12372,7 @@ export class VerticalBarChart implements IVerticalBarChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -12382,7 +12380,7 @@ export class VerticalBarChart implements IVerticalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -12442,7 +12440,7 @@ export class VerticalBarChart implements IVerticalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12452,7 +12450,7 @@ export class VerticalBarChart implements IVerticalBarChart { Object.assign(this, options); } - static from(options: Omit): VerticalBarChart { + static from(options: Omit): VerticalBarChart { return new VerticalBarChart(options); } @@ -12663,7 +12661,7 @@ export interface IHorizontalBarChart { /** * Must be **Chart.HorizontalBar**. */ - readonly type: "Chart.HorizontalBar"; + readonly type: 'Chart.HorizontalBar'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12747,7 +12745,7 @@ export interface IHorizontalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12765,10 +12763,10 @@ export interface IHorizontalBarChart { */ export function isHorizontalBarChart(value: unknown): value is IHorizontalBarChart { const obj = value as IHorizontalBarChart; - return typeof obj === "object" && obj.type === "Chart.HorizontalBar"; + return typeof obj === 'object' && obj.type === 'Chart.HorizontalBar'; } -export type HorizontalBarChartOptions = Partial>; +export type HorizontalBarChartOptions = Partial>; /** * A horizontal bar chart. @@ -12781,7 +12779,7 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * Must be **Chart.HorizontalBar**. */ - readonly type = "Chart.HorizontalBar"; + readonly type = 'Chart.HorizontalBar'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -12805,7 +12803,7 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -12813,7 +12811,7 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -12861,11 +12859,11 @@ export class HorizontalBarChart implements IHorizontalBarChart { /** * Controls how the chart should be visually laid out. */ - displayMode?: HorizontalBarChartDisplayMode = "AbsoluteWithAxis"; + displayMode?: HorizontalBarChartDisplayMode = 'AbsoluteWithAxis'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -12875,7 +12873,7 @@ export class HorizontalBarChart implements IHorizontalBarChart { Object.assign(this, options); } - static from(options: Omit): HorizontalBarChart { + static from(options: Omit): HorizontalBarChart { return new HorizontalBarChart(options); } @@ -13076,7 +13074,7 @@ export interface IStackedHorizontalBarChart { /** * Must be **Chart.HorizontalBar.Stacked**. */ - readonly type: "Chart.HorizontalBar.Stacked"; + readonly type: 'Chart.HorizontalBar.Stacked'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13156,7 +13154,7 @@ export interface IStackedHorizontalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -13174,10 +13172,10 @@ export interface IStackedHorizontalBarChart { */ export function isStackedHorizontalBarChart(value: unknown): value is IStackedHorizontalBarChart { const obj = value as IStackedHorizontalBarChart; - return typeof obj === "object" && obj.type === "Chart.HorizontalBar.Stacked"; + return typeof obj === 'object' && obj.type === 'Chart.HorizontalBar.Stacked'; } -export type StackedHorizontalBarChartOptions = Partial>; +export type StackedHorizontalBarChartOptions = Partial>; /** * A stacked horizontal bar chart. @@ -13190,7 +13188,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * Must be **Chart.HorizontalBar.Stacked**. */ - readonly type = "Chart.HorizontalBar.Stacked"; + readonly type = 'Chart.HorizontalBar.Stacked'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13214,7 +13212,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -13222,7 +13220,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -13270,7 +13268,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -13280,7 +13278,7 @@ export class StackedHorizontalBarChart implements IStackedHorizontalBarChart { Object.assign(this, options); } - static from(options: Omit): StackedHorizontalBarChart { + static from(options: Omit): StackedHorizontalBarChart { return new StackedHorizontalBarChart(options); } @@ -13538,7 +13536,7 @@ export interface ILineChart { /** * Must be **Chart.Line**. */ - readonly type: "Chart.Line"; + readonly type: 'Chart.Line'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13626,7 +13624,7 @@ export interface ILineChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -13644,10 +13642,10 @@ export interface ILineChart { */ export function isLineChart(value: unknown): value is ILineChart { const obj = value as ILineChart; - return typeof obj === "object" && obj.type === "Chart.Line"; + return typeof obj === 'object' && obj.type === 'Chart.Line'; } -export type LineChartOptions = Partial>; +export type LineChartOptions = Partial>; /** * A line chart. @@ -13660,7 +13658,7 @@ export class LineChart implements ILineChart { /** * Must be **Chart.Line**. */ - readonly type = "Chart.Line"; + readonly type = 'Chart.Line'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -13684,7 +13682,7 @@ export class LineChart implements ILineChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -13692,7 +13690,7 @@ export class LineChart implements ILineChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -13748,7 +13746,7 @@ export class LineChart implements ILineChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -13758,7 +13756,7 @@ export class LineChart implements ILineChart { Object.assign(this, options); } - static from(options: Omit): LineChart { + static from(options: Omit): LineChart { return new LineChart(options); } @@ -14034,7 +14032,7 @@ export interface IGaugeChart { /** * Must be **Chart.Gauge**. */ - readonly type: "Chart.Gauge"; + readonly type: 'Chart.Gauge'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14134,7 +14132,7 @@ export interface IGaugeChart { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14152,10 +14150,10 @@ export interface IGaugeChart { */ export function isGaugeChart(value: unknown): value is IGaugeChart { const obj = value as IGaugeChart; - return typeof obj === "object" && obj.type === "Chart.Gauge"; + return typeof obj === 'object' && obj.type === 'Chart.Gauge'; } -export type GaugeChartOptions = Partial>; +export type GaugeChartOptions = Partial>; /** * A gauge chart. @@ -14168,7 +14166,7 @@ export class GaugeChart implements IGaugeChart { /** * Must be **Chart.Gauge**. */ - readonly type = "Chart.Gauge"; + readonly type = 'Chart.Gauge'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14192,7 +14190,7 @@ export class GaugeChart implements IGaugeChart { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -14200,7 +14198,7 @@ export class GaugeChart implements IGaugeChart { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -14264,11 +14262,11 @@ export class GaugeChart implements IGaugeChart { /** * The format used to display the gauge's value. */ - valueFormat?: GaugeChartValueFormat = "Percentage"; + valueFormat?: GaugeChartValueFormat = 'Percentage'; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14278,7 +14276,7 @@ export class GaugeChart implements IGaugeChart { Object.assign(this, options); } - static from(options: Omit): GaugeChart { + static from(options: Omit): GaugeChart { return new GaugeChart(options); } @@ -14499,7 +14497,7 @@ export interface ICodeBlock { /** * Must be **CodeBlock**. */ - readonly type: "CodeBlock"; + readonly type: 'CodeBlock'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14555,7 +14553,7 @@ export interface ICodeBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14573,10 +14571,10 @@ export interface ICodeBlock { */ export function isCodeBlock(value: unknown): value is ICodeBlock { const obj = value as ICodeBlock; - return typeof obj === "object" && obj.type === "CodeBlock"; + return typeof obj === 'object' && obj.type === 'CodeBlock'; } -export type CodeBlockOptions = Partial>; +export type CodeBlockOptions = Partial>; /** * A formatted and syntax-colored code block. @@ -14589,7 +14587,7 @@ export class CodeBlock implements ICodeBlock { /** * Must be **CodeBlock**. */ - readonly type = "CodeBlock"; + readonly type = 'CodeBlock'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14613,7 +14611,7 @@ export class CodeBlock implements ICodeBlock { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -14621,7 +14619,7 @@ export class CodeBlock implements ICodeBlock { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -14637,7 +14635,7 @@ export class CodeBlock implements ICodeBlock { /** * The language the code snippet is expressed in. */ - language?: CodeLanguage = "PlainText"; + language?: CodeLanguage = 'PlainText'; /** * A number that represents the line in the file from where the code snippet was extracted. */ @@ -14645,7 +14643,7 @@ export class CodeBlock implements ICodeBlock { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14655,7 +14653,7 @@ export class CodeBlock implements ICodeBlock { Object.assign(this, options); } - static from(options: Omit): CodeBlock { + static from(options: Omit): CodeBlock { return new CodeBlock(options); } @@ -14746,7 +14744,7 @@ export interface IComUserMicrosoftGraphComponent { /** * Must be **Component**. */ - readonly type: "Component"; + readonly type: 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14790,7 +14788,7 @@ export interface IComUserMicrosoftGraphComponent { /** * Must be **graph.microsoft.com/user**. */ - readonly name: "graph.microsoft.com/user"; + readonly name: 'graph.microsoft.com/user'; /** * The properties of the Persona component. */ @@ -14798,7 +14796,7 @@ export interface IComUserMicrosoftGraphComponent { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14816,10 +14814,10 @@ export interface IComUserMicrosoftGraphComponent { */ export function isComUserMicrosoftGraphComponent(value: unknown): value is IComUserMicrosoftGraphComponent { const obj = value as IComUserMicrosoftGraphComponent; - return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/user"; + return typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/user'; } -export type ComUserMicrosoftGraphComponentOptions = Partial>; +export type ComUserMicrosoftGraphComponentOptions = Partial>; /** * Displays a user's information, including their profile picture. @@ -14832,7 +14830,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * Must be **Component**. */ - readonly type = "Component"; + readonly type = 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -14856,7 +14854,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -14864,7 +14862,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -14876,7 +14874,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * Must be **graph.microsoft.com/user**. */ - readonly name = "graph.microsoft.com/user"; + readonly name = 'graph.microsoft.com/user'; /** * The properties of the Persona component. */ @@ -14884,7 +14882,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -14894,7 +14892,7 @@ export class ComUserMicrosoftGraphComponent implements IComUserMicrosoftGraphCom Object.assign(this, options); } - static from(options: Omit): ComUserMicrosoftGraphComponent { + static from(options: Omit): ComUserMicrosoftGraphComponent { return new ComUserMicrosoftGraphComponent(options); } @@ -15076,7 +15074,7 @@ export interface IComUsersMicrosoftGraphComponent { /** * Must be **Component**. */ - readonly type: "Component"; + readonly type: 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15120,7 +15118,7 @@ export interface IComUsersMicrosoftGraphComponent { /** * Must be **graph.microsoft.com/users**. */ - readonly name: "graph.microsoft.com/users"; + readonly name: 'graph.microsoft.com/users'; /** * The properties of the PersonaSet component. */ @@ -15128,7 +15126,7 @@ export interface IComUsersMicrosoftGraphComponent { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15146,10 +15144,10 @@ export interface IComUsersMicrosoftGraphComponent { */ export function isComUsersMicrosoftGraphComponent(value: unknown): value is IComUsersMicrosoftGraphComponent { const obj = value as IComUsersMicrosoftGraphComponent; - return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/users"; + return typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/users'; } -export type ComUsersMicrosoftGraphComponentOptions = Partial>; +export type ComUsersMicrosoftGraphComponentOptions = Partial>; /** * Displays multiple users' information, including their profile pictures. @@ -15162,7 +15160,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * Must be **Component**. */ - readonly type = "Component"; + readonly type = 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15186,7 +15184,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -15194,7 +15192,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -15206,7 +15204,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * Must be **graph.microsoft.com/users**. */ - readonly name = "graph.microsoft.com/users"; + readonly name = 'graph.microsoft.com/users'; /** * The properties of the PersonaSet component. */ @@ -15214,7 +15212,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15224,7 +15222,7 @@ export class ComUsersMicrosoftGraphComponent implements IComUsersMicrosoftGraphC Object.assign(this, options); } - static from(options: Omit): ComUsersMicrosoftGraphComponent { + static from(options: Omit): ComUsersMicrosoftGraphComponent { return new ComUsersMicrosoftGraphComponent(options); } @@ -15380,7 +15378,7 @@ export interface IComResourceMicrosoftGraphComponent { /** * Must be **Component**. */ - readonly type: "Component"; + readonly type: 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15424,7 +15422,7 @@ export interface IComResourceMicrosoftGraphComponent { /** * Must be **graph.microsoft.com/resource**. */ - readonly name: "graph.microsoft.com/resource"; + readonly name: 'graph.microsoft.com/resource'; /** * The properties of the resource. */ @@ -15432,7 +15430,7 @@ export interface IComResourceMicrosoftGraphComponent { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15450,10 +15448,10 @@ export interface IComResourceMicrosoftGraphComponent { */ export function isComResourceMicrosoftGraphComponent(value: unknown): value is IComResourceMicrosoftGraphComponent { const obj = value as IComResourceMicrosoftGraphComponent; - return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/resource"; + return typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/resource'; } -export type ComResourceMicrosoftGraphComponentOptions = Partial>; +export type ComResourceMicrosoftGraphComponentOptions = Partial>; /** * Displays information about a generic graph resource. @@ -15466,7 +15464,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * Must be **Component**. */ - readonly type = "Component"; + readonly type = 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15490,7 +15488,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -15498,7 +15496,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -15510,7 +15508,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * Must be **graph.microsoft.com/resource**. */ - readonly name = "graph.microsoft.com/resource"; + readonly name = 'graph.microsoft.com/resource'; /** * The properties of the resource. */ @@ -15518,7 +15516,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15528,7 +15526,7 @@ export class ComResourceMicrosoftGraphComponent implements IComResourceMicrosoft Object.assign(this, options); } - static from(options: Omit): ComResourceMicrosoftGraphComponent { + static from(options: Omit): ComResourceMicrosoftGraphComponent { return new ComResourceMicrosoftGraphComponent(options); } @@ -15733,7 +15731,7 @@ export interface IComFileMicrosoftGraphComponent { /** * Must be **Component**. */ - readonly type: "Component"; + readonly type: 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15777,7 +15775,7 @@ export interface IComFileMicrosoftGraphComponent { /** * Must be **graph.microsoft.com/file**. */ - readonly name: "graph.microsoft.com/file"; + readonly name: 'graph.microsoft.com/file'; /** * The properties of the file. */ @@ -15785,7 +15783,7 @@ export interface IComFileMicrosoftGraphComponent { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15803,10 +15801,10 @@ export interface IComFileMicrosoftGraphComponent { */ export function isComFileMicrosoftGraphComponent(value: unknown): value is IComFileMicrosoftGraphComponent { const obj = value as IComFileMicrosoftGraphComponent; - return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/file"; + return typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/file'; } -export type ComFileMicrosoftGraphComponentOptions = Partial>; +export type ComFileMicrosoftGraphComponentOptions = Partial>; /** * Displays information about a file resource. @@ -15819,7 +15817,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * Must be **Component**. */ - readonly type = "Component"; + readonly type = 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -15843,7 +15841,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -15851,7 +15849,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -15863,7 +15861,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * Must be **graph.microsoft.com/file**. */ - readonly name = "graph.microsoft.com/file"; + readonly name = 'graph.microsoft.com/file'; /** * The properties of the file. */ @@ -15871,7 +15869,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -15881,7 +15879,7 @@ export class ComFileMicrosoftGraphComponent implements IComFileMicrosoftGraphCom Object.assign(this, options); } - static from(options: Omit): ComFileMicrosoftGraphComponent { + static from(options: Omit): ComFileMicrosoftGraphComponent { return new ComFileMicrosoftGraphComponent(options); } @@ -16037,7 +16035,7 @@ export interface IComEventMicrosoftGraphComponent { /** * Must be **Component**. */ - readonly type: "Component"; + readonly type: 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16081,7 +16079,7 @@ export interface IComEventMicrosoftGraphComponent { /** * Must be **graph.microsoft.com/event**. */ - readonly name: "graph.microsoft.com/event"; + readonly name: 'graph.microsoft.com/event'; /** * The properties of the event. */ @@ -16089,7 +16087,7 @@ export interface IComEventMicrosoftGraphComponent { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16107,10 +16105,10 @@ export interface IComEventMicrosoftGraphComponent { */ export function isComEventMicrosoftGraphComponent(value: unknown): value is IComEventMicrosoftGraphComponent { const obj = value as IComEventMicrosoftGraphComponent; - return typeof obj === "object" && obj.type === "Component" && obj.name === "graph.microsoft.com/event"; + return typeof obj === 'object' && obj.type === 'Component' && obj.name === 'graph.microsoft.com/event'; } -export type ComEventMicrosoftGraphComponentOptions = Partial>; +export type ComEventMicrosoftGraphComponentOptions = Partial>; /** * Displays information about a calendar event. @@ -16123,7 +16121,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * Must be **Component**. */ - readonly type = "Component"; + readonly type = 'Component'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16147,7 +16145,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -16155,7 +16153,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -16167,7 +16165,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * Must be **graph.microsoft.com/event**. */ - readonly name = "graph.microsoft.com/event"; + readonly name = 'graph.microsoft.com/event'; /** * The properties of the event. */ @@ -16175,7 +16173,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16185,7 +16183,7 @@ export class ComEventMicrosoftGraphComponent implements IComEventMicrosoftGraphC Object.assign(this, options); } - static from(options: Omit): ComEventMicrosoftGraphComponent { + static from(options: Omit): ComEventMicrosoftGraphComponent { return new ComEventMicrosoftGraphComponent(options); } @@ -16559,7 +16557,7 @@ export interface ICarouselPage { /** * Must be **CarouselPage**. */ - readonly type: "CarouselPage"; + readonly type: 'CarouselPage'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16631,7 +16629,7 @@ export interface ICarouselPage { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16653,10 +16651,10 @@ export interface ICarouselPage { */ export function isCarouselPage(value: unknown): value is ICarouselPage { const obj = value as ICarouselPage; - return typeof obj === "object" && obj.type === "CarouselPage"; + return typeof obj === 'object' && obj.type === 'CarouselPage'; } -export type CarouselPageOptions = Partial>; +export type CarouselPageOptions = Partial>; /** * A page inside a Carousel element. @@ -16669,7 +16667,7 @@ export class CarouselPage implements ICarouselPage { /** * Must be **CarouselPage**. */ - readonly type = "CarouselPage"; + readonly type = 'CarouselPage'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16689,7 +16687,7 @@ export class CarouselPage implements ICarouselPage { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -16741,7 +16739,7 @@ export class CarouselPage implements ICarouselPage { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16872,7 +16870,7 @@ export interface ITableRow { /** * Must be **TableRow**. */ - readonly type: "TableRow"; + readonly type: 'TableRow'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16936,7 +16934,7 @@ export interface ITableRow { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -16958,10 +16956,10 @@ export interface ITableRow { */ export function isTableRow(value: unknown): value is ITableRow { const obj = value as ITableRow; - return typeof obj === "object" && obj.type === "TableRow"; + return typeof obj === 'object' && obj.type === 'TableRow'; } -export type TableRowOptions = Partial>; +export type TableRowOptions = Partial>; /** * Represents a row of cells in a table. @@ -16974,7 +16972,7 @@ export class TableRow implements ITableRow { /** * Must be **TableRow**. */ - readonly type = "TableRow"; + readonly type = 'TableRow'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -16998,7 +16996,7 @@ export class TableRow implements ITableRow { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -17006,7 +17004,7 @@ export class TableRow implements ITableRow { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -17038,7 +17036,7 @@ export class TableRow implements ITableRow { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17052,7 +17050,7 @@ export class TableRow implements ITableRow { Object.assign(this, options); } - static from(options: Omit): TableRow { + static from(options: Omit): TableRow { return new TableRow(options); } @@ -17158,7 +17156,7 @@ export interface ITableCell { /** * Must be **TableCell**. */ - readonly type: "TableCell"; + readonly type: 'TableCell'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17234,7 +17232,7 @@ export interface ITableCell { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17256,10 +17254,10 @@ export interface ITableCell { */ export function isTableCell(value: unknown): value is ITableCell { const obj = value as ITableCell; - return typeof obj === "object" && obj.type === "TableCell"; + return typeof obj === 'object' && obj.type === 'TableCell'; } -export type TableCellOptions = Partial>; +export type TableCellOptions = Partial>; /** * Represents a cell in a table row. @@ -17272,7 +17270,7 @@ export class TableCell implements ITableCell { /** * Must be **TableCell**. */ - readonly type = "TableCell"; + readonly type = 'TableCell'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17296,11 +17294,11 @@ export class TableCell implements ITableCell { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -17348,7 +17346,7 @@ export class TableCell implements ITableCell { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17484,7 +17482,7 @@ export interface ITextRun { /** * Must be **TextRun**. */ - readonly type: "TextRun"; + readonly type: 'TextRun'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17548,7 +17546,7 @@ export interface ITextRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17566,10 +17564,10 @@ export interface ITextRun { */ export function isTextRun(value: unknown): value is ITextRun { const obj = value as ITextRun; - return typeof obj === "object" && obj.type === "TextRun"; + return typeof obj === 'object' && obj.type === 'TextRun'; } -export type TextRunOptions = Partial>; +export type TextRunOptions = Partial>; /** * A block of text inside a RichTextBlock element. @@ -17582,7 +17580,7 @@ export class TextRun implements ITextRun { /** * Must be **TextRun**. */ - readonly type = "TextRun"; + readonly type = 'TextRun'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17646,7 +17644,7 @@ export class TextRun implements ITextRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17657,7 +17655,7 @@ export class TextRun implements ITextRun { this.text = text; } - static from(options: Omit): TextRun { + static from(options: Omit): TextRun { return new TextRun(options.text, options); } @@ -17758,7 +17756,7 @@ export interface IIconRun { /** * Must be **IconRun**. */ - readonly type: "IconRun"; + readonly type: 'IconRun'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17782,7 +17780,7 @@ export interface IIconRun { /** * The size of the inline icon. */ - size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"; + size?: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'; /** * The style of the inline icon. */ @@ -17798,7 +17796,7 @@ export interface IIconRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17816,10 +17814,10 @@ export interface IIconRun { */ export function isIconRun(value: unknown): value is IIconRun { const obj = value as IIconRun; - return typeof obj === "object" && obj.type === "IconRun"; + return typeof obj === 'object' && obj.type === 'IconRun'; } -export type IconRunOptions = Partial>; +export type IconRunOptions = Partial>; /** * An inline icon inside a RichTextBlock element. @@ -17832,7 +17830,7 @@ export class IconRun implements IIconRun { /** * Must be **IconRun**. */ - readonly type = "IconRun"; + readonly type = 'IconRun'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17856,15 +17854,15 @@ export class IconRun implements IIconRun { /** * The size of the inline icon. */ - size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge" = "Default"; + size?: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge' = 'Default'; /** * The style of the inline icon. */ - style?: IconStyle = "Regular"; + style?: IconStyle = 'Regular'; /** * The color of the inline icon. */ - color?: TextColor = "Default"; + color?: TextColor = 'Default'; /** * An Action that will be invoked when the inline icon is tapped or clicked. Action.ShowCard is not supported. */ @@ -17872,7 +17870,7 @@ export class IconRun implements IIconRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -17882,7 +17880,7 @@ export class IconRun implements IIconRun { Object.assign(this, options); } - static from(options: Omit): IconRun { + static from(options: Omit): IconRun { return new IconRun(options); } @@ -17916,7 +17914,7 @@ export class IconRun implements IIconRun { return this; } - withSize(size: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"): this { + withSize(size: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'): this { this.size = size; return this; } @@ -17953,7 +17951,7 @@ export interface IImageRun { /** * Must be **ImageRun**. */ - readonly type: "ImageRun"; + readonly type: 'ImageRun'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -17977,7 +17975,7 @@ export interface IImageRun { /** * The size of the inline image. */ - size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"; + size?: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'; /** * The style of the inline image. */ @@ -17993,7 +17991,7 @@ export interface IImageRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -18011,10 +18009,10 @@ export interface IImageRun { */ export function isImageRun(value: unknown): value is IImageRun { const obj = value as IImageRun; - return typeof obj === "object" && obj.type === "ImageRun"; + return typeof obj === 'object' && obj.type === 'ImageRun'; } -export type ImageRunOptions = Partial>; +export type ImageRunOptions = Partial>; /** * An inline image inside a RichTextBlock element. @@ -18027,7 +18025,7 @@ export class ImageRun implements IImageRun { /** * Must be **ImageRun**. */ - readonly type = "ImageRun"; + readonly type = 'ImageRun'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -18051,11 +18049,11 @@ export class ImageRun implements IImageRun { /** * The size of the inline image. */ - size?: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge" = "Default"; + size?: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge' = 'Default'; /** * The style of the inline image. */ - style?: ImageStyle = "Default"; + style?: ImageStyle = 'Default'; /** * An Action that will be invoked when the image is tapped or clicked. Action.ShowCard is not supported. */ @@ -18067,7 +18065,7 @@ export class ImageRun implements IImageRun { /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -18077,7 +18075,7 @@ export class ImageRun implements IImageRun { Object.assign(this, options); } - static from(options: Omit): ImageRun { + static from(options: Omit): ImageRun { return new ImageRun(options); } @@ -18111,7 +18109,7 @@ export class ImageRun implements IImageRun { return this; } - withSize(size: "Small" | "Default" | "Medium" | "Large" | "ExtraLarge"): this { + withSize(size: 'Small' | 'Default' | 'Medium' | 'Large' | 'ExtraLarge'): this { this.size = size; return this; } @@ -18148,7 +18146,7 @@ export interface IColumn { /** * Optional. If specified, must be **Column**. */ - readonly type: "Column"; + readonly type: 'Column'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -18236,11 +18234,11 @@ export interface IColumn { /** * The width of the column. If expressed as a number, represents the relative weight of the column in the set. If expressed as a string, `auto` will automatically adjust the column's width according to its content, `stretch` will make the column use the remaining horizontal space (shared with other columns with width set to `stretch`) and using the `px` format will give the column an explicit width in pixels. */ - width?: "auto" | "stretch" | string | number; + width?: 'auto' | 'stretch' | string | number; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -18262,10 +18260,10 @@ export interface IColumn { */ export function isColumn(value: unknown): value is IColumn { const obj = value as IColumn; - return typeof obj === "object" && obj.type === "Column"; + return typeof obj === 'object' && obj.type === 'Column'; } -export type ColumnOptions = Partial>; +export type ColumnOptions = Partial>; /** * A column in a ColumnSet element. @@ -18278,7 +18276,7 @@ export class Column implements IColumn { /** * Optional. If specified, must be **Column**. */ - readonly type = "Column"; + readonly type = 'Column'; /** * A unique identifier for the element or action. Input elements must have an id, otherwise they will not be validated and their values will not be sent to the Bot. */ @@ -18302,7 +18300,7 @@ export class Column implements IColumn { /** * The height of the element. When set to stretch, the element will use the remaining vertical space in its container. */ - height?: ElementHeight = "auto"; + height?: ElementHeight = 'auto'; /** * Controls how the element should be horizontally aligned. */ @@ -18310,7 +18308,7 @@ export class Column implements IColumn { /** * Controls the amount of space between this element and the previous one. No space will be added for the first element in a container. */ - spacing?: Spacing = "Default"; + spacing?: Spacing = 'Default'; /** * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space. For more details, see [Responsive layout](https://adaptivecards.microsoft.com/?topic=responsive-layout). */ @@ -18366,11 +18364,11 @@ export class Column implements IColumn { /** * The width of the column. If expressed as a number, represents the relative weight of the column in the set. If expressed as a string, `auto` will automatically adjust the column's width according to its content, `stretch` will make the column use the remaining horizontal space (shared with other columns with width set to `stretch`) and using the `px` format will give the column an explicit width in pixels. */ - width?: "auto" | "stretch" | string | number; + width?: 'auto' | 'stretch' | string | number; /** * The area of a Layout.AreaGrid layout in which an element should be displayed. */ - "grid.area"?: string; + 'grid.area'?: string; /** * An alternate element to render if the type of this one is unsupported or if the host application doesn't support all the capabilities specified in the requires property. */ @@ -18499,7 +18497,7 @@ export class Column implements IColumn { return this; } - withWidth(width: "auto" | "stretch" | string | number): this { + withWidth(width: 'auto' | 'stretch' | string | number): this { this.width = width; return this; } @@ -18562,7 +18560,7 @@ export interface IImBackSubmitActionData { /** * Must be **imBack**. */ - readonly type: "imBack"; + readonly type: 'imBack'; /** * The value that will be sent to the Bot. */ @@ -18580,10 +18578,10 @@ export interface IImBackSubmitActionData { */ export function isImBackSubmitActionData(value: unknown): value is IImBackSubmitActionData { const obj = value as IImBackSubmitActionData; - return typeof obj === "object" && obj.type === "imBack"; + return typeof obj === 'object' && obj.type === 'imBack'; } -export type ImBackSubmitActionDataOptions = Partial>; +export type ImBackSubmitActionDataOptions = Partial>; /** * Represents Teams-specific data in an Action.Submit to send an Instant Message back to the Bot. @@ -18596,7 +18594,7 @@ export class ImBackSubmitActionData implements IImBackSubmitActionData { /** * Must be **imBack**. */ - readonly type = "imBack"; + readonly type = 'imBack'; /** * The value that will be sent to the Bot. */ @@ -18607,7 +18605,7 @@ export class ImBackSubmitActionData implements IImBackSubmitActionData { this.value = value; } - static from(options: Omit): ImBackSubmitActionData { + static from(options: Omit): ImBackSubmitActionData { return new ImBackSubmitActionData(options.value, options); } @@ -18633,7 +18631,7 @@ export interface IInvokeSubmitActionData { /** * Must be **invoke**. */ - readonly type: "invoke"; + readonly type: 'invoke'; /** * The object to send to the Bot with the Invoke request. Can be strongly typed as one of the below values to trigger a specific action in Teams. */ @@ -18651,10 +18649,10 @@ export interface IInvokeSubmitActionData { */ export function isInvokeSubmitActionData(value: unknown): value is IInvokeSubmitActionData { const obj = value as IInvokeSubmitActionData; - return typeof obj === "object" && obj.type === "invoke"; + return typeof obj === 'object' && obj.type === 'invoke'; } -export type InvokeSubmitActionDataOptions = Partial>; +export type InvokeSubmitActionDataOptions = Partial>; /** * Represents Teams-specific data in an Action.Submit to make an Invoke request to the Bot. @@ -18667,7 +18665,7 @@ export class InvokeSubmitActionData implements IInvokeSubmitActionData { /** * Must be **invoke**. */ - readonly type = "invoke"; + readonly type = 'invoke'; /** * The object to send to the Bot with the Invoke request. Can be strongly typed as one of the below values to trigger a specific action in Teams. */ @@ -18678,7 +18676,7 @@ export class InvokeSubmitActionData implements IInvokeSubmitActionData { this.value = value; } - static from(options: Omit): InvokeSubmitActionData { + static from(options: Omit): InvokeSubmitActionData { return new InvokeSubmitActionData(options.value, options); } @@ -18700,7 +18698,7 @@ export interface ICollabStageInvokeDataValue { /** * Must be **tab/tabInfoAction**. */ - readonly type: "tab/tabInfoAction"; + readonly type: 'tab/tabInfoAction'; /** * Provides information about the iFrame content, rendered in the collab stage popout window. */ @@ -18718,10 +18716,10 @@ export interface ICollabStageInvokeDataValue { */ export function isCollabStageInvokeDataValue(value: unknown): value is ICollabStageInvokeDataValue { const obj = value as ICollabStageInvokeDataValue; - return typeof obj === "object" && obj.type === "tab/tabInfoAction"; + return typeof obj === 'object' && obj.type === 'tab/tabInfoAction'; } -export type CollabStageInvokeDataValueOptions = Partial>; +export type CollabStageInvokeDataValueOptions = Partial>; /** * Data for invoking a collaboration stage action. @@ -18730,7 +18728,7 @@ export class CollabStageInvokeDataValue implements ICollabStageInvokeDataValue { /** * Must be **tab/tabInfoAction**. */ - readonly type = "tab/tabInfoAction"; + readonly type = 'tab/tabInfoAction'; /** * Provides information about the iFrame content, rendered in the collab stage popout window. */ @@ -18740,7 +18738,7 @@ export class CollabStageInvokeDataValue implements ICollabStageInvokeDataValue { Object.assign(this, options); } - static from(options: Omit): CollabStageInvokeDataValue { + static from(options: Omit): CollabStageInvokeDataValue { return new CollabStageInvokeDataValue(options); } @@ -18836,7 +18834,7 @@ export interface IMessageBackSubmitActionData { /** * Must be **messageBack**. */ - readonly type: "messageBack"; + readonly type: 'messageBack'; /** * The text that will be sent to the Bot. */ @@ -18862,10 +18860,10 @@ export interface IMessageBackSubmitActionData { */ export function isMessageBackSubmitActionData(value: unknown): value is IMessageBackSubmitActionData { const obj = value as IMessageBackSubmitActionData; - return typeof obj === "object" && obj.type === "messageBack"; + return typeof obj === 'object' && obj.type === 'messageBack'; } -export type MessageBackSubmitActionDataOptions = Partial>; +export type MessageBackSubmitActionDataOptions = Partial>; /** * Represents Teams-specific data in an Action.Submit to send a message back to the Bot. @@ -18878,7 +18876,7 @@ export class MessageBackSubmitActionData implements IMessageBackSubmitActionData /** * Must be **messageBack**. */ - readonly type = "messageBack"; + readonly type = 'messageBack'; /** * The text that will be sent to the Bot. */ @@ -18896,7 +18894,7 @@ export class MessageBackSubmitActionData implements IMessageBackSubmitActionData Object.assign(this, options); } - static from(options: Omit): MessageBackSubmitActionData { + static from(options: Omit): MessageBackSubmitActionData { return new MessageBackSubmitActionData(options); } @@ -18932,7 +18930,7 @@ export interface ISigninSubmitActionData { /** * Must be **signin**. */ - readonly type: "signin"; + readonly type: 'signin'; /** * The URL to redirect the end-user for signing in. */ @@ -18950,10 +18948,10 @@ export interface ISigninSubmitActionData { */ export function isSigninSubmitActionData(value: unknown): value is ISigninSubmitActionData { const obj = value as ISigninSubmitActionData; - return typeof obj === "object" && obj.type === "signin"; + return typeof obj === 'object' && obj.type === 'signin'; } -export type SigninSubmitActionDataOptions = Partial>; +export type SigninSubmitActionDataOptions = Partial>; /** * Represents Teams-specific data in an Action.Submit to sign in a user. @@ -18966,7 +18964,7 @@ export class SigninSubmitActionData implements ISigninSubmitActionData { /** * Must be **signin**. */ - readonly type = "signin"; + readonly type = 'signin'; /** * The URL to redirect the end-user for signing in. */ @@ -18977,7 +18975,7 @@ export class SigninSubmitActionData implements ISigninSubmitActionData { this.value = value; } - static from(options: Omit): SigninSubmitActionData { + static from(options: Omit): SigninSubmitActionData { return new SigninSubmitActionData(options.value, options); } @@ -19003,7 +19001,7 @@ export interface ITaskFetchSubmitActionData { /** * Must be **task/fetch**. */ - readonly type: "task/fetch"; + readonly type: 'task/fetch'; } /** @@ -19017,10 +19015,10 @@ export interface ITaskFetchSubmitActionData { */ export function isTaskFetchSubmitActionData(value: unknown): value is ITaskFetchSubmitActionData { const obj = value as ITaskFetchSubmitActionData; - return typeof obj === "object" && obj.type === "task/fetch"; + return typeof obj === 'object' && obj.type === 'task/fetch'; } -export type TaskFetchSubmitActionDataOptions = Partial>; +export type TaskFetchSubmitActionDataOptions = Partial>; /** * Represents Teams-specific data in an Action.Submit to open a task module. @@ -19033,13 +19031,13 @@ export class TaskFetchSubmitActionData implements ITaskFetchSubmitActionData { /** * Must be **task/fetch**. */ - readonly type = "task/fetch"; + readonly type = 'task/fetch'; constructor(options: TaskFetchSubmitActionDataOptions = {}) { Object.assign(this, options); } - static from(options: Omit): TaskFetchSubmitActionData { + static from(options: Omit): TaskFetchSubmitActionData { return new TaskFetchSubmitActionData(options); } @@ -19537,7 +19535,7 @@ export interface IMention { /** * Must be **mention**. */ - readonly type: "mention"; + readonly type: 'mention'; /** * The text that will be substituted with the mention. */ @@ -19559,10 +19557,10 @@ export interface IMention { */ export function isMention(value: unknown): value is IMention { const obj = value as IMention; - return typeof obj === "object" && obj.type === "mention"; + return typeof obj === 'object' && obj.type === 'mention'; } -export type MentionOptions = Partial>; +export type MentionOptions = Partial>; /** * Represents a mention to a person. @@ -19575,7 +19573,7 @@ export class Mention implements IMention { /** * Must be **mention**. */ - readonly type = "mention"; + readonly type = 'mention'; /** * The text that will be substituted with the mention. */ @@ -19589,7 +19587,7 @@ export class Mention implements IMention { Object.assign(this, options); } - static from(options: Omit): Mention { + static from(options: Omit): Mention { return new Mention(options); } @@ -19653,7 +19651,7 @@ export class MentionedEntity implements IMentionedEntity { /** * The type of the mentioned entity. */ - mentionType?: MentionType = "Person"; + mentionType?: MentionType = 'Person'; constructor(options: MentionedEntityOptions = {}) { Object.assign(this, options);