@microsoft/teams.cards 0.2.13 → 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/README.md +40 -40
- 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 +3 -4
- 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 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"horizontal-alignment.js"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"horizontal-alignment.mjs"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { IExecuteAction } from '../actions/execute.mjs';
|
|
2
|
-
import './associated-inputs.mjs';
|
|
3
|
-
import '../actions/base.mjs';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Defines how a card can be refreshed by making a request to the target Bot.
|
|
7
|
-
*/
|
|
8
|
-
type Refresh = {
|
|
9
|
-
/**
|
|
10
|
-
* The action to be executed to refresh the card. Clients can run this refresh action automatically or can provide an affordance for users to trigger it manually.
|
|
11
|
-
*/
|
|
12
|
-
action?: IExecuteAction;
|
|
13
|
-
/**
|
|
14
|
-
* A timestamp that informs a Host when the card content has expired, and that it should trigger a refresh as appropriate. The format is ISO-8601 Instant format. E.g., 2022-01-01T12:00:00Z
|
|
15
|
-
*/
|
|
16
|
-
expires?: string;
|
|
17
|
-
/**
|
|
18
|
-
* A list of user Ids informing the client for which users should the refresh action should be run automatically. Some clients will not run the refresh action automatically unless this property is specified. Some clients may ignore this property and always run the refresh action automatically.
|
|
19
|
-
*/
|
|
20
|
-
userIds?: string[];
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export type { Refresh };
|
package/dist/common/refresh.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { IExecuteAction } from '../actions/execute.js';
|
|
2
|
-
import './associated-inputs.js';
|
|
3
|
-
import '../actions/base.js';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Defines how a card can be refreshed by making a request to the target Bot.
|
|
7
|
-
*/
|
|
8
|
-
type Refresh = {
|
|
9
|
-
/**
|
|
10
|
-
* The action to be executed to refresh the card. Clients can run this refresh action automatically or can provide an affordance for users to trigger it manually.
|
|
11
|
-
*/
|
|
12
|
-
action?: IExecuteAction;
|
|
13
|
-
/**
|
|
14
|
-
* A timestamp that informs a Host when the card content has expired, and that it should trigger a refresh as appropriate. The format is ISO-8601 Instant format. E.g., 2022-01-01T12:00:00Z
|
|
15
|
-
*/
|
|
16
|
-
expires?: string;
|
|
17
|
-
/**
|
|
18
|
-
* A list of user Ids informing the client for which users should the refresh action should be run automatically. Some clients will not run the refresh action automatically unless this property is specified. Some clients may ignore this property and always run the refresh action automatically.
|
|
19
|
-
*/
|
|
20
|
-
userIds?: string[];
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export type { Refresh };
|
package/dist/common/refresh.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"refresh.js"}
|
package/dist/common/refresh.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"refresh.mjs"}
|
package/dist/common/spacing.d.ts
DELETED
package/dist/common/spacing.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"spacing.js"}
|
package/dist/common/spacing.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"spacing.mjs"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents an entry for Action.ToggleVisibility's targetElements property
|
|
3
|
-
*/
|
|
4
|
-
type TargetElement = {
|
|
5
|
-
type: 'TargetElement';
|
|
6
|
-
/**
|
|
7
|
-
* Element ID of element to toggle
|
|
8
|
-
*/
|
|
9
|
-
elementId: string;
|
|
10
|
-
/**
|
|
11
|
-
* If `true`, always show target element. If `false`, always hide target element. If not supplied, toggle target element's visibility.
|
|
12
|
-
*/
|
|
13
|
-
isVisible?: boolean | null;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export type { TargetElement };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Represents an entry for Action.ToggleVisibility's targetElements property
|
|
3
|
-
*/
|
|
4
|
-
type TargetElement = {
|
|
5
|
-
type: 'TargetElement';
|
|
6
|
-
/**
|
|
7
|
-
* Element ID of element to toggle
|
|
8
|
-
*/
|
|
9
|
-
elementId: string;
|
|
10
|
-
/**
|
|
11
|
-
* If `true`, always show target element. If `false`, always hide target element. If not supplied, toggle target element's visibility.
|
|
12
|
-
*/
|
|
13
|
-
isVisible?: boolean | null;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export type { TargetElement };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"target-element.js"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"target-element.mjs"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Controls for which card width the element should be displayed.
|
|
3
|
-
* If targetWidth isn't specified, the element is rendered at all card widths.
|
|
4
|
-
* Using targetWidth makes it possible to author responsive cards that adapt
|
|
5
|
-
* their layout to the available horizontal space.
|
|
6
|
-
*/
|
|
7
|
-
type TargetWidth = 'VeryNarrow' | 'Narrow' | 'Standard' | 'Wide' | 'atLeast:VeryNarrow' | 'atMost:VeryNarrow' | 'atLeast:Narrow' | 'atMost:Narrow' | 'atLeast:Standard' | 'atMost:Standard' | 'atLeast:Wide' | 'atMost:Wide';
|
|
8
|
-
|
|
9
|
-
export type { TargetWidth };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Controls for which card width the element should be displayed.
|
|
3
|
-
* If targetWidth isn't specified, the element is rendered at all card widths.
|
|
4
|
-
* Using targetWidth makes it possible to author responsive cards that adapt
|
|
5
|
-
* their layout to the available horizontal space.
|
|
6
|
-
*/
|
|
7
|
-
type TargetWidth = 'VeryNarrow' | 'Narrow' | 'Standard' | 'Wide' | 'atLeast:VeryNarrow' | 'atMost:VeryNarrow' | 'atLeast:Narrow' | 'atMost:Narrow' | 'atLeast:Standard' | 'atMost:Standard' | 'atLeast:Wide' | 'atMost:Wide';
|
|
8
|
-
|
|
9
|
-
export type { TargetWidth };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"target-width.js"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"target-width.mjs"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"vertical-alignment.js"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"vertical-alignment.mjs"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { h as ActionSet, A as ActionSetOptions, g as IActionSet } from '../charts/donut.mjs';
|
|
2
|
-
import '../actions/execute.mjs';
|
|
3
|
-
import '../common/associated-inputs.mjs';
|
|
4
|
-
import '../actions/base.mjs';
|
|
5
|
-
import '../actions/open-url.mjs';
|
|
6
|
-
import '../common/vertical-alignment.mjs';
|
|
7
|
-
import '../common/refresh.mjs';
|
|
8
|
-
import '../common/auth/auth.mjs';
|
|
9
|
-
import '../common/auth/auth-card-button.mjs';
|
|
10
|
-
import '../common/auth/token-exchange-resource.mjs';
|
|
11
|
-
import '../common/horizontal-alignment.mjs';
|
|
12
|
-
import '../common/spacing.mjs';
|
|
13
|
-
import '../common/target-width.mjs';
|
|
14
|
-
import '../charts/color.mjs';
|
|
15
|
-
import '../layouts/index.mjs';
|
|
16
|
-
import '../layouts/area-grid.mjs';
|
|
17
|
-
import '../layouts/flow.mjs';
|
|
18
|
-
import '../layouts/stack.mjs';
|
|
19
|
-
import '../medias/background-image.mjs';
|
|
20
|
-
import '../common/color.mjs';
|
|
21
|
-
import '../common/font.mjs';
|
|
22
|
-
import '../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';
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { h as ActionSet, A as ActionSetOptions, g as IActionSet } from '../charts/donut.js';
|
|
2
|
-
import '../actions/execute.js';
|
|
3
|
-
import '../common/associated-inputs.js';
|
|
4
|
-
import '../actions/base.js';
|
|
5
|
-
import '../actions/open-url.js';
|
|
6
|
-
import '../common/vertical-alignment.js';
|
|
7
|
-
import '../common/refresh.js';
|
|
8
|
-
import '../common/auth/auth.js';
|
|
9
|
-
import '../common/auth/auth-card-button.js';
|
|
10
|
-
import '../common/auth/token-exchange-resource.js';
|
|
11
|
-
import '../common/horizontal-alignment.js';
|
|
12
|
-
import '../common/spacing.js';
|
|
13
|
-
import '../common/target-width.js';
|
|
14
|
-
import '../charts/color.js';
|
|
15
|
-
import '../layouts/index.js';
|
|
16
|
-
import '../layouts/area-grid.js';
|
|
17
|
-
import '../layouts/flow.js';
|
|
18
|
-
import '../layouts/stack.js';
|
|
19
|
-
import '../medias/background-image.js';
|
|
20
|
-
import '../common/color.js';
|
|
21
|
-
import '../common/font.js';
|
|
22
|
-
import '../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';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var base = require('../base');
|
|
4
|
-
|
|
5
|
-
class ActionSet extends base.Element {
|
|
6
|
-
type;
|
|
7
|
-
/**
|
|
8
|
-
* The array of `Action` elements to show.
|
|
9
|
-
*/
|
|
10
|
-
actions;
|
|
11
|
-
constructor(...actions) {
|
|
12
|
-
super();
|
|
13
|
-
this.type = "ActionSet";
|
|
14
|
-
this.actions = actions;
|
|
15
|
-
}
|
|
16
|
-
withOptions(value) {
|
|
17
|
-
Object.assign(this, value);
|
|
18
|
-
return this;
|
|
19
|
-
}
|
|
20
|
-
addActions(...value) {
|
|
21
|
-
this.actions.push(...value);
|
|
22
|
-
return this;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
exports.ActionSet = ActionSet;
|
|
27
|
-
//# sourceMappingURL=action-set.js.map
|
|
28
|
-
//# sourceMappingURL=action-set.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/containers/action-set.ts"],"names":["Element"],"mappings":";;;;AAoBO,MAAM,kBAAkBA,YAA8B,CAAA;AAAA,EAC3D,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA,EAEA,eAAe,OAAmB,EAAA;AAChC,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,WAAA;AACZ,IAAA,IAAA,CAAK,OAAU,GAAA,OAAA;AAAA;AACjB,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAiB,EAAA;AAC7B,IAAK,IAAA,CAAA,OAAA,CAAQ,IAAK,CAAA,GAAG,KAAK,CAAA;AAC1B,IAAO,OAAA,IAAA;AAAA;AAEX","file":"action-set.js","sourcesContent":["import { Action } from '../actions';\nimport { Element, IElement } from '../base';\n\n/**\n * Displays a set of actions.\n */\nexport interface IActionSet extends IElement {\n type: 'ActionSet';\n\n /**\n * The array of `Action` elements to show.\n */\n actions: Action[];\n}\n\nexport type ActionSetOptions = Omit<IActionSet, 'type' | 'actions'>;\n\n/**\n * Displays a set of actions.\n */\nexport class ActionSet extends Element implements IActionSet {\n type: 'ActionSet';\n\n /**\n * The array of `Action` elements to show.\n */\n actions: Action[];\n\n constructor(...actions: Action[]) {\n super();\n this.type = 'ActionSet';\n this.actions = actions;\n }\n\n withOptions(value: ActionSetOptions) {\n Object.assign(this, value);\n return this;\n }\n\n addActions(...value: Action[]) {\n this.actions.push(...value);\n return this;\n }\n}\n"]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Element } from '../base';
|
|
2
|
-
|
|
3
|
-
class ActionSet extends Element {
|
|
4
|
-
type;
|
|
5
|
-
/**
|
|
6
|
-
* The array of `Action` elements to show.
|
|
7
|
-
*/
|
|
8
|
-
actions;
|
|
9
|
-
constructor(...actions) {
|
|
10
|
-
super();
|
|
11
|
-
this.type = "ActionSet";
|
|
12
|
-
this.actions = actions;
|
|
13
|
-
}
|
|
14
|
-
withOptions(value) {
|
|
15
|
-
Object.assign(this, value);
|
|
16
|
-
return this;
|
|
17
|
-
}
|
|
18
|
-
addActions(...value) {
|
|
19
|
-
this.actions.push(...value);
|
|
20
|
-
return this;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export { ActionSet };
|
|
25
|
-
//# sourceMappingURL=action-set.mjs.map
|
|
26
|
-
//# sourceMappingURL=action-set.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/containers/action-set.ts"],"names":[],"mappings":";;AAoBO,MAAM,kBAAkB,OAA8B,CAAA;AAAA,EAC3D,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA,EAEA,eAAe,OAAmB,EAAA;AAChC,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,WAAA;AACZ,IAAA,IAAA,CAAK,OAAU,GAAA,OAAA;AAAA;AACjB,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAiB,EAAA;AAC7B,IAAK,IAAA,CAAA,OAAA,CAAQ,IAAK,CAAA,GAAG,KAAK,CAAA;AAC1B,IAAO,OAAA,IAAA;AAAA;AAEX","file":"action-set.mjs","sourcesContent":["import { Action } from '../actions';\nimport { Element, IElement } from '../base';\n\n/**\n * Displays a set of actions.\n */\nexport interface IActionSet extends IElement {\n type: 'ActionSet';\n\n /**\n * The array of `Action` elements to show.\n */\n actions: Action[];\n}\n\nexport type ActionSetOptions = Omit<IActionSet, 'type' | 'actions'>;\n\n/**\n * Displays a set of actions.\n */\nexport class ActionSet extends Element implements IActionSet {\n type: 'ActionSet';\n\n /**\n * The array of `Action` elements to show.\n */\n actions: Action[];\n\n constructor(...actions: Action[]) {\n super();\n this.type = 'ActionSet';\n this.actions = actions;\n }\n\n withOptions(value: ActionSetOptions) {\n Object.assign(this, value);\n return this;\n }\n\n addActions(...value: Action[]) {\n this.actions.push(...value);\n return this;\n }\n}\n"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { $ as ContainerElement, _ as IContainerElement } from '../charts/donut.mjs';
|
|
2
|
-
import '../layouts/index.mjs';
|
|
3
|
-
import '../medias/background-image.mjs';
|
|
4
|
-
import '../actions/execute.mjs';
|
|
5
|
-
import '../common/associated-inputs.mjs';
|
|
6
|
-
import '../actions/base.mjs';
|
|
7
|
-
import '../actions/open-url.mjs';
|
|
8
|
-
import '../common/vertical-alignment.mjs';
|
|
9
|
-
import '../common/refresh.mjs';
|
|
10
|
-
import '../common/auth/auth.mjs';
|
|
11
|
-
import '../common/auth/auth-card-button.mjs';
|
|
12
|
-
import '../common/auth/token-exchange-resource.mjs';
|
|
13
|
-
import '../common/horizontal-alignment.mjs';
|
|
14
|
-
import '../common/spacing.mjs';
|
|
15
|
-
import '../common/target-width.mjs';
|
|
16
|
-
import '../charts/color.mjs';
|
|
17
|
-
import '../common/color.mjs';
|
|
18
|
-
import '../common/font.mjs';
|
|
19
|
-
import '../actions/submit/submit.mjs';
|
|
20
|
-
import '../actions/submit/im-back.mjs';
|
|
21
|
-
import '../actions/submit/invoke.mjs';
|
|
22
|
-
import '../actions/submit/message-back.mjs';
|
|
23
|
-
import '../actions/submit/sign-in.mjs';
|
|
24
|
-
import '../actions/submit/task-fetch.mjs';
|
|
25
|
-
import '../actions/submit/collab-stage.mjs';
|
|
26
|
-
import '../common/tab-info.mjs';
|
|
27
|
-
import '../actions/toggle-visibility.mjs';
|
|
28
|
-
import '../common/target-element.mjs';
|
|
29
|
-
import '../layouts/flow.mjs';
|
|
30
|
-
import '../layouts/area-grid.mjs';
|
|
31
|
-
import '../layouts/stack.mjs';
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { $ as ContainerElement, _ as IContainerElement } from '../charts/donut.js';
|
|
2
|
-
import '../layouts/index.js';
|
|
3
|
-
import '../medias/background-image.js';
|
|
4
|
-
import '../actions/execute.js';
|
|
5
|
-
import '../common/associated-inputs.js';
|
|
6
|
-
import '../actions/base.js';
|
|
7
|
-
import '../actions/open-url.js';
|
|
8
|
-
import '../common/vertical-alignment.js';
|
|
9
|
-
import '../common/refresh.js';
|
|
10
|
-
import '../common/auth/auth.js';
|
|
11
|
-
import '../common/auth/auth-card-button.js';
|
|
12
|
-
import '../common/auth/token-exchange-resource.js';
|
|
13
|
-
import '../common/horizontal-alignment.js';
|
|
14
|
-
import '../common/spacing.js';
|
|
15
|
-
import '../common/target-width.js';
|
|
16
|
-
import '../charts/color.js';
|
|
17
|
-
import '../common/color.js';
|
|
18
|
-
import '../common/font.js';
|
|
19
|
-
import '../actions/submit/submit.js';
|
|
20
|
-
import '../actions/submit/im-back.js';
|
|
21
|
-
import '../actions/submit/invoke.js';
|
|
22
|
-
import '../actions/submit/message-back.js';
|
|
23
|
-
import '../actions/submit/sign-in.js';
|
|
24
|
-
import '../actions/submit/task-fetch.js';
|
|
25
|
-
import '../actions/submit/collab-stage.js';
|
|
26
|
-
import '../common/tab-info.js';
|
|
27
|
-
import '../actions/toggle-visibility.js';
|
|
28
|
-
import '../common/target-element.js';
|
|
29
|
-
import '../layouts/flow.js';
|
|
30
|
-
import '../layouts/area-grid.js';
|
|
31
|
-
import '../layouts/stack.js';
|
package/dist/containers/base.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var base = require('../base');
|
|
4
|
-
|
|
5
|
-
class ContainerElement extends base.Element {
|
|
6
|
-
/**
|
|
7
|
-
* The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.
|
|
8
|
-
*/
|
|
9
|
-
layouts;
|
|
10
|
-
/**
|
|
11
|
-
* Specifies the background image. Acceptable formats are PNG, JPEG, and GIF
|
|
12
|
-
*/
|
|
13
|
-
backgroundImage;
|
|
14
|
-
/**
|
|
15
|
-
* Determines whether the column should bleed through its parent's padding.
|
|
16
|
-
*/
|
|
17
|
-
bleed;
|
|
18
|
-
/**
|
|
19
|
-
* Controls if the container should have rounded corners.
|
|
20
|
-
* @default false
|
|
21
|
-
*/
|
|
22
|
-
roundedCorners;
|
|
23
|
-
/**
|
|
24
|
-
* When `true` content in this container should be presented right to left. When 'false' content in this container should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.
|
|
25
|
-
*/
|
|
26
|
-
rtl;
|
|
27
|
-
/**
|
|
28
|
-
* Controls if a border should be displayed around the container.
|
|
29
|
-
* @default false
|
|
30
|
-
*/
|
|
31
|
-
showBorder;
|
|
32
|
-
/**
|
|
33
|
-
* An Action that will be invoked when the `Container` is tapped or selected. `Action.ShowCard` is not supported.
|
|
34
|
-
*/
|
|
35
|
-
selectAction;
|
|
36
|
-
withLayouts(...value) {
|
|
37
|
-
this.layouts = value;
|
|
38
|
-
return this;
|
|
39
|
-
}
|
|
40
|
-
withBackgroundImage(value) {
|
|
41
|
-
this.backgroundImage = value;
|
|
42
|
-
return this;
|
|
43
|
-
}
|
|
44
|
-
withBleed(value = true) {
|
|
45
|
-
this.bleed = value;
|
|
46
|
-
return this;
|
|
47
|
-
}
|
|
48
|
-
withRoundedCorners(value = true) {
|
|
49
|
-
this.roundedCorners = value;
|
|
50
|
-
return this;
|
|
51
|
-
}
|
|
52
|
-
withRtl(value = true) {
|
|
53
|
-
this.rtl = value;
|
|
54
|
-
return this;
|
|
55
|
-
}
|
|
56
|
-
withShowBorder(value = true) {
|
|
57
|
-
this.showBorder = value;
|
|
58
|
-
return this;
|
|
59
|
-
}
|
|
60
|
-
withSelectAction(value) {
|
|
61
|
-
this.selectAction = value;
|
|
62
|
-
return this;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
exports.ContainerElement = ContainerElement;
|
|
67
|
-
//# sourceMappingURL=base.js.map
|
|
68
|
-
//# sourceMappingURL=base.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/containers/base.ts"],"names":["Element"],"mappings":";;;;AA4CO,MAAM,yBAAyBA,YAAqC,CAAA;AAAA;AAAA;AAAA;AAAA,EAIzE,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,eAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,cAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,UAAA;AAAA;AAAA;AAAA;AAAA,EAKA,YAAA;AAAA,EAEA,eAAe,KAAiB,EAAA;AAC9B,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,oBAAoB,KAAkC,EAAA;AACpD,IAAA,IAAA,CAAK,eAAkB,GAAA,KAAA;AACvB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAA,CAAU,QAAQ,IAAM,EAAA;AACtB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,kBAAA,CAAmB,QAAQ,IAAM,EAAA;AAC/B,IAAA,IAAA,CAAK,cAAiB,GAAA,KAAA;AACtB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,OAAA,CAAQ,QAAQ,IAAM,EAAA;AACpB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAA,CAAe,QAAQ,IAAM,EAAA;AAC3B,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,iBAAiB,KAAqB,EAAA;AACpC,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"base.js","sourcesContent":["import { SelectAction } from '../actions';\nimport { IElement, Element } from '../base';\nimport { Layout } from '../layouts';\nimport { IBackgroundImage } from '../medias';\n\nexport interface IContainerElement extends IElement {\n /**\n * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.\n */\n layouts?: Array<Layout>;\n\n /**\n * Specifies the background image. Acceptable formats are PNG, JPEG, and GIF\n */\n backgroundImage?: IBackgroundImage | string;\n\n /**\n * Determines whether the column should bleed through its parent's padding.\n */\n bleed?: boolean;\n\n /**\n * Controls if the container should have rounded corners.\n * @default false\n */\n roundedCorners?: boolean;\n\n /**\n * When `true` content in this container should be presented right to left. When 'false' content in this container should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.\n */\n rtl?: boolean | null;\n\n /**\n * Controls if a border should be displayed around the container.\n * @default false\n */\n showBorder?: boolean;\n\n /**\n * An Action that will be invoked when the `Container` is tapped or selected. `Action.ShowCard` is not supported.\n */\n selectAction?: SelectAction;\n}\n\nexport class ContainerElement extends Element implements IContainerElement {\n /**\n * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.\n */\n layouts?: Array<Layout>;\n\n /**\n * Specifies the background image. Acceptable formats are PNG, JPEG, and GIF\n */\n backgroundImage?: IBackgroundImage | string;\n\n /**\n * Determines whether the column should bleed through its parent's padding.\n */\n bleed?: boolean;\n\n /**\n * Controls if the container should have rounded corners.\n * @default false\n */\n roundedCorners?: boolean;\n\n /**\n * When `true` content in this container should be presented right to left. When 'false' content in this container should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.\n */\n rtl?: boolean | null;\n\n /**\n * Controls if a border should be displayed around the container.\n * @default false\n */\n showBorder?: boolean;\n\n /**\n * An Action that will be invoked when the `Container` is tapped or selected. `Action.ShowCard` is not supported.\n */\n selectAction?: SelectAction;\n\n withLayouts(...value: Layout[]) {\n this.layouts = value;\n return this;\n }\n\n withBackgroundImage(value: IBackgroundImage | string) {\n this.backgroundImage = value;\n return this;\n }\n\n withBleed(value = true) {\n this.bleed = value;\n return this;\n }\n\n withRoundedCorners(value = true) {\n this.roundedCorners = value;\n return this;\n }\n\n withRtl(value = true) {\n this.rtl = value;\n return this;\n }\n\n withShowBorder(value = true) {\n this.showBorder = value;\n return this;\n }\n\n withSelectAction(value: SelectAction) {\n this.selectAction = value;\n return this;\n }\n}\n"]}
|
package/dist/containers/base.mjs
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { Element } from '../base';
|
|
2
|
-
|
|
3
|
-
class ContainerElement extends Element {
|
|
4
|
-
/**
|
|
5
|
-
* The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.
|
|
6
|
-
*/
|
|
7
|
-
layouts;
|
|
8
|
-
/**
|
|
9
|
-
* Specifies the background image. Acceptable formats are PNG, JPEG, and GIF
|
|
10
|
-
*/
|
|
11
|
-
backgroundImage;
|
|
12
|
-
/**
|
|
13
|
-
* Determines whether the column should bleed through its parent's padding.
|
|
14
|
-
*/
|
|
15
|
-
bleed;
|
|
16
|
-
/**
|
|
17
|
-
* Controls if the container should have rounded corners.
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
|
-
roundedCorners;
|
|
21
|
-
/**
|
|
22
|
-
* When `true` content in this container should be presented right to left. When 'false' content in this container should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.
|
|
23
|
-
*/
|
|
24
|
-
rtl;
|
|
25
|
-
/**
|
|
26
|
-
* Controls if a border should be displayed around the container.
|
|
27
|
-
* @default false
|
|
28
|
-
*/
|
|
29
|
-
showBorder;
|
|
30
|
-
/**
|
|
31
|
-
* An Action that will be invoked when the `Container` is tapped or selected. `Action.ShowCard` is not supported.
|
|
32
|
-
*/
|
|
33
|
-
selectAction;
|
|
34
|
-
withLayouts(...value) {
|
|
35
|
-
this.layouts = value;
|
|
36
|
-
return this;
|
|
37
|
-
}
|
|
38
|
-
withBackgroundImage(value) {
|
|
39
|
-
this.backgroundImage = value;
|
|
40
|
-
return this;
|
|
41
|
-
}
|
|
42
|
-
withBleed(value = true) {
|
|
43
|
-
this.bleed = value;
|
|
44
|
-
return this;
|
|
45
|
-
}
|
|
46
|
-
withRoundedCorners(value = true) {
|
|
47
|
-
this.roundedCorners = value;
|
|
48
|
-
return this;
|
|
49
|
-
}
|
|
50
|
-
withRtl(value = true) {
|
|
51
|
-
this.rtl = value;
|
|
52
|
-
return this;
|
|
53
|
-
}
|
|
54
|
-
withShowBorder(value = true) {
|
|
55
|
-
this.showBorder = value;
|
|
56
|
-
return this;
|
|
57
|
-
}
|
|
58
|
-
withSelectAction(value) {
|
|
59
|
-
this.selectAction = value;
|
|
60
|
-
return this;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export { ContainerElement };
|
|
65
|
-
//# sourceMappingURL=base.mjs.map
|
|
66
|
-
//# sourceMappingURL=base.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/containers/base.ts"],"names":[],"mappings":";;AA4CO,MAAM,yBAAyB,OAAqC,CAAA;AAAA;AAAA;AAAA;AAAA,EAIzE,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,eAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,cAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,UAAA;AAAA;AAAA;AAAA;AAAA,EAKA,YAAA;AAAA,EAEA,eAAe,KAAiB,EAAA;AAC9B,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,oBAAoB,KAAkC,EAAA;AACpD,IAAA,IAAA,CAAK,eAAkB,GAAA,KAAA;AACvB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAA,CAAU,QAAQ,IAAM,EAAA;AACtB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,kBAAA,CAAmB,QAAQ,IAAM,EAAA;AAC/B,IAAA,IAAA,CAAK,cAAiB,GAAA,KAAA;AACtB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,OAAA,CAAQ,QAAQ,IAAM,EAAA;AACpB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAA,CAAe,QAAQ,IAAM,EAAA;AAC3B,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,iBAAiB,KAAqB,EAAA;AACpC,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"base.mjs","sourcesContent":["import { SelectAction } from '../actions';\nimport { IElement, Element } from '../base';\nimport { Layout } from '../layouts';\nimport { IBackgroundImage } from '../medias';\n\nexport interface IContainerElement extends IElement {\n /**\n * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.\n */\n layouts?: Array<Layout>;\n\n /**\n * Specifies the background image. Acceptable formats are PNG, JPEG, and GIF\n */\n backgroundImage?: IBackgroundImage | string;\n\n /**\n * Determines whether the column should bleed through its parent's padding.\n */\n bleed?: boolean;\n\n /**\n * Controls if the container should have rounded corners.\n * @default false\n */\n roundedCorners?: boolean;\n\n /**\n * When `true` content in this container should be presented right to left. When 'false' content in this container should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.\n */\n rtl?: boolean | null;\n\n /**\n * Controls if a border should be displayed around the container.\n * @default false\n */\n showBorder?: boolean;\n\n /**\n * An Action that will be invoked when the `Container` is tapped or selected. `Action.ShowCard` is not supported.\n */\n selectAction?: SelectAction;\n}\n\nexport class ContainerElement extends Element implements IContainerElement {\n /**\n * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.\n */\n layouts?: Array<Layout>;\n\n /**\n * Specifies the background image. Acceptable formats are PNG, JPEG, and GIF\n */\n backgroundImage?: IBackgroundImage | string;\n\n /**\n * Determines whether the column should bleed through its parent's padding.\n */\n bleed?: boolean;\n\n /**\n * Controls if the container should have rounded corners.\n * @default false\n */\n roundedCorners?: boolean;\n\n /**\n * When `true` content in this container should be presented right to left. When 'false' content in this container should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.\n */\n rtl?: boolean | null;\n\n /**\n * Controls if a border should be displayed around the container.\n * @default false\n */\n showBorder?: boolean;\n\n /**\n * An Action that will be invoked when the `Container` is tapped or selected. `Action.ShowCard` is not supported.\n */\n selectAction?: SelectAction;\n\n withLayouts(...value: Layout[]) {\n this.layouts = value;\n return this;\n }\n\n withBackgroundImage(value: IBackgroundImage | string) {\n this.backgroundImage = value;\n return this;\n }\n\n withBleed(value = true) {\n this.bleed = value;\n return this;\n }\n\n withRoundedCorners(value = true) {\n this.roundedCorners = value;\n return this;\n }\n\n withRtl(value = true) {\n this.rtl = value;\n return this;\n }\n\n withShowBorder(value = true) {\n this.showBorder = value;\n return this;\n }\n\n withSelectAction(value: SelectAction) {\n this.selectAction = value;\n return this;\n }\n}\n"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { a6 as Carousel, a5 as CarouselOptions, a9 as CarouselPage, a8 as CarouselPageOptions, a4 as ICarousel, a7 as ICarouselPage } from '../charts/donut.mjs';
|
|
2
|
-
import '../common/vertical-alignment.mjs';
|
|
3
|
-
import '../layouts/index.mjs';
|
|
4
|
-
import '../medias/background-image.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/refresh.mjs';
|
|
10
|
-
import '../common/auth/auth.mjs';
|
|
11
|
-
import '../common/auth/auth-card-button.mjs';
|
|
12
|
-
import '../common/auth/token-exchange-resource.mjs';
|
|
13
|
-
import '../common/horizontal-alignment.mjs';
|
|
14
|
-
import '../common/spacing.mjs';
|
|
15
|
-
import '../common/target-width.mjs';
|
|
16
|
-
import '../charts/color.mjs';
|
|
17
|
-
import '../common/color.mjs';
|
|
18
|
-
import '../common/font.mjs';
|
|
19
|
-
import '../actions/submit/submit.mjs';
|
|
20
|
-
import '../actions/submit/im-back.mjs';
|
|
21
|
-
import '../actions/submit/invoke.mjs';
|
|
22
|
-
import '../actions/submit/message-back.mjs';
|
|
23
|
-
import '../actions/submit/sign-in.mjs';
|
|
24
|
-
import '../actions/submit/task-fetch.mjs';
|
|
25
|
-
import '../actions/submit/collab-stage.mjs';
|
|
26
|
-
import '../common/tab-info.mjs';
|
|
27
|
-
import '../actions/toggle-visibility.mjs';
|
|
28
|
-
import '../common/target-element.mjs';
|
|
29
|
-
import '../layouts/flow.mjs';
|
|
30
|
-
import '../layouts/area-grid.mjs';
|
|
31
|
-
import '../layouts/stack.mjs';
|