@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
package/dist/layouts/flow.d.mts
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { HorizontalAlignment } from '../common/horizontal-alignment.mjs';
|
|
2
|
-
import { VerticalAlignment } from '../common/vertical-alignment.mjs';
|
|
3
|
-
import { Spacing } from '../common/spacing.mjs';
|
|
4
|
-
import { TargetWidth } from '../common/target-width.mjs';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* A layout that spreads elements horizontally and wraps them across multiple rows, as needed.
|
|
8
|
-
*/
|
|
9
|
-
interface IFlowLayout {
|
|
10
|
-
type: 'Layout.Flow';
|
|
11
|
-
/**
|
|
12
|
-
* The space between items.
|
|
13
|
-
* @default `default`
|
|
14
|
-
*/
|
|
15
|
-
columnSpacing?: Spacing;
|
|
16
|
-
/**
|
|
17
|
-
* Controls how the content of the container should be horizontally aligned.
|
|
18
|
-
* @default `center`
|
|
19
|
-
*/
|
|
20
|
-
horizontalItemsAlignment?: HorizontalAlignment;
|
|
21
|
-
/**
|
|
22
|
-
* Controls how item should fit inside the container.
|
|
23
|
-
* @default `Fit`
|
|
24
|
-
*/
|
|
25
|
-
itemFit?: 'Fit' | 'Fill';
|
|
26
|
-
/**
|
|
27
|
-
* The width, in pixels, of each item, in the <number>px format. Should not be used if maxItemWidth and/or minItemWidth are set.
|
|
28
|
-
* @example '<number>px'
|
|
29
|
-
*/
|
|
30
|
-
itemWidth?: string;
|
|
31
|
-
/**
|
|
32
|
-
* The maximum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.
|
|
33
|
-
* @example '<number>px'
|
|
34
|
-
*/
|
|
35
|
-
maxItemWidth?: string;
|
|
36
|
-
/**
|
|
37
|
-
* The minimum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.
|
|
38
|
-
* @example '<number>px'
|
|
39
|
-
*/
|
|
40
|
-
minItemWidth?: string;
|
|
41
|
-
/**
|
|
42
|
-
* The space between rows of items.
|
|
43
|
-
* @default `default`
|
|
44
|
-
*/
|
|
45
|
-
rowSpacing?: Spacing;
|
|
46
|
-
/**
|
|
47
|
-
* Controls for which card width the layout should be used.
|
|
48
|
-
*/
|
|
49
|
-
targetWidth?: TargetWidth;
|
|
50
|
-
/**
|
|
51
|
-
* Controls how the content of the container should be vertically aligned.
|
|
52
|
-
* @default `top`
|
|
53
|
-
*/
|
|
54
|
-
verticalItemsAlignment?: VerticalAlignment;
|
|
55
|
-
}
|
|
56
|
-
type FlowLayoutOptions = Omit<IFlowLayout, 'type'>;
|
|
57
|
-
/**
|
|
58
|
-
* A layout that spreads elements horizontally and wraps them across multiple rows, as needed.
|
|
59
|
-
*/
|
|
60
|
-
declare class FlowLayout implements IFlowLayout {
|
|
61
|
-
type: 'Layout.Flow';
|
|
62
|
-
/**
|
|
63
|
-
* The space between items.
|
|
64
|
-
* @default `default`
|
|
65
|
-
*/
|
|
66
|
-
columnSpacing?: Spacing;
|
|
67
|
-
/**
|
|
68
|
-
* Controls how the content of the container should be horizontally aligned.
|
|
69
|
-
* @default `center`
|
|
70
|
-
*/
|
|
71
|
-
horizontalItemsAlignment?: HorizontalAlignment;
|
|
72
|
-
/**
|
|
73
|
-
* Controls how item should fit inside the container.
|
|
74
|
-
* @default `Fit`
|
|
75
|
-
*/
|
|
76
|
-
itemFit?: 'Fit' | 'Fill';
|
|
77
|
-
/**
|
|
78
|
-
* The width, in pixels, of each item, in the <number>px format. Should not be used if maxItemWidth and/or minItemWidth are set.
|
|
79
|
-
* @example '<number>px'
|
|
80
|
-
*/
|
|
81
|
-
itemWidth?: string;
|
|
82
|
-
/**
|
|
83
|
-
* The maximum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.
|
|
84
|
-
* @example '<number>px'
|
|
85
|
-
*/
|
|
86
|
-
maxItemWidth?: string;
|
|
87
|
-
/**
|
|
88
|
-
* The minimum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.
|
|
89
|
-
* @example '<number>px'
|
|
90
|
-
*/
|
|
91
|
-
minItemWidth?: string;
|
|
92
|
-
/**
|
|
93
|
-
* The space between rows of items.
|
|
94
|
-
* @default `default`
|
|
95
|
-
*/
|
|
96
|
-
rowSpacing?: Spacing;
|
|
97
|
-
/**
|
|
98
|
-
* Controls for which card width the layout should be used.
|
|
99
|
-
*/
|
|
100
|
-
targetWidth?: TargetWidth;
|
|
101
|
-
/**
|
|
102
|
-
* Controls how the content of the container should be vertically aligned.
|
|
103
|
-
* @default `top`
|
|
104
|
-
*/
|
|
105
|
-
verticalItemsAlignment?: VerticalAlignment;
|
|
106
|
-
constructor(options?: FlowLayoutOptions);
|
|
107
|
-
static from(options: FlowLayoutOptions): FlowLayout;
|
|
108
|
-
withColumnSpacing(value: Spacing): this;
|
|
109
|
-
withHorizontalAlignment(value: HorizontalAlignment): this;
|
|
110
|
-
withItemFit(value: 'Fit' | 'Fill'): this;
|
|
111
|
-
withItemWidth(value: string): this;
|
|
112
|
-
withItemMinWidth(value: string): this;
|
|
113
|
-
withItemMaxWidth(value: string): this;
|
|
114
|
-
withRowSpacing(value: Spacing): this;
|
|
115
|
-
withTargetWidth(value: TargetWidth): this;
|
|
116
|
-
withVerticalAlignment(value: VerticalAlignment): this;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export { FlowLayout, type FlowLayoutOptions, type IFlowLayout };
|
package/dist/layouts/flow.d.ts
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { HorizontalAlignment } from '../common/horizontal-alignment.js';
|
|
2
|
-
import { VerticalAlignment } from '../common/vertical-alignment.js';
|
|
3
|
-
import { Spacing } from '../common/spacing.js';
|
|
4
|
-
import { TargetWidth } from '../common/target-width.js';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* A layout that spreads elements horizontally and wraps them across multiple rows, as needed.
|
|
8
|
-
*/
|
|
9
|
-
interface IFlowLayout {
|
|
10
|
-
type: 'Layout.Flow';
|
|
11
|
-
/**
|
|
12
|
-
* The space between items.
|
|
13
|
-
* @default `default`
|
|
14
|
-
*/
|
|
15
|
-
columnSpacing?: Spacing;
|
|
16
|
-
/**
|
|
17
|
-
* Controls how the content of the container should be horizontally aligned.
|
|
18
|
-
* @default `center`
|
|
19
|
-
*/
|
|
20
|
-
horizontalItemsAlignment?: HorizontalAlignment;
|
|
21
|
-
/**
|
|
22
|
-
* Controls how item should fit inside the container.
|
|
23
|
-
* @default `Fit`
|
|
24
|
-
*/
|
|
25
|
-
itemFit?: 'Fit' | 'Fill';
|
|
26
|
-
/**
|
|
27
|
-
* The width, in pixels, of each item, in the <number>px format. Should not be used if maxItemWidth and/or minItemWidth are set.
|
|
28
|
-
* @example '<number>px'
|
|
29
|
-
*/
|
|
30
|
-
itemWidth?: string;
|
|
31
|
-
/**
|
|
32
|
-
* The maximum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.
|
|
33
|
-
* @example '<number>px'
|
|
34
|
-
*/
|
|
35
|
-
maxItemWidth?: string;
|
|
36
|
-
/**
|
|
37
|
-
* The minimum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.
|
|
38
|
-
* @example '<number>px'
|
|
39
|
-
*/
|
|
40
|
-
minItemWidth?: string;
|
|
41
|
-
/**
|
|
42
|
-
* The space between rows of items.
|
|
43
|
-
* @default `default`
|
|
44
|
-
*/
|
|
45
|
-
rowSpacing?: Spacing;
|
|
46
|
-
/**
|
|
47
|
-
* Controls for which card width the layout should be used.
|
|
48
|
-
*/
|
|
49
|
-
targetWidth?: TargetWidth;
|
|
50
|
-
/**
|
|
51
|
-
* Controls how the content of the container should be vertically aligned.
|
|
52
|
-
* @default `top`
|
|
53
|
-
*/
|
|
54
|
-
verticalItemsAlignment?: VerticalAlignment;
|
|
55
|
-
}
|
|
56
|
-
type FlowLayoutOptions = Omit<IFlowLayout, 'type'>;
|
|
57
|
-
/**
|
|
58
|
-
* A layout that spreads elements horizontally and wraps them across multiple rows, as needed.
|
|
59
|
-
*/
|
|
60
|
-
declare class FlowLayout implements IFlowLayout {
|
|
61
|
-
type: 'Layout.Flow';
|
|
62
|
-
/**
|
|
63
|
-
* The space between items.
|
|
64
|
-
* @default `default`
|
|
65
|
-
*/
|
|
66
|
-
columnSpacing?: Spacing;
|
|
67
|
-
/**
|
|
68
|
-
* Controls how the content of the container should be horizontally aligned.
|
|
69
|
-
* @default `center`
|
|
70
|
-
*/
|
|
71
|
-
horizontalItemsAlignment?: HorizontalAlignment;
|
|
72
|
-
/**
|
|
73
|
-
* Controls how item should fit inside the container.
|
|
74
|
-
* @default `Fit`
|
|
75
|
-
*/
|
|
76
|
-
itemFit?: 'Fit' | 'Fill';
|
|
77
|
-
/**
|
|
78
|
-
* The width, in pixels, of each item, in the <number>px format. Should not be used if maxItemWidth and/or minItemWidth are set.
|
|
79
|
-
* @example '<number>px'
|
|
80
|
-
*/
|
|
81
|
-
itemWidth?: string;
|
|
82
|
-
/**
|
|
83
|
-
* The maximum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.
|
|
84
|
-
* @example '<number>px'
|
|
85
|
-
*/
|
|
86
|
-
maxItemWidth?: string;
|
|
87
|
-
/**
|
|
88
|
-
* The minimum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.
|
|
89
|
-
* @example '<number>px'
|
|
90
|
-
*/
|
|
91
|
-
minItemWidth?: string;
|
|
92
|
-
/**
|
|
93
|
-
* The space between rows of items.
|
|
94
|
-
* @default `default`
|
|
95
|
-
*/
|
|
96
|
-
rowSpacing?: Spacing;
|
|
97
|
-
/**
|
|
98
|
-
* Controls for which card width the layout should be used.
|
|
99
|
-
*/
|
|
100
|
-
targetWidth?: TargetWidth;
|
|
101
|
-
/**
|
|
102
|
-
* Controls how the content of the container should be vertically aligned.
|
|
103
|
-
* @default `top`
|
|
104
|
-
*/
|
|
105
|
-
verticalItemsAlignment?: VerticalAlignment;
|
|
106
|
-
constructor(options?: FlowLayoutOptions);
|
|
107
|
-
static from(options: FlowLayoutOptions): FlowLayout;
|
|
108
|
-
withColumnSpacing(value: Spacing): this;
|
|
109
|
-
withHorizontalAlignment(value: HorizontalAlignment): this;
|
|
110
|
-
withItemFit(value: 'Fit' | 'Fill'): this;
|
|
111
|
-
withItemWidth(value: string): this;
|
|
112
|
-
withItemMinWidth(value: string): this;
|
|
113
|
-
withItemMaxWidth(value: string): this;
|
|
114
|
-
withRowSpacing(value: Spacing): this;
|
|
115
|
-
withTargetWidth(value: TargetWidth): this;
|
|
116
|
-
withVerticalAlignment(value: VerticalAlignment): this;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export { FlowLayout, type FlowLayoutOptions, type IFlowLayout };
|
package/dist/layouts/flow.js
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
class FlowLayout {
|
|
4
|
-
type;
|
|
5
|
-
/**
|
|
6
|
-
* The space between items.
|
|
7
|
-
* @default `default`
|
|
8
|
-
*/
|
|
9
|
-
columnSpacing;
|
|
10
|
-
/**
|
|
11
|
-
* Controls how the content of the container should be horizontally aligned.
|
|
12
|
-
* @default `center`
|
|
13
|
-
*/
|
|
14
|
-
horizontalItemsAlignment;
|
|
15
|
-
/**
|
|
16
|
-
* Controls how item should fit inside the container.
|
|
17
|
-
* @default `Fit`
|
|
18
|
-
*/
|
|
19
|
-
itemFit;
|
|
20
|
-
/**
|
|
21
|
-
* The width, in pixels, of each item, in the <number>px format. Should not be used if maxItemWidth and/or minItemWidth are set.
|
|
22
|
-
* @example '<number>px'
|
|
23
|
-
*/
|
|
24
|
-
itemWidth;
|
|
25
|
-
/**
|
|
26
|
-
* The maximum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.
|
|
27
|
-
* @example '<number>px'
|
|
28
|
-
*/
|
|
29
|
-
maxItemWidth;
|
|
30
|
-
/**
|
|
31
|
-
* The minimum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.
|
|
32
|
-
* @example '<number>px'
|
|
33
|
-
*/
|
|
34
|
-
minItemWidth;
|
|
35
|
-
/**
|
|
36
|
-
* The space between rows of items.
|
|
37
|
-
* @default `default`
|
|
38
|
-
*/
|
|
39
|
-
rowSpacing;
|
|
40
|
-
/**
|
|
41
|
-
* Controls for which card width the layout should be used.
|
|
42
|
-
*/
|
|
43
|
-
targetWidth;
|
|
44
|
-
/**
|
|
45
|
-
* Controls how the content of the container should be vertically aligned.
|
|
46
|
-
* @default `top`
|
|
47
|
-
*/
|
|
48
|
-
verticalItemsAlignment;
|
|
49
|
-
constructor(options = {}) {
|
|
50
|
-
this.type = "Layout.Flow";
|
|
51
|
-
Object.assign(this, options);
|
|
52
|
-
}
|
|
53
|
-
static from(options) {
|
|
54
|
-
return new FlowLayout(options);
|
|
55
|
-
}
|
|
56
|
-
withColumnSpacing(value) {
|
|
57
|
-
this.columnSpacing = value;
|
|
58
|
-
return this;
|
|
59
|
-
}
|
|
60
|
-
withHorizontalAlignment(value) {
|
|
61
|
-
this.horizontalItemsAlignment = value;
|
|
62
|
-
return this;
|
|
63
|
-
}
|
|
64
|
-
withItemFit(value) {
|
|
65
|
-
this.itemFit = value;
|
|
66
|
-
return this;
|
|
67
|
-
}
|
|
68
|
-
withItemWidth(value) {
|
|
69
|
-
this.itemWidth = value;
|
|
70
|
-
return this;
|
|
71
|
-
}
|
|
72
|
-
withItemMinWidth(value) {
|
|
73
|
-
this.minItemWidth = value;
|
|
74
|
-
return this;
|
|
75
|
-
}
|
|
76
|
-
withItemMaxWidth(value) {
|
|
77
|
-
this.maxItemWidth = value;
|
|
78
|
-
return this;
|
|
79
|
-
}
|
|
80
|
-
withRowSpacing(value) {
|
|
81
|
-
this.rowSpacing = value;
|
|
82
|
-
return this;
|
|
83
|
-
}
|
|
84
|
-
withTargetWidth(value) {
|
|
85
|
-
this.targetWidth = value;
|
|
86
|
-
return this;
|
|
87
|
-
}
|
|
88
|
-
withVerticalAlignment(value) {
|
|
89
|
-
this.verticalItemsAlignment = value;
|
|
90
|
-
return this;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
exports.FlowLayout = FlowLayout;
|
|
95
|
-
//# sourceMappingURL=flow.js.map
|
|
96
|
-
//# sourceMappingURL=flow.js.map
|
package/dist/layouts/flow.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/layouts/flow.ts"],"names":[],"mappings":";;AAmEO,MAAM,UAAkC,CAAA;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,aAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,wBAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,YAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,YAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,UAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,sBAAA;AAAA,EAEA,WAAA,CAAY,OAA6B,GAAA,EAAI,EAAA;AAC3C,IAAA,IAAA,CAAK,IAAO,GAAA,aAAA;AACZ,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAAA;AAC7B,EAEA,OAAO,KAAK,OAA4B,EAAA;AACtC,IAAO,OAAA,IAAI,WAAW,OAAO,CAAA;AAAA;AAC/B,EAEA,kBAAkB,KAAgB,EAAA;AAChC,IAAA,IAAA,CAAK,aAAgB,GAAA,KAAA;AACrB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,wBAAwB,KAA4B,EAAA;AAClD,IAAA,IAAA,CAAK,wBAA2B,GAAA,KAAA;AAChC,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAY,KAAuB,EAAA;AACjC,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAe,EAAA;AAC3B,IAAA,IAAA,CAAK,SAAY,GAAA,KAAA;AACjB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,iBAAiB,KAAe,EAAA;AAC9B,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,iBAAiB,KAAe,EAAA;AAC9B,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,eAAe,KAAgB,EAAA;AAC7B,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAoB,EAAA;AAClC,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,sBAAsB,KAA0B,EAAA;AAC9C,IAAA,IAAA,CAAK,sBAAyB,GAAA,KAAA;AAC9B,IAAO,OAAA,IAAA;AAAA;AAEX","file":"flow.js","sourcesContent":["import { HorizontalAlignment, Spacing, TargetWidth, VerticalAlignment } from '../common';\n\n/**\n * A layout that spreads elements horizontally and wraps them across multiple rows, as needed.\n */\nexport interface IFlowLayout {\n type: 'Layout.Flow';\n\n /**\n * The space between items.\n * @default `default`\n */\n columnSpacing?: Spacing;\n\n /**\n * Controls how the content of the container should be horizontally aligned.\n * @default `center`\n */\n horizontalItemsAlignment?: HorizontalAlignment;\n\n /**\n * Controls how item should fit inside the container.\n * @default `Fit`\n */\n itemFit?: 'Fit' | 'Fill';\n\n /**\n * The width, in pixels, of each item, in the <number>px format. Should not be used if maxItemWidth and/or minItemWidth are set.\n * @example '<number>px'\n */\n itemWidth?: string;\n\n /**\n * The maximum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.\n * @example '<number>px'\n */\n maxItemWidth?: string;\n\n /**\n * The minimum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.\n * @example '<number>px'\n */\n minItemWidth?: string;\n\n /**\n * The space between rows of items.\n * @default `default`\n */\n rowSpacing?: Spacing;\n\n /**\n * Controls for which card width the layout should be used.\n */\n targetWidth?: TargetWidth;\n\n /**\n * Controls how the content of the container should be vertically aligned.\n * @default `top`\n */\n verticalItemsAlignment?: VerticalAlignment;\n}\n\nexport type FlowLayoutOptions = Omit<IFlowLayout, 'type'>;\n\n/**\n * A layout that spreads elements horizontally and wraps them across multiple rows, as needed.\n */\nexport class FlowLayout implements IFlowLayout {\n type: 'Layout.Flow';\n\n /**\n * The space between items.\n * @default `default`\n */\n columnSpacing?: Spacing;\n\n /**\n * Controls how the content of the container should be horizontally aligned.\n * @default `center`\n */\n horizontalItemsAlignment?: HorizontalAlignment;\n\n /**\n * Controls how item should fit inside the container.\n * @default `Fit`\n */\n itemFit?: 'Fit' | 'Fill';\n\n /**\n * The width, in pixels, of each item, in the <number>px format. Should not be used if maxItemWidth and/or minItemWidth are set.\n * @example '<number>px'\n */\n itemWidth?: string;\n\n /**\n * The maximum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.\n * @example '<number>px'\n */\n maxItemWidth?: string;\n\n /**\n * The minimum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.\n * @example '<number>px'\n */\n minItemWidth?: string;\n\n /**\n * The space between rows of items.\n * @default `default`\n */\n rowSpacing?: Spacing;\n\n /**\n * Controls for which card width the layout should be used.\n */\n targetWidth?: TargetWidth;\n\n /**\n * Controls how the content of the container should be vertically aligned.\n * @default `top`\n */\n verticalItemsAlignment?: VerticalAlignment;\n\n constructor(options: FlowLayoutOptions = {}) {\n this.type = 'Layout.Flow';\n Object.assign(this, options);\n }\n\n static from(options: FlowLayoutOptions) {\n return new FlowLayout(options);\n }\n\n withColumnSpacing(value: Spacing) {\n this.columnSpacing = value;\n return this;\n }\n\n withHorizontalAlignment(value: HorizontalAlignment) {\n this.horizontalItemsAlignment = value;\n return this;\n }\n\n withItemFit(value: 'Fit' | 'Fill') {\n this.itemFit = value;\n return this;\n }\n\n withItemWidth(value: string) {\n this.itemWidth = value;\n return this;\n }\n\n withItemMinWidth(value: string) {\n this.minItemWidth = value;\n return this;\n }\n\n withItemMaxWidth(value: string) {\n this.maxItemWidth = value;\n return this;\n }\n\n withRowSpacing(value: Spacing) {\n this.rowSpacing = value;\n return this;\n }\n\n withTargetWidth(value: TargetWidth) {\n this.targetWidth = value;\n return this;\n }\n\n withVerticalAlignment(value: VerticalAlignment) {\n this.verticalItemsAlignment = value;\n return this;\n }\n}\n"]}
|
package/dist/layouts/flow.mjs
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
class FlowLayout {
|
|
2
|
-
type;
|
|
3
|
-
/**
|
|
4
|
-
* The space between items.
|
|
5
|
-
* @default `default`
|
|
6
|
-
*/
|
|
7
|
-
columnSpacing;
|
|
8
|
-
/**
|
|
9
|
-
* Controls how the content of the container should be horizontally aligned.
|
|
10
|
-
* @default `center`
|
|
11
|
-
*/
|
|
12
|
-
horizontalItemsAlignment;
|
|
13
|
-
/**
|
|
14
|
-
* Controls how item should fit inside the container.
|
|
15
|
-
* @default `Fit`
|
|
16
|
-
*/
|
|
17
|
-
itemFit;
|
|
18
|
-
/**
|
|
19
|
-
* The width, in pixels, of each item, in the <number>px format. Should not be used if maxItemWidth and/or minItemWidth are set.
|
|
20
|
-
* @example '<number>px'
|
|
21
|
-
*/
|
|
22
|
-
itemWidth;
|
|
23
|
-
/**
|
|
24
|
-
* The maximum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.
|
|
25
|
-
* @example '<number>px'
|
|
26
|
-
*/
|
|
27
|
-
maxItemWidth;
|
|
28
|
-
/**
|
|
29
|
-
* The minimum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.
|
|
30
|
-
* @example '<number>px'
|
|
31
|
-
*/
|
|
32
|
-
minItemWidth;
|
|
33
|
-
/**
|
|
34
|
-
* The space between rows of items.
|
|
35
|
-
* @default `default`
|
|
36
|
-
*/
|
|
37
|
-
rowSpacing;
|
|
38
|
-
/**
|
|
39
|
-
* Controls for which card width the layout should be used.
|
|
40
|
-
*/
|
|
41
|
-
targetWidth;
|
|
42
|
-
/**
|
|
43
|
-
* Controls how the content of the container should be vertically aligned.
|
|
44
|
-
* @default `top`
|
|
45
|
-
*/
|
|
46
|
-
verticalItemsAlignment;
|
|
47
|
-
constructor(options = {}) {
|
|
48
|
-
this.type = "Layout.Flow";
|
|
49
|
-
Object.assign(this, options);
|
|
50
|
-
}
|
|
51
|
-
static from(options) {
|
|
52
|
-
return new FlowLayout(options);
|
|
53
|
-
}
|
|
54
|
-
withColumnSpacing(value) {
|
|
55
|
-
this.columnSpacing = value;
|
|
56
|
-
return this;
|
|
57
|
-
}
|
|
58
|
-
withHorizontalAlignment(value) {
|
|
59
|
-
this.horizontalItemsAlignment = value;
|
|
60
|
-
return this;
|
|
61
|
-
}
|
|
62
|
-
withItemFit(value) {
|
|
63
|
-
this.itemFit = value;
|
|
64
|
-
return this;
|
|
65
|
-
}
|
|
66
|
-
withItemWidth(value) {
|
|
67
|
-
this.itemWidth = value;
|
|
68
|
-
return this;
|
|
69
|
-
}
|
|
70
|
-
withItemMinWidth(value) {
|
|
71
|
-
this.minItemWidth = value;
|
|
72
|
-
return this;
|
|
73
|
-
}
|
|
74
|
-
withItemMaxWidth(value) {
|
|
75
|
-
this.maxItemWidth = value;
|
|
76
|
-
return this;
|
|
77
|
-
}
|
|
78
|
-
withRowSpacing(value) {
|
|
79
|
-
this.rowSpacing = value;
|
|
80
|
-
return this;
|
|
81
|
-
}
|
|
82
|
-
withTargetWidth(value) {
|
|
83
|
-
this.targetWidth = value;
|
|
84
|
-
return this;
|
|
85
|
-
}
|
|
86
|
-
withVerticalAlignment(value) {
|
|
87
|
-
this.verticalItemsAlignment = value;
|
|
88
|
-
return this;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export { FlowLayout };
|
|
93
|
-
//# sourceMappingURL=flow.mjs.map
|
|
94
|
-
//# sourceMappingURL=flow.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/layouts/flow.ts"],"names":[],"mappings":"AAmEO,MAAM,UAAkC,CAAA;AAAA,EAC7C,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,aAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,wBAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,YAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,YAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,UAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,sBAAA;AAAA,EAEA,WAAA,CAAY,OAA6B,GAAA,EAAI,EAAA;AAC3C,IAAA,IAAA,CAAK,IAAO,GAAA,aAAA;AACZ,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAAA;AAC7B,EAEA,OAAO,KAAK,OAA4B,EAAA;AACtC,IAAO,OAAA,IAAI,WAAW,OAAO,CAAA;AAAA;AAC/B,EAEA,kBAAkB,KAAgB,EAAA;AAChC,IAAA,IAAA,CAAK,aAAgB,GAAA,KAAA;AACrB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,wBAAwB,KAA4B,EAAA;AAClD,IAAA,IAAA,CAAK,wBAA2B,GAAA,KAAA;AAChC,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAY,KAAuB,EAAA;AACjC,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAe,EAAA;AAC3B,IAAA,IAAA,CAAK,SAAY,GAAA,KAAA;AACjB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,iBAAiB,KAAe,EAAA;AAC9B,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,iBAAiB,KAAe,EAAA;AAC9B,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,eAAe,KAAgB,EAAA;AAC7B,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,gBAAgB,KAAoB,EAAA;AAClC,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,sBAAsB,KAA0B,EAAA;AAC9C,IAAA,IAAA,CAAK,sBAAyB,GAAA,KAAA;AAC9B,IAAO,OAAA,IAAA;AAAA;AAEX","file":"flow.mjs","sourcesContent":["import { HorizontalAlignment, Spacing, TargetWidth, VerticalAlignment } from '../common';\n\n/**\n * A layout that spreads elements horizontally and wraps them across multiple rows, as needed.\n */\nexport interface IFlowLayout {\n type: 'Layout.Flow';\n\n /**\n * The space between items.\n * @default `default`\n */\n columnSpacing?: Spacing;\n\n /**\n * Controls how the content of the container should be horizontally aligned.\n * @default `center`\n */\n horizontalItemsAlignment?: HorizontalAlignment;\n\n /**\n * Controls how item should fit inside the container.\n * @default `Fit`\n */\n itemFit?: 'Fit' | 'Fill';\n\n /**\n * The width, in pixels, of each item, in the <number>px format. Should not be used if maxItemWidth and/or minItemWidth are set.\n * @example '<number>px'\n */\n itemWidth?: string;\n\n /**\n * The maximum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.\n * @example '<number>px'\n */\n maxItemWidth?: string;\n\n /**\n * The minimum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.\n * @example '<number>px'\n */\n minItemWidth?: string;\n\n /**\n * The space between rows of items.\n * @default `default`\n */\n rowSpacing?: Spacing;\n\n /**\n * Controls for which card width the layout should be used.\n */\n targetWidth?: TargetWidth;\n\n /**\n * Controls how the content of the container should be vertically aligned.\n * @default `top`\n */\n verticalItemsAlignment?: VerticalAlignment;\n}\n\nexport type FlowLayoutOptions = Omit<IFlowLayout, 'type'>;\n\n/**\n * A layout that spreads elements horizontally and wraps them across multiple rows, as needed.\n */\nexport class FlowLayout implements IFlowLayout {\n type: 'Layout.Flow';\n\n /**\n * The space between items.\n * @default `default`\n */\n columnSpacing?: Spacing;\n\n /**\n * Controls how the content of the container should be horizontally aligned.\n * @default `center`\n */\n horizontalItemsAlignment?: HorizontalAlignment;\n\n /**\n * Controls how item should fit inside the container.\n * @default `Fit`\n */\n itemFit?: 'Fit' | 'Fill';\n\n /**\n * The width, in pixels, of each item, in the <number>px format. Should not be used if maxItemWidth and/or minItemWidth are set.\n * @example '<number>px'\n */\n itemWidth?: string;\n\n /**\n * The maximum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.\n * @example '<number>px'\n */\n maxItemWidth?: string;\n\n /**\n * The minimum width, in pixels, of each item, in the <number>px format. Should not be used if itemWidth is set.\n * @example '<number>px'\n */\n minItemWidth?: string;\n\n /**\n * The space between rows of items.\n * @default `default`\n */\n rowSpacing?: Spacing;\n\n /**\n * Controls for which card width the layout should be used.\n */\n targetWidth?: TargetWidth;\n\n /**\n * Controls how the content of the container should be vertically aligned.\n * @default `top`\n */\n verticalItemsAlignment?: VerticalAlignment;\n\n constructor(options: FlowLayoutOptions = {}) {\n this.type = 'Layout.Flow';\n Object.assign(this, options);\n }\n\n static from(options: FlowLayoutOptions) {\n return new FlowLayout(options);\n }\n\n withColumnSpacing(value: Spacing) {\n this.columnSpacing = value;\n return this;\n }\n\n withHorizontalAlignment(value: HorizontalAlignment) {\n this.horizontalItemsAlignment = value;\n return this;\n }\n\n withItemFit(value: 'Fit' | 'Fill') {\n this.itemFit = value;\n return this;\n }\n\n withItemWidth(value: string) {\n this.itemWidth = value;\n return this;\n }\n\n withItemMinWidth(value: string) {\n this.minItemWidth = value;\n return this;\n }\n\n withItemMaxWidth(value: string) {\n this.maxItemWidth = value;\n return this;\n }\n\n withRowSpacing(value: Spacing) {\n this.rowSpacing = value;\n return this;\n }\n\n withTargetWidth(value: TargetWidth) {\n this.targetWidth = value;\n return this;\n }\n\n withVerticalAlignment(value: VerticalAlignment) {\n this.verticalItemsAlignment = value;\n return this;\n }\n}\n"]}
|
package/dist/layouts/index.d.mts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IAreaGridLayout } from './area-grid.mjs';
|
|
2
|
-
export { AreaGridLayout, AreaGridLayoutOptions, GridArea, IGridArea } from './area-grid.mjs';
|
|
3
|
-
import { IFlowLayout } from './flow.mjs';
|
|
4
|
-
export { FlowLayout, FlowLayoutOptions } from './flow.mjs';
|
|
5
|
-
import { IStackLayout } from './stack.mjs';
|
|
6
|
-
export { StackLayout, StackLayoutOptions } from './stack.mjs';
|
|
7
|
-
import '../common/spacing.mjs';
|
|
8
|
-
import '../common/target-width.mjs';
|
|
9
|
-
import '../common/horizontal-alignment.mjs';
|
|
10
|
-
import '../common/vertical-alignment.mjs';
|
|
11
|
-
|
|
12
|
-
type Layout = IFlowLayout | IStackLayout | IAreaGridLayout;
|
|
13
|
-
|
|
14
|
-
export { IAreaGridLayout, IFlowLayout, IStackLayout, type Layout };
|
package/dist/layouts/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IAreaGridLayout } from './area-grid.js';
|
|
2
|
-
export { AreaGridLayout, AreaGridLayoutOptions, GridArea, IGridArea } from './area-grid.js';
|
|
3
|
-
import { IFlowLayout } from './flow.js';
|
|
4
|
-
export { FlowLayout, FlowLayoutOptions } from './flow.js';
|
|
5
|
-
import { IStackLayout } from './stack.js';
|
|
6
|
-
export { StackLayout, StackLayoutOptions } from './stack.js';
|
|
7
|
-
import '../common/spacing.js';
|
|
8
|
-
import '../common/target-width.js';
|
|
9
|
-
import '../common/horizontal-alignment.js';
|
|
10
|
-
import '../common/vertical-alignment.js';
|
|
11
|
-
|
|
12
|
-
type Layout = IFlowLayout | IStackLayout | IAreaGridLayout;
|
|
13
|
-
|
|
14
|
-
export { IAreaGridLayout, IFlowLayout, IStackLayout, type Layout };
|
package/dist/layouts/index.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var flow = require('./flow');
|
|
4
|
-
var areaGrid = require('./area-grid');
|
|
5
|
-
var stack = require('./stack');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.keys(flow).forEach(function (k) {
|
|
10
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () { return flow[k]; }
|
|
13
|
-
});
|
|
14
|
-
});
|
|
15
|
-
Object.keys(areaGrid).forEach(function (k) {
|
|
16
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return areaGrid[k]; }
|
|
19
|
-
});
|
|
20
|
-
});
|
|
21
|
-
Object.keys(stack).forEach(function (k) {
|
|
22
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
23
|
-
enumerable: true,
|
|
24
|
-
get: function () { return stack[k]; }
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
//# sourceMappingURL=index.js.map
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
package/dist/layouts/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs","sourcesContent":[]}
|
package/dist/layouts/stack.d.mts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { TargetWidth } from '../common/target-width.mjs';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers.
|
|
5
|
-
*/
|
|
6
|
-
interface IStackLayout {
|
|
7
|
-
type: 'Layout.Stack';
|
|
8
|
-
/**
|
|
9
|
-
* Controls for which card width the layout should be used.
|
|
10
|
-
*/
|
|
11
|
-
targetWidth?: TargetWidth;
|
|
12
|
-
}
|
|
13
|
-
type StackLayoutOptions = Omit<IStackLayout, 'type'>;
|
|
14
|
-
/**
|
|
15
|
-
* A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers.
|
|
16
|
-
*/
|
|
17
|
-
declare class StackLayout implements IStackLayout {
|
|
18
|
-
type: 'Layout.Stack';
|
|
19
|
-
/**
|
|
20
|
-
* Controls for which card width the layout should be used.
|
|
21
|
-
*/
|
|
22
|
-
targetWidth?: TargetWidth;
|
|
23
|
-
constructor(options?: StackLayoutOptions);
|
|
24
|
-
static from(options: StackLayoutOptions): StackLayout;
|
|
25
|
-
withTargetWidth(value: TargetWidth): this;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export { type IStackLayout, StackLayout, type StackLayoutOptions };
|
package/dist/layouts/stack.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { TargetWidth } from '../common/target-width.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers.
|
|
5
|
-
*/
|
|
6
|
-
interface IStackLayout {
|
|
7
|
-
type: 'Layout.Stack';
|
|
8
|
-
/**
|
|
9
|
-
* Controls for which card width the layout should be used.
|
|
10
|
-
*/
|
|
11
|
-
targetWidth?: TargetWidth;
|
|
12
|
-
}
|
|
13
|
-
type StackLayoutOptions = Omit<IStackLayout, 'type'>;
|
|
14
|
-
/**
|
|
15
|
-
* A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers.
|
|
16
|
-
*/
|
|
17
|
-
declare class StackLayout implements IStackLayout {
|
|
18
|
-
type: 'Layout.Stack';
|
|
19
|
-
/**
|
|
20
|
-
* Controls for which card width the layout should be used.
|
|
21
|
-
*/
|
|
22
|
-
targetWidth?: TargetWidth;
|
|
23
|
-
constructor(options?: StackLayoutOptions);
|
|
24
|
-
static from(options: StackLayoutOptions): StackLayout;
|
|
25
|
-
withTargetWidth(value: TargetWidth): this;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export { type IStackLayout, StackLayout, type StackLayoutOptions };
|
package/dist/layouts/stack.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
class StackLayout {
|
|
4
|
-
type;
|
|
5
|
-
/**
|
|
6
|
-
* Controls for which card width the layout should be used.
|
|
7
|
-
*/
|
|
8
|
-
targetWidth;
|
|
9
|
-
constructor(options = {}) {
|
|
10
|
-
this.type = "Layout.Stack";
|
|
11
|
-
Object.assign(this, options);
|
|
12
|
-
}
|
|
13
|
-
static from(options) {
|
|
14
|
-
return new StackLayout(options);
|
|
15
|
-
}
|
|
16
|
-
withTargetWidth(value) {
|
|
17
|
-
this.targetWidth = value;
|
|
18
|
-
return this;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
exports.StackLayout = StackLayout;
|
|
23
|
-
//# sourceMappingURL=stack.js.map
|
|
24
|
-
//# sourceMappingURL=stack.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/layouts/stack.ts"],"names":[],"mappings":";;AAmBO,MAAM,WAAoC,CAAA;AAAA,EAC/C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA,EAEA,WAAA,CAAY,OAA8B,GAAA,EAAI,EAAA;AAC5C,IAAA,IAAA,CAAK,IAAO,GAAA,cAAA;AACZ,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAAA;AAC7B,EAEA,OAAO,KAAK,OAA6B,EAAA;AACvC,IAAO,OAAA,IAAI,YAAY,OAAO,CAAA;AAAA;AAChC,EAEA,gBAAgB,KAAoB,EAAA;AAClC,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"stack.js","sourcesContent":["import { TargetWidth } from '../common';\n\n/**\n * A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers.\n */\nexport interface IStackLayout {\n type: 'Layout.Stack';\n\n /**\n * Controls for which card width the layout should be used.\n */\n targetWidth?: TargetWidth;\n}\n\nexport type StackLayoutOptions = Omit<IStackLayout, 'type'>;\n\n/**\n * A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers.\n */\nexport class StackLayout implements IStackLayout {\n type: 'Layout.Stack';\n\n /**\n * Controls for which card width the layout should be used.\n */\n targetWidth?: TargetWidth;\n\n constructor(options: StackLayoutOptions = {}) {\n this.type = 'Layout.Stack';\n Object.assign(this, options);\n }\n\n static from(options: StackLayoutOptions) {\n return new StackLayout(options);\n }\n\n withTargetWidth(value: TargetWidth) {\n this.targetWidth = value;\n return this;\n }\n}\n"]}
|
package/dist/layouts/stack.mjs
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
class StackLayout {
|
|
2
|
-
type;
|
|
3
|
-
/**
|
|
4
|
-
* Controls for which card width the layout should be used.
|
|
5
|
-
*/
|
|
6
|
-
targetWidth;
|
|
7
|
-
constructor(options = {}) {
|
|
8
|
-
this.type = "Layout.Stack";
|
|
9
|
-
Object.assign(this, options);
|
|
10
|
-
}
|
|
11
|
-
static from(options) {
|
|
12
|
-
return new StackLayout(options);
|
|
13
|
-
}
|
|
14
|
-
withTargetWidth(value) {
|
|
15
|
-
this.targetWidth = value;
|
|
16
|
-
return this;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export { StackLayout };
|
|
21
|
-
//# sourceMappingURL=stack.mjs.map
|
|
22
|
-
//# sourceMappingURL=stack.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/layouts/stack.ts"],"names":[],"mappings":"AAmBO,MAAM,WAAoC,CAAA;AAAA,EAC/C,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA,EAEA,WAAA,CAAY,OAA8B,GAAA,EAAI,EAAA;AAC5C,IAAA,IAAA,CAAK,IAAO,GAAA,cAAA;AACZ,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,OAAO,CAAA;AAAA;AAC7B,EAEA,OAAO,KAAK,OAA6B,EAAA;AACvC,IAAO,OAAA,IAAI,YAAY,OAAO,CAAA;AAAA;AAChC,EAEA,gBAAgB,KAAoB,EAAA;AAClC,IAAA,IAAA,CAAK,WAAc,GAAA,KAAA;AACnB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"stack.mjs","sourcesContent":["import { TargetWidth } from '../common';\n\n/**\n * A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers.\n */\nexport interface IStackLayout {\n type: 'Layout.Stack';\n\n /**\n * Controls for which card width the layout should be used.\n */\n targetWidth?: TargetWidth;\n}\n\nexport type StackLayoutOptions = Omit<IStackLayout, 'type'>;\n\n/**\n * A layout that stacks elements on top of each other. Layout.Stack is the default layout used by AdaptiveCard and all containers.\n */\nexport class StackLayout implements IStackLayout {\n type: 'Layout.Stack';\n\n /**\n * Controls for which card width the layout should be used.\n */\n targetWidth?: TargetWidth;\n\n constructor(options: StackLayoutOptions = {}) {\n this.type = 'Layout.Stack';\n Object.assign(this, options);\n }\n\n static from(options: StackLayoutOptions) {\n return new StackLayout(options);\n }\n\n withTargetWidth(value: TargetWidth) {\n this.targetWidth = value;\n return this;\n }\n}\n"]}
|