@microsoft/teams.cards 0.2.14 → 2.0.0-preview.0
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/dist/actions/index.d.mts +2 -24
- package/dist/actions/index.d.ts +2 -24
- package/dist/actions/index.js +0 -28
- package/dist/actions/index.mjs +0 -4
- package/dist/actions/submit/collab-stage.d.mts +2 -3
- package/dist/actions/submit/collab-stage.d.ts +2 -3
- package/dist/actions/submit/collab-stage.js +2 -2
- package/dist/actions/submit/collab-stage.js.map +1 -1
- package/dist/actions/submit/collab-stage.mjs +1 -1
- package/dist/actions/submit/collab-stage.mjs.map +1 -1
- package/dist/actions/submit/im-back.d.mts +2 -3
- package/dist/actions/submit/im-back.d.ts +2 -3
- package/dist/actions/submit/im-back.js +2 -2
- package/dist/actions/submit/im-back.js.map +1 -1
- package/dist/actions/submit/im-back.mjs +1 -1
- package/dist/actions/submit/im-back.mjs.map +1 -1
- package/dist/actions/submit/index.d.mts +2 -3
- package/dist/actions/submit/index.d.ts +2 -3
- package/dist/actions/submit/index.js +0 -7
- package/dist/actions/submit/index.mjs +0 -1
- package/dist/actions/submit/invoke.d.mts +2 -3
- package/dist/actions/submit/invoke.d.ts +2 -3
- package/dist/actions/submit/invoke.js +2 -2
- package/dist/actions/submit/invoke.js.map +1 -1
- package/dist/actions/submit/invoke.mjs +1 -1
- package/dist/actions/submit/invoke.mjs.map +1 -1
- package/dist/actions/submit/message-back.d.mts +2 -3
- package/dist/actions/submit/message-back.d.ts +2 -3
- package/dist/actions/submit/message-back.js +2 -2
- package/dist/actions/submit/message-back.js.map +1 -1
- package/dist/actions/submit/message-back.mjs +1 -1
- package/dist/actions/submit/message-back.mjs.map +1 -1
- package/dist/actions/submit/ms-teams-data.d.mts +15 -0
- package/dist/actions/submit/ms-teams-data.d.ts +15 -0
- package/dist/actions/submit/ms-teams-data.js +4 -0
- package/dist/actions/submit/ms-teams-data.js.map +1 -0
- package/dist/actions/submit/ms-teams-data.mjs +3 -0
- package/dist/actions/submit/ms-teams-data.mjs.map +1 -0
- package/dist/actions/submit/sign-in.d.mts +2 -3
- package/dist/actions/submit/sign-in.d.ts +2 -3
- package/dist/actions/submit/sign-in.js +2 -2
- package/dist/actions/submit/sign-in.js.map +1 -1
- package/dist/actions/submit/sign-in.mjs +1 -1
- package/dist/actions/submit/sign-in.mjs.map +1 -1
- package/dist/actions/submit/task-fetch.d.mts +2 -3
- package/dist/actions/submit/task-fetch.d.ts +2 -3
- package/dist/actions/submit/task-fetch.js +3 -3
- package/dist/actions/submit/task-fetch.js.map +1 -1
- package/dist/actions/submit/task-fetch.mjs +2 -2
- package/dist/actions/submit/task-fetch.mjs.map +1 -1
- package/dist/common/index.d.mts +0 -14
- package/dist/common/index.d.ts +0 -14
- package/dist/common/index.js +0 -70
- package/dist/common/index.mjs +0 -10
- package/dist/core.d.mts +10707 -0
- package/dist/core.d.ts +10707 -0
- package/dist/core.js +8718 -0
- package/dist/core.js.map +1 -0
- package/dist/core.mjs +8574 -0
- package/dist/core.mjs.map +1 -0
- package/dist/index.d.mts +3 -25
- package/dist/index.d.ts +3 -25
- package/dist/index.js +5 -47
- package/dist/index.mjs +1 -7
- package/package.json +2 -2
- package/dist/actions/base.d.mts +0 -89
- package/dist/actions/base.d.ts +0 -89
- package/dist/actions/base.js +0 -90
- package/dist/actions/base.js.map +0 -1
- package/dist/actions/base.mjs +0 -88
- package/dist/actions/base.mjs.map +0 -1
- package/dist/actions/execute.d.mts +0 -47
- package/dist/actions/execute.d.ts +0 -47
- package/dist/actions/execute.js +0 -43
- package/dist/actions/execute.js.map +0 -1
- package/dist/actions/execute.mjs +0 -41
- package/dist/actions/execute.mjs.map +0 -1
- package/dist/actions/open-url.d.mts +0 -28
- package/dist/actions/open-url.d.ts +0 -28
- package/dist/actions/open-url.js +0 -28
- package/dist/actions/open-url.js.map +0 -1
- package/dist/actions/open-url.mjs +0 -26
- package/dist/actions/open-url.mjs.map +0 -1
- package/dist/actions/show-card.d.mts +0 -31
- package/dist/actions/show-card.d.ts +0 -31
- package/dist/actions/show-card.js +0 -28
- package/dist/actions/show-card.js.map +0 -1
- package/dist/actions/show-card.mjs +0 -26
- package/dist/actions/show-card.mjs.map +0 -1
- package/dist/actions/submit/submit.d.mts +0 -51
- package/dist/actions/submit/submit.d.ts +0 -51
- package/dist/actions/submit/submit.js +0 -45
- package/dist/actions/submit/submit.js.map +0 -1
- package/dist/actions/submit/submit.mjs +0 -43
- package/dist/actions/submit/submit.mjs.map +0 -1
- package/dist/actions/toggle-visibility.d.mts +0 -29
- package/dist/actions/toggle-visibility.d.ts +0 -29
- package/dist/actions/toggle-visibility.js +0 -29
- package/dist/actions/toggle-visibility.js.map +0 -1
- package/dist/actions/toggle-visibility.mjs +0 -27
- package/dist/actions/toggle-visibility.mjs.map +0 -1
- package/dist/base.d.mts +0 -31
- package/dist/base.d.ts +0 -31
- package/dist/base.js +0 -105
- package/dist/base.js.map +0 -1
- package/dist/base.mjs +0 -103
- package/dist/base.mjs.map +0 -1
- package/dist/card.d.mts +0 -31
- package/dist/card.d.ts +0 -31
- package/dist/card.js +0 -117
- package/dist/card.js.map +0 -1
- package/dist/card.mjs +0 -114
- package/dist/card.mjs.map +0 -1
- package/dist/charts/color.d.mts +0 -3
- package/dist/charts/color.d.ts +0 -3
- package/dist/charts/color.js +0 -4
- package/dist/charts/color.js.map +0 -1
- package/dist/charts/color.mjs +0 -3
- package/dist/charts/color.mjs.map +0 -1
- package/dist/charts/donut.d.mts +0 -2288
- package/dist/charts/donut.d.ts +0 -2288
- package/dist/charts/donut.js +0 -79
- package/dist/charts/donut.js.map +0 -1
- package/dist/charts/donut.mjs +0 -76
- package/dist/charts/donut.mjs.map +0 -1
- package/dist/charts/index.d.mts +0 -31
- package/dist/charts/index.d.ts +0 -31
- package/dist/charts/index.js +0 -28
- package/dist/charts/index.js.map +0 -1
- package/dist/charts/index.mjs +0 -5
- package/dist/charts/index.mjs.map +0 -1
- package/dist/charts/line.d.mts +0 -31
- package/dist/charts/line.d.ts +0 -31
- package/dist/charts/line.js +0 -97
- package/dist/charts/line.js.map +0 -1
- package/dist/charts/line.mjs +0 -93
- package/dist/charts/line.mjs.map +0 -1
- package/dist/common/associated-inputs.d.mts +0 -3
- package/dist/common/associated-inputs.d.ts +0 -3
- package/dist/common/associated-inputs.js +0 -4
- package/dist/common/associated-inputs.js.map +0 -1
- package/dist/common/associated-inputs.mjs +0 -3
- package/dist/common/associated-inputs.mjs.map +0 -1
- package/dist/common/auth/auth-card-button.d.mts +0 -50
- package/dist/common/auth/auth-card-button.d.ts +0 -50
- package/dist/common/auth/auth-card-button.js +0 -45
- package/dist/common/auth/auth-card-button.js.map +0 -1
- package/dist/common/auth/auth-card-button.mjs +0 -43
- package/dist/common/auth/auth-card-button.mjs.map +0 -1
- package/dist/common/auth/auth.d.mts +0 -52
- package/dist/common/auth/auth.d.ts +0 -52
- package/dist/common/auth/auth.js +0 -46
- package/dist/common/auth/auth.js.map +0 -1
- package/dist/common/auth/auth.mjs +0 -44
- package/dist/common/auth/auth.mjs.map +0 -1
- package/dist/common/auth/index.d.mts +0 -3
- package/dist/common/auth/index.d.ts +0 -3
- package/dist/common/auth/index.js +0 -28
- package/dist/common/auth/index.js.map +0 -1
- package/dist/common/auth/index.mjs +0 -5
- package/dist/common/auth/index.mjs.map +0 -1
- package/dist/common/auth/token-exchange-resource.d.mts +0 -37
- package/dist/common/auth/token-exchange-resource.d.ts +0 -37
- package/dist/common/auth/token-exchange-resource.js +0 -25
- package/dist/common/auth/token-exchange-resource.js.map +0 -1
- package/dist/common/auth/token-exchange-resource.mjs +0 -23
- package/dist/common/auth/token-exchange-resource.mjs.map +0 -1
- package/dist/common/color.d.mts +0 -3
- package/dist/common/color.d.ts +0 -3
- package/dist/common/color.js +0 -4
- package/dist/common/color.js.map +0 -1
- package/dist/common/color.mjs +0 -3
- package/dist/common/color.mjs.map +0 -1
- package/dist/common/font.d.mts +0 -5
- package/dist/common/font.d.ts +0 -5
- package/dist/common/font.js +0 -4
- package/dist/common/font.js.map +0 -1
- package/dist/common/font.mjs +0 -3
- package/dist/common/font.mjs.map +0 -1
- package/dist/common/horizontal-alignment.d.mts +0 -6
- package/dist/common/horizontal-alignment.d.ts +0 -6
- package/dist/common/horizontal-alignment.js +0 -4
- package/dist/common/horizontal-alignment.js.map +0 -1
- package/dist/common/horizontal-alignment.mjs +0 -3
- package/dist/common/horizontal-alignment.mjs.map +0 -1
- package/dist/common/refresh.d.mts +0 -23
- package/dist/common/refresh.d.ts +0 -23
- package/dist/common/refresh.js +0 -4
- package/dist/common/refresh.js.map +0 -1
- package/dist/common/refresh.mjs +0 -3
- package/dist/common/refresh.mjs.map +0 -1
- package/dist/common/spacing.d.mts +0 -6
- package/dist/common/spacing.d.ts +0 -6
- package/dist/common/spacing.js +0 -4
- package/dist/common/spacing.js.map +0 -1
- package/dist/common/spacing.mjs +0 -3
- package/dist/common/spacing.mjs.map +0 -1
- package/dist/common/target-element.d.mts +0 -16
- package/dist/common/target-element.d.ts +0 -16
- package/dist/common/target-element.js +0 -4
- package/dist/common/target-element.js.map +0 -1
- package/dist/common/target-element.mjs +0 -3
- package/dist/common/target-element.mjs.map +0 -1
- package/dist/common/target-width.d.mts +0 -9
- package/dist/common/target-width.d.ts +0 -9
- package/dist/common/target-width.js +0 -4
- package/dist/common/target-width.js.map +0 -1
- package/dist/common/target-width.mjs +0 -3
- package/dist/common/target-width.mjs.map +0 -1
- package/dist/common/vertical-alignment.d.mts +0 -6
- package/dist/common/vertical-alignment.d.ts +0 -6
- package/dist/common/vertical-alignment.js +0 -4
- package/dist/common/vertical-alignment.js.map +0 -1
- package/dist/common/vertical-alignment.mjs +0 -3
- package/dist/common/vertical-alignment.mjs.map +0 -1
- package/dist/containers/action-set.d.mts +0 -31
- package/dist/containers/action-set.d.ts +0 -31
- package/dist/containers/action-set.js +0 -28
- package/dist/containers/action-set.js.map +0 -1
- package/dist/containers/action-set.mjs +0 -26
- package/dist/containers/action-set.mjs.map +0 -1
- package/dist/containers/base.d.mts +0 -31
- package/dist/containers/base.d.ts +0 -31
- package/dist/containers/base.js +0 -68
- package/dist/containers/base.js.map +0 -1
- package/dist/containers/base.mjs +0 -66
- package/dist/containers/base.mjs.map +0 -1
- package/dist/containers/carousel.d.mts +0 -31
- package/dist/containers/carousel.d.ts +0 -31
- package/dist/containers/carousel.js +0 -158
- package/dist/containers/carousel.js.map +0 -1
- package/dist/containers/carousel.mjs +0 -155
- package/dist/containers/carousel.mjs.map +0 -1
- package/dist/containers/column-set.d.mts +0 -31
- package/dist/containers/column-set.d.ts +0 -31
- package/dist/containers/column-set.js +0 -44
- package/dist/containers/column-set.js.map +0 -1
- package/dist/containers/column-set.mjs +0 -42
- package/dist/containers/column-set.mjs.map +0 -1
- package/dist/containers/column.d.mts +0 -31
- package/dist/containers/column.d.ts +0 -31
- package/dist/containers/column.js +0 -60
- package/dist/containers/column.js.map +0 -1
- package/dist/containers/column.mjs +0 -58
- package/dist/containers/column.mjs.map +0 -1
- package/dist/containers/container.d.mts +0 -31
- package/dist/containers/container.d.ts +0 -31
- package/dist/containers/container.js +0 -52
- package/dist/containers/container.js.map +0 -1
- package/dist/containers/container.mjs +0 -50
- package/dist/containers/container.mjs.map +0 -1
- package/dist/containers/fact-set.d.mts +0 -31
- package/dist/containers/fact-set.d.ts +0 -31
- package/dist/containers/fact-set.js +0 -43
- package/dist/containers/fact-set.js.map +0 -1
- package/dist/containers/fact-set.mjs +0 -40
- package/dist/containers/fact-set.mjs.map +0 -1
- package/dist/containers/image-set.d.mts +0 -31
- package/dist/containers/image-set.d.ts +0 -31
- package/dist/containers/image-set.js +0 -46
- package/dist/containers/image-set.js.map +0 -1
- package/dist/containers/image-set.mjs +0 -44
- package/dist/containers/image-set.mjs.map +0 -1
- package/dist/containers/index.d.mts +0 -31
- package/dist/containers/index.d.ts +0 -31
- package/dist/containers/index.js +0 -56
- package/dist/containers/index.js.map +0 -1
- package/dist/containers/index.mjs +0 -9
- package/dist/containers/index.mjs.map +0 -1
- package/dist/element.d.mts +0 -31
- package/dist/element.d.ts +0 -31
- package/dist/element.js +0 -4
- package/dist/element.js.map +0 -1
- package/dist/element.mjs +0 -3
- package/dist/element.mjs.map +0 -1
- package/dist/inputs/base.d.mts +0 -31
- package/dist/inputs/base.d.ts +0 -31
- package/dist/inputs/base.js +0 -63
- package/dist/inputs/base.js.map +0 -1
- package/dist/inputs/base.mjs +0 -61
- package/dist/inputs/base.mjs.map +0 -1
- package/dist/inputs/choice-set.d.mts +0 -31
- package/dist/inputs/choice-set.d.ts +0 -31
- package/dist/inputs/choice-set.js +0 -121
- package/dist/inputs/choice-set.js.map +0 -1
- package/dist/inputs/choice-set.mjs +0 -117
- package/dist/inputs/choice-set.mjs.map +0 -1
- package/dist/inputs/date.d.mts +0 -31
- package/dist/inputs/date.d.ts +0 -31
- package/dist/inputs/date.js +0 -52
- package/dist/inputs/date.js.map +0 -1
- package/dist/inputs/date.mjs +0 -50
- package/dist/inputs/date.mjs.map +0 -1
- package/dist/inputs/index.d.mts +0 -31
- package/dist/inputs/index.d.ts +0 -31
- package/dist/inputs/index.js +0 -49
- package/dist/inputs/index.js.map +0 -1
- package/dist/inputs/index.mjs +0 -8
- package/dist/inputs/index.mjs.map +0 -1
- package/dist/inputs/number.d.mts +0 -31
- package/dist/inputs/number.d.ts +0 -31
- package/dist/inputs/number.js +0 -52
- package/dist/inputs/number.js.map +0 -1
- package/dist/inputs/number.mjs +0 -50
- package/dist/inputs/number.mjs.map +0 -1
- package/dist/inputs/text.d.mts +0 -31
- package/dist/inputs/text.d.ts +0 -31
- package/dist/inputs/text.js +0 -76
- package/dist/inputs/text.js.map +0 -1
- package/dist/inputs/text.mjs +0 -74
- package/dist/inputs/text.mjs.map +0 -1
- package/dist/inputs/time.d.mts +0 -31
- package/dist/inputs/time.d.ts +0 -31
- package/dist/inputs/time.js +0 -52
- package/dist/inputs/time.js.map +0 -1
- package/dist/inputs/time.mjs +0 -50
- package/dist/inputs/time.mjs.map +0 -1
- package/dist/inputs/toggle.d.mts +0 -31
- package/dist/inputs/toggle.d.ts +0 -31
- package/dist/inputs/toggle.js +0 -57
- package/dist/inputs/toggle.js.map +0 -1
- package/dist/inputs/toggle.mjs +0 -55
- package/dist/inputs/toggle.mjs.map +0 -1
- package/dist/layouts/area-grid.d.mts +0 -133
- package/dist/layouts/area-grid.d.ts +0 -133
- package/dist/layouts/area-grid.js +0 -113
- package/dist/layouts/area-grid.js.map +0 -1
- package/dist/layouts/area-grid.mjs +0 -110
- package/dist/layouts/area-grid.mjs.map +0 -1
- package/dist/layouts/flow.d.mts +0 -119
- package/dist/layouts/flow.d.ts +0 -119
- package/dist/layouts/flow.js +0 -96
- package/dist/layouts/flow.js.map +0 -1
- package/dist/layouts/flow.mjs +0 -94
- package/dist/layouts/flow.mjs.map +0 -1
- package/dist/layouts/index.d.mts +0 -14
- package/dist/layouts/index.d.ts +0 -14
- package/dist/layouts/index.js +0 -28
- package/dist/layouts/index.js.map +0 -1
- package/dist/layouts/index.mjs +0 -5
- package/dist/layouts/index.mjs.map +0 -1
- package/dist/layouts/stack.d.mts +0 -28
- package/dist/layouts/stack.d.ts +0 -28
- package/dist/layouts/stack.js +0 -24
- package/dist/layouts/stack.js.map +0 -1
- package/dist/layouts/stack.mjs +0 -22
- package/dist/layouts/stack.mjs.map +0 -1
- package/dist/medias/background-image.d.mts +0 -56
- package/dist/medias/background-image.d.ts +0 -56
- package/dist/medias/background-image.js +0 -49
- package/dist/medias/background-image.js.map +0 -1
- package/dist/medias/background-image.mjs +0 -47
- package/dist/medias/background-image.mjs.map +0 -1
- package/dist/medias/badge.d.mts +0 -31
- package/dist/medias/badge.d.ts +0 -31
- package/dist/medias/badge.js +0 -84
- package/dist/medias/badge.js.map +0 -1
- package/dist/medias/badge.mjs +0 -82
- package/dist/medias/badge.mjs.map +0 -1
- package/dist/medias/code-block.d.mts +0 -31
- package/dist/medias/code-block.d.ts +0 -31
- package/dist/medias/code-block.js +0 -43
- package/dist/medias/code-block.js.map +0 -1
- package/dist/medias/code-block.mjs +0 -41
- package/dist/medias/code-block.mjs.map +0 -1
- package/dist/medias/icon.d.mts +0 -31
- package/dist/medias/icon.d.ts +0 -31
- package/dist/medias/icon.js +0 -56
- package/dist/medias/icon.js.map +0 -1
- package/dist/medias/icon.mjs +0 -54
- package/dist/medias/icon.mjs.map +0 -1
- package/dist/medias/image.d.mts +0 -31
- package/dist/medias/image.d.ts +0 -31
- package/dist/medias/image.js +0 -80
- package/dist/medias/image.js.map +0 -1
- package/dist/medias/image.mjs +0 -78
- package/dist/medias/image.mjs.map +0 -1
- package/dist/medias/index.d.mts +0 -31
- package/dist/medias/index.d.ts +0 -31
- package/dist/medias/index.js +0 -84
- package/dist/medias/index.js.map +0 -1
- package/dist/medias/index.mjs +0 -13
- package/dist/medias/index.mjs.map +0 -1
- package/dist/medias/media.d.mts +0 -31
- package/dist/medias/media.d.ts +0 -31
- package/dist/medias/media.js +0 -91
- package/dist/medias/media.js.map +0 -1
- package/dist/medias/media.mjs +0 -87
- package/dist/medias/media.mjs.map +0 -1
- package/dist/medias/progress-bar.d.mts +0 -31
- package/dist/medias/progress-bar.d.ts +0 -31
- package/dist/medias/progress-bar.js +0 -43
- package/dist/medias/progress-bar.js.map +0 -1
- package/dist/medias/progress-bar.mjs +0 -41
- package/dist/medias/progress-bar.mjs.map +0 -1
- package/dist/medias/progress-ring.d.mts +0 -31
- package/dist/medias/progress-ring.d.ts +0 -31
- package/dist/medias/progress-ring.js +0 -46
- package/dist/medias/progress-ring.js.map +0 -1
- package/dist/medias/progress-ring.mjs +0 -44
- package/dist/medias/progress-ring.mjs.map +0 -1
- package/dist/medias/rich-text-block.d.mts +0 -31
- package/dist/medias/rich-text-block.d.ts +0 -31
- package/dist/medias/rich-text-block.js +0 -33
- package/dist/medias/rich-text-block.js.map +0 -1
- package/dist/medias/rich-text-block.mjs +0 -31
- package/dist/medias/rich-text-block.mjs.map +0 -1
- package/dist/medias/text-block.d.mts +0 -31
- package/dist/medias/text-block.d.ts +0 -31
- package/dist/medias/text-block.js +0 -95
- package/dist/medias/text-block.js.map +0 -1
- package/dist/medias/text-block.mjs +0 -93
- package/dist/medias/text-block.mjs.map +0 -1
- package/dist/medias/text-run.d.mts +0 -31
- package/dist/medias/text-run.d.ts +0 -31
- package/dist/medias/text-run.js +0 -108
- package/dist/medias/text-run.js.map +0 -1
- package/dist/medias/text-run.mjs +0 -106
- package/dist/medias/text-run.mjs.map +0 -1
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Action } from '../base';
|
|
2
|
-
|
|
3
|
-
class SubmitAction extends Action {
|
|
4
|
-
type;
|
|
5
|
-
/**
|
|
6
|
-
* Controls which inputs are associated with the action.
|
|
7
|
-
*/
|
|
8
|
-
associatedInputs;
|
|
9
|
-
/**
|
|
10
|
-
* Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.
|
|
11
|
-
*/
|
|
12
|
-
data;
|
|
13
|
-
constructor(options = {}) {
|
|
14
|
-
super();
|
|
15
|
-
this.type = "Action.Submit";
|
|
16
|
-
Object.assign(this, options);
|
|
17
|
-
}
|
|
18
|
-
static from(options) {
|
|
19
|
-
return new SubmitAction(options);
|
|
20
|
-
}
|
|
21
|
-
withAssociatedInputs(value) {
|
|
22
|
-
this.associatedInputs = value;
|
|
23
|
-
return this;
|
|
24
|
-
}
|
|
25
|
-
withData(value = { msteams: {} }) {
|
|
26
|
-
const { msteams, ...rest } = value;
|
|
27
|
-
if (!this.data) {
|
|
28
|
-
this.data = { msteams };
|
|
29
|
-
}
|
|
30
|
-
Object.assign(this.data, {
|
|
31
|
-
msteams: {
|
|
32
|
-
...this.data.msteams,
|
|
33
|
-
...msteams
|
|
34
|
-
},
|
|
35
|
-
...rest
|
|
36
|
-
});
|
|
37
|
-
return this;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export { SubmitAction };
|
|
42
|
-
//# sourceMappingURL=submit.mjs.map
|
|
43
|
-
//# sourceMappingURL=submit.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/actions/submit/submit.ts"],"names":[],"mappings":";;AAyBO,MAAM,qBAAqB,MAAgC,CAAA;AAAA,EAChE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,gBAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA,EAEA,WAAA,CAAY,OAA+B,GAAA,EAAI,EAAA;AAC7C,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,eAAA;AACZ,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAAA;AAC7B,EAEA,OAAO,KAAK,OAAsC,EAAA;AAChD,IAAO,OAAA,IAAI,aAAa,OAAO,CAAA;AAAA;AACjC,EAEA,qBAAqB,KAAyB,EAAA;AAC5C,IAAA,IAAA,CAAK,gBAAmB,GAAA,KAAA;AACxB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAS,KAA6B,GAAA,EAAE,OAAS,EAAA,IAAM,EAAA;AACrD,IAAA,MAAM,EAAE,OAAA,EAAS,GAAG,IAAA,EAAS,GAAA,KAAA;AAC7B,IAAI,IAAA,CAAC,KAAK,IAAM,EAAA;AACd,MAAK,IAAA,CAAA,IAAA,GAAO,EAAE,OAAQ,EAAA;AAAA;AAGxB,IAAO,MAAA,CAAA,MAAA,CAAO,KAAK,IAAM,EAAA;AAAA,MACvB,OAAS,EAAA;AAAA,QACP,GAAG,KAAK,IAAK,CAAA,OAAA;AAAA,QACb,GAAG;AAAA,OACL;AAAA,MACA,GAAG;AAAA,KACJ,CAAA;AACD,IAAO,OAAA,IAAA;AAAA;AAEX","file":"submit.mjs","sourcesContent":["import { AssociatedInputs } from '../../common';\nimport { Action, IAction } from '../base';\n\nexport type SubmitActionOptions = Omit<ISubmitAction, 'type' | 'data'>;\n\n/**\n * Gathers input fields, merges with optional data field, and sends an event to the client. It is up to the client to determine how this data is processed. For example: With BotFramework bots, the client would send an activity through the messaging medium to the 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 https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation for more details.\n */\nexport interface ISubmitAction extends IAction {\n type: 'Action.Submit';\n\n /**\n * Controls which inputs are associated with the action.\n */\n associatedInputs?: AssociatedInputs;\n\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data?: MSTeamsData<Record<string, any>>;\n}\n\n/**\n * Gathers input fields, merges with optional data field, and sends an event to the client. It is up to the client to determine how this data is processed. For example: With BotFramework bots, the client would send an activity through the messaging medium to the 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 https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation for more details.\n */\nexport class SubmitAction extends Action implements ISubmitAction {\n type: 'Action.Submit';\n\n /**\n * Controls which inputs are associated with the action.\n */\n associatedInputs?: AssociatedInputs;\n\n /**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\n data?: MSTeamsData<Record<string, any>>;\n\n constructor(options: SubmitActionOptions = {}) {\n super();\n this.type = 'Action.Submit';\n Object.assign(this, options);\n }\n\n static from(options: Omit<ISubmitAction, 'type'>) {\n return new SubmitAction(options);\n }\n\n withAssociatedInputs(value: AssociatedInputs) {\n this.associatedInputs = value;\n return this;\n }\n\n withData(value: Record<string, any> = { msteams: {} }) {\n const { msteams, ...rest } = value;\n if (!this.data) {\n this.data = { msteams };\n }\n\n Object.assign(this.data, {\n msteams: {\n ...this.data.msteams,\n ...msteams,\n },\n ...rest,\n });\n return this;\n }\n}\n\n/**\n * Initial data that input fields will be combined with. These are essentially ‘hidden’ properties.\n */\nexport type MSTeamsData<T> = {\n /**\n * Teams specific payload data.\n */\n msteams: T;\n\n /**\n * Other\n */\n [key: string]: any;\n};\n"]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { TargetElement } from '../common/target-element.mjs';
|
|
2
|
-
import { IAction, Action } from './base.mjs';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* An action that toggles the visibility of associated card elements.
|
|
6
|
-
*/
|
|
7
|
-
interface IToggleVisibilityAction extends IAction {
|
|
8
|
-
type: 'Action.ToggleVisibility';
|
|
9
|
-
/**
|
|
10
|
-
* "The array of TargetElements. It is not recommended to include Input elements with validation under Action.Toggle due to confusion that can arise from invalid inputs that are not currently visible. See https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation for more information.
|
|
11
|
-
*/
|
|
12
|
-
targetElements: (string | TargetElement)[];
|
|
13
|
-
}
|
|
14
|
-
type ToggleVisibilityActionOptions = Omit<IToggleVisibilityAction, 'type' | 'targetElements'>;
|
|
15
|
-
/**
|
|
16
|
-
* An action that toggles the visibility of associated card elements.
|
|
17
|
-
*/
|
|
18
|
-
declare class ToggleVisibilityAction extends Action implements IToggleVisibilityAction {
|
|
19
|
-
type: 'Action.ToggleVisibility';
|
|
20
|
-
/**
|
|
21
|
-
* "The array of TargetElements. It is not recommended to include Input elements with validation under Action.Toggle due to confusion that can arise from invalid inputs that are not currently visible. See https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation for more information.
|
|
22
|
-
*/
|
|
23
|
-
targetElements: (string | TargetElement)[];
|
|
24
|
-
constructor(...targetElements: (string | TargetElement)[]);
|
|
25
|
-
static from(options: Omit<IToggleVisibilityAction, 'type'>): ToggleVisibilityAction;
|
|
26
|
-
addTargets(...value: (string | TargetElement)[]): this;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { type IToggleVisibilityAction, ToggleVisibilityAction, type ToggleVisibilityActionOptions };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { TargetElement } from '../common/target-element.js';
|
|
2
|
-
import { IAction, Action } from './base.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* An action that toggles the visibility of associated card elements.
|
|
6
|
-
*/
|
|
7
|
-
interface IToggleVisibilityAction extends IAction {
|
|
8
|
-
type: 'Action.ToggleVisibility';
|
|
9
|
-
/**
|
|
10
|
-
* "The array of TargetElements. It is not recommended to include Input elements with validation under Action.Toggle due to confusion that can arise from invalid inputs that are not currently visible. See https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation for more information.
|
|
11
|
-
*/
|
|
12
|
-
targetElements: (string | TargetElement)[];
|
|
13
|
-
}
|
|
14
|
-
type ToggleVisibilityActionOptions = Omit<IToggleVisibilityAction, 'type' | 'targetElements'>;
|
|
15
|
-
/**
|
|
16
|
-
* An action that toggles the visibility of associated card elements.
|
|
17
|
-
*/
|
|
18
|
-
declare class ToggleVisibilityAction extends Action implements IToggleVisibilityAction {
|
|
19
|
-
type: 'Action.ToggleVisibility';
|
|
20
|
-
/**
|
|
21
|
-
* "The array of TargetElements. It is not recommended to include Input elements with validation under Action.Toggle due to confusion that can arise from invalid inputs that are not currently visible. See https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation for more information.
|
|
22
|
-
*/
|
|
23
|
-
targetElements: (string | TargetElement)[];
|
|
24
|
-
constructor(...targetElements: (string | TargetElement)[]);
|
|
25
|
-
static from(options: Omit<IToggleVisibilityAction, 'type'>): ToggleVisibilityAction;
|
|
26
|
-
addTargets(...value: (string | TargetElement)[]): this;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { type IToggleVisibilityAction, ToggleVisibilityAction, type ToggleVisibilityActionOptions };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var base = require('./base');
|
|
4
|
-
|
|
5
|
-
class ToggleVisibilityAction extends base.Action {
|
|
6
|
-
type;
|
|
7
|
-
/**
|
|
8
|
-
* "The array of TargetElements. It is not recommended to include Input elements with validation under Action.Toggle due to confusion that can arise from invalid inputs that are not currently visible. See https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation for more information.
|
|
9
|
-
*/
|
|
10
|
-
targetElements;
|
|
11
|
-
constructor(...targetElements) {
|
|
12
|
-
super();
|
|
13
|
-
this.type = "Action.ToggleVisibility";
|
|
14
|
-
this.targetElements = targetElements;
|
|
15
|
-
}
|
|
16
|
-
static from(options) {
|
|
17
|
-
const action = new ToggleVisibilityAction(...options.targetElements);
|
|
18
|
-
Object.assign(action, options);
|
|
19
|
-
return action;
|
|
20
|
-
}
|
|
21
|
-
addTargets(...value) {
|
|
22
|
-
this.targetElements.push(...value);
|
|
23
|
-
return this;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
exports.ToggleVisibilityAction = ToggleVisibilityAction;
|
|
28
|
-
//# sourceMappingURL=toggle-visibility.js.map
|
|
29
|
-
//# sourceMappingURL=toggle-visibility.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/actions/toggle-visibility.ts"],"names":["Action"],"mappings":";;;;AAwBO,MAAM,+BAA+BA,WAA0C,CAAA;AAAA,EACpF,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,cAAA;AAAA,EAEA,eAAe,cAA4C,EAAA;AACzD,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,yBAAA;AACZ,IAAA,IAAA,CAAK,cAAiB,GAAA,cAAA;AAAA;AACxB,EAEA,OAAO,KAAK,OAAgD,EAAA;AAC1D,IAAA,MAAM,MAAS,GAAA,IAAI,sBAAuB,CAAA,GAAG,QAAQ,cAAc,CAAA;AACnE,IAAO,MAAA,CAAA,MAAA,CAAO,QAAQ,OAAO,CAAA;AAC7B,IAAO,OAAA,MAAA;AAAA;AACT,EAEA,cAAc,KAAmC,EAAA;AAC/C,IAAK,IAAA,CAAA,cAAA,CAAe,IAAK,CAAA,GAAG,KAAK,CAAA;AACjC,IAAO,OAAA,IAAA;AAAA;AAEX","file":"toggle-visibility.js","sourcesContent":["import { TargetElement } from '../common';\n\nimport { IAction, Action } from './base';\n\n/**\n * An action that toggles the visibility of associated card elements.\n */\nexport interface IToggleVisibilityAction extends IAction {\n type: 'Action.ToggleVisibility';\n\n /**\n * \"The array of TargetElements. It is not recommended to include Input elements with validation under Action.Toggle due to confusion that can arise from invalid inputs that are not currently visible. See https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation for more information.\n */\n targetElements: (string | TargetElement)[];\n}\n\nexport type ToggleVisibilityActionOptions = Omit<\n IToggleVisibilityAction,\n 'type' | 'targetElements'\n>;\n\n/**\n * An action that toggles the visibility of associated card elements.\n */\nexport class ToggleVisibilityAction extends Action implements IToggleVisibilityAction {\n type: 'Action.ToggleVisibility';\n\n /**\n * \"The array of TargetElements. It is not recommended to include Input elements with validation under Action.Toggle due to confusion that can arise from invalid inputs that are not currently visible. See https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation for more information.\n */\n targetElements: (string | TargetElement)[];\n\n constructor(...targetElements: (string | TargetElement)[]) {\n super();\n this.type = 'Action.ToggleVisibility';\n this.targetElements = targetElements;\n }\n\n static from(options: Omit<IToggleVisibilityAction, 'type'>) {\n const action = new ToggleVisibilityAction(...options.targetElements);\n Object.assign(action, options);\n return action;\n }\n\n addTargets(...value: (string | TargetElement)[]) {\n this.targetElements.push(...value);\n return this;\n }\n}\n"]}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Action } from './base';
|
|
2
|
-
|
|
3
|
-
class ToggleVisibilityAction extends Action {
|
|
4
|
-
type;
|
|
5
|
-
/**
|
|
6
|
-
* "The array of TargetElements. It is not recommended to include Input elements with validation under Action.Toggle due to confusion that can arise from invalid inputs that are not currently visible. See https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation for more information.
|
|
7
|
-
*/
|
|
8
|
-
targetElements;
|
|
9
|
-
constructor(...targetElements) {
|
|
10
|
-
super();
|
|
11
|
-
this.type = "Action.ToggleVisibility";
|
|
12
|
-
this.targetElements = targetElements;
|
|
13
|
-
}
|
|
14
|
-
static from(options) {
|
|
15
|
-
const action = new ToggleVisibilityAction(...options.targetElements);
|
|
16
|
-
Object.assign(action, options);
|
|
17
|
-
return action;
|
|
18
|
-
}
|
|
19
|
-
addTargets(...value) {
|
|
20
|
-
this.targetElements.push(...value);
|
|
21
|
-
return this;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export { ToggleVisibilityAction };
|
|
26
|
-
//# sourceMappingURL=toggle-visibility.mjs.map
|
|
27
|
-
//# sourceMappingURL=toggle-visibility.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/actions/toggle-visibility.ts"],"names":[],"mappings":";;AAwBO,MAAM,+BAA+B,MAA0C,CAAA;AAAA,EACpF,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,cAAA;AAAA,EAEA,eAAe,cAA4C,EAAA;AACzD,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,yBAAA;AACZ,IAAA,IAAA,CAAK,cAAiB,GAAA,cAAA;AAAA;AACxB,EAEA,OAAO,KAAK,OAAgD,EAAA;AAC1D,IAAA,MAAM,MAAS,GAAA,IAAI,sBAAuB,CAAA,GAAG,QAAQ,cAAc,CAAA;AACnE,IAAO,MAAA,CAAA,MAAA,CAAO,QAAQ,OAAO,CAAA;AAC7B,IAAO,OAAA,MAAA;AAAA;AACT,EAEA,cAAc,KAAmC,EAAA;AAC/C,IAAK,IAAA,CAAA,cAAA,CAAe,IAAK,CAAA,GAAG,KAAK,CAAA;AACjC,IAAO,OAAA,IAAA;AAAA;AAEX","file":"toggle-visibility.mjs","sourcesContent":["import { TargetElement } from '../common';\n\nimport { IAction, Action } from './base';\n\n/**\n * An action that toggles the visibility of associated card elements.\n */\nexport interface IToggleVisibilityAction extends IAction {\n type: 'Action.ToggleVisibility';\n\n /**\n * \"The array of TargetElements. It is not recommended to include Input elements with validation under Action.Toggle due to confusion that can arise from invalid inputs that are not currently visible. See https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation for more information.\n */\n targetElements: (string | TargetElement)[];\n}\n\nexport type ToggleVisibilityActionOptions = Omit<\n IToggleVisibilityAction,\n 'type' | 'targetElements'\n>;\n\n/**\n * An action that toggles the visibility of associated card elements.\n */\nexport class ToggleVisibilityAction extends Action implements IToggleVisibilityAction {\n type: 'Action.ToggleVisibility';\n\n /**\n * \"The array of TargetElements. It is not recommended to include Input elements with validation under Action.Toggle due to confusion that can arise from invalid inputs that are not currently visible. See https://docs.microsoft.com/en-us/adaptive-cards/authoring-cards/input-validation for more information.\n */\n targetElements: (string | TargetElement)[];\n\n constructor(...targetElements: (string | TargetElement)[]) {\n super();\n this.type = 'Action.ToggleVisibility';\n this.targetElements = targetElements;\n }\n\n static from(options: Omit<IToggleVisibilityAction, 'type'>) {\n const action = new ToggleVisibilityAction(...options.targetElements);\n Object.assign(action, options);\n return action;\n }\n\n addTargets(...value: (string | TargetElement)[]) {\n this.targetElements.push(...value);\n return this;\n }\n}\n"]}
|
package/dist/base.d.mts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import './common/horizontal-alignment.mjs';
|
|
2
|
-
import './common/spacing.mjs';
|
|
3
|
-
export { b3 as Element, b2 as IElement } from './charts/donut.mjs';
|
|
4
|
-
import './common/target-width.mjs';
|
|
5
|
-
import './actions/execute.mjs';
|
|
6
|
-
import './common/associated-inputs.mjs';
|
|
7
|
-
import './actions/base.mjs';
|
|
8
|
-
import './actions/open-url.mjs';
|
|
9
|
-
import './common/vertical-alignment.mjs';
|
|
10
|
-
import './common/refresh.mjs';
|
|
11
|
-
import './common/auth/auth.mjs';
|
|
12
|
-
import './common/auth/auth-card-button.mjs';
|
|
13
|
-
import './common/auth/token-exchange-resource.mjs';
|
|
14
|
-
import './charts/color.mjs';
|
|
15
|
-
import './layouts/index.mjs';
|
|
16
|
-
import './layouts/area-grid.mjs';
|
|
17
|
-
import './layouts/flow.mjs';
|
|
18
|
-
import './layouts/stack.mjs';
|
|
19
|
-
import './medias/background-image.mjs';
|
|
20
|
-
import './common/color.mjs';
|
|
21
|
-
import './common/font.mjs';
|
|
22
|
-
import './actions/submit/submit.mjs';
|
|
23
|
-
import './actions/submit/im-back.mjs';
|
|
24
|
-
import './actions/submit/invoke.mjs';
|
|
25
|
-
import './actions/submit/message-back.mjs';
|
|
26
|
-
import './actions/submit/sign-in.mjs';
|
|
27
|
-
import './actions/submit/task-fetch.mjs';
|
|
28
|
-
import './actions/submit/collab-stage.mjs';
|
|
29
|
-
import './common/tab-info.mjs';
|
|
30
|
-
import './actions/toggle-visibility.mjs';
|
|
31
|
-
import './common/target-element.mjs';
|
package/dist/base.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import './common/horizontal-alignment.js';
|
|
2
|
-
import './common/spacing.js';
|
|
3
|
-
export { b3 as Element, b2 as IElement } from './charts/donut.js';
|
|
4
|
-
import './common/target-width.js';
|
|
5
|
-
import './actions/execute.js';
|
|
6
|
-
import './common/associated-inputs.js';
|
|
7
|
-
import './actions/base.js';
|
|
8
|
-
import './actions/open-url.js';
|
|
9
|
-
import './common/vertical-alignment.js';
|
|
10
|
-
import './common/refresh.js';
|
|
11
|
-
import './common/auth/auth.js';
|
|
12
|
-
import './common/auth/auth-card-button.js';
|
|
13
|
-
import './common/auth/token-exchange-resource.js';
|
|
14
|
-
import './charts/color.js';
|
|
15
|
-
import './layouts/index.js';
|
|
16
|
-
import './layouts/area-grid.js';
|
|
17
|
-
import './layouts/flow.js';
|
|
18
|
-
import './layouts/stack.js';
|
|
19
|
-
import './medias/background-image.js';
|
|
20
|
-
import './common/color.js';
|
|
21
|
-
import './common/font.js';
|
|
22
|
-
import './actions/submit/submit.js';
|
|
23
|
-
import './actions/submit/im-back.js';
|
|
24
|
-
import './actions/submit/invoke.js';
|
|
25
|
-
import './actions/submit/message-back.js';
|
|
26
|
-
import './actions/submit/sign-in.js';
|
|
27
|
-
import './actions/submit/task-fetch.js';
|
|
28
|
-
import './actions/submit/collab-stage.js';
|
|
29
|
-
import './common/tab-info.js';
|
|
30
|
-
import './actions/toggle-visibility.js';
|
|
31
|
-
import './common/target-element.js';
|
package/dist/base.js
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
class Element {
|
|
4
|
-
/**
|
|
5
|
-
* A unique identifier associated with the item
|
|
6
|
-
*/
|
|
7
|
-
id;
|
|
8
|
-
/**
|
|
9
|
-
* If false, this item will be removed from the visual tree.
|
|
10
|
-
*/
|
|
11
|
-
isVisible;
|
|
12
|
-
/**
|
|
13
|
-
* 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.
|
|
14
|
-
*/
|
|
15
|
-
requires;
|
|
16
|
-
/**
|
|
17
|
-
* Specifies the height of the element.
|
|
18
|
-
*/
|
|
19
|
-
height;
|
|
20
|
-
/**
|
|
21
|
-
* When `true`, draw a separating line at the top of the element.
|
|
22
|
-
*/
|
|
23
|
-
separator;
|
|
24
|
-
/**
|
|
25
|
-
* Controls the amount of spacing between this element and the preceding element.
|
|
26
|
-
*/
|
|
27
|
-
spacing;
|
|
28
|
-
/**
|
|
29
|
-
* the area of a `Layout.AreaGrid` layout in which an element should be displayed.
|
|
30
|
-
*/
|
|
31
|
-
"grid.area";
|
|
32
|
-
/**
|
|
33
|
-
* controls how the element should be horizontally aligned.
|
|
34
|
-
*/
|
|
35
|
-
horizontalAlignment;
|
|
36
|
-
/**
|
|
37
|
-
* Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space.
|
|
38
|
-
*/
|
|
39
|
-
targetWidth;
|
|
40
|
-
/**
|
|
41
|
-
* The locale associated with the element.
|
|
42
|
-
*/
|
|
43
|
-
lang;
|
|
44
|
-
/**
|
|
45
|
-
* Describes what to do when an unknown item is encountered or the requires of this or any children can't be met.
|
|
46
|
-
*/
|
|
47
|
-
fallback;
|
|
48
|
-
constructor(value = {}) {
|
|
49
|
-
Object.assign(this, value);
|
|
50
|
-
}
|
|
51
|
-
withId(value) {
|
|
52
|
-
this.id = value;
|
|
53
|
-
return this;
|
|
54
|
-
}
|
|
55
|
-
withIsVisible(value) {
|
|
56
|
-
this.isVisible = value;
|
|
57
|
-
return this;
|
|
58
|
-
}
|
|
59
|
-
withRequires(value) {
|
|
60
|
-
this.requires = value;
|
|
61
|
-
return this;
|
|
62
|
-
}
|
|
63
|
-
withRequire(key, value) {
|
|
64
|
-
if (!this.requires) {
|
|
65
|
-
this.requires = {};
|
|
66
|
-
}
|
|
67
|
-
this.requires[key] = value;
|
|
68
|
-
return this;
|
|
69
|
-
}
|
|
70
|
-
withHeight(value) {
|
|
71
|
-
this.height = value;
|
|
72
|
-
return this;
|
|
73
|
-
}
|
|
74
|
-
withSeperator(value) {
|
|
75
|
-
this.separator = value;
|
|
76
|
-
return this;
|
|
77
|
-
}
|
|
78
|
-
withSpacing(value) {
|
|
79
|
-
this.spacing = value;
|
|
80
|
-
return this;
|
|
81
|
-
}
|
|
82
|
-
withGridArea(value) {
|
|
83
|
-
this["grid.area"] = value;
|
|
84
|
-
}
|
|
85
|
-
withHorizontalAlignment(value) {
|
|
86
|
-
this.horizontalAlignment = value;
|
|
87
|
-
return this;
|
|
88
|
-
}
|
|
89
|
-
withTargetWidth(value) {
|
|
90
|
-
this.targetWidth = value;
|
|
91
|
-
return this;
|
|
92
|
-
}
|
|
93
|
-
withLang(value) {
|
|
94
|
-
this.lang = value;
|
|
95
|
-
return this;
|
|
96
|
-
}
|
|
97
|
-
withFallback(value) {
|
|
98
|
-
this.fallback = value;
|
|
99
|
-
return this;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
exports.Element = Element;
|
|
104
|
-
//# sourceMappingURL=base.js.map
|
|
105
|
-
//# sourceMappingURL=base.js.map
|
package/dist/base.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/base.ts"],"names":[],"mappings":";;AA4DO,MAAM,OAA4B,CAAA;AAAA;AAAA;AAAA;AAAA,EAIvC,EAAA;AAAA;AAAA;AAAA;AAAA,EAKA,SAAA;AAAA;AAAA;AAAA;AAAA,EAKA,QAAA;AAAA;AAAA;AAAA;AAAA,EAKA,MAAA;AAAA;AAAA;AAAA;AAAA,EAKA,SAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,mBAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,QAAA;AAAA,EAEA,WAAA,CAAY,KAA2B,GAAA,EAAI,EAAA;AACzC,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,cAAc,KAAgB,EAAA;AAC5B,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;AACT,EAEA,WAAW,KAAuE,EAAA;AAChF,IAAA,IAAA,CAAK,MAAS,GAAA,KAAA;AACd,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAgB,EAAA;AAC5B,IAAA,IAAA,CAAK,SAAY,GAAA,KAAA;AACjB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAY,KAAgB,EAAA;AAC1B,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAa,KAAe,EAAA;AAC1B,IAAA,IAAA,CAAK,WAAW,CAAI,GAAA,KAAA;AAAA;AACtB,EAEA,wBAAwB,KAA4B,EAAA;AAClD,IAAA,IAAA,CAAK,mBAAsB,GAAA,KAAA;AAC3B,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAoB,EAAA;AAClC,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAS,KAAe,EAAA;AACtB,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAa,KAAmD,EAAA;AAC9D,IAAA,IAAA,CAAK,QAAW,GAAA,KAAA;AAChB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"base.js","sourcesContent":["import { HorizontalAlignment, Spacing, TargetWidth } from './common';\nimport { Element as AnyElement } from './element';\n\nexport interface IElement {\n /**\n * A unique identifier associated with the item\n */\n id?: string;\n\n /**\n * If false, this item will be removed from the visual tree.\n */\n isVisible?: 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 /**\n * Specifies the height of the element.\n */\n height?: 'auto' | 'stretch' | Omit<string | number, 'auto' | 'stretch'>;\n\n /**\n * When `true`, draw a separating line at the top of the element.\n */\n separator?: boolean;\n\n /**\n * Controls the amount of spacing between this element and the preceding element.\n */\n spacing?: Spacing;\n\n /**\n * the area of a `Layout.AreaGrid` layout in which an element should be displayed.\n */\n 'grid.area'?: string;\n\n /**\n * controls how the element should be horizontally aligned.\n */\n horizontalAlignment?: HorizontalAlignment | null;\n\n /**\n * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space.\n */\n targetWidth?: TargetWidth;\n\n /**\n * The locale associated with the element.\n */\n lang?: string;\n\n /**\n * Describes what to do when an unknown item is encountered or the requires of this or any children can't be met.\n */\n fallback?: AnyElement | 'drop' | Omit<string, 'drop'>;\n}\n\nexport class Element implements IElement {\n /**\n * A unique identifier associated with the item\n */\n id?: string;\n\n /**\n * If false, this item will be removed from the visual tree.\n */\n isVisible?: 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 /**\n * Specifies the height of the element.\n */\n height?: 'auto' | 'stretch' | Omit<string | number, 'auto' | 'stretch'>;\n\n /**\n * When `true`, draw a separating line at the top of the element.\n */\n separator?: boolean;\n\n /**\n * Controls the amount of spacing between this element and the preceding element.\n */\n spacing?: Spacing;\n\n /**\n * the area of a `Layout.AreaGrid` layout in which an element should be displayed.\n */\n 'grid.area'?: string;\n\n /**\n * controls how the element should be horizontally aligned.\n */\n horizontalAlignment?: HorizontalAlignment | null;\n\n /**\n * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space.\n */\n targetWidth?: TargetWidth;\n\n /**\n * The locale associated with the element.\n */\n lang?: string;\n\n /**\n * Describes what to do when an unknown item is encountered or the requires of this or any children can't be met.\n */\n fallback?: AnyElement | 'drop' | Omit<string, 'drop'>;\n\n constructor(value: Partial<IElement> = {}) {\n Object.assign(this, value);\n }\n\n withId(value: string) {\n this.id = value;\n return this;\n }\n\n withIsVisible(value: boolean) {\n this.isVisible = 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 withHeight(value: 'auto' | 'stretch' | Omit<string | number, 'auto' | 'stretch'>) {\n this.height = value;\n return this;\n }\n\n withSeperator(value: boolean) {\n this.separator = value;\n return this;\n }\n\n withSpacing(value: Spacing) {\n this.spacing = value;\n return this;\n }\n\n withGridArea(value: string) {\n this['grid.area'] = value;\n }\n\n withHorizontalAlignment(value: HorizontalAlignment) {\n this.horizontalAlignment = value;\n return this;\n }\n\n withTargetWidth(value: TargetWidth) {\n this.targetWidth = value;\n return this;\n }\n\n withLang(value: string) {\n this.lang = value;\n return this;\n }\n\n withFallback(value: AnyElement | 'drop' | Omit<string, 'drop'>) {\n this.fallback = value;\n return this;\n }\n}\n"]}
|
package/dist/base.mjs
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
class Element {
|
|
2
|
-
/**
|
|
3
|
-
* A unique identifier associated with the item
|
|
4
|
-
*/
|
|
5
|
-
id;
|
|
6
|
-
/**
|
|
7
|
-
* If false, this item will be removed from the visual tree.
|
|
8
|
-
*/
|
|
9
|
-
isVisible;
|
|
10
|
-
/**
|
|
11
|
-
* 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.
|
|
12
|
-
*/
|
|
13
|
-
requires;
|
|
14
|
-
/**
|
|
15
|
-
* Specifies the height of the element.
|
|
16
|
-
*/
|
|
17
|
-
height;
|
|
18
|
-
/**
|
|
19
|
-
* When `true`, draw a separating line at the top of the element.
|
|
20
|
-
*/
|
|
21
|
-
separator;
|
|
22
|
-
/**
|
|
23
|
-
* Controls the amount of spacing between this element and the preceding element.
|
|
24
|
-
*/
|
|
25
|
-
spacing;
|
|
26
|
-
/**
|
|
27
|
-
* the area of a `Layout.AreaGrid` layout in which an element should be displayed.
|
|
28
|
-
*/
|
|
29
|
-
"grid.area";
|
|
30
|
-
/**
|
|
31
|
-
* controls how the element should be horizontally aligned.
|
|
32
|
-
*/
|
|
33
|
-
horizontalAlignment;
|
|
34
|
-
/**
|
|
35
|
-
* Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space.
|
|
36
|
-
*/
|
|
37
|
-
targetWidth;
|
|
38
|
-
/**
|
|
39
|
-
* The locale associated with the element.
|
|
40
|
-
*/
|
|
41
|
-
lang;
|
|
42
|
-
/**
|
|
43
|
-
* Describes what to do when an unknown item is encountered or the requires of this or any children can't be met.
|
|
44
|
-
*/
|
|
45
|
-
fallback;
|
|
46
|
-
constructor(value = {}) {
|
|
47
|
-
Object.assign(this, value);
|
|
48
|
-
}
|
|
49
|
-
withId(value) {
|
|
50
|
-
this.id = value;
|
|
51
|
-
return this;
|
|
52
|
-
}
|
|
53
|
-
withIsVisible(value) {
|
|
54
|
-
this.isVisible = value;
|
|
55
|
-
return this;
|
|
56
|
-
}
|
|
57
|
-
withRequires(value) {
|
|
58
|
-
this.requires = value;
|
|
59
|
-
return this;
|
|
60
|
-
}
|
|
61
|
-
withRequire(key, value) {
|
|
62
|
-
if (!this.requires) {
|
|
63
|
-
this.requires = {};
|
|
64
|
-
}
|
|
65
|
-
this.requires[key] = value;
|
|
66
|
-
return this;
|
|
67
|
-
}
|
|
68
|
-
withHeight(value) {
|
|
69
|
-
this.height = value;
|
|
70
|
-
return this;
|
|
71
|
-
}
|
|
72
|
-
withSeperator(value) {
|
|
73
|
-
this.separator = value;
|
|
74
|
-
return this;
|
|
75
|
-
}
|
|
76
|
-
withSpacing(value) {
|
|
77
|
-
this.spacing = value;
|
|
78
|
-
return this;
|
|
79
|
-
}
|
|
80
|
-
withGridArea(value) {
|
|
81
|
-
this["grid.area"] = value;
|
|
82
|
-
}
|
|
83
|
-
withHorizontalAlignment(value) {
|
|
84
|
-
this.horizontalAlignment = value;
|
|
85
|
-
return this;
|
|
86
|
-
}
|
|
87
|
-
withTargetWidth(value) {
|
|
88
|
-
this.targetWidth = value;
|
|
89
|
-
return this;
|
|
90
|
-
}
|
|
91
|
-
withLang(value) {
|
|
92
|
-
this.lang = value;
|
|
93
|
-
return this;
|
|
94
|
-
}
|
|
95
|
-
withFallback(value) {
|
|
96
|
-
this.fallback = value;
|
|
97
|
-
return this;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export { Element };
|
|
102
|
-
//# sourceMappingURL=base.mjs.map
|
|
103
|
-
//# sourceMappingURL=base.mjs.map
|
package/dist/base.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/base.ts"],"names":[],"mappings":"AA4DO,MAAM,OAA4B,CAAA;AAAA;AAAA;AAAA;AAAA,EAIvC,EAAA;AAAA;AAAA;AAAA;AAAA,EAKA,SAAA;AAAA;AAAA;AAAA;AAAA,EAKA,QAAA;AAAA;AAAA;AAAA;AAAA,EAKA,MAAA;AAAA;AAAA;AAAA;AAAA,EAKA,SAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,mBAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,QAAA;AAAA,EAEA,WAAA,CAAY,KAA2B,GAAA,EAAI,EAAA;AACzC,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,cAAc,KAAgB,EAAA;AAC5B,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;AACT,EAEA,WAAW,KAAuE,EAAA;AAChF,IAAA,IAAA,CAAK,MAAS,GAAA,KAAA;AACd,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAgB,EAAA;AAC5B,IAAA,IAAA,CAAK,SAAY,GAAA,KAAA;AACjB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAY,KAAgB,EAAA;AAC1B,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAa,KAAe,EAAA;AAC1B,IAAA,IAAA,CAAK,WAAW,CAAI,GAAA,KAAA;AAAA;AACtB,EAEA,wBAAwB,KAA4B,EAAA;AAClD,IAAA,IAAA,CAAK,mBAAsB,GAAA,KAAA;AAC3B,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAoB,EAAA;AAClC,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAS,KAAe,EAAA;AACtB,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAa,KAAmD,EAAA;AAC9D,IAAA,IAAA,CAAK,QAAW,GAAA,KAAA;AAChB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"base.mjs","sourcesContent":["import { HorizontalAlignment, Spacing, TargetWidth } from './common';\nimport { Element as AnyElement } from './element';\n\nexport interface IElement {\n /**\n * A unique identifier associated with the item\n */\n id?: string;\n\n /**\n * If false, this item will be removed from the visual tree.\n */\n isVisible?: 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 /**\n * Specifies the height of the element.\n */\n height?: 'auto' | 'stretch' | Omit<string | number, 'auto' | 'stretch'>;\n\n /**\n * When `true`, draw a separating line at the top of the element.\n */\n separator?: boolean;\n\n /**\n * Controls the amount of spacing between this element and the preceding element.\n */\n spacing?: Spacing;\n\n /**\n * the area of a `Layout.AreaGrid` layout in which an element should be displayed.\n */\n 'grid.area'?: string;\n\n /**\n * controls how the element should be horizontally aligned.\n */\n horizontalAlignment?: HorizontalAlignment | null;\n\n /**\n * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space.\n */\n targetWidth?: TargetWidth;\n\n /**\n * The locale associated with the element.\n */\n lang?: string;\n\n /**\n * Describes what to do when an unknown item is encountered or the requires of this or any children can't be met.\n */\n fallback?: AnyElement | 'drop' | Omit<string, 'drop'>;\n}\n\nexport class Element implements IElement {\n /**\n * A unique identifier associated with the item\n */\n id?: string;\n\n /**\n * If false, this item will be removed from the visual tree.\n */\n isVisible?: 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 /**\n * Specifies the height of the element.\n */\n height?: 'auto' | 'stretch' | Omit<string | number, 'auto' | 'stretch'>;\n\n /**\n * When `true`, draw a separating line at the top of the element.\n */\n separator?: boolean;\n\n /**\n * Controls the amount of spacing between this element and the preceding element.\n */\n spacing?: Spacing;\n\n /**\n * the area of a `Layout.AreaGrid` layout in which an element should be displayed.\n */\n 'grid.area'?: string;\n\n /**\n * controls how the element should be horizontally aligned.\n */\n horizontalAlignment?: HorizontalAlignment | null;\n\n /**\n * Controls for which card width the element should be displayed. If targetWidth isn't specified, the element is rendered at all card widths. Using targetWidth makes it possible to author responsive cards that adapt their layout to the available horizontal space.\n */\n targetWidth?: TargetWidth;\n\n /**\n * The locale associated with the element.\n */\n lang?: string;\n\n /**\n * Describes what to do when an unknown item is encountered or the requires of this or any children can't be met.\n */\n fallback?: AnyElement | 'drop' | Omit<string, 'drop'>;\n\n constructor(value: Partial<IElement> = {}) {\n Object.assign(this, value);\n }\n\n withId(value: string) {\n this.id = value;\n return this;\n }\n\n withIsVisible(value: boolean) {\n this.isVisible = 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 withHeight(value: 'auto' | 'stretch' | Omit<string | number, 'auto' | 'stretch'>) {\n this.height = value;\n return this;\n }\n\n withSeperator(value: boolean) {\n this.separator = value;\n return this;\n }\n\n withSpacing(value: Spacing) {\n this.spacing = value;\n return this;\n }\n\n withGridArea(value: string) {\n this['grid.area'] = value;\n }\n\n withHorizontalAlignment(value: HorizontalAlignment) {\n this.horizontalAlignment = value;\n return this;\n }\n\n withTargetWidth(value: TargetWidth) {\n this.targetWidth = value;\n return this;\n }\n\n withLang(value: string) {\n this.lang = value;\n return this;\n }\n\n withFallback(value: AnyElement | 'drop' | Omit<string, 'drop'>) {\n this.fallback = value;\n return this;\n }\n}\n"]}
|
package/dist/card.d.mts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { aX as Card, aW as CardOptions, aU as ICard, aV as MSTeamsCardInfo, aY as isCard } from './charts/donut.mjs';
|
|
2
|
-
import './common/vertical-alignment.mjs';
|
|
3
|
-
import './common/refresh.mjs';
|
|
4
|
-
import './common/auth/auth.mjs';
|
|
5
|
-
import './medias/background-image.mjs';
|
|
6
|
-
import './actions/execute.mjs';
|
|
7
|
-
import './common/associated-inputs.mjs';
|
|
8
|
-
import './actions/base.mjs';
|
|
9
|
-
import './actions/open-url.mjs';
|
|
10
|
-
import './common/horizontal-alignment.mjs';
|
|
11
|
-
import './common/spacing.mjs';
|
|
12
|
-
import './common/target-width.mjs';
|
|
13
|
-
import './charts/color.mjs';
|
|
14
|
-
import './layouts/index.mjs';
|
|
15
|
-
import './layouts/area-grid.mjs';
|
|
16
|
-
import './layouts/flow.mjs';
|
|
17
|
-
import './layouts/stack.mjs';
|
|
18
|
-
import './common/color.mjs';
|
|
19
|
-
import './common/font.mjs';
|
|
20
|
-
import './actions/submit/submit.mjs';
|
|
21
|
-
import './actions/submit/im-back.mjs';
|
|
22
|
-
import './actions/submit/invoke.mjs';
|
|
23
|
-
import './actions/submit/message-back.mjs';
|
|
24
|
-
import './actions/submit/sign-in.mjs';
|
|
25
|
-
import './actions/submit/task-fetch.mjs';
|
|
26
|
-
import './actions/submit/collab-stage.mjs';
|
|
27
|
-
import './common/tab-info.mjs';
|
|
28
|
-
import './actions/toggle-visibility.mjs';
|
|
29
|
-
import './common/target-element.mjs';
|
|
30
|
-
import './common/auth/auth-card-button.mjs';
|
|
31
|
-
import './common/auth/token-exchange-resource.mjs';
|
package/dist/card.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { aX as Card, aW as CardOptions, aU as ICard, aV as MSTeamsCardInfo, aY as isCard } from './charts/donut.js';
|
|
2
|
-
import './common/vertical-alignment.js';
|
|
3
|
-
import './common/refresh.js';
|
|
4
|
-
import './common/auth/auth.js';
|
|
5
|
-
import './medias/background-image.js';
|
|
6
|
-
import './actions/execute.js';
|
|
7
|
-
import './common/associated-inputs.js';
|
|
8
|
-
import './actions/base.js';
|
|
9
|
-
import './actions/open-url.js';
|
|
10
|
-
import './common/horizontal-alignment.js';
|
|
11
|
-
import './common/spacing.js';
|
|
12
|
-
import './common/target-width.js';
|
|
13
|
-
import './charts/color.js';
|
|
14
|
-
import './layouts/index.js';
|
|
15
|
-
import './layouts/area-grid.js';
|
|
16
|
-
import './layouts/flow.js';
|
|
17
|
-
import './layouts/stack.js';
|
|
18
|
-
import './common/color.js';
|
|
19
|
-
import './common/font.js';
|
|
20
|
-
import './actions/submit/submit.js';
|
|
21
|
-
import './actions/submit/im-back.js';
|
|
22
|
-
import './actions/submit/invoke.js';
|
|
23
|
-
import './actions/submit/message-back.js';
|
|
24
|
-
import './actions/submit/sign-in.js';
|
|
25
|
-
import './actions/submit/task-fetch.js';
|
|
26
|
-
import './actions/submit/collab-stage.js';
|
|
27
|
-
import './common/tab-info.js';
|
|
28
|
-
import './actions/toggle-visibility.js';
|
|
29
|
-
import './common/target-element.js';
|
|
30
|
-
import './common/auth/auth-card-button.js';
|
|
31
|
-
import './common/auth/token-exchange-resource.js';
|