@microsoft/teams.cards 0.2.14 → 2.0.0-preview.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/index.d.mts +2 -24
- package/dist/actions/index.d.ts +2 -24
- package/dist/actions/index.js +0 -28
- package/dist/actions/index.mjs +0 -4
- package/dist/actions/submit/collab-stage.d.mts +2 -3
- package/dist/actions/submit/collab-stage.d.ts +2 -3
- package/dist/actions/submit/collab-stage.js +2 -2
- package/dist/actions/submit/collab-stage.js.map +1 -1
- package/dist/actions/submit/collab-stage.mjs +1 -1
- package/dist/actions/submit/collab-stage.mjs.map +1 -1
- package/dist/actions/submit/im-back.d.mts +2 -3
- package/dist/actions/submit/im-back.d.ts +2 -3
- package/dist/actions/submit/im-back.js +2 -2
- package/dist/actions/submit/im-back.js.map +1 -1
- package/dist/actions/submit/im-back.mjs +1 -1
- package/dist/actions/submit/im-back.mjs.map +1 -1
- package/dist/actions/submit/index.d.mts +2 -3
- package/dist/actions/submit/index.d.ts +2 -3
- package/dist/actions/submit/index.js +0 -7
- package/dist/actions/submit/index.mjs +0 -1
- package/dist/actions/submit/invoke.d.mts +2 -3
- package/dist/actions/submit/invoke.d.ts +2 -3
- package/dist/actions/submit/invoke.js +2 -2
- package/dist/actions/submit/invoke.js.map +1 -1
- package/dist/actions/submit/invoke.mjs +1 -1
- package/dist/actions/submit/invoke.mjs.map +1 -1
- package/dist/actions/submit/message-back.d.mts +2 -3
- package/dist/actions/submit/message-back.d.ts +2 -3
- package/dist/actions/submit/message-back.js +2 -2
- package/dist/actions/submit/message-back.js.map +1 -1
- package/dist/actions/submit/message-back.mjs +1 -1
- package/dist/actions/submit/message-back.mjs.map +1 -1
- package/dist/actions/submit/ms-teams-data.d.mts +15 -0
- package/dist/actions/submit/ms-teams-data.d.ts +15 -0
- package/dist/actions/submit/ms-teams-data.js +4 -0
- package/dist/actions/submit/ms-teams-data.js.map +1 -0
- package/dist/actions/submit/ms-teams-data.mjs +3 -0
- package/dist/actions/submit/ms-teams-data.mjs.map +1 -0
- package/dist/actions/submit/sign-in.d.mts +2 -3
- package/dist/actions/submit/sign-in.d.ts +2 -3
- package/dist/actions/submit/sign-in.js +2 -2
- package/dist/actions/submit/sign-in.js.map +1 -1
- package/dist/actions/submit/sign-in.mjs +1 -1
- package/dist/actions/submit/sign-in.mjs.map +1 -1
- package/dist/actions/submit/task-fetch.d.mts +2 -3
- package/dist/actions/submit/task-fetch.d.ts +2 -3
- package/dist/actions/submit/task-fetch.js +3 -3
- package/dist/actions/submit/task-fetch.js.map +1 -1
- package/dist/actions/submit/task-fetch.mjs +2 -2
- package/dist/actions/submit/task-fetch.mjs.map +1 -1
- package/dist/common/index.d.mts +0 -14
- package/dist/common/index.d.ts +0 -14
- package/dist/common/index.js +0 -70
- package/dist/common/index.mjs +0 -10
- package/dist/core.d.mts +10707 -0
- package/dist/core.d.ts +10707 -0
- package/dist/core.js +8718 -0
- package/dist/core.js.map +1 -0
- package/dist/core.mjs +8574 -0
- package/dist/core.mjs.map +1 -0
- package/dist/index.d.mts +3 -25
- package/dist/index.d.ts +3 -25
- package/dist/index.js +5 -47
- package/dist/index.mjs +1 -7
- package/package.json +2 -2
- package/dist/actions/base.d.mts +0 -89
- package/dist/actions/base.d.ts +0 -89
- package/dist/actions/base.js +0 -90
- package/dist/actions/base.js.map +0 -1
- package/dist/actions/base.mjs +0 -88
- package/dist/actions/base.mjs.map +0 -1
- package/dist/actions/execute.d.mts +0 -47
- package/dist/actions/execute.d.ts +0 -47
- package/dist/actions/execute.js +0 -43
- package/dist/actions/execute.js.map +0 -1
- package/dist/actions/execute.mjs +0 -41
- package/dist/actions/execute.mjs.map +0 -1
- package/dist/actions/open-url.d.mts +0 -28
- package/dist/actions/open-url.d.ts +0 -28
- package/dist/actions/open-url.js +0 -28
- package/dist/actions/open-url.js.map +0 -1
- package/dist/actions/open-url.mjs +0 -26
- package/dist/actions/open-url.mjs.map +0 -1
- package/dist/actions/show-card.d.mts +0 -31
- package/dist/actions/show-card.d.ts +0 -31
- package/dist/actions/show-card.js +0 -28
- package/dist/actions/show-card.js.map +0 -1
- package/dist/actions/show-card.mjs +0 -26
- package/dist/actions/show-card.mjs.map +0 -1
- package/dist/actions/submit/submit.d.mts +0 -51
- package/dist/actions/submit/submit.d.ts +0 -51
- package/dist/actions/submit/submit.js +0 -45
- package/dist/actions/submit/submit.js.map +0 -1
- package/dist/actions/submit/submit.mjs +0 -43
- package/dist/actions/submit/submit.mjs.map +0 -1
- package/dist/actions/toggle-visibility.d.mts +0 -29
- package/dist/actions/toggle-visibility.d.ts +0 -29
- package/dist/actions/toggle-visibility.js +0 -29
- package/dist/actions/toggle-visibility.js.map +0 -1
- package/dist/actions/toggle-visibility.mjs +0 -27
- package/dist/actions/toggle-visibility.mjs.map +0 -1
- package/dist/base.d.mts +0 -31
- package/dist/base.d.ts +0 -31
- package/dist/base.js +0 -105
- package/dist/base.js.map +0 -1
- package/dist/base.mjs +0 -103
- package/dist/base.mjs.map +0 -1
- package/dist/card.d.mts +0 -31
- package/dist/card.d.ts +0 -31
- package/dist/card.js +0 -117
- package/dist/card.js.map +0 -1
- package/dist/card.mjs +0 -114
- package/dist/card.mjs.map +0 -1
- package/dist/charts/color.d.mts +0 -3
- package/dist/charts/color.d.ts +0 -3
- package/dist/charts/color.js +0 -4
- package/dist/charts/color.js.map +0 -1
- package/dist/charts/color.mjs +0 -3
- package/dist/charts/color.mjs.map +0 -1
- package/dist/charts/donut.d.mts +0 -2288
- package/dist/charts/donut.d.ts +0 -2288
- package/dist/charts/donut.js +0 -79
- package/dist/charts/donut.js.map +0 -1
- package/dist/charts/donut.mjs +0 -76
- package/dist/charts/donut.mjs.map +0 -1
- package/dist/charts/index.d.mts +0 -31
- package/dist/charts/index.d.ts +0 -31
- package/dist/charts/index.js +0 -28
- package/dist/charts/index.js.map +0 -1
- package/dist/charts/index.mjs +0 -5
- package/dist/charts/index.mjs.map +0 -1
- package/dist/charts/line.d.mts +0 -31
- package/dist/charts/line.d.ts +0 -31
- package/dist/charts/line.js +0 -97
- package/dist/charts/line.js.map +0 -1
- package/dist/charts/line.mjs +0 -93
- package/dist/charts/line.mjs.map +0 -1
- package/dist/common/associated-inputs.d.mts +0 -3
- package/dist/common/associated-inputs.d.ts +0 -3
- package/dist/common/associated-inputs.js +0 -4
- package/dist/common/associated-inputs.js.map +0 -1
- package/dist/common/associated-inputs.mjs +0 -3
- package/dist/common/associated-inputs.mjs.map +0 -1
- package/dist/common/auth/auth-card-button.d.mts +0 -50
- package/dist/common/auth/auth-card-button.d.ts +0 -50
- package/dist/common/auth/auth-card-button.js +0 -45
- package/dist/common/auth/auth-card-button.js.map +0 -1
- package/dist/common/auth/auth-card-button.mjs +0 -43
- package/dist/common/auth/auth-card-button.mjs.map +0 -1
- package/dist/common/auth/auth.d.mts +0 -52
- package/dist/common/auth/auth.d.ts +0 -52
- package/dist/common/auth/auth.js +0 -46
- package/dist/common/auth/auth.js.map +0 -1
- package/dist/common/auth/auth.mjs +0 -44
- package/dist/common/auth/auth.mjs.map +0 -1
- package/dist/common/auth/index.d.mts +0 -3
- package/dist/common/auth/index.d.ts +0 -3
- package/dist/common/auth/index.js +0 -28
- package/dist/common/auth/index.js.map +0 -1
- package/dist/common/auth/index.mjs +0 -5
- package/dist/common/auth/index.mjs.map +0 -1
- package/dist/common/auth/token-exchange-resource.d.mts +0 -37
- package/dist/common/auth/token-exchange-resource.d.ts +0 -37
- package/dist/common/auth/token-exchange-resource.js +0 -25
- package/dist/common/auth/token-exchange-resource.js.map +0 -1
- package/dist/common/auth/token-exchange-resource.mjs +0 -23
- package/dist/common/auth/token-exchange-resource.mjs.map +0 -1
- package/dist/common/color.d.mts +0 -3
- package/dist/common/color.d.ts +0 -3
- package/dist/common/color.js +0 -4
- package/dist/common/color.js.map +0 -1
- package/dist/common/color.mjs +0 -3
- package/dist/common/color.mjs.map +0 -1
- package/dist/common/font.d.mts +0 -5
- package/dist/common/font.d.ts +0 -5
- package/dist/common/font.js +0 -4
- package/dist/common/font.js.map +0 -1
- package/dist/common/font.mjs +0 -3
- package/dist/common/font.mjs.map +0 -1
- package/dist/common/horizontal-alignment.d.mts +0 -6
- package/dist/common/horizontal-alignment.d.ts +0 -6
- package/dist/common/horizontal-alignment.js +0 -4
- package/dist/common/horizontal-alignment.js.map +0 -1
- package/dist/common/horizontal-alignment.mjs +0 -3
- package/dist/common/horizontal-alignment.mjs.map +0 -1
- package/dist/common/refresh.d.mts +0 -23
- package/dist/common/refresh.d.ts +0 -23
- package/dist/common/refresh.js +0 -4
- package/dist/common/refresh.js.map +0 -1
- package/dist/common/refresh.mjs +0 -3
- package/dist/common/refresh.mjs.map +0 -1
- package/dist/common/spacing.d.mts +0 -6
- package/dist/common/spacing.d.ts +0 -6
- package/dist/common/spacing.js +0 -4
- package/dist/common/spacing.js.map +0 -1
- package/dist/common/spacing.mjs +0 -3
- package/dist/common/spacing.mjs.map +0 -1
- package/dist/common/target-element.d.mts +0 -16
- package/dist/common/target-element.d.ts +0 -16
- package/dist/common/target-element.js +0 -4
- package/dist/common/target-element.js.map +0 -1
- package/dist/common/target-element.mjs +0 -3
- package/dist/common/target-element.mjs.map +0 -1
- package/dist/common/target-width.d.mts +0 -9
- package/dist/common/target-width.d.ts +0 -9
- package/dist/common/target-width.js +0 -4
- package/dist/common/target-width.js.map +0 -1
- package/dist/common/target-width.mjs +0 -3
- package/dist/common/target-width.mjs.map +0 -1
- package/dist/common/vertical-alignment.d.mts +0 -6
- package/dist/common/vertical-alignment.d.ts +0 -6
- package/dist/common/vertical-alignment.js +0 -4
- package/dist/common/vertical-alignment.js.map +0 -1
- package/dist/common/vertical-alignment.mjs +0 -3
- package/dist/common/vertical-alignment.mjs.map +0 -1
- package/dist/containers/action-set.d.mts +0 -31
- package/dist/containers/action-set.d.ts +0 -31
- package/dist/containers/action-set.js +0 -28
- package/dist/containers/action-set.js.map +0 -1
- package/dist/containers/action-set.mjs +0 -26
- package/dist/containers/action-set.mjs.map +0 -1
- package/dist/containers/base.d.mts +0 -31
- package/dist/containers/base.d.ts +0 -31
- package/dist/containers/base.js +0 -68
- package/dist/containers/base.js.map +0 -1
- package/dist/containers/base.mjs +0 -66
- package/dist/containers/base.mjs.map +0 -1
- package/dist/containers/carousel.d.mts +0 -31
- package/dist/containers/carousel.d.ts +0 -31
- package/dist/containers/carousel.js +0 -158
- package/dist/containers/carousel.js.map +0 -1
- package/dist/containers/carousel.mjs +0 -155
- package/dist/containers/carousel.mjs.map +0 -1
- package/dist/containers/column-set.d.mts +0 -31
- package/dist/containers/column-set.d.ts +0 -31
- package/dist/containers/column-set.js +0 -44
- package/dist/containers/column-set.js.map +0 -1
- package/dist/containers/column-set.mjs +0 -42
- package/dist/containers/column-set.mjs.map +0 -1
- package/dist/containers/column.d.mts +0 -31
- package/dist/containers/column.d.ts +0 -31
- package/dist/containers/column.js +0 -60
- package/dist/containers/column.js.map +0 -1
- package/dist/containers/column.mjs +0 -58
- package/dist/containers/column.mjs.map +0 -1
- package/dist/containers/container.d.mts +0 -31
- package/dist/containers/container.d.ts +0 -31
- package/dist/containers/container.js +0 -52
- package/dist/containers/container.js.map +0 -1
- package/dist/containers/container.mjs +0 -50
- package/dist/containers/container.mjs.map +0 -1
- package/dist/containers/fact-set.d.mts +0 -31
- package/dist/containers/fact-set.d.ts +0 -31
- package/dist/containers/fact-set.js +0 -43
- package/dist/containers/fact-set.js.map +0 -1
- package/dist/containers/fact-set.mjs +0 -40
- package/dist/containers/fact-set.mjs.map +0 -1
- package/dist/containers/image-set.d.mts +0 -31
- package/dist/containers/image-set.d.ts +0 -31
- package/dist/containers/image-set.js +0 -46
- package/dist/containers/image-set.js.map +0 -1
- package/dist/containers/image-set.mjs +0 -44
- package/dist/containers/image-set.mjs.map +0 -1
- package/dist/containers/index.d.mts +0 -31
- package/dist/containers/index.d.ts +0 -31
- package/dist/containers/index.js +0 -56
- package/dist/containers/index.js.map +0 -1
- package/dist/containers/index.mjs +0 -9
- package/dist/containers/index.mjs.map +0 -1
- package/dist/element.d.mts +0 -31
- package/dist/element.d.ts +0 -31
- package/dist/element.js +0 -4
- package/dist/element.js.map +0 -1
- package/dist/element.mjs +0 -3
- package/dist/element.mjs.map +0 -1
- package/dist/inputs/base.d.mts +0 -31
- package/dist/inputs/base.d.ts +0 -31
- package/dist/inputs/base.js +0 -63
- package/dist/inputs/base.js.map +0 -1
- package/dist/inputs/base.mjs +0 -61
- package/dist/inputs/base.mjs.map +0 -1
- package/dist/inputs/choice-set.d.mts +0 -31
- package/dist/inputs/choice-set.d.ts +0 -31
- package/dist/inputs/choice-set.js +0 -121
- package/dist/inputs/choice-set.js.map +0 -1
- package/dist/inputs/choice-set.mjs +0 -117
- package/dist/inputs/choice-set.mjs.map +0 -1
- package/dist/inputs/date.d.mts +0 -31
- package/dist/inputs/date.d.ts +0 -31
- package/dist/inputs/date.js +0 -52
- package/dist/inputs/date.js.map +0 -1
- package/dist/inputs/date.mjs +0 -50
- package/dist/inputs/date.mjs.map +0 -1
- package/dist/inputs/index.d.mts +0 -31
- package/dist/inputs/index.d.ts +0 -31
- package/dist/inputs/index.js +0 -49
- package/dist/inputs/index.js.map +0 -1
- package/dist/inputs/index.mjs +0 -8
- package/dist/inputs/index.mjs.map +0 -1
- package/dist/inputs/number.d.mts +0 -31
- package/dist/inputs/number.d.ts +0 -31
- package/dist/inputs/number.js +0 -52
- package/dist/inputs/number.js.map +0 -1
- package/dist/inputs/number.mjs +0 -50
- package/dist/inputs/number.mjs.map +0 -1
- package/dist/inputs/text.d.mts +0 -31
- package/dist/inputs/text.d.ts +0 -31
- package/dist/inputs/text.js +0 -76
- package/dist/inputs/text.js.map +0 -1
- package/dist/inputs/text.mjs +0 -74
- package/dist/inputs/text.mjs.map +0 -1
- package/dist/inputs/time.d.mts +0 -31
- package/dist/inputs/time.d.ts +0 -31
- package/dist/inputs/time.js +0 -52
- package/dist/inputs/time.js.map +0 -1
- package/dist/inputs/time.mjs +0 -50
- package/dist/inputs/time.mjs.map +0 -1
- package/dist/inputs/toggle.d.mts +0 -31
- package/dist/inputs/toggle.d.ts +0 -31
- package/dist/inputs/toggle.js +0 -57
- package/dist/inputs/toggle.js.map +0 -1
- package/dist/inputs/toggle.mjs +0 -55
- package/dist/inputs/toggle.mjs.map +0 -1
- package/dist/layouts/area-grid.d.mts +0 -133
- package/dist/layouts/area-grid.d.ts +0 -133
- package/dist/layouts/area-grid.js +0 -113
- package/dist/layouts/area-grid.js.map +0 -1
- package/dist/layouts/area-grid.mjs +0 -110
- package/dist/layouts/area-grid.mjs.map +0 -1
- package/dist/layouts/flow.d.mts +0 -119
- package/dist/layouts/flow.d.ts +0 -119
- package/dist/layouts/flow.js +0 -96
- package/dist/layouts/flow.js.map +0 -1
- package/dist/layouts/flow.mjs +0 -94
- package/dist/layouts/flow.mjs.map +0 -1
- package/dist/layouts/index.d.mts +0 -14
- package/dist/layouts/index.d.ts +0 -14
- package/dist/layouts/index.js +0 -28
- package/dist/layouts/index.js.map +0 -1
- package/dist/layouts/index.mjs +0 -5
- package/dist/layouts/index.mjs.map +0 -1
- package/dist/layouts/stack.d.mts +0 -28
- package/dist/layouts/stack.d.ts +0 -28
- package/dist/layouts/stack.js +0 -24
- package/dist/layouts/stack.js.map +0 -1
- package/dist/layouts/stack.mjs +0 -22
- package/dist/layouts/stack.mjs.map +0 -1
- package/dist/medias/background-image.d.mts +0 -56
- package/dist/medias/background-image.d.ts +0 -56
- package/dist/medias/background-image.js +0 -49
- package/dist/medias/background-image.js.map +0 -1
- package/dist/medias/background-image.mjs +0 -47
- package/dist/medias/background-image.mjs.map +0 -1
- package/dist/medias/badge.d.mts +0 -31
- package/dist/medias/badge.d.ts +0 -31
- package/dist/medias/badge.js +0 -84
- package/dist/medias/badge.js.map +0 -1
- package/dist/medias/badge.mjs +0 -82
- package/dist/medias/badge.mjs.map +0 -1
- package/dist/medias/code-block.d.mts +0 -31
- package/dist/medias/code-block.d.ts +0 -31
- package/dist/medias/code-block.js +0 -43
- package/dist/medias/code-block.js.map +0 -1
- package/dist/medias/code-block.mjs +0 -41
- package/dist/medias/code-block.mjs.map +0 -1
- package/dist/medias/icon.d.mts +0 -31
- package/dist/medias/icon.d.ts +0 -31
- package/dist/medias/icon.js +0 -56
- package/dist/medias/icon.js.map +0 -1
- package/dist/medias/icon.mjs +0 -54
- package/dist/medias/icon.mjs.map +0 -1
- package/dist/medias/image.d.mts +0 -31
- package/dist/medias/image.d.ts +0 -31
- package/dist/medias/image.js +0 -80
- package/dist/medias/image.js.map +0 -1
- package/dist/medias/image.mjs +0 -78
- package/dist/medias/image.mjs.map +0 -1
- package/dist/medias/index.d.mts +0 -31
- package/dist/medias/index.d.ts +0 -31
- package/dist/medias/index.js +0 -84
- package/dist/medias/index.js.map +0 -1
- package/dist/medias/index.mjs +0 -13
- package/dist/medias/index.mjs.map +0 -1
- package/dist/medias/media.d.mts +0 -31
- package/dist/medias/media.d.ts +0 -31
- package/dist/medias/media.js +0 -91
- package/dist/medias/media.js.map +0 -1
- package/dist/medias/media.mjs +0 -87
- package/dist/medias/media.mjs.map +0 -1
- package/dist/medias/progress-bar.d.mts +0 -31
- package/dist/medias/progress-bar.d.ts +0 -31
- package/dist/medias/progress-bar.js +0 -43
- package/dist/medias/progress-bar.js.map +0 -1
- package/dist/medias/progress-bar.mjs +0 -41
- package/dist/medias/progress-bar.mjs.map +0 -1
- package/dist/medias/progress-ring.d.mts +0 -31
- package/dist/medias/progress-ring.d.ts +0 -31
- package/dist/medias/progress-ring.js +0 -46
- package/dist/medias/progress-ring.js.map +0 -1
- package/dist/medias/progress-ring.mjs +0 -44
- package/dist/medias/progress-ring.mjs.map +0 -1
- package/dist/medias/rich-text-block.d.mts +0 -31
- package/dist/medias/rich-text-block.d.ts +0 -31
- package/dist/medias/rich-text-block.js +0 -33
- package/dist/medias/rich-text-block.js.map +0 -1
- package/dist/medias/rich-text-block.mjs +0 -31
- package/dist/medias/rich-text-block.mjs.map +0 -1
- package/dist/medias/text-block.d.mts +0 -31
- package/dist/medias/text-block.d.ts +0 -31
- package/dist/medias/text-block.js +0 -95
- package/dist/medias/text-block.js.map +0 -1
- package/dist/medias/text-block.mjs +0 -93
- package/dist/medias/text-block.mjs.map +0 -1
- package/dist/medias/text-run.d.mts +0 -31
- package/dist/medias/text-run.d.ts +0 -31
- package/dist/medias/text-run.js +0 -108
- package/dist/medias/text-run.js.map +0 -1
- package/dist/medias/text-run.mjs +0 -106
- package/dist/medias/text-run.mjs.map +0 -1
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { a6 as Carousel, a5 as CarouselOptions, a9 as CarouselPage, a8 as CarouselPageOptions, a4 as ICarousel, a7 as ICarouselPage } from '../charts/donut.js';
|
|
2
|
-
import '../common/vertical-alignment.js';
|
|
3
|
-
import '../layouts/index.js';
|
|
4
|
-
import '../medias/background-image.js';
|
|
5
|
-
import '../actions/execute.js';
|
|
6
|
-
import '../common/associated-inputs.js';
|
|
7
|
-
import '../actions/base.js';
|
|
8
|
-
import '../actions/open-url.js';
|
|
9
|
-
import '../common/refresh.js';
|
|
10
|
-
import '../common/auth/auth.js';
|
|
11
|
-
import '../common/auth/auth-card-button.js';
|
|
12
|
-
import '../common/auth/token-exchange-resource.js';
|
|
13
|
-
import '../common/horizontal-alignment.js';
|
|
14
|
-
import '../common/spacing.js';
|
|
15
|
-
import '../common/target-width.js';
|
|
16
|
-
import '../charts/color.js';
|
|
17
|
-
import '../common/color.js';
|
|
18
|
-
import '../common/font.js';
|
|
19
|
-
import '../actions/submit/submit.js';
|
|
20
|
-
import '../actions/submit/im-back.js';
|
|
21
|
-
import '../actions/submit/invoke.js';
|
|
22
|
-
import '../actions/submit/message-back.js';
|
|
23
|
-
import '../actions/submit/sign-in.js';
|
|
24
|
-
import '../actions/submit/task-fetch.js';
|
|
25
|
-
import '../actions/submit/collab-stage.js';
|
|
26
|
-
import '../common/tab-info.js';
|
|
27
|
-
import '../actions/toggle-visibility.js';
|
|
28
|
-
import '../common/target-element.js';
|
|
29
|
-
import '../layouts/flow.js';
|
|
30
|
-
import '../layouts/area-grid.js';
|
|
31
|
-
import '../layouts/stack.js';
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var base = require('../base');
|
|
4
|
-
|
|
5
|
-
class Carousel extends base.Element {
|
|
6
|
-
type;
|
|
7
|
-
/**
|
|
8
|
-
* Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding.
|
|
9
|
-
*/
|
|
10
|
-
bleed;
|
|
11
|
-
/**
|
|
12
|
-
* The minimum height, in pixels, of the container, in the <number>px format.
|
|
13
|
-
* @example `<number>px`
|
|
14
|
-
*/
|
|
15
|
-
minHeight;
|
|
16
|
-
/**
|
|
17
|
-
* Controls the type of animation to use to navigate between pages.
|
|
18
|
-
* @default `slide`
|
|
19
|
-
*/
|
|
20
|
-
pageAnimation;
|
|
21
|
-
/**
|
|
22
|
-
* The pages in the carousel.
|
|
23
|
-
*/
|
|
24
|
-
pages;
|
|
25
|
-
constructor(...pages) {
|
|
26
|
-
super();
|
|
27
|
-
this.type = "Carousel";
|
|
28
|
-
this.pages = pages;
|
|
29
|
-
}
|
|
30
|
-
withOptions(value) {
|
|
31
|
-
Object.assign(this, value);
|
|
32
|
-
return this;
|
|
33
|
-
}
|
|
34
|
-
withBleed(value = true) {
|
|
35
|
-
this.bleed = value;
|
|
36
|
-
return this;
|
|
37
|
-
}
|
|
38
|
-
withMinHeight(value) {
|
|
39
|
-
this.minHeight = value;
|
|
40
|
-
return this;
|
|
41
|
-
}
|
|
42
|
-
withPageAnimation(value = "slide") {
|
|
43
|
-
this.pageAnimation = value;
|
|
44
|
-
return this;
|
|
45
|
-
}
|
|
46
|
-
addPages(...value) {
|
|
47
|
-
this.pages.push(...value);
|
|
48
|
-
return this;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
class CarouselPage extends base.Element {
|
|
52
|
-
type;
|
|
53
|
-
/**
|
|
54
|
-
* The card elements to render inside the `CarouselPage`.
|
|
55
|
-
*/
|
|
56
|
-
items;
|
|
57
|
-
/**
|
|
58
|
-
* Specifies the background image. Acceptable formats are `PNG`, `JPEG`, and `GIF`
|
|
59
|
-
*/
|
|
60
|
-
backgroundImage;
|
|
61
|
-
/**
|
|
62
|
-
* The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.
|
|
63
|
-
*/
|
|
64
|
-
layouts;
|
|
65
|
-
/**
|
|
66
|
-
* The maximum height, in pixels, of the container, in the <number>px format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed.
|
|
67
|
-
* @example `<number>px`
|
|
68
|
-
*/
|
|
69
|
-
maxHeight;
|
|
70
|
-
/**
|
|
71
|
-
* The minimum height, in pixels, of the container, in the <number>px format.
|
|
72
|
-
* @example `<number>px`
|
|
73
|
-
*/
|
|
74
|
-
minHeight;
|
|
75
|
-
/**
|
|
76
|
-
* Controls if the container should have rounded corners.
|
|
77
|
-
* @default false
|
|
78
|
-
*/
|
|
79
|
-
roundedCorners;
|
|
80
|
-
/**
|
|
81
|
-
* Controls if the content of the card is to be rendered left-to-right or right-to-left.
|
|
82
|
-
*/
|
|
83
|
-
rtl;
|
|
84
|
-
/**
|
|
85
|
-
* Controls if a border should be displayed around the container.
|
|
86
|
-
* @default false
|
|
87
|
-
*/
|
|
88
|
-
showBorder;
|
|
89
|
-
/**
|
|
90
|
-
* The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met.
|
|
91
|
-
*/
|
|
92
|
-
style;
|
|
93
|
-
/**
|
|
94
|
-
* Controls how the container's content should be vertically aligned.
|
|
95
|
-
*/
|
|
96
|
-
verticalContentAlignment;
|
|
97
|
-
/**
|
|
98
|
-
* An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported.
|
|
99
|
-
*/
|
|
100
|
-
selectAction;
|
|
101
|
-
constructor(...items) {
|
|
102
|
-
super();
|
|
103
|
-
this.type = "CarouselPage";
|
|
104
|
-
this.items = items;
|
|
105
|
-
}
|
|
106
|
-
withOptions(value) {
|
|
107
|
-
Object.assign(this, value);
|
|
108
|
-
return this;
|
|
109
|
-
}
|
|
110
|
-
withBackgroundImage(value) {
|
|
111
|
-
this.backgroundImage = value;
|
|
112
|
-
return this;
|
|
113
|
-
}
|
|
114
|
-
withMinHeight(value) {
|
|
115
|
-
this.minHeight = value;
|
|
116
|
-
return this;
|
|
117
|
-
}
|
|
118
|
-
withRoundedCorners(value = true) {
|
|
119
|
-
this.roundedCorners = value;
|
|
120
|
-
return this;
|
|
121
|
-
}
|
|
122
|
-
withRtl(value = true) {
|
|
123
|
-
this.rtl = value;
|
|
124
|
-
return this;
|
|
125
|
-
}
|
|
126
|
-
withShowBorder(value = true) {
|
|
127
|
-
this.showBorder = value;
|
|
128
|
-
return this;
|
|
129
|
-
}
|
|
130
|
-
withStyle(value) {
|
|
131
|
-
this.style = value;
|
|
132
|
-
return this;
|
|
133
|
-
}
|
|
134
|
-
withVeritcalAlignment(value) {
|
|
135
|
-
this.verticalContentAlignment = value;
|
|
136
|
-
return this;
|
|
137
|
-
}
|
|
138
|
-
withSelectAction(value) {
|
|
139
|
-
this.selectAction = value;
|
|
140
|
-
return this;
|
|
141
|
-
}
|
|
142
|
-
addLayouts(...value) {
|
|
143
|
-
if (!this.layouts) {
|
|
144
|
-
this.layouts = [];
|
|
145
|
-
}
|
|
146
|
-
this.layouts.push(...value);
|
|
147
|
-
return this;
|
|
148
|
-
}
|
|
149
|
-
addCards(...value) {
|
|
150
|
-
this.items.push(...value);
|
|
151
|
-
return this;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
exports.Carousel = Carousel;
|
|
156
|
-
exports.CarouselPage = CarouselPage;
|
|
157
|
-
//# sourceMappingURL=carousel.js.map
|
|
158
|
-
//# sourceMappingURL=carousel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/containers/carousel.ts"],"names":["$Element"],"mappings":";;;;AA2CO,MAAM,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AC9B,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAiB,EAAA;AAC7B,IAAI,IAAA,CAAC,KAAK,OAAS,EAAA;AACjB,MAAA,IAAA,CAAK,UAAU,EAAC;AAAA;AAGlB,IAAK,IAAA,CAAA,OAAA,CAAQ,IAAK,CAAA,GAAG,KAAK,CAAA;AAC1B,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAY,KAAkB,EAAA;AAC5B,IAAK,IAAA,CAAA,KAAA,CAAM,IAAK,CAAA,GAAG,KAAK,CAAA;AACxB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"carousel.js","sourcesContent":["import { Action } from '../actions';\nimport { IElement, Element as $Element } from '../base';\nimport { VerticalAlignment } from '../common';\nimport { Element } from '../element';\nimport { Layout } from '../layouts';\nimport { IBackgroundImage } from '../medias';\n\nimport { ContainerStyle } from './container';\n\n/**\n * A carousel with sliding pages.\n */\nexport interface ICarousel extends IElement {\n type: 'Carousel';\n\n /**\n * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding.\n */\n bleed?: boolean;\n\n /**\n * The minimum height, in pixels, of the container, in the <number>px format.\n * @example `<number>px`\n */\n minHeight?: string;\n\n /**\n * Controls the type of animation to use to navigate between pages.\n * @default `slide`\n */\n pageAnimation?: 'slide' | 'crossFade' | 'none';\n\n /**\n * The pages in the carousel.\n */\n pages: ICarouselPage[];\n}\n\nexport type CarouselOptions = Omit<ICarousel, 'type' | 'pages'>;\n\n/**\n * A carousel with sliding pages.\n */\nexport class Carousel extends $Element implements ICarousel {\n type: 'Carousel';\n\n /**\n * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding.\n */\n bleed?: boolean;\n\n /**\n * The minimum height, in pixels, of the container, in the <number>px format.\n * @example `<number>px`\n */\n minHeight?: string;\n\n /**\n * Controls the type of animation to use to navigate between pages.\n * @default `slide`\n */\n pageAnimation?: 'slide' | 'crossFade' | 'none';\n\n /**\n * The pages in the carousel.\n */\n pages: ICarouselPage[];\n\n constructor(...pages: ICarouselPage[]) {\n super();\n this.type = 'Carousel';\n this.pages = pages;\n }\n\n withOptions(value: CarouselOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withBleed(value = true) {\n this.bleed = value;\n return this;\n }\n\n withMinHeight(value: string) {\n this.minHeight = value;\n return this;\n }\n\n withPageAnimation(value: 'slide' | 'crossFade' | 'none' = 'slide') {\n this.pageAnimation = value;\n return this;\n }\n\n addPages(...value: ICarouselPage[]) {\n this.pages.push(...value);\n return this;\n }\n}\n\n/**\n * A page inside a Carousel element.\n */\nexport interface ICarouselPage extends IElement {\n type: 'CarouselPage';\n\n /**\n * The card elements to render inside the `CarouselPage`.\n */\n items: Element[];\n\n /**\n * Specifies the background image. Acceptable formats are `PNG`, `JPEG`, and `GIF`\n */\n backgroundImage?: IBackgroundImage | string;\n\n /**\n * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.\n */\n layouts?: Array<Layout>;\n\n /**\n * The maximum height, in pixels, of the container, in the <number>px format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed.\n * @example `<number>px`\n */\n maxHeight?: string;\n\n /**\n * The minimum height, in pixels, of the container, in the <number>px format.\n * @example `<number>px`\n */\n minHeight?: string;\n\n /**\n * Controls if the container should have rounded corners.\n * @default false\n */\n roundedCorners?: boolean;\n\n /**\n * Controls if the content of the card is to be rendered left-to-right or right-to-left.\n */\n rtl?: boolean;\n\n /**\n * Controls if a border should be displayed around the container.\n * @default false\n */\n showBorder?: boolean;\n\n /**\n * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met.\n */\n style?: ContainerStyle;\n\n /**\n * Controls how the container's content should be vertically aligned.\n */\n verticalContentAlignment?: VerticalAlignment;\n\n /**\n * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported.\n */\n selectAction?: Action;\n}\n\nexport type CarouselPageOptions = Omit<ICarouselPage, 'type' | 'items'>;\n\n/**\n * A page inside a Carousel element.\n */\nexport class CarouselPage extends $Element implements ICarouselPage {\n type: 'CarouselPage';\n\n /**\n * The card elements to render inside the `CarouselPage`.\n */\n items: Element[];\n\n /**\n * Specifies the background image. Acceptable formats are `PNG`, `JPEG`, and `GIF`\n */\n backgroundImage?: IBackgroundImage | string;\n\n /**\n * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.\n */\n layouts?: Array<Layout>;\n\n /**\n * The maximum height, in pixels, of the container, in the <number>px format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed.\n * @example `<number>px`\n */\n maxHeight?: string;\n\n /**\n * The minimum height, in pixels, of the container, in the <number>px format.\n * @example `<number>px`\n */\n minHeight?: string;\n\n /**\n * Controls if the container should have rounded corners.\n * @default false\n */\n roundedCorners?: boolean;\n\n /**\n * Controls if the content of the card is to be rendered left-to-right or right-to-left.\n */\n rtl?: boolean;\n\n /**\n * Controls if a border should be displayed around the container.\n * @default false\n */\n showBorder?: boolean;\n\n /**\n * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met.\n */\n style?: ContainerStyle;\n\n /**\n * Controls how the container's content should be vertically aligned.\n */\n verticalContentAlignment?: VerticalAlignment;\n\n /**\n * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported.\n */\n selectAction?: Action;\n\n constructor(...items: Element[]) {\n super();\n this.type = 'CarouselPage';\n this.items = items;\n }\n\n withOptions(value: CarouselPageOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withBackgroundImage(value: IBackgroundImage | string) {\n this.backgroundImage = value;\n return this;\n }\n\n withMinHeight(value: string) {\n this.minHeight = value;\n return this;\n }\n\n withRoundedCorners(value = true) {\n this.roundedCorners = value;\n return this;\n }\n\n withRtl(value = true) {\n this.rtl = value;\n return this;\n }\n\n withShowBorder(value = true) {\n this.showBorder = value;\n return this;\n }\n\n withStyle(value: ContainerStyle) {\n this.style = value;\n return this;\n }\n\n withVeritcalAlignment(value: VerticalAlignment) {\n this.verticalContentAlignment = value;\n return this;\n }\n\n withSelectAction(value: Action) {\n this.selectAction = value;\n return this;\n }\n\n addLayouts(...value: Layout[]) {\n if (!this.layouts) {\n this.layouts = [];\n }\n\n this.layouts.push(...value);\n return this;\n }\n\n addCards(...value: Element[]) {\n this.items.push(...value);\n return this;\n }\n}\n"]}
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import { Element } from '../base';
|
|
2
|
-
|
|
3
|
-
class Carousel extends Element {
|
|
4
|
-
type;
|
|
5
|
-
/**
|
|
6
|
-
* Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding.
|
|
7
|
-
*/
|
|
8
|
-
bleed;
|
|
9
|
-
/**
|
|
10
|
-
* The minimum height, in pixels, of the container, in the <number>px format.
|
|
11
|
-
* @example `<number>px`
|
|
12
|
-
*/
|
|
13
|
-
minHeight;
|
|
14
|
-
/**
|
|
15
|
-
* Controls the type of animation to use to navigate between pages.
|
|
16
|
-
* @default `slide`
|
|
17
|
-
*/
|
|
18
|
-
pageAnimation;
|
|
19
|
-
/**
|
|
20
|
-
* The pages in the carousel.
|
|
21
|
-
*/
|
|
22
|
-
pages;
|
|
23
|
-
constructor(...pages) {
|
|
24
|
-
super();
|
|
25
|
-
this.type = "Carousel";
|
|
26
|
-
this.pages = pages;
|
|
27
|
-
}
|
|
28
|
-
withOptions(value) {
|
|
29
|
-
Object.assign(this, value);
|
|
30
|
-
return this;
|
|
31
|
-
}
|
|
32
|
-
withBleed(value = true) {
|
|
33
|
-
this.bleed = value;
|
|
34
|
-
return this;
|
|
35
|
-
}
|
|
36
|
-
withMinHeight(value) {
|
|
37
|
-
this.minHeight = value;
|
|
38
|
-
return this;
|
|
39
|
-
}
|
|
40
|
-
withPageAnimation(value = "slide") {
|
|
41
|
-
this.pageAnimation = value;
|
|
42
|
-
return this;
|
|
43
|
-
}
|
|
44
|
-
addPages(...value) {
|
|
45
|
-
this.pages.push(...value);
|
|
46
|
-
return this;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
class CarouselPage extends Element {
|
|
50
|
-
type;
|
|
51
|
-
/**
|
|
52
|
-
* The card elements to render inside the `CarouselPage`.
|
|
53
|
-
*/
|
|
54
|
-
items;
|
|
55
|
-
/**
|
|
56
|
-
* Specifies the background image. Acceptable formats are `PNG`, `JPEG`, and `GIF`
|
|
57
|
-
*/
|
|
58
|
-
backgroundImage;
|
|
59
|
-
/**
|
|
60
|
-
* The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.
|
|
61
|
-
*/
|
|
62
|
-
layouts;
|
|
63
|
-
/**
|
|
64
|
-
* The maximum height, in pixels, of the container, in the <number>px format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed.
|
|
65
|
-
* @example `<number>px`
|
|
66
|
-
*/
|
|
67
|
-
maxHeight;
|
|
68
|
-
/**
|
|
69
|
-
* The minimum height, in pixels, of the container, in the <number>px format.
|
|
70
|
-
* @example `<number>px`
|
|
71
|
-
*/
|
|
72
|
-
minHeight;
|
|
73
|
-
/**
|
|
74
|
-
* Controls if the container should have rounded corners.
|
|
75
|
-
* @default false
|
|
76
|
-
*/
|
|
77
|
-
roundedCorners;
|
|
78
|
-
/**
|
|
79
|
-
* Controls if the content of the card is to be rendered left-to-right or right-to-left.
|
|
80
|
-
*/
|
|
81
|
-
rtl;
|
|
82
|
-
/**
|
|
83
|
-
* Controls if a border should be displayed around the container.
|
|
84
|
-
* @default false
|
|
85
|
-
*/
|
|
86
|
-
showBorder;
|
|
87
|
-
/**
|
|
88
|
-
* The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met.
|
|
89
|
-
*/
|
|
90
|
-
style;
|
|
91
|
-
/**
|
|
92
|
-
* Controls how the container's content should be vertically aligned.
|
|
93
|
-
*/
|
|
94
|
-
verticalContentAlignment;
|
|
95
|
-
/**
|
|
96
|
-
* An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported.
|
|
97
|
-
*/
|
|
98
|
-
selectAction;
|
|
99
|
-
constructor(...items) {
|
|
100
|
-
super();
|
|
101
|
-
this.type = "CarouselPage";
|
|
102
|
-
this.items = items;
|
|
103
|
-
}
|
|
104
|
-
withOptions(value) {
|
|
105
|
-
Object.assign(this, value);
|
|
106
|
-
return this;
|
|
107
|
-
}
|
|
108
|
-
withBackgroundImage(value) {
|
|
109
|
-
this.backgroundImage = value;
|
|
110
|
-
return this;
|
|
111
|
-
}
|
|
112
|
-
withMinHeight(value) {
|
|
113
|
-
this.minHeight = value;
|
|
114
|
-
return this;
|
|
115
|
-
}
|
|
116
|
-
withRoundedCorners(value = true) {
|
|
117
|
-
this.roundedCorners = value;
|
|
118
|
-
return this;
|
|
119
|
-
}
|
|
120
|
-
withRtl(value = true) {
|
|
121
|
-
this.rtl = value;
|
|
122
|
-
return this;
|
|
123
|
-
}
|
|
124
|
-
withShowBorder(value = true) {
|
|
125
|
-
this.showBorder = value;
|
|
126
|
-
return this;
|
|
127
|
-
}
|
|
128
|
-
withStyle(value) {
|
|
129
|
-
this.style = value;
|
|
130
|
-
return this;
|
|
131
|
-
}
|
|
132
|
-
withVeritcalAlignment(value) {
|
|
133
|
-
this.verticalContentAlignment = value;
|
|
134
|
-
return this;
|
|
135
|
-
}
|
|
136
|
-
withSelectAction(value) {
|
|
137
|
-
this.selectAction = value;
|
|
138
|
-
return this;
|
|
139
|
-
}
|
|
140
|
-
addLayouts(...value) {
|
|
141
|
-
if (!this.layouts) {
|
|
142
|
-
this.layouts = [];
|
|
143
|
-
}
|
|
144
|
-
this.layouts.push(...value);
|
|
145
|
-
return this;
|
|
146
|
-
}
|
|
147
|
-
addCards(...value) {
|
|
148
|
-
this.items.push(...value);
|
|
149
|
-
return this;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export { Carousel, CarouselPage };
|
|
154
|
-
//# sourceMappingURL=carousel.mjs.map
|
|
155
|
-
//# sourceMappingURL=carousel.mjs.map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IAAA,IAAA,CAAK,wBAA2B,GAAA,KAAA;AAChC,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,iBAAiB,KAAe,EAAA;AAC9B,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAiB,EAAA;AAC7B,IAAI,IAAA,CAAC,KAAK,OAAS,EAAA;AACjB,MAAA,IAAA,CAAK,UAAU,EAAC;AAAA;AAGlB,IAAK,IAAA,CAAA,OAAA,CAAQ,IAAK,CAAA,GAAG,KAAK,CAAA;AAC1B,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAY,KAAkB,EAAA;AAC5B,IAAK,IAAA,CAAA,KAAA,CAAM,IAAK,CAAA,GAAG,KAAK,CAAA;AACxB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"carousel.mjs","sourcesContent":["import { Action } from '../actions';\nimport { IElement, Element as $Element } from '../base';\nimport { VerticalAlignment } from '../common';\nimport { Element } from '../element';\nimport { Layout } from '../layouts';\nimport { IBackgroundImage } from '../medias';\n\nimport { ContainerStyle } from './container';\n\n/**\n * A carousel with sliding pages.\n */\nexport interface ICarousel extends IElement {\n type: 'Carousel';\n\n /**\n * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding.\n */\n bleed?: boolean;\n\n /**\n * The minimum height, in pixels, of the container, in the <number>px format.\n * @example `<number>px`\n */\n minHeight?: string;\n\n /**\n * Controls the type of animation to use to navigate between pages.\n * @default `slide`\n */\n pageAnimation?: 'slide' | 'crossFade' | 'none';\n\n /**\n * The pages in the carousel.\n */\n pages: ICarouselPage[];\n}\n\nexport type CarouselOptions = Omit<ICarousel, 'type' | 'pages'>;\n\n/**\n * A carousel with sliding pages.\n */\nexport class Carousel extends $Element implements ICarousel {\n type: 'Carousel';\n\n /**\n * Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding.\n */\n bleed?: boolean;\n\n /**\n * The minimum height, in pixels, of the container, in the <number>px format.\n * @example `<number>px`\n */\n minHeight?: string;\n\n /**\n * Controls the type of animation to use to navigate between pages.\n * @default `slide`\n */\n pageAnimation?: 'slide' | 'crossFade' | 'none';\n\n /**\n * The pages in the carousel.\n */\n pages: ICarouselPage[];\n\n constructor(...pages: ICarouselPage[]) {\n super();\n this.type = 'Carousel';\n this.pages = pages;\n }\n\n withOptions(value: CarouselOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withBleed(value = true) {\n this.bleed = value;\n return this;\n }\n\n withMinHeight(value: string) {\n this.minHeight = value;\n return this;\n }\n\n withPageAnimation(value: 'slide' | 'crossFade' | 'none' = 'slide') {\n this.pageAnimation = value;\n return this;\n }\n\n addPages(...value: ICarouselPage[]) {\n this.pages.push(...value);\n return this;\n }\n}\n\n/**\n * A page inside a Carousel element.\n */\nexport interface ICarouselPage extends IElement {\n type: 'CarouselPage';\n\n /**\n * The card elements to render inside the `CarouselPage`.\n */\n items: Element[];\n\n /**\n * Specifies the background image. Acceptable formats are `PNG`, `JPEG`, and `GIF`\n */\n backgroundImage?: IBackgroundImage | string;\n\n /**\n * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.\n */\n layouts?: Array<Layout>;\n\n /**\n * The maximum height, in pixels, of the container, in the <number>px format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed.\n * @example `<number>px`\n */\n maxHeight?: string;\n\n /**\n * The minimum height, in pixels, of the container, in the <number>px format.\n * @example `<number>px`\n */\n minHeight?: string;\n\n /**\n * Controls if the container should have rounded corners.\n * @default false\n */\n roundedCorners?: boolean;\n\n /**\n * Controls if the content of the card is to be rendered left-to-right or right-to-left.\n */\n rtl?: boolean;\n\n /**\n * Controls if a border should be displayed around the container.\n * @default false\n */\n showBorder?: boolean;\n\n /**\n * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met.\n */\n style?: ContainerStyle;\n\n /**\n * Controls how the container's content should be vertically aligned.\n */\n verticalContentAlignment?: VerticalAlignment;\n\n /**\n * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported.\n */\n selectAction?: Action;\n}\n\nexport type CarouselPageOptions = Omit<ICarouselPage, 'type' | 'items'>;\n\n/**\n * A page inside a Carousel element.\n */\nexport class CarouselPage extends $Element implements ICarouselPage {\n type: 'CarouselPage';\n\n /**\n * The card elements to render inside the `CarouselPage`.\n */\n items: Element[];\n\n /**\n * Specifies the background image. Acceptable formats are `PNG`, `JPEG`, and `GIF`\n */\n backgroundImage?: IBackgroundImage | string;\n\n /**\n * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.\n */\n layouts?: Array<Layout>;\n\n /**\n * The maximum height, in pixels, of the container, in the <number>px format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed.\n * @example `<number>px`\n */\n maxHeight?: string;\n\n /**\n * The minimum height, in pixels, of the container, in the <number>px format.\n * @example `<number>px`\n */\n minHeight?: string;\n\n /**\n * Controls if the container should have rounded corners.\n * @default false\n */\n roundedCorners?: boolean;\n\n /**\n * Controls if the content of the card is to be rendered left-to-right or right-to-left.\n */\n rtl?: boolean;\n\n /**\n * Controls if a border should be displayed around the container.\n * @default false\n */\n showBorder?: boolean;\n\n /**\n * The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met.\n */\n style?: ContainerStyle;\n\n /**\n * Controls how the container's content should be vertically aligned.\n */\n verticalContentAlignment?: VerticalAlignment;\n\n /**\n * An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported.\n */\n selectAction?: Action;\n\n constructor(...items: Element[]) {\n super();\n this.type = 'CarouselPage';\n this.items = items;\n }\n\n withOptions(value: CarouselPageOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withBackgroundImage(value: IBackgroundImage | string) {\n this.backgroundImage = value;\n return this;\n }\n\n withMinHeight(value: string) {\n this.minHeight = value;\n return this;\n }\n\n withRoundedCorners(value = true) {\n this.roundedCorners = value;\n return this;\n }\n\n withRtl(value = true) {\n this.rtl = value;\n return this;\n }\n\n withShowBorder(value = true) {\n this.showBorder = value;\n return this;\n }\n\n withStyle(value: ContainerStyle) {\n this.style = value;\n return this;\n }\n\n withVeritcalAlignment(value: VerticalAlignment) {\n this.verticalContentAlignment = value;\n return this;\n }\n\n withSelectAction(value: Action) {\n this.selectAction = value;\n return this;\n }\n\n addLayouts(...value: Layout[]) {\n if (!this.layouts) {\n this.layouts = [];\n }\n\n this.layouts.push(...value);\n return this;\n }\n\n addCards(...value: Element[]) {\n this.items.push(...value);\n return this;\n }\n}\n"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import '../common/horizontal-alignment.mjs';
|
|
2
|
-
export { af as ColumnSet, ae as ColumnSetOptions, ad as IColumnSet } from '../charts/donut.mjs';
|
|
3
|
-
import '../actions/execute.mjs';
|
|
4
|
-
import '../common/associated-inputs.mjs';
|
|
5
|
-
import '../actions/base.mjs';
|
|
6
|
-
import '../actions/open-url.mjs';
|
|
7
|
-
import '../common/vertical-alignment.mjs';
|
|
8
|
-
import '../common/refresh.mjs';
|
|
9
|
-
import '../common/auth/auth.mjs';
|
|
10
|
-
import '../common/auth/auth-card-button.mjs';
|
|
11
|
-
import '../common/auth/token-exchange-resource.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
|
-
import '../common/horizontal-alignment.js';
|
|
2
|
-
export { af as ColumnSet, ae as ColumnSetOptions, ad as IColumnSet } from '../charts/donut.js';
|
|
3
|
-
import '../actions/execute.js';
|
|
4
|
-
import '../common/associated-inputs.js';
|
|
5
|
-
import '../actions/base.js';
|
|
6
|
-
import '../actions/open-url.js';
|
|
7
|
-
import '../common/vertical-alignment.js';
|
|
8
|
-
import '../common/refresh.js';
|
|
9
|
-
import '../common/auth/auth.js';
|
|
10
|
-
import '../common/auth/auth-card-button.js';
|
|
11
|
-
import '../common/auth/token-exchange-resource.js';
|
|
12
|
-
import '../common/spacing.js';
|
|
13
|
-
import '../common/target-width.js';
|
|
14
|
-
import '../charts/color.js';
|
|
15
|
-
import '../layouts/index.js';
|
|
16
|
-
import '../layouts/area-grid.js';
|
|
17
|
-
import '../layouts/flow.js';
|
|
18
|
-
import '../layouts/stack.js';
|
|
19
|
-
import '../medias/background-image.js';
|
|
20
|
-
import '../common/color.js';
|
|
21
|
-
import '../common/font.js';
|
|
22
|
-
import '../actions/submit/submit.js';
|
|
23
|
-
import '../actions/submit/im-back.js';
|
|
24
|
-
import '../actions/submit/invoke.js';
|
|
25
|
-
import '../actions/submit/message-back.js';
|
|
26
|
-
import '../actions/submit/sign-in.js';
|
|
27
|
-
import '../actions/submit/task-fetch.js';
|
|
28
|
-
import '../actions/submit/collab-stage.js';
|
|
29
|
-
import '../common/tab-info.js';
|
|
30
|
-
import '../actions/toggle-visibility.js';
|
|
31
|
-
import '../common/target-element.js';
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var base = require('./base');
|
|
4
|
-
|
|
5
|
-
class ColumnSet extends base.ContainerElement {
|
|
6
|
-
type;
|
|
7
|
-
/**
|
|
8
|
-
* The array of `Columns` to divide the region into.
|
|
9
|
-
*/
|
|
10
|
-
columns;
|
|
11
|
-
/**
|
|
12
|
-
* Specifies the minimum height of the column in pixels, like `\"80px\"`.
|
|
13
|
-
*/
|
|
14
|
-
minHeight;
|
|
15
|
-
/**
|
|
16
|
-
* Style hint for `ColumnSet`.
|
|
17
|
-
*/
|
|
18
|
-
style;
|
|
19
|
-
constructor(...columns) {
|
|
20
|
-
super();
|
|
21
|
-
this.type = "ColumnSet";
|
|
22
|
-
this.columns = columns;
|
|
23
|
-
}
|
|
24
|
-
withOptions(value) {
|
|
25
|
-
Object.assign(this, value);
|
|
26
|
-
return this;
|
|
27
|
-
}
|
|
28
|
-
withMinHeight(value) {
|
|
29
|
-
this.minHeight = value;
|
|
30
|
-
return this;
|
|
31
|
-
}
|
|
32
|
-
withStyle(value) {
|
|
33
|
-
this.style = value;
|
|
34
|
-
return this;
|
|
35
|
-
}
|
|
36
|
-
addColumns(...value) {
|
|
37
|
-
this.columns.push(...value);
|
|
38
|
-
return this;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
exports.ColumnSet = ColumnSet;
|
|
43
|
-
//# sourceMappingURL=column-set.js.map
|
|
44
|
-
//# sourceMappingURL=column-set.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/containers/column-set.ts"],"names":["ContainerElement"],"mappings":";;;;AAsCO,MAAM,kBAAkBA,qBAAuC,CAAA;AAAA,EACpE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,SAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,eAAe,OAAoB,EAAA;AACjC,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,WAAA;AACZ,IAAA,IAAA,CAAK,OAAU,GAAA,OAAA;AAAA;AACjB,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAe,EAAA;AAC3B,IAAA,IAAA,CAAK,SAAY,GAAA,KAAA;AACjB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAuB,EAAA;AAC/B,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,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","file":"column-set.js","sourcesContent":["import { HorizontalAlignment } from '../common';\n\nimport { IContainerElement, ContainerElement } from './base';\nimport { IColumn } from './column';\nimport { ContainerStyle } from './container';\n\n/**\n * ColumnSet divides a region into Columns, allowing elements to sit side-by-side.\n */\nexport interface IColumnSet extends IContainerElement {\n type: 'ColumnSet';\n\n /**\n * The array of `Columns` to divide the region into.\n */\n columns?: IColumn[];\n\n /**\n * Specifies the minimum height of the column in pixels, like `\\\"80px\\\"`.\n */\n minHeight?: string;\n\n /**\n * Style hint for `ColumnSet`.\n */\n style?: ContainerStyle | null;\n\n /**\n * Controls the horizontal alignment of the ColumnSet. When not specified, the value of horizontalAlignment is inherited from the parent container. If no parent container has horizontalAlignment set, it defaults to Left.\n */\n horizontalAlignment?: HorizontalAlignment | null;\n}\n\nexport type ColumnSetOptions = Omit<IContainerElement, 'type'>;\n\n/**\n * ColumnSet divides a region into Columns, allowing elements to sit side-by-side.\n */\nexport class ColumnSet extends ContainerElement implements IColumnSet {\n type: 'ColumnSet';\n\n /**\n * The array of `Columns` to divide the region into.\n */\n columns: IColumn[];\n\n /**\n * Specifies the minimum height of the column in pixels, like `\\\"80px\\\"`.\n */\n minHeight?: string;\n\n /**\n * Style hint for `ColumnSet`.\n */\n style?: ContainerStyle | null;\n\n constructor(...columns: IColumn[]) {\n super();\n this.type = 'ColumnSet';\n this.columns = columns;\n }\n\n withOptions(value: ColumnSetOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withMinHeight(value: string) {\n this.minHeight = value;\n return this;\n }\n\n withStyle(value: ContainerStyle) {\n this.style = value;\n return this;\n }\n\n addColumns(...value: IColumn[]) {\n this.columns.push(...value);\n return this;\n }\n}\n"]}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ContainerElement } from './base';
|
|
2
|
-
|
|
3
|
-
class ColumnSet extends ContainerElement {
|
|
4
|
-
type;
|
|
5
|
-
/**
|
|
6
|
-
* The array of `Columns` to divide the region into.
|
|
7
|
-
*/
|
|
8
|
-
columns;
|
|
9
|
-
/**
|
|
10
|
-
* Specifies the minimum height of the column in pixels, like `\"80px\"`.
|
|
11
|
-
*/
|
|
12
|
-
minHeight;
|
|
13
|
-
/**
|
|
14
|
-
* Style hint for `ColumnSet`.
|
|
15
|
-
*/
|
|
16
|
-
style;
|
|
17
|
-
constructor(...columns) {
|
|
18
|
-
super();
|
|
19
|
-
this.type = "ColumnSet";
|
|
20
|
-
this.columns = columns;
|
|
21
|
-
}
|
|
22
|
-
withOptions(value) {
|
|
23
|
-
Object.assign(this, value);
|
|
24
|
-
return this;
|
|
25
|
-
}
|
|
26
|
-
withMinHeight(value) {
|
|
27
|
-
this.minHeight = value;
|
|
28
|
-
return this;
|
|
29
|
-
}
|
|
30
|
-
withStyle(value) {
|
|
31
|
-
this.style = value;
|
|
32
|
-
return this;
|
|
33
|
-
}
|
|
34
|
-
addColumns(...value) {
|
|
35
|
-
this.columns.push(...value);
|
|
36
|
-
return this;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export { ColumnSet };
|
|
41
|
-
//# sourceMappingURL=column-set.mjs.map
|
|
42
|
-
//# sourceMappingURL=column-set.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/containers/column-set.ts"],"names":[],"mappings":";;AAsCO,MAAM,kBAAkB,gBAAuC,CAAA;AAAA,EACpE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,SAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,eAAe,OAAoB,EAAA;AACjC,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,WAAA;AACZ,IAAA,IAAA,CAAK,OAAU,GAAA,OAAA;AAAA;AACjB,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAe,EAAA;AAC3B,IAAA,IAAA,CAAK,SAAY,GAAA,KAAA;AACjB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAuB,EAAA;AAC/B,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,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","file":"column-set.mjs","sourcesContent":["import { HorizontalAlignment } from '../common';\n\nimport { IContainerElement, ContainerElement } from './base';\nimport { IColumn } from './column';\nimport { ContainerStyle } from './container';\n\n/**\n * ColumnSet divides a region into Columns, allowing elements to sit side-by-side.\n */\nexport interface IColumnSet extends IContainerElement {\n type: 'ColumnSet';\n\n /**\n * The array of `Columns` to divide the region into.\n */\n columns?: IColumn[];\n\n /**\n * Specifies the minimum height of the column in pixels, like `\\\"80px\\\"`.\n */\n minHeight?: string;\n\n /**\n * Style hint for `ColumnSet`.\n */\n style?: ContainerStyle | null;\n\n /**\n * Controls the horizontal alignment of the ColumnSet. When not specified, the value of horizontalAlignment is inherited from the parent container. If no parent container has horizontalAlignment set, it defaults to Left.\n */\n horizontalAlignment?: HorizontalAlignment | null;\n}\n\nexport type ColumnSetOptions = Omit<IContainerElement, 'type'>;\n\n/**\n * ColumnSet divides a region into Columns, allowing elements to sit side-by-side.\n */\nexport class ColumnSet extends ContainerElement implements IColumnSet {\n type: 'ColumnSet';\n\n /**\n * The array of `Columns` to divide the region into.\n */\n columns: IColumn[];\n\n /**\n * Specifies the minimum height of the column in pixels, like `\\\"80px\\\"`.\n */\n minHeight?: string;\n\n /**\n * Style hint for `ColumnSet`.\n */\n style?: ContainerStyle | null;\n\n constructor(...columns: IColumn[]) {\n super();\n this.type = 'ColumnSet';\n this.columns = columns;\n }\n\n withOptions(value: ColumnSetOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withMinHeight(value: string) {\n this.minHeight = value;\n return this;\n }\n\n withStyle(value: ContainerStyle) {\n this.style = value;\n return this;\n }\n\n addColumns(...value: IColumn[]) {\n this.columns.push(...value);\n return this;\n }\n}\n"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import '../common/vertical-alignment.mjs';
|
|
2
|
-
export { ac as Column, ab as ColumnOptions, aa as IColumn } from '../charts/donut.mjs';
|
|
3
|
-
import '../actions/execute.mjs';
|
|
4
|
-
import '../common/associated-inputs.mjs';
|
|
5
|
-
import '../actions/base.mjs';
|
|
6
|
-
import '../actions/open-url.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
|
-
import '../common/vertical-alignment.js';
|
|
2
|
-
export { ac as Column, ab as ColumnOptions, aa as IColumn } from '../charts/donut.js';
|
|
3
|
-
import '../actions/execute.js';
|
|
4
|
-
import '../common/associated-inputs.js';
|
|
5
|
-
import '../actions/base.js';
|
|
6
|
-
import '../actions/open-url.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';
|