@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,121 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var base = require('./base');
|
|
4
|
-
|
|
5
|
-
class ChoiceSetInput extends base.InputElement {
|
|
6
|
-
type;
|
|
7
|
-
/**
|
|
8
|
-
* Choice options.
|
|
9
|
-
*/
|
|
10
|
-
choices;
|
|
11
|
-
/**
|
|
12
|
-
* Allows dynamic fetching of choices from the bot to be displayed as suggestions in the dropdown when the user types in the input field.
|
|
13
|
-
*/
|
|
14
|
-
"choices.data";
|
|
15
|
-
/**
|
|
16
|
-
* Allow multiple choices to be selected.
|
|
17
|
-
*/
|
|
18
|
-
isMultiSelect;
|
|
19
|
-
/**
|
|
20
|
-
* the style of the choice input
|
|
21
|
-
*/
|
|
22
|
-
style;
|
|
23
|
-
/**
|
|
24
|
-
* The initial choice (or set of choices) that should be selected. For multi-select, specify a comma-separated string of values.
|
|
25
|
-
*/
|
|
26
|
-
value;
|
|
27
|
-
/**
|
|
28
|
-
* Description of the input desired. Only visible when no selection has been made, the `style` is `compact` and `isMultiSelect` is `false`
|
|
29
|
-
*/
|
|
30
|
-
placeholder;
|
|
31
|
-
/**
|
|
32
|
-
* If `true`, allow text to wrap. Otherwise, text is clipped.
|
|
33
|
-
*/
|
|
34
|
-
wrap;
|
|
35
|
-
constructor(...choices) {
|
|
36
|
-
super();
|
|
37
|
-
this.type = "Input.ChoiceSet";
|
|
38
|
-
this.choices = choices;
|
|
39
|
-
}
|
|
40
|
-
withOptions(value) {
|
|
41
|
-
Object.assign(this, value);
|
|
42
|
-
return this;
|
|
43
|
-
}
|
|
44
|
-
withData(value) {
|
|
45
|
-
this["choices.data"] = value;
|
|
46
|
-
return this;
|
|
47
|
-
}
|
|
48
|
-
withMultiSelect(value = true) {
|
|
49
|
-
this.isMultiSelect = value;
|
|
50
|
-
return this;
|
|
51
|
-
}
|
|
52
|
-
withStyle(value) {
|
|
53
|
-
this.style = value;
|
|
54
|
-
return this;
|
|
55
|
-
}
|
|
56
|
-
withValue(value) {
|
|
57
|
-
this.value = value;
|
|
58
|
-
return this;
|
|
59
|
-
}
|
|
60
|
-
withPlaceholder(value) {
|
|
61
|
-
this.placeholder = value;
|
|
62
|
-
return this;
|
|
63
|
-
}
|
|
64
|
-
withWrap(value = true) {
|
|
65
|
-
this.wrap = value;
|
|
66
|
-
return this;
|
|
67
|
-
}
|
|
68
|
-
addChoices(...value) {
|
|
69
|
-
this.choices.push(...value);
|
|
70
|
-
return this;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
class Choice {
|
|
74
|
-
/**
|
|
75
|
-
* Text to display.
|
|
76
|
-
*/
|
|
77
|
-
title;
|
|
78
|
-
/**
|
|
79
|
-
* The raw value for the choice. NOTE: do not use a `,` in the value, since a `ChoiceSet` with `isMultiSelect` set to `true` returns a comma-delimited string of choice values.
|
|
80
|
-
*/
|
|
81
|
-
value;
|
|
82
|
-
constructor(title, value) {
|
|
83
|
-
this.title = title;
|
|
84
|
-
this.value = value;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
class ChoiceDataQuery {
|
|
88
|
-
/**
|
|
89
|
-
* The dataset to be queried to get the choices.
|
|
90
|
-
*/
|
|
91
|
-
dataset;
|
|
92
|
-
/**
|
|
93
|
-
* The maximum number of choices that should be returned by the query. It can be ignored if the card-author wants to send a different number.
|
|
94
|
-
*/
|
|
95
|
-
count;
|
|
96
|
-
/**
|
|
97
|
-
* The number of choices to be skipped in the list of choices returned by the query. It can be ignored if the card-author does not want pagination.
|
|
98
|
-
*/
|
|
99
|
-
skip;
|
|
100
|
-
constructor(dataset) {
|
|
101
|
-
this.dataset = dataset;
|
|
102
|
-
}
|
|
103
|
-
withOptions(value) {
|
|
104
|
-
Object.assign(this, value);
|
|
105
|
-
return this;
|
|
106
|
-
}
|
|
107
|
-
withCount(value) {
|
|
108
|
-
this.count = value;
|
|
109
|
-
return this;
|
|
110
|
-
}
|
|
111
|
-
withSkip(value) {
|
|
112
|
-
this.skip = value;
|
|
113
|
-
return this;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
exports.Choice = Choice;
|
|
118
|
-
exports.ChoiceDataQuery = ChoiceDataQuery;
|
|
119
|
-
exports.ChoiceSetInput = ChoiceSetInput;
|
|
120
|
-
//# sourceMappingURL=choice-set.js.map
|
|
121
|
-
//# sourceMappingURL=choice-set.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/inputs/choice-set.ts"],"names":["InputElement"],"mappings":";;;;AAmDO,MAAM,uBAAuBA,iBAAwC,CAAA;AAAA,EAC1E,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,cAAA;AAAA;AAAA;AAAA;AAAA,EAKA,aAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA,EAEA,eAAe,OAAoB,EAAA;AACjC,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,iBAAA;AACZ,IAAA,IAAA,CAAK,OAAU,GAAA,OAAA;AAAA;AACjB,EAEA,YAAY,KAA8B,EAAA;AACxC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAS,KAAyB,EAAA;AAChC,IAAA,IAAA,CAAK,cAAc,CAAI,GAAA,KAAA;AACvB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,eAAA,CAAgB,QAAQ,IAAM,EAAA;AAC5B,IAAA,IAAA,CAAK,aAAgB,GAAA,KAAA;AACrB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAyB,EAAA;AACjC,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAe,EAAA;AAC7B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAA,CAAS,QAAQ,IAAM,EAAA;AACrB,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAkB,EAAA;AAC9B,IAAK,IAAA,CAAA,OAAA,CAAQ,IAAK,CAAA,GAAG,KAAK,CAAA;AAC1B,IAAO,OAAA,IAAA;AAAA;AAEX;AAoBO,MAAM,MAA0B,CAAA;AAAA;AAAA;AAAA;AAAA,EAIrC,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,WAAA,CAAY,OAAe,KAAe,EAAA;AACxC,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AAAA;AAEjB;AA2BO,MAAM,eAA4C,CAAA;AAAA;AAAA;AAAA;AAAA,EAIvD,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA,EAEA,YAAY,OAAiB,EAAA;AAC3B,IAAA,IAAA,CAAK,OAAU,GAAA,OAAA;AAAA;AACjB,EAEA,YAAY,KAA+B,EAAA;AACzC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAS,KAAe,EAAA;AACtB,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AAEX","file":"choice-set.js","sourcesContent":["import { IInputElement, InputElement } from './base';\n\nexport type ChoiceInputStyle = 'compact' | 'expanded' | 'filtered';\n\n/**\n * Allows a user to input a Choice.\n */\nexport interface IChoiceSetInput extends IInputElement {\n type: 'Input.ChoiceSet';\n\n /**\n * Choice options.\n */\n choices?: IChoice[];\n\n /**\n * Allows dynamic fetching of choices from the bot to be displayed as suggestions in the dropdown when the user types in the input field.\n */\n 'choices.data'?: IChoiceDataQuery;\n\n /**\n * Allow multiple choices to be selected.\n */\n isMultiSelect?: boolean;\n\n /**\n * the style of the choice input\n */\n style?: ChoiceInputStyle;\n\n /**\n * The initial choice (or set of choices) that should be selected. For multi-select, specify a comma-separated string of values.\n */\n value?: string;\n\n /**\n * Description of the input desired. Only visible when no selection has been made, the `style` is `compact` and `isMultiSelect` is `false`\n */\n placeholder?: string;\n\n /**\n * If `true`, allow text to wrap. Otherwise, text is clipped.\n */\n wrap?: boolean;\n}\n\nexport type ChoiceSetInputOptions = Omit<IChoiceSetInput, 'type' | 'choices'>;\n\n/**\n * Allows a user to input a Choice.\n */\nexport class ChoiceSetInput extends InputElement implements IChoiceSetInput {\n type: 'Input.ChoiceSet';\n\n /**\n * Choice options.\n */\n choices: IChoice[];\n\n /**\n * Allows dynamic fetching of choices from the bot to be displayed as suggestions in the dropdown when the user types in the input field.\n */\n 'choices.data'?: IChoiceDataQuery;\n\n /**\n * Allow multiple choices to be selected.\n */\n isMultiSelect?: boolean;\n\n /**\n * the style of the choice input\n */\n style?: ChoiceInputStyle;\n\n /**\n * The initial choice (or set of choices) that should be selected. For multi-select, specify a comma-separated string of values.\n */\n value?: string;\n\n /**\n * Description of the input desired. Only visible when no selection has been made, the `style` is `compact` and `isMultiSelect` is `false`\n */\n placeholder?: string;\n\n /**\n * If `true`, allow text to wrap. Otherwise, text is clipped.\n */\n wrap?: boolean;\n\n constructor(...choices: IChoice[]) {\n super();\n this.type = 'Input.ChoiceSet';\n this.choices = choices;\n }\n\n withOptions(value: ChoiceSetInputOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withData(value: IChoiceDataQuery) {\n this['choices.data'] = value;\n return this;\n }\n\n withMultiSelect(value = true) {\n this.isMultiSelect = value;\n return this;\n }\n\n withStyle(value: ChoiceInputStyle) {\n this.style = value;\n return this;\n }\n\n withValue(value: string) {\n this.value = value;\n return this;\n }\n\n withPlaceholder(value: string) {\n this.placeholder = value;\n return this;\n }\n\n withWrap(value = true) {\n this.wrap = value;\n return this;\n }\n\n addChoices(...value: IChoice[]) {\n this.choices.push(...value);\n return this;\n }\n}\n\n/**\n * Describes a choice for use in a ChoiceSet.\n */\nexport interface IChoice {\n /**\n * Text to display.\n */\n title: string;\n\n /**\n * The raw value for the choice. NOTE: do not use a `,` in the value, since a `ChoiceSet` with `isMultiSelect` set to `true` returns a comma-delimited string of choice values.\n */\n value: string;\n}\n\n/**\n * Describes a choice for use in a ChoiceSet.\n */\nexport class Choice implements IChoice {\n /**\n * Text to display.\n */\n title: string;\n\n /**\n * The raw value for the choice. NOTE: do not use a `,` in the value, since a `ChoiceSet` with `isMultiSelect` set to `true` returns a comma-delimited string of choice values.\n */\n value: string;\n\n constructor(title: string, value: string) {\n this.title = title;\n this.value = value;\n }\n}\n\n/**\n * The data populated in the event payload for fetching dynamic choices, sent to the card-author to help identify the dataset from which choices might be fetched to be displayed in the dropdown. It might contain auxillary data to limit the maximum number of choices that can be sent and to support pagination.\n */\nexport interface IChoiceDataQuery {\n /**\n * The dataset to be queried to get the choices.\n */\n dataset: string;\n\n /**\n * The maximum number of choices that should be returned by the query. It can be ignored if the card-author wants to send a different number.\n */\n count?: number;\n\n /**\n * The number of choices to be skipped in the list of choices returned by the query. It can be ignored if the card-author does not want pagination.\n */\n skip?: number;\n}\n\nexport type ChoiceDataQueryOptions = Omit<IChoiceDataQuery, 'dataset'>;\n\n/**\n * The data populated in the event payload for fetching dynamic choices, sent to the card-author to help identify the dataset from which choices might be fetched to be displayed in the dropdown. It might contain auxillary data to limit the maximum number of choices that can be sent and to support pagination.\n */\nexport class ChoiceDataQuery implements IChoiceDataQuery {\n /**\n * The dataset to be queried to get the choices.\n */\n dataset: string;\n\n /**\n * The maximum number of choices that should be returned by the query. It can be ignored if the card-author wants to send a different number.\n */\n count?: number;\n\n /**\n * The number of choices to be skipped in the list of choices returned by the query. It can be ignored if the card-author does not want pagination.\n */\n skip?: number;\n\n constructor(dataset: string) {\n this.dataset = dataset;\n }\n\n withOptions(value: ChoiceDataQueryOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withCount(value: number) {\n this.count = value;\n return this;\n }\n\n withSkip(value: number) {\n this.skip = value;\n return this;\n }\n}\n"]}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { InputElement } from './base';
|
|
2
|
-
|
|
3
|
-
class ChoiceSetInput extends InputElement {
|
|
4
|
-
type;
|
|
5
|
-
/**
|
|
6
|
-
* Choice options.
|
|
7
|
-
*/
|
|
8
|
-
choices;
|
|
9
|
-
/**
|
|
10
|
-
* Allows dynamic fetching of choices from the bot to be displayed as suggestions in the dropdown when the user types in the input field.
|
|
11
|
-
*/
|
|
12
|
-
"choices.data";
|
|
13
|
-
/**
|
|
14
|
-
* Allow multiple choices to be selected.
|
|
15
|
-
*/
|
|
16
|
-
isMultiSelect;
|
|
17
|
-
/**
|
|
18
|
-
* the style of the choice input
|
|
19
|
-
*/
|
|
20
|
-
style;
|
|
21
|
-
/**
|
|
22
|
-
* The initial choice (or set of choices) that should be selected. For multi-select, specify a comma-separated string of values.
|
|
23
|
-
*/
|
|
24
|
-
value;
|
|
25
|
-
/**
|
|
26
|
-
* Description of the input desired. Only visible when no selection has been made, the `style` is `compact` and `isMultiSelect` is `false`
|
|
27
|
-
*/
|
|
28
|
-
placeholder;
|
|
29
|
-
/**
|
|
30
|
-
* If `true`, allow text to wrap. Otherwise, text is clipped.
|
|
31
|
-
*/
|
|
32
|
-
wrap;
|
|
33
|
-
constructor(...choices) {
|
|
34
|
-
super();
|
|
35
|
-
this.type = "Input.ChoiceSet";
|
|
36
|
-
this.choices = choices;
|
|
37
|
-
}
|
|
38
|
-
withOptions(value) {
|
|
39
|
-
Object.assign(this, value);
|
|
40
|
-
return this;
|
|
41
|
-
}
|
|
42
|
-
withData(value) {
|
|
43
|
-
this["choices.data"] = value;
|
|
44
|
-
return this;
|
|
45
|
-
}
|
|
46
|
-
withMultiSelect(value = true) {
|
|
47
|
-
this.isMultiSelect = value;
|
|
48
|
-
return this;
|
|
49
|
-
}
|
|
50
|
-
withStyle(value) {
|
|
51
|
-
this.style = value;
|
|
52
|
-
return this;
|
|
53
|
-
}
|
|
54
|
-
withValue(value) {
|
|
55
|
-
this.value = value;
|
|
56
|
-
return this;
|
|
57
|
-
}
|
|
58
|
-
withPlaceholder(value) {
|
|
59
|
-
this.placeholder = value;
|
|
60
|
-
return this;
|
|
61
|
-
}
|
|
62
|
-
withWrap(value = true) {
|
|
63
|
-
this.wrap = value;
|
|
64
|
-
return this;
|
|
65
|
-
}
|
|
66
|
-
addChoices(...value) {
|
|
67
|
-
this.choices.push(...value);
|
|
68
|
-
return this;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
class Choice {
|
|
72
|
-
/**
|
|
73
|
-
* Text to display.
|
|
74
|
-
*/
|
|
75
|
-
title;
|
|
76
|
-
/**
|
|
77
|
-
* The raw value for the choice. NOTE: do not use a `,` in the value, since a `ChoiceSet` with `isMultiSelect` set to `true` returns a comma-delimited string of choice values.
|
|
78
|
-
*/
|
|
79
|
-
value;
|
|
80
|
-
constructor(title, value) {
|
|
81
|
-
this.title = title;
|
|
82
|
-
this.value = value;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
class ChoiceDataQuery {
|
|
86
|
-
/**
|
|
87
|
-
* The dataset to be queried to get the choices.
|
|
88
|
-
*/
|
|
89
|
-
dataset;
|
|
90
|
-
/**
|
|
91
|
-
* The maximum number of choices that should be returned by the query. It can be ignored if the card-author wants to send a different number.
|
|
92
|
-
*/
|
|
93
|
-
count;
|
|
94
|
-
/**
|
|
95
|
-
* The number of choices to be skipped in the list of choices returned by the query. It can be ignored if the card-author does not want pagination.
|
|
96
|
-
*/
|
|
97
|
-
skip;
|
|
98
|
-
constructor(dataset) {
|
|
99
|
-
this.dataset = dataset;
|
|
100
|
-
}
|
|
101
|
-
withOptions(value) {
|
|
102
|
-
Object.assign(this, value);
|
|
103
|
-
return this;
|
|
104
|
-
}
|
|
105
|
-
withCount(value) {
|
|
106
|
-
this.count = value;
|
|
107
|
-
return this;
|
|
108
|
-
}
|
|
109
|
-
withSkip(value) {
|
|
110
|
-
this.skip = value;
|
|
111
|
-
return this;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export { Choice, ChoiceDataQuery, ChoiceSetInput };
|
|
116
|
-
//# sourceMappingURL=choice-set.mjs.map
|
|
117
|
-
//# sourceMappingURL=choice-set.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/inputs/choice-set.ts"],"names":[],"mappings":";;AAmDO,MAAM,uBAAuB,YAAwC,CAAA;AAAA,EAC1E,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,cAAA;AAAA;AAAA;AAAA;AAAA,EAKA,aAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA,EAEA,eAAe,OAAoB,EAAA;AACjC,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,iBAAA;AACZ,IAAA,IAAA,CAAK,OAAU,GAAA,OAAA;AAAA;AACjB,EAEA,YAAY,KAA8B,EAAA;AACxC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAS,KAAyB,EAAA;AAChC,IAAA,IAAA,CAAK,cAAc,CAAI,GAAA,KAAA;AACvB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,eAAA,CAAgB,QAAQ,IAAM,EAAA;AAC5B,IAAA,IAAA,CAAK,aAAgB,GAAA,KAAA;AACrB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAyB,EAAA;AACjC,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAe,EAAA;AAC7B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAA,CAAS,QAAQ,IAAM,EAAA;AACrB,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAkB,EAAA;AAC9B,IAAK,IAAA,CAAA,OAAA,CAAQ,IAAK,CAAA,GAAG,KAAK,CAAA;AAC1B,IAAO,OAAA,IAAA;AAAA;AAEX;AAoBO,MAAM,MAA0B,CAAA;AAAA;AAAA;AAAA;AAAA,EAIrC,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,WAAA,CAAY,OAAe,KAAe,EAAA;AACxC,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AAAA;AAEjB;AA2BO,MAAM,eAA4C,CAAA;AAAA;AAAA;AAAA;AAAA,EAIvD,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA,EAEA,YAAY,OAAiB,EAAA;AAC3B,IAAA,IAAA,CAAK,OAAU,GAAA,OAAA;AAAA;AACjB,EAEA,YAAY,KAA+B,EAAA;AACzC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAS,KAAe,EAAA;AACtB,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AAEX","file":"choice-set.mjs","sourcesContent":["import { IInputElement, InputElement } from './base';\n\nexport type ChoiceInputStyle = 'compact' | 'expanded' | 'filtered';\n\n/**\n * Allows a user to input a Choice.\n */\nexport interface IChoiceSetInput extends IInputElement {\n type: 'Input.ChoiceSet';\n\n /**\n * Choice options.\n */\n choices?: IChoice[];\n\n /**\n * Allows dynamic fetching of choices from the bot to be displayed as suggestions in the dropdown when the user types in the input field.\n */\n 'choices.data'?: IChoiceDataQuery;\n\n /**\n * Allow multiple choices to be selected.\n */\n isMultiSelect?: boolean;\n\n /**\n * the style of the choice input\n */\n style?: ChoiceInputStyle;\n\n /**\n * The initial choice (or set of choices) that should be selected. For multi-select, specify a comma-separated string of values.\n */\n value?: string;\n\n /**\n * Description of the input desired. Only visible when no selection has been made, the `style` is `compact` and `isMultiSelect` is `false`\n */\n placeholder?: string;\n\n /**\n * If `true`, allow text to wrap. Otherwise, text is clipped.\n */\n wrap?: boolean;\n}\n\nexport type ChoiceSetInputOptions = Omit<IChoiceSetInput, 'type' | 'choices'>;\n\n/**\n * Allows a user to input a Choice.\n */\nexport class ChoiceSetInput extends InputElement implements IChoiceSetInput {\n type: 'Input.ChoiceSet';\n\n /**\n * Choice options.\n */\n choices: IChoice[];\n\n /**\n * Allows dynamic fetching of choices from the bot to be displayed as suggestions in the dropdown when the user types in the input field.\n */\n 'choices.data'?: IChoiceDataQuery;\n\n /**\n * Allow multiple choices to be selected.\n */\n isMultiSelect?: boolean;\n\n /**\n * the style of the choice input\n */\n style?: ChoiceInputStyle;\n\n /**\n * The initial choice (or set of choices) that should be selected. For multi-select, specify a comma-separated string of values.\n */\n value?: string;\n\n /**\n * Description of the input desired. Only visible when no selection has been made, the `style` is `compact` and `isMultiSelect` is `false`\n */\n placeholder?: string;\n\n /**\n * If `true`, allow text to wrap. Otherwise, text is clipped.\n */\n wrap?: boolean;\n\n constructor(...choices: IChoice[]) {\n super();\n this.type = 'Input.ChoiceSet';\n this.choices = choices;\n }\n\n withOptions(value: ChoiceSetInputOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withData(value: IChoiceDataQuery) {\n this['choices.data'] = value;\n return this;\n }\n\n withMultiSelect(value = true) {\n this.isMultiSelect = value;\n return this;\n }\n\n withStyle(value: ChoiceInputStyle) {\n this.style = value;\n return this;\n }\n\n withValue(value: string) {\n this.value = value;\n return this;\n }\n\n withPlaceholder(value: string) {\n this.placeholder = value;\n return this;\n }\n\n withWrap(value = true) {\n this.wrap = value;\n return this;\n }\n\n addChoices(...value: IChoice[]) {\n this.choices.push(...value);\n return this;\n }\n}\n\n/**\n * Describes a choice for use in a ChoiceSet.\n */\nexport interface IChoice {\n /**\n * Text to display.\n */\n title: string;\n\n /**\n * The raw value for the choice. NOTE: do not use a `,` in the value, since a `ChoiceSet` with `isMultiSelect` set to `true` returns a comma-delimited string of choice values.\n */\n value: string;\n}\n\n/**\n * Describes a choice for use in a ChoiceSet.\n */\nexport class Choice implements IChoice {\n /**\n * Text to display.\n */\n title: string;\n\n /**\n * The raw value for the choice. NOTE: do not use a `,` in the value, since a `ChoiceSet` with `isMultiSelect` set to `true` returns a comma-delimited string of choice values.\n */\n value: string;\n\n constructor(title: string, value: string) {\n this.title = title;\n this.value = value;\n }\n}\n\n/**\n * The data populated in the event payload for fetching dynamic choices, sent to the card-author to help identify the dataset from which choices might be fetched to be displayed in the dropdown. It might contain auxillary data to limit the maximum number of choices that can be sent and to support pagination.\n */\nexport interface IChoiceDataQuery {\n /**\n * The dataset to be queried to get the choices.\n */\n dataset: string;\n\n /**\n * The maximum number of choices that should be returned by the query. It can be ignored if the card-author wants to send a different number.\n */\n count?: number;\n\n /**\n * The number of choices to be skipped in the list of choices returned by the query. It can be ignored if the card-author does not want pagination.\n */\n skip?: number;\n}\n\nexport type ChoiceDataQueryOptions = Omit<IChoiceDataQuery, 'dataset'>;\n\n/**\n * The data populated in the event payload for fetching dynamic choices, sent to the card-author to help identify the dataset from which choices might be fetched to be displayed in the dropdown. It might contain auxillary data to limit the maximum number of choices that can be sent and to support pagination.\n */\nexport class ChoiceDataQuery implements IChoiceDataQuery {\n /**\n * The dataset to be queried to get the choices.\n */\n dataset: string;\n\n /**\n * The maximum number of choices that should be returned by the query. It can be ignored if the card-author wants to send a different number.\n */\n count?: number;\n\n /**\n * The number of choices to be skipped in the list of choices returned by the query. It can be ignored if the card-author does not want pagination.\n */\n skip?: number;\n\n constructor(dataset: string) {\n this.dataset = dataset;\n }\n\n withOptions(value: ChoiceDataQueryOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withCount(value: number) {\n this.count = value;\n return this;\n }\n\n withSkip(value: number) {\n this.skip = value;\n return this;\n }\n}\n"]}
|
package/dist/inputs/date.d.mts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { aE as DateInput, aD as DateInputOptions, aC as IDateInput } 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/date.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { aE as DateInput, aD as DateInputOptions, aC as IDateInput } 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/date.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var base = require('./base');
|
|
4
|
-
|
|
5
|
-
class DateInput extends base.InputElement {
|
|
6
|
-
type;
|
|
7
|
-
/**
|
|
8
|
-
* Hint of maximum value expressed in YYYY-MM-DD(may be ignored by some clients).
|
|
9
|
-
*/
|
|
10
|
-
max;
|
|
11
|
-
/**
|
|
12
|
-
* Hint of minimum value expressed in YYYY-MM-DD(may be ignored by some clients).
|
|
13
|
-
*/
|
|
14
|
-
min;
|
|
15
|
-
/**
|
|
16
|
-
* Description of the input desired. Displayed when no selection has been made.
|
|
17
|
-
*/
|
|
18
|
-
placeholder;
|
|
19
|
-
/**
|
|
20
|
-
* The initial value for this field expressed in YYYY-MM-DD.
|
|
21
|
-
*/
|
|
22
|
-
value;
|
|
23
|
-
constructor(options = {}) {
|
|
24
|
-
super();
|
|
25
|
-
this.type = "Input.Date";
|
|
26
|
-
this.withOptions(options);
|
|
27
|
-
}
|
|
28
|
-
withOptions(value) {
|
|
29
|
-
Object.assign(this, value);
|
|
30
|
-
return this;
|
|
31
|
-
}
|
|
32
|
-
withMax(value) {
|
|
33
|
-
this.max = value;
|
|
34
|
-
return this;
|
|
35
|
-
}
|
|
36
|
-
withMin(value) {
|
|
37
|
-
this.min = value;
|
|
38
|
-
return this;
|
|
39
|
-
}
|
|
40
|
-
withPlaceholder(value) {
|
|
41
|
-
this.placeholder = value;
|
|
42
|
-
return this;
|
|
43
|
-
}
|
|
44
|
-
withValue(value) {
|
|
45
|
-
this.value = value;
|
|
46
|
-
return this;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
exports.DateInput = DateInput;
|
|
51
|
-
//# sourceMappingURL=date.js.map
|
|
52
|
-
//# sourceMappingURL=date.js.map
|
package/dist/inputs/date.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/inputs/date.ts"],"names":["InputElement"],"mappings":";;;;AAkCO,MAAM,kBAAkBA,iBAAmC,CAAA;AAAA,EAChE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,WAAA,CAAY,OAA4B,GAAA,EAAI,EAAA;AAC1C,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,YAAA;AACZ,IAAA,IAAA,CAAK,YAAY,OAAO,CAAA;AAAA;AAC1B,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAQ,KAAe,EAAA;AACrB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAQ,KAAe,EAAA;AACrB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAe,EAAA;AAC7B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AAEX","file":"date.js","sourcesContent":["import { IInputElement, InputElement } from './base';\n\n/**\n * Lets a user choose a date.\n */\nexport interface IDateInput extends IInputElement {\n type: 'Input.Date';\n\n /**\n * Hint of maximum value expressed in YYYY-MM-DD(may be ignored by some clients).\n */\n max?: string;\n\n /**\n * Hint of minimum value expressed in YYYY-MM-DD(may be ignored by some clients).\n */\n min?: string;\n\n /**\n * Description of the input desired. Displayed when no selection has been made.\n */\n placeholder?: string;\n\n /**\n * The initial value for this field expressed in YYYY-MM-DD.\n */\n value?: string;\n}\n\nexport type DateInputOptions = Omit<IDateInput, 'type'>;\n\n/**\n * Lets a user choose a date.\n */\nexport class DateInput extends InputElement implements IDateInput {\n type: 'Input.Date';\n\n /**\n * Hint of maximum value expressed in YYYY-MM-DD(may be ignored by some clients).\n */\n max?: string;\n\n /**\n * Hint of minimum value expressed in YYYY-MM-DD(may be ignored by some clients).\n */\n min?: string;\n\n /**\n * Description of the input desired. Displayed when no selection has been made.\n */\n placeholder?: string;\n\n /**\n * The initial value for this field expressed in YYYY-MM-DD.\n */\n value?: string;\n\n constructor(options: DateInputOptions = {}) {\n super();\n this.type = 'Input.Date';\n this.withOptions(options);\n }\n\n withOptions(value: DateInputOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withMax(value: string) {\n this.max = value;\n return this;\n }\n\n withMin(value: string) {\n this.min = value;\n return this;\n }\n\n withPlaceholder(value: string) {\n this.placeholder = value;\n return this;\n }\n\n withValue(value: string) {\n this.value = value;\n return this;\n }\n}\n"]}
|
package/dist/inputs/date.mjs
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { InputElement } from './base';
|
|
2
|
-
|
|
3
|
-
class DateInput extends InputElement {
|
|
4
|
-
type;
|
|
5
|
-
/**
|
|
6
|
-
* Hint of maximum value expressed in YYYY-MM-DD(may be ignored by some clients).
|
|
7
|
-
*/
|
|
8
|
-
max;
|
|
9
|
-
/**
|
|
10
|
-
* Hint of minimum value expressed in YYYY-MM-DD(may be ignored by some clients).
|
|
11
|
-
*/
|
|
12
|
-
min;
|
|
13
|
-
/**
|
|
14
|
-
* Description of the input desired. Displayed when no selection has been made.
|
|
15
|
-
*/
|
|
16
|
-
placeholder;
|
|
17
|
-
/**
|
|
18
|
-
* The initial value for this field expressed in YYYY-MM-DD.
|
|
19
|
-
*/
|
|
20
|
-
value;
|
|
21
|
-
constructor(options = {}) {
|
|
22
|
-
super();
|
|
23
|
-
this.type = "Input.Date";
|
|
24
|
-
this.withOptions(options);
|
|
25
|
-
}
|
|
26
|
-
withOptions(value) {
|
|
27
|
-
Object.assign(this, value);
|
|
28
|
-
return this;
|
|
29
|
-
}
|
|
30
|
-
withMax(value) {
|
|
31
|
-
this.max = value;
|
|
32
|
-
return this;
|
|
33
|
-
}
|
|
34
|
-
withMin(value) {
|
|
35
|
-
this.min = value;
|
|
36
|
-
return this;
|
|
37
|
-
}
|
|
38
|
-
withPlaceholder(value) {
|
|
39
|
-
this.placeholder = value;
|
|
40
|
-
return this;
|
|
41
|
-
}
|
|
42
|
-
withValue(value) {
|
|
43
|
-
this.value = value;
|
|
44
|
-
return this;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export { DateInput };
|
|
49
|
-
//# sourceMappingURL=date.mjs.map
|
|
50
|
-
//# sourceMappingURL=date.mjs.map
|
package/dist/inputs/date.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/inputs/date.ts"],"names":[],"mappings":";;AAkCO,MAAM,kBAAkB,YAAmC,CAAA;AAAA,EAChE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,WAAA,CAAY,OAA4B,GAAA,EAAI,EAAA;AAC1C,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,YAAA;AACZ,IAAA,IAAA,CAAK,YAAY,OAAO,CAAA;AAAA;AAC1B,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAQ,KAAe,EAAA;AACrB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAQ,KAAe,EAAA;AACrB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAe,EAAA;AAC7B,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AAEX","file":"date.mjs","sourcesContent":["import { IInputElement, InputElement } from './base';\n\n/**\n * Lets a user choose a date.\n */\nexport interface IDateInput extends IInputElement {\n type: 'Input.Date';\n\n /**\n * Hint of maximum value expressed in YYYY-MM-DD(may be ignored by some clients).\n */\n max?: string;\n\n /**\n * Hint of minimum value expressed in YYYY-MM-DD(may be ignored by some clients).\n */\n min?: string;\n\n /**\n * Description of the input desired. Displayed when no selection has been made.\n */\n placeholder?: string;\n\n /**\n * The initial value for this field expressed in YYYY-MM-DD.\n */\n value?: string;\n}\n\nexport type DateInputOptions = Omit<IDateInput, 'type'>;\n\n/**\n * Lets a user choose a date.\n */\nexport class DateInput extends InputElement implements IDateInput {\n type: 'Input.Date';\n\n /**\n * Hint of maximum value expressed in YYYY-MM-DD(may be ignored by some clients).\n */\n max?: string;\n\n /**\n * Hint of minimum value expressed in YYYY-MM-DD(may be ignored by some clients).\n */\n min?: string;\n\n /**\n * Description of the input desired. Displayed when no selection has been made.\n */\n placeholder?: string;\n\n /**\n * The initial value for this field expressed in YYYY-MM-DD.\n */\n value?: string;\n\n constructor(options: DateInputOptions = {}) {\n super();\n this.type = 'Input.Date';\n this.withOptions(options);\n }\n\n withOptions(value: DateInputOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withMax(value: string) {\n this.max = value;\n return this;\n }\n\n withMin(value: string) {\n this.min = value;\n return this;\n }\n\n withPlaceholder(value: string) {\n this.placeholder = value;\n return this;\n }\n\n withValue(value: string) {\n this.value = value;\n return this;\n }\n}\n"]}
|
package/dist/inputs/index.d.mts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { ay as Choice, aB as ChoiceDataQuery, aA as ChoiceDataQueryOptions, at as ChoiceInputStyle, aw as ChoiceSetInput, av as ChoiceSetInputOptions, aE as DateInput, aD as DateInputOptions, ax as IChoice, az as IChoiceDataQuery, au as IChoiceSetInput, aC as IDateInput, aF as INumberInput, aJ as ITextInput, aM as ITimeInput, aP as IToggleInput, aS as InputElement, aH as NumberInput, aG as NumberInputOptions, aL as TextInput, aK as TextInputOptions, aI as TextInputStyle, aO as TimeInput, aN as TimeInputOptions, aR as ToggleInput, aQ as ToggleInputOptions } 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/index.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { ay as Choice, aB as ChoiceDataQuery, aA as ChoiceDataQueryOptions, at as ChoiceInputStyle, aw as ChoiceSetInput, av as ChoiceSetInputOptions, aE as DateInput, aD as DateInputOptions, ax as IChoice, az as IChoiceDataQuery, au as IChoiceSetInput, aC as IDateInput, aF as INumberInput, aJ as ITextInput, aM as ITimeInput, aP as IToggleInput, aS as InputElement, aH as NumberInput, aG as NumberInputOptions, aL as TextInput, aK as TextInputOptions, aI as TextInputStyle, aO as TimeInput, aN as TimeInputOptions, aR as ToggleInput, aQ as ToggleInputOptions } 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/index.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var choiceSet = require('./choice-set');
|
|
4
|
-
var date = require('./date');
|
|
5
|
-
var number = require('./number');
|
|
6
|
-
var text = require('./text');
|
|
7
|
-
var time = require('./time');
|
|
8
|
-
var toggle = require('./toggle');
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Object.keys(choiceSet).forEach(function (k) {
|
|
13
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function () { return choiceSet[k]; }
|
|
16
|
-
});
|
|
17
|
-
});
|
|
18
|
-
Object.keys(date).forEach(function (k) {
|
|
19
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function () { return date[k]; }
|
|
22
|
-
});
|
|
23
|
-
});
|
|
24
|
-
Object.keys(number).forEach(function (k) {
|
|
25
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function () { return number[k]; }
|
|
28
|
-
});
|
|
29
|
-
});
|
|
30
|
-
Object.keys(text).forEach(function (k) {
|
|
31
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function () { return text[k]; }
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
|
-
Object.keys(time).forEach(function (k) {
|
|
37
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: function () { return time[k]; }
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
Object.keys(toggle).forEach(function (k) {
|
|
43
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () { return toggle[k]; }
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
//# sourceMappingURL=index.js.map
|
|
49
|
-
//# sourceMappingURL=index.js.map
|
package/dist/inputs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
package/dist/inputs/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs","sourcesContent":[]}
|
package/dist/inputs/number.d.mts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { aF as INumberInput, aH as NumberInput, aG as NumberInputOptions } 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/number.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { aF as INumberInput, aH as NumberInput, aG as NumberInputOptions } 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';
|