@microsoft/teams.cards 0.2.7
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 +41 -0
- package/dist/actions/base.d.mts +89 -0
- package/dist/actions/base.d.ts +89 -0
- package/dist/actions/base.js +90 -0
- package/dist/actions/base.js.map +1 -0
- package/dist/actions/base.mjs +88 -0
- package/dist/actions/base.mjs.map +1 -0
- package/dist/actions/execute.d.mts +47 -0
- package/dist/actions/execute.d.ts +47 -0
- package/dist/actions/execute.js +43 -0
- package/dist/actions/execute.js.map +1 -0
- package/dist/actions/execute.mjs +41 -0
- package/dist/actions/execute.mjs.map +1 -0
- package/dist/actions/index.d.mts +31 -0
- package/dist/actions/index.d.ts +31 -0
- package/dist/actions/index.js +42 -0
- package/dist/actions/index.js.map +1 -0
- package/dist/actions/index.mjs +7 -0
- package/dist/actions/index.mjs.map +1 -0
- package/dist/actions/open-url.d.mts +28 -0
- package/dist/actions/open-url.d.ts +28 -0
- package/dist/actions/open-url.js +28 -0
- package/dist/actions/open-url.js.map +1 -0
- package/dist/actions/open-url.mjs +26 -0
- package/dist/actions/open-url.mjs.map +1 -0
- package/dist/actions/show-card.d.mts +31 -0
- package/dist/actions/show-card.d.ts +31 -0
- package/dist/actions/show-card.js +28 -0
- package/dist/actions/show-card.js.map +1 -0
- package/dist/actions/show-card.mjs +26 -0
- package/dist/actions/show-card.mjs.map +1 -0
- package/dist/actions/submit/collab-stage.d.mts +74 -0
- package/dist/actions/submit/collab-stage.d.ts +74 -0
- package/dist/actions/submit/collab-stage.js +62 -0
- package/dist/actions/submit/collab-stage.js.map +1 -0
- package/dist/actions/submit/collab-stage.mjs +58 -0
- package/dist/actions/submit/collab-stage.mjs.map +1 -0
- package/dist/actions/submit/im-back.d.mts +40 -0
- package/dist/actions/submit/im-back.d.ts +40 -0
- package/dist/actions/submit/im-back.js +42 -0
- package/dist/actions/submit/im-back.js.map +1 -0
- package/dist/actions/submit/im-back.mjs +39 -0
- package/dist/actions/submit/im-back.mjs.map +1 -0
- package/dist/actions/submit/index.d.mts +10 -0
- package/dist/actions/submit/index.d.ts +10 -0
- package/dist/actions/submit/index.js +56 -0
- package/dist/actions/submit/index.js.map +1 -0
- package/dist/actions/submit/index.mjs +9 -0
- package/dist/actions/submit/index.mjs.map +1 -0
- package/dist/actions/submit/invoke.d.mts +40 -0
- package/dist/actions/submit/invoke.d.ts +40 -0
- package/dist/actions/submit/invoke.js +42 -0
- package/dist/actions/submit/invoke.js.map +1 -0
- package/dist/actions/submit/invoke.mjs +39 -0
- package/dist/actions/submit/invoke.mjs.map +1 -0
- package/dist/actions/submit/message-back.d.mts +60 -0
- package/dist/actions/submit/message-back.d.ts +60 -0
- package/dist/actions/submit/message-back.js +56 -0
- package/dist/actions/submit/message-back.js.map +1 -0
- package/dist/actions/submit/message-back.mjs +53 -0
- package/dist/actions/submit/message-back.mjs.map +1 -0
- package/dist/actions/submit/sign-in.d.mts +40 -0
- package/dist/actions/submit/sign-in.d.ts +40 -0
- package/dist/actions/submit/sign-in.js +42 -0
- package/dist/actions/submit/sign-in.js.map +1 -0
- package/dist/actions/submit/sign-in.mjs +39 -0
- package/dist/actions/submit/sign-in.mjs.map +1 -0
- package/dist/actions/submit/submit.d.mts +51 -0
- package/dist/actions/submit/submit.d.ts +51 -0
- package/dist/actions/submit/submit.js +38 -0
- package/dist/actions/submit/submit.js.map +1 -0
- package/dist/actions/submit/submit.mjs +36 -0
- package/dist/actions/submit/submit.mjs.map +1 -0
- package/dist/actions/submit/task-fetch.d.mts +40 -0
- package/dist/actions/submit/task-fetch.d.ts +40 -0
- package/dist/actions/submit/task-fetch.js +42 -0
- package/dist/actions/submit/task-fetch.js.map +1 -0
- package/dist/actions/submit/task-fetch.mjs +39 -0
- package/dist/actions/submit/task-fetch.mjs.map +1 -0
- package/dist/actions/toggle-visibility.d.mts +29 -0
- package/dist/actions/toggle-visibility.d.ts +29 -0
- package/dist/actions/toggle-visibility.js +29 -0
- package/dist/actions/toggle-visibility.js.map +1 -0
- package/dist/actions/toggle-visibility.mjs +27 -0
- package/dist/actions/toggle-visibility.mjs.map +1 -0
- package/dist/base.d.mts +31 -0
- package/dist/base.d.ts +31 -0
- package/dist/base.js +105 -0
- package/dist/base.js.map +1 -0
- package/dist/base.mjs +103 -0
- package/dist/base.mjs.map +1 -0
- package/dist/card.d.mts +31 -0
- package/dist/card.d.ts +31 -0
- package/dist/card.js +118 -0
- package/dist/card.js.map +1 -0
- package/dist/card.mjs +115 -0
- package/dist/card.mjs.map +1 -0
- package/dist/charts/color.d.mts +3 -0
- package/dist/charts/color.d.ts +3 -0
- package/dist/charts/color.js +4 -0
- package/dist/charts/color.js.map +1 -0
- package/dist/charts/color.mjs +3 -0
- package/dist/charts/color.mjs.map +1 -0
- package/dist/charts/donut.d.mts +31 -0
- package/dist/charts/donut.d.ts +31 -0
- package/dist/charts/donut.js +79 -0
- package/dist/charts/donut.js.map +1 -0
- package/dist/charts/donut.mjs +76 -0
- package/dist/charts/donut.mjs.map +1 -0
- package/dist/charts/index.d.mts +31 -0
- package/dist/charts/index.d.ts +31 -0
- package/dist/charts/index.js +28 -0
- package/dist/charts/index.js.map +1 -0
- package/dist/charts/index.mjs +5 -0
- package/dist/charts/index.mjs.map +1 -0
- package/dist/charts/line.d.mts +31 -0
- package/dist/charts/line.d.ts +31 -0
- package/dist/charts/line.js +97 -0
- package/dist/charts/line.js.map +1 -0
- package/dist/charts/line.mjs +93 -0
- package/dist/charts/line.mjs.map +1 -0
- package/dist/common/associated-inputs.d.mts +3 -0
- package/dist/common/associated-inputs.d.ts +3 -0
- package/dist/common/associated-inputs.js +4 -0
- package/dist/common/associated-inputs.js.map +1 -0
- package/dist/common/associated-inputs.mjs +3 -0
- package/dist/common/associated-inputs.mjs.map +1 -0
- package/dist/common/auth/auth-card-button.d.mts +50 -0
- package/dist/common/auth/auth-card-button.d.ts +50 -0
- package/dist/common/auth/auth-card-button.js +45 -0
- package/dist/common/auth/auth-card-button.js.map +1 -0
- package/dist/common/auth/auth-card-button.mjs +43 -0
- package/dist/common/auth/auth-card-button.mjs.map +1 -0
- package/dist/common/auth/auth.d.mts +52 -0
- package/dist/common/auth/auth.d.ts +52 -0
- package/dist/common/auth/auth.js +46 -0
- package/dist/common/auth/auth.js.map +1 -0
- package/dist/common/auth/auth.mjs +44 -0
- package/dist/common/auth/auth.mjs.map +1 -0
- package/dist/common/auth/index.d.mts +3 -0
- package/dist/common/auth/index.d.ts +3 -0
- package/dist/common/auth/index.js +28 -0
- package/dist/common/auth/index.js.map +1 -0
- package/dist/common/auth/index.mjs +5 -0
- package/dist/common/auth/index.mjs.map +1 -0
- package/dist/common/auth/token-exchange-resource.d.mts +37 -0
- package/dist/common/auth/token-exchange-resource.d.ts +37 -0
- package/dist/common/auth/token-exchange-resource.js +25 -0
- package/dist/common/auth/token-exchange-resource.js.map +1 -0
- package/dist/common/auth/token-exchange-resource.mjs +23 -0
- package/dist/common/auth/token-exchange-resource.mjs.map +1 -0
- package/dist/common/color.d.mts +3 -0
- package/dist/common/color.d.ts +3 -0
- package/dist/common/color.js +4 -0
- package/dist/common/color.js.map +1 -0
- package/dist/common/color.mjs +3 -0
- package/dist/common/color.mjs.map +1 -0
- package/dist/common/font.d.mts +5 -0
- package/dist/common/font.d.ts +5 -0
- package/dist/common/font.js +4 -0
- package/dist/common/font.js.map +1 -0
- package/dist/common/font.mjs +3 -0
- package/dist/common/font.mjs.map +1 -0
- package/dist/common/horizontal-alignment.d.mts +6 -0
- package/dist/common/horizontal-alignment.d.ts +6 -0
- package/dist/common/horizontal-alignment.js +4 -0
- package/dist/common/horizontal-alignment.js.map +1 -0
- package/dist/common/horizontal-alignment.mjs +3 -0
- package/dist/common/horizontal-alignment.mjs.map +1 -0
- package/dist/common/index.d.mts +15 -0
- package/dist/common/index.d.ts +15 -0
- package/dist/common/index.js +84 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/index.mjs +13 -0
- package/dist/common/index.mjs.map +1 -0
- package/dist/common/refresh.d.mts +23 -0
- package/dist/common/refresh.d.ts +23 -0
- package/dist/common/refresh.js +4 -0
- package/dist/common/refresh.js.map +1 -0
- package/dist/common/refresh.mjs +3 -0
- package/dist/common/refresh.mjs.map +1 -0
- package/dist/common/spacing.d.mts +6 -0
- package/dist/common/spacing.d.ts +6 -0
- package/dist/common/spacing.js +4 -0
- package/dist/common/spacing.js.map +1 -0
- package/dist/common/spacing.mjs +3 -0
- package/dist/common/spacing.mjs.map +1 -0
- package/dist/common/tab-info.d.mts +23 -0
- package/dist/common/tab-info.d.ts +23 -0
- package/dist/common/tab-info.js +4 -0
- package/dist/common/tab-info.js.map +1 -0
- package/dist/common/tab-info.mjs +3 -0
- package/dist/common/tab-info.mjs.map +1 -0
- package/dist/common/target-element.d.mts +16 -0
- package/dist/common/target-element.d.ts +16 -0
- package/dist/common/target-element.js +4 -0
- package/dist/common/target-element.js.map +1 -0
- package/dist/common/target-element.mjs +3 -0
- package/dist/common/target-element.mjs.map +1 -0
- package/dist/common/target-width.d.mts +9 -0
- package/dist/common/target-width.d.ts +9 -0
- package/dist/common/target-width.js +4 -0
- package/dist/common/target-width.js.map +1 -0
- package/dist/common/target-width.mjs +3 -0
- package/dist/common/target-width.mjs.map +1 -0
- package/dist/common/vertical-alignment.d.mts +6 -0
- package/dist/common/vertical-alignment.d.ts +6 -0
- package/dist/common/vertical-alignment.js +4 -0
- package/dist/common/vertical-alignment.js.map +1 -0
- package/dist/common/vertical-alignment.mjs +3 -0
- package/dist/common/vertical-alignment.mjs.map +1 -0
- package/dist/containers/action-set.d.mts +31 -0
- package/dist/containers/action-set.d.ts +31 -0
- package/dist/containers/action-set.js +28 -0
- package/dist/containers/action-set.js.map +1 -0
- package/dist/containers/action-set.mjs +26 -0
- package/dist/containers/action-set.mjs.map +1 -0
- package/dist/containers/base.d.mts +31 -0
- package/dist/containers/base.d.ts +31 -0
- package/dist/containers/base.js +68 -0
- package/dist/containers/base.js.map +1 -0
- package/dist/containers/base.mjs +66 -0
- package/dist/containers/base.mjs.map +1 -0
- package/dist/containers/carousel.d.mts +31 -0
- package/dist/containers/carousel.d.ts +31 -0
- package/dist/containers/carousel.js +158 -0
- package/dist/containers/carousel.js.map +1 -0
- package/dist/containers/carousel.mjs +155 -0
- package/dist/containers/carousel.mjs.map +1 -0
- package/dist/containers/column-set.d.mts +31 -0
- package/dist/containers/column-set.d.ts +31 -0
- package/dist/containers/column-set.js +44 -0
- package/dist/containers/column-set.js.map +1 -0
- package/dist/containers/column-set.mjs +42 -0
- package/dist/containers/column-set.mjs.map +1 -0
- package/dist/containers/column.d.mts +31 -0
- package/dist/containers/column.d.ts +31 -0
- package/dist/containers/column.js +60 -0
- package/dist/containers/column.js.map +1 -0
- package/dist/containers/column.mjs +58 -0
- package/dist/containers/column.mjs.map +1 -0
- package/dist/containers/container.d.mts +31 -0
- package/dist/containers/container.d.ts +31 -0
- package/dist/containers/container.js +52 -0
- package/dist/containers/container.js.map +1 -0
- package/dist/containers/container.mjs +50 -0
- package/dist/containers/container.mjs.map +1 -0
- package/dist/containers/fact-set.d.mts +31 -0
- package/dist/containers/fact-set.d.ts +31 -0
- package/dist/containers/fact-set.js +43 -0
- package/dist/containers/fact-set.js.map +1 -0
- package/dist/containers/fact-set.mjs +40 -0
- package/dist/containers/fact-set.mjs.map +1 -0
- package/dist/containers/image-set.d.mts +31 -0
- package/dist/containers/image-set.d.ts +31 -0
- package/dist/containers/image-set.js +46 -0
- package/dist/containers/image-set.js.map +1 -0
- package/dist/containers/image-set.mjs +44 -0
- package/dist/containers/image-set.mjs.map +1 -0
- package/dist/containers/index.d.mts +31 -0
- package/dist/containers/index.d.ts +31 -0
- package/dist/containers/index.js +56 -0
- package/dist/containers/index.js.map +1 -0
- package/dist/containers/index.mjs +9 -0
- package/dist/containers/index.mjs.map +1 -0
- package/dist/element.d.mts +31 -0
- package/dist/element.d.ts +31 -0
- package/dist/element.js +4 -0
- package/dist/element.js.map +1 -0
- package/dist/element.mjs +3 -0
- package/dist/element.mjs.map +1 -0
- package/dist/index.d.mts +31 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +70 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +11 -0
- package/dist/index.mjs.map +1 -0
- package/dist/inputs/base.d.mts +31 -0
- package/dist/inputs/base.d.ts +31 -0
- package/dist/inputs/base.js +63 -0
- package/dist/inputs/base.js.map +1 -0
- package/dist/inputs/base.mjs +61 -0
- package/dist/inputs/base.mjs.map +1 -0
- package/dist/inputs/choice-set.d.mts +31 -0
- package/dist/inputs/choice-set.d.ts +31 -0
- package/dist/inputs/choice-set.js +121 -0
- package/dist/inputs/choice-set.js.map +1 -0
- package/dist/inputs/choice-set.mjs +117 -0
- package/dist/inputs/choice-set.mjs.map +1 -0
- package/dist/inputs/date.d.mts +31 -0
- package/dist/inputs/date.d.ts +31 -0
- package/dist/inputs/date.js +52 -0
- package/dist/inputs/date.js.map +1 -0
- package/dist/inputs/date.mjs +50 -0
- package/dist/inputs/date.mjs.map +1 -0
- package/dist/inputs/index.d.mts +31 -0
- package/dist/inputs/index.d.ts +31 -0
- package/dist/inputs/index.js +49 -0
- package/dist/inputs/index.js.map +1 -0
- package/dist/inputs/index.mjs +8 -0
- package/dist/inputs/index.mjs.map +1 -0
- package/dist/inputs/number.d.mts +31 -0
- package/dist/inputs/number.d.ts +31 -0
- package/dist/inputs/number.js +52 -0
- package/dist/inputs/number.js.map +1 -0
- package/dist/inputs/number.mjs +50 -0
- package/dist/inputs/number.mjs.map +1 -0
- package/dist/inputs/text.d.mts +31 -0
- package/dist/inputs/text.d.ts +31 -0
- package/dist/inputs/text.js +76 -0
- package/dist/inputs/text.js.map +1 -0
- package/dist/inputs/text.mjs +74 -0
- package/dist/inputs/text.mjs.map +1 -0
- package/dist/inputs/time.d.mts +31 -0
- package/dist/inputs/time.d.ts +31 -0
- package/dist/inputs/time.js +52 -0
- package/dist/inputs/time.js.map +1 -0
- package/dist/inputs/time.mjs +50 -0
- package/dist/inputs/time.mjs.map +1 -0
- package/dist/inputs/toggle.d.mts +31 -0
- package/dist/inputs/toggle.d.ts +31 -0
- package/dist/inputs/toggle.js +57 -0
- package/dist/inputs/toggle.js.map +1 -0
- package/dist/inputs/toggle.mjs +55 -0
- package/dist/inputs/toggle.mjs.map +1 -0
- package/dist/layouts/area-grid.d.mts +133 -0
- package/dist/layouts/area-grid.d.ts +133 -0
- package/dist/layouts/area-grid.js +113 -0
- package/dist/layouts/area-grid.js.map +1 -0
- package/dist/layouts/area-grid.mjs +110 -0
- package/dist/layouts/area-grid.mjs.map +1 -0
- package/dist/layouts/flow.d.mts +119 -0
- package/dist/layouts/flow.d.ts +119 -0
- package/dist/layouts/flow.js +96 -0
- package/dist/layouts/flow.js.map +1 -0
- package/dist/layouts/flow.mjs +94 -0
- package/dist/layouts/flow.mjs.map +1 -0
- package/dist/layouts/index.d.mts +14 -0
- package/dist/layouts/index.d.ts +14 -0
- package/dist/layouts/index.js +28 -0
- package/dist/layouts/index.js.map +1 -0
- package/dist/layouts/index.mjs +5 -0
- package/dist/layouts/index.mjs.map +1 -0
- package/dist/layouts/stack.d.mts +28 -0
- package/dist/layouts/stack.d.ts +28 -0
- package/dist/layouts/stack.js +24 -0
- package/dist/layouts/stack.js.map +1 -0
- package/dist/layouts/stack.mjs +22 -0
- package/dist/layouts/stack.mjs.map +1 -0
- package/dist/medias/background-image.d.mts +56 -0
- package/dist/medias/background-image.d.ts +56 -0
- package/dist/medias/background-image.js +49 -0
- package/dist/medias/background-image.js.map +1 -0
- package/dist/medias/background-image.mjs +47 -0
- package/dist/medias/background-image.mjs.map +1 -0
- package/dist/medias/badge.d.mts +31 -0
- package/dist/medias/badge.d.ts +31 -0
- package/dist/medias/badge.js +84 -0
- package/dist/medias/badge.js.map +1 -0
- package/dist/medias/badge.mjs +82 -0
- package/dist/medias/badge.mjs.map +1 -0
- package/dist/medias/code-block.d.mts +31 -0
- package/dist/medias/code-block.d.ts +31 -0
- package/dist/medias/code-block.js +43 -0
- package/dist/medias/code-block.js.map +1 -0
- package/dist/medias/code-block.mjs +41 -0
- package/dist/medias/code-block.mjs.map +1 -0
- package/dist/medias/icon.d.mts +2288 -0
- package/dist/medias/icon.d.ts +2288 -0
- package/dist/medias/icon.js +56 -0
- package/dist/medias/icon.js.map +1 -0
- package/dist/medias/icon.mjs +54 -0
- package/dist/medias/icon.mjs.map +1 -0
- package/dist/medias/image.d.mts +31 -0
- package/dist/medias/image.d.ts +31 -0
- package/dist/medias/image.js +80 -0
- package/dist/medias/image.js.map +1 -0
- package/dist/medias/image.mjs +78 -0
- package/dist/medias/image.mjs.map +1 -0
- package/dist/medias/index.d.mts +31 -0
- package/dist/medias/index.d.ts +31 -0
- package/dist/medias/index.js +84 -0
- package/dist/medias/index.js.map +1 -0
- package/dist/medias/index.mjs +13 -0
- package/dist/medias/index.mjs.map +1 -0
- package/dist/medias/media.d.mts +31 -0
- package/dist/medias/media.d.ts +31 -0
- package/dist/medias/media.js +91 -0
- package/dist/medias/media.js.map +1 -0
- package/dist/medias/media.mjs +87 -0
- package/dist/medias/media.mjs.map +1 -0
- package/dist/medias/progress-bar.d.mts +31 -0
- package/dist/medias/progress-bar.d.ts +31 -0
- package/dist/medias/progress-bar.js +43 -0
- package/dist/medias/progress-bar.js.map +1 -0
- package/dist/medias/progress-bar.mjs +41 -0
- package/dist/medias/progress-bar.mjs.map +1 -0
- package/dist/medias/progress-ring.d.mts +31 -0
- package/dist/medias/progress-ring.d.ts +31 -0
- package/dist/medias/progress-ring.js +46 -0
- package/dist/medias/progress-ring.js.map +1 -0
- package/dist/medias/progress-ring.mjs +44 -0
- package/dist/medias/progress-ring.mjs.map +1 -0
- package/dist/medias/rich-text-block.d.mts +31 -0
- package/dist/medias/rich-text-block.d.ts +31 -0
- package/dist/medias/rich-text-block.js +33 -0
- package/dist/medias/rich-text-block.js.map +1 -0
- package/dist/medias/rich-text-block.mjs +31 -0
- package/dist/medias/rich-text-block.mjs.map +1 -0
- package/dist/medias/text-block.d.mts +31 -0
- package/dist/medias/text-block.d.ts +31 -0
- package/dist/medias/text-block.js +95 -0
- package/dist/medias/text-block.js.map +1 -0
- package/dist/medias/text-block.mjs +93 -0
- package/dist/medias/text-block.mjs.map +1 -0
- package/dist/medias/text-run.d.mts +31 -0
- package/dist/medias/text-run.d.ts +31 -0
- package/dist/medias/text-run.js +108 -0
- package/dist/medias/text-run.js.map +1 -0
- package/dist/medias/text-run.mjs +106 -0
- package/dist/medias/text-run.mjs.map +1 -0
- package/package.json +46 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { ExecuteAction, ExecuteActionOptions, IExecuteAction } from './execute.js';
|
|
2
|
+
export { IOpenUrlAction, OpenUrlAction, OpenUrlOptions } from './open-url.js';
|
|
3
|
+
export { b2 as Action, a$ as IShowCardAction, b3 as SelectAction, b1 as ShowCardAction, b0 as ShowCardOptions } from '../medias/icon.js';
|
|
4
|
+
export { ISubmitAction, MSTeamsData, SubmitAction, SubmitActionOptions } from './submit/submit.js';
|
|
5
|
+
export { IIMBackAction, IIMBackData, IMBackAction, IMBackActionOptions, IMBackData } from './submit/im-back.js';
|
|
6
|
+
export { IInvokeAction, IInvokeData, InvokeAction, InvokeActionOptions, InvokeData } from './submit/invoke.js';
|
|
7
|
+
export { IMessageBackAction, IMessageBackData, MessageBackAction, MessageBackActionOptions, MessageBackData } from './submit/message-back.js';
|
|
8
|
+
export { ISignInAction, ISignInData, SignInAction, SignInActionOptions, SignInData } from './submit/sign-in.js';
|
|
9
|
+
export { ITaskFetchAction, ITaskFetchData, TaskFetchAction, TaskFetchActionOptions, TaskFetchData } from './submit/task-fetch.js';
|
|
10
|
+
export { CollabStageAction, CollabStageActionOptions, CollabStageData, CollabStageValueData, ICollabStageAction, ICollabStageData, ICollabStageValueData } from './submit/collab-stage.js';
|
|
11
|
+
export { IToggleVisibilityAction, ToggleVisibilityAction, ToggleVisibilityActionOptions } from './toggle-visibility.js';
|
|
12
|
+
import '../common/associated-inputs.js';
|
|
13
|
+
import './base.js';
|
|
14
|
+
import '../common/vertical-alignment.js';
|
|
15
|
+
import '../common/refresh.js';
|
|
16
|
+
import '../common/auth/auth.js';
|
|
17
|
+
import '../common/auth/auth-card-button.js';
|
|
18
|
+
import '../common/auth/token-exchange-resource.js';
|
|
19
|
+
import '../common/horizontal-alignment.js';
|
|
20
|
+
import '../common/spacing.js';
|
|
21
|
+
import '../common/target-width.js';
|
|
22
|
+
import '../charts/color.js';
|
|
23
|
+
import '../layouts/index.js';
|
|
24
|
+
import '../layouts/area-grid.js';
|
|
25
|
+
import '../layouts/flow.js';
|
|
26
|
+
import '../layouts/stack.js';
|
|
27
|
+
import '../medias/background-image.js';
|
|
28
|
+
import '../common/color.js';
|
|
29
|
+
import '../common/font.js';
|
|
30
|
+
import '../common/target-element.js';
|
|
31
|
+
import '../common/tab-info.js';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var execute = require('./execute');
|
|
4
|
+
var openUrl = require('./open-url');
|
|
5
|
+
var showCard = require('./show-card');
|
|
6
|
+
var submit = require('./submit');
|
|
7
|
+
var toggleVisibility = require('./toggle-visibility');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Object.keys(execute).forEach(function (k) {
|
|
12
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return execute[k]; }
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
Object.keys(openUrl).forEach(function (k) {
|
|
18
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return openUrl[k]; }
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
Object.keys(showCard).forEach(function (k) {
|
|
24
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return showCard[k]; }
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
Object.keys(submit).forEach(function (k) {
|
|
30
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return submit[k]; }
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
Object.keys(toggleVisibility).forEach(function (k) {
|
|
36
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return toggleVisibility[k]; }
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=index.js.map
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs","sourcesContent":[]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IAction, Action } from './base.mjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* When invoked, show the given url either by launching it in an external web browser or showing within an embedded web browser.
|
|
5
|
+
*/
|
|
6
|
+
interface IOpenUrlAction extends IAction {
|
|
7
|
+
type: 'Action.OpenUrl';
|
|
8
|
+
/**
|
|
9
|
+
* The URL to open.
|
|
10
|
+
*/
|
|
11
|
+
url: string;
|
|
12
|
+
}
|
|
13
|
+
type OpenUrlOptions = Omit<IOpenUrlAction, 'type' | 'url'>;
|
|
14
|
+
/**
|
|
15
|
+
* When invoked, show the given url either by launching it in an external web browser or showing within an embedded web browser.
|
|
16
|
+
*/
|
|
17
|
+
declare class OpenUrlAction extends Action implements IOpenUrlAction {
|
|
18
|
+
type: 'Action.OpenUrl';
|
|
19
|
+
/**
|
|
20
|
+
* The URL to open.
|
|
21
|
+
*/
|
|
22
|
+
url: string;
|
|
23
|
+
constructor(url: string, options?: OpenUrlOptions);
|
|
24
|
+
static from(options: Omit<IOpenUrlAction, 'type'>): OpenUrlAction;
|
|
25
|
+
withUrl(value: string): this;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { type IOpenUrlAction, OpenUrlAction, type OpenUrlOptions };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IAction, Action } from './base.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* When invoked, show the given url either by launching it in an external web browser or showing within an embedded web browser.
|
|
5
|
+
*/
|
|
6
|
+
interface IOpenUrlAction extends IAction {
|
|
7
|
+
type: 'Action.OpenUrl';
|
|
8
|
+
/**
|
|
9
|
+
* The URL to open.
|
|
10
|
+
*/
|
|
11
|
+
url: string;
|
|
12
|
+
}
|
|
13
|
+
type OpenUrlOptions = Omit<IOpenUrlAction, 'type' | 'url'>;
|
|
14
|
+
/**
|
|
15
|
+
* When invoked, show the given url either by launching it in an external web browser or showing within an embedded web browser.
|
|
16
|
+
*/
|
|
17
|
+
declare class OpenUrlAction extends Action implements IOpenUrlAction {
|
|
18
|
+
type: 'Action.OpenUrl';
|
|
19
|
+
/**
|
|
20
|
+
* The URL to open.
|
|
21
|
+
*/
|
|
22
|
+
url: string;
|
|
23
|
+
constructor(url: string, options?: OpenUrlOptions);
|
|
24
|
+
static from(options: Omit<IOpenUrlAction, 'type'>): OpenUrlAction;
|
|
25
|
+
withUrl(value: string): this;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { type IOpenUrlAction, OpenUrlAction, type OpenUrlOptions };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var base = require('./base');
|
|
4
|
+
|
|
5
|
+
class OpenUrlAction extends base.Action {
|
|
6
|
+
type;
|
|
7
|
+
/**
|
|
8
|
+
* The URL to open.
|
|
9
|
+
*/
|
|
10
|
+
url;
|
|
11
|
+
constructor(url, options = {}) {
|
|
12
|
+
super();
|
|
13
|
+
this.type = "Action.OpenUrl";
|
|
14
|
+
this.url = url;
|
|
15
|
+
Object.assign(this, options);
|
|
16
|
+
}
|
|
17
|
+
static from(options) {
|
|
18
|
+
return new OpenUrlAction(options.url, options);
|
|
19
|
+
}
|
|
20
|
+
withUrl(value) {
|
|
21
|
+
this.url = value;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
exports.OpenUrlAction = OpenUrlAction;
|
|
27
|
+
//# sourceMappingURL=open-url.js.map
|
|
28
|
+
//# sourceMappingURL=open-url.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/open-url.ts"],"names":["Action"],"mappings":";;;;AAmBO,MAAM,sBAAsBA,WAAiC,CAAA;AAAA,EAClE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA,EAEA,WAAY,CAAA,GAAA,EAAa,OAA0B,GAAA,EAAI,EAAA;AACrD,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,gBAAA;AACZ,IAAA,IAAA,CAAK,GAAM,GAAA,GAAA;AACX,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAAA;AAC7B,EAEA,OAAO,KAAK,OAAuC,EAAA;AACjD,IAAA,OAAO,IAAI,aAAA,CAAc,OAAQ,CAAA,GAAA,EAAK,OAAO,CAAA;AAAA;AAC/C,EAEA,QAAQ,KAAe,EAAA;AACrB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AAEX","file":"open-url.js","sourcesContent":["import { IAction, Action } from './base';\n\n/**\n * When invoked, show the given url either by launching it in an external web browser or showing within an embedded web browser.\n */\nexport interface IOpenUrlAction extends IAction {\n type: 'Action.OpenUrl';\n\n /**\n * The URL to open.\n */\n url: string;\n}\n\nexport type OpenUrlOptions = Omit<IOpenUrlAction, 'type' | 'url'>;\n\n/**\n * When invoked, show the given url either by launching it in an external web browser or showing within an embedded web browser.\n */\nexport class OpenUrlAction extends Action implements IOpenUrlAction {\n type: 'Action.OpenUrl';\n\n /**\n * The URL to open.\n */\n url: string;\n\n constructor(url: string, options: OpenUrlOptions = {}) {\n super();\n this.type = 'Action.OpenUrl';\n this.url = url;\n Object.assign(this, options);\n }\n\n static from(options: Omit<IOpenUrlAction, 'type'>) {\n return new OpenUrlAction(options.url, options);\n }\n\n withUrl(value: string) {\n this.url = value;\n return this;\n }\n}\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Action } from './base';
|
|
2
|
+
|
|
3
|
+
class OpenUrlAction extends Action {
|
|
4
|
+
type;
|
|
5
|
+
/**
|
|
6
|
+
* The URL to open.
|
|
7
|
+
*/
|
|
8
|
+
url;
|
|
9
|
+
constructor(url, options = {}) {
|
|
10
|
+
super();
|
|
11
|
+
this.type = "Action.OpenUrl";
|
|
12
|
+
this.url = url;
|
|
13
|
+
Object.assign(this, options);
|
|
14
|
+
}
|
|
15
|
+
static from(options) {
|
|
16
|
+
return new OpenUrlAction(options.url, options);
|
|
17
|
+
}
|
|
18
|
+
withUrl(value) {
|
|
19
|
+
this.url = value;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { OpenUrlAction };
|
|
25
|
+
//# sourceMappingURL=open-url.mjs.map
|
|
26
|
+
//# sourceMappingURL=open-url.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/open-url.ts"],"names":[],"mappings":";;AAmBO,MAAM,sBAAsB,MAAiC,CAAA;AAAA,EAClE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA,EAEA,WAAY,CAAA,GAAA,EAAa,OAA0B,GAAA,EAAI,EAAA;AACrD,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,gBAAA;AACZ,IAAA,IAAA,CAAK,GAAM,GAAA,GAAA;AACX,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAAA;AAC7B,EAEA,OAAO,KAAK,OAAuC,EAAA;AACjD,IAAA,OAAO,IAAI,aAAA,CAAc,OAAQ,CAAA,GAAA,EAAK,OAAO,CAAA;AAAA;AAC/C,EAEA,QAAQ,KAAe,EAAA;AACrB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AAEX","file":"open-url.mjs","sourcesContent":["import { IAction, Action } from './base';\n\n/**\n * When invoked, show the given url either by launching it in an external web browser or showing within an embedded web browser.\n */\nexport interface IOpenUrlAction extends IAction {\n type: 'Action.OpenUrl';\n\n /**\n * The URL to open.\n */\n url: string;\n}\n\nexport type OpenUrlOptions = Omit<IOpenUrlAction, 'type' | 'url'>;\n\n/**\n * When invoked, show the given url either by launching it in an external web browser or showing within an embedded web browser.\n */\nexport class OpenUrlAction extends Action implements IOpenUrlAction {\n type: 'Action.OpenUrl';\n\n /**\n * The URL to open.\n */\n url: string;\n\n constructor(url: string, options: OpenUrlOptions = {}) {\n super();\n this.type = 'Action.OpenUrl';\n this.url = url;\n Object.assign(this, options);\n }\n\n static from(options: Omit<IOpenUrlAction, 'type'>) {\n return new OpenUrlAction(options.url, options);\n }\n\n withUrl(value: string) {\n this.url = value;\n return this;\n }\n}\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { a$ as IShowCardAction, b1 as ShowCardAction, b0 as ShowCardOptions } from '../medias/icon.mjs';
|
|
2
|
+
import './base.mjs';
|
|
3
|
+
import './execute.mjs';
|
|
4
|
+
import '../common/associated-inputs.mjs';
|
|
5
|
+
import './open-url.mjs';
|
|
6
|
+
import '../common/vertical-alignment.mjs';
|
|
7
|
+
import '../common/refresh.mjs';
|
|
8
|
+
import '../common/auth/auth.mjs';
|
|
9
|
+
import '../common/auth/auth-card-button.mjs';
|
|
10
|
+
import '../common/auth/token-exchange-resource.mjs';
|
|
11
|
+
import '../common/horizontal-alignment.mjs';
|
|
12
|
+
import '../common/spacing.mjs';
|
|
13
|
+
import '../common/target-width.mjs';
|
|
14
|
+
import '../charts/color.mjs';
|
|
15
|
+
import '../layouts/index.mjs';
|
|
16
|
+
import '../layouts/area-grid.mjs';
|
|
17
|
+
import '../layouts/flow.mjs';
|
|
18
|
+
import '../layouts/stack.mjs';
|
|
19
|
+
import '../medias/background-image.mjs';
|
|
20
|
+
import '../common/color.mjs';
|
|
21
|
+
import '../common/font.mjs';
|
|
22
|
+
import './submit/submit.mjs';
|
|
23
|
+
import './submit/im-back.mjs';
|
|
24
|
+
import './submit/invoke.mjs';
|
|
25
|
+
import './submit/message-back.mjs';
|
|
26
|
+
import './submit/sign-in.mjs';
|
|
27
|
+
import './submit/task-fetch.mjs';
|
|
28
|
+
import './submit/collab-stage.mjs';
|
|
29
|
+
import '../common/tab-info.mjs';
|
|
30
|
+
import './toggle-visibility.mjs';
|
|
31
|
+
import '../common/target-element.mjs';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { a$ as IShowCardAction, b1 as ShowCardAction, b0 as ShowCardOptions } from '../medias/icon.js';
|
|
2
|
+
import './base.js';
|
|
3
|
+
import './execute.js';
|
|
4
|
+
import '../common/associated-inputs.js';
|
|
5
|
+
import './open-url.js';
|
|
6
|
+
import '../common/vertical-alignment.js';
|
|
7
|
+
import '../common/refresh.js';
|
|
8
|
+
import '../common/auth/auth.js';
|
|
9
|
+
import '../common/auth/auth-card-button.js';
|
|
10
|
+
import '../common/auth/token-exchange-resource.js';
|
|
11
|
+
import '../common/horizontal-alignment.js';
|
|
12
|
+
import '../common/spacing.js';
|
|
13
|
+
import '../common/target-width.js';
|
|
14
|
+
import '../charts/color.js';
|
|
15
|
+
import '../layouts/index.js';
|
|
16
|
+
import '../layouts/area-grid.js';
|
|
17
|
+
import '../layouts/flow.js';
|
|
18
|
+
import '../layouts/stack.js';
|
|
19
|
+
import '../medias/background-image.js';
|
|
20
|
+
import '../common/color.js';
|
|
21
|
+
import '../common/font.js';
|
|
22
|
+
import './submit/submit.js';
|
|
23
|
+
import './submit/im-back.js';
|
|
24
|
+
import './submit/invoke.js';
|
|
25
|
+
import './submit/message-back.js';
|
|
26
|
+
import './submit/sign-in.js';
|
|
27
|
+
import './submit/task-fetch.js';
|
|
28
|
+
import './submit/collab-stage.js';
|
|
29
|
+
import '../common/tab-info.js';
|
|
30
|
+
import './toggle-visibility.js';
|
|
31
|
+
import '../common/target-element.js';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var base = require('./base');
|
|
4
|
+
|
|
5
|
+
class ShowCardAction extends base.Action {
|
|
6
|
+
type;
|
|
7
|
+
/**
|
|
8
|
+
* the card to display
|
|
9
|
+
*/
|
|
10
|
+
card;
|
|
11
|
+
constructor(card, options = {}) {
|
|
12
|
+
super();
|
|
13
|
+
this.type = "Action.ShowCard";
|
|
14
|
+
this.card = card;
|
|
15
|
+
Object.assign(this, options);
|
|
16
|
+
}
|
|
17
|
+
static from(options) {
|
|
18
|
+
return new ShowCardAction(options.card, options);
|
|
19
|
+
}
|
|
20
|
+
withCard(value) {
|
|
21
|
+
this.card = value;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
exports.ShowCardAction = ShowCardAction;
|
|
27
|
+
//# sourceMappingURL=show-card.js.map
|
|
28
|
+
//# sourceMappingURL=show-card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/show-card.ts"],"names":["Action"],"mappings":";;;;AAqBO,MAAM,uBAAuBA,WAAkC,CAAA;AAAA,EACpE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA,EAEA,WAAY,CAAA,IAAA,EAAa,OAA2B,GAAA,EAAI,EAAA;AACtD,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,iBAAA;AACZ,IAAA,IAAA,CAAK,IAAO,GAAA,IAAA;AACZ,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAAA;AAC7B,EAEA,OAAO,KAAK,OAAwC,EAAA;AAClD,IAAA,OAAO,IAAI,cAAA,CAAe,OAAQ,CAAA,IAAA,EAAM,OAAO,CAAA;AAAA;AACjD,EAEA,SAAS,KAAc,EAAA;AACrB,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AAEX","file":"show-card.js","sourcesContent":["import { ICard } from '../card';\n\nimport { IAction, Action } from './base';\n\n/**\n * Defines an AdaptiveCard which is shown to the user when the button or link is clicked.\n */\nexport interface IShowCardAction extends IAction {\n type: 'Action.ShowCard';\n\n /**\n * the card to display\n */\n card: ICard;\n}\n\nexport type ShowCardOptions = Omit<IShowCardAction, 'type' | 'card'>;\n\n/**\n * Defines an AdaptiveCard which is shown to the user when the button or link is clicked.\n */\nexport class ShowCardAction extends Action implements IShowCardAction {\n type: 'Action.ShowCard';\n\n /**\n * the card to display\n */\n card: ICard;\n\n constructor(card: ICard, options: ShowCardOptions = {}) {\n super();\n this.type = 'Action.ShowCard';\n this.card = card;\n Object.assign(this, options);\n }\n\n static from(options: Omit<IShowCardAction, 'type'>) {\n return new ShowCardAction(options.card, options);\n }\n\n withCard(value: ICard) {\n this.card = value;\n return this;\n }\n}\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Action } from './base';
|
|
2
|
+
|
|
3
|
+
class ShowCardAction extends Action {
|
|
4
|
+
type;
|
|
5
|
+
/**
|
|
6
|
+
* the card to display
|
|
7
|
+
*/
|
|
8
|
+
card;
|
|
9
|
+
constructor(card, options = {}) {
|
|
10
|
+
super();
|
|
11
|
+
this.type = "Action.ShowCard";
|
|
12
|
+
this.card = card;
|
|
13
|
+
Object.assign(this, options);
|
|
14
|
+
}
|
|
15
|
+
static from(options) {
|
|
16
|
+
return new ShowCardAction(options.card, options);
|
|
17
|
+
}
|
|
18
|
+
withCard(value) {
|
|
19
|
+
this.card = value;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { ShowCardAction };
|
|
25
|
+
//# sourceMappingURL=show-card.mjs.map
|
|
26
|
+
//# sourceMappingURL=show-card.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/show-card.ts"],"names":[],"mappings":";;AAqBO,MAAM,uBAAuB,MAAkC,CAAA;AAAA,EACpE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA,EAEA,WAAY,CAAA,IAAA,EAAa,OAA2B,GAAA,EAAI,EAAA;AACtD,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,iBAAA;AACZ,IAAA,IAAA,CAAK,IAAO,GAAA,IAAA;AACZ,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAAA;AAC7B,EAEA,OAAO,KAAK,OAAwC,EAAA;AAClD,IAAA,OAAO,IAAI,cAAA,CAAe,OAAQ,CAAA,IAAA,EAAM,OAAO,CAAA;AAAA;AACjD,EAEA,SAAS,KAAc,EAAA;AACrB,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AAEX","file":"show-card.mjs","sourcesContent":["import { ICard } from '../card';\n\nimport { IAction, Action } from './base';\n\n/**\n * Defines an AdaptiveCard which is shown to the user when the button or link is clicked.\n */\nexport interface IShowCardAction extends IAction {\n type: 'Action.ShowCard';\n\n /**\n * the card to display\n */\n card: ICard;\n}\n\nexport type ShowCardOptions = Omit<IShowCardAction, 'type' | 'card'>;\n\n/**\n * Defines an AdaptiveCard which is shown to the user when the button or link is clicked.\n */\nexport class ShowCardAction extends Action implements IShowCardAction {\n type: 'Action.ShowCard';\n\n /**\n * the card to display\n */\n card: ICard;\n\n constructor(card: ICard, options: ShowCardOptions = {}) {\n super();\n this.type = 'Action.ShowCard';\n this.card = card;\n Object.assign(this, options);\n }\n\n static from(options: Omit<IShowCardAction, 'type'>) {\n return new ShowCardAction(options.card, options);\n }\n\n withCard(value: ICard) {\n this.card = value;\n return this;\n }\n}\n"]}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { SubmitActionOptions, MSTeamsData, ISubmitAction, SubmitAction } from './submit.mjs';
|
|
2
|
+
import { ITabInfo } from '../../common/tab-info.mjs';
|
|
3
|
+
import '../../common/associated-inputs.mjs';
|
|
4
|
+
import '../base.mjs';
|
|
5
|
+
|
|
6
|
+
type CollabStageActionOptions = SubmitActionOptions & {
|
|
7
|
+
data: MSTeamsData<ICollabStageData>;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Adaptive Card action response type for the {@link CollabStageAction} function.
|
|
11
|
+
*/
|
|
12
|
+
interface ICollabStageAction extends ISubmitAction {
|
|
13
|
+
/**
|
|
14
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
15
|
+
*/
|
|
16
|
+
data: MSTeamsData<ICollabStageData>;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Adaptive Card action that opens a collab stage popout window.
|
|
20
|
+
*/
|
|
21
|
+
declare class CollabStageAction extends SubmitAction implements ICollabStageAction {
|
|
22
|
+
/**
|
|
23
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
24
|
+
*/
|
|
25
|
+
data: MSTeamsData<ICollabStageData>;
|
|
26
|
+
constructor(tab?: ITabInfo, options?: SubmitActionOptions);
|
|
27
|
+
static from(options: CollabStageActionOptions): CollabStageAction;
|
|
28
|
+
withData(value: ICollabStageData): this;
|
|
29
|
+
withValue(value: ITabInfo): this;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Contains the Adaptive Card action data in {@link CollabStageAction}.
|
|
33
|
+
*/
|
|
34
|
+
interface ICollabStageData {
|
|
35
|
+
type: 'invoke';
|
|
36
|
+
/**
|
|
37
|
+
* Set the value to send with the invoke
|
|
38
|
+
*/
|
|
39
|
+
value?: ICollabStageValueData;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Contains the Adaptive Card action data in {@link CollabStageAction}.
|
|
43
|
+
*/
|
|
44
|
+
declare class CollabStageData implements ICollabStageData {
|
|
45
|
+
type: 'invoke';
|
|
46
|
+
/**
|
|
47
|
+
* Set the value to send with the invoke
|
|
48
|
+
*/
|
|
49
|
+
value?: ICollabStageValueData;
|
|
50
|
+
constructor(value?: ICollabStageValueData);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Contains the Adaptive Card action value data in {@link CollabStageActionData}.
|
|
54
|
+
*/
|
|
55
|
+
interface ICollabStageValueData {
|
|
56
|
+
type: 'tab/tabInfoAction';
|
|
57
|
+
/**
|
|
58
|
+
* Information about the iFrame content, rendered in the collab stage popout window.
|
|
59
|
+
*/
|
|
60
|
+
tabInfo: ITabInfo;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Contains the Adaptive Card action value data in {@link CollabStageActionData}.
|
|
64
|
+
*/
|
|
65
|
+
declare class CollabStageValueData implements ICollabStageValueData {
|
|
66
|
+
type: 'tab/tabInfoAction';
|
|
67
|
+
/**
|
|
68
|
+
* Information about the iFrame content, rendered in the collab stage popout window.
|
|
69
|
+
*/
|
|
70
|
+
tabInfo: ITabInfo;
|
|
71
|
+
constructor(tab: ITabInfo);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export { CollabStageAction, type CollabStageActionOptions, CollabStageData, CollabStageValueData, type ICollabStageAction, type ICollabStageData, type ICollabStageValueData };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { SubmitActionOptions, MSTeamsData, ISubmitAction, SubmitAction } from './submit.js';
|
|
2
|
+
import { ITabInfo } from '../../common/tab-info.js';
|
|
3
|
+
import '../../common/associated-inputs.js';
|
|
4
|
+
import '../base.js';
|
|
5
|
+
|
|
6
|
+
type CollabStageActionOptions = SubmitActionOptions & {
|
|
7
|
+
data: MSTeamsData<ICollabStageData>;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Adaptive Card action response type for the {@link CollabStageAction} function.
|
|
11
|
+
*/
|
|
12
|
+
interface ICollabStageAction extends ISubmitAction {
|
|
13
|
+
/**
|
|
14
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
15
|
+
*/
|
|
16
|
+
data: MSTeamsData<ICollabStageData>;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Adaptive Card action that opens a collab stage popout window.
|
|
20
|
+
*/
|
|
21
|
+
declare class CollabStageAction extends SubmitAction implements ICollabStageAction {
|
|
22
|
+
/**
|
|
23
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
24
|
+
*/
|
|
25
|
+
data: MSTeamsData<ICollabStageData>;
|
|
26
|
+
constructor(tab?: ITabInfo, options?: SubmitActionOptions);
|
|
27
|
+
static from(options: CollabStageActionOptions): CollabStageAction;
|
|
28
|
+
withData(value: ICollabStageData): this;
|
|
29
|
+
withValue(value: ITabInfo): this;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Contains the Adaptive Card action data in {@link CollabStageAction}.
|
|
33
|
+
*/
|
|
34
|
+
interface ICollabStageData {
|
|
35
|
+
type: 'invoke';
|
|
36
|
+
/**
|
|
37
|
+
* Set the value to send with the invoke
|
|
38
|
+
*/
|
|
39
|
+
value?: ICollabStageValueData;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Contains the Adaptive Card action data in {@link CollabStageAction}.
|
|
43
|
+
*/
|
|
44
|
+
declare class CollabStageData implements ICollabStageData {
|
|
45
|
+
type: 'invoke';
|
|
46
|
+
/**
|
|
47
|
+
* Set the value to send with the invoke
|
|
48
|
+
*/
|
|
49
|
+
value?: ICollabStageValueData;
|
|
50
|
+
constructor(value?: ICollabStageValueData);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Contains the Adaptive Card action value data in {@link CollabStageActionData}.
|
|
54
|
+
*/
|
|
55
|
+
interface ICollabStageValueData {
|
|
56
|
+
type: 'tab/tabInfoAction';
|
|
57
|
+
/**
|
|
58
|
+
* Information about the iFrame content, rendered in the collab stage popout window.
|
|
59
|
+
*/
|
|
60
|
+
tabInfo: ITabInfo;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Contains the Adaptive Card action value data in {@link CollabStageActionData}.
|
|
64
|
+
*/
|
|
65
|
+
declare class CollabStageValueData implements ICollabStageValueData {
|
|
66
|
+
type: 'tab/tabInfoAction';
|
|
67
|
+
/**
|
|
68
|
+
* Information about the iFrame content, rendered in the collab stage popout window.
|
|
69
|
+
*/
|
|
70
|
+
tabInfo: ITabInfo;
|
|
71
|
+
constructor(tab: ITabInfo);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export { CollabStageAction, type CollabStageActionOptions, CollabStageData, CollabStageValueData, type ICollabStageAction, type ICollabStageData, type ICollabStageValueData };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var submit = require('./submit');
|
|
4
|
+
|
|
5
|
+
class CollabStageAction extends submit.SubmitAction {
|
|
6
|
+
/**
|
|
7
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
8
|
+
*/
|
|
9
|
+
data;
|
|
10
|
+
constructor(tab, options = {}) {
|
|
11
|
+
super(options);
|
|
12
|
+
Object.assign(this, options);
|
|
13
|
+
this.data = {
|
|
14
|
+
msteams: {
|
|
15
|
+
type: "invoke",
|
|
16
|
+
value: tab ? {
|
|
17
|
+
type: "tab/tabInfoAction",
|
|
18
|
+
tabInfo: tab
|
|
19
|
+
} : void 0
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
static from(options) {
|
|
24
|
+
return new CollabStageAction(options.data.msteams.value?.tabInfo, options);
|
|
25
|
+
}
|
|
26
|
+
withData(value) {
|
|
27
|
+
this.data.msteams = value;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
withValue(value) {
|
|
31
|
+
this.data.msteams.value = new CollabStageValueData(value);
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
class CollabStageData {
|
|
36
|
+
type;
|
|
37
|
+
/**
|
|
38
|
+
* Set the value to send with the invoke
|
|
39
|
+
*/
|
|
40
|
+
value;
|
|
41
|
+
constructor(value) {
|
|
42
|
+
this.type = "invoke";
|
|
43
|
+
this.value = value;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
class CollabStageValueData {
|
|
47
|
+
type;
|
|
48
|
+
/**
|
|
49
|
+
* Information about the iFrame content, rendered in the collab stage popout window.
|
|
50
|
+
*/
|
|
51
|
+
tabInfo;
|
|
52
|
+
constructor(tab) {
|
|
53
|
+
this.type = "tab/tabInfoAction";
|
|
54
|
+
this.tabInfo = tab;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
exports.CollabStageAction = CollabStageAction;
|
|
59
|
+
exports.CollabStageData = CollabStageData;
|
|
60
|
+
exports.CollabStageValueData = CollabStageValueData;
|
|
61
|
+
//# sourceMappingURL=collab-stage.js.map
|
|
62
|
+
//# sourceMappingURL=collab-stage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/actions/submit/collab-stage.ts"],"names":["SubmitAction"],"mappings":";;;;AAqBO,MAAM,0BAA0BA,mBAA2C,CAAA;AAAA;AAAA;AAAA;AAAA,EAIhF,IAAA;AAAA,EAEA,WAAY,CAAA,GAAA,EAAgB,OAA+B,GAAA,EAAI,EAAA;AAC7D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAO,GAAA;AAAA,MACV,OAAS,EAAA;AAAA,QACP,IAAM,EAAA,QAAA;AAAA,QACN,OAAO,GACH,GAAA;AAAA,UACE,IAAM,EAAA,mBAAA;AAAA,UACN,OAAS,EAAA;AAAA,SAEX,GAAA;AAAA;AACN,KACF;AAAA;AACF,EAEA,OAAO,KAAK,OAAmC,EAAA;AAC7C,IAAA,OAAO,IAAI,iBAAkB,CAAA,OAAA,CAAQ,KAAK,OAAQ,CAAA,KAAA,EAAO,SAAS,OAAO,CAAA;AAAA;AAC3E,EAEA,SAAS,KAAyB,EAAA;AAChC,IAAA,IAAA,CAAK,KAAK,OAAU,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAiB,EAAA;AACzB,IAAA,IAAA,CAAK,IAAK,CAAA,OAAA,CAAQ,KAAQ,GAAA,IAAI,qBAAqB,KAAK,CAAA;AACxD,IAAO,OAAA,IAAA;AAAA;AAEX;AAiBO,MAAM,eAA4C,CAAA;AAAA,EACvD,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAA+B,EAAA;AACzC,IAAA,IAAA,CAAK,IAAO,GAAA,QAAA;AACZ,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AAAA;AAEjB;AAiBO,MAAM,oBAAsD,CAAA;AAAA,EACjE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA,EAEA,YAAY,GAAe,EAAA;AACzB,IAAA,IAAA,CAAK,IAAO,GAAA,mBAAA;AACZ,IAAA,IAAA,CAAK,OAAU,GAAA,GAAA;AAAA;AAEnB","file":"collab-stage.js","sourcesContent":["import { ITabInfo } from '../../common';\n\nimport { ISubmitAction, MSTeamsData, SubmitAction, SubmitActionOptions } from './submit';\n\nexport type CollabStageActionOptions = SubmitActionOptions & {\n data: MSTeamsData<ICollabStageData>;\n};\n\n/**\n * Adaptive Card action response type for the {@link CollabStageAction} function.\n */\nexport interface ICollabStageAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ICollabStageData>;\n}\n\n/**\n * Adaptive Card action that opens a collab stage popout window.\n */\nexport class CollabStageAction extends SubmitAction implements ICollabStageAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ICollabStageData>;\n\n constructor(tab?: ITabInfo, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n msteams: {\n type: 'invoke',\n value: tab\n ? {\n type: 'tab/tabInfoAction',\n tabInfo: tab,\n }\n : undefined,\n },\n };\n }\n\n static from(options: CollabStageActionOptions) {\n return new CollabStageAction(options.data.msteams.value?.tabInfo, options);\n }\n\n withData(value: ICollabStageData) {\n this.data.msteams = value;\n return this;\n }\n\n withValue(value: ITabInfo) {\n this.data.msteams.value = new CollabStageValueData(value);\n return this;\n }\n}\n\n/**\n * Contains the Adaptive Card action data in {@link CollabStageAction}.\n */\nexport interface ICollabStageData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: ICollabStageValueData;\n}\n\n/**\n * Contains the Adaptive Card action data in {@link CollabStageAction}.\n */\nexport class CollabStageData implements ICollabStageData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: ICollabStageValueData;\n\n constructor(value?: ICollabStageValueData) {\n this.type = 'invoke';\n this.value = value;\n }\n}\n\n/**\n * Contains the Adaptive Card action value data in {@link CollabStageActionData}.\n */\nexport interface ICollabStageValueData {\n type: 'tab/tabInfoAction';\n\n /**\n * Information about the iFrame content, rendered in the collab stage popout window.\n */\n tabInfo: ITabInfo;\n}\n\n/**\n * Contains the Adaptive Card action value data in {@link CollabStageActionData}.\n */\nexport class CollabStageValueData implements ICollabStageValueData {\n type: 'tab/tabInfoAction';\n\n /**\n * Information about the iFrame content, rendered in the collab stage popout window.\n */\n tabInfo: ITabInfo;\n\n constructor(tab: ITabInfo) {\n this.type = 'tab/tabInfoAction';\n this.tabInfo = tab;\n }\n}\n"]}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { SubmitAction } from './submit';
|
|
2
|
+
|
|
3
|
+
class CollabStageAction extends SubmitAction {
|
|
4
|
+
/**
|
|
5
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
6
|
+
*/
|
|
7
|
+
data;
|
|
8
|
+
constructor(tab, options = {}) {
|
|
9
|
+
super(options);
|
|
10
|
+
Object.assign(this, options);
|
|
11
|
+
this.data = {
|
|
12
|
+
msteams: {
|
|
13
|
+
type: "invoke",
|
|
14
|
+
value: tab ? {
|
|
15
|
+
type: "tab/tabInfoAction",
|
|
16
|
+
tabInfo: tab
|
|
17
|
+
} : void 0
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
static from(options) {
|
|
22
|
+
return new CollabStageAction(options.data.msteams.value?.tabInfo, options);
|
|
23
|
+
}
|
|
24
|
+
withData(value) {
|
|
25
|
+
this.data.msteams = value;
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
withValue(value) {
|
|
29
|
+
this.data.msteams.value = new CollabStageValueData(value);
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
class CollabStageData {
|
|
34
|
+
type;
|
|
35
|
+
/**
|
|
36
|
+
* Set the value to send with the invoke
|
|
37
|
+
*/
|
|
38
|
+
value;
|
|
39
|
+
constructor(value) {
|
|
40
|
+
this.type = "invoke";
|
|
41
|
+
this.value = value;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
class CollabStageValueData {
|
|
45
|
+
type;
|
|
46
|
+
/**
|
|
47
|
+
* Information about the iFrame content, rendered in the collab stage popout window.
|
|
48
|
+
*/
|
|
49
|
+
tabInfo;
|
|
50
|
+
constructor(tab) {
|
|
51
|
+
this.type = "tab/tabInfoAction";
|
|
52
|
+
this.tabInfo = tab;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { CollabStageAction, CollabStageData, CollabStageValueData };
|
|
57
|
+
//# sourceMappingURL=collab-stage.mjs.map
|
|
58
|
+
//# sourceMappingURL=collab-stage.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/actions/submit/collab-stage.ts"],"names":[],"mappings":";;AAqBO,MAAM,0BAA0B,YAA2C,CAAA;AAAA;AAAA;AAAA;AAAA,EAIhF,IAAA;AAAA,EAEA,WAAY,CAAA,GAAA,EAAgB,OAA+B,GAAA,EAAI,EAAA;AAC7D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAO,GAAA;AAAA,MACV,OAAS,EAAA;AAAA,QACP,IAAM,EAAA,QAAA;AAAA,QACN,OAAO,GACH,GAAA;AAAA,UACE,IAAM,EAAA,mBAAA;AAAA,UACN,OAAS,EAAA;AAAA,SAEX,GAAA;AAAA;AACN,KACF;AAAA;AACF,EAEA,OAAO,KAAK,OAAmC,EAAA;AAC7C,IAAA,OAAO,IAAI,iBAAkB,CAAA,OAAA,CAAQ,KAAK,OAAQ,CAAA,KAAA,EAAO,SAAS,OAAO,CAAA;AAAA;AAC3E,EAEA,SAAS,KAAyB,EAAA;AAChC,IAAA,IAAA,CAAK,KAAK,OAAU,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAiB,EAAA;AACzB,IAAA,IAAA,CAAK,IAAK,CAAA,OAAA,CAAQ,KAAQ,GAAA,IAAI,qBAAqB,KAAK,CAAA;AACxD,IAAO,OAAA,IAAA;AAAA;AAEX;AAiBO,MAAM,eAA4C,CAAA;AAAA,EACvD,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAA+B,EAAA;AACzC,IAAA,IAAA,CAAK,IAAO,GAAA,QAAA;AACZ,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AAAA;AAEjB;AAiBO,MAAM,oBAAsD,CAAA;AAAA,EACjE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA,EAEA,YAAY,GAAe,EAAA;AACzB,IAAA,IAAA,CAAK,IAAO,GAAA,mBAAA;AACZ,IAAA,IAAA,CAAK,OAAU,GAAA,GAAA;AAAA;AAEnB","file":"collab-stage.mjs","sourcesContent":["import { ITabInfo } from '../../common';\n\nimport { ISubmitAction, MSTeamsData, SubmitAction, SubmitActionOptions } from './submit';\n\nexport type CollabStageActionOptions = SubmitActionOptions & {\n data: MSTeamsData<ICollabStageData>;\n};\n\n/**\n * Adaptive Card action response type for the {@link CollabStageAction} function.\n */\nexport interface ICollabStageAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ICollabStageData>;\n}\n\n/**\n * Adaptive Card action that opens a collab stage popout window.\n */\nexport class CollabStageAction extends SubmitAction implements ICollabStageAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<ICollabStageData>;\n\n constructor(tab?: ITabInfo, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n msteams: {\n type: 'invoke',\n value: tab\n ? {\n type: 'tab/tabInfoAction',\n tabInfo: tab,\n }\n : undefined,\n },\n };\n }\n\n static from(options: CollabStageActionOptions) {\n return new CollabStageAction(options.data.msteams.value?.tabInfo, options);\n }\n\n withData(value: ICollabStageData) {\n this.data.msteams = value;\n return this;\n }\n\n withValue(value: ITabInfo) {\n this.data.msteams.value = new CollabStageValueData(value);\n return this;\n }\n}\n\n/**\n * Contains the Adaptive Card action data in {@link CollabStageAction}.\n */\nexport interface ICollabStageData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: ICollabStageValueData;\n}\n\n/**\n * Contains the Adaptive Card action data in {@link CollabStageAction}.\n */\nexport class CollabStageData implements ICollabStageData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: ICollabStageValueData;\n\n constructor(value?: ICollabStageValueData) {\n this.type = 'invoke';\n this.value = value;\n }\n}\n\n/**\n * Contains the Adaptive Card action value data in {@link CollabStageActionData}.\n */\nexport interface ICollabStageValueData {\n type: 'tab/tabInfoAction';\n\n /**\n * Information about the iFrame content, rendered in the collab stage popout window.\n */\n tabInfo: ITabInfo;\n}\n\n/**\n * Contains the Adaptive Card action value data in {@link CollabStageActionData}.\n */\nexport class CollabStageValueData implements ICollabStageValueData {\n type: 'tab/tabInfoAction';\n\n /**\n * Information about the iFrame content, rendered in the collab stage popout window.\n */\n tabInfo: ITabInfo;\n\n constructor(tab: ITabInfo) {\n this.type = 'tab/tabInfoAction';\n this.tabInfo = tab;\n }\n}\n"]}
|