@microsoft/teams.cards 0.2.11 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -41
- package/dist/actions/index.d.mts +2 -2
- package/dist/actions/index.d.ts +2 -2
- package/dist/actions/show-card.d.mts +1 -1
- package/dist/actions/show-card.d.ts +1 -1
- package/dist/actions/submit/collab-stage.js +1 -1
- package/dist/actions/submit/collab-stage.js.map +1 -1
- package/dist/actions/submit/collab-stage.mjs +1 -1
- package/dist/actions/submit/collab-stage.mjs.map +1 -1
- package/dist/actions/submit/im-back.js +1 -1
- package/dist/actions/submit/im-back.js.map +1 -1
- package/dist/actions/submit/im-back.mjs +1 -1
- package/dist/actions/submit/im-back.mjs.map +1 -1
- package/dist/actions/submit/index.d.mts +1 -1
- package/dist/actions/submit/index.d.ts +1 -1
- package/dist/actions/submit/invoke.js +1 -1
- package/dist/actions/submit/invoke.js.map +1 -1
- package/dist/actions/submit/invoke.mjs +1 -1
- package/dist/actions/submit/invoke.mjs.map +1 -1
- package/dist/actions/submit/message-back.js +1 -1
- package/dist/actions/submit/message-back.js.map +1 -1
- package/dist/actions/submit/message-back.mjs +1 -1
- package/dist/actions/submit/message-back.mjs.map +1 -1
- package/dist/actions/submit/sign-in.js +1 -1
- package/dist/actions/submit/sign-in.js.map +1 -1
- package/dist/actions/submit/sign-in.mjs +1 -1
- package/dist/actions/submit/sign-in.mjs.map +1 -1
- package/dist/actions/submit/submit.js +10 -3
- package/dist/actions/submit/submit.js.map +1 -1
- package/dist/actions/submit/submit.mjs +10 -3
- package/dist/actions/submit/submit.mjs.map +1 -1
- package/dist/actions/submit/task-fetch.d.mts +15 -15
- package/dist/actions/submit/task-fetch.d.ts +15 -15
- package/dist/actions/submit/task-fetch.js +16 -11
- package/dist/actions/submit/task-fetch.js.map +1 -1
- package/dist/actions/submit/task-fetch.mjs +16 -11
- package/dist/actions/submit/task-fetch.mjs.map +1 -1
- package/dist/base.d.mts +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/card.d.mts +1 -1
- package/dist/card.d.ts +1 -1
- package/dist/card.js +0 -1
- package/dist/card.js.map +1 -1
- package/dist/card.mjs +0 -1
- package/dist/card.mjs.map +1 -1
- package/dist/charts/donut.d.mts +2281 -24
- package/dist/charts/donut.d.ts +2281 -24
- package/dist/charts/donut.js.map +1 -1
- package/dist/charts/donut.mjs.map +1 -1
- package/dist/charts/index.d.mts +1 -1
- package/dist/charts/index.d.ts +1 -1
- package/dist/charts/line.d.mts +1 -1
- package/dist/charts/line.d.ts +1 -1
- package/dist/charts/line.js.map +1 -1
- package/dist/charts/line.mjs.map +1 -1
- package/dist/containers/action-set.d.mts +1 -1
- package/dist/containers/action-set.d.ts +1 -1
- package/dist/containers/base.d.mts +1 -1
- package/dist/containers/base.d.ts +1 -1
- package/dist/containers/carousel.d.mts +1 -1
- package/dist/containers/carousel.d.ts +1 -1
- package/dist/containers/carousel.js.map +1 -1
- package/dist/containers/carousel.mjs.map +1 -1
- package/dist/containers/column-set.d.mts +1 -1
- package/dist/containers/column-set.d.ts +1 -1
- package/dist/containers/column-set.js.map +1 -1
- package/dist/containers/column-set.mjs.map +1 -1
- package/dist/containers/column.d.mts +1 -1
- package/dist/containers/column.d.ts +1 -1
- package/dist/containers/column.js.map +1 -1
- package/dist/containers/column.mjs.map +1 -1
- package/dist/containers/container.d.mts +1 -1
- package/dist/containers/container.d.ts +1 -1
- package/dist/containers/container.js.map +1 -1
- package/dist/containers/container.mjs.map +1 -1
- package/dist/containers/fact-set.d.mts +1 -1
- package/dist/containers/fact-set.d.ts +1 -1
- package/dist/containers/image-set.d.mts +1 -1
- package/dist/containers/image-set.d.ts +1 -1
- package/dist/containers/index.d.mts +1 -1
- package/dist/containers/index.d.ts +1 -1
- package/dist/element.d.mts +1 -1
- package/dist/element.d.ts +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/inputs/base.d.mts +1 -1
- package/dist/inputs/base.d.ts +1 -1
- package/dist/inputs/choice-set.d.mts +1 -1
- package/dist/inputs/choice-set.d.ts +1 -1
- package/dist/inputs/date.d.mts +1 -1
- package/dist/inputs/date.d.ts +1 -1
- package/dist/inputs/index.d.mts +1 -1
- package/dist/inputs/index.d.ts +1 -1
- package/dist/inputs/number.d.mts +1 -1
- package/dist/inputs/number.d.ts +1 -1
- package/dist/inputs/text.d.mts +1 -1
- package/dist/inputs/text.d.ts +1 -1
- package/dist/inputs/text.js.map +1 -1
- package/dist/inputs/text.mjs.map +1 -1
- package/dist/inputs/time.d.mts +1 -1
- package/dist/inputs/time.d.ts +1 -1
- package/dist/inputs/toggle.d.mts +1 -1
- package/dist/inputs/toggle.d.ts +1 -1
- package/dist/medias/badge.d.mts +1 -1
- package/dist/medias/badge.d.ts +1 -1
- package/dist/medias/code-block.d.mts +1 -1
- package/dist/medias/code-block.d.ts +1 -1
- package/dist/medias/icon.d.mts +24 -2281
- package/dist/medias/icon.d.ts +24 -2281
- package/dist/medias/image.d.mts +1 -1
- package/dist/medias/image.d.ts +1 -1
- package/dist/medias/index.d.mts +1 -1
- package/dist/medias/index.d.ts +1 -1
- package/dist/medias/media.d.mts +1 -1
- package/dist/medias/media.d.ts +1 -1
- package/dist/medias/progress-bar.d.mts +1 -1
- package/dist/medias/progress-bar.d.ts +1 -1
- package/dist/medias/progress-ring.d.mts +1 -1
- package/dist/medias/progress-ring.d.ts +1 -1
- package/dist/medias/rich-text-block.d.mts +1 -1
- package/dist/medias/rich-text-block.d.ts +1 -1
- package/dist/medias/text-block.d.mts +1 -1
- package/dist/medias/text-block.d.ts +1 -1
- package/dist/medias/text-run.d.mts +1 -1
- package/dist/medias/text-run.d.ts +1 -1
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { b0 as Action, h as ActionSet, A as ActionSetOptions, p as Badge, B as BadgeAppearance, o as BadgeOptions, m as BadgeStyle, G as CaptionSource, aX as Card, aW as CardOptions, a6 as Carousel, a5 as CarouselOptions, a9 as CarouselPage, a8 as CarouselPageOptions, C as ChartElement, ay as Choice, aB as ChoiceDataQuery, aA as ChoiceDataQueryOptions, at as ChoiceInputStyle, aw as ChoiceSetInput, av as ChoiceSetInputOptions, t as CodeBlock, s as CodeBlockOptions, q as CodeLanguage, ac as Column, ab as ColumnOptions, af as ColumnSet, ae as ColumnSetOptions, a3 as Container, ao as ContainerElement, a2 as ContainerOptions, a0 as ContainerStyle, aE as DateInput, aD as DateInputOptions, DonutChart, DonutChartData, DonutChartDataOptions, DonutChartOptions, aT as Element, ak as Fact, ai as FactSet, ah as FactSetOptions, g as IActionSet, n as IBadge, F as ICaptionSource, aU as ICard, a4 as ICarousel, a7 as ICarouselPage, ax as IChoice, az as IChoiceDataQuery, au as IChoiceSetInput, r as ICodeBlock, aa as IColumn, ad as IColumnSet, a1 as IContainer, aC as IDateInput, IDonutChart, IDonutChartData, aj as IFact, ag as IFactSet, i as IIcon, v as IImage, al as IImageSet, I as ILineChart, b as ILineChartData, e as ILineChartDataPoint, y as IMedia, D as IMediaSource, aF as INumberInput, H as IProgressBar, K as IProgressRing, S as IRichTextBlock, aZ as IShowCardAction, W as ITextBlock, aJ as ITextInput, Q as ITextRun, aM as ITimeInput, aP as IToggleInput, k as Icon, l as IconName, j as IconOptions, x as Image, w as ImageOptions, an as ImageSet, am as ImageSetOptions, u as ImageSize, aS as InputElement, a as LineChart, d as LineChartData, c as LineChartDataOptions, f as LineChartDataPoint, L as LineChartOptions, aV as MSTeamsCardInfo, z as Media, Z as MediaElement, M as MediaOptions, E as MediaSource, aH as NumberInput, aG as NumberInputOptions, J as ProgressBar, P as ProgressBarOptions, O as ProgressRing, N as ProgressRingOptions, V as RichTextBlock, U as RichTextBlockOptions, b1 as SelectAction, a$ as ShowCardAction, a_ as ShowCardOptions, Y as TextBlock, X as TextBlockOptions, aL as TextInput, aK as TextInputOptions, aI as TextInputStyle, R as TextRun, T as TextRunOptions, aO as TimeInput, aN as TimeInputOptions, aR as ToggleInput, aQ as ToggleInputOptions, aY as isCard } from './charts/donut.mjs';
|
|
2
2
|
export { HorizontalAlignment } from './common/horizontal-alignment.mjs';
|
|
3
3
|
export { VerticalAlignment } from './common/vertical-alignment.mjs';
|
|
4
4
|
export { Spacing } from './common/spacing.mjs';
|
|
@@ -20,7 +20,7 @@ export { IIMBackAction, IIMBackData, IMBackAction, IMBackActionOptions, IMBackDa
|
|
|
20
20
|
export { IInvokeAction, IInvokeData, InvokeAction, InvokeActionOptions, InvokeData } from './actions/submit/invoke.mjs';
|
|
21
21
|
export { IMessageBackAction, IMessageBackData, MessageBackAction, MessageBackActionOptions, MessageBackData } from './actions/submit/message-back.mjs';
|
|
22
22
|
export { ISignInAction, ISignInData, SignInAction, SignInActionOptions, SignInData } from './actions/submit/sign-in.mjs';
|
|
23
|
-
export { ITaskFetchAction, ITaskFetchData, TaskFetchAction, TaskFetchActionOptions, TaskFetchData } from './actions/submit/task-fetch.mjs';
|
|
23
|
+
export { ITaskFetchAction, ITaskFetchData, TaskFetchAction, TaskFetchActionOptions, TaskFetchData, TaskFetchDataValues } from './actions/submit/task-fetch.mjs';
|
|
24
24
|
export { CollabStageAction, CollabStageActionOptions, CollabStageData, CollabStageValueData, ICollabStageAction, ICollabStageData, ICollabStageValueData } from './actions/submit/collab-stage.mjs';
|
|
25
25
|
export { IToggleVisibilityAction, ToggleVisibilityAction, ToggleVisibilityActionOptions } from './actions/toggle-visibility.mjs';
|
|
26
26
|
export { ChartColor } from './charts/color.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { b0 as Action, h as ActionSet, A as ActionSetOptions, p as Badge, B as BadgeAppearance, o as BadgeOptions, m as BadgeStyle, G as CaptionSource, aX as Card, aW as CardOptions, a6 as Carousel, a5 as CarouselOptions, a9 as CarouselPage, a8 as CarouselPageOptions, C as ChartElement, ay as Choice, aB as ChoiceDataQuery, aA as ChoiceDataQueryOptions, at as ChoiceInputStyle, aw as ChoiceSetInput, av as ChoiceSetInputOptions, t as CodeBlock, s as CodeBlockOptions, q as CodeLanguage, ac as Column, ab as ColumnOptions, af as ColumnSet, ae as ColumnSetOptions, a3 as Container, ao as ContainerElement, a2 as ContainerOptions, a0 as ContainerStyle, aE as DateInput, aD as DateInputOptions, DonutChart, DonutChartData, DonutChartDataOptions, DonutChartOptions, aT as Element, ak as Fact, ai as FactSet, ah as FactSetOptions, g as IActionSet, n as IBadge, F as ICaptionSource, aU as ICard, a4 as ICarousel, a7 as ICarouselPage, ax as IChoice, az as IChoiceDataQuery, au as IChoiceSetInput, r as ICodeBlock, aa as IColumn, ad as IColumnSet, a1 as IContainer, aC as IDateInput, IDonutChart, IDonutChartData, aj as IFact, ag as IFactSet, i as IIcon, v as IImage, al as IImageSet, I as ILineChart, b as ILineChartData, e as ILineChartDataPoint, y as IMedia, D as IMediaSource, aF as INumberInput, H as IProgressBar, K as IProgressRing, S as IRichTextBlock, aZ as IShowCardAction, W as ITextBlock, aJ as ITextInput, Q as ITextRun, aM as ITimeInput, aP as IToggleInput, k as Icon, l as IconName, j as IconOptions, x as Image, w as ImageOptions, an as ImageSet, am as ImageSetOptions, u as ImageSize, aS as InputElement, a as LineChart, d as LineChartData, c as LineChartDataOptions, f as LineChartDataPoint, L as LineChartOptions, aV as MSTeamsCardInfo, z as Media, Z as MediaElement, M as MediaOptions, E as MediaSource, aH as NumberInput, aG as NumberInputOptions, J as ProgressBar, P as ProgressBarOptions, O as ProgressRing, N as ProgressRingOptions, V as RichTextBlock, U as RichTextBlockOptions, b1 as SelectAction, a$ as ShowCardAction, a_ as ShowCardOptions, Y as TextBlock, X as TextBlockOptions, aL as TextInput, aK as TextInputOptions, aI as TextInputStyle, R as TextRun, T as TextRunOptions, aO as TimeInput, aN as TimeInputOptions, aR as ToggleInput, aQ as ToggleInputOptions, aY as isCard } from './charts/donut.js';
|
|
2
2
|
export { HorizontalAlignment } from './common/horizontal-alignment.js';
|
|
3
3
|
export { VerticalAlignment } from './common/vertical-alignment.js';
|
|
4
4
|
export { Spacing } from './common/spacing.js';
|
|
@@ -20,7 +20,7 @@ export { IIMBackAction, IIMBackData, IMBackAction, IMBackActionOptions, IMBackDa
|
|
|
20
20
|
export { IInvokeAction, IInvokeData, InvokeAction, InvokeActionOptions, InvokeData } from './actions/submit/invoke.js';
|
|
21
21
|
export { IMessageBackAction, IMessageBackData, MessageBackAction, MessageBackActionOptions, MessageBackData } from './actions/submit/message-back.js';
|
|
22
22
|
export { ISignInAction, ISignInData, SignInAction, SignInActionOptions, SignInData } from './actions/submit/sign-in.js';
|
|
23
|
-
export { ITaskFetchAction, ITaskFetchData, TaskFetchAction, TaskFetchActionOptions, TaskFetchData } from './actions/submit/task-fetch.js';
|
|
23
|
+
export { ITaskFetchAction, ITaskFetchData, TaskFetchAction, TaskFetchActionOptions, TaskFetchData, TaskFetchDataValues } from './actions/submit/task-fetch.js';
|
|
24
24
|
export { CollabStageAction, CollabStageActionOptions, CollabStageData, CollabStageValueData, ICollabStageAction, ICollabStageData, ICollabStageValueData } from './actions/submit/collab-stage.js';
|
|
25
25
|
export { IToggleVisibilityAction, ToggleVisibilityAction, ToggleVisibilityActionOptions } from './actions/toggle-visibility.js';
|
|
26
26
|
export { ChartColor } from './charts/color.js';
|
package/dist/inputs/base.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ar as IInputElement, as as InputElement, ap as InputLabelPosition, aq as InputStyle } from '../charts/donut.mjs';
|
|
2
2
|
import '../actions/execute.mjs';
|
|
3
3
|
import '../common/associated-inputs.mjs';
|
|
4
4
|
import '../actions/base.mjs';
|
package/dist/inputs/base.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ar as IInputElement, as as InputElement, ap as InputLabelPosition, aq as InputStyle } from '../charts/donut.js';
|
|
2
2
|
import '../actions/execute.js';
|
|
3
3
|
import '../common/associated-inputs.js';
|
|
4
4
|
import '../actions/base.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ay as Choice, aB as ChoiceDataQuery, aA as ChoiceDataQueryOptions, at as ChoiceInputStyle, aw as ChoiceSetInput, av as ChoiceSetInputOptions, ax as IChoice, az as IChoiceDataQuery, au as IChoiceSetInput } from '../charts/donut.mjs';
|
|
2
2
|
import '../actions/execute.mjs';
|
|
3
3
|
import '../common/associated-inputs.mjs';
|
|
4
4
|
import '../actions/base.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ay as Choice, aB as ChoiceDataQuery, aA as ChoiceDataQueryOptions, at as ChoiceInputStyle, aw as ChoiceSetInput, av as ChoiceSetInputOptions, ax as IChoice, az as IChoiceDataQuery, au as IChoiceSetInput } from '../charts/donut.js';
|
|
2
2
|
import '../actions/execute.js';
|
|
3
3
|
import '../common/associated-inputs.js';
|
|
4
4
|
import '../actions/base.js';
|
package/dist/inputs/date.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aE as DateInput, aD as DateInputOptions, aC as IDateInput } from '../charts/donut.mjs';
|
|
2
2
|
import '../actions/execute.mjs';
|
|
3
3
|
import '../common/associated-inputs.mjs';
|
|
4
4
|
import '../actions/base.mjs';
|
package/dist/inputs/date.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aE as DateInput, aD as DateInputOptions, aC as IDateInput } from '../charts/donut.js';
|
|
2
2
|
import '../actions/execute.js';
|
|
3
3
|
import '../common/associated-inputs.js';
|
|
4
4
|
import '../actions/base.js';
|
package/dist/inputs/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ay as Choice, aB as ChoiceDataQuery, aA as ChoiceDataQueryOptions, at as ChoiceInputStyle, aw as ChoiceSetInput, av as ChoiceSetInputOptions, aE as DateInput, aD as DateInputOptions, ax as IChoice, az as IChoiceDataQuery, au as IChoiceSetInput, aC as IDateInput, aF as INumberInput, aJ as ITextInput, aM as ITimeInput, aP as IToggleInput, aS as InputElement, aH as NumberInput, aG as NumberInputOptions, aL as TextInput, aK as TextInputOptions, aI as TextInputStyle, aO as TimeInput, aN as TimeInputOptions, aR as ToggleInput, aQ as ToggleInputOptions } from '../charts/donut.mjs';
|
|
2
2
|
import '../actions/execute.mjs';
|
|
3
3
|
import '../common/associated-inputs.mjs';
|
|
4
4
|
import '../actions/base.mjs';
|
package/dist/inputs/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ay as Choice, aB as ChoiceDataQuery, aA as ChoiceDataQueryOptions, at as ChoiceInputStyle, aw as ChoiceSetInput, av as ChoiceSetInputOptions, aE as DateInput, aD as DateInputOptions, ax as IChoice, az as IChoiceDataQuery, au as IChoiceSetInput, aC as IDateInput, aF as INumberInput, aJ as ITextInput, aM as ITimeInput, aP as IToggleInput, aS as InputElement, aH as NumberInput, aG as NumberInputOptions, aL as TextInput, aK as TextInputOptions, aI as TextInputStyle, aO as TimeInput, aN as TimeInputOptions, aR as ToggleInput, aQ as ToggleInputOptions } from '../charts/donut.js';
|
|
2
2
|
import '../actions/execute.js';
|
|
3
3
|
import '../common/associated-inputs.js';
|
|
4
4
|
import '../actions/base.js';
|
package/dist/inputs/number.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aF as INumberInput, aH as NumberInput, aG as NumberInputOptions } from '../charts/donut.mjs';
|
|
2
2
|
import '../actions/execute.mjs';
|
|
3
3
|
import '../common/associated-inputs.mjs';
|
|
4
4
|
import '../actions/base.mjs';
|
package/dist/inputs/number.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aF as INumberInput, aH as NumberInput, aG as NumberInputOptions } from '../charts/donut.js';
|
|
2
2
|
import '../actions/execute.js';
|
|
3
3
|
import '../common/associated-inputs.js';
|
|
4
4
|
import '../actions/base.js';
|
package/dist/inputs/text.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aJ as ITextInput, aL as TextInput, aK as TextInputOptions, aI as TextInputStyle } from '../charts/donut.mjs';
|
|
2
2
|
import '../actions/execute.mjs';
|
|
3
3
|
import '../common/associated-inputs.mjs';
|
|
4
4
|
import '../actions/base.mjs';
|
package/dist/inputs/text.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aJ as ITextInput, aL as TextInput, aK as TextInputOptions, aI as TextInputStyle } from '../charts/donut.js';
|
|
2
2
|
import '../actions/execute.js';
|
|
3
3
|
import '../common/associated-inputs.js';
|
|
4
4
|
import '../actions/base.js';
|
package/dist/inputs/text.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/inputs/text.ts"],"names":["InputElement"],"mappings":";;;;
|
|
1
|
+
{"version":3,"sources":["../../src/inputs/text.ts"],"names":["InputElement"],"mappings":";;;;AAwDO,MAAM,kBAAkBA,iBAAmC,CAAA;AAAA,EAChE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,SAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,YAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,WAAA,CAAY,OAA4B,GAAA,EAAI,EAAA;AAC1C,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,YAAA;AACZ,IAAA,IAAA,CAAK,YAAY,OAAO,CAAA;AAAA;AAC1B,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAA,CAAc,QAAQ,IAAM,EAAA;AAC1B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAe,EAAA;AAC3B,IAAA,IAAA,CAAK,SAAY,GAAA,KAAA;AACjB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAe,EAAA;AAC7B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAuB,EAAA;AAC/B,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,iBAAiB,KAAe,EAAA;AAC9B,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AAEX","file":"text.js","sourcesContent":["import { Action } from '../actions';\r\n\r\nimport { IInputElement, InputElement } from './base';\r\n\r\n/**\r\n * Style hint for text input.\r\n */\r\nexport type TextInputStyle = 'text' | 'tel' | 'url' | 'email' | 'password';\r\n\r\n/**\r\n * Lets a user enter text.\r\n */\r\nexport interface ITextInput extends IInputElement {\r\n type: 'Input.Text';\r\n\r\n /**\r\n * If `true`, allow multiple lines of input.\r\n */\r\n isMultiline?: boolean;\r\n\r\n /**\r\n * Hint of maximum length characters to collect (may be ignored by some clients).\r\n */\r\n maxLength?: number;\r\n\r\n /**\r\n * Description of the input desired. Displayed when no text has been input.\r\n */\r\n placeholder?: string;\r\n\r\n /**\r\n * Regular expression indicating the required format of this text input.\r\n */\r\n regex?: string;\r\n\r\n /**\r\n * Style hint for text input.\r\n */\r\n style?: TextInputStyle;\r\n\r\n /**\r\n * The inline action for the input. Typically displayed to the right of the input. It is strongly recommended to provide an icon on the action (which will be displayed instead of the title of the action).\r\n */\r\n inlineAction?: Action;\r\n\r\n /**\r\n * The initial value for this field.\r\n */\r\n value?: string;\r\n}\r\n\r\nexport type TextInputOptions = Omit<ITextInput, 'type'>;\r\n\r\n/**\r\n * Lets a user enter text.\r\n */\r\nexport class TextInput extends InputElement implements ITextInput {\r\n type: 'Input.Text';\r\n\r\n /**\r\n * If `true`, allow multiple lines of input.\r\n */\r\n isMultiline?: boolean;\r\n\r\n /**\r\n * Hint of maximum length characters to collect (may be ignored by some clients).\r\n */\r\n maxLength?: number;\r\n\r\n /**\r\n * Description of the input desired. Displayed when no text has been input.\r\n */\r\n placeholder?: string;\r\n\r\n /**\r\n * Regular expression indicating the required format of this text input.\r\n */\r\n regex?: string;\r\n\r\n /**\r\n * Style hint for text input.\r\n */\r\n style?: TextInputStyle;\r\n\r\n /**\r\n * The inline action for the input. Typically displayed to the right of the input. It is strongly recommended to provide an icon on the action (which will be displayed instead of the title of the action).\r\n */\r\n inlineAction?: Action;\r\n\r\n /**\r\n * The initial value for this field.\r\n */\r\n value?: string;\r\n\r\n constructor(options: TextInputOptions = {}) {\r\n super();\r\n this.type = 'Input.Text';\r\n this.withOptions(options);\r\n }\r\n\r\n withOptions(value: TextInputOptions) {\r\n Object.assign(this, value);\r\n return this;\r\n }\r\n\r\n withMultiLine(value = true) {\r\n this.isMultiline = value;\r\n return this;\r\n }\r\n\r\n withMaxLength(value: number) {\r\n this.maxLength = value;\r\n return this;\r\n }\r\n\r\n withPlaceholder(value: string) {\r\n this.placeholder = value;\r\n return this;\r\n }\r\n\r\n withRegex(value: string) {\r\n this.regex = value;\r\n return this;\r\n }\r\n\r\n withStyle(value: TextInputStyle) {\r\n this.style = value;\r\n return this;\r\n }\r\n\r\n withInlineAction(value: Action) {\r\n this.inlineAction = value;\r\n return this;\r\n }\r\n\r\n withValue(value: string) {\r\n this.value = value;\r\n return this;\r\n }\r\n}\r\n"]}
|
package/dist/inputs/text.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/inputs/text.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"sources":["../../src/inputs/text.ts"],"names":[],"mappings":";;AAwDO,MAAM,kBAAkB,YAAmC,CAAA;AAAA,EAChE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,SAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,YAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,WAAA,CAAY,OAA4B,GAAA,EAAI,EAAA;AAC1C,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,YAAA;AACZ,IAAA,IAAA,CAAK,YAAY,OAAO,CAAA;AAAA;AAC1B,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAA,CAAc,QAAQ,IAAM,EAAA;AAC1B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAe,EAAA;AAC3B,IAAA,IAAA,CAAK,SAAY,GAAA,KAAA;AACjB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAe,EAAA;AAC7B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAuB,EAAA;AAC/B,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,iBAAiB,KAAe,EAAA;AAC9B,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AAEX","file":"text.mjs","sourcesContent":["import { Action } from '../actions';\r\n\r\nimport { IInputElement, InputElement } from './base';\r\n\r\n/**\r\n * Style hint for text input.\r\n */\r\nexport type TextInputStyle = 'text' | 'tel' | 'url' | 'email' | 'password';\r\n\r\n/**\r\n * Lets a user enter text.\r\n */\r\nexport interface ITextInput extends IInputElement {\r\n type: 'Input.Text';\r\n\r\n /**\r\n * If `true`, allow multiple lines of input.\r\n */\r\n isMultiline?: boolean;\r\n\r\n /**\r\n * Hint of maximum length characters to collect (may be ignored by some clients).\r\n */\r\n maxLength?: number;\r\n\r\n /**\r\n * Description of the input desired. Displayed when no text has been input.\r\n */\r\n placeholder?: string;\r\n\r\n /**\r\n * Regular expression indicating the required format of this text input.\r\n */\r\n regex?: string;\r\n\r\n /**\r\n * Style hint for text input.\r\n */\r\n style?: TextInputStyle;\r\n\r\n /**\r\n * The inline action for the input. Typically displayed to the right of the input. It is strongly recommended to provide an icon on the action (which will be displayed instead of the title of the action).\r\n */\r\n inlineAction?: Action;\r\n\r\n /**\r\n * The initial value for this field.\r\n */\r\n value?: string;\r\n}\r\n\r\nexport type TextInputOptions = Omit<ITextInput, 'type'>;\r\n\r\n/**\r\n * Lets a user enter text.\r\n */\r\nexport class TextInput extends InputElement implements ITextInput {\r\n type: 'Input.Text';\r\n\r\n /**\r\n * If `true`, allow multiple lines of input.\r\n */\r\n isMultiline?: boolean;\r\n\r\n /**\r\n * Hint of maximum length characters to collect (may be ignored by some clients).\r\n */\r\n maxLength?: number;\r\n\r\n /**\r\n * Description of the input desired. Displayed when no text has been input.\r\n */\r\n placeholder?: string;\r\n\r\n /**\r\n * Regular expression indicating the required format of this text input.\r\n */\r\n regex?: string;\r\n\r\n /**\r\n * Style hint for text input.\r\n */\r\n style?: TextInputStyle;\r\n\r\n /**\r\n * The inline action for the input. Typically displayed to the right of the input. It is strongly recommended to provide an icon on the action (which will be displayed instead of the title of the action).\r\n */\r\n inlineAction?: Action;\r\n\r\n /**\r\n * The initial value for this field.\r\n */\r\n value?: string;\r\n\r\n constructor(options: TextInputOptions = {}) {\r\n super();\r\n this.type = 'Input.Text';\r\n this.withOptions(options);\r\n }\r\n\r\n withOptions(value: TextInputOptions) {\r\n Object.assign(this, value);\r\n return this;\r\n }\r\n\r\n withMultiLine(value = true) {\r\n this.isMultiline = value;\r\n return this;\r\n }\r\n\r\n withMaxLength(value: number) {\r\n this.maxLength = value;\r\n return this;\r\n }\r\n\r\n withPlaceholder(value: string) {\r\n this.placeholder = value;\r\n return this;\r\n }\r\n\r\n withRegex(value: string) {\r\n this.regex = value;\r\n return this;\r\n }\r\n\r\n withStyle(value: TextInputStyle) {\r\n this.style = value;\r\n return this;\r\n }\r\n\r\n withInlineAction(value: Action) {\r\n this.inlineAction = value;\r\n return this;\r\n }\r\n\r\n withValue(value: string) {\r\n this.value = value;\r\n return this;\r\n }\r\n}\r\n"]}
|
package/dist/inputs/time.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aM as ITimeInput, aO as TimeInput, aN as TimeInputOptions } from '../charts/donut.mjs';
|
|
2
2
|
import '../actions/execute.mjs';
|
|
3
3
|
import '../common/associated-inputs.mjs';
|
|
4
4
|
import '../actions/base.mjs';
|
package/dist/inputs/time.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aM as ITimeInput, aO as TimeInput, aN as TimeInputOptions } from '../charts/donut.js';
|
|
2
2
|
import '../actions/execute.js';
|
|
3
3
|
import '../common/associated-inputs.js';
|
|
4
4
|
import '../actions/base.js';
|
package/dist/inputs/toggle.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aP as IToggleInput, aR as ToggleInput, aQ as ToggleInputOptions } from '../charts/donut.mjs';
|
|
2
2
|
import '../actions/execute.mjs';
|
|
3
3
|
import '../common/associated-inputs.mjs';
|
|
4
4
|
import '../actions/base.mjs';
|
package/dist/inputs/toggle.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aP as IToggleInput, aR as ToggleInput, aQ as ToggleInputOptions } from '../charts/donut.js';
|
|
2
2
|
import '../actions/execute.js';
|
|
3
3
|
import '../common/associated-inputs.js';
|
|
4
4
|
import '../actions/base.js';
|
package/dist/medias/badge.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { p as Badge, B as BadgeAppearance, o as BadgeOptions, m as BadgeStyle, n as IBadge } from '../charts/donut.mjs';
|
|
2
2
|
import '../actions/execute.mjs';
|
|
3
3
|
import '../common/associated-inputs.mjs';
|
|
4
4
|
import '../actions/base.mjs';
|
package/dist/medias/badge.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { p as Badge, B as BadgeAppearance, o as BadgeOptions, m as BadgeStyle, n as IBadge } from '../charts/donut.js';
|
|
2
2
|
import '../actions/execute.js';
|
|
3
3
|
import '../common/associated-inputs.js';
|
|
4
4
|
import '../actions/base.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { t as CodeBlock, s as CodeBlockOptions, q as CodeLanguage, r as ICodeBlock } from '../charts/donut.mjs';
|
|
2
2
|
import '../actions/execute.mjs';
|
|
3
3
|
import '../common/associated-inputs.mjs';
|
|
4
4
|
import '../actions/base.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { t as CodeBlock, s as CodeBlockOptions, q as CodeLanguage, r as ICodeBlock } from '../charts/donut.js';
|
|
2
2
|
import '../actions/execute.js';
|
|
3
3
|
import '../common/associated-inputs.js';
|
|
4
4
|
import '../actions/base.js';
|