@microsoft/teams.cards 0.2.12 → 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.
Files changed (126) hide show
  1. package/README.md +40 -41
  2. package/dist/actions/index.d.mts +2 -2
  3. package/dist/actions/index.d.ts +2 -2
  4. package/dist/actions/show-card.d.mts +1 -1
  5. package/dist/actions/show-card.d.ts +1 -1
  6. package/dist/actions/submit/collab-stage.js +1 -1
  7. package/dist/actions/submit/collab-stage.js.map +1 -1
  8. package/dist/actions/submit/collab-stage.mjs +1 -1
  9. package/dist/actions/submit/collab-stage.mjs.map +1 -1
  10. package/dist/actions/submit/im-back.js +1 -1
  11. package/dist/actions/submit/im-back.js.map +1 -1
  12. package/dist/actions/submit/im-back.mjs +1 -1
  13. package/dist/actions/submit/im-back.mjs.map +1 -1
  14. package/dist/actions/submit/index.d.mts +1 -1
  15. package/dist/actions/submit/index.d.ts +1 -1
  16. package/dist/actions/submit/invoke.js +1 -1
  17. package/dist/actions/submit/invoke.js.map +1 -1
  18. package/dist/actions/submit/invoke.mjs +1 -1
  19. package/dist/actions/submit/invoke.mjs.map +1 -1
  20. package/dist/actions/submit/message-back.js +1 -1
  21. package/dist/actions/submit/message-back.js.map +1 -1
  22. package/dist/actions/submit/message-back.mjs +1 -1
  23. package/dist/actions/submit/message-back.mjs.map +1 -1
  24. package/dist/actions/submit/sign-in.js +1 -1
  25. package/dist/actions/submit/sign-in.js.map +1 -1
  26. package/dist/actions/submit/sign-in.mjs +1 -1
  27. package/dist/actions/submit/sign-in.mjs.map +1 -1
  28. package/dist/actions/submit/submit.js +10 -3
  29. package/dist/actions/submit/submit.js.map +1 -1
  30. package/dist/actions/submit/submit.mjs +10 -3
  31. package/dist/actions/submit/submit.mjs.map +1 -1
  32. package/dist/actions/submit/task-fetch.d.mts +15 -15
  33. package/dist/actions/submit/task-fetch.d.ts +15 -15
  34. package/dist/actions/submit/task-fetch.js +16 -11
  35. package/dist/actions/submit/task-fetch.js.map +1 -1
  36. package/dist/actions/submit/task-fetch.mjs +16 -11
  37. package/dist/actions/submit/task-fetch.mjs.map +1 -1
  38. package/dist/base.d.mts +1 -1
  39. package/dist/base.d.ts +1 -1
  40. package/dist/card.d.mts +1 -1
  41. package/dist/card.d.ts +1 -1
  42. package/dist/card.js +0 -1
  43. package/dist/card.js.map +1 -1
  44. package/dist/card.mjs +0 -1
  45. package/dist/card.mjs.map +1 -1
  46. package/dist/charts/donut.d.mts +2281 -24
  47. package/dist/charts/donut.d.ts +2281 -24
  48. package/dist/charts/donut.js.map +1 -1
  49. package/dist/charts/donut.mjs.map +1 -1
  50. package/dist/charts/index.d.mts +1 -1
  51. package/dist/charts/index.d.ts +1 -1
  52. package/dist/charts/line.d.mts +1 -1
  53. package/dist/charts/line.d.ts +1 -1
  54. package/dist/charts/line.js.map +1 -1
  55. package/dist/charts/line.mjs.map +1 -1
  56. package/dist/containers/action-set.d.mts +1 -1
  57. package/dist/containers/action-set.d.ts +1 -1
  58. package/dist/containers/base.d.mts +1 -1
  59. package/dist/containers/base.d.ts +1 -1
  60. package/dist/containers/carousel.d.mts +1 -1
  61. package/dist/containers/carousel.d.ts +1 -1
  62. package/dist/containers/carousel.js.map +1 -1
  63. package/dist/containers/carousel.mjs.map +1 -1
  64. package/dist/containers/column-set.d.mts +1 -1
  65. package/dist/containers/column-set.d.ts +1 -1
  66. package/dist/containers/column-set.js.map +1 -1
  67. package/dist/containers/column-set.mjs.map +1 -1
  68. package/dist/containers/column.d.mts +1 -1
  69. package/dist/containers/column.d.ts +1 -1
  70. package/dist/containers/column.js.map +1 -1
  71. package/dist/containers/column.mjs.map +1 -1
  72. package/dist/containers/container.d.mts +1 -1
  73. package/dist/containers/container.d.ts +1 -1
  74. package/dist/containers/container.js.map +1 -1
  75. package/dist/containers/container.mjs.map +1 -1
  76. package/dist/containers/fact-set.d.mts +1 -1
  77. package/dist/containers/fact-set.d.ts +1 -1
  78. package/dist/containers/image-set.d.mts +1 -1
  79. package/dist/containers/image-set.d.ts +1 -1
  80. package/dist/containers/index.d.mts +1 -1
  81. package/dist/containers/index.d.ts +1 -1
  82. package/dist/element.d.mts +1 -1
  83. package/dist/element.d.ts +1 -1
  84. package/dist/index.d.mts +2 -2
  85. package/dist/index.d.ts +2 -2
  86. package/dist/inputs/base.d.mts +1 -1
  87. package/dist/inputs/base.d.ts +1 -1
  88. package/dist/inputs/choice-set.d.mts +1 -1
  89. package/dist/inputs/choice-set.d.ts +1 -1
  90. package/dist/inputs/date.d.mts +1 -1
  91. package/dist/inputs/date.d.ts +1 -1
  92. package/dist/inputs/index.d.mts +1 -1
  93. package/dist/inputs/index.d.ts +1 -1
  94. package/dist/inputs/number.d.mts +1 -1
  95. package/dist/inputs/number.d.ts +1 -1
  96. package/dist/inputs/text.d.mts +1 -1
  97. package/dist/inputs/text.d.ts +1 -1
  98. package/dist/inputs/text.js.map +1 -1
  99. package/dist/inputs/text.mjs.map +1 -1
  100. package/dist/inputs/time.d.mts +1 -1
  101. package/dist/inputs/time.d.ts +1 -1
  102. package/dist/inputs/toggle.d.mts +1 -1
  103. package/dist/inputs/toggle.d.ts +1 -1
  104. package/dist/medias/badge.d.mts +1 -1
  105. package/dist/medias/badge.d.ts +1 -1
  106. package/dist/medias/code-block.d.mts +1 -1
  107. package/dist/medias/code-block.d.ts +1 -1
  108. package/dist/medias/icon.d.mts +24 -2281
  109. package/dist/medias/icon.d.ts +24 -2281
  110. package/dist/medias/image.d.mts +1 -1
  111. package/dist/medias/image.d.ts +1 -1
  112. package/dist/medias/index.d.mts +1 -1
  113. package/dist/medias/index.d.ts +1 -1
  114. package/dist/medias/media.d.mts +1 -1
  115. package/dist/medias/media.d.ts +1 -1
  116. package/dist/medias/progress-bar.d.mts +1 -1
  117. package/dist/medias/progress-bar.d.ts +1 -1
  118. package/dist/medias/progress-ring.d.mts +1 -1
  119. package/dist/medias/progress-ring.d.ts +1 -1
  120. package/dist/medias/rich-text-block.d.mts +1 -1
  121. package/dist/medias/rich-text-block.d.ts +1 -1
  122. package/dist/medias/text-block.d.mts +1 -1
  123. package/dist/medias/text-block.d.ts +1 -1
  124. package/dist/medias/text-run.d.mts +1 -1
  125. package/dist/medias/text-run.d.ts +1 -1
  126. package/package.json +3 -2
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { b2 as Action, $ as ActionSet, _ as ActionSetOptions, c as Badge, B as BadgeAppearance, b as BadgeOptions, a as BadgeStyle, p as CaptionSource, aZ as Card, aY as CardOptions, a8 as Carousel, a7 as CarouselOptions, ab as CarouselPage, aa as CarouselPageOptions, Y as ChartElement, aA as Choice, aD as ChoiceDataQuery, aC as ChoiceDataQueryOptions, av as ChoiceInputStyle, ay as ChoiceSetInput, ax as ChoiceSetInputOptions, f as CodeBlock, e as CodeBlockOptions, C as CodeLanguage, ae as Column, ad as ColumnOptions, ah as ColumnSet, ag as ColumnSetOptions, a5 as Container, aq as ContainerElement, a4 as ContainerOptions, a2 as ContainerStyle, aG as DateInput, aF as DateInputOptions, H as DonutChart, L as DonutChartData, K as DonutChartDataOptions, G as DonutChartOptions, aV as Element, am as Fact, ak as FactSet, aj as FactSetOptions, Z as IActionSet, I as IBadge, o as ICaptionSource, aW as ICard, a6 as ICarousel, a9 as ICarouselPage, az as IChoice, aB as IChoiceDataQuery, aw as IChoiceSetInput, d as ICodeBlock, ac as IColumn, af as IColumnSet, a3 as IContainer, aE as IDateInput, F as IDonutChart, J as IDonutChartData, al as IFact, ai as IFactSet, IIcon, h as IImage, an as IImageSet, N as ILineChart, S as ILineChartData, W as ILineChartDataPoint, k as IMedia, m as IMediaSource, aH as INumberInput, q as IProgressBar, s as IProgressRing, x as IRichTextBlock, a$ as IShowCardAction, z as ITextBlock, aL as ITextInput, v as ITextRun, aO as ITimeInput, aR as IToggleInput, Icon, IconName, IconOptions, j as Image, i as ImageOptions, ap as ImageSet, ao as ImageSetOptions, g as ImageSize, aU as InputElement, Q as LineChart, V as LineChartData, U as LineChartDataOptions, X as LineChartDataPoint, O as LineChartOptions, aX as MSTeamsCardInfo, l as Media, E as MediaElement, M as MediaOptions, n as MediaSource, aJ as NumberInput, aI as NumberInputOptions, r as ProgressBar, P as ProgressBarOptions, u as ProgressRing, t as ProgressRingOptions, y as RichTextBlock, R as RichTextBlockOptions, b3 as SelectAction, b1 as ShowCardAction, b0 as ShowCardOptions, D as TextBlock, A as TextBlockOptions, aN as TextInput, aM as TextInputOptions, aK as TextInputStyle, w as TextRun, T as TextRunOptions, aQ as TimeInput, aP as TimeInputOptions, aT as ToggleInput, aS as ToggleInputOptions, a_ as isCard } from './medias/icon.mjs';
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 { b2 as Action, $ as ActionSet, _ as ActionSetOptions, c as Badge, B as BadgeAppearance, b as BadgeOptions, a as BadgeStyle, p as CaptionSource, aZ as Card, aY as CardOptions, a8 as Carousel, a7 as CarouselOptions, ab as CarouselPage, aa as CarouselPageOptions, Y as ChartElement, aA as Choice, aD as ChoiceDataQuery, aC as ChoiceDataQueryOptions, av as ChoiceInputStyle, ay as ChoiceSetInput, ax as ChoiceSetInputOptions, f as CodeBlock, e as CodeBlockOptions, C as CodeLanguage, ae as Column, ad as ColumnOptions, ah as ColumnSet, ag as ColumnSetOptions, a5 as Container, aq as ContainerElement, a4 as ContainerOptions, a2 as ContainerStyle, aG as DateInput, aF as DateInputOptions, H as DonutChart, L as DonutChartData, K as DonutChartDataOptions, G as DonutChartOptions, aV as Element, am as Fact, ak as FactSet, aj as FactSetOptions, Z as IActionSet, I as IBadge, o as ICaptionSource, aW as ICard, a6 as ICarousel, a9 as ICarouselPage, az as IChoice, aB as IChoiceDataQuery, aw as IChoiceSetInput, d as ICodeBlock, ac as IColumn, af as IColumnSet, a3 as IContainer, aE as IDateInput, F as IDonutChart, J as IDonutChartData, al as IFact, ai as IFactSet, IIcon, h as IImage, an as IImageSet, N as ILineChart, S as ILineChartData, W as ILineChartDataPoint, k as IMedia, m as IMediaSource, aH as INumberInput, q as IProgressBar, s as IProgressRing, x as IRichTextBlock, a$ as IShowCardAction, z as ITextBlock, aL as ITextInput, v as ITextRun, aO as ITimeInput, aR as IToggleInput, Icon, IconName, IconOptions, j as Image, i as ImageOptions, ap as ImageSet, ao as ImageSetOptions, g as ImageSize, aU as InputElement, Q as LineChart, V as LineChartData, U as LineChartDataOptions, X as LineChartDataPoint, O as LineChartOptions, aX as MSTeamsCardInfo, l as Media, E as MediaElement, M as MediaOptions, n as MediaSource, aJ as NumberInput, aI as NumberInputOptions, r as ProgressBar, P as ProgressBarOptions, u as ProgressRing, t as ProgressRingOptions, y as RichTextBlock, R as RichTextBlockOptions, b3 as SelectAction, b1 as ShowCardAction, b0 as ShowCardOptions, D as TextBlock, A as TextBlockOptions, aN as TextInput, aM as TextInputOptions, aK as TextInputStyle, w as TextRun, T as TextRunOptions, aQ as TimeInput, aP as TimeInputOptions, aT as ToggleInput, aS as ToggleInputOptions, a_ as isCard } from './medias/icon.js';
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';
@@ -1,4 +1,4 @@
1
- export { at as IInputElement, au as InputElement, ar as InputLabelPosition, as as InputStyle } from '../medias/icon.mjs';
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';
@@ -1,4 +1,4 @@
1
- export { at as IInputElement, au as InputElement, ar as InputLabelPosition, as as InputStyle } from '../medias/icon.js';
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 { aA as Choice, aD as ChoiceDataQuery, aC as ChoiceDataQueryOptions, av as ChoiceInputStyle, ay as ChoiceSetInput, ax as ChoiceSetInputOptions, az as IChoice, aB as IChoiceDataQuery, aw as IChoiceSetInput } from '../medias/icon.mjs';
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 { aA as Choice, aD as ChoiceDataQuery, aC as ChoiceDataQueryOptions, av as ChoiceInputStyle, ay as ChoiceSetInput, ax as ChoiceSetInputOptions, az as IChoice, aB as IChoiceDataQuery, aw as IChoiceSetInput } from '../medias/icon.js';
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';
@@ -1,4 +1,4 @@
1
- export { aG as DateInput, aF as DateInputOptions, aE as IDateInput } from '../medias/icon.mjs';
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';
@@ -1,4 +1,4 @@
1
- export { aG as DateInput, aF as DateInputOptions, aE as IDateInput } from '../medias/icon.js';
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';
@@ -1,4 +1,4 @@
1
- export { aA as Choice, aD as ChoiceDataQuery, aC as ChoiceDataQueryOptions, av as ChoiceInputStyle, ay as ChoiceSetInput, ax as ChoiceSetInputOptions, aG as DateInput, aF as DateInputOptions, az as IChoice, aB as IChoiceDataQuery, aw as IChoiceSetInput, aE as IDateInput, aH as INumberInput, aL as ITextInput, aO as ITimeInput, aR as IToggleInput, aU as InputElement, aJ as NumberInput, aI as NumberInputOptions, aN as TextInput, aM as TextInputOptions, aK as TextInputStyle, aQ as TimeInput, aP as TimeInputOptions, aT as ToggleInput, aS as ToggleInputOptions } from '../medias/icon.mjs';
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';
@@ -1,4 +1,4 @@
1
- export { aA as Choice, aD as ChoiceDataQuery, aC as ChoiceDataQueryOptions, av as ChoiceInputStyle, ay as ChoiceSetInput, ax as ChoiceSetInputOptions, aG as DateInput, aF as DateInputOptions, az as IChoice, aB as IChoiceDataQuery, aw as IChoiceSetInput, aE as IDateInput, aH as INumberInput, aL as ITextInput, aO as ITimeInput, aR as IToggleInput, aU as InputElement, aJ as NumberInput, aI as NumberInputOptions, aN as TextInput, aM as TextInputOptions, aK as TextInputStyle, aQ as TimeInput, aP as TimeInputOptions, aT as ToggleInput, aS as ToggleInputOptions } from '../medias/icon.js';
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';
@@ -1,4 +1,4 @@
1
- export { aH as INumberInput, aJ as NumberInput, aI as NumberInputOptions } from '../medias/icon.mjs';
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';
@@ -1,4 +1,4 @@
1
- export { aH as INumberInput, aJ as NumberInput, aI as NumberInputOptions } from '../medias/icon.js';
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';
@@ -1,4 +1,4 @@
1
- export { aL as ITextInput, aN as TextInput, aM as TextInputOptions, aK as TextInputStyle } from '../medias/icon.mjs';
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';
@@ -1,4 +1,4 @@
1
- export { aL as ITextInput, aN as TextInput, aM as TextInputOptions, aK as TextInputStyle } from '../medias/icon.js';
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';
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/inputs/text.ts"],"names":["InputElement"],"mappings":";;;;AAuDO,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';\nimport { IInputElement, InputElement } from './base';\n\n/**\n * Style hint for text input.\n */\nexport type TextInputStyle = 'text' | 'tel' | 'url' | 'email' | 'password';\n\n/**\n * Lets a user enter text.\n */\nexport interface ITextInput extends IInputElement {\n type: 'Input.Text';\n\n /**\n * If `true`, allow multiple lines of input.\n */\n isMultiline?: boolean;\n\n /**\n * Hint of maximum length characters to collect (may be ignored by some clients).\n */\n maxLength?: number;\n\n /**\n * Description of the input desired. Displayed when no text has been input.\n */\n placeholder?: string;\n\n /**\n * Regular expression indicating the required format of this text input.\n */\n regex?: string;\n\n /**\n * Style hint for text input.\n */\n style?: TextInputStyle;\n\n /**\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).\n */\n inlineAction?: Action;\n\n /**\n * The initial value for this field.\n */\n value?: string;\n}\n\nexport type TextInputOptions = Omit<ITextInput, 'type'>;\n\n/**\n * Lets a user enter text.\n */\nexport class TextInput extends InputElement implements ITextInput {\n type: 'Input.Text';\n\n /**\n * If `true`, allow multiple lines of input.\n */\n isMultiline?: boolean;\n\n /**\n * Hint of maximum length characters to collect (may be ignored by some clients).\n */\n maxLength?: number;\n\n /**\n * Description of the input desired. Displayed when no text has been input.\n */\n placeholder?: string;\n\n /**\n * Regular expression indicating the required format of this text input.\n */\n regex?: string;\n\n /**\n * Style hint for text input.\n */\n style?: TextInputStyle;\n\n /**\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).\n */\n inlineAction?: Action;\n\n /**\n * The initial value for this field.\n */\n value?: string;\n\n constructor(options: TextInputOptions = {}) {\n super();\n this.type = 'Input.Text';\n this.withOptions(options);\n }\n\n withOptions(value: TextInputOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withMultiLine(value = true) {\n this.isMultiline = value;\n return this;\n }\n\n withMaxLength(value: number) {\n this.maxLength = value;\n return this;\n }\n\n withPlaceholder(value: string) {\n this.placeholder = value;\n return this;\n }\n\n withRegex(value: string) {\n this.regex = value;\n return this;\n }\n\n withStyle(value: TextInputStyle) {\n this.style = value;\n return this;\n }\n\n withInlineAction(value: Action) {\n this.inlineAction = value;\n return this;\n }\n\n withValue(value: string) {\n this.value = value;\n return this;\n }\n}\n"]}
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"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/inputs/text.ts"],"names":[],"mappings":";;AAuDO,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';\nimport { IInputElement, InputElement } from './base';\n\n/**\n * Style hint for text input.\n */\nexport type TextInputStyle = 'text' | 'tel' | 'url' | 'email' | 'password';\n\n/**\n * Lets a user enter text.\n */\nexport interface ITextInput extends IInputElement {\n type: 'Input.Text';\n\n /**\n * If `true`, allow multiple lines of input.\n */\n isMultiline?: boolean;\n\n /**\n * Hint of maximum length characters to collect (may be ignored by some clients).\n */\n maxLength?: number;\n\n /**\n * Description of the input desired. Displayed when no text has been input.\n */\n placeholder?: string;\n\n /**\n * Regular expression indicating the required format of this text input.\n */\n regex?: string;\n\n /**\n * Style hint for text input.\n */\n style?: TextInputStyle;\n\n /**\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).\n */\n inlineAction?: Action;\n\n /**\n * The initial value for this field.\n */\n value?: string;\n}\n\nexport type TextInputOptions = Omit<ITextInput, 'type'>;\n\n/**\n * Lets a user enter text.\n */\nexport class TextInput extends InputElement implements ITextInput {\n type: 'Input.Text';\n\n /**\n * If `true`, allow multiple lines of input.\n */\n isMultiline?: boolean;\n\n /**\n * Hint of maximum length characters to collect (may be ignored by some clients).\n */\n maxLength?: number;\n\n /**\n * Description of the input desired. Displayed when no text has been input.\n */\n placeholder?: string;\n\n /**\n * Regular expression indicating the required format of this text input.\n */\n regex?: string;\n\n /**\n * Style hint for text input.\n */\n style?: TextInputStyle;\n\n /**\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).\n */\n inlineAction?: Action;\n\n /**\n * The initial value for this field.\n */\n value?: string;\n\n constructor(options: TextInputOptions = {}) {\n super();\n this.type = 'Input.Text';\n this.withOptions(options);\n }\n\n withOptions(value: TextInputOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withMultiLine(value = true) {\n this.isMultiline = value;\n return this;\n }\n\n withMaxLength(value: number) {\n this.maxLength = value;\n return this;\n }\n\n withPlaceholder(value: string) {\n this.placeholder = value;\n return this;\n }\n\n withRegex(value: string) {\n this.regex = value;\n return this;\n }\n\n withStyle(value: TextInputStyle) {\n this.style = value;\n return this;\n }\n\n withInlineAction(value: Action) {\n this.inlineAction = value;\n return this;\n }\n\n withValue(value: string) {\n this.value = value;\n return this;\n }\n}\n"]}
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"]}
@@ -1,4 +1,4 @@
1
- export { aO as ITimeInput, aQ as TimeInput, aP as TimeInputOptions } from '../medias/icon.mjs';
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';
@@ -1,4 +1,4 @@
1
- export { aO as ITimeInput, aQ as TimeInput, aP as TimeInputOptions } from '../medias/icon.js';
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';
@@ -1,4 +1,4 @@
1
- export { aR as IToggleInput, aT as ToggleInput, aS as ToggleInputOptions } from '../medias/icon.mjs';
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';
@@ -1,4 +1,4 @@
1
- export { aR as IToggleInput, aT as ToggleInput, aS as ToggleInputOptions } from '../medias/icon.js';
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';
@@ -1,4 +1,4 @@
1
- export { c as Badge, B as BadgeAppearance, b as BadgeOptions, a as BadgeStyle, I as IBadge } from './icon.mjs';
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';
@@ -1,4 +1,4 @@
1
- export { c as Badge, B as BadgeAppearance, b as BadgeOptions, a as BadgeStyle, I as IBadge } from './icon.js';
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 { f as CodeBlock, e as CodeBlockOptions, C as CodeLanguage, d as ICodeBlock } from './icon.mjs';
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 { f as CodeBlock, e as CodeBlockOptions, C as CodeLanguage, d as ICodeBlock } from './icon.js';
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';