@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,44 +0,0 @@
|
|
|
1
|
-
import { Element } from '../base';
|
|
2
|
-
|
|
3
|
-
class ImageSet extends Element {
|
|
4
|
-
type;
|
|
5
|
-
/**
|
|
6
|
-
* Controls how the images are displayed.
|
|
7
|
-
*/
|
|
8
|
-
style;
|
|
9
|
-
/**
|
|
10
|
-
* Controls the approximate size of each image. The physical dimensions will vary per host.
|
|
11
|
-
* Auto and stretch are not supported for `ImageSet`. The size will default to medium if
|
|
12
|
-
* those values are set.
|
|
13
|
-
*/
|
|
14
|
-
imageSize;
|
|
15
|
-
/**
|
|
16
|
-
* The array of `Image`'s to show.
|
|
17
|
-
*/
|
|
18
|
-
images;
|
|
19
|
-
constructor(...images) {
|
|
20
|
-
super();
|
|
21
|
-
this.type = "ImageSet";
|
|
22
|
-
this.images = images;
|
|
23
|
-
}
|
|
24
|
-
withOptions(value) {
|
|
25
|
-
Object.assign(this, value);
|
|
26
|
-
return this;
|
|
27
|
-
}
|
|
28
|
-
withStyle(value) {
|
|
29
|
-
this.style = value;
|
|
30
|
-
return this;
|
|
31
|
-
}
|
|
32
|
-
withImageSize(value) {
|
|
33
|
-
this.imageSize = value;
|
|
34
|
-
return this;
|
|
35
|
-
}
|
|
36
|
-
addImages(...value) {
|
|
37
|
-
this.images.push(...value);
|
|
38
|
-
return this;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export { ImageSet };
|
|
43
|
-
//# sourceMappingURL=image-set.mjs.map
|
|
44
|
-
//# sourceMappingURL=image-set.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/containers/image-set.ts"],"names":[],"mappings":";;AAgCO,MAAM,iBAAiB,OAA6B,CAAA;AAAA,EACzD,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,SAAA;AAAA;AAAA;AAAA;AAAA,EAKA,MAAA;AAAA,EAEA,eAAe,MAAkB,EAAA;AAC/B,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,UAAA;AACZ,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,YAAY,KAAwB,EAAA;AAClC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAuC,EAAA;AAC/C,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAA+C,EAAA;AAC3D,IAAA,IAAA,CAAK,SAAY,GAAA,KAAA;AACjB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAa,KAAiB,EAAA;AAC5B,IAAK,IAAA,CAAA,MAAA,CAAO,IAAK,CAAA,GAAG,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"image-set.mjs","sourcesContent":["import { IElement, Element } from '../base';\nimport { IImage, ImageSize } from '../medias';\n\n/**\n * The `ImageSet` element displays a collection of `Image`'s similar to a gallery. Acceptable formats are `PNG`, `JPEG`, and `GIF`.\n */\nexport interface IImageSet extends IElement {\n type: 'ImageSet';\n\n /**\n * Controls how the images are displayed.\n */\n style?: 'default' | 'stacked' | 'grid';\n\n /**\n * Controls the approximate size of each image. The physical dimensions will vary per host.\n * Auto and stretch are not supported for `ImageSet`. The size will default to medium if\n * those values are set.\n */\n imageSize?: Exclude<ImageSize, 'auto' | 'stretch'>;\n\n /**\n * The array of `Image`'s to show.\n */\n images: IImage[];\n}\n\nexport type ImageSetOptions = Omit<IImageSet, 'type' | 'images'>;\n\n/**\n * The `ImageSet` element displays a collection of `Image`'s similar to a gallery. Acceptable formats are `PNG`, `JPEG`, and `GIF`.\n */\nexport class ImageSet extends Element implements IImageSet {\n type: 'ImageSet';\n\n /**\n * Controls how the images are displayed.\n */\n style?: 'default' | 'stacked' | 'grid';\n\n /**\n * Controls the approximate size of each image. The physical dimensions will vary per host.\n * Auto and stretch are not supported for `ImageSet`. The size will default to medium if\n * those values are set.\n */\n imageSize?: Exclude<ImageSize, 'auto' | 'stretch'>;\n\n /**\n * The array of `Image`'s to show.\n */\n images: IImage[];\n\n constructor(...images: IImage[]) {\n super();\n this.type = 'ImageSet';\n this.images = images;\n }\n\n withOptions(value: ImageSetOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withStyle(value: 'default' | 'stacked' | 'grid') {\n this.style = value;\n return this;\n }\n\n withImageSize(value: Exclude<ImageSize, 'auto' | 'stretch'>) {\n this.imageSize = value;\n return this;\n }\n\n addImages(...value: IImage[]) {\n this.images.push(...value);\n return this;\n }\n}\n"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { h as ActionSet, A as ActionSetOptions, a6 as Carousel, a5 as CarouselOptions, a9 as CarouselPage, a8 as CarouselPageOptions, ac as Column, ab as ColumnOptions, af as ColumnSet, ae as ColumnSetOptions, a3 as Container, ao as ContainerElement, a2 as ContainerOptions, a0 as ContainerStyle, ak as Fact, ai as FactSet, ah as FactSetOptions, g as IActionSet, a4 as ICarousel, a7 as ICarouselPage, aa as IColumn, ad as IColumnSet, a1 as IContainer, aj as IFact, ag as IFactSet, al as IImageSet, an as ImageSet, am as ImageSetOptions } 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, a6 as Carousel, a5 as CarouselOptions, a9 as CarouselPage, a8 as CarouselPageOptions, ac as Column, ab as ColumnOptions, af as ColumnSet, ae as ColumnSetOptions, a3 as Container, ao as ContainerElement, a2 as ContainerOptions, a0 as ContainerStyle, ak as Fact, ai as FactSet, ah as FactSetOptions, g as IActionSet, a4 as ICarousel, a7 as ICarouselPage, aa as IColumn, ad as IColumnSet, a1 as IContainer, aj as IFact, ag as IFactSet, al as IImageSet, an as ImageSet, am as ImageSetOptions } 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';
|
package/dist/containers/index.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var actionSet = require('./action-set');
|
|
4
|
-
var column = require('./column');
|
|
5
|
-
var columnSet = require('./column-set');
|
|
6
|
-
var container = require('./container');
|
|
7
|
-
var factSet = require('./fact-set');
|
|
8
|
-
var imageSet = require('./image-set');
|
|
9
|
-
var carousel = require('./carousel');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Object.keys(actionSet).forEach(function (k) {
|
|
14
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () { return actionSet[k]; }
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
Object.keys(column).forEach(function (k) {
|
|
20
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () { return column[k]; }
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
Object.keys(columnSet).forEach(function (k) {
|
|
26
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function () { return columnSet[k]; }
|
|
29
|
-
});
|
|
30
|
-
});
|
|
31
|
-
Object.keys(container).forEach(function (k) {
|
|
32
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function () { return container[k]; }
|
|
35
|
-
});
|
|
36
|
-
});
|
|
37
|
-
Object.keys(factSet).forEach(function (k) {
|
|
38
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
39
|
-
enumerable: true,
|
|
40
|
-
get: function () { return factSet[k]; }
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
Object.keys(imageSet).forEach(function (k) {
|
|
44
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
45
|
-
enumerable: true,
|
|
46
|
-
get: function () { return imageSet[k]; }
|
|
47
|
-
});
|
|
48
|
-
});
|
|
49
|
-
Object.keys(carousel).forEach(function (k) {
|
|
50
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
51
|
-
enumerable: true,
|
|
52
|
-
get: function () { return carousel[k]; }
|
|
53
|
-
});
|
|
54
|
-
});
|
|
55
|
-
//# sourceMappingURL=index.js.map
|
|
56
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './action-set';
|
|
2
|
-
export * from './column';
|
|
3
|
-
export * from './column-set';
|
|
4
|
-
export * from './container';
|
|
5
|
-
export * from './fact-set';
|
|
6
|
-
export * from './image-set';
|
|
7
|
-
export * from './carousel';
|
|
8
|
-
//# sourceMappingURL=index.mjs.map
|
|
9
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs","sourcesContent":[]}
|
package/dist/element.d.mts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { aT as Element } 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';
|
package/dist/element.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { aT as Element } 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';
|
package/dist/element.js
DELETED
package/dist/element.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"element.js"}
|
package/dist/element.mjs
DELETED
package/dist/element.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"element.mjs"}
|
package/dist/inputs/base.d.mts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { ar as IInputElement, as as InputElement, ap as InputLabelPosition, aq as InputStyle } 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';
|
package/dist/inputs/base.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { ar as IInputElement, as as InputElement, ap as InputLabelPosition, aq as InputStyle } 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';
|
package/dist/inputs/base.js
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var base = require('../base');
|
|
4
|
-
|
|
5
|
-
class InputElement extends base.Element {
|
|
6
|
-
/**
|
|
7
|
-
* Error message to display when entered input is invalid
|
|
8
|
-
*/
|
|
9
|
-
errorMessage;
|
|
10
|
-
/**
|
|
11
|
-
* Whether or not this input is required
|
|
12
|
-
*/
|
|
13
|
-
isRequired;
|
|
14
|
-
/**
|
|
15
|
-
* Label for this input
|
|
16
|
-
*/
|
|
17
|
-
label;
|
|
18
|
-
/**
|
|
19
|
-
* [SUPPORTED ONLY IN JAVASCRIPT SDK] Determines the position of the label. It can take 'inline' and 'above' values. By default, the label is placed 'above' when label position is not specified.
|
|
20
|
-
*/
|
|
21
|
-
labelPosition;
|
|
22
|
-
/**
|
|
23
|
-
* [SUPPORTED ONLY IN JAVASCRIPT SDK] Determines the width of the label in percent like 40 or a specific pixel width like ‘40px’ when label is placed inline with the input. labelWidth would be ignored when the label is displayed above the input.
|
|
24
|
-
*/
|
|
25
|
-
labelWidth;
|
|
26
|
-
/**
|
|
27
|
-
* [SUPPORTED ONLY IN JAVASCRIPT SDK] Style hint for input fields. Allows input fields to appear as read-only but when user clicks/focuses on the field, it allows them to update those fields.
|
|
28
|
-
*/
|
|
29
|
-
inputStyle;
|
|
30
|
-
constructor(options = {}) {
|
|
31
|
-
super(options);
|
|
32
|
-
}
|
|
33
|
-
withError(value) {
|
|
34
|
-
this.errorMessage = value;
|
|
35
|
-
return this;
|
|
36
|
-
}
|
|
37
|
-
withRequired(value = true) {
|
|
38
|
-
this.isRequired = value;
|
|
39
|
-
return this;
|
|
40
|
-
}
|
|
41
|
-
withLabel(value, position, width) {
|
|
42
|
-
this.label = value;
|
|
43
|
-
this.labelPosition = position;
|
|
44
|
-
this.labelWidth = width;
|
|
45
|
-
return this;
|
|
46
|
-
}
|
|
47
|
-
withLabelPosition(value) {
|
|
48
|
-
this.labelPosition = value;
|
|
49
|
-
return this;
|
|
50
|
-
}
|
|
51
|
-
withLabelWidth(value) {
|
|
52
|
-
this.labelWidth = value;
|
|
53
|
-
return this;
|
|
54
|
-
}
|
|
55
|
-
withInputStyle(value) {
|
|
56
|
-
this.inputStyle = value;
|
|
57
|
-
return this;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
exports.InputElement = InputElement;
|
|
62
|
-
//# sourceMappingURL=base.js.map
|
|
63
|
-
//# sourceMappingURL=base.js.map
|
package/dist/inputs/base.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/inputs/base.ts"],"names":["Element"],"mappings":";;;;AA4CO,MAAM,qBAAqBA,YAAiC,CAAA;AAAA;AAAA;AAAA;AAAA,EAIjE,YAAA;AAAA;AAAA;AAAA;AAAA,EAKA,UAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,aAAA;AAAA;AAAA;AAAA;AAAA,EAKA,UAAA;AAAA;AAAA;AAAA;AAAA,EAKA,UAAA;AAAA,EAEA,WAAA,CAAY,OAAkC,GAAA,EAAI,EAAA;AAChD,IAAA,KAAA,CAAM,OAAO,CAAA;AAAA;AACf,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAA,CAAa,QAAQ,IAAM,EAAA;AACzB,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAA,CAAU,KAAe,EAAA,QAAA,EAA+B,KAAyB,EAAA;AAC/E,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAA,IAAA,CAAK,aAAgB,GAAA,QAAA;AACrB,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,kBAAkB,KAA2B,EAAA;AAC3C,IAAA,IAAA,CAAK,aAAgB,GAAA,KAAA;AACrB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,eAAe,KAAwB,EAAA;AACrC,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,eAAe,KAAmB,EAAA;AAChC,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"base.js","sourcesContent":["import { IElement, Element } from '../base';\n\n/**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Determines the position of the label. It can take 'inline' and 'above' values. By default, the label is placed 'above' when label position is not specified.\n */\nexport type InputLabelPosition = 'inline' | 'above';\n\n/**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Style hint for input fields. Allows input fields to appear as read-only but when user clicks/focuses on the field, it allows them to update those fields.\n */\nexport type InputStyle = 'revealOnHover' | 'default';\n\nexport interface IInputElement extends IElement {\n /**\n * Error message to display when entered input is invalid\n */\n errorMessage?: string;\n\n /**\n * Whether or not this input is required\n */\n isRequired?: boolean;\n\n /**\n * Label for this input\n */\n label?: string;\n\n /**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Determines the position of the label. It can take 'inline' and 'above' values. By default, the label is placed 'above' when label position is not specified.\n */\n labelPosition?: InputLabelPosition;\n\n /**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Determines the width of the label in percent like 40 or a specific pixel width like ‘40px’ when label is placed inline with the input. labelWidth would be ignored when the label is displayed above the input.\n */\n labelWidth?: string | number;\n\n /**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Style hint for input fields. Allows input fields to appear as read-only but when user clicks/focuses on the field, it allows them to update those fields.\n */\n inputStyle?: InputStyle;\n}\n\nexport class InputElement extends Element implements IInputElement {\n /**\n * Error message to display when entered input is invalid\n */\n errorMessage?: string;\n\n /**\n * Whether or not this input is required\n */\n isRequired?: boolean;\n\n /**\n * Label for this input\n */\n label?: string;\n\n /**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Determines the position of the label. It can take 'inline' and 'above' values. By default, the label is placed 'above' when label position is not specified.\n */\n labelPosition?: InputLabelPosition;\n\n /**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Determines the width of the label in percent like 40 or a specific pixel width like ‘40px’ when label is placed inline with the input. labelWidth would be ignored when the label is displayed above the input.\n */\n labelWidth?: string | number;\n\n /**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Style hint for input fields. Allows input fields to appear as read-only but when user clicks/focuses on the field, it allows them to update those fields.\n */\n inputStyle?: InputStyle;\n\n constructor(options: Partial<IInputElement> = {}) {\n super(options);\n }\n\n withError(value: string) {\n this.errorMessage = value;\n return this;\n }\n\n withRequired(value = true) {\n this.isRequired = value;\n return this;\n }\n\n withLabel(value: string, position?: InputLabelPosition, width?: string | number) {\n this.label = value;\n this.labelPosition = position;\n this.labelWidth = width;\n return this;\n }\n\n withLabelPosition(value: InputLabelPosition) {\n this.labelPosition = value;\n return this;\n }\n\n withLabelWidth(value: string | number) {\n this.labelWidth = value;\n return this;\n }\n\n withInputStyle(value: InputStyle) {\n this.inputStyle = value;\n return this;\n }\n}\n"]}
|
package/dist/inputs/base.mjs
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { Element } from '../base';
|
|
2
|
-
|
|
3
|
-
class InputElement extends Element {
|
|
4
|
-
/**
|
|
5
|
-
* Error message to display when entered input is invalid
|
|
6
|
-
*/
|
|
7
|
-
errorMessage;
|
|
8
|
-
/**
|
|
9
|
-
* Whether or not this input is required
|
|
10
|
-
*/
|
|
11
|
-
isRequired;
|
|
12
|
-
/**
|
|
13
|
-
* Label for this input
|
|
14
|
-
*/
|
|
15
|
-
label;
|
|
16
|
-
/**
|
|
17
|
-
* [SUPPORTED ONLY IN JAVASCRIPT SDK] Determines the position of the label. It can take 'inline' and 'above' values. By default, the label is placed 'above' when label position is not specified.
|
|
18
|
-
*/
|
|
19
|
-
labelPosition;
|
|
20
|
-
/**
|
|
21
|
-
* [SUPPORTED ONLY IN JAVASCRIPT SDK] Determines the width of the label in percent like 40 or a specific pixel width like ‘40px’ when label is placed inline with the input. labelWidth would be ignored when the label is displayed above the input.
|
|
22
|
-
*/
|
|
23
|
-
labelWidth;
|
|
24
|
-
/**
|
|
25
|
-
* [SUPPORTED ONLY IN JAVASCRIPT SDK] Style hint for input fields. Allows input fields to appear as read-only but when user clicks/focuses on the field, it allows them to update those fields.
|
|
26
|
-
*/
|
|
27
|
-
inputStyle;
|
|
28
|
-
constructor(options = {}) {
|
|
29
|
-
super(options);
|
|
30
|
-
}
|
|
31
|
-
withError(value) {
|
|
32
|
-
this.errorMessage = value;
|
|
33
|
-
return this;
|
|
34
|
-
}
|
|
35
|
-
withRequired(value = true) {
|
|
36
|
-
this.isRequired = value;
|
|
37
|
-
return this;
|
|
38
|
-
}
|
|
39
|
-
withLabel(value, position, width) {
|
|
40
|
-
this.label = value;
|
|
41
|
-
this.labelPosition = position;
|
|
42
|
-
this.labelWidth = width;
|
|
43
|
-
return this;
|
|
44
|
-
}
|
|
45
|
-
withLabelPosition(value) {
|
|
46
|
-
this.labelPosition = value;
|
|
47
|
-
return this;
|
|
48
|
-
}
|
|
49
|
-
withLabelWidth(value) {
|
|
50
|
-
this.labelWidth = value;
|
|
51
|
-
return this;
|
|
52
|
-
}
|
|
53
|
-
withInputStyle(value) {
|
|
54
|
-
this.inputStyle = value;
|
|
55
|
-
return this;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export { InputElement };
|
|
60
|
-
//# sourceMappingURL=base.mjs.map
|
|
61
|
-
//# sourceMappingURL=base.mjs.map
|
package/dist/inputs/base.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/inputs/base.ts"],"names":[],"mappings":";;AA4CO,MAAM,qBAAqB,OAAiC,CAAA;AAAA;AAAA;AAAA;AAAA,EAIjE,YAAA;AAAA;AAAA;AAAA;AAAA,EAKA,UAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,aAAA;AAAA;AAAA;AAAA;AAAA,EAKA,UAAA;AAAA;AAAA;AAAA;AAAA,EAKA,UAAA;AAAA,EAEA,WAAA,CAAY,OAAkC,GAAA,EAAI,EAAA;AAChD,IAAA,KAAA,CAAM,OAAO,CAAA;AAAA;AACf,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAA,CAAa,QAAQ,IAAM,EAAA;AACzB,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAA,CAAU,KAAe,EAAA,QAAA,EAA+B,KAAyB,EAAA;AAC/E,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAA,IAAA,CAAK,aAAgB,GAAA,QAAA;AACrB,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,kBAAkB,KAA2B,EAAA;AAC3C,IAAA,IAAA,CAAK,aAAgB,GAAA,KAAA;AACrB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,eAAe,KAAwB,EAAA;AACrC,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,eAAe,KAAmB,EAAA;AAChC,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"base.mjs","sourcesContent":["import { IElement, Element } from '../base';\n\n/**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Determines the position of the label. It can take 'inline' and 'above' values. By default, the label is placed 'above' when label position is not specified.\n */\nexport type InputLabelPosition = 'inline' | 'above';\n\n/**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Style hint for input fields. Allows input fields to appear as read-only but when user clicks/focuses on the field, it allows them to update those fields.\n */\nexport type InputStyle = 'revealOnHover' | 'default';\n\nexport interface IInputElement extends IElement {\n /**\n * Error message to display when entered input is invalid\n */\n errorMessage?: string;\n\n /**\n * Whether or not this input is required\n */\n isRequired?: boolean;\n\n /**\n * Label for this input\n */\n label?: string;\n\n /**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Determines the position of the label. It can take 'inline' and 'above' values. By default, the label is placed 'above' when label position is not specified.\n */\n labelPosition?: InputLabelPosition;\n\n /**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Determines the width of the label in percent like 40 or a specific pixel width like ‘40px’ when label is placed inline with the input. labelWidth would be ignored when the label is displayed above the input.\n */\n labelWidth?: string | number;\n\n /**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Style hint for input fields. Allows input fields to appear as read-only but when user clicks/focuses on the field, it allows them to update those fields.\n */\n inputStyle?: InputStyle;\n}\n\nexport class InputElement extends Element implements IInputElement {\n /**\n * Error message to display when entered input is invalid\n */\n errorMessage?: string;\n\n /**\n * Whether or not this input is required\n */\n isRequired?: boolean;\n\n /**\n * Label for this input\n */\n label?: string;\n\n /**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Determines the position of the label. It can take 'inline' and 'above' values. By default, the label is placed 'above' when label position is not specified.\n */\n labelPosition?: InputLabelPosition;\n\n /**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Determines the width of the label in percent like 40 or a specific pixel width like ‘40px’ when label is placed inline with the input. labelWidth would be ignored when the label is displayed above the input.\n */\n labelWidth?: string | number;\n\n /**\n * [SUPPORTED ONLY IN JAVASCRIPT SDK] Style hint for input fields. Allows input fields to appear as read-only but when user clicks/focuses on the field, it allows them to update those fields.\n */\n inputStyle?: InputStyle;\n\n constructor(options: Partial<IInputElement> = {}) {\n super(options);\n }\n\n withError(value: string) {\n this.errorMessage = value;\n return this;\n }\n\n withRequired(value = true) {\n this.isRequired = value;\n return this;\n }\n\n withLabel(value: string, position?: InputLabelPosition, width?: string | number) {\n this.label = value;\n this.labelPosition = position;\n this.labelWidth = width;\n return this;\n }\n\n withLabelPosition(value: InputLabelPosition) {\n this.labelPosition = value;\n return this;\n }\n\n withLabelWidth(value: string | number) {\n this.labelWidth = value;\n return this;\n }\n\n withInputStyle(value: InputStyle) {\n this.inputStyle = value;\n return this;\n }\n}\n"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { ay as Choice, aB as ChoiceDataQuery, aA as ChoiceDataQueryOptions, at as ChoiceInputStyle, aw as ChoiceSetInput, av as ChoiceSetInputOptions, ax as IChoice, az as IChoiceDataQuery, au as IChoiceSetInput } 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 { ay as Choice, aB as ChoiceDataQuery, aA as ChoiceDataQueryOptions, at as ChoiceInputStyle, aw as ChoiceSetInput, av as ChoiceSetInputOptions, ax as IChoice, az as IChoiceDataQuery, au as IChoiceSetInput } 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';
|