@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
package/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Teams: Cards
|
|
2
|
+
|
|
3
|
+
<p>
|
|
4
|
+
<a href="https://www.npmjs.com/package/@microsoft/teams.cards" target="_blank">
|
|
5
|
+
<img src="https://img.shields.io/npm/v/@microsoft/teams.cards" />
|
|
6
|
+
</a>
|
|
7
|
+
<a href="https://www.npmjs.com/package/@microsoft/teams.cards?activeTab=code" target="_blank">
|
|
8
|
+
<img src="https://img.shields.io/bundlephobia/min/@microsoft/teams.cards" />
|
|
9
|
+
</a>
|
|
10
|
+
<a href="https://www.npmjs.com/package/@microsoft/teams.cards?activeTab=dependencies" target="_blank">
|
|
11
|
+
<img src="https://img.shields.io/librariesio/release/npm/@microsoft/teams.cards" />
|
|
12
|
+
</a>
|
|
13
|
+
<a href="https://www.npmjs.com/package/@microsoft/teams.cards" target="_blank">
|
|
14
|
+
<img src="https://img.shields.io/npm/dw/@microsoft/teams.cards" />
|
|
15
|
+
</a>
|
|
16
|
+
<a href="https://microsoft.github.io/teams.js" target="_blank">
|
|
17
|
+
<img src="https://img.shields.io/badge/📖 docs-open-blue" />
|
|
18
|
+
</a>
|
|
19
|
+
</p>
|
|
20
|
+
|
|
21
|
+
An Adaptive Cards implementation with support for Teams-specific Adaptive Card elements.
|
|
22
|
+
|
|
23
|
+
<a href="https://microsoft.github.io/teams.js/2.getting-started/1.create-application.html" target="_blank">
|
|
24
|
+
<img src="https://img.shields.io/badge/📖 Getting Started-blue?style=for-the-badge" />
|
|
25
|
+
</a>
|
|
26
|
+
|
|
27
|
+
## Install
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
$: npm install @microsoft/teams.cards
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Links
|
|
34
|
+
|
|
35
|
+
- [AdaptiveCards.io](https://adaptivecards.io/)
|
|
36
|
+
- [Teams Adaptive Cards Designer](https://aka.ms/acdesignerbeta)
|
|
37
|
+
- [Teams Adaptive Cards Schema Explorer](https://aka.ms/acexplorer)
|
|
38
|
+
|
|
39
|
+
## Dependencies
|
|
40
|
+
|
|
41
|
+
N/A
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
interface IAction {
|
|
2
|
+
/**
|
|
3
|
+
* A unique identifier associated with this Action.
|
|
4
|
+
*/
|
|
5
|
+
id?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Label for button or link that represents this action.
|
|
8
|
+
*/
|
|
9
|
+
title?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Optional icon to be shown on the action in conjunction with the title. Supports data URI in version 1.2+
|
|
12
|
+
*/
|
|
13
|
+
iconUrl?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Controls the style of an Action, which influences how the action is displayed, spoken, etc.
|
|
16
|
+
*/
|
|
17
|
+
style?: 'default' | 'positive' | 'destructive';
|
|
18
|
+
/**
|
|
19
|
+
* Describes what to do when an unknown element is encountered or the requires of this or any children can’t be met.
|
|
20
|
+
*/
|
|
21
|
+
fallback?: IAction | string;
|
|
22
|
+
/**
|
|
23
|
+
* Determines whether an action is displayed with a button or is moved to the overflow menu.
|
|
24
|
+
*/
|
|
25
|
+
mode?: 'primary' | 'secondary';
|
|
26
|
+
/**
|
|
27
|
+
* Defines text that should be displayed to the end user as they hover the mouse over the action, and read when using narration software.
|
|
28
|
+
*/
|
|
29
|
+
tooltip?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Determines whether the action should be enabled.
|
|
32
|
+
*/
|
|
33
|
+
isEnabled?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* A series of key/value pairs indicating features that the item requires with corresponding minimum version. When a feature is missing or of insufficient version, fallback is triggered.
|
|
36
|
+
*/
|
|
37
|
+
requires?: Record<string, string>;
|
|
38
|
+
}
|
|
39
|
+
declare class Action implements IAction {
|
|
40
|
+
/**
|
|
41
|
+
* A unique identifier associated with this Action.
|
|
42
|
+
*/
|
|
43
|
+
id?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Label for button or link that represents this action.
|
|
46
|
+
*/
|
|
47
|
+
title?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Optional icon to be shown on the action in conjunction with the title. Supports data URI in version 1.2+
|
|
50
|
+
*/
|
|
51
|
+
iconUrl?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Controls the style of an Action, which influences how the action is displayed, spoken, etc.
|
|
54
|
+
*/
|
|
55
|
+
style?: 'default' | 'positive' | 'destructive';
|
|
56
|
+
/**
|
|
57
|
+
* Describes what to do when an unknown element is encountered or the requires of this or any children can’t be met.
|
|
58
|
+
*/
|
|
59
|
+
fallback?: IAction | string;
|
|
60
|
+
/**
|
|
61
|
+
* Determines whether an action is displayed with a button or is moved to the overflow menu.
|
|
62
|
+
*/
|
|
63
|
+
mode?: 'primary' | 'secondary';
|
|
64
|
+
/**
|
|
65
|
+
* Defines text that should be displayed to the end user as they hover the mouse over the action, and read when using narration software.
|
|
66
|
+
*/
|
|
67
|
+
tooltip?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Determines whether the action should be enabled.
|
|
70
|
+
*/
|
|
71
|
+
isEnabled?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* A series of key/value pairs indicating features that the item requires with corresponding minimum version. When a feature is missing or of insufficient version, fallback is triggered.
|
|
74
|
+
*/
|
|
75
|
+
requires?: Record<string, string>;
|
|
76
|
+
constructor(value?: IAction);
|
|
77
|
+
withId(value: string): this;
|
|
78
|
+
withTitle(value: string): this;
|
|
79
|
+
withIconUrl(value: string): this;
|
|
80
|
+
withStyle(value: 'default' | 'positive' | 'destructive'): this;
|
|
81
|
+
withFallback(value: IAction | string): this;
|
|
82
|
+
withMode(value: 'primary' | 'secondary'): this;
|
|
83
|
+
withTooltip(value: string): this;
|
|
84
|
+
withEnabled(value?: boolean): this;
|
|
85
|
+
withRequires(value: Record<string, string>): this;
|
|
86
|
+
withRequire(key: string, value: string): this;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export { Action, type IAction };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
interface IAction {
|
|
2
|
+
/**
|
|
3
|
+
* A unique identifier associated with this Action.
|
|
4
|
+
*/
|
|
5
|
+
id?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Label for button or link that represents this action.
|
|
8
|
+
*/
|
|
9
|
+
title?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Optional icon to be shown on the action in conjunction with the title. Supports data URI in version 1.2+
|
|
12
|
+
*/
|
|
13
|
+
iconUrl?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Controls the style of an Action, which influences how the action is displayed, spoken, etc.
|
|
16
|
+
*/
|
|
17
|
+
style?: 'default' | 'positive' | 'destructive';
|
|
18
|
+
/**
|
|
19
|
+
* Describes what to do when an unknown element is encountered or the requires of this or any children can’t be met.
|
|
20
|
+
*/
|
|
21
|
+
fallback?: IAction | string;
|
|
22
|
+
/**
|
|
23
|
+
* Determines whether an action is displayed with a button or is moved to the overflow menu.
|
|
24
|
+
*/
|
|
25
|
+
mode?: 'primary' | 'secondary';
|
|
26
|
+
/**
|
|
27
|
+
* Defines text that should be displayed to the end user as they hover the mouse over the action, and read when using narration software.
|
|
28
|
+
*/
|
|
29
|
+
tooltip?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Determines whether the action should be enabled.
|
|
32
|
+
*/
|
|
33
|
+
isEnabled?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* A series of key/value pairs indicating features that the item requires with corresponding minimum version. When a feature is missing or of insufficient version, fallback is triggered.
|
|
36
|
+
*/
|
|
37
|
+
requires?: Record<string, string>;
|
|
38
|
+
}
|
|
39
|
+
declare class Action implements IAction {
|
|
40
|
+
/**
|
|
41
|
+
* A unique identifier associated with this Action.
|
|
42
|
+
*/
|
|
43
|
+
id?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Label for button or link that represents this action.
|
|
46
|
+
*/
|
|
47
|
+
title?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Optional icon to be shown on the action in conjunction with the title. Supports data URI in version 1.2+
|
|
50
|
+
*/
|
|
51
|
+
iconUrl?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Controls the style of an Action, which influences how the action is displayed, spoken, etc.
|
|
54
|
+
*/
|
|
55
|
+
style?: 'default' | 'positive' | 'destructive';
|
|
56
|
+
/**
|
|
57
|
+
* Describes what to do when an unknown element is encountered or the requires of this or any children can’t be met.
|
|
58
|
+
*/
|
|
59
|
+
fallback?: IAction | string;
|
|
60
|
+
/**
|
|
61
|
+
* Determines whether an action is displayed with a button or is moved to the overflow menu.
|
|
62
|
+
*/
|
|
63
|
+
mode?: 'primary' | 'secondary';
|
|
64
|
+
/**
|
|
65
|
+
* Defines text that should be displayed to the end user as they hover the mouse over the action, and read when using narration software.
|
|
66
|
+
*/
|
|
67
|
+
tooltip?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Determines whether the action should be enabled.
|
|
70
|
+
*/
|
|
71
|
+
isEnabled?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* A series of key/value pairs indicating features that the item requires with corresponding minimum version. When a feature is missing or of insufficient version, fallback is triggered.
|
|
74
|
+
*/
|
|
75
|
+
requires?: Record<string, string>;
|
|
76
|
+
constructor(value?: IAction);
|
|
77
|
+
withId(value: string): this;
|
|
78
|
+
withTitle(value: string): this;
|
|
79
|
+
withIconUrl(value: string): this;
|
|
80
|
+
withStyle(value: 'default' | 'positive' | 'destructive'): this;
|
|
81
|
+
withFallback(value: IAction | string): this;
|
|
82
|
+
withMode(value: 'primary' | 'secondary'): this;
|
|
83
|
+
withTooltip(value: string): this;
|
|
84
|
+
withEnabled(value?: boolean): this;
|
|
85
|
+
withRequires(value: Record<string, string>): this;
|
|
86
|
+
withRequire(key: string, value: string): this;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export { Action, type IAction };
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
class Action {
|
|
4
|
+
/**
|
|
5
|
+
* A unique identifier associated with this Action.
|
|
6
|
+
*/
|
|
7
|
+
id;
|
|
8
|
+
/**
|
|
9
|
+
* Label for button or link that represents this action.
|
|
10
|
+
*/
|
|
11
|
+
title;
|
|
12
|
+
/**
|
|
13
|
+
* Optional icon to be shown on the action in conjunction with the title. Supports data URI in version 1.2+
|
|
14
|
+
*/
|
|
15
|
+
iconUrl;
|
|
16
|
+
/**
|
|
17
|
+
* Controls the style of an Action, which influences how the action is displayed, spoken, etc.
|
|
18
|
+
*/
|
|
19
|
+
style;
|
|
20
|
+
/**
|
|
21
|
+
* Describes what to do when an unknown element is encountered or the requires of this or any children can’t be met.
|
|
22
|
+
*/
|
|
23
|
+
fallback;
|
|
24
|
+
/**
|
|
25
|
+
* Determines whether an action is displayed with a button or is moved to the overflow menu.
|
|
26
|
+
*/
|
|
27
|
+
mode;
|
|
28
|
+
/**
|
|
29
|
+
* Defines text that should be displayed to the end user as they hover the mouse over the action, and read when using narration software.
|
|
30
|
+
*/
|
|
31
|
+
tooltip;
|
|
32
|
+
/**
|
|
33
|
+
* Determines whether the action should be enabled.
|
|
34
|
+
*/
|
|
35
|
+
isEnabled;
|
|
36
|
+
/**
|
|
37
|
+
* A series of key/value pairs indicating features that the item requires with corresponding minimum version. When a feature is missing or of insufficient version, fallback is triggered.
|
|
38
|
+
*/
|
|
39
|
+
requires;
|
|
40
|
+
constructor(value = {}) {
|
|
41
|
+
Object.assign(this, value);
|
|
42
|
+
}
|
|
43
|
+
withId(value) {
|
|
44
|
+
this.id = value;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
withTitle(value) {
|
|
48
|
+
this.title = value;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
withIconUrl(value) {
|
|
52
|
+
this.iconUrl = value;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
withStyle(value) {
|
|
56
|
+
this.style = value;
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
59
|
+
withFallback(value) {
|
|
60
|
+
this.fallback = value;
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
withMode(value) {
|
|
64
|
+
this.mode = value;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
withTooltip(value) {
|
|
68
|
+
this.tooltip = value;
|
|
69
|
+
return this;
|
|
70
|
+
}
|
|
71
|
+
withEnabled(value = true) {
|
|
72
|
+
this.isEnabled = value;
|
|
73
|
+
return this;
|
|
74
|
+
}
|
|
75
|
+
withRequires(value) {
|
|
76
|
+
this.requires = value;
|
|
77
|
+
return this;
|
|
78
|
+
}
|
|
79
|
+
withRequire(key, value) {
|
|
80
|
+
if (!this.requires) {
|
|
81
|
+
this.requires = {};
|
|
82
|
+
}
|
|
83
|
+
this.requires[key] = value;
|
|
84
|
+
return this;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
exports.Action = Action;
|
|
89
|
+
//# sourceMappingURL=base.js.map
|
|
90
|
+
//# sourceMappingURL=base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/base.ts"],"names":[],"mappings":";;AA+CO,MAAM,MAA0B,CAAA;AAAA;AAAA;AAAA;AAAA,EAIrC,EAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,QAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,SAAA;AAAA;AAAA;AAAA;AAAA,EAKA,QAAA;AAAA,EAEA,WAAA,CAAY,KAAiB,GAAA,EAAI,EAAA;AAC/B,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AAAA;AAC3B,EAEA,OAAO,KAAe,EAAA;AACpB,IAAA,IAAA,CAAK,EAAK,GAAA,KAAA;AACV,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAY,KAAe,EAAA;AACzB,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAA+C,EAAA;AACvD,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAa,KAAyB,EAAA;AACpC,IAAA,IAAA,CAAK,QAAW,GAAA,KAAA;AAChB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAS,KAAgC,EAAA;AACvC,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAY,KAAe,EAAA;AACzB,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,WAAA,CAAY,QAAQ,IAAM,EAAA;AACxB,IAAA,IAAA,CAAK,SAAY,GAAA,KAAA;AACjB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAa,KAA+B,EAAA;AAC1C,IAAA,IAAA,CAAK,QAAW,GAAA,KAAA;AAChB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,WAAA,CAAY,KAAa,KAAe,EAAA;AACtC,IAAI,IAAA,CAAC,KAAK,QAAU,EAAA;AAClB,MAAA,IAAA,CAAK,WAAW,EAAC;AAAA;AAGnB,IAAK,IAAA,CAAA,QAAA,CAAS,GAAG,CAAI,GAAA,KAAA;AACrB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"base.js","sourcesContent":["export interface IAction {\n /**\n * A unique identifier associated with this Action.\n */\n id?: string;\n\n /**\n * Label for button or link that represents this action.\n */\n title?: string;\n\n /**\n * Optional icon to be shown on the action in conjunction with the title. Supports data URI in version 1.2+\n */\n iconUrl?: string;\n\n /**\n * Controls the style of an Action, which influences how the action is displayed, spoken, etc.\n */\n style?: 'default' | 'positive' | 'destructive';\n\n /**\n * Describes what to do when an unknown element is encountered or the requires of this or any children can’t be met.\n */\n fallback?: IAction | string;\n\n /**\n * Determines whether an action is displayed with a button or is moved to the overflow menu.\n */\n mode?: 'primary' | 'secondary';\n\n /**\n * Defines text that should be displayed to the end user as they hover the mouse over the action, and read when using narration software.\n */\n tooltip?: string;\n\n /**\n * Determines whether the action should be enabled.\n */\n isEnabled?: boolean;\n\n /**\n * A series of key/value pairs indicating features that the item requires with corresponding minimum version. When a feature is missing or of insufficient version, fallback is triggered.\n */\n requires?: Record<string, string>;\n}\n\nexport class Action implements IAction {\n /**\n * A unique identifier associated with this Action.\n */\n id?: string;\n\n /**\n * Label for button or link that represents this action.\n */\n title?: string;\n\n /**\n * Optional icon to be shown on the action in conjunction with the title. Supports data URI in version 1.2+\n */\n iconUrl?: string;\n\n /**\n * Controls the style of an Action, which influences how the action is displayed, spoken, etc.\n */\n style?: 'default' | 'positive' | 'destructive';\n\n /**\n * Describes what to do when an unknown element is encountered or the requires of this or any children can’t be met.\n */\n fallback?: IAction | string;\n\n /**\n * Determines whether an action is displayed with a button or is moved to the overflow menu.\n */\n mode?: 'primary' | 'secondary';\n\n /**\n * Defines text that should be displayed to the end user as they hover the mouse over the action, and read when using narration software.\n */\n tooltip?: string;\n\n /**\n * Determines whether the action should be enabled.\n */\n isEnabled?: boolean;\n\n /**\n * A series of key/value pairs indicating features that the item requires with corresponding minimum version. When a feature is missing or of insufficient version, fallback is triggered.\n */\n requires?: Record<string, string>;\n\n constructor(value: IAction = {}) {\n Object.assign(this, value);\n }\n\n withId(value: string) {\n this.id = value;\n return this;\n }\n\n withTitle(value: string) {\n this.title = value;\n return this;\n }\n\n withIconUrl(value: string) {\n this.iconUrl = value;\n return this;\n }\n\n withStyle(value: 'default' | 'positive' | 'destructive') {\n this.style = value;\n return this;\n }\n\n withFallback(value: IAction | string) {\n this.fallback = value;\n return this;\n }\n\n withMode(value: 'primary' | 'secondary') {\n this.mode = value;\n return this;\n }\n\n withTooltip(value: string) {\n this.tooltip = value;\n return this;\n }\n\n withEnabled(value = true) {\n this.isEnabled = value;\n return this;\n }\n\n withRequires(value: Record<string, string>) {\n this.requires = value;\n return this;\n }\n\n withRequire(key: string, value: string) {\n if (!this.requires) {\n this.requires = {};\n }\n\n this.requires[key] = value;\n return this;\n }\n}\n"]}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
class Action {
|
|
2
|
+
/**
|
|
3
|
+
* A unique identifier associated with this Action.
|
|
4
|
+
*/
|
|
5
|
+
id;
|
|
6
|
+
/**
|
|
7
|
+
* Label for button or link that represents this action.
|
|
8
|
+
*/
|
|
9
|
+
title;
|
|
10
|
+
/**
|
|
11
|
+
* Optional icon to be shown on the action in conjunction with the title. Supports data URI in version 1.2+
|
|
12
|
+
*/
|
|
13
|
+
iconUrl;
|
|
14
|
+
/**
|
|
15
|
+
* Controls the style of an Action, which influences how the action is displayed, spoken, etc.
|
|
16
|
+
*/
|
|
17
|
+
style;
|
|
18
|
+
/**
|
|
19
|
+
* Describes what to do when an unknown element is encountered or the requires of this or any children can’t be met.
|
|
20
|
+
*/
|
|
21
|
+
fallback;
|
|
22
|
+
/**
|
|
23
|
+
* Determines whether an action is displayed with a button or is moved to the overflow menu.
|
|
24
|
+
*/
|
|
25
|
+
mode;
|
|
26
|
+
/**
|
|
27
|
+
* Defines text that should be displayed to the end user as they hover the mouse over the action, and read when using narration software.
|
|
28
|
+
*/
|
|
29
|
+
tooltip;
|
|
30
|
+
/**
|
|
31
|
+
* Determines whether the action should be enabled.
|
|
32
|
+
*/
|
|
33
|
+
isEnabled;
|
|
34
|
+
/**
|
|
35
|
+
* A series of key/value pairs indicating features that the item requires with corresponding minimum version. When a feature is missing or of insufficient version, fallback is triggered.
|
|
36
|
+
*/
|
|
37
|
+
requires;
|
|
38
|
+
constructor(value = {}) {
|
|
39
|
+
Object.assign(this, value);
|
|
40
|
+
}
|
|
41
|
+
withId(value) {
|
|
42
|
+
this.id = value;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
withTitle(value) {
|
|
46
|
+
this.title = value;
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
withIconUrl(value) {
|
|
50
|
+
this.iconUrl = value;
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
withStyle(value) {
|
|
54
|
+
this.style = value;
|
|
55
|
+
return this;
|
|
56
|
+
}
|
|
57
|
+
withFallback(value) {
|
|
58
|
+
this.fallback = value;
|
|
59
|
+
return this;
|
|
60
|
+
}
|
|
61
|
+
withMode(value) {
|
|
62
|
+
this.mode = value;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
withTooltip(value) {
|
|
66
|
+
this.tooltip = value;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
withEnabled(value = true) {
|
|
70
|
+
this.isEnabled = value;
|
|
71
|
+
return this;
|
|
72
|
+
}
|
|
73
|
+
withRequires(value) {
|
|
74
|
+
this.requires = value;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
withRequire(key, value) {
|
|
78
|
+
if (!this.requires) {
|
|
79
|
+
this.requires = {};
|
|
80
|
+
}
|
|
81
|
+
this.requires[key] = value;
|
|
82
|
+
return this;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export { Action };
|
|
87
|
+
//# sourceMappingURL=base.mjs.map
|
|
88
|
+
//# sourceMappingURL=base.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/base.ts"],"names":[],"mappings":"AA+CO,MAAM,MAA0B,CAAA;AAAA;AAAA;AAAA;AAAA,EAIrC,EAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,QAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,SAAA;AAAA;AAAA;AAAA;AAAA,EAKA,QAAA;AAAA,EAEA,WAAA,CAAY,KAAiB,GAAA,EAAI,EAAA;AAC/B,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AAAA;AAC3B,EAEA,OAAO,KAAe,EAAA;AACpB,IAAA,IAAA,CAAK,EAAK,GAAA,KAAA;AACV,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAY,KAAe,EAAA;AACzB,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAA+C,EAAA;AACvD,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAa,KAAyB,EAAA;AACpC,IAAA,IAAA,CAAK,QAAW,GAAA,KAAA;AAChB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAS,KAAgC,EAAA;AACvC,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAY,KAAe,EAAA;AACzB,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,WAAA,CAAY,QAAQ,IAAM,EAAA;AACxB,IAAA,IAAA,CAAK,SAAY,GAAA,KAAA;AACjB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAa,KAA+B,EAAA;AAC1C,IAAA,IAAA,CAAK,QAAW,GAAA,KAAA;AAChB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,WAAA,CAAY,KAAa,KAAe,EAAA;AACtC,IAAI,IAAA,CAAC,KAAK,QAAU,EAAA;AAClB,MAAA,IAAA,CAAK,WAAW,EAAC;AAAA;AAGnB,IAAK,IAAA,CAAA,QAAA,CAAS,GAAG,CAAI,GAAA,KAAA;AACrB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"base.mjs","sourcesContent":["export interface IAction {\n /**\n * A unique identifier associated with this Action.\n */\n id?: string;\n\n /**\n * Label for button or link that represents this action.\n */\n title?: string;\n\n /**\n * Optional icon to be shown on the action in conjunction with the title. Supports data URI in version 1.2+\n */\n iconUrl?: string;\n\n /**\n * Controls the style of an Action, which influences how the action is displayed, spoken, etc.\n */\n style?: 'default' | 'positive' | 'destructive';\n\n /**\n * Describes what to do when an unknown element is encountered or the requires of this or any children can’t be met.\n */\n fallback?: IAction | string;\n\n /**\n * Determines whether an action is displayed with a button or is moved to the overflow menu.\n */\n mode?: 'primary' | 'secondary';\n\n /**\n * Defines text that should be displayed to the end user as they hover the mouse over the action, and read when using narration software.\n */\n tooltip?: string;\n\n /**\n * Determines whether the action should be enabled.\n */\n isEnabled?: boolean;\n\n /**\n * A series of key/value pairs indicating features that the item requires with corresponding minimum version. When a feature is missing or of insufficient version, fallback is triggered.\n */\n requires?: Record<string, string>;\n}\n\nexport class Action implements IAction {\n /**\n * A unique identifier associated with this Action.\n */\n id?: string;\n\n /**\n * Label for button or link that represents this action.\n */\n title?: string;\n\n /**\n * Optional icon to be shown on the action in conjunction with the title. Supports data URI in version 1.2+\n */\n iconUrl?: string;\n\n /**\n * Controls the style of an Action, which influences how the action is displayed, spoken, etc.\n */\n style?: 'default' | 'positive' | 'destructive';\n\n /**\n * Describes what to do when an unknown element is encountered or the requires of this or any children can’t be met.\n */\n fallback?: IAction | string;\n\n /**\n * Determines whether an action is displayed with a button or is moved to the overflow menu.\n */\n mode?: 'primary' | 'secondary';\n\n /**\n * Defines text that should be displayed to the end user as they hover the mouse over the action, and read when using narration software.\n */\n tooltip?: string;\n\n /**\n * Determines whether the action should be enabled.\n */\n isEnabled?: boolean;\n\n /**\n * A series of key/value pairs indicating features that the item requires with corresponding minimum version. When a feature is missing or of insufficient version, fallback is triggered.\n */\n requires?: Record<string, string>;\n\n constructor(value: IAction = {}) {\n Object.assign(this, value);\n }\n\n withId(value: string) {\n this.id = value;\n return this;\n }\n\n withTitle(value: string) {\n this.title = value;\n return this;\n }\n\n withIconUrl(value: string) {\n this.iconUrl = value;\n return this;\n }\n\n withStyle(value: 'default' | 'positive' | 'destructive') {\n this.style = value;\n return this;\n }\n\n withFallback(value: IAction | string) {\n this.fallback = value;\n return this;\n }\n\n withMode(value: 'primary' | 'secondary') {\n this.mode = value;\n return this;\n }\n\n withTooltip(value: string) {\n this.tooltip = value;\n return this;\n }\n\n withEnabled(value = true) {\n this.isEnabled = value;\n return this;\n }\n\n withRequires(value: Record<string, string>) {\n this.requires = value;\n return this;\n }\n\n withRequire(key: string, value: string) {\n if (!this.requires) {\n this.requires = {};\n }\n\n this.requires[key] = value;\n return this;\n }\n}\n"]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { AssociatedInputs } from '../common/associated-inputs.mjs';
|
|
2
|
+
import { IAction, Action } from './base.mjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Gathers input fields, merges with optional data field, and sends an event to the client. Clients process the event by sending an Invoke activity of type adaptiveCard/action to the target Bot. The inputs that are gathered are those on the current card, and in the case of a show card those on any parent cards. See [Universal Action Model](https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/universal-action-model) documentation for more details.
|
|
6
|
+
*/
|
|
7
|
+
interface IExecuteAction extends IAction {
|
|
8
|
+
type: 'Action.Execute';
|
|
9
|
+
/**
|
|
10
|
+
* The card author-defined verb associated with this action.
|
|
11
|
+
*/
|
|
12
|
+
verb?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
15
|
+
*/
|
|
16
|
+
data?: string | Record<string, any>;
|
|
17
|
+
/**
|
|
18
|
+
* Controls which inputs are associated with the action.
|
|
19
|
+
*/
|
|
20
|
+
associatedInputs?: AssociatedInputs;
|
|
21
|
+
}
|
|
22
|
+
type ExecuteActionOptions = Omit<IExecuteAction, 'type'>;
|
|
23
|
+
/**
|
|
24
|
+
* Gathers input fields, merges with optional data field, and sends an event to the client. Clients process the event by sending an Invoke activity of type adaptiveCard/action to the target Bot. The inputs that are gathered are those on the current card, and in the case of a show card those on any parent cards. See [Universal Action Model](https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/universal-action-model) documentation for more details.
|
|
25
|
+
*/
|
|
26
|
+
declare class ExecuteAction extends Action implements IExecuteAction {
|
|
27
|
+
type: 'Action.Execute';
|
|
28
|
+
/**
|
|
29
|
+
* The card author-defined verb associated with this action.
|
|
30
|
+
*/
|
|
31
|
+
verb?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
34
|
+
*/
|
|
35
|
+
data?: string | Record<string, any>;
|
|
36
|
+
/**
|
|
37
|
+
* Controls which inputs are associated with the action.
|
|
38
|
+
*/
|
|
39
|
+
associatedInputs?: AssociatedInputs;
|
|
40
|
+
constructor(options?: ExecuteActionOptions);
|
|
41
|
+
static from(options: ExecuteActionOptions): ExecuteAction;
|
|
42
|
+
withVerb(value: string): this;
|
|
43
|
+
withData(value: string | Record<string, any>): this;
|
|
44
|
+
withAssociatedInputs(value: AssociatedInputs): this;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { ExecuteAction, type ExecuteActionOptions, type IExecuteAction };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { AssociatedInputs } from '../common/associated-inputs.js';
|
|
2
|
+
import { IAction, Action } from './base.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Gathers input fields, merges with optional data field, and sends an event to the client. Clients process the event by sending an Invoke activity of type adaptiveCard/action to the target Bot. The inputs that are gathered are those on the current card, and in the case of a show card those on any parent cards. See [Universal Action Model](https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/universal-action-model) documentation for more details.
|
|
6
|
+
*/
|
|
7
|
+
interface IExecuteAction extends IAction {
|
|
8
|
+
type: 'Action.Execute';
|
|
9
|
+
/**
|
|
10
|
+
* The card author-defined verb associated with this action.
|
|
11
|
+
*/
|
|
12
|
+
verb?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
15
|
+
*/
|
|
16
|
+
data?: string | Record<string, any>;
|
|
17
|
+
/**
|
|
18
|
+
* Controls which inputs are associated with the action.
|
|
19
|
+
*/
|
|
20
|
+
associatedInputs?: AssociatedInputs;
|
|
21
|
+
}
|
|
22
|
+
type ExecuteActionOptions = Omit<IExecuteAction, 'type'>;
|
|
23
|
+
/**
|
|
24
|
+
* Gathers input fields, merges with optional data field, and sends an event to the client. Clients process the event by sending an Invoke activity of type adaptiveCard/action to the target Bot. The inputs that are gathered are those on the current card, and in the case of a show card those on any parent cards. See [Universal Action Model](https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/universal-action-model) documentation for more details.
|
|
25
|
+
*/
|
|
26
|
+
declare class ExecuteAction extends Action implements IExecuteAction {
|
|
27
|
+
type: 'Action.Execute';
|
|
28
|
+
/**
|
|
29
|
+
* The card author-defined verb associated with this action.
|
|
30
|
+
*/
|
|
31
|
+
verb?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
34
|
+
*/
|
|
35
|
+
data?: string | Record<string, any>;
|
|
36
|
+
/**
|
|
37
|
+
* Controls which inputs are associated with the action.
|
|
38
|
+
*/
|
|
39
|
+
associatedInputs?: AssociatedInputs;
|
|
40
|
+
constructor(options?: ExecuteActionOptions);
|
|
41
|
+
static from(options: ExecuteActionOptions): ExecuteAction;
|
|
42
|
+
withVerb(value: string): this;
|
|
43
|
+
withData(value: string | Record<string, any>): this;
|
|
44
|
+
withAssociatedInputs(value: AssociatedInputs): this;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { ExecuteAction, type ExecuteActionOptions, type IExecuteAction };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var base = require('./base');
|
|
4
|
+
|
|
5
|
+
class ExecuteAction extends base.Action {
|
|
6
|
+
type;
|
|
7
|
+
/**
|
|
8
|
+
* The card author-defined verb associated with this action.
|
|
9
|
+
*/
|
|
10
|
+
verb;
|
|
11
|
+
/**
|
|
12
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
13
|
+
*/
|
|
14
|
+
data;
|
|
15
|
+
/**
|
|
16
|
+
* Controls which inputs are associated with the action.
|
|
17
|
+
*/
|
|
18
|
+
associatedInputs;
|
|
19
|
+
constructor(options = {}) {
|
|
20
|
+
super();
|
|
21
|
+
this.type = "Action.Execute";
|
|
22
|
+
Object.assign(this, options);
|
|
23
|
+
}
|
|
24
|
+
static from(options) {
|
|
25
|
+
return new ExecuteAction(options);
|
|
26
|
+
}
|
|
27
|
+
withVerb(value) {
|
|
28
|
+
this.verb = value;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
withData(value) {
|
|
32
|
+
this.data = value;
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
withAssociatedInputs(value) {
|
|
36
|
+
this.associatedInputs = value;
|
|
37
|
+
return this;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.ExecuteAction = ExecuteAction;
|
|
42
|
+
//# sourceMappingURL=execute.js.map
|
|
43
|
+
//# sourceMappingURL=execute.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/execute.ts"],"names":["Action"],"mappings":";;;;AA+BO,MAAM,sBAAsBA,WAAiC,CAAA;AAAA,EAClE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,gBAAA;AAAA,EAEA,WAAA,CAAY,OAAgC,GAAA,EAAI,EAAA;AAC9C,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,gBAAA;AACZ,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAAA;AAC7B,EAEA,OAAO,KAAK,OAA+B,EAAA;AACzC,IAAO,OAAA,IAAI,cAAc,OAAO,CAAA;AAAA;AAClC,EAEA,SAAS,KAAe,EAAA;AACtB,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAS,KAAqC,EAAA;AAC5C,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,qBAAqB,KAAyB,EAAA;AAC5C,IAAA,IAAA,CAAK,gBAAmB,GAAA,KAAA;AACxB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"execute.js","sourcesContent":["import { AssociatedInputs } from '../common';\n\nimport { IAction, Action } from './base';\n\n/**\n * Gathers input fields, merges with optional data field, and sends an event to the client. Clients process the event by sending an Invoke activity of type adaptiveCard/action to the target Bot. The inputs that are gathered are those on the current card, and in the case of a show card those on any parent cards. See [Universal Action Model](https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/universal-action-model) documentation for more details.\n */\nexport interface IExecuteAction extends IAction {\n type: 'Action.Execute';\n\n /**\n * The card author-defined verb associated with this action.\n */\n verb?: string;\n\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data?: string | Record<string, any>;\n\n /**\n * Controls which inputs are associated with the action.\n */\n associatedInputs?: AssociatedInputs;\n}\n\nexport type ExecuteActionOptions = Omit<IExecuteAction, 'type'>;\n\n/**\n * Gathers input fields, merges with optional data field, and sends an event to the client. Clients process the event by sending an Invoke activity of type adaptiveCard/action to the target Bot. The inputs that are gathered are those on the current card, and in the case of a show card those on any parent cards. See [Universal Action Model](https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/universal-action-model) documentation for more details.\n */\nexport class ExecuteAction extends Action implements IExecuteAction {\n type: 'Action.Execute';\n\n /**\n * The card author-defined verb associated with this action.\n */\n verb?: string;\n\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data?: string | Record<string, any>;\n\n /**\n * Controls which inputs are associated with the action.\n */\n associatedInputs?: AssociatedInputs;\n\n constructor(options: ExecuteActionOptions = {}) {\n super();\n this.type = 'Action.Execute';\n Object.assign(this, options);\n }\n\n static from(options: ExecuteActionOptions) {\n return new ExecuteAction(options);\n }\n\n withVerb(value: string) {\n this.verb = value;\n return this;\n }\n\n withData(value: string | Record<string, any>) {\n this.data = value;\n return this;\n }\n\n withAssociatedInputs(value: AssociatedInputs) {\n this.associatedInputs = value;\n return this;\n }\n}\n"]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Action } from './base';
|
|
2
|
+
|
|
3
|
+
class ExecuteAction extends Action {
|
|
4
|
+
type;
|
|
5
|
+
/**
|
|
6
|
+
* The card author-defined verb associated with this action.
|
|
7
|
+
*/
|
|
8
|
+
verb;
|
|
9
|
+
/**
|
|
10
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
11
|
+
*/
|
|
12
|
+
data;
|
|
13
|
+
/**
|
|
14
|
+
* Controls which inputs are associated with the action.
|
|
15
|
+
*/
|
|
16
|
+
associatedInputs;
|
|
17
|
+
constructor(options = {}) {
|
|
18
|
+
super();
|
|
19
|
+
this.type = "Action.Execute";
|
|
20
|
+
Object.assign(this, options);
|
|
21
|
+
}
|
|
22
|
+
static from(options) {
|
|
23
|
+
return new ExecuteAction(options);
|
|
24
|
+
}
|
|
25
|
+
withVerb(value) {
|
|
26
|
+
this.verb = value;
|
|
27
|
+
return this;
|
|
28
|
+
}
|
|
29
|
+
withData(value) {
|
|
30
|
+
this.data = value;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
withAssociatedInputs(value) {
|
|
34
|
+
this.associatedInputs = value;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { ExecuteAction };
|
|
40
|
+
//# sourceMappingURL=execute.mjs.map
|
|
41
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/actions/execute.ts"],"names":[],"mappings":";;AA+BO,MAAM,sBAAsB,MAAiC,CAAA;AAAA,EAClE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,gBAAA;AAAA,EAEA,WAAA,CAAY,OAAgC,GAAA,EAAI,EAAA;AAC9C,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,gBAAA;AACZ,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAAA;AAC7B,EAEA,OAAO,KAAK,OAA+B,EAAA;AACzC,IAAO,OAAA,IAAI,cAAc,OAAO,CAAA;AAAA;AAClC,EAEA,SAAS,KAAe,EAAA;AACtB,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAS,KAAqC,EAAA;AAC5C,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,qBAAqB,KAAyB,EAAA;AAC5C,IAAA,IAAA,CAAK,gBAAmB,GAAA,KAAA;AACxB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"execute.mjs","sourcesContent":["import { AssociatedInputs } from '../common';\n\nimport { IAction, Action } from './base';\n\n/**\n * Gathers input fields, merges with optional data field, and sends an event to the client. Clients process the event by sending an Invoke activity of type adaptiveCard/action to the target Bot. The inputs that are gathered are those on the current card, and in the case of a show card those on any parent cards. See [Universal Action Model](https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/universal-action-model) documentation for more details.\n */\nexport interface IExecuteAction extends IAction {\n type: 'Action.Execute';\n\n /**\n * The card author-defined verb associated with this action.\n */\n verb?: string;\n\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data?: string | Record<string, any>;\n\n /**\n * Controls which inputs are associated with the action.\n */\n associatedInputs?: AssociatedInputs;\n}\n\nexport type ExecuteActionOptions = Omit<IExecuteAction, 'type'>;\n\n/**\n * Gathers input fields, merges with optional data field, and sends an event to the client. Clients process the event by sending an Invoke activity of type adaptiveCard/action to the target Bot. The inputs that are gathered are those on the current card, and in the case of a show card those on any parent cards. See [Universal Action Model](https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/universal-action-model) documentation for more details.\n */\nexport class ExecuteAction extends Action implements IExecuteAction {\n type: 'Action.Execute';\n\n /**\n * The card author-defined verb associated with this action.\n */\n verb?: string;\n\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data?: string | Record<string, any>;\n\n /**\n * Controls which inputs are associated with the action.\n */\n associatedInputs?: AssociatedInputs;\n\n constructor(options: ExecuteActionOptions = {}) {\n super();\n this.type = 'Action.Execute';\n Object.assign(this, options);\n }\n\n static from(options: ExecuteActionOptions) {\n return new ExecuteAction(options);\n }\n\n withVerb(value: string) {\n this.verb = value;\n return this;\n }\n\n withData(value: string | Record<string, any>) {\n this.data = value;\n return this;\n }\n\n withAssociatedInputs(value: AssociatedInputs) {\n this.associatedInputs = value;\n return this;\n }\n}\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { ExecuteAction, ExecuteActionOptions, IExecuteAction } from './execute.mjs';
|
|
2
|
+
export { IOpenUrlAction, OpenUrlAction, OpenUrlOptions } from './open-url.mjs';
|
|
3
|
+
export { b2 as Action, a$ as IShowCardAction, b3 as SelectAction, b1 as ShowCardAction, b0 as ShowCardOptions } from '../medias/icon.mjs';
|
|
4
|
+
export { ISubmitAction, MSTeamsData, SubmitAction, SubmitActionOptions } from './submit/submit.mjs';
|
|
5
|
+
export { IIMBackAction, IIMBackData, IMBackAction, IMBackActionOptions, IMBackData } from './submit/im-back.mjs';
|
|
6
|
+
export { IInvokeAction, IInvokeData, InvokeAction, InvokeActionOptions, InvokeData } from './submit/invoke.mjs';
|
|
7
|
+
export { IMessageBackAction, IMessageBackData, MessageBackAction, MessageBackActionOptions, MessageBackData } from './submit/message-back.mjs';
|
|
8
|
+
export { ISignInAction, ISignInData, SignInAction, SignInActionOptions, SignInData } from './submit/sign-in.mjs';
|
|
9
|
+
export { ITaskFetchAction, ITaskFetchData, TaskFetchAction, TaskFetchActionOptions, TaskFetchData } from './submit/task-fetch.mjs';
|
|
10
|
+
export { CollabStageAction, CollabStageActionOptions, CollabStageData, CollabStageValueData, ICollabStageAction, ICollabStageData, ICollabStageValueData } from './submit/collab-stage.mjs';
|
|
11
|
+
export { IToggleVisibilityAction, ToggleVisibilityAction, ToggleVisibilityActionOptions } from './toggle-visibility.mjs';
|
|
12
|
+
import '../common/associated-inputs.mjs';
|
|
13
|
+
import './base.mjs';
|
|
14
|
+
import '../common/vertical-alignment.mjs';
|
|
15
|
+
import '../common/refresh.mjs';
|
|
16
|
+
import '../common/auth/auth.mjs';
|
|
17
|
+
import '../common/auth/auth-card-button.mjs';
|
|
18
|
+
import '../common/auth/token-exchange-resource.mjs';
|
|
19
|
+
import '../common/horizontal-alignment.mjs';
|
|
20
|
+
import '../common/spacing.mjs';
|
|
21
|
+
import '../common/target-width.mjs';
|
|
22
|
+
import '../charts/color.mjs';
|
|
23
|
+
import '../layouts/index.mjs';
|
|
24
|
+
import '../layouts/area-grid.mjs';
|
|
25
|
+
import '../layouts/flow.mjs';
|
|
26
|
+
import '../layouts/stack.mjs';
|
|
27
|
+
import '../medias/background-image.mjs';
|
|
28
|
+
import '../common/color.mjs';
|
|
29
|
+
import '../common/font.mjs';
|
|
30
|
+
import '../common/target-element.mjs';
|
|
31
|
+
import '../common/tab-info.mjs';
|