@microsoft/teams.cards 0.2.7
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 +41 -0
- package/dist/actions/base.d.mts +89 -0
- package/dist/actions/base.d.ts +89 -0
- package/dist/actions/base.js +90 -0
- package/dist/actions/base.js.map +1 -0
- package/dist/actions/base.mjs +88 -0
- package/dist/actions/base.mjs.map +1 -0
- package/dist/actions/execute.d.mts +47 -0
- package/dist/actions/execute.d.ts +47 -0
- package/dist/actions/execute.js +43 -0
- package/dist/actions/execute.js.map +1 -0
- package/dist/actions/execute.mjs +41 -0
- package/dist/actions/execute.mjs.map +1 -0
- package/dist/actions/index.d.mts +31 -0
- package/dist/actions/index.d.ts +31 -0
- package/dist/actions/index.js +42 -0
- package/dist/actions/index.js.map +1 -0
- package/dist/actions/index.mjs +7 -0
- package/dist/actions/index.mjs.map +1 -0
- package/dist/actions/open-url.d.mts +28 -0
- package/dist/actions/open-url.d.ts +28 -0
- package/dist/actions/open-url.js +28 -0
- package/dist/actions/open-url.js.map +1 -0
- package/dist/actions/open-url.mjs +26 -0
- package/dist/actions/open-url.mjs.map +1 -0
- package/dist/actions/show-card.d.mts +31 -0
- package/dist/actions/show-card.d.ts +31 -0
- package/dist/actions/show-card.js +28 -0
- package/dist/actions/show-card.js.map +1 -0
- package/dist/actions/show-card.mjs +26 -0
- package/dist/actions/show-card.mjs.map +1 -0
- package/dist/actions/submit/collab-stage.d.mts +74 -0
- package/dist/actions/submit/collab-stage.d.ts +74 -0
- package/dist/actions/submit/collab-stage.js +62 -0
- package/dist/actions/submit/collab-stage.js.map +1 -0
- package/dist/actions/submit/collab-stage.mjs +58 -0
- package/dist/actions/submit/collab-stage.mjs.map +1 -0
- package/dist/actions/submit/im-back.d.mts +40 -0
- package/dist/actions/submit/im-back.d.ts +40 -0
- package/dist/actions/submit/im-back.js +42 -0
- package/dist/actions/submit/im-back.js.map +1 -0
- package/dist/actions/submit/im-back.mjs +39 -0
- package/dist/actions/submit/im-back.mjs.map +1 -0
- package/dist/actions/submit/index.d.mts +10 -0
- package/dist/actions/submit/index.d.ts +10 -0
- package/dist/actions/submit/index.js +56 -0
- package/dist/actions/submit/index.js.map +1 -0
- package/dist/actions/submit/index.mjs +9 -0
- package/dist/actions/submit/index.mjs.map +1 -0
- package/dist/actions/submit/invoke.d.mts +40 -0
- package/dist/actions/submit/invoke.d.ts +40 -0
- package/dist/actions/submit/invoke.js +42 -0
- package/dist/actions/submit/invoke.js.map +1 -0
- package/dist/actions/submit/invoke.mjs +39 -0
- package/dist/actions/submit/invoke.mjs.map +1 -0
- package/dist/actions/submit/message-back.d.mts +60 -0
- package/dist/actions/submit/message-back.d.ts +60 -0
- package/dist/actions/submit/message-back.js +56 -0
- package/dist/actions/submit/message-back.js.map +1 -0
- package/dist/actions/submit/message-back.mjs +53 -0
- package/dist/actions/submit/message-back.mjs.map +1 -0
- package/dist/actions/submit/sign-in.d.mts +40 -0
- package/dist/actions/submit/sign-in.d.ts +40 -0
- package/dist/actions/submit/sign-in.js +42 -0
- package/dist/actions/submit/sign-in.js.map +1 -0
- package/dist/actions/submit/sign-in.mjs +39 -0
- package/dist/actions/submit/sign-in.mjs.map +1 -0
- package/dist/actions/submit/submit.d.mts +51 -0
- package/dist/actions/submit/submit.d.ts +51 -0
- package/dist/actions/submit/submit.js +38 -0
- package/dist/actions/submit/submit.js.map +1 -0
- package/dist/actions/submit/submit.mjs +36 -0
- package/dist/actions/submit/submit.mjs.map +1 -0
- package/dist/actions/submit/task-fetch.d.mts +40 -0
- package/dist/actions/submit/task-fetch.d.ts +40 -0
- package/dist/actions/submit/task-fetch.js +42 -0
- package/dist/actions/submit/task-fetch.js.map +1 -0
- package/dist/actions/submit/task-fetch.mjs +39 -0
- package/dist/actions/submit/task-fetch.mjs.map +1 -0
- package/dist/actions/toggle-visibility.d.mts +29 -0
- package/dist/actions/toggle-visibility.d.ts +29 -0
- package/dist/actions/toggle-visibility.js +29 -0
- package/dist/actions/toggle-visibility.js.map +1 -0
- package/dist/actions/toggle-visibility.mjs +27 -0
- package/dist/actions/toggle-visibility.mjs.map +1 -0
- package/dist/base.d.mts +31 -0
- package/dist/base.d.ts +31 -0
- package/dist/base.js +105 -0
- package/dist/base.js.map +1 -0
- package/dist/base.mjs +103 -0
- package/dist/base.mjs.map +1 -0
- package/dist/card.d.mts +31 -0
- package/dist/card.d.ts +31 -0
- package/dist/card.js +118 -0
- package/dist/card.js.map +1 -0
- package/dist/card.mjs +115 -0
- package/dist/card.mjs.map +1 -0
- package/dist/charts/color.d.mts +3 -0
- package/dist/charts/color.d.ts +3 -0
- package/dist/charts/color.js +4 -0
- package/dist/charts/color.js.map +1 -0
- package/dist/charts/color.mjs +3 -0
- package/dist/charts/color.mjs.map +1 -0
- package/dist/charts/donut.d.mts +31 -0
- package/dist/charts/donut.d.ts +31 -0
- package/dist/charts/donut.js +79 -0
- package/dist/charts/donut.js.map +1 -0
- package/dist/charts/donut.mjs +76 -0
- package/dist/charts/donut.mjs.map +1 -0
- package/dist/charts/index.d.mts +31 -0
- package/dist/charts/index.d.ts +31 -0
- package/dist/charts/index.js +28 -0
- package/dist/charts/index.js.map +1 -0
- package/dist/charts/index.mjs +5 -0
- package/dist/charts/index.mjs.map +1 -0
- package/dist/charts/line.d.mts +31 -0
- package/dist/charts/line.d.ts +31 -0
- package/dist/charts/line.js +97 -0
- package/dist/charts/line.js.map +1 -0
- package/dist/charts/line.mjs +93 -0
- package/dist/charts/line.mjs.map +1 -0
- package/dist/common/associated-inputs.d.mts +3 -0
- package/dist/common/associated-inputs.d.ts +3 -0
- package/dist/common/associated-inputs.js +4 -0
- package/dist/common/associated-inputs.js.map +1 -0
- package/dist/common/associated-inputs.mjs +3 -0
- package/dist/common/associated-inputs.mjs.map +1 -0
- package/dist/common/auth/auth-card-button.d.mts +50 -0
- package/dist/common/auth/auth-card-button.d.ts +50 -0
- package/dist/common/auth/auth-card-button.js +45 -0
- package/dist/common/auth/auth-card-button.js.map +1 -0
- package/dist/common/auth/auth-card-button.mjs +43 -0
- package/dist/common/auth/auth-card-button.mjs.map +1 -0
- package/dist/common/auth/auth.d.mts +52 -0
- package/dist/common/auth/auth.d.ts +52 -0
- package/dist/common/auth/auth.js +46 -0
- package/dist/common/auth/auth.js.map +1 -0
- package/dist/common/auth/auth.mjs +44 -0
- package/dist/common/auth/auth.mjs.map +1 -0
- package/dist/common/auth/index.d.mts +3 -0
- package/dist/common/auth/index.d.ts +3 -0
- package/dist/common/auth/index.js +28 -0
- package/dist/common/auth/index.js.map +1 -0
- package/dist/common/auth/index.mjs +5 -0
- package/dist/common/auth/index.mjs.map +1 -0
- package/dist/common/auth/token-exchange-resource.d.mts +37 -0
- package/dist/common/auth/token-exchange-resource.d.ts +37 -0
- package/dist/common/auth/token-exchange-resource.js +25 -0
- package/dist/common/auth/token-exchange-resource.js.map +1 -0
- package/dist/common/auth/token-exchange-resource.mjs +23 -0
- package/dist/common/auth/token-exchange-resource.mjs.map +1 -0
- package/dist/common/color.d.mts +3 -0
- package/dist/common/color.d.ts +3 -0
- package/dist/common/color.js +4 -0
- package/dist/common/color.js.map +1 -0
- package/dist/common/color.mjs +3 -0
- package/dist/common/color.mjs.map +1 -0
- package/dist/common/font.d.mts +5 -0
- package/dist/common/font.d.ts +5 -0
- package/dist/common/font.js +4 -0
- package/dist/common/font.js.map +1 -0
- package/dist/common/font.mjs +3 -0
- package/dist/common/font.mjs.map +1 -0
- package/dist/common/horizontal-alignment.d.mts +6 -0
- package/dist/common/horizontal-alignment.d.ts +6 -0
- package/dist/common/horizontal-alignment.js +4 -0
- package/dist/common/horizontal-alignment.js.map +1 -0
- package/dist/common/horizontal-alignment.mjs +3 -0
- package/dist/common/horizontal-alignment.mjs.map +1 -0
- package/dist/common/index.d.mts +15 -0
- package/dist/common/index.d.ts +15 -0
- package/dist/common/index.js +84 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/index.mjs +13 -0
- package/dist/common/index.mjs.map +1 -0
- package/dist/common/refresh.d.mts +23 -0
- package/dist/common/refresh.d.ts +23 -0
- package/dist/common/refresh.js +4 -0
- package/dist/common/refresh.js.map +1 -0
- package/dist/common/refresh.mjs +3 -0
- package/dist/common/refresh.mjs.map +1 -0
- package/dist/common/spacing.d.mts +6 -0
- package/dist/common/spacing.d.ts +6 -0
- package/dist/common/spacing.js +4 -0
- package/dist/common/spacing.js.map +1 -0
- package/dist/common/spacing.mjs +3 -0
- package/dist/common/spacing.mjs.map +1 -0
- package/dist/common/tab-info.d.mts +23 -0
- package/dist/common/tab-info.d.ts +23 -0
- package/dist/common/tab-info.js +4 -0
- package/dist/common/tab-info.js.map +1 -0
- package/dist/common/tab-info.mjs +3 -0
- package/dist/common/tab-info.mjs.map +1 -0
- package/dist/common/target-element.d.mts +16 -0
- package/dist/common/target-element.d.ts +16 -0
- package/dist/common/target-element.js +4 -0
- package/dist/common/target-element.js.map +1 -0
- package/dist/common/target-element.mjs +3 -0
- package/dist/common/target-element.mjs.map +1 -0
- package/dist/common/target-width.d.mts +9 -0
- package/dist/common/target-width.d.ts +9 -0
- package/dist/common/target-width.js +4 -0
- package/dist/common/target-width.js.map +1 -0
- package/dist/common/target-width.mjs +3 -0
- package/dist/common/target-width.mjs.map +1 -0
- package/dist/common/vertical-alignment.d.mts +6 -0
- package/dist/common/vertical-alignment.d.ts +6 -0
- package/dist/common/vertical-alignment.js +4 -0
- package/dist/common/vertical-alignment.js.map +1 -0
- package/dist/common/vertical-alignment.mjs +3 -0
- package/dist/common/vertical-alignment.mjs.map +1 -0
- package/dist/containers/action-set.d.mts +31 -0
- package/dist/containers/action-set.d.ts +31 -0
- package/dist/containers/action-set.js +28 -0
- package/dist/containers/action-set.js.map +1 -0
- package/dist/containers/action-set.mjs +26 -0
- package/dist/containers/action-set.mjs.map +1 -0
- package/dist/containers/base.d.mts +31 -0
- package/dist/containers/base.d.ts +31 -0
- package/dist/containers/base.js +68 -0
- package/dist/containers/base.js.map +1 -0
- package/dist/containers/base.mjs +66 -0
- package/dist/containers/base.mjs.map +1 -0
- package/dist/containers/carousel.d.mts +31 -0
- package/dist/containers/carousel.d.ts +31 -0
- package/dist/containers/carousel.js +158 -0
- package/dist/containers/carousel.js.map +1 -0
- package/dist/containers/carousel.mjs +155 -0
- package/dist/containers/carousel.mjs.map +1 -0
- package/dist/containers/column-set.d.mts +31 -0
- package/dist/containers/column-set.d.ts +31 -0
- package/dist/containers/column-set.js +44 -0
- package/dist/containers/column-set.js.map +1 -0
- package/dist/containers/column-set.mjs +42 -0
- package/dist/containers/column-set.mjs.map +1 -0
- package/dist/containers/column.d.mts +31 -0
- package/dist/containers/column.d.ts +31 -0
- package/dist/containers/column.js +60 -0
- package/dist/containers/column.js.map +1 -0
- package/dist/containers/column.mjs +58 -0
- package/dist/containers/column.mjs.map +1 -0
- package/dist/containers/container.d.mts +31 -0
- package/dist/containers/container.d.ts +31 -0
- package/dist/containers/container.js +52 -0
- package/dist/containers/container.js.map +1 -0
- package/dist/containers/container.mjs +50 -0
- package/dist/containers/container.mjs.map +1 -0
- package/dist/containers/fact-set.d.mts +31 -0
- package/dist/containers/fact-set.d.ts +31 -0
- package/dist/containers/fact-set.js +43 -0
- package/dist/containers/fact-set.js.map +1 -0
- package/dist/containers/fact-set.mjs +40 -0
- package/dist/containers/fact-set.mjs.map +1 -0
- package/dist/containers/image-set.d.mts +31 -0
- package/dist/containers/image-set.d.ts +31 -0
- package/dist/containers/image-set.js +46 -0
- package/dist/containers/image-set.js.map +1 -0
- package/dist/containers/image-set.mjs +44 -0
- package/dist/containers/image-set.mjs.map +1 -0
- package/dist/containers/index.d.mts +31 -0
- package/dist/containers/index.d.ts +31 -0
- package/dist/containers/index.js +56 -0
- package/dist/containers/index.js.map +1 -0
- package/dist/containers/index.mjs +9 -0
- package/dist/containers/index.mjs.map +1 -0
- package/dist/element.d.mts +31 -0
- package/dist/element.d.ts +31 -0
- package/dist/element.js +4 -0
- package/dist/element.js.map +1 -0
- package/dist/element.mjs +3 -0
- package/dist/element.mjs.map +1 -0
- package/dist/index.d.mts +31 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +70 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +11 -0
- package/dist/index.mjs.map +1 -0
- package/dist/inputs/base.d.mts +31 -0
- package/dist/inputs/base.d.ts +31 -0
- package/dist/inputs/base.js +63 -0
- package/dist/inputs/base.js.map +1 -0
- package/dist/inputs/base.mjs +61 -0
- package/dist/inputs/base.mjs.map +1 -0
- package/dist/inputs/choice-set.d.mts +31 -0
- package/dist/inputs/choice-set.d.ts +31 -0
- package/dist/inputs/choice-set.js +121 -0
- package/dist/inputs/choice-set.js.map +1 -0
- package/dist/inputs/choice-set.mjs +117 -0
- package/dist/inputs/choice-set.mjs.map +1 -0
- package/dist/inputs/date.d.mts +31 -0
- package/dist/inputs/date.d.ts +31 -0
- package/dist/inputs/date.js +52 -0
- package/dist/inputs/date.js.map +1 -0
- package/dist/inputs/date.mjs +50 -0
- package/dist/inputs/date.mjs.map +1 -0
- package/dist/inputs/index.d.mts +31 -0
- package/dist/inputs/index.d.ts +31 -0
- package/dist/inputs/index.js +49 -0
- package/dist/inputs/index.js.map +1 -0
- package/dist/inputs/index.mjs +8 -0
- package/dist/inputs/index.mjs.map +1 -0
- package/dist/inputs/number.d.mts +31 -0
- package/dist/inputs/number.d.ts +31 -0
- package/dist/inputs/number.js +52 -0
- package/dist/inputs/number.js.map +1 -0
- package/dist/inputs/number.mjs +50 -0
- package/dist/inputs/number.mjs.map +1 -0
- package/dist/inputs/text.d.mts +31 -0
- package/dist/inputs/text.d.ts +31 -0
- package/dist/inputs/text.js +76 -0
- package/dist/inputs/text.js.map +1 -0
- package/dist/inputs/text.mjs +74 -0
- package/dist/inputs/text.mjs.map +1 -0
- package/dist/inputs/time.d.mts +31 -0
- package/dist/inputs/time.d.ts +31 -0
- package/dist/inputs/time.js +52 -0
- package/dist/inputs/time.js.map +1 -0
- package/dist/inputs/time.mjs +50 -0
- package/dist/inputs/time.mjs.map +1 -0
- package/dist/inputs/toggle.d.mts +31 -0
- package/dist/inputs/toggle.d.ts +31 -0
- package/dist/inputs/toggle.js +57 -0
- package/dist/inputs/toggle.js.map +1 -0
- package/dist/inputs/toggle.mjs +55 -0
- package/dist/inputs/toggle.mjs.map +1 -0
- package/dist/layouts/area-grid.d.mts +133 -0
- package/dist/layouts/area-grid.d.ts +133 -0
- package/dist/layouts/area-grid.js +113 -0
- package/dist/layouts/area-grid.js.map +1 -0
- package/dist/layouts/area-grid.mjs +110 -0
- package/dist/layouts/area-grid.mjs.map +1 -0
- package/dist/layouts/flow.d.mts +119 -0
- package/dist/layouts/flow.d.ts +119 -0
- package/dist/layouts/flow.js +96 -0
- package/dist/layouts/flow.js.map +1 -0
- package/dist/layouts/flow.mjs +94 -0
- package/dist/layouts/flow.mjs.map +1 -0
- package/dist/layouts/index.d.mts +14 -0
- package/dist/layouts/index.d.ts +14 -0
- package/dist/layouts/index.js +28 -0
- package/dist/layouts/index.js.map +1 -0
- package/dist/layouts/index.mjs +5 -0
- package/dist/layouts/index.mjs.map +1 -0
- package/dist/layouts/stack.d.mts +28 -0
- package/dist/layouts/stack.d.ts +28 -0
- package/dist/layouts/stack.js +24 -0
- package/dist/layouts/stack.js.map +1 -0
- package/dist/layouts/stack.mjs +22 -0
- package/dist/layouts/stack.mjs.map +1 -0
- package/dist/medias/background-image.d.mts +56 -0
- package/dist/medias/background-image.d.ts +56 -0
- package/dist/medias/background-image.js +49 -0
- package/dist/medias/background-image.js.map +1 -0
- package/dist/medias/background-image.mjs +47 -0
- package/dist/medias/background-image.mjs.map +1 -0
- package/dist/medias/badge.d.mts +31 -0
- package/dist/medias/badge.d.ts +31 -0
- package/dist/medias/badge.js +84 -0
- package/dist/medias/badge.js.map +1 -0
- package/dist/medias/badge.mjs +82 -0
- package/dist/medias/badge.mjs.map +1 -0
- package/dist/medias/code-block.d.mts +31 -0
- package/dist/medias/code-block.d.ts +31 -0
- package/dist/medias/code-block.js +43 -0
- package/dist/medias/code-block.js.map +1 -0
- package/dist/medias/code-block.mjs +41 -0
- package/dist/medias/code-block.mjs.map +1 -0
- package/dist/medias/icon.d.mts +2288 -0
- package/dist/medias/icon.d.ts +2288 -0
- package/dist/medias/icon.js +56 -0
- package/dist/medias/icon.js.map +1 -0
- package/dist/medias/icon.mjs +54 -0
- package/dist/medias/icon.mjs.map +1 -0
- package/dist/medias/image.d.mts +31 -0
- package/dist/medias/image.d.ts +31 -0
- package/dist/medias/image.js +80 -0
- package/dist/medias/image.js.map +1 -0
- package/dist/medias/image.mjs +78 -0
- package/dist/medias/image.mjs.map +1 -0
- package/dist/medias/index.d.mts +31 -0
- package/dist/medias/index.d.ts +31 -0
- package/dist/medias/index.js +84 -0
- package/dist/medias/index.js.map +1 -0
- package/dist/medias/index.mjs +13 -0
- package/dist/medias/index.mjs.map +1 -0
- package/dist/medias/media.d.mts +31 -0
- package/dist/medias/media.d.ts +31 -0
- package/dist/medias/media.js +91 -0
- package/dist/medias/media.js.map +1 -0
- package/dist/medias/media.mjs +87 -0
- package/dist/medias/media.mjs.map +1 -0
- package/dist/medias/progress-bar.d.mts +31 -0
- package/dist/medias/progress-bar.d.ts +31 -0
- package/dist/medias/progress-bar.js +43 -0
- package/dist/medias/progress-bar.js.map +1 -0
- package/dist/medias/progress-bar.mjs +41 -0
- package/dist/medias/progress-bar.mjs.map +1 -0
- package/dist/medias/progress-ring.d.mts +31 -0
- package/dist/medias/progress-ring.d.ts +31 -0
- package/dist/medias/progress-ring.js +46 -0
- package/dist/medias/progress-ring.js.map +1 -0
- package/dist/medias/progress-ring.mjs +44 -0
- package/dist/medias/progress-ring.mjs.map +1 -0
- package/dist/medias/rich-text-block.d.mts +31 -0
- package/dist/medias/rich-text-block.d.ts +31 -0
- package/dist/medias/rich-text-block.js +33 -0
- package/dist/medias/rich-text-block.js.map +1 -0
- package/dist/medias/rich-text-block.mjs +31 -0
- package/dist/medias/rich-text-block.mjs.map +1 -0
- package/dist/medias/text-block.d.mts +31 -0
- package/dist/medias/text-block.d.ts +31 -0
- package/dist/medias/text-block.js +95 -0
- package/dist/medias/text-block.js.map +1 -0
- package/dist/medias/text-block.mjs +93 -0
- package/dist/medias/text-block.mjs.map +1 -0
- package/dist/medias/text-run.d.mts +31 -0
- package/dist/medias/text-run.d.ts +31 -0
- package/dist/medias/text-run.js +108 -0
- package/dist/medias/text-run.js.map +1 -0
- package/dist/medias/text-run.mjs +106 -0
- package/dist/medias/text-run.mjs.map +1 -0
- package/package.json +46 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"target-element.mjs"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Controls for which card width the element should be displayed.
|
|
3
|
+
* If targetWidth isn't specified, the element is rendered at all card widths.
|
|
4
|
+
* Using targetWidth makes it possible to author responsive cards that adapt
|
|
5
|
+
* their layout to the available horizontal space.
|
|
6
|
+
*/
|
|
7
|
+
type TargetWidth = 'VeryNarrow' | 'Narrow' | 'Standard' | 'Wide' | 'atLeast:VeryNarrow' | 'atMost:VeryNarrow' | 'atLeast:Narrow' | 'atMost:Narrow' | 'atLeast:Standard' | 'atMost:Standard' | 'atLeast:Wide' | 'atMost:Wide';
|
|
8
|
+
|
|
9
|
+
export type { TargetWidth };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Controls for which card width the element should be displayed.
|
|
3
|
+
* If targetWidth isn't specified, the element is rendered at all card widths.
|
|
4
|
+
* Using targetWidth makes it possible to author responsive cards that adapt
|
|
5
|
+
* their layout to the available horizontal space.
|
|
6
|
+
*/
|
|
7
|
+
type TargetWidth = 'VeryNarrow' | 'Narrow' | 'Standard' | 'Wide' | 'atLeast:VeryNarrow' | 'atMost:VeryNarrow' | 'atLeast:Narrow' | 'atMost:Narrow' | 'atLeast:Standard' | 'atMost:Standard' | 'atLeast:Wide' | 'atMost:Wide';
|
|
8
|
+
|
|
9
|
+
export type { TargetWidth };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"target-width.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"target-width.mjs"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"vertical-alignment.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"vertical-alignment.mjs"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { $ as ActionSet, _ as ActionSetOptions, Z as IActionSet } from '../medias/icon.mjs';
|
|
2
|
+
import '../actions/execute.mjs';
|
|
3
|
+
import '../common/associated-inputs.mjs';
|
|
4
|
+
import '../actions/base.mjs';
|
|
5
|
+
import '../actions/open-url.mjs';
|
|
6
|
+
import '../common/vertical-alignment.mjs';
|
|
7
|
+
import '../common/refresh.mjs';
|
|
8
|
+
import '../common/auth/auth.mjs';
|
|
9
|
+
import '../common/auth/auth-card-button.mjs';
|
|
10
|
+
import '../common/auth/token-exchange-resource.mjs';
|
|
11
|
+
import '../common/horizontal-alignment.mjs';
|
|
12
|
+
import '../common/spacing.mjs';
|
|
13
|
+
import '../common/target-width.mjs';
|
|
14
|
+
import '../charts/color.mjs';
|
|
15
|
+
import '../layouts/index.mjs';
|
|
16
|
+
import '../layouts/area-grid.mjs';
|
|
17
|
+
import '../layouts/flow.mjs';
|
|
18
|
+
import '../layouts/stack.mjs';
|
|
19
|
+
import '../medias/background-image.mjs';
|
|
20
|
+
import '../common/color.mjs';
|
|
21
|
+
import '../common/font.mjs';
|
|
22
|
+
import '../actions/submit/submit.mjs';
|
|
23
|
+
import '../actions/submit/im-back.mjs';
|
|
24
|
+
import '../actions/submit/invoke.mjs';
|
|
25
|
+
import '../actions/submit/message-back.mjs';
|
|
26
|
+
import '../actions/submit/sign-in.mjs';
|
|
27
|
+
import '../actions/submit/task-fetch.mjs';
|
|
28
|
+
import '../actions/submit/collab-stage.mjs';
|
|
29
|
+
import '../common/tab-info.mjs';
|
|
30
|
+
import '../actions/toggle-visibility.mjs';
|
|
31
|
+
import '../common/target-element.mjs';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { $ as ActionSet, _ as ActionSetOptions, Z as IActionSet } from '../medias/icon.js';
|
|
2
|
+
import '../actions/execute.js';
|
|
3
|
+
import '../common/associated-inputs.js';
|
|
4
|
+
import '../actions/base.js';
|
|
5
|
+
import '../actions/open-url.js';
|
|
6
|
+
import '../common/vertical-alignment.js';
|
|
7
|
+
import '../common/refresh.js';
|
|
8
|
+
import '../common/auth/auth.js';
|
|
9
|
+
import '../common/auth/auth-card-button.js';
|
|
10
|
+
import '../common/auth/token-exchange-resource.js';
|
|
11
|
+
import '../common/horizontal-alignment.js';
|
|
12
|
+
import '../common/spacing.js';
|
|
13
|
+
import '../common/target-width.js';
|
|
14
|
+
import '../charts/color.js';
|
|
15
|
+
import '../layouts/index.js';
|
|
16
|
+
import '../layouts/area-grid.js';
|
|
17
|
+
import '../layouts/flow.js';
|
|
18
|
+
import '../layouts/stack.js';
|
|
19
|
+
import '../medias/background-image.js';
|
|
20
|
+
import '../common/color.js';
|
|
21
|
+
import '../common/font.js';
|
|
22
|
+
import '../actions/submit/submit.js';
|
|
23
|
+
import '../actions/submit/im-back.js';
|
|
24
|
+
import '../actions/submit/invoke.js';
|
|
25
|
+
import '../actions/submit/message-back.js';
|
|
26
|
+
import '../actions/submit/sign-in.js';
|
|
27
|
+
import '../actions/submit/task-fetch.js';
|
|
28
|
+
import '../actions/submit/collab-stage.js';
|
|
29
|
+
import '../common/tab-info.js';
|
|
30
|
+
import '../actions/toggle-visibility.js';
|
|
31
|
+
import '../common/target-element.js';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var base = require('../base');
|
|
4
|
+
|
|
5
|
+
class ActionSet extends base.Element {
|
|
6
|
+
type;
|
|
7
|
+
/**
|
|
8
|
+
* The array of `Action` elements to show.
|
|
9
|
+
*/
|
|
10
|
+
actions;
|
|
11
|
+
constructor(...actions) {
|
|
12
|
+
super();
|
|
13
|
+
this.type = "ActionSet";
|
|
14
|
+
this.actions = actions;
|
|
15
|
+
}
|
|
16
|
+
withOptions(value) {
|
|
17
|
+
Object.assign(this, value);
|
|
18
|
+
return this;
|
|
19
|
+
}
|
|
20
|
+
addActions(...value) {
|
|
21
|
+
this.actions.push(...value);
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
exports.ActionSet = ActionSet;
|
|
27
|
+
//# sourceMappingURL=action-set.js.map
|
|
28
|
+
//# sourceMappingURL=action-set.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/containers/action-set.ts"],"names":["Element"],"mappings":";;;;AAoBO,MAAM,kBAAkBA,YAA8B,CAAA;AAAA,EAC3D,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA,EAEA,eAAe,OAAmB,EAAA;AAChC,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,WAAA;AACZ,IAAA,IAAA,CAAK,OAAU,GAAA,OAAA;AAAA;AACjB,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAiB,EAAA;AAC7B,IAAK,IAAA,CAAA,OAAA,CAAQ,IAAK,CAAA,GAAG,KAAK,CAAA;AAC1B,IAAO,OAAA,IAAA;AAAA;AAEX","file":"action-set.js","sourcesContent":["import { Action } from '../actions';\nimport { Element, IElement } from '../base';\n\n/**\n * Displays a set of actions.\n */\nexport interface IActionSet extends IElement {\n type: 'ActionSet';\n\n /**\n * The array of `Action` elements to show.\n */\n actions: Action[];\n}\n\nexport type ActionSetOptions = Omit<IActionSet, 'type' | 'actions'>;\n\n/**\n * Displays a set of actions.\n */\nexport class ActionSet extends Element implements IActionSet {\n type: 'ActionSet';\n\n /**\n * The array of `Action` elements to show.\n */\n actions: Action[];\n\n constructor(...actions: Action[]) {\n super();\n this.type = 'ActionSet';\n this.actions = actions;\n }\n\n withOptions(value: ActionSetOptions) {\n Object.assign(this, value);\n return this;\n }\n\n addActions(...value: Action[]) {\n this.actions.push(...value);\n return this;\n }\n}\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Element } from '../base';
|
|
2
|
+
|
|
3
|
+
class ActionSet extends Element {
|
|
4
|
+
type;
|
|
5
|
+
/**
|
|
6
|
+
* The array of `Action` elements to show.
|
|
7
|
+
*/
|
|
8
|
+
actions;
|
|
9
|
+
constructor(...actions) {
|
|
10
|
+
super();
|
|
11
|
+
this.type = "ActionSet";
|
|
12
|
+
this.actions = actions;
|
|
13
|
+
}
|
|
14
|
+
withOptions(value) {
|
|
15
|
+
Object.assign(this, value);
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
18
|
+
addActions(...value) {
|
|
19
|
+
this.actions.push(...value);
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { ActionSet };
|
|
25
|
+
//# sourceMappingURL=action-set.mjs.map
|
|
26
|
+
//# sourceMappingURL=action-set.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/containers/action-set.ts"],"names":[],"mappings":";;AAoBO,MAAM,kBAAkB,OAA8B,CAAA;AAAA,EAC3D,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,OAAA;AAAA,EAEA,eAAe,OAAmB,EAAA;AAChC,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,WAAA;AACZ,IAAA,IAAA,CAAK,OAAU,GAAA,OAAA;AAAA;AACjB,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAc,KAAiB,EAAA;AAC7B,IAAK,IAAA,CAAA,OAAA,CAAQ,IAAK,CAAA,GAAG,KAAK,CAAA;AAC1B,IAAO,OAAA,IAAA;AAAA;AAEX","file":"action-set.mjs","sourcesContent":["import { Action } from '../actions';\nimport { Element, IElement } from '../base';\n\n/**\n * Displays a set of actions.\n */\nexport interface IActionSet extends IElement {\n type: 'ActionSet';\n\n /**\n * The array of `Action` elements to show.\n */\n actions: Action[];\n}\n\nexport type ActionSetOptions = Omit<IActionSet, 'type' | 'actions'>;\n\n/**\n * Displays a set of actions.\n */\nexport class ActionSet extends Element implements IActionSet {\n type: 'ActionSet';\n\n /**\n * The array of `Action` elements to show.\n */\n actions: Action[];\n\n constructor(...actions: Action[]) {\n super();\n this.type = 'ActionSet';\n this.actions = actions;\n }\n\n withOptions(value: ActionSetOptions) {\n Object.assign(this, value);\n return this;\n }\n\n addActions(...value: Action[]) {\n this.actions.push(...value);\n return this;\n }\n}\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { a1 as ContainerElement, a0 as IContainerElement } from '../medias/icon.mjs';
|
|
2
|
+
import '../layouts/index.mjs';
|
|
3
|
+
import '../medias/background-image.mjs';
|
|
4
|
+
import '../actions/execute.mjs';
|
|
5
|
+
import '../common/associated-inputs.mjs';
|
|
6
|
+
import '../actions/base.mjs';
|
|
7
|
+
import '../actions/open-url.mjs';
|
|
8
|
+
import '../common/vertical-alignment.mjs';
|
|
9
|
+
import '../common/refresh.mjs';
|
|
10
|
+
import '../common/auth/auth.mjs';
|
|
11
|
+
import '../common/auth/auth-card-button.mjs';
|
|
12
|
+
import '../common/auth/token-exchange-resource.mjs';
|
|
13
|
+
import '../common/horizontal-alignment.mjs';
|
|
14
|
+
import '../common/spacing.mjs';
|
|
15
|
+
import '../common/target-width.mjs';
|
|
16
|
+
import '../charts/color.mjs';
|
|
17
|
+
import '../common/color.mjs';
|
|
18
|
+
import '../common/font.mjs';
|
|
19
|
+
import '../actions/submit/submit.mjs';
|
|
20
|
+
import '../actions/submit/im-back.mjs';
|
|
21
|
+
import '../actions/submit/invoke.mjs';
|
|
22
|
+
import '../actions/submit/message-back.mjs';
|
|
23
|
+
import '../actions/submit/sign-in.mjs';
|
|
24
|
+
import '../actions/submit/task-fetch.mjs';
|
|
25
|
+
import '../actions/submit/collab-stage.mjs';
|
|
26
|
+
import '../common/tab-info.mjs';
|
|
27
|
+
import '../actions/toggle-visibility.mjs';
|
|
28
|
+
import '../common/target-element.mjs';
|
|
29
|
+
import '../layouts/flow.mjs';
|
|
30
|
+
import '../layouts/area-grid.mjs';
|
|
31
|
+
import '../layouts/stack.mjs';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { a1 as ContainerElement, a0 as IContainerElement } from '../medias/icon.js';
|
|
2
|
+
import '../layouts/index.js';
|
|
3
|
+
import '../medias/background-image.js';
|
|
4
|
+
import '../actions/execute.js';
|
|
5
|
+
import '../common/associated-inputs.js';
|
|
6
|
+
import '../actions/base.js';
|
|
7
|
+
import '../actions/open-url.js';
|
|
8
|
+
import '../common/vertical-alignment.js';
|
|
9
|
+
import '../common/refresh.js';
|
|
10
|
+
import '../common/auth/auth.js';
|
|
11
|
+
import '../common/auth/auth-card-button.js';
|
|
12
|
+
import '../common/auth/token-exchange-resource.js';
|
|
13
|
+
import '../common/horizontal-alignment.js';
|
|
14
|
+
import '../common/spacing.js';
|
|
15
|
+
import '../common/target-width.js';
|
|
16
|
+
import '../charts/color.js';
|
|
17
|
+
import '../common/color.js';
|
|
18
|
+
import '../common/font.js';
|
|
19
|
+
import '../actions/submit/submit.js';
|
|
20
|
+
import '../actions/submit/im-back.js';
|
|
21
|
+
import '../actions/submit/invoke.js';
|
|
22
|
+
import '../actions/submit/message-back.js';
|
|
23
|
+
import '../actions/submit/sign-in.js';
|
|
24
|
+
import '../actions/submit/task-fetch.js';
|
|
25
|
+
import '../actions/submit/collab-stage.js';
|
|
26
|
+
import '../common/tab-info.js';
|
|
27
|
+
import '../actions/toggle-visibility.js';
|
|
28
|
+
import '../common/target-element.js';
|
|
29
|
+
import '../layouts/flow.js';
|
|
30
|
+
import '../layouts/area-grid.js';
|
|
31
|
+
import '../layouts/stack.js';
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var base = require('../base');
|
|
4
|
+
|
|
5
|
+
class ContainerElement extends base.Element {
|
|
6
|
+
/**
|
|
7
|
+
* The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.
|
|
8
|
+
*/
|
|
9
|
+
layouts;
|
|
10
|
+
/**
|
|
11
|
+
* Specifies the background image. Acceptable formats are PNG, JPEG, and GIF
|
|
12
|
+
*/
|
|
13
|
+
backgroundImage;
|
|
14
|
+
/**
|
|
15
|
+
* Determines whether the column should bleed through its parent's padding.
|
|
16
|
+
*/
|
|
17
|
+
bleed;
|
|
18
|
+
/**
|
|
19
|
+
* Controls if the container should have rounded corners.
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
roundedCorners;
|
|
23
|
+
/**
|
|
24
|
+
* When `true` content in this container should be presented right to left. When 'false' content in this container should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.
|
|
25
|
+
*/
|
|
26
|
+
rtl;
|
|
27
|
+
/**
|
|
28
|
+
* Controls if a border should be displayed around the container.
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
showBorder;
|
|
32
|
+
/**
|
|
33
|
+
* An Action that will be invoked when the `Container` is tapped or selected. `Action.ShowCard` is not supported.
|
|
34
|
+
*/
|
|
35
|
+
selectAction;
|
|
36
|
+
withLayouts(...value) {
|
|
37
|
+
this.layouts = value;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
withBackgroundImage(value) {
|
|
41
|
+
this.backgroundImage = value;
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
withBleed(value = true) {
|
|
45
|
+
this.bleed = value;
|
|
46
|
+
return this;
|
|
47
|
+
}
|
|
48
|
+
withRoundedCorners(value = true) {
|
|
49
|
+
this.roundedCorners = value;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
withRtl(value = true) {
|
|
53
|
+
this.rtl = value;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
withShowBorder(value = true) {
|
|
57
|
+
this.showBorder = value;
|
|
58
|
+
return this;
|
|
59
|
+
}
|
|
60
|
+
withSelectAction(value) {
|
|
61
|
+
this.selectAction = value;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
exports.ContainerElement = ContainerElement;
|
|
67
|
+
//# sourceMappingURL=base.js.map
|
|
68
|
+
//# sourceMappingURL=base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/containers/base.ts"],"names":["Element"],"mappings":";;;;AA4CO,MAAM,yBAAyBA,YAAqC,CAAA;AAAA;AAAA;AAAA;AAAA,EAIzE,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,eAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,cAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,UAAA;AAAA;AAAA;AAAA;AAAA,EAKA,YAAA;AAAA,EAEA,eAAe,KAAiB,EAAA;AAC9B,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,oBAAoB,KAAkC,EAAA;AACpD,IAAA,IAAA,CAAK,eAAkB,GAAA,KAAA;AACvB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAA,CAAU,QAAQ,IAAM,EAAA;AACtB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,kBAAA,CAAmB,QAAQ,IAAM,EAAA;AAC/B,IAAA,IAAA,CAAK,cAAiB,GAAA,KAAA;AACtB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,OAAA,CAAQ,QAAQ,IAAM,EAAA;AACpB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAA,CAAe,QAAQ,IAAM,EAAA;AAC3B,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,iBAAiB,KAAqB,EAAA;AACpC,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"base.js","sourcesContent":["import { SelectAction } from '../actions';\nimport { IElement, Element } from '../base';\nimport { Layout } from '../layouts';\nimport { IBackgroundImage } from '../medias';\n\nexport interface IContainerElement extends IElement {\n /**\n * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.\n */\n layouts?: Array<Layout>;\n\n /**\n * Specifies the background image. Acceptable formats are PNG, JPEG, and GIF\n */\n backgroundImage?: IBackgroundImage | string;\n\n /**\n * Determines whether the column should bleed through its parent's padding.\n */\n bleed?: boolean;\n\n /**\n * Controls if the container should have rounded corners.\n * @default false\n */\n roundedCorners?: boolean;\n\n /**\n * When `true` content in this container should be presented right to left. When 'false' content in this container should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.\n */\n rtl?: boolean | null;\n\n /**\n * Controls if a border should be displayed around the container.\n * @default false\n */\n showBorder?: boolean;\n\n /**\n * An Action that will be invoked when the `Container` is tapped or selected. `Action.ShowCard` is not supported.\n */\n selectAction?: SelectAction;\n}\n\nexport class ContainerElement extends Element implements IContainerElement {\n /**\n * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.\n */\n layouts?: Array<Layout>;\n\n /**\n * Specifies the background image. Acceptable formats are PNG, JPEG, and GIF\n */\n backgroundImage?: IBackgroundImage | string;\n\n /**\n * Determines whether the column should bleed through its parent's padding.\n */\n bleed?: boolean;\n\n /**\n * Controls if the container should have rounded corners.\n * @default false\n */\n roundedCorners?: boolean;\n\n /**\n * When `true` content in this container should be presented right to left. When 'false' content in this container should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.\n */\n rtl?: boolean | null;\n\n /**\n * Controls if a border should be displayed around the container.\n * @default false\n */\n showBorder?: boolean;\n\n /**\n * An Action that will be invoked when the `Container` is tapped or selected. `Action.ShowCard` is not supported.\n */\n selectAction?: SelectAction;\n\n withLayouts(...value: Layout[]) {\n this.layouts = value;\n return this;\n }\n\n withBackgroundImage(value: IBackgroundImage | string) {\n this.backgroundImage = value;\n return this;\n }\n\n withBleed(value = true) {\n this.bleed = value;\n return this;\n }\n\n withRoundedCorners(value = true) {\n this.roundedCorners = value;\n return this;\n }\n\n withRtl(value = true) {\n this.rtl = value;\n return this;\n }\n\n withShowBorder(value = true) {\n this.showBorder = value;\n return this;\n }\n\n withSelectAction(value: SelectAction) {\n this.selectAction = value;\n return this;\n }\n}\n"]}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Element } from '../base';
|
|
2
|
+
|
|
3
|
+
class ContainerElement extends Element {
|
|
4
|
+
/**
|
|
5
|
+
* The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.
|
|
6
|
+
*/
|
|
7
|
+
layouts;
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the background image. Acceptable formats are PNG, JPEG, and GIF
|
|
10
|
+
*/
|
|
11
|
+
backgroundImage;
|
|
12
|
+
/**
|
|
13
|
+
* Determines whether the column should bleed through its parent's padding.
|
|
14
|
+
*/
|
|
15
|
+
bleed;
|
|
16
|
+
/**
|
|
17
|
+
* Controls if the container should have rounded corners.
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
roundedCorners;
|
|
21
|
+
/**
|
|
22
|
+
* When `true` content in this container should be presented right to left. When 'false' content in this container should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.
|
|
23
|
+
*/
|
|
24
|
+
rtl;
|
|
25
|
+
/**
|
|
26
|
+
* Controls if a border should be displayed around the container.
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
showBorder;
|
|
30
|
+
/**
|
|
31
|
+
* An Action that will be invoked when the `Container` is tapped or selected. `Action.ShowCard` is not supported.
|
|
32
|
+
*/
|
|
33
|
+
selectAction;
|
|
34
|
+
withLayouts(...value) {
|
|
35
|
+
this.layouts = value;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
withBackgroundImage(value) {
|
|
39
|
+
this.backgroundImage = value;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
withBleed(value = true) {
|
|
43
|
+
this.bleed = value;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
withRoundedCorners(value = true) {
|
|
47
|
+
this.roundedCorners = value;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
withRtl(value = true) {
|
|
51
|
+
this.rtl = value;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
withShowBorder(value = true) {
|
|
55
|
+
this.showBorder = value;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
withSelectAction(value) {
|
|
59
|
+
this.selectAction = value;
|
|
60
|
+
return this;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export { ContainerElement };
|
|
65
|
+
//# sourceMappingURL=base.mjs.map
|
|
66
|
+
//# sourceMappingURL=base.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/containers/base.ts"],"names":[],"mappings":";;AA4CO,MAAM,yBAAyB,OAAqC,CAAA;AAAA;AAAA;AAAA;AAAA,EAIzE,OAAA;AAAA;AAAA;AAAA;AAAA,EAKA,eAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,cAAA;AAAA;AAAA;AAAA;AAAA,EAKA,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,UAAA;AAAA;AAAA;AAAA;AAAA,EAKA,YAAA;AAAA,EAEA,eAAe,KAAiB,EAAA;AAC9B,IAAA,IAAA,CAAK,OAAU,GAAA,KAAA;AACf,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,oBAAoB,KAAkC,EAAA;AACpD,IAAA,IAAA,CAAK,eAAkB,GAAA,KAAA;AACvB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,SAAA,CAAU,QAAQ,IAAM,EAAA;AACtB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,kBAAA,CAAmB,QAAQ,IAAM,EAAA;AAC/B,IAAA,IAAA,CAAK,cAAiB,GAAA,KAAA;AACtB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,OAAA,CAAQ,QAAQ,IAAM,EAAA;AACpB,IAAA,IAAA,CAAK,GAAM,GAAA,KAAA;AACX,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,cAAA,CAAe,QAAQ,IAAM,EAAA;AAC3B,IAAA,IAAA,CAAK,UAAa,GAAA,KAAA;AAClB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,iBAAiB,KAAqB,EAAA;AACpC,IAAA,IAAA,CAAK,YAAe,GAAA,KAAA;AACpB,IAAO,OAAA,IAAA;AAAA;AAEX","file":"base.mjs","sourcesContent":["import { SelectAction } from '../actions';\nimport { IElement, Element } from '../base';\nimport { Layout } from '../layouts';\nimport { IBackgroundImage } from '../medias';\n\nexport interface IContainerElement extends IElement {\n /**\n * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.\n */\n layouts?: Array<Layout>;\n\n /**\n * Specifies the background image. Acceptable formats are PNG, JPEG, and GIF\n */\n backgroundImage?: IBackgroundImage | string;\n\n /**\n * Determines whether the column should bleed through its parent's padding.\n */\n bleed?: boolean;\n\n /**\n * Controls if the container should have rounded corners.\n * @default false\n */\n roundedCorners?: boolean;\n\n /**\n * When `true` content in this container should be presented right to left. When 'false' content in this container should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.\n */\n rtl?: boolean | null;\n\n /**\n * Controls if a border should be displayed around the container.\n * @default false\n */\n showBorder?: boolean;\n\n /**\n * An Action that will be invoked when the `Container` is tapped or selected. `Action.ShowCard` is not supported.\n */\n selectAction?: SelectAction;\n}\n\nexport class ContainerElement extends Element implements IContainerElement {\n /**\n * The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.\n */\n layouts?: Array<Layout>;\n\n /**\n * Specifies the background image. Acceptable formats are PNG, JPEG, and GIF\n */\n backgroundImage?: IBackgroundImage | string;\n\n /**\n * Determines whether the column should bleed through its parent's padding.\n */\n bleed?: boolean;\n\n /**\n * Controls if the container should have rounded corners.\n * @default false\n */\n roundedCorners?: boolean;\n\n /**\n * When `true` content in this container should be presented right to left. When 'false' content in this container should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.\n */\n rtl?: boolean | null;\n\n /**\n * Controls if a border should be displayed around the container.\n * @default false\n */\n showBorder?: boolean;\n\n /**\n * An Action that will be invoked when the `Container` is tapped or selected. `Action.ShowCard` is not supported.\n */\n selectAction?: SelectAction;\n\n withLayouts(...value: Layout[]) {\n this.layouts = value;\n return this;\n }\n\n withBackgroundImage(value: IBackgroundImage | string) {\n this.backgroundImage = value;\n return this;\n }\n\n withBleed(value = true) {\n this.bleed = value;\n return this;\n }\n\n withRoundedCorners(value = true) {\n this.roundedCorners = value;\n return this;\n }\n\n withRtl(value = true) {\n this.rtl = value;\n return this;\n }\n\n withShowBorder(value = true) {\n this.showBorder = value;\n return this;\n }\n\n withSelectAction(value: SelectAction) {\n this.selectAction = value;\n return this;\n }\n}\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { a8 as Carousel, a7 as CarouselOptions, ab as CarouselPage, aa as CarouselPageOptions, a6 as ICarousel, a9 as ICarouselPage } from '../medias/icon.mjs';
|
|
2
|
+
import '../common/vertical-alignment.mjs';
|
|
3
|
+
import '../layouts/index.mjs';
|
|
4
|
+
import '../medias/background-image.mjs';
|
|
5
|
+
import '../actions/execute.mjs';
|
|
6
|
+
import '../common/associated-inputs.mjs';
|
|
7
|
+
import '../actions/base.mjs';
|
|
8
|
+
import '../actions/open-url.mjs';
|
|
9
|
+
import '../common/refresh.mjs';
|
|
10
|
+
import '../common/auth/auth.mjs';
|
|
11
|
+
import '../common/auth/auth-card-button.mjs';
|
|
12
|
+
import '../common/auth/token-exchange-resource.mjs';
|
|
13
|
+
import '../common/horizontal-alignment.mjs';
|
|
14
|
+
import '../common/spacing.mjs';
|
|
15
|
+
import '../common/target-width.mjs';
|
|
16
|
+
import '../charts/color.mjs';
|
|
17
|
+
import '../common/color.mjs';
|
|
18
|
+
import '../common/font.mjs';
|
|
19
|
+
import '../actions/submit/submit.mjs';
|
|
20
|
+
import '../actions/submit/im-back.mjs';
|
|
21
|
+
import '../actions/submit/invoke.mjs';
|
|
22
|
+
import '../actions/submit/message-back.mjs';
|
|
23
|
+
import '../actions/submit/sign-in.mjs';
|
|
24
|
+
import '../actions/submit/task-fetch.mjs';
|
|
25
|
+
import '../actions/submit/collab-stage.mjs';
|
|
26
|
+
import '../common/tab-info.mjs';
|
|
27
|
+
import '../actions/toggle-visibility.mjs';
|
|
28
|
+
import '../common/target-element.mjs';
|
|
29
|
+
import '../layouts/flow.mjs';
|
|
30
|
+
import '../layouts/area-grid.mjs';
|
|
31
|
+
import '../layouts/stack.mjs';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { a8 as Carousel, a7 as CarouselOptions, ab as CarouselPage, aa as CarouselPageOptions, a6 as ICarousel, a9 as ICarouselPage } from '../medias/icon.js';
|
|
2
|
+
import '../common/vertical-alignment.js';
|
|
3
|
+
import '../layouts/index.js';
|
|
4
|
+
import '../medias/background-image.js';
|
|
5
|
+
import '../actions/execute.js';
|
|
6
|
+
import '../common/associated-inputs.js';
|
|
7
|
+
import '../actions/base.js';
|
|
8
|
+
import '../actions/open-url.js';
|
|
9
|
+
import '../common/refresh.js';
|
|
10
|
+
import '../common/auth/auth.js';
|
|
11
|
+
import '../common/auth/auth-card-button.js';
|
|
12
|
+
import '../common/auth/token-exchange-resource.js';
|
|
13
|
+
import '../common/horizontal-alignment.js';
|
|
14
|
+
import '../common/spacing.js';
|
|
15
|
+
import '../common/target-width.js';
|
|
16
|
+
import '../charts/color.js';
|
|
17
|
+
import '../common/color.js';
|
|
18
|
+
import '../common/font.js';
|
|
19
|
+
import '../actions/submit/submit.js';
|
|
20
|
+
import '../actions/submit/im-back.js';
|
|
21
|
+
import '../actions/submit/invoke.js';
|
|
22
|
+
import '../actions/submit/message-back.js';
|
|
23
|
+
import '../actions/submit/sign-in.js';
|
|
24
|
+
import '../actions/submit/task-fetch.js';
|
|
25
|
+
import '../actions/submit/collab-stage.js';
|
|
26
|
+
import '../common/tab-info.js';
|
|
27
|
+
import '../actions/toggle-visibility.js';
|
|
28
|
+
import '../common/target-element.js';
|
|
29
|
+
import '../layouts/flow.js';
|
|
30
|
+
import '../layouts/area-grid.js';
|
|
31
|
+
import '../layouts/stack.js';
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var base = require('../base');
|
|
4
|
+
|
|
5
|
+
class Carousel extends base.Element {
|
|
6
|
+
type;
|
|
7
|
+
/**
|
|
8
|
+
* Controls if the container should bleed into its parent. A bleeding container extends into its parent's padding.
|
|
9
|
+
*/
|
|
10
|
+
bleed;
|
|
11
|
+
/**
|
|
12
|
+
* The minimum height, in pixels, of the container, in the <number>px format.
|
|
13
|
+
* @example `<number>px`
|
|
14
|
+
*/
|
|
15
|
+
minHeight;
|
|
16
|
+
/**
|
|
17
|
+
* Controls the type of animation to use to navigate between pages.
|
|
18
|
+
* @default `slide`
|
|
19
|
+
*/
|
|
20
|
+
pageAnimation;
|
|
21
|
+
/**
|
|
22
|
+
* The pages in the carousel.
|
|
23
|
+
*/
|
|
24
|
+
pages;
|
|
25
|
+
constructor(...pages) {
|
|
26
|
+
super();
|
|
27
|
+
this.type = "Carousel";
|
|
28
|
+
this.pages = pages;
|
|
29
|
+
}
|
|
30
|
+
withOptions(value) {
|
|
31
|
+
Object.assign(this, value);
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
withBleed(value = true) {
|
|
35
|
+
this.bleed = value;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
withMinHeight(value) {
|
|
39
|
+
this.minHeight = value;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
withPageAnimation(value = "slide") {
|
|
43
|
+
this.pageAnimation = value;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
addPages(...value) {
|
|
47
|
+
this.pages.push(...value);
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
class CarouselPage extends base.Element {
|
|
52
|
+
type;
|
|
53
|
+
/**
|
|
54
|
+
* The card elements to render inside the `CarouselPage`.
|
|
55
|
+
*/
|
|
56
|
+
items;
|
|
57
|
+
/**
|
|
58
|
+
* Specifies the background image. Acceptable formats are `PNG`, `JPEG`, and `GIF`
|
|
59
|
+
*/
|
|
60
|
+
backgroundImage;
|
|
61
|
+
/**
|
|
62
|
+
* The layouts associated with the container. The container can dynamically switch from one layout to another as the card's width changes. See Container layouts for more details.
|
|
63
|
+
*/
|
|
64
|
+
layouts;
|
|
65
|
+
/**
|
|
66
|
+
* The maximum height, in pixels, of the container, in the <number>px format. When the content of a container exceeds the container's maximum height, a vertical scrollbar is displayed.
|
|
67
|
+
* @example `<number>px`
|
|
68
|
+
*/
|
|
69
|
+
maxHeight;
|
|
70
|
+
/**
|
|
71
|
+
* The minimum height, in pixels, of the container, in the <number>px format.
|
|
72
|
+
* @example `<number>px`
|
|
73
|
+
*/
|
|
74
|
+
minHeight;
|
|
75
|
+
/**
|
|
76
|
+
* Controls if the container should have rounded corners.
|
|
77
|
+
* @default false
|
|
78
|
+
*/
|
|
79
|
+
roundedCorners;
|
|
80
|
+
/**
|
|
81
|
+
* Controls if the content of the card is to be rendered left-to-right or right-to-left.
|
|
82
|
+
*/
|
|
83
|
+
rtl;
|
|
84
|
+
/**
|
|
85
|
+
* Controls if a border should be displayed around the container.
|
|
86
|
+
* @default false
|
|
87
|
+
*/
|
|
88
|
+
showBorder;
|
|
89
|
+
/**
|
|
90
|
+
* The style of the container. Container styles control the colors of the background, border and text inside the container, in such a way that contrast requirements are always met.
|
|
91
|
+
*/
|
|
92
|
+
style;
|
|
93
|
+
/**
|
|
94
|
+
* Controls how the container's content should be vertically aligned.
|
|
95
|
+
*/
|
|
96
|
+
verticalContentAlignment;
|
|
97
|
+
/**
|
|
98
|
+
* An Action that will be invoked when the element is tapped or clicked. Action.ShowCard is not supported.
|
|
99
|
+
*/
|
|
100
|
+
selectAction;
|
|
101
|
+
constructor(...items) {
|
|
102
|
+
super();
|
|
103
|
+
this.type = "CarouselPage";
|
|
104
|
+
this.items = items;
|
|
105
|
+
}
|
|
106
|
+
withOptions(value) {
|
|
107
|
+
Object.assign(this, value);
|
|
108
|
+
return this;
|
|
109
|
+
}
|
|
110
|
+
withBackgroundImage(value) {
|
|
111
|
+
this.backgroundImage = value;
|
|
112
|
+
return this;
|
|
113
|
+
}
|
|
114
|
+
withMinHeight(value) {
|
|
115
|
+
this.minHeight = value;
|
|
116
|
+
return this;
|
|
117
|
+
}
|
|
118
|
+
withRoundedCorners(value = true) {
|
|
119
|
+
this.roundedCorners = value;
|
|
120
|
+
return this;
|
|
121
|
+
}
|
|
122
|
+
withRtl(value = true) {
|
|
123
|
+
this.rtl = value;
|
|
124
|
+
return this;
|
|
125
|
+
}
|
|
126
|
+
withShowBorder(value = true) {
|
|
127
|
+
this.showBorder = value;
|
|
128
|
+
return this;
|
|
129
|
+
}
|
|
130
|
+
withStyle(value) {
|
|
131
|
+
this.style = value;
|
|
132
|
+
return this;
|
|
133
|
+
}
|
|
134
|
+
withVeritcalAlignment(value) {
|
|
135
|
+
this.verticalContentAlignment = value;
|
|
136
|
+
return this;
|
|
137
|
+
}
|
|
138
|
+
withSelectAction(value) {
|
|
139
|
+
this.selectAction = value;
|
|
140
|
+
return this;
|
|
141
|
+
}
|
|
142
|
+
addLayouts(...value) {
|
|
143
|
+
if (!this.layouts) {
|
|
144
|
+
this.layouts = [];
|
|
145
|
+
}
|
|
146
|
+
this.layouts.push(...value);
|
|
147
|
+
return this;
|
|
148
|
+
}
|
|
149
|
+
addCards(...value) {
|
|
150
|
+
this.items.push(...value);
|
|
151
|
+
return this;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
exports.Carousel = Carousel;
|
|
156
|
+
exports.CarouselPage = CarouselPage;
|
|
157
|
+
//# sourceMappingURL=carousel.js.map
|
|
158
|
+
//# sourceMappingURL=carousel.js.map
|