@microsoft/teams.cards 0.2.13 → 2.0.0-preview.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -40
- package/dist/actions/index.d.mts +2 -24
- package/dist/actions/index.d.ts +2 -24
- package/dist/actions/index.js +0 -28
- package/dist/actions/index.mjs +0 -4
- package/dist/actions/submit/collab-stage.d.mts +2 -3
- package/dist/actions/submit/collab-stage.d.ts +2 -3
- package/dist/actions/submit/collab-stage.js +2 -2
- package/dist/actions/submit/collab-stage.js.map +1 -1
- package/dist/actions/submit/collab-stage.mjs +1 -1
- package/dist/actions/submit/collab-stage.mjs.map +1 -1
- package/dist/actions/submit/im-back.d.mts +2 -3
- package/dist/actions/submit/im-back.d.ts +2 -3
- package/dist/actions/submit/im-back.js +2 -2
- package/dist/actions/submit/im-back.js.map +1 -1
- package/dist/actions/submit/im-back.mjs +1 -1
- package/dist/actions/submit/im-back.mjs.map +1 -1
- package/dist/actions/submit/index.d.mts +2 -3
- package/dist/actions/submit/index.d.ts +2 -3
- package/dist/actions/submit/index.js +0 -7
- package/dist/actions/submit/index.mjs +0 -1
- package/dist/actions/submit/invoke.d.mts +2 -3
- package/dist/actions/submit/invoke.d.ts +2 -3
- package/dist/actions/submit/invoke.js +2 -2
- package/dist/actions/submit/invoke.js.map +1 -1
- package/dist/actions/submit/invoke.mjs +1 -1
- package/dist/actions/submit/invoke.mjs.map +1 -1
- package/dist/actions/submit/message-back.d.mts +2 -3
- package/dist/actions/submit/message-back.d.ts +2 -3
- package/dist/actions/submit/message-back.js +2 -2
- package/dist/actions/submit/message-back.js.map +1 -1
- package/dist/actions/submit/message-back.mjs +1 -1
- package/dist/actions/submit/message-back.mjs.map +1 -1
- package/dist/actions/submit/ms-teams-data.d.mts +15 -0
- package/dist/actions/submit/ms-teams-data.d.ts +15 -0
- package/dist/actions/submit/ms-teams-data.js +4 -0
- package/dist/actions/submit/ms-teams-data.js.map +1 -0
- package/dist/actions/submit/ms-teams-data.mjs +3 -0
- package/dist/actions/submit/ms-teams-data.mjs.map +1 -0
- package/dist/actions/submit/sign-in.d.mts +2 -3
- package/dist/actions/submit/sign-in.d.ts +2 -3
- package/dist/actions/submit/sign-in.js +2 -2
- package/dist/actions/submit/sign-in.js.map +1 -1
- package/dist/actions/submit/sign-in.mjs +1 -1
- package/dist/actions/submit/sign-in.mjs.map +1 -1
- package/dist/actions/submit/task-fetch.d.mts +2 -3
- package/dist/actions/submit/task-fetch.d.ts +2 -3
- package/dist/actions/submit/task-fetch.js +3 -3
- package/dist/actions/submit/task-fetch.js.map +1 -1
- package/dist/actions/submit/task-fetch.mjs +2 -2
- package/dist/actions/submit/task-fetch.mjs.map +1 -1
- package/dist/common/index.d.mts +0 -14
- package/dist/common/index.d.ts +0 -14
- package/dist/common/index.js +0 -70
- package/dist/common/index.mjs +0 -10
- package/dist/core.d.mts +10707 -0
- package/dist/core.d.ts +10707 -0
- package/dist/core.js +8718 -0
- package/dist/core.js.map +1 -0
- package/dist/core.mjs +8574 -0
- package/dist/core.mjs.map +1 -0
- package/dist/index.d.mts +3 -25
- package/dist/index.d.ts +3 -25
- package/dist/index.js +5 -47
- package/dist/index.mjs +1 -7
- package/package.json +3 -4
- package/dist/actions/base.d.mts +0 -89
- package/dist/actions/base.d.ts +0 -89
- package/dist/actions/base.js +0 -90
- package/dist/actions/base.js.map +0 -1
- package/dist/actions/base.mjs +0 -88
- package/dist/actions/base.mjs.map +0 -1
- package/dist/actions/execute.d.mts +0 -47
- package/dist/actions/execute.d.ts +0 -47
- package/dist/actions/execute.js +0 -43
- package/dist/actions/execute.js.map +0 -1
- package/dist/actions/execute.mjs +0 -41
- package/dist/actions/execute.mjs.map +0 -1
- package/dist/actions/open-url.d.mts +0 -28
- package/dist/actions/open-url.d.ts +0 -28
- package/dist/actions/open-url.js +0 -28
- package/dist/actions/open-url.js.map +0 -1
- package/dist/actions/open-url.mjs +0 -26
- package/dist/actions/open-url.mjs.map +0 -1
- package/dist/actions/show-card.d.mts +0 -31
- package/dist/actions/show-card.d.ts +0 -31
- package/dist/actions/show-card.js +0 -28
- package/dist/actions/show-card.js.map +0 -1
- package/dist/actions/show-card.mjs +0 -26
- package/dist/actions/show-card.mjs.map +0 -1
- package/dist/actions/submit/submit.d.mts +0 -51
- package/dist/actions/submit/submit.d.ts +0 -51
- package/dist/actions/submit/submit.js +0 -45
- package/dist/actions/submit/submit.js.map +0 -1
- package/dist/actions/submit/submit.mjs +0 -43
- package/dist/actions/submit/submit.mjs.map +0 -1
- package/dist/actions/toggle-visibility.d.mts +0 -29
- package/dist/actions/toggle-visibility.d.ts +0 -29
- package/dist/actions/toggle-visibility.js +0 -29
- package/dist/actions/toggle-visibility.js.map +0 -1
- package/dist/actions/toggle-visibility.mjs +0 -27
- package/dist/actions/toggle-visibility.mjs.map +0 -1
- package/dist/base.d.mts +0 -31
- package/dist/base.d.ts +0 -31
- package/dist/base.js +0 -105
- package/dist/base.js.map +0 -1
- package/dist/base.mjs +0 -103
- package/dist/base.mjs.map +0 -1
- package/dist/card.d.mts +0 -31
- package/dist/card.d.ts +0 -31
- package/dist/card.js +0 -117
- package/dist/card.js.map +0 -1
- package/dist/card.mjs +0 -114
- package/dist/card.mjs.map +0 -1
- package/dist/charts/color.d.mts +0 -3
- package/dist/charts/color.d.ts +0 -3
- package/dist/charts/color.js +0 -4
- package/dist/charts/color.js.map +0 -1
- package/dist/charts/color.mjs +0 -3
- package/dist/charts/color.mjs.map +0 -1
- package/dist/charts/donut.d.mts +0 -2288
- package/dist/charts/donut.d.ts +0 -2288
- package/dist/charts/donut.js +0 -79
- package/dist/charts/donut.js.map +0 -1
- package/dist/charts/donut.mjs +0 -76
- package/dist/charts/donut.mjs.map +0 -1
- package/dist/charts/index.d.mts +0 -31
- package/dist/charts/index.d.ts +0 -31
- package/dist/charts/index.js +0 -28
- package/dist/charts/index.js.map +0 -1
- package/dist/charts/index.mjs +0 -5
- package/dist/charts/index.mjs.map +0 -1
- package/dist/charts/line.d.mts +0 -31
- package/dist/charts/line.d.ts +0 -31
- package/dist/charts/line.js +0 -97
- package/dist/charts/line.js.map +0 -1
- package/dist/charts/line.mjs +0 -93
- package/dist/charts/line.mjs.map +0 -1
- package/dist/common/associated-inputs.d.mts +0 -3
- package/dist/common/associated-inputs.d.ts +0 -3
- package/dist/common/associated-inputs.js +0 -4
- package/dist/common/associated-inputs.js.map +0 -1
- package/dist/common/associated-inputs.mjs +0 -3
- package/dist/common/associated-inputs.mjs.map +0 -1
- package/dist/common/auth/auth-card-button.d.mts +0 -50
- package/dist/common/auth/auth-card-button.d.ts +0 -50
- package/dist/common/auth/auth-card-button.js +0 -45
- package/dist/common/auth/auth-card-button.js.map +0 -1
- package/dist/common/auth/auth-card-button.mjs +0 -43
- package/dist/common/auth/auth-card-button.mjs.map +0 -1
- package/dist/common/auth/auth.d.mts +0 -52
- package/dist/common/auth/auth.d.ts +0 -52
- package/dist/common/auth/auth.js +0 -46
- package/dist/common/auth/auth.js.map +0 -1
- package/dist/common/auth/auth.mjs +0 -44
- package/dist/common/auth/auth.mjs.map +0 -1
- package/dist/common/auth/index.d.mts +0 -3
- package/dist/common/auth/index.d.ts +0 -3
- package/dist/common/auth/index.js +0 -28
- package/dist/common/auth/index.js.map +0 -1
- package/dist/common/auth/index.mjs +0 -5
- package/dist/common/auth/index.mjs.map +0 -1
- package/dist/common/auth/token-exchange-resource.d.mts +0 -37
- package/dist/common/auth/token-exchange-resource.d.ts +0 -37
- package/dist/common/auth/token-exchange-resource.js +0 -25
- package/dist/common/auth/token-exchange-resource.js.map +0 -1
- package/dist/common/auth/token-exchange-resource.mjs +0 -23
- package/dist/common/auth/token-exchange-resource.mjs.map +0 -1
- package/dist/common/color.d.mts +0 -3
- package/dist/common/color.d.ts +0 -3
- package/dist/common/color.js +0 -4
- package/dist/common/color.js.map +0 -1
- package/dist/common/color.mjs +0 -3
- package/dist/common/color.mjs.map +0 -1
- package/dist/common/font.d.mts +0 -5
- package/dist/common/font.d.ts +0 -5
- package/dist/common/font.js +0 -4
- package/dist/common/font.js.map +0 -1
- package/dist/common/font.mjs +0 -3
- package/dist/common/font.mjs.map +0 -1
- package/dist/common/horizontal-alignment.d.mts +0 -6
- package/dist/common/horizontal-alignment.d.ts +0 -6
- package/dist/common/horizontal-alignment.js +0 -4
- package/dist/common/horizontal-alignment.js.map +0 -1
- package/dist/common/horizontal-alignment.mjs +0 -3
- package/dist/common/horizontal-alignment.mjs.map +0 -1
- package/dist/common/refresh.d.mts +0 -23
- package/dist/common/refresh.d.ts +0 -23
- package/dist/common/refresh.js +0 -4
- package/dist/common/refresh.js.map +0 -1
- package/dist/common/refresh.mjs +0 -3
- package/dist/common/refresh.mjs.map +0 -1
- package/dist/common/spacing.d.mts +0 -6
- package/dist/common/spacing.d.ts +0 -6
- package/dist/common/spacing.js +0 -4
- package/dist/common/spacing.js.map +0 -1
- package/dist/common/spacing.mjs +0 -3
- package/dist/common/spacing.mjs.map +0 -1
- package/dist/common/target-element.d.mts +0 -16
- package/dist/common/target-element.d.ts +0 -16
- package/dist/common/target-element.js +0 -4
- package/dist/common/target-element.js.map +0 -1
- package/dist/common/target-element.mjs +0 -3
- package/dist/common/target-element.mjs.map +0 -1
- package/dist/common/target-width.d.mts +0 -9
- package/dist/common/target-width.d.ts +0 -9
- package/dist/common/target-width.js +0 -4
- package/dist/common/target-width.js.map +0 -1
- package/dist/common/target-width.mjs +0 -3
- package/dist/common/target-width.mjs.map +0 -1
- package/dist/common/vertical-alignment.d.mts +0 -6
- package/dist/common/vertical-alignment.d.ts +0 -6
- package/dist/common/vertical-alignment.js +0 -4
- package/dist/common/vertical-alignment.js.map +0 -1
- package/dist/common/vertical-alignment.mjs +0 -3
- package/dist/common/vertical-alignment.mjs.map +0 -1
- package/dist/containers/action-set.d.mts +0 -31
- package/dist/containers/action-set.d.ts +0 -31
- package/dist/containers/action-set.js +0 -28
- package/dist/containers/action-set.js.map +0 -1
- package/dist/containers/action-set.mjs +0 -26
- package/dist/containers/action-set.mjs.map +0 -1
- package/dist/containers/base.d.mts +0 -31
- package/dist/containers/base.d.ts +0 -31
- package/dist/containers/base.js +0 -68
- package/dist/containers/base.js.map +0 -1
- package/dist/containers/base.mjs +0 -66
- package/dist/containers/base.mjs.map +0 -1
- package/dist/containers/carousel.d.mts +0 -31
- package/dist/containers/carousel.d.ts +0 -31
- package/dist/containers/carousel.js +0 -158
- package/dist/containers/carousel.js.map +0 -1
- package/dist/containers/carousel.mjs +0 -155
- package/dist/containers/carousel.mjs.map +0 -1
- package/dist/containers/column-set.d.mts +0 -31
- package/dist/containers/column-set.d.ts +0 -31
- package/dist/containers/column-set.js +0 -44
- package/dist/containers/column-set.js.map +0 -1
- package/dist/containers/column-set.mjs +0 -42
- package/dist/containers/column-set.mjs.map +0 -1
- package/dist/containers/column.d.mts +0 -31
- package/dist/containers/column.d.ts +0 -31
- package/dist/containers/column.js +0 -60
- package/dist/containers/column.js.map +0 -1
- package/dist/containers/column.mjs +0 -58
- package/dist/containers/column.mjs.map +0 -1
- package/dist/containers/container.d.mts +0 -31
- package/dist/containers/container.d.ts +0 -31
- package/dist/containers/container.js +0 -52
- package/dist/containers/container.js.map +0 -1
- package/dist/containers/container.mjs +0 -50
- package/dist/containers/container.mjs.map +0 -1
- package/dist/containers/fact-set.d.mts +0 -31
- package/dist/containers/fact-set.d.ts +0 -31
- package/dist/containers/fact-set.js +0 -43
- package/dist/containers/fact-set.js.map +0 -1
- package/dist/containers/fact-set.mjs +0 -40
- package/dist/containers/fact-set.mjs.map +0 -1
- package/dist/containers/image-set.d.mts +0 -31
- package/dist/containers/image-set.d.ts +0 -31
- package/dist/containers/image-set.js +0 -46
- package/dist/containers/image-set.js.map +0 -1
- package/dist/containers/image-set.mjs +0 -44
- package/dist/containers/image-set.mjs.map +0 -1
- package/dist/containers/index.d.mts +0 -31
- package/dist/containers/index.d.ts +0 -31
- package/dist/containers/index.js +0 -56
- package/dist/containers/index.js.map +0 -1
- package/dist/containers/index.mjs +0 -9
- package/dist/containers/index.mjs.map +0 -1
- package/dist/element.d.mts +0 -31
- package/dist/element.d.ts +0 -31
- package/dist/element.js +0 -4
- package/dist/element.js.map +0 -1
- package/dist/element.mjs +0 -3
- package/dist/element.mjs.map +0 -1
- package/dist/inputs/base.d.mts +0 -31
- package/dist/inputs/base.d.ts +0 -31
- package/dist/inputs/base.js +0 -63
- package/dist/inputs/base.js.map +0 -1
- package/dist/inputs/base.mjs +0 -61
- package/dist/inputs/base.mjs.map +0 -1
- package/dist/inputs/choice-set.d.mts +0 -31
- package/dist/inputs/choice-set.d.ts +0 -31
- package/dist/inputs/choice-set.js +0 -121
- package/dist/inputs/choice-set.js.map +0 -1
- package/dist/inputs/choice-set.mjs +0 -117
- package/dist/inputs/choice-set.mjs.map +0 -1
- package/dist/inputs/date.d.mts +0 -31
- package/dist/inputs/date.d.ts +0 -31
- package/dist/inputs/date.js +0 -52
- package/dist/inputs/date.js.map +0 -1
- package/dist/inputs/date.mjs +0 -50
- package/dist/inputs/date.mjs.map +0 -1
- package/dist/inputs/index.d.mts +0 -31
- package/dist/inputs/index.d.ts +0 -31
- package/dist/inputs/index.js +0 -49
- package/dist/inputs/index.js.map +0 -1
- package/dist/inputs/index.mjs +0 -8
- package/dist/inputs/index.mjs.map +0 -1
- package/dist/inputs/number.d.mts +0 -31
- package/dist/inputs/number.d.ts +0 -31
- package/dist/inputs/number.js +0 -52
- package/dist/inputs/number.js.map +0 -1
- package/dist/inputs/number.mjs +0 -50
- package/dist/inputs/number.mjs.map +0 -1
- package/dist/inputs/text.d.mts +0 -31
- package/dist/inputs/text.d.ts +0 -31
- package/dist/inputs/text.js +0 -76
- package/dist/inputs/text.js.map +0 -1
- package/dist/inputs/text.mjs +0 -74
- package/dist/inputs/text.mjs.map +0 -1
- package/dist/inputs/time.d.mts +0 -31
- package/dist/inputs/time.d.ts +0 -31
- package/dist/inputs/time.js +0 -52
- package/dist/inputs/time.js.map +0 -1
- package/dist/inputs/time.mjs +0 -50
- package/dist/inputs/time.mjs.map +0 -1
- package/dist/inputs/toggle.d.mts +0 -31
- package/dist/inputs/toggle.d.ts +0 -31
- package/dist/inputs/toggle.js +0 -57
- package/dist/inputs/toggle.js.map +0 -1
- package/dist/inputs/toggle.mjs +0 -55
- package/dist/inputs/toggle.mjs.map +0 -1
- package/dist/layouts/area-grid.d.mts +0 -133
- package/dist/layouts/area-grid.d.ts +0 -133
- package/dist/layouts/area-grid.js +0 -113
- package/dist/layouts/area-grid.js.map +0 -1
- package/dist/layouts/area-grid.mjs +0 -110
- package/dist/layouts/area-grid.mjs.map +0 -1
- package/dist/layouts/flow.d.mts +0 -119
- package/dist/layouts/flow.d.ts +0 -119
- package/dist/layouts/flow.js +0 -96
- package/dist/layouts/flow.js.map +0 -1
- package/dist/layouts/flow.mjs +0 -94
- package/dist/layouts/flow.mjs.map +0 -1
- package/dist/layouts/index.d.mts +0 -14
- package/dist/layouts/index.d.ts +0 -14
- package/dist/layouts/index.js +0 -28
- package/dist/layouts/index.js.map +0 -1
- package/dist/layouts/index.mjs +0 -5
- package/dist/layouts/index.mjs.map +0 -1
- package/dist/layouts/stack.d.mts +0 -28
- package/dist/layouts/stack.d.ts +0 -28
- package/dist/layouts/stack.js +0 -24
- package/dist/layouts/stack.js.map +0 -1
- package/dist/layouts/stack.mjs +0 -22
- package/dist/layouts/stack.mjs.map +0 -1
- package/dist/medias/background-image.d.mts +0 -56
- package/dist/medias/background-image.d.ts +0 -56
- package/dist/medias/background-image.js +0 -49
- package/dist/medias/background-image.js.map +0 -1
- package/dist/medias/background-image.mjs +0 -47
- package/dist/medias/background-image.mjs.map +0 -1
- package/dist/medias/badge.d.mts +0 -31
- package/dist/medias/badge.d.ts +0 -31
- package/dist/medias/badge.js +0 -84
- package/dist/medias/badge.js.map +0 -1
- package/dist/medias/badge.mjs +0 -82
- package/dist/medias/badge.mjs.map +0 -1
- package/dist/medias/code-block.d.mts +0 -31
- package/dist/medias/code-block.d.ts +0 -31
- package/dist/medias/code-block.js +0 -43
- package/dist/medias/code-block.js.map +0 -1
- package/dist/medias/code-block.mjs +0 -41
- package/dist/medias/code-block.mjs.map +0 -1
- package/dist/medias/icon.d.mts +0 -31
- package/dist/medias/icon.d.ts +0 -31
- package/dist/medias/icon.js +0 -56
- package/dist/medias/icon.js.map +0 -1
- package/dist/medias/icon.mjs +0 -54
- package/dist/medias/icon.mjs.map +0 -1
- package/dist/medias/image.d.mts +0 -31
- package/dist/medias/image.d.ts +0 -31
- package/dist/medias/image.js +0 -80
- package/dist/medias/image.js.map +0 -1
- package/dist/medias/image.mjs +0 -78
- package/dist/medias/image.mjs.map +0 -1
- package/dist/medias/index.d.mts +0 -31
- package/dist/medias/index.d.ts +0 -31
- package/dist/medias/index.js +0 -84
- package/dist/medias/index.js.map +0 -1
- package/dist/medias/index.mjs +0 -13
- package/dist/medias/index.mjs.map +0 -1
- package/dist/medias/media.d.mts +0 -31
- package/dist/medias/media.d.ts +0 -31
- package/dist/medias/media.js +0 -91
- package/dist/medias/media.js.map +0 -1
- package/dist/medias/media.mjs +0 -87
- package/dist/medias/media.mjs.map +0 -1
- package/dist/medias/progress-bar.d.mts +0 -31
- package/dist/medias/progress-bar.d.ts +0 -31
- package/dist/medias/progress-bar.js +0 -43
- package/dist/medias/progress-bar.js.map +0 -1
- package/dist/medias/progress-bar.mjs +0 -41
- package/dist/medias/progress-bar.mjs.map +0 -1
- package/dist/medias/progress-ring.d.mts +0 -31
- package/dist/medias/progress-ring.d.ts +0 -31
- package/dist/medias/progress-ring.js +0 -46
- package/dist/medias/progress-ring.js.map +0 -1
- package/dist/medias/progress-ring.mjs +0 -44
- package/dist/medias/progress-ring.mjs.map +0 -1
- package/dist/medias/rich-text-block.d.mts +0 -31
- package/dist/medias/rich-text-block.d.ts +0 -31
- package/dist/medias/rich-text-block.js +0 -33
- package/dist/medias/rich-text-block.js.map +0 -1
- package/dist/medias/rich-text-block.mjs +0 -31
- package/dist/medias/rich-text-block.mjs.map +0 -1
- package/dist/medias/text-block.d.mts +0 -31
- package/dist/medias/text-block.d.ts +0 -31
- package/dist/medias/text-block.js +0 -95
- package/dist/medias/text-block.js.map +0 -1
- package/dist/medias/text-block.mjs +0 -93
- package/dist/medias/text-block.mjs.map +0 -1
- package/dist/medias/text-run.d.mts +0 -31
- package/dist/medias/text-run.d.ts +0 -31
- package/dist/medias/text-run.js +0 -108
- package/dist/medias/text-run.js.map +0 -1
- package/dist/medias/text-run.mjs +0 -106
- package/dist/medias/text-run.mjs.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/inputs/toggle.ts"],"names":["InputElement"],"mappings":";;;;AAuCO,MAAM,oBAAoBA,iBAAqC,CAAA;AAAA,EACpE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,QAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA,EAEA,WAAY,CAAA,KAAA,EAAe,OAA8B,GAAA,EAAI,EAAA;AAC3D,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,cAAA;AACZ,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAA,IAAA,CAAK,YAAY,OAAO,CAAA;AAAA;AAC1B,EAEA,YAAY,KAA2B,EAAA;AACrC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAA0D,EAAA;AAClE,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAa,KAAwC,EAAA;AACnD,IAAA,IAAA,CAAK,QAAW,GAAA,KAAA;AAChB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAY,KAAsC,EAAA;AAChD,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAA,CAAS,QAAQ,IAAM,EAAA;AACrB,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AAEX","file":"toggle.js","sourcesContent":["import { IInputElement, InputElement } from './base';\n\n/**\n * Lets a user choose between two options.\n */\nexport interface IToggleInput extends IInputElement {\n type: 'Input.Toggle';\n\n /**\n * Title for the toggle\n */\n title: string;\n\n /**\n * The initial selected value. If you want the toggle to be initially on, set this to the value of valueOn‘s value.\n */\n value?: 'true' | 'false' | Omit<string, 'true' | 'false'>;\n\n /**\n * The value when toggle is off\n */\n valueOff?: 'false' | Omit<string, 'false'>;\n\n /**\n * The value when toggle is on\n */\n valueOn?: 'true' | Omit<string, 'true'>;\n\n /**\n * If `true`, allow text to wrap. Otherwise, text is clipped.\n */\n wrap?: boolean;\n}\n\nexport type ToggleInputOptions = Omit<IToggleInput, 'type' | 'title'>;\n\n/**\n * Lets a user choose between two options.\n */\nexport class ToggleInput extends InputElement implements IToggleInput {\n type: 'Input.Toggle';\n\n /**\n * Title for the toggle\n */\n title: string;\n\n /**\n * The initial selected value. If you want the toggle to be initially on, set this to the value of valueOn‘s value.\n */\n value?: 'true' | 'false' | Omit<string, 'true' | 'false'>;\n\n /**\n * The value when toggle is off\n */\n valueOff?: 'false' | Omit<string, 'false'>;\n\n /**\n * The value when toggle is on\n */\n valueOn?: 'true' | Omit<string, 'true'>;\n\n /**\n * If `true`, allow text to wrap. Otherwise, text is clipped.\n */\n wrap?: boolean;\n\n constructor(title: string, options: ToggleInputOptions = {}) {\n super();\n this.type = 'Input.Toggle';\n this.title = title;\n this.withOptions(options);\n }\n\n withOptions(value: ToggleInputOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withValue(value: 'true' | 'false' | Omit<string, 'true' | 'false'>) {\n this.value = value;\n return this;\n }\n\n withValueOff(value: 'false' | Omit<string, 'false'>) {\n this.valueOff = value;\n return this;\n }\n\n withValueOn(value: 'true' | Omit<string, 'true'>) {\n this.valueOn = value;\n return this;\n }\n\n withWrap(value = true) {\n this.wrap = value;\n return this;\n }\n}\n"]}
|
package/dist/inputs/toggle.mjs
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { InputElement } from './base';
|
|
2
|
-
|
|
3
|
-
class ToggleInput extends InputElement {
|
|
4
|
-
type;
|
|
5
|
-
/**
|
|
6
|
-
* Title for the toggle
|
|
7
|
-
*/
|
|
8
|
-
title;
|
|
9
|
-
/**
|
|
10
|
-
* The initial selected value. If you want the toggle to be initially on, set this to the value of valueOn‘s value.
|
|
11
|
-
*/
|
|
12
|
-
value;
|
|
13
|
-
/**
|
|
14
|
-
* The value when toggle is off
|
|
15
|
-
*/
|
|
16
|
-
valueOff;
|
|
17
|
-
/**
|
|
18
|
-
* The value when toggle is on
|
|
19
|
-
*/
|
|
20
|
-
valueOn;
|
|
21
|
-
/**
|
|
22
|
-
* If `true`, allow text to wrap. Otherwise, text is clipped.
|
|
23
|
-
*/
|
|
24
|
-
wrap;
|
|
25
|
-
constructor(title, options = {}) {
|
|
26
|
-
super();
|
|
27
|
-
this.type = "Input.Toggle";
|
|
28
|
-
this.title = title;
|
|
29
|
-
this.withOptions(options);
|
|
30
|
-
}
|
|
31
|
-
withOptions(value) {
|
|
32
|
-
Object.assign(this, value);
|
|
33
|
-
return this;
|
|
34
|
-
}
|
|
35
|
-
withValue(value) {
|
|
36
|
-
this.value = value;
|
|
37
|
-
return this;
|
|
38
|
-
}
|
|
39
|
-
withValueOff(value) {
|
|
40
|
-
this.valueOff = value;
|
|
41
|
-
return this;
|
|
42
|
-
}
|
|
43
|
-
withValueOn(value) {
|
|
44
|
-
this.valueOn = value;
|
|
45
|
-
return this;
|
|
46
|
-
}
|
|
47
|
-
withWrap(value = true) {
|
|
48
|
-
this.wrap = value;
|
|
49
|
-
return this;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export { ToggleInput };
|
|
54
|
-
//# sourceMappingURL=toggle.mjs.map
|
|
55
|
-
//# sourceMappingURL=toggle.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/inputs/toggle.ts"],"names":[],"mappings":";;AAuCO,MAAM,oBAAoB,YAAqC,CAAA;AAAA,EACpE,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,QAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA,EAEA,WAAY,CAAA,KAAA,EAAe,OAA8B,GAAA,EAAI,EAAA;AAC3D,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,cAAA;AACZ,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAA,IAAA,CAAK,YAAY,OAAO,CAAA;AAAA;AAC1B,EAEA,YAAY,KAA2B,EAAA;AACrC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAA0D,EAAA;AAClE,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAa,KAAwC,EAAA;AACnD,IAAA,IAAA,CAAK,QAAW,GAAA,KAAA;AAChB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAY,KAAsC,EAAA;AAChD,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,QAAA,CAAS,QAAQ,IAAM,EAAA;AACrB,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AAEX","file":"toggle.mjs","sourcesContent":["import { IInputElement, InputElement } from './base';\n\n/**\n * Lets a user choose between two options.\n */\nexport interface IToggleInput extends IInputElement {\n type: 'Input.Toggle';\n\n /**\n * Title for the toggle\n */\n title: string;\n\n /**\n * The initial selected value. If you want the toggle to be initially on, set this to the value of valueOn‘s value.\n */\n value?: 'true' | 'false' | Omit<string, 'true' | 'false'>;\n\n /**\n * The value when toggle is off\n */\n valueOff?: 'false' | Omit<string, 'false'>;\n\n /**\n * The value when toggle is on\n */\n valueOn?: 'true' | Omit<string, 'true'>;\n\n /**\n * If `true`, allow text to wrap. Otherwise, text is clipped.\n */\n wrap?: boolean;\n}\n\nexport type ToggleInputOptions = Omit<IToggleInput, 'type' | 'title'>;\n\n/**\n * Lets a user choose between two options.\n */\nexport class ToggleInput extends InputElement implements IToggleInput {\n type: 'Input.Toggle';\n\n /**\n * Title for the toggle\n */\n title: string;\n\n /**\n * The initial selected value. If you want the toggle to be initially on, set this to the value of valueOn‘s value.\n */\n value?: 'true' | 'false' | Omit<string, 'true' | 'false'>;\n\n /**\n * The value when toggle is off\n */\n valueOff?: 'false' | Omit<string, 'false'>;\n\n /**\n * The value when toggle is on\n */\n valueOn?: 'true' | Omit<string, 'true'>;\n\n /**\n * If `true`, allow text to wrap. Otherwise, text is clipped.\n */\n wrap?: boolean;\n\n constructor(title: string, options: ToggleInputOptions = {}) {\n super();\n this.type = 'Input.Toggle';\n this.title = title;\n this.withOptions(options);\n }\n\n withOptions(value: ToggleInputOptions) {\n Object.assign(this, value);\n return this;\n }\n\n withValue(value: 'true' | 'false' | Omit<string, 'true' | 'false'>) {\n this.value = value;\n return this;\n }\n\n withValueOff(value: 'false' | Omit<string, 'false'>) {\n this.valueOff = value;\n return this;\n }\n\n withValueOn(value: 'true' | Omit<string, 'true'>) {\n this.valueOn = value;\n return this;\n }\n\n withWrap(value = true) {\n this.wrap = value;\n return this;\n }\n}\n"]}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { Spacing } from '../common/spacing.mjs';
|
|
2
|
-
import { TargetWidth } from '../common/target-width.mjs';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* A layout that divides a container into named areas into which elements can be placed.
|
|
6
|
-
*/
|
|
7
|
-
interface IAreaGridLayout {
|
|
8
|
-
type: 'Layout.AreaGrid';
|
|
9
|
-
/**
|
|
10
|
-
* The areas in the grid layout.
|
|
11
|
-
*/
|
|
12
|
-
areas: IGridArea[];
|
|
13
|
-
/**
|
|
14
|
-
* The columns in the grid layout, defined as a percentage of the available width or in pixels using the <number>px format.
|
|
15
|
-
*/
|
|
16
|
-
columns: (number | string)[];
|
|
17
|
-
/**
|
|
18
|
-
* The space between columns.
|
|
19
|
-
* @default `default`
|
|
20
|
-
*/
|
|
21
|
-
columnSpacing?: Spacing;
|
|
22
|
-
/**
|
|
23
|
-
* The space between rows.
|
|
24
|
-
* @default `default`
|
|
25
|
-
*/
|
|
26
|
-
rowSpacing?: Spacing;
|
|
27
|
-
/**
|
|
28
|
-
* Controls for which card width the layout should be used.
|
|
29
|
-
*/
|
|
30
|
-
targetWidth?: TargetWidth;
|
|
31
|
-
}
|
|
32
|
-
type AreaGridLayoutOptions = Omit<IAreaGridLayout, 'type' | 'areas' | 'columns'>;
|
|
33
|
-
/**
|
|
34
|
-
* A layout that divides a container into named areas into which elements can be placed.
|
|
35
|
-
*/
|
|
36
|
-
declare class AreaGridLayout implements IAreaGridLayout {
|
|
37
|
-
type: 'Layout.AreaGrid';
|
|
38
|
-
/**
|
|
39
|
-
* The areas in the grid layout.
|
|
40
|
-
*/
|
|
41
|
-
areas: IGridArea[];
|
|
42
|
-
/**
|
|
43
|
-
* The columns in the grid layout, defined as a percentage of the available width or in pixels using the <number>px format.
|
|
44
|
-
*/
|
|
45
|
-
columns: (number | string)[];
|
|
46
|
-
/**
|
|
47
|
-
* The space between columns.
|
|
48
|
-
* @default `default`
|
|
49
|
-
*/
|
|
50
|
-
columnSpacing?: Spacing;
|
|
51
|
-
/**
|
|
52
|
-
* The space between rows.
|
|
53
|
-
* @default `default`
|
|
54
|
-
*/
|
|
55
|
-
rowSpacing?: Spacing;
|
|
56
|
-
/**
|
|
57
|
-
* Controls for which card width the layout should be used.
|
|
58
|
-
*/
|
|
59
|
-
targetWidth?: TargetWidth;
|
|
60
|
-
constructor(...areas: IGridArea[]);
|
|
61
|
-
static from(options: Omit<IAreaGridLayout, 'type'>): AreaGridLayout;
|
|
62
|
-
withColumnSpacing(value: Spacing): this;
|
|
63
|
-
withRowSpacing(value: Spacing): this;
|
|
64
|
-
withTargetWidth(value: TargetWidth): this;
|
|
65
|
-
addAreas(...value: IGridArea[]): this;
|
|
66
|
-
addColumns(...value: (number | string)[]): this;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Defines an area in a Layout.AreaGrid layout.
|
|
70
|
-
*/
|
|
71
|
-
interface IGridArea {
|
|
72
|
-
/**
|
|
73
|
-
* The start column index of the area. Column indices start at 1.
|
|
74
|
-
* @default 1
|
|
75
|
-
*/
|
|
76
|
-
column?: number;
|
|
77
|
-
/**
|
|
78
|
-
* Defines how many columns the area should span.
|
|
79
|
-
* @default 1
|
|
80
|
-
*/
|
|
81
|
-
columnSpan?: number;
|
|
82
|
-
/**
|
|
83
|
-
* The name of the area. To place an element in this area, set its grid.area property to match the name of the area.
|
|
84
|
-
*/
|
|
85
|
-
name?: string;
|
|
86
|
-
/**
|
|
87
|
-
* The start row index of the area. Row indices start at 1.
|
|
88
|
-
* @default 1
|
|
89
|
-
*/
|
|
90
|
-
row?: number;
|
|
91
|
-
/**
|
|
92
|
-
* Defines how many rows the area should span.
|
|
93
|
-
* @default 1
|
|
94
|
-
*/
|
|
95
|
-
rowSpan?: number;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Defines an area in a Layout.AreaGrid layout.
|
|
99
|
-
*/
|
|
100
|
-
declare class GridArea implements IGridArea {
|
|
101
|
-
/**
|
|
102
|
-
* The start column index of the area. Column indices start at 1.
|
|
103
|
-
* @default 1
|
|
104
|
-
*/
|
|
105
|
-
column?: number;
|
|
106
|
-
/**
|
|
107
|
-
* Defines how many columns the area should span.
|
|
108
|
-
* @default 1
|
|
109
|
-
*/
|
|
110
|
-
columnSpan?: number;
|
|
111
|
-
/**
|
|
112
|
-
* The name of the area. To place an element in this area, set its grid.area property to match the name of the area.
|
|
113
|
-
*/
|
|
114
|
-
name?: string;
|
|
115
|
-
/**
|
|
116
|
-
* The start row index of the area. Row indices start at 1.
|
|
117
|
-
* @default 1
|
|
118
|
-
*/
|
|
119
|
-
row?: number;
|
|
120
|
-
/**
|
|
121
|
-
* Defines how many rows the area should span.
|
|
122
|
-
* @default 1
|
|
123
|
-
*/
|
|
124
|
-
rowSpan?: number;
|
|
125
|
-
constructor(value?: IGridArea);
|
|
126
|
-
withColumn(value: number, span?: number): this;
|
|
127
|
-
withColumnSpan(value: number): this;
|
|
128
|
-
withName(value: string): this;
|
|
129
|
-
withRow(value: number, span?: number): this;
|
|
130
|
-
withRowSpan(value: number): this;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export { AreaGridLayout, type AreaGridLayoutOptions, GridArea, type IAreaGridLayout, type IGridArea };
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { Spacing } from '../common/spacing.js';
|
|
2
|
-
import { TargetWidth } from '../common/target-width.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* A layout that divides a container into named areas into which elements can be placed.
|
|
6
|
-
*/
|
|
7
|
-
interface IAreaGridLayout {
|
|
8
|
-
type: 'Layout.AreaGrid';
|
|
9
|
-
/**
|
|
10
|
-
* The areas in the grid layout.
|
|
11
|
-
*/
|
|
12
|
-
areas: IGridArea[];
|
|
13
|
-
/**
|
|
14
|
-
* The columns in the grid layout, defined as a percentage of the available width or in pixels using the <number>px format.
|
|
15
|
-
*/
|
|
16
|
-
columns: (number | string)[];
|
|
17
|
-
/**
|
|
18
|
-
* The space between columns.
|
|
19
|
-
* @default `default`
|
|
20
|
-
*/
|
|
21
|
-
columnSpacing?: Spacing;
|
|
22
|
-
/**
|
|
23
|
-
* The space between rows.
|
|
24
|
-
* @default `default`
|
|
25
|
-
*/
|
|
26
|
-
rowSpacing?: Spacing;
|
|
27
|
-
/**
|
|
28
|
-
* Controls for which card width the layout should be used.
|
|
29
|
-
*/
|
|
30
|
-
targetWidth?: TargetWidth;
|
|
31
|
-
}
|
|
32
|
-
type AreaGridLayoutOptions = Omit<IAreaGridLayout, 'type' | 'areas' | 'columns'>;
|
|
33
|
-
/**
|
|
34
|
-
* A layout that divides a container into named areas into which elements can be placed.
|
|
35
|
-
*/
|
|
36
|
-
declare class AreaGridLayout implements IAreaGridLayout {
|
|
37
|
-
type: 'Layout.AreaGrid';
|
|
38
|
-
/**
|
|
39
|
-
* The areas in the grid layout.
|
|
40
|
-
*/
|
|
41
|
-
areas: IGridArea[];
|
|
42
|
-
/**
|
|
43
|
-
* The columns in the grid layout, defined as a percentage of the available width or in pixels using the <number>px format.
|
|
44
|
-
*/
|
|
45
|
-
columns: (number | string)[];
|
|
46
|
-
/**
|
|
47
|
-
* The space between columns.
|
|
48
|
-
* @default `default`
|
|
49
|
-
*/
|
|
50
|
-
columnSpacing?: Spacing;
|
|
51
|
-
/**
|
|
52
|
-
* The space between rows.
|
|
53
|
-
* @default `default`
|
|
54
|
-
*/
|
|
55
|
-
rowSpacing?: Spacing;
|
|
56
|
-
/**
|
|
57
|
-
* Controls for which card width the layout should be used.
|
|
58
|
-
*/
|
|
59
|
-
targetWidth?: TargetWidth;
|
|
60
|
-
constructor(...areas: IGridArea[]);
|
|
61
|
-
static from(options: Omit<IAreaGridLayout, 'type'>): AreaGridLayout;
|
|
62
|
-
withColumnSpacing(value: Spacing): this;
|
|
63
|
-
withRowSpacing(value: Spacing): this;
|
|
64
|
-
withTargetWidth(value: TargetWidth): this;
|
|
65
|
-
addAreas(...value: IGridArea[]): this;
|
|
66
|
-
addColumns(...value: (number | string)[]): this;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Defines an area in a Layout.AreaGrid layout.
|
|
70
|
-
*/
|
|
71
|
-
interface IGridArea {
|
|
72
|
-
/**
|
|
73
|
-
* The start column index of the area. Column indices start at 1.
|
|
74
|
-
* @default 1
|
|
75
|
-
*/
|
|
76
|
-
column?: number;
|
|
77
|
-
/**
|
|
78
|
-
* Defines how many columns the area should span.
|
|
79
|
-
* @default 1
|
|
80
|
-
*/
|
|
81
|
-
columnSpan?: number;
|
|
82
|
-
/**
|
|
83
|
-
* The name of the area. To place an element in this area, set its grid.area property to match the name of the area.
|
|
84
|
-
*/
|
|
85
|
-
name?: string;
|
|
86
|
-
/**
|
|
87
|
-
* The start row index of the area. Row indices start at 1.
|
|
88
|
-
* @default 1
|
|
89
|
-
*/
|
|
90
|
-
row?: number;
|
|
91
|
-
/**
|
|
92
|
-
* Defines how many rows the area should span.
|
|
93
|
-
* @default 1
|
|
94
|
-
*/
|
|
95
|
-
rowSpan?: number;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Defines an area in a Layout.AreaGrid layout.
|
|
99
|
-
*/
|
|
100
|
-
declare class GridArea implements IGridArea {
|
|
101
|
-
/**
|
|
102
|
-
* The start column index of the area. Column indices start at 1.
|
|
103
|
-
* @default 1
|
|
104
|
-
*/
|
|
105
|
-
column?: number;
|
|
106
|
-
/**
|
|
107
|
-
* Defines how many columns the area should span.
|
|
108
|
-
* @default 1
|
|
109
|
-
*/
|
|
110
|
-
columnSpan?: number;
|
|
111
|
-
/**
|
|
112
|
-
* The name of the area. To place an element in this area, set its grid.area property to match the name of the area.
|
|
113
|
-
*/
|
|
114
|
-
name?: string;
|
|
115
|
-
/**
|
|
116
|
-
* The start row index of the area. Row indices start at 1.
|
|
117
|
-
* @default 1
|
|
118
|
-
*/
|
|
119
|
-
row?: number;
|
|
120
|
-
/**
|
|
121
|
-
* Defines how many rows the area should span.
|
|
122
|
-
* @default 1
|
|
123
|
-
*/
|
|
124
|
-
rowSpan?: number;
|
|
125
|
-
constructor(value?: IGridArea);
|
|
126
|
-
withColumn(value: number, span?: number): this;
|
|
127
|
-
withColumnSpan(value: number): this;
|
|
128
|
-
withName(value: string): this;
|
|
129
|
-
withRow(value: number, span?: number): this;
|
|
130
|
-
withRowSpan(value: number): this;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export { AreaGridLayout, type AreaGridLayoutOptions, GridArea, type IAreaGridLayout, type IGridArea };
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
class AreaGridLayout {
|
|
4
|
-
type;
|
|
5
|
-
/**
|
|
6
|
-
* The areas in the grid layout.
|
|
7
|
-
*/
|
|
8
|
-
areas;
|
|
9
|
-
/**
|
|
10
|
-
* The columns in the grid layout, defined as a percentage of the available width or in pixels using the <number>px format.
|
|
11
|
-
*/
|
|
12
|
-
columns;
|
|
13
|
-
/**
|
|
14
|
-
* The space between columns.
|
|
15
|
-
* @default `default`
|
|
16
|
-
*/
|
|
17
|
-
columnSpacing;
|
|
18
|
-
/**
|
|
19
|
-
* The space between rows.
|
|
20
|
-
* @default `default`
|
|
21
|
-
*/
|
|
22
|
-
rowSpacing;
|
|
23
|
-
/**
|
|
24
|
-
* Controls for which card width the layout should be used.
|
|
25
|
-
*/
|
|
26
|
-
targetWidth;
|
|
27
|
-
constructor(...areas) {
|
|
28
|
-
this.type = "Layout.AreaGrid";
|
|
29
|
-
this.areas = areas;
|
|
30
|
-
this.columns = [];
|
|
31
|
-
}
|
|
32
|
-
static from(options) {
|
|
33
|
-
const layout = new AreaGridLayout(...options.areas);
|
|
34
|
-
Object.assign(layout, options);
|
|
35
|
-
return layout;
|
|
36
|
-
}
|
|
37
|
-
withColumnSpacing(value) {
|
|
38
|
-
this.columnSpacing = value;
|
|
39
|
-
return this;
|
|
40
|
-
}
|
|
41
|
-
withRowSpacing(value) {
|
|
42
|
-
this.rowSpacing = value;
|
|
43
|
-
return this;
|
|
44
|
-
}
|
|
45
|
-
withTargetWidth(value) {
|
|
46
|
-
this.targetWidth = value;
|
|
47
|
-
return this;
|
|
48
|
-
}
|
|
49
|
-
addAreas(...value) {
|
|
50
|
-
this.areas.push(...value);
|
|
51
|
-
return this;
|
|
52
|
-
}
|
|
53
|
-
addColumns(...value) {
|
|
54
|
-
this.columns.push(...value);
|
|
55
|
-
return this;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
class GridArea {
|
|
59
|
-
/**
|
|
60
|
-
* The start column index of the area. Column indices start at 1.
|
|
61
|
-
* @default 1
|
|
62
|
-
*/
|
|
63
|
-
column;
|
|
64
|
-
/**
|
|
65
|
-
* Defines how many columns the area should span.
|
|
66
|
-
* @default 1
|
|
67
|
-
*/
|
|
68
|
-
columnSpan;
|
|
69
|
-
/**
|
|
70
|
-
* The name of the area. To place an element in this area, set its grid.area property to match the name of the area.
|
|
71
|
-
*/
|
|
72
|
-
name;
|
|
73
|
-
/**
|
|
74
|
-
* The start row index of the area. Row indices start at 1.
|
|
75
|
-
* @default 1
|
|
76
|
-
*/
|
|
77
|
-
row;
|
|
78
|
-
/**
|
|
79
|
-
* Defines how many rows the area should span.
|
|
80
|
-
* @default 1
|
|
81
|
-
*/
|
|
82
|
-
rowSpan;
|
|
83
|
-
constructor(value = {}) {
|
|
84
|
-
Object.assign(this, value);
|
|
85
|
-
}
|
|
86
|
-
withColumn(value, span) {
|
|
87
|
-
this.column = value;
|
|
88
|
-
this.columnSpan = span;
|
|
89
|
-
return this;
|
|
90
|
-
}
|
|
91
|
-
withColumnSpan(value) {
|
|
92
|
-
this.columnSpan = value;
|
|
93
|
-
return this;
|
|
94
|
-
}
|
|
95
|
-
withName(value) {
|
|
96
|
-
this.name = value;
|
|
97
|
-
return this;
|
|
98
|
-
}
|
|
99
|
-
withRow(value, span) {
|
|
100
|
-
this.row = value;
|
|
101
|
-
this.rowSpan = span;
|
|
102
|
-
return this;
|
|
103
|
-
}
|
|
104
|
-
withRowSpan(value) {
|
|
105
|
-
this.rowSpan = value;
|
|
106
|
-
return this;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
exports.AreaGridLayout = AreaGridLayout;
|
|
111
|
-
exports.GridArea = GridArea;
|
|
112
|
-
//# sourceMappingURL=area-grid.js.map
|
|
113
|
-
//# sourceMappingURL=area-grid.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/layouts/area-grid.ts"],"names":[],"mappings":";;AAyCO,MAAM,cAA0C,CAAA;AAAA,EACrD,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,aAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,UAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA,EAEA,eAAe,KAAoB,EAAA;AACjC,IAAA,IAAA,CAAK,IAAO,GAAA,iBAAA;AACZ,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAA,IAAA,CAAK,UAAU,EAAC;AAAA;AAClB,EAEA,OAAO,KAAK,OAAwC,EAAA;AAClD,IAAA,MAAM,MAAS,GAAA,IAAI,cAAe,CAAA,GAAG,QAAQ,KAAK,CAAA;AAClD,IAAO,MAAA,CAAA,MAAA,CAAO,QAAQ,OAAO,CAAA;AAC7B,IAAO,OAAA,MAAA;AAAA;AACT,EAEA,kBAAkB,KAAgB,EAAA;AAChC,IAAA,IAAA,CAAK,aAAgB,GAAA,KAAA;AACrB,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,YAAY,KAAoB,EAAA;AAC9B,IAAK,IAAA,CAAA,KAAA,CAAM,IAAK,CAAA,GAAG,KAAK,CAAA;AACxB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAA4B,EAAA;AACxC,IAAK,IAAA,CAAA,OAAA,CAAQ,IAAK,CAAA,GAAG,KAAK,CAAA;AAC1B,IAAO,OAAA,IAAA;AAAA;AAEX;AAuCO,MAAM,QAA8B,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKzC,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,UAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,OAAA;AAAA,EAEA,WAAA,CAAY,KAAmB,GAAA,EAAI,EAAA;AACjC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AAAA;AAC3B,EAEA,UAAA,CAAW,OAAe,IAAe,EAAA;AACvC,IAAA,IAAA,CAAK,MAAS,GAAA,KAAA;AACd,IAAA,IAAA,CAAK,UAAa,GAAA,IAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,eAAe,KAAe,EAAA;AAC5B,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAS,KAAe,EAAA;AACtB,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,OAAA,CAAQ,OAAe,IAAe,EAAA;AACpC,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAA,IAAA,CAAK,OAAU,GAAA,IAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAY,KAAe,EAAA;AACzB,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AAEX","file":"area-grid.js","sourcesContent":["import { Spacing, TargetWidth } from '../common';\n\n/**\n * A layout that divides a container into named areas into which elements can be placed.\n */\nexport interface IAreaGridLayout {\n type: 'Layout.AreaGrid';\n\n /**\n * The areas in the grid layout.\n */\n areas: IGridArea[];\n\n /**\n * The columns in the grid layout, defined as a percentage of the available width or in pixels using the <number>px format.\n */\n columns: (number | string)[];\n\n /**\n * The space between columns.\n * @default `default`\n */\n columnSpacing?: Spacing;\n\n /**\n * The space between rows.\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\nexport type AreaGridLayoutOptions = Omit<IAreaGridLayout, 'type' | 'areas' | 'columns'>;\n\n/**\n * A layout that divides a container into named areas into which elements can be placed.\n */\nexport class AreaGridLayout implements IAreaGridLayout {\n type: 'Layout.AreaGrid';\n\n /**\n * The areas in the grid layout.\n */\n areas: IGridArea[];\n\n /**\n * The columns in the grid layout, defined as a percentage of the available width or in pixels using the <number>px format.\n */\n columns: (number | string)[];\n\n /**\n * The space between columns.\n * @default `default`\n */\n columnSpacing?: Spacing;\n\n /**\n * The space between rows.\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 constructor(...areas: IGridArea[]) {\n this.type = 'Layout.AreaGrid';\n this.areas = areas;\n this.columns = [];\n }\n\n static from(options: Omit<IAreaGridLayout, 'type'>) {\n const layout = new AreaGridLayout(...options.areas);\n Object.assign(layout, options);\n return layout;\n }\n\n withColumnSpacing(value: Spacing) {\n this.columnSpacing = 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 addAreas(...value: IGridArea[]) {\n this.areas.push(...value);\n return this;\n }\n\n addColumns(...value: (number | string)[]) {\n this.columns.push(...value);\n return this;\n }\n}\n\n/**\n * Defines an area in a Layout.AreaGrid layout.\n */\nexport interface IGridArea {\n /**\n * The start column index of the area. Column indices start at 1.\n * @default 1\n */\n column?: number;\n\n /**\n * Defines how many columns the area should span.\n * @default 1\n */\n columnSpan?: number;\n\n /**\n * The name of the area. To place an element in this area, set its grid.area property to match the name of the area.\n */\n name?: string;\n\n /**\n * The start row index of the area. Row indices start at 1.\n * @default 1\n */\n row?: number;\n\n /**\n * Defines how many rows the area should span.\n * @default 1\n */\n rowSpan?: number;\n}\n\n/**\n * Defines an area in a Layout.AreaGrid layout.\n */\nexport class GridArea implements IGridArea {\n /**\n * The start column index of the area. Column indices start at 1.\n * @default 1\n */\n column?: number;\n\n /**\n * Defines how many columns the area should span.\n * @default 1\n */\n columnSpan?: number;\n\n /**\n * The name of the area. To place an element in this area, set its grid.area property to match the name of the area.\n */\n name?: string;\n\n /**\n * The start row index of the area. Row indices start at 1.\n * @default 1\n */\n row?: number;\n\n /**\n * Defines how many rows the area should span.\n * @default 1\n */\n rowSpan?: number;\n\n constructor(value: IGridArea = {}) {\n Object.assign(this, value);\n }\n\n withColumn(value: number, span?: number) {\n this.column = value;\n this.columnSpan = span;\n return this;\n }\n\n withColumnSpan(value: number) {\n this.columnSpan = value;\n return this;\n }\n\n withName(value: string) {\n this.name = value;\n return this;\n }\n\n withRow(value: number, span?: number) {\n this.row = value;\n this.rowSpan = span;\n return this;\n }\n\n withRowSpan(value: number) {\n this.rowSpan = value;\n return this;\n }\n}\n"]}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
class AreaGridLayout {
|
|
2
|
-
type;
|
|
3
|
-
/**
|
|
4
|
-
* The areas in the grid layout.
|
|
5
|
-
*/
|
|
6
|
-
areas;
|
|
7
|
-
/**
|
|
8
|
-
* The columns in the grid layout, defined as a percentage of the available width or in pixels using the <number>px format.
|
|
9
|
-
*/
|
|
10
|
-
columns;
|
|
11
|
-
/**
|
|
12
|
-
* The space between columns.
|
|
13
|
-
* @default `default`
|
|
14
|
-
*/
|
|
15
|
-
columnSpacing;
|
|
16
|
-
/**
|
|
17
|
-
* The space between rows.
|
|
18
|
-
* @default `default`
|
|
19
|
-
*/
|
|
20
|
-
rowSpacing;
|
|
21
|
-
/**
|
|
22
|
-
* Controls for which card width the layout should be used.
|
|
23
|
-
*/
|
|
24
|
-
targetWidth;
|
|
25
|
-
constructor(...areas) {
|
|
26
|
-
this.type = "Layout.AreaGrid";
|
|
27
|
-
this.areas = areas;
|
|
28
|
-
this.columns = [];
|
|
29
|
-
}
|
|
30
|
-
static from(options) {
|
|
31
|
-
const layout = new AreaGridLayout(...options.areas);
|
|
32
|
-
Object.assign(layout, options);
|
|
33
|
-
return layout;
|
|
34
|
-
}
|
|
35
|
-
withColumnSpacing(value) {
|
|
36
|
-
this.columnSpacing = value;
|
|
37
|
-
return this;
|
|
38
|
-
}
|
|
39
|
-
withRowSpacing(value) {
|
|
40
|
-
this.rowSpacing = value;
|
|
41
|
-
return this;
|
|
42
|
-
}
|
|
43
|
-
withTargetWidth(value) {
|
|
44
|
-
this.targetWidth = value;
|
|
45
|
-
return this;
|
|
46
|
-
}
|
|
47
|
-
addAreas(...value) {
|
|
48
|
-
this.areas.push(...value);
|
|
49
|
-
return this;
|
|
50
|
-
}
|
|
51
|
-
addColumns(...value) {
|
|
52
|
-
this.columns.push(...value);
|
|
53
|
-
return this;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
class GridArea {
|
|
57
|
-
/**
|
|
58
|
-
* The start column index of the area. Column indices start at 1.
|
|
59
|
-
* @default 1
|
|
60
|
-
*/
|
|
61
|
-
column;
|
|
62
|
-
/**
|
|
63
|
-
* Defines how many columns the area should span.
|
|
64
|
-
* @default 1
|
|
65
|
-
*/
|
|
66
|
-
columnSpan;
|
|
67
|
-
/**
|
|
68
|
-
* The name of the area. To place an element in this area, set its grid.area property to match the name of the area.
|
|
69
|
-
*/
|
|
70
|
-
name;
|
|
71
|
-
/**
|
|
72
|
-
* The start row index of the area. Row indices start at 1.
|
|
73
|
-
* @default 1
|
|
74
|
-
*/
|
|
75
|
-
row;
|
|
76
|
-
/**
|
|
77
|
-
* Defines how many rows the area should span.
|
|
78
|
-
* @default 1
|
|
79
|
-
*/
|
|
80
|
-
rowSpan;
|
|
81
|
-
constructor(value = {}) {
|
|
82
|
-
Object.assign(this, value);
|
|
83
|
-
}
|
|
84
|
-
withColumn(value, span) {
|
|
85
|
-
this.column = value;
|
|
86
|
-
this.columnSpan = span;
|
|
87
|
-
return this;
|
|
88
|
-
}
|
|
89
|
-
withColumnSpan(value) {
|
|
90
|
-
this.columnSpan = value;
|
|
91
|
-
return this;
|
|
92
|
-
}
|
|
93
|
-
withName(value) {
|
|
94
|
-
this.name = value;
|
|
95
|
-
return this;
|
|
96
|
-
}
|
|
97
|
-
withRow(value, span) {
|
|
98
|
-
this.row = value;
|
|
99
|
-
this.rowSpan = span;
|
|
100
|
-
return this;
|
|
101
|
-
}
|
|
102
|
-
withRowSpan(value) {
|
|
103
|
-
this.rowSpan = value;
|
|
104
|
-
return this;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export { AreaGridLayout, GridArea };
|
|
109
|
-
//# sourceMappingURL=area-grid.mjs.map
|
|
110
|
-
//# sourceMappingURL=area-grid.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/layouts/area-grid.ts"],"names":[],"mappings":"AAyCO,MAAM,cAA0C,CAAA;AAAA,EACrD,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,aAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,UAAA;AAAA;AAAA;AAAA;AAAA,EAKA,WAAA;AAAA,EAEA,eAAe,KAAoB,EAAA;AACjC,IAAA,IAAA,CAAK,IAAO,GAAA,iBAAA;AACZ,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAA,IAAA,CAAK,UAAU,EAAC;AAAA;AAClB,EAEA,OAAO,KAAK,OAAwC,EAAA;AAClD,IAAA,MAAM,MAAS,GAAA,IAAI,cAAe,CAAA,GAAG,QAAQ,KAAK,CAAA;AAClD,IAAO,MAAA,CAAA,MAAA,CAAO,QAAQ,OAAO,CAAA;AAC7B,IAAO,OAAA,MAAA;AAAA;AACT,EAEA,kBAAkB,KAAgB,EAAA;AAChC,IAAA,IAAA,CAAK,aAAgB,GAAA,KAAA;AACrB,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,YAAY,KAAoB,EAAA;AAC9B,IAAK,IAAA,CAAA,KAAA,CAAM,IAAK,CAAA,GAAG,KAAK,CAAA;AACxB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAA4B,EAAA;AACxC,IAAK,IAAA,CAAA,OAAA,CAAQ,IAAK,CAAA,GAAG,KAAK,CAAA;AAC1B,IAAO,OAAA,IAAA;AAAA;AAEX;AAuCO,MAAM,QAA8B,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKzC,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,UAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,OAAA;AAAA,EAEA,WAAA,CAAY,KAAmB,GAAA,EAAI,EAAA;AACjC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AAAA;AAC3B,EAEA,UAAA,CAAW,OAAe,IAAe,EAAA;AACvC,IAAA,IAAA,CAAK,MAAS,GAAA,KAAA;AACd,IAAA,IAAA,CAAK,UAAa,GAAA,IAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,eAAe,KAAe,EAAA;AAC5B,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAS,KAAe,EAAA;AACtB,IAAA,IAAA,CAAK,IAAO,GAAA,KAAA;AACZ,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,OAAA,CAAQ,OAAe,IAAe,EAAA;AACpC,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAA,IAAA,CAAK,OAAU,GAAA,IAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,YAAY,KAAe,EAAA;AACzB,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AAEX","file":"area-grid.mjs","sourcesContent":["import { Spacing, TargetWidth } from '../common';\n\n/**\n * A layout that divides a container into named areas into which elements can be placed.\n */\nexport interface IAreaGridLayout {\n type: 'Layout.AreaGrid';\n\n /**\n * The areas in the grid layout.\n */\n areas: IGridArea[];\n\n /**\n * The columns in the grid layout, defined as a percentage of the available width or in pixels using the <number>px format.\n */\n columns: (number | string)[];\n\n /**\n * The space between columns.\n * @default `default`\n */\n columnSpacing?: Spacing;\n\n /**\n * The space between rows.\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\nexport type AreaGridLayoutOptions = Omit<IAreaGridLayout, 'type' | 'areas' | 'columns'>;\n\n/**\n * A layout that divides a container into named areas into which elements can be placed.\n */\nexport class AreaGridLayout implements IAreaGridLayout {\n type: 'Layout.AreaGrid';\n\n /**\n * The areas in the grid layout.\n */\n areas: IGridArea[];\n\n /**\n * The columns in the grid layout, defined as a percentage of the available width or in pixels using the <number>px format.\n */\n columns: (number | string)[];\n\n /**\n * The space between columns.\n * @default `default`\n */\n columnSpacing?: Spacing;\n\n /**\n * The space between rows.\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 constructor(...areas: IGridArea[]) {\n this.type = 'Layout.AreaGrid';\n this.areas = areas;\n this.columns = [];\n }\n\n static from(options: Omit<IAreaGridLayout, 'type'>) {\n const layout = new AreaGridLayout(...options.areas);\n Object.assign(layout, options);\n return layout;\n }\n\n withColumnSpacing(value: Spacing) {\n this.columnSpacing = 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 addAreas(...value: IGridArea[]) {\n this.areas.push(...value);\n return this;\n }\n\n addColumns(...value: (number | string)[]) {\n this.columns.push(...value);\n return this;\n }\n}\n\n/**\n * Defines an area in a Layout.AreaGrid layout.\n */\nexport interface IGridArea {\n /**\n * The start column index of the area. Column indices start at 1.\n * @default 1\n */\n column?: number;\n\n /**\n * Defines how many columns the area should span.\n * @default 1\n */\n columnSpan?: number;\n\n /**\n * The name of the area. To place an element in this area, set its grid.area property to match the name of the area.\n */\n name?: string;\n\n /**\n * The start row index of the area. Row indices start at 1.\n * @default 1\n */\n row?: number;\n\n /**\n * Defines how many rows the area should span.\n * @default 1\n */\n rowSpan?: number;\n}\n\n/**\n * Defines an area in a Layout.AreaGrid layout.\n */\nexport class GridArea implements IGridArea {\n /**\n * The start column index of the area. Column indices start at 1.\n * @default 1\n */\n column?: number;\n\n /**\n * Defines how many columns the area should span.\n * @default 1\n */\n columnSpan?: number;\n\n /**\n * The name of the area. To place an element in this area, set its grid.area property to match the name of the area.\n */\n name?: string;\n\n /**\n * The start row index of the area. Row indices start at 1.\n * @default 1\n */\n row?: number;\n\n /**\n * Defines how many rows the area should span.\n * @default 1\n */\n rowSpan?: number;\n\n constructor(value: IGridArea = {}) {\n Object.assign(this, value);\n }\n\n withColumn(value: number, span?: number) {\n this.column = value;\n this.columnSpan = span;\n return this;\n }\n\n withColumnSpan(value: number) {\n this.columnSpan = value;\n return this;\n }\n\n withName(value: string) {\n this.name = value;\n return this;\n }\n\n withRow(value: number, span?: number) {\n this.row = value;\n this.rowSpan = span;\n return this;\n }\n\n withRowSpan(value: number) {\n this.rowSpan = value;\n return this;\n }\n}\n"]}
|