@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,40 @@
|
|
|
1
|
+
import { SubmitActionOptions, MSTeamsData, ISubmitAction, SubmitAction } from './submit.mjs';
|
|
2
|
+
import '../../common/associated-inputs.mjs';
|
|
3
|
+
import '../base.mjs';
|
|
4
|
+
|
|
5
|
+
type IMBackActionOptions = SubmitActionOptions & {
|
|
6
|
+
data: MSTeamsData<IIMBackData>;
|
|
7
|
+
};
|
|
8
|
+
interface IIMBackAction extends ISubmitAction {
|
|
9
|
+
/**
|
|
10
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
11
|
+
*/
|
|
12
|
+
data: MSTeamsData<IIMBackData>;
|
|
13
|
+
}
|
|
14
|
+
declare class IMBackAction extends SubmitAction implements IIMBackAction {
|
|
15
|
+
/**
|
|
16
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
17
|
+
*/
|
|
18
|
+
data: MSTeamsData<IIMBackData>;
|
|
19
|
+
constructor(value: string, options?: SubmitActionOptions);
|
|
20
|
+
static from(options: IMBackActionOptions): IMBackAction;
|
|
21
|
+
withData(value: IIMBackData): this;
|
|
22
|
+
withValue(value: string): this;
|
|
23
|
+
}
|
|
24
|
+
interface IIMBackData {
|
|
25
|
+
type: 'imBack';
|
|
26
|
+
/**
|
|
27
|
+
* String that needs to be echoed back in the chat.
|
|
28
|
+
*/
|
|
29
|
+
value: string;
|
|
30
|
+
}
|
|
31
|
+
declare class IMBackData implements IIMBackData {
|
|
32
|
+
type: 'imBack';
|
|
33
|
+
/**
|
|
34
|
+
* String that needs to be echoed back in the chat.
|
|
35
|
+
*/
|
|
36
|
+
value: string;
|
|
37
|
+
constructor(value: string);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { type IIMBackAction, type IIMBackData, IMBackAction, type IMBackActionOptions, IMBackData };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { SubmitActionOptions, MSTeamsData, ISubmitAction, SubmitAction } from './submit.js';
|
|
2
|
+
import '../../common/associated-inputs.js';
|
|
3
|
+
import '../base.js';
|
|
4
|
+
|
|
5
|
+
type IMBackActionOptions = SubmitActionOptions & {
|
|
6
|
+
data: MSTeamsData<IIMBackData>;
|
|
7
|
+
};
|
|
8
|
+
interface IIMBackAction extends ISubmitAction {
|
|
9
|
+
/**
|
|
10
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
11
|
+
*/
|
|
12
|
+
data: MSTeamsData<IIMBackData>;
|
|
13
|
+
}
|
|
14
|
+
declare class IMBackAction extends SubmitAction implements IIMBackAction {
|
|
15
|
+
/**
|
|
16
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
17
|
+
*/
|
|
18
|
+
data: MSTeamsData<IIMBackData>;
|
|
19
|
+
constructor(value: string, options?: SubmitActionOptions);
|
|
20
|
+
static from(options: IMBackActionOptions): IMBackAction;
|
|
21
|
+
withData(value: IIMBackData): this;
|
|
22
|
+
withValue(value: string): this;
|
|
23
|
+
}
|
|
24
|
+
interface IIMBackData {
|
|
25
|
+
type: 'imBack';
|
|
26
|
+
/**
|
|
27
|
+
* String that needs to be echoed back in the chat.
|
|
28
|
+
*/
|
|
29
|
+
value: string;
|
|
30
|
+
}
|
|
31
|
+
declare class IMBackData implements IIMBackData {
|
|
32
|
+
type: 'imBack';
|
|
33
|
+
/**
|
|
34
|
+
* String that needs to be echoed back in the chat.
|
|
35
|
+
*/
|
|
36
|
+
value: string;
|
|
37
|
+
constructor(value: string);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { type IIMBackAction, type IIMBackData, IMBackAction, type IMBackActionOptions, IMBackData };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var submit = require('./submit');
|
|
4
|
+
|
|
5
|
+
class IMBackAction extends submit.SubmitAction {
|
|
6
|
+
/**
|
|
7
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
8
|
+
*/
|
|
9
|
+
data;
|
|
10
|
+
constructor(value, options = {}) {
|
|
11
|
+
super(options);
|
|
12
|
+
Object.assign(this, options);
|
|
13
|
+
this.data = { msteams: new IMBackData(value) };
|
|
14
|
+
}
|
|
15
|
+
static from(options) {
|
|
16
|
+
return new IMBackAction(options.data.msteams.value, options);
|
|
17
|
+
}
|
|
18
|
+
withData(value) {
|
|
19
|
+
this.data.msteams = value;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
withValue(value) {
|
|
23
|
+
this.data.msteams.value = value;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
class IMBackData {
|
|
28
|
+
type;
|
|
29
|
+
/**
|
|
30
|
+
* String that needs to be echoed back in the chat.
|
|
31
|
+
*/
|
|
32
|
+
value;
|
|
33
|
+
constructor(value) {
|
|
34
|
+
this.type = "imBack";
|
|
35
|
+
this.value = value;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.IMBackAction = IMBackAction;
|
|
40
|
+
exports.IMBackData = IMBackData;
|
|
41
|
+
//# sourceMappingURL=im-back.js.map
|
|
42
|
+
//# sourceMappingURL=im-back.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/actions/submit/im-back.ts"],"names":["SubmitAction"],"mappings":";;;;AAWO,MAAM,qBAAqBA,mBAAsC,CAAA;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAY,CAAA,KAAA,EAAe,OAA+B,GAAA,EAAI,EAAA;AAC5D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAE,EAAA;AAAA;AAC/C,EAEA,OAAO,KAAK,OAA8B,EAAA;AACxC,IAAA,OAAO,IAAI,YAAa,CAAA,OAAA,CAAQ,IAAK,CAAA,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA;AAC7D,EAEA,SAAS,KAAoB,EAAA;AAC3B,IAAA,IAAA,CAAK,KAAK,OAAU,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAK,IAAA,CAAA,IAAA,CAAK,QAAQ,KAAQ,GAAA,KAAA;AAC1B,IAAO,OAAA,IAAA;AAAA;AAEX;AAWO,MAAM,UAAkC,CAAA;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAe,EAAA;AACzB,IAAA,IAAA,CAAK,IAAO,GAAA,QAAA;AACZ,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AAAA;AAEjB","file":"im-back.js","sourcesContent":["import { ISubmitAction, MSTeamsData, SubmitAction, SubmitActionOptions } from './submit';\n\nexport type IMBackActionOptions = SubmitActionOptions & { data: MSTeamsData<IIMBackData> };\n\nexport interface IIMBackAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IIMBackData>;\n}\n\nexport class IMBackAction extends SubmitAction implements IIMBackAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IIMBackData>;\n\n constructor(value: string, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new IMBackData(value) };\n }\n\n static from(options: IMBackActionOptions) {\n return new IMBackAction(options.data.msteams.value, options);\n }\n\n withData(value: IIMBackData) {\n this.data.msteams = value;\n return this;\n }\n\n withValue(value: string) {\n this.data.msteams.value = value;\n return this;\n }\n}\n\nexport interface IIMBackData {\n type: 'imBack';\n\n /**\n * String that needs to be echoed back in the chat.\n */\n value: string;\n}\n\nexport class IMBackData implements IIMBackData {\n type: 'imBack';\n\n /**\n * String that needs to be echoed back in the chat.\n */\n value: string;\n\n constructor(value: string) {\n this.type = 'imBack';\n this.value = value;\n }\n}\n"]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { SubmitAction } from './submit';
|
|
2
|
+
|
|
3
|
+
class IMBackAction extends SubmitAction {
|
|
4
|
+
/**
|
|
5
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
6
|
+
*/
|
|
7
|
+
data;
|
|
8
|
+
constructor(value, options = {}) {
|
|
9
|
+
super(options);
|
|
10
|
+
Object.assign(this, options);
|
|
11
|
+
this.data = { msteams: new IMBackData(value) };
|
|
12
|
+
}
|
|
13
|
+
static from(options) {
|
|
14
|
+
return new IMBackAction(options.data.msteams.value, options);
|
|
15
|
+
}
|
|
16
|
+
withData(value) {
|
|
17
|
+
this.data.msteams = value;
|
|
18
|
+
return this;
|
|
19
|
+
}
|
|
20
|
+
withValue(value) {
|
|
21
|
+
this.data.msteams.value = value;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
class IMBackData {
|
|
26
|
+
type;
|
|
27
|
+
/**
|
|
28
|
+
* String that needs to be echoed back in the chat.
|
|
29
|
+
*/
|
|
30
|
+
value;
|
|
31
|
+
constructor(value) {
|
|
32
|
+
this.type = "imBack";
|
|
33
|
+
this.value = value;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { IMBackAction, IMBackData };
|
|
38
|
+
//# sourceMappingURL=im-back.mjs.map
|
|
39
|
+
//# sourceMappingURL=im-back.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/actions/submit/im-back.ts"],"names":[],"mappings":";;AAWO,MAAM,qBAAqB,YAAsC,CAAA;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAY,CAAA,KAAA,EAAe,OAA+B,GAAA,EAAI,EAAA;AAC5D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAE,EAAA;AAAA;AAC/C,EAEA,OAAO,KAAK,OAA8B,EAAA;AACxC,IAAA,OAAO,IAAI,YAAa,CAAA,OAAA,CAAQ,IAAK,CAAA,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA;AAC7D,EAEA,SAAS,KAAoB,EAAA;AAC3B,IAAA,IAAA,CAAK,KAAK,OAAU,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAK,IAAA,CAAA,IAAA,CAAK,QAAQ,KAAQ,GAAA,KAAA;AAC1B,IAAO,OAAA,IAAA;AAAA;AAEX;AAWO,MAAM,UAAkC,CAAA;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAe,EAAA;AACzB,IAAA,IAAA,CAAK,IAAO,GAAA,QAAA;AACZ,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AAAA;AAEjB","file":"im-back.mjs","sourcesContent":["import { ISubmitAction, MSTeamsData, SubmitAction, SubmitActionOptions } from './submit';\n\nexport type IMBackActionOptions = SubmitActionOptions & { data: MSTeamsData<IIMBackData> };\n\nexport interface IIMBackAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IIMBackData>;\n}\n\nexport class IMBackAction extends SubmitAction implements IIMBackAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IIMBackData>;\n\n constructor(value: string, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new IMBackData(value) };\n }\n\n static from(options: IMBackActionOptions) {\n return new IMBackAction(options.data.msteams.value, options);\n }\n\n withData(value: IIMBackData) {\n this.data.msteams = value;\n return this;\n }\n\n withValue(value: string) {\n this.data.msteams.value = value;\n return this;\n }\n}\n\nexport interface IIMBackData {\n type: 'imBack';\n\n /**\n * String that needs to be echoed back in the chat.\n */\n value: string;\n}\n\nexport class IMBackData implements IIMBackData {\n type: 'imBack';\n\n /**\n * String that needs to be echoed back in the chat.\n */\n value: string;\n\n constructor(value: string) {\n this.type = 'imBack';\n this.value = value;\n }\n}\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { ISubmitAction, MSTeamsData, SubmitAction, SubmitActionOptions } from './submit.mjs';
|
|
2
|
+
export { IIMBackAction, IIMBackData, IMBackAction, IMBackActionOptions, IMBackData } from './im-back.mjs';
|
|
3
|
+
export { IInvokeAction, IInvokeData, InvokeAction, InvokeActionOptions, InvokeData } from './invoke.mjs';
|
|
4
|
+
export { IMessageBackAction, IMessageBackData, MessageBackAction, MessageBackActionOptions, MessageBackData } from './message-back.mjs';
|
|
5
|
+
export { ISignInAction, ISignInData, SignInAction, SignInActionOptions, SignInData } from './sign-in.mjs';
|
|
6
|
+
export { ITaskFetchAction, ITaskFetchData, TaskFetchAction, TaskFetchActionOptions, TaskFetchData } from './task-fetch.mjs';
|
|
7
|
+
export { CollabStageAction, CollabStageActionOptions, CollabStageData, CollabStageValueData, ICollabStageAction, ICollabStageData, ICollabStageValueData } from './collab-stage.mjs';
|
|
8
|
+
import '../../common/associated-inputs.mjs';
|
|
9
|
+
import '../base.mjs';
|
|
10
|
+
import '../../common/tab-info.mjs';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { ISubmitAction, MSTeamsData, SubmitAction, SubmitActionOptions } from './submit.js';
|
|
2
|
+
export { IIMBackAction, IIMBackData, IMBackAction, IMBackActionOptions, IMBackData } from './im-back.js';
|
|
3
|
+
export { IInvokeAction, IInvokeData, InvokeAction, InvokeActionOptions, InvokeData } from './invoke.js';
|
|
4
|
+
export { IMessageBackAction, IMessageBackData, MessageBackAction, MessageBackActionOptions, MessageBackData } from './message-back.js';
|
|
5
|
+
export { ISignInAction, ISignInData, SignInAction, SignInActionOptions, SignInData } from './sign-in.js';
|
|
6
|
+
export { ITaskFetchAction, ITaskFetchData, TaskFetchAction, TaskFetchActionOptions, TaskFetchData } from './task-fetch.js';
|
|
7
|
+
export { CollabStageAction, CollabStageActionOptions, CollabStageData, CollabStageValueData, ICollabStageAction, ICollabStageData, ICollabStageValueData } from './collab-stage.js';
|
|
8
|
+
import '../../common/associated-inputs.js';
|
|
9
|
+
import '../base.js';
|
|
10
|
+
import '../../common/tab-info.js';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var submit = require('./submit');
|
|
4
|
+
var imBack = require('./im-back');
|
|
5
|
+
var invoke = require('./invoke');
|
|
6
|
+
var messageBack = require('./message-back');
|
|
7
|
+
var signIn = require('./sign-in');
|
|
8
|
+
var taskFetch = require('./task-fetch');
|
|
9
|
+
var collabStage = require('./collab-stage');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.keys(submit).forEach(function (k) {
|
|
14
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return submit[k]; }
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
Object.keys(imBack).forEach(function (k) {
|
|
20
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return imBack[k]; }
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
Object.keys(invoke).forEach(function (k) {
|
|
26
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return invoke[k]; }
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
Object.keys(messageBack).forEach(function (k) {
|
|
32
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return messageBack[k]; }
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
Object.keys(signIn).forEach(function (k) {
|
|
38
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function () { return signIn[k]; }
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
Object.keys(taskFetch).forEach(function (k) {
|
|
44
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return taskFetch[k]; }
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
Object.keys(collabStage).forEach(function (k) {
|
|
50
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () { return collabStage[k]; }
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
//# sourceMappingURL=index.js.map
|
|
56
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './submit';
|
|
2
|
+
export * from './im-back';
|
|
3
|
+
export * from './invoke';
|
|
4
|
+
export * from './message-back';
|
|
5
|
+
export * from './sign-in';
|
|
6
|
+
export * from './task-fetch';
|
|
7
|
+
export * from './collab-stage';
|
|
8
|
+
//# sourceMappingURL=index.mjs.map
|
|
9
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs","sourcesContent":[]}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { SubmitActionOptions, MSTeamsData, ISubmitAction, SubmitAction } from './submit.mjs';
|
|
2
|
+
import '../../common/associated-inputs.mjs';
|
|
3
|
+
import '../base.mjs';
|
|
4
|
+
|
|
5
|
+
type InvokeActionOptions = SubmitActionOptions & {
|
|
6
|
+
data: MSTeamsData<IInvokeData>;
|
|
7
|
+
};
|
|
8
|
+
interface IInvokeAction extends ISubmitAction {
|
|
9
|
+
/**
|
|
10
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
11
|
+
*/
|
|
12
|
+
data: MSTeamsData<IInvokeData>;
|
|
13
|
+
}
|
|
14
|
+
declare class InvokeAction extends SubmitAction implements IInvokeAction {
|
|
15
|
+
/**
|
|
16
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
17
|
+
*/
|
|
18
|
+
data: MSTeamsData<IInvokeData>;
|
|
19
|
+
constructor(value?: any, options?: SubmitActionOptions);
|
|
20
|
+
static from(options: InvokeActionOptions): InvokeAction;
|
|
21
|
+
withData(value: IInvokeData): this;
|
|
22
|
+
withValue(value: any): this;
|
|
23
|
+
}
|
|
24
|
+
interface IInvokeData {
|
|
25
|
+
type: 'invoke';
|
|
26
|
+
/**
|
|
27
|
+
* Set the value to send with the invoke
|
|
28
|
+
*/
|
|
29
|
+
value?: any;
|
|
30
|
+
}
|
|
31
|
+
declare class InvokeData implements IInvokeData {
|
|
32
|
+
type: 'invoke';
|
|
33
|
+
/**
|
|
34
|
+
* Set the value to send with the invoke
|
|
35
|
+
*/
|
|
36
|
+
value?: any;
|
|
37
|
+
constructor(value?: any);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { type IInvokeAction, type IInvokeData, InvokeAction, type InvokeActionOptions, InvokeData };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { SubmitActionOptions, MSTeamsData, ISubmitAction, SubmitAction } from './submit.js';
|
|
2
|
+
import '../../common/associated-inputs.js';
|
|
3
|
+
import '../base.js';
|
|
4
|
+
|
|
5
|
+
type InvokeActionOptions = SubmitActionOptions & {
|
|
6
|
+
data: MSTeamsData<IInvokeData>;
|
|
7
|
+
};
|
|
8
|
+
interface IInvokeAction extends ISubmitAction {
|
|
9
|
+
/**
|
|
10
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
11
|
+
*/
|
|
12
|
+
data: MSTeamsData<IInvokeData>;
|
|
13
|
+
}
|
|
14
|
+
declare class InvokeAction extends SubmitAction implements IInvokeAction {
|
|
15
|
+
/**
|
|
16
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
17
|
+
*/
|
|
18
|
+
data: MSTeamsData<IInvokeData>;
|
|
19
|
+
constructor(value?: any, options?: SubmitActionOptions);
|
|
20
|
+
static from(options: InvokeActionOptions): InvokeAction;
|
|
21
|
+
withData(value: IInvokeData): this;
|
|
22
|
+
withValue(value: any): this;
|
|
23
|
+
}
|
|
24
|
+
interface IInvokeData {
|
|
25
|
+
type: 'invoke';
|
|
26
|
+
/**
|
|
27
|
+
* Set the value to send with the invoke
|
|
28
|
+
*/
|
|
29
|
+
value?: any;
|
|
30
|
+
}
|
|
31
|
+
declare class InvokeData implements IInvokeData {
|
|
32
|
+
type: 'invoke';
|
|
33
|
+
/**
|
|
34
|
+
* Set the value to send with the invoke
|
|
35
|
+
*/
|
|
36
|
+
value?: any;
|
|
37
|
+
constructor(value?: any);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { type IInvokeAction, type IInvokeData, InvokeAction, type InvokeActionOptions, InvokeData };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var submit = require('./submit');
|
|
4
|
+
|
|
5
|
+
class InvokeAction extends submit.SubmitAction {
|
|
6
|
+
/**
|
|
7
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
8
|
+
*/
|
|
9
|
+
data;
|
|
10
|
+
constructor(value, options = {}) {
|
|
11
|
+
super(options);
|
|
12
|
+
Object.assign(this, options);
|
|
13
|
+
this.data = { msteams: new InvokeData(value) };
|
|
14
|
+
}
|
|
15
|
+
static from(options) {
|
|
16
|
+
return new InvokeAction(options.data.msteams.value, options);
|
|
17
|
+
}
|
|
18
|
+
withData(value) {
|
|
19
|
+
this.data.msteams = value;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
withValue(value) {
|
|
23
|
+
this.data.msteams.value = value;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
class InvokeData {
|
|
28
|
+
type;
|
|
29
|
+
/**
|
|
30
|
+
* Set the value to send with the invoke
|
|
31
|
+
*/
|
|
32
|
+
value;
|
|
33
|
+
constructor(value) {
|
|
34
|
+
this.type = "invoke";
|
|
35
|
+
this.value = value;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.InvokeAction = InvokeAction;
|
|
40
|
+
exports.InvokeData = InvokeData;
|
|
41
|
+
//# sourceMappingURL=invoke.js.map
|
|
42
|
+
//# sourceMappingURL=invoke.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/actions/submit/invoke.ts"],"names":["SubmitAction"],"mappings":";;;;AAWO,MAAM,qBAAqBA,mBAAsC,CAAA;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAY,CAAA,KAAA,EAAa,OAA+B,GAAA,EAAI,EAAA;AAC1D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAE,EAAA;AAAA;AAC/C,EAEA,OAAO,KAAK,OAA8B,EAAA;AACxC,IAAA,OAAO,IAAI,YAAa,CAAA,OAAA,CAAQ,IAAK,CAAA,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA;AAC7D,EAEA,SAAS,KAAoB,EAAA;AAC3B,IAAA,IAAA,CAAK,KAAK,OAAU,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAY,EAAA;AACpB,IAAK,IAAA,CAAA,IAAA,CAAK,QAAQ,KAAQ,GAAA,KAAA;AAC1B,IAAO,OAAA,IAAA;AAAA;AAEX;AAWO,MAAM,UAAkC,CAAA;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAa,EAAA;AACvB,IAAA,IAAA,CAAK,IAAO,GAAA,QAAA;AACZ,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AAAA;AAEjB","file":"invoke.js","sourcesContent":["import { ISubmitAction, MSTeamsData, SubmitAction, SubmitActionOptions } from './submit';\n\nexport type InvokeActionOptions = SubmitActionOptions & { data: MSTeamsData<IInvokeData> };\n\nexport interface IInvokeAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IInvokeData>;\n}\n\nexport class InvokeAction extends SubmitAction implements IInvokeAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IInvokeData>;\n\n constructor(value?: any, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new InvokeData(value) };\n }\n\n static from(options: InvokeActionOptions) {\n return new InvokeAction(options.data.msteams.value, options);\n }\n\n withData(value: IInvokeData) {\n this.data.msteams = value;\n return this;\n }\n\n withValue(value: any) {\n this.data.msteams.value = value;\n return this;\n }\n}\n\nexport interface IInvokeData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: any;\n}\n\nexport class InvokeData implements IInvokeData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: any;\n\n constructor(value?: any) {\n this.type = 'invoke';\n this.value = value;\n }\n}\n"]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { SubmitAction } from './submit';
|
|
2
|
+
|
|
3
|
+
class InvokeAction extends SubmitAction {
|
|
4
|
+
/**
|
|
5
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
6
|
+
*/
|
|
7
|
+
data;
|
|
8
|
+
constructor(value, options = {}) {
|
|
9
|
+
super(options);
|
|
10
|
+
Object.assign(this, options);
|
|
11
|
+
this.data = { msteams: new InvokeData(value) };
|
|
12
|
+
}
|
|
13
|
+
static from(options) {
|
|
14
|
+
return new InvokeAction(options.data.msteams.value, options);
|
|
15
|
+
}
|
|
16
|
+
withData(value) {
|
|
17
|
+
this.data.msteams = value;
|
|
18
|
+
return this;
|
|
19
|
+
}
|
|
20
|
+
withValue(value) {
|
|
21
|
+
this.data.msteams.value = value;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
class InvokeData {
|
|
26
|
+
type;
|
|
27
|
+
/**
|
|
28
|
+
* Set the value to send with the invoke
|
|
29
|
+
*/
|
|
30
|
+
value;
|
|
31
|
+
constructor(value) {
|
|
32
|
+
this.type = "invoke";
|
|
33
|
+
this.value = value;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { InvokeAction, InvokeData };
|
|
38
|
+
//# sourceMappingURL=invoke.mjs.map
|
|
39
|
+
//# sourceMappingURL=invoke.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/actions/submit/invoke.ts"],"names":[],"mappings":";;AAWO,MAAM,qBAAqB,YAAsC,CAAA;AAAA;AAAA;AAAA;AAAA,EAItE,IAAA;AAAA,EAEA,WAAY,CAAA,KAAA,EAAa,OAA+B,GAAA,EAAI,EAAA;AAC1D,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,OAAO,EAAE,OAAA,EAAS,IAAI,UAAA,CAAW,KAAK,CAAE,EAAA;AAAA;AAC/C,EAEA,OAAO,KAAK,OAA8B,EAAA;AACxC,IAAA,OAAO,IAAI,YAAa,CAAA,OAAA,CAAQ,IAAK,CAAA,OAAA,CAAQ,OAAO,OAAO,CAAA;AAAA;AAC7D,EAEA,SAAS,KAAoB,EAAA;AAC3B,IAAA,IAAA,CAAK,KAAK,OAAU,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAY,EAAA;AACpB,IAAK,IAAA,CAAA,IAAA,CAAK,QAAQ,KAAQ,GAAA,KAAA;AAC1B,IAAO,OAAA,IAAA;AAAA;AAEX;AAWO,MAAM,UAAkC,CAAA;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,YAAY,KAAa,EAAA;AACvB,IAAA,IAAA,CAAK,IAAO,GAAA,QAAA;AACZ,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AAAA;AAEjB","file":"invoke.mjs","sourcesContent":["import { ISubmitAction, MSTeamsData, SubmitAction, SubmitActionOptions } from './submit';\n\nexport type InvokeActionOptions = SubmitActionOptions & { data: MSTeamsData<IInvokeData> };\n\nexport interface IInvokeAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IInvokeData>;\n}\n\nexport class InvokeAction extends SubmitAction implements IInvokeAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IInvokeData>;\n\n constructor(value?: any, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = { msteams: new InvokeData(value) };\n }\n\n static from(options: InvokeActionOptions) {\n return new InvokeAction(options.data.msteams.value, options);\n }\n\n withData(value: IInvokeData) {\n this.data.msteams = value;\n return this;\n }\n\n withValue(value: any) {\n this.data.msteams.value = value;\n return this;\n }\n}\n\nexport interface IInvokeData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: any;\n}\n\nexport class InvokeData implements IInvokeData {\n type: 'invoke';\n\n /**\n * Set the value to send with the invoke\n */\n value?: any;\n\n constructor(value?: any) {\n this.type = 'invoke';\n this.value = value;\n }\n}\n"]}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { SubmitActionOptions, MSTeamsData, ISubmitAction, SubmitAction } from './submit.mjs';
|
|
2
|
+
import '../../common/associated-inputs.mjs';
|
|
3
|
+
import '../base.mjs';
|
|
4
|
+
|
|
5
|
+
type MessageBackActionOptions = SubmitActionOptions & {
|
|
6
|
+
data: MSTeamsData<IMessageBackData>;
|
|
7
|
+
};
|
|
8
|
+
interface IMessageBackAction extends ISubmitAction {
|
|
9
|
+
/**
|
|
10
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
11
|
+
*/
|
|
12
|
+
data: MSTeamsData<IMessageBackData>;
|
|
13
|
+
}
|
|
14
|
+
declare class MessageBackAction extends SubmitAction implements IMessageBackAction {
|
|
15
|
+
/**
|
|
16
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
17
|
+
*/
|
|
18
|
+
data: MSTeamsData<IMessageBackData>;
|
|
19
|
+
constructor(data: IMessageBackData, options?: SubmitActionOptions);
|
|
20
|
+
static from(options: MessageBackActionOptions): MessageBackAction;
|
|
21
|
+
withData(value: IMessageBackData): this;
|
|
22
|
+
}
|
|
23
|
+
interface IMessageBackData {
|
|
24
|
+
type: 'messageBack';
|
|
25
|
+
/**
|
|
26
|
+
* Sent to your bot when the action is performed.
|
|
27
|
+
*/
|
|
28
|
+
text: string;
|
|
29
|
+
/**
|
|
30
|
+
* Used by the user in the chat stream when the action is performed.
|
|
31
|
+
* This text isn't sent to your bot.
|
|
32
|
+
*/
|
|
33
|
+
displayText?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Sent to your bot when the action is performed. You can encode context
|
|
36
|
+
* for the action, such as unique identifiers or a `JSON` object.
|
|
37
|
+
*/
|
|
38
|
+
value: string;
|
|
39
|
+
}
|
|
40
|
+
declare class MessageBackData implements IMessageBackData {
|
|
41
|
+
type: 'messageBack';
|
|
42
|
+
/**
|
|
43
|
+
* Sent to your bot when the action is performed.
|
|
44
|
+
*/
|
|
45
|
+
text: string;
|
|
46
|
+
/**
|
|
47
|
+
* Used by the user in the chat stream when the action is performed.
|
|
48
|
+
* This text isn't sent to your bot.
|
|
49
|
+
*/
|
|
50
|
+
displayText?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Sent to your bot when the action is performed. You can encode context
|
|
53
|
+
* for the action, such as unique identifiers or a `JSON` object.
|
|
54
|
+
*/
|
|
55
|
+
value: string;
|
|
56
|
+
constructor(text: string, value: string, displayText?: string);
|
|
57
|
+
withDisplayText(value: string): this;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export { type IMessageBackAction, type IMessageBackData, MessageBackAction, type MessageBackActionOptions, MessageBackData };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { SubmitActionOptions, MSTeamsData, ISubmitAction, SubmitAction } from './submit.js';
|
|
2
|
+
import '../../common/associated-inputs.js';
|
|
3
|
+
import '../base.js';
|
|
4
|
+
|
|
5
|
+
type MessageBackActionOptions = SubmitActionOptions & {
|
|
6
|
+
data: MSTeamsData<IMessageBackData>;
|
|
7
|
+
};
|
|
8
|
+
interface IMessageBackAction extends ISubmitAction {
|
|
9
|
+
/**
|
|
10
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
11
|
+
*/
|
|
12
|
+
data: MSTeamsData<IMessageBackData>;
|
|
13
|
+
}
|
|
14
|
+
declare class MessageBackAction extends SubmitAction implements IMessageBackAction {
|
|
15
|
+
/**
|
|
16
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
17
|
+
*/
|
|
18
|
+
data: MSTeamsData<IMessageBackData>;
|
|
19
|
+
constructor(data: IMessageBackData, options?: SubmitActionOptions);
|
|
20
|
+
static from(options: MessageBackActionOptions): MessageBackAction;
|
|
21
|
+
withData(value: IMessageBackData): this;
|
|
22
|
+
}
|
|
23
|
+
interface IMessageBackData {
|
|
24
|
+
type: 'messageBack';
|
|
25
|
+
/**
|
|
26
|
+
* Sent to your bot when the action is performed.
|
|
27
|
+
*/
|
|
28
|
+
text: string;
|
|
29
|
+
/**
|
|
30
|
+
* Used by the user in the chat stream when the action is performed.
|
|
31
|
+
* This text isn't sent to your bot.
|
|
32
|
+
*/
|
|
33
|
+
displayText?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Sent to your bot when the action is performed. You can encode context
|
|
36
|
+
* for the action, such as unique identifiers or a `JSON` object.
|
|
37
|
+
*/
|
|
38
|
+
value: string;
|
|
39
|
+
}
|
|
40
|
+
declare class MessageBackData implements IMessageBackData {
|
|
41
|
+
type: 'messageBack';
|
|
42
|
+
/**
|
|
43
|
+
* Sent to your bot when the action is performed.
|
|
44
|
+
*/
|
|
45
|
+
text: string;
|
|
46
|
+
/**
|
|
47
|
+
* Used by the user in the chat stream when the action is performed.
|
|
48
|
+
* This text isn't sent to your bot.
|
|
49
|
+
*/
|
|
50
|
+
displayText?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Sent to your bot when the action is performed. You can encode context
|
|
53
|
+
* for the action, such as unique identifiers or a `JSON` object.
|
|
54
|
+
*/
|
|
55
|
+
value: string;
|
|
56
|
+
constructor(text: string, value: string, displayText?: string);
|
|
57
|
+
withDisplayText(value: string): this;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export { type IMessageBackAction, type IMessageBackData, MessageBackAction, type MessageBackActionOptions, MessageBackData };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var submit = require('./submit');
|
|
4
|
+
|
|
5
|
+
class MessageBackAction extends submit.SubmitAction {
|
|
6
|
+
/**
|
|
7
|
+
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
8
|
+
*/
|
|
9
|
+
data;
|
|
10
|
+
constructor(data, options = {}) {
|
|
11
|
+
super(options);
|
|
12
|
+
Object.assign(this, options);
|
|
13
|
+
this.data = {
|
|
14
|
+
msteams: new MessageBackData(data.text, data.value, data.displayText)
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
static from(options) {
|
|
18
|
+
return new MessageBackAction(options.data.msteams, options);
|
|
19
|
+
}
|
|
20
|
+
withData(value) {
|
|
21
|
+
this.data.msteams = value;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
class MessageBackData {
|
|
26
|
+
type;
|
|
27
|
+
/**
|
|
28
|
+
* Sent to your bot when the action is performed.
|
|
29
|
+
*/
|
|
30
|
+
text;
|
|
31
|
+
/**
|
|
32
|
+
* Used by the user in the chat stream when the action is performed.
|
|
33
|
+
* This text isn't sent to your bot.
|
|
34
|
+
*/
|
|
35
|
+
displayText;
|
|
36
|
+
/**
|
|
37
|
+
* Sent to your bot when the action is performed. You can encode context
|
|
38
|
+
* for the action, such as unique identifiers or a `JSON` object.
|
|
39
|
+
*/
|
|
40
|
+
value;
|
|
41
|
+
constructor(text, value, displayText) {
|
|
42
|
+
this.type = "messageBack";
|
|
43
|
+
this.text = text;
|
|
44
|
+
this.value = value;
|
|
45
|
+
this.displayText = displayText;
|
|
46
|
+
}
|
|
47
|
+
withDisplayText(value) {
|
|
48
|
+
this.displayText = value;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
exports.MessageBackAction = MessageBackAction;
|
|
54
|
+
exports.MessageBackData = MessageBackData;
|
|
55
|
+
//# sourceMappingURL=message-back.js.map
|
|
56
|
+
//# sourceMappingURL=message-back.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/actions/submit/message-back.ts"],"names":["SubmitAction"],"mappings":";;;;AAaO,MAAM,0BAA0BA,mBAA2C,CAAA;AAAA;AAAA;AAAA;AAAA,EAIhF,IAAA;AAAA,EAEA,WAAY,CAAA,IAAA,EAAwB,OAA+B,GAAA,EAAI,EAAA;AACrE,IAAA,KAAA,CAAM,OAAO,CAAA;AACb,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAC3B,IAAA,IAAA,CAAK,IAAO,GAAA;AAAA,MACV,OAAA,EAAS,IAAI,eAAgB,CAAA,IAAA,CAAK,MAAM,IAAK,CAAA,KAAA,EAAO,KAAK,WAAW;AAAA,KACtE;AAAA;AACF,EAEA,OAAO,KAAK,OAAmC,EAAA;AAC7C,IAAA,OAAO,IAAI,iBAAA,CAAkB,OAAQ,CAAA,IAAA,CAAK,SAAS,OAAO,CAAA;AAAA;AAC5D,EAEA,SAAS,KAAyB,EAAA;AAChC,IAAA,IAAA,CAAK,KAAK,OAAU,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AAEX;AAuBO,MAAM,eAA4C,CAAA;AAAA,EACvD,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,KAAA;AAAA,EAEA,WAAA,CAAY,IAAc,EAAA,KAAA,EAAe,WAAsB,EAAA;AAC7D,IAAA,IAAA,CAAK,IAAO,GAAA,aAAA;AACZ,IAAA,IAAA,CAAK,IAAO,GAAA,IAAA;AACZ,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAA,IAAA,CAAK,WAAc,GAAA,WAAA;AAAA;AACrB,EAEA,gBAAgB,KAAe,EAAA;AAC7B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"message-back.js","sourcesContent":["import { ISubmitAction, MSTeamsData, SubmitAction, SubmitActionOptions } from './submit';\n\nexport type MessageBackActionOptions = SubmitActionOptions & {\n data: MSTeamsData<IMessageBackData>;\n};\n\nexport interface IMessageBackAction extends ISubmitAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n}\n\nexport class MessageBackAction extends SubmitAction implements IMessageBackAction {\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data: MSTeamsData<IMessageBackData>;\n\n constructor(data: IMessageBackData, options: SubmitActionOptions = {}) {\n super(options);\n Object.assign(this, options);\n this.data = {\n msteams: new MessageBackData(data.text, data.value, data.displayText),\n };\n }\n\n static from(options: MessageBackActionOptions) {\n return new MessageBackAction(options.data.msteams, options);\n }\n\n withData(value: IMessageBackData) {\n this.data.msteams = value;\n return this;\n }\n}\n\nexport interface IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n}\n\nexport class MessageBackData implements IMessageBackData {\n type: 'messageBack';\n\n /**\n * Sent to your bot when the action is performed.\n */\n text: string;\n\n /**\n * Used by the user in the chat stream when the action is performed.\n * This text isn't sent to your bot.\n */\n displayText?: string;\n\n /**\n * Sent to your bot when the action is performed. You can encode context\n * for the action, such as unique identifiers or a `JSON` object.\n */\n value: string;\n\n constructor(text: string, value: string, displayText?: string) {\n this.type = 'messageBack';\n this.text = text;\n this.value = value;\n this.displayText = displayText;\n }\n\n withDisplayText(value: string) {\n this.displayText = value;\n return this;\n }\n}\n"]}
|