@microsoft/teams.cards 0.2.13 → 2.0.0-preview.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -40
- package/dist/actions/index.d.mts +2 -24
- package/dist/actions/index.d.ts +2 -24
- package/dist/actions/index.js +0 -28
- package/dist/actions/index.mjs +0 -4
- package/dist/actions/submit/collab-stage.d.mts +2 -3
- package/dist/actions/submit/collab-stage.d.ts +2 -3
- package/dist/actions/submit/collab-stage.js +2 -2
- package/dist/actions/submit/collab-stage.js.map +1 -1
- package/dist/actions/submit/collab-stage.mjs +1 -1
- package/dist/actions/submit/collab-stage.mjs.map +1 -1
- package/dist/actions/submit/im-back.d.mts +2 -3
- package/dist/actions/submit/im-back.d.ts +2 -3
- package/dist/actions/submit/im-back.js +2 -2
- package/dist/actions/submit/im-back.js.map +1 -1
- package/dist/actions/submit/im-back.mjs +1 -1
- package/dist/actions/submit/im-back.mjs.map +1 -1
- package/dist/actions/submit/index.d.mts +2 -3
- package/dist/actions/submit/index.d.ts +2 -3
- package/dist/actions/submit/index.js +0 -7
- package/dist/actions/submit/index.mjs +0 -1
- package/dist/actions/submit/invoke.d.mts +2 -3
- package/dist/actions/submit/invoke.d.ts +2 -3
- package/dist/actions/submit/invoke.js +2 -2
- package/dist/actions/submit/invoke.js.map +1 -1
- package/dist/actions/submit/invoke.mjs +1 -1
- package/dist/actions/submit/invoke.mjs.map +1 -1
- package/dist/actions/submit/message-back.d.mts +2 -3
- package/dist/actions/submit/message-back.d.ts +2 -3
- package/dist/actions/submit/message-back.js +2 -2
- package/dist/actions/submit/message-back.js.map +1 -1
- package/dist/actions/submit/message-back.mjs +1 -1
- package/dist/actions/submit/message-back.mjs.map +1 -1
- package/dist/actions/submit/ms-teams-data.d.mts +15 -0
- package/dist/actions/submit/ms-teams-data.d.ts +15 -0
- package/dist/actions/submit/ms-teams-data.js +4 -0
- package/dist/actions/submit/ms-teams-data.js.map +1 -0
- package/dist/actions/submit/ms-teams-data.mjs +3 -0
- package/dist/actions/submit/ms-teams-data.mjs.map +1 -0
- package/dist/actions/submit/sign-in.d.mts +2 -3
- package/dist/actions/submit/sign-in.d.ts +2 -3
- package/dist/actions/submit/sign-in.js +2 -2
- package/dist/actions/submit/sign-in.js.map +1 -1
- package/dist/actions/submit/sign-in.mjs +1 -1
- package/dist/actions/submit/sign-in.mjs.map +1 -1
- package/dist/actions/submit/task-fetch.d.mts +2 -3
- package/dist/actions/submit/task-fetch.d.ts +2 -3
- package/dist/actions/submit/task-fetch.js +3 -3
- package/dist/actions/submit/task-fetch.js.map +1 -1
- package/dist/actions/submit/task-fetch.mjs +2 -2
- package/dist/actions/submit/task-fetch.mjs.map +1 -1
- package/dist/common/index.d.mts +0 -14
- package/dist/common/index.d.ts +0 -14
- package/dist/common/index.js +0 -70
- package/dist/common/index.mjs +0 -10
- package/dist/core.d.mts +10707 -0
- package/dist/core.d.ts +10707 -0
- package/dist/core.js +8718 -0
- package/dist/core.js.map +1 -0
- package/dist/core.mjs +8574 -0
- package/dist/core.mjs.map +1 -0
- package/dist/index.d.mts +3 -25
- package/dist/index.d.ts +3 -25
- package/dist/index.js +5 -47
- package/dist/index.mjs +1 -7
- package/package.json +3 -4
- package/dist/actions/base.d.mts +0 -89
- package/dist/actions/base.d.ts +0 -89
- package/dist/actions/base.js +0 -90
- package/dist/actions/base.js.map +0 -1
- package/dist/actions/base.mjs +0 -88
- package/dist/actions/base.mjs.map +0 -1
- package/dist/actions/execute.d.mts +0 -47
- package/dist/actions/execute.d.ts +0 -47
- package/dist/actions/execute.js +0 -43
- package/dist/actions/execute.js.map +0 -1
- package/dist/actions/execute.mjs +0 -41
- package/dist/actions/execute.mjs.map +0 -1
- package/dist/actions/open-url.d.mts +0 -28
- package/dist/actions/open-url.d.ts +0 -28
- package/dist/actions/open-url.js +0 -28
- package/dist/actions/open-url.js.map +0 -1
- package/dist/actions/open-url.mjs +0 -26
- package/dist/actions/open-url.mjs.map +0 -1
- package/dist/actions/show-card.d.mts +0 -31
- package/dist/actions/show-card.d.ts +0 -31
- package/dist/actions/show-card.js +0 -28
- package/dist/actions/show-card.js.map +0 -1
- package/dist/actions/show-card.mjs +0 -26
- package/dist/actions/show-card.mjs.map +0 -1
- package/dist/actions/submit/submit.d.mts +0 -51
- package/dist/actions/submit/submit.d.ts +0 -51
- package/dist/actions/submit/submit.js +0 -45
- package/dist/actions/submit/submit.js.map +0 -1
- package/dist/actions/submit/submit.mjs +0 -43
- package/dist/actions/submit/submit.mjs.map +0 -1
- package/dist/actions/toggle-visibility.d.mts +0 -29
- package/dist/actions/toggle-visibility.d.ts +0 -29
- package/dist/actions/toggle-visibility.js +0 -29
- package/dist/actions/toggle-visibility.js.map +0 -1
- package/dist/actions/toggle-visibility.mjs +0 -27
- package/dist/actions/toggle-visibility.mjs.map +0 -1
- package/dist/base.d.mts +0 -31
- package/dist/base.d.ts +0 -31
- package/dist/base.js +0 -105
- package/dist/base.js.map +0 -1
- package/dist/base.mjs +0 -103
- package/dist/base.mjs.map +0 -1
- package/dist/card.d.mts +0 -31
- package/dist/card.d.ts +0 -31
- package/dist/card.js +0 -117
- package/dist/card.js.map +0 -1
- package/dist/card.mjs +0 -114
- package/dist/card.mjs.map +0 -1
- package/dist/charts/color.d.mts +0 -3
- package/dist/charts/color.d.ts +0 -3
- package/dist/charts/color.js +0 -4
- package/dist/charts/color.js.map +0 -1
- package/dist/charts/color.mjs +0 -3
- package/dist/charts/color.mjs.map +0 -1
- package/dist/charts/donut.d.mts +0 -2288
- package/dist/charts/donut.d.ts +0 -2288
- package/dist/charts/donut.js +0 -79
- package/dist/charts/donut.js.map +0 -1
- package/dist/charts/donut.mjs +0 -76
- package/dist/charts/donut.mjs.map +0 -1
- package/dist/charts/index.d.mts +0 -31
- package/dist/charts/index.d.ts +0 -31
- package/dist/charts/index.js +0 -28
- package/dist/charts/index.js.map +0 -1
- package/dist/charts/index.mjs +0 -5
- package/dist/charts/index.mjs.map +0 -1
- package/dist/charts/line.d.mts +0 -31
- package/dist/charts/line.d.ts +0 -31
- package/dist/charts/line.js +0 -97
- package/dist/charts/line.js.map +0 -1
- package/dist/charts/line.mjs +0 -93
- package/dist/charts/line.mjs.map +0 -1
- package/dist/common/associated-inputs.d.mts +0 -3
- package/dist/common/associated-inputs.d.ts +0 -3
- package/dist/common/associated-inputs.js +0 -4
- package/dist/common/associated-inputs.js.map +0 -1
- package/dist/common/associated-inputs.mjs +0 -3
- package/dist/common/associated-inputs.mjs.map +0 -1
- package/dist/common/auth/auth-card-button.d.mts +0 -50
- package/dist/common/auth/auth-card-button.d.ts +0 -50
- package/dist/common/auth/auth-card-button.js +0 -45
- package/dist/common/auth/auth-card-button.js.map +0 -1
- package/dist/common/auth/auth-card-button.mjs +0 -43
- package/dist/common/auth/auth-card-button.mjs.map +0 -1
- package/dist/common/auth/auth.d.mts +0 -52
- package/dist/common/auth/auth.d.ts +0 -52
- package/dist/common/auth/auth.js +0 -46
- package/dist/common/auth/auth.js.map +0 -1
- package/dist/common/auth/auth.mjs +0 -44
- package/dist/common/auth/auth.mjs.map +0 -1
- package/dist/common/auth/index.d.mts +0 -3
- package/dist/common/auth/index.d.ts +0 -3
- package/dist/common/auth/index.js +0 -28
- package/dist/common/auth/index.js.map +0 -1
- package/dist/common/auth/index.mjs +0 -5
- package/dist/common/auth/index.mjs.map +0 -1
- package/dist/common/auth/token-exchange-resource.d.mts +0 -37
- package/dist/common/auth/token-exchange-resource.d.ts +0 -37
- package/dist/common/auth/token-exchange-resource.js +0 -25
- package/dist/common/auth/token-exchange-resource.js.map +0 -1
- package/dist/common/auth/token-exchange-resource.mjs +0 -23
- package/dist/common/auth/token-exchange-resource.mjs.map +0 -1
- package/dist/common/color.d.mts +0 -3
- package/dist/common/color.d.ts +0 -3
- package/dist/common/color.js +0 -4
- package/dist/common/color.js.map +0 -1
- package/dist/common/color.mjs +0 -3
- package/dist/common/color.mjs.map +0 -1
- package/dist/common/font.d.mts +0 -5
- package/dist/common/font.d.ts +0 -5
- package/dist/common/font.js +0 -4
- package/dist/common/font.js.map +0 -1
- package/dist/common/font.mjs +0 -3
- package/dist/common/font.mjs.map +0 -1
- package/dist/common/horizontal-alignment.d.mts +0 -6
- package/dist/common/horizontal-alignment.d.ts +0 -6
- package/dist/common/horizontal-alignment.js +0 -4
- package/dist/common/horizontal-alignment.js.map +0 -1
- package/dist/common/horizontal-alignment.mjs +0 -3
- package/dist/common/horizontal-alignment.mjs.map +0 -1
- package/dist/common/refresh.d.mts +0 -23
- package/dist/common/refresh.d.ts +0 -23
- package/dist/common/refresh.js +0 -4
- package/dist/common/refresh.js.map +0 -1
- package/dist/common/refresh.mjs +0 -3
- package/dist/common/refresh.mjs.map +0 -1
- package/dist/common/spacing.d.mts +0 -6
- package/dist/common/spacing.d.ts +0 -6
- package/dist/common/spacing.js +0 -4
- package/dist/common/spacing.js.map +0 -1
- package/dist/common/spacing.mjs +0 -3
- package/dist/common/spacing.mjs.map +0 -1
- package/dist/common/target-element.d.mts +0 -16
- package/dist/common/target-element.d.ts +0 -16
- package/dist/common/target-element.js +0 -4
- package/dist/common/target-element.js.map +0 -1
- package/dist/common/target-element.mjs +0 -3
- package/dist/common/target-element.mjs.map +0 -1
- package/dist/common/target-width.d.mts +0 -9
- package/dist/common/target-width.d.ts +0 -9
- package/dist/common/target-width.js +0 -4
- package/dist/common/target-width.js.map +0 -1
- package/dist/common/target-width.mjs +0 -3
- package/dist/common/target-width.mjs.map +0 -1
- package/dist/common/vertical-alignment.d.mts +0 -6
- package/dist/common/vertical-alignment.d.ts +0 -6
- package/dist/common/vertical-alignment.js +0 -4
- package/dist/common/vertical-alignment.js.map +0 -1
- package/dist/common/vertical-alignment.mjs +0 -3
- package/dist/common/vertical-alignment.mjs.map +0 -1
- package/dist/containers/action-set.d.mts +0 -31
- package/dist/containers/action-set.d.ts +0 -31
- package/dist/containers/action-set.js +0 -28
- package/dist/containers/action-set.js.map +0 -1
- package/dist/containers/action-set.mjs +0 -26
- package/dist/containers/action-set.mjs.map +0 -1
- package/dist/containers/base.d.mts +0 -31
- package/dist/containers/base.d.ts +0 -31
- package/dist/containers/base.js +0 -68
- package/dist/containers/base.js.map +0 -1
- package/dist/containers/base.mjs +0 -66
- package/dist/containers/base.mjs.map +0 -1
- package/dist/containers/carousel.d.mts +0 -31
- package/dist/containers/carousel.d.ts +0 -31
- package/dist/containers/carousel.js +0 -158
- package/dist/containers/carousel.js.map +0 -1
- package/dist/containers/carousel.mjs +0 -155
- package/dist/containers/carousel.mjs.map +0 -1
- package/dist/containers/column-set.d.mts +0 -31
- package/dist/containers/column-set.d.ts +0 -31
- package/dist/containers/column-set.js +0 -44
- package/dist/containers/column-set.js.map +0 -1
- package/dist/containers/column-set.mjs +0 -42
- package/dist/containers/column-set.mjs.map +0 -1
- package/dist/containers/column.d.mts +0 -31
- package/dist/containers/column.d.ts +0 -31
- package/dist/containers/column.js +0 -60
- package/dist/containers/column.js.map +0 -1
- package/dist/containers/column.mjs +0 -58
- package/dist/containers/column.mjs.map +0 -1
- package/dist/containers/container.d.mts +0 -31
- package/dist/containers/container.d.ts +0 -31
- package/dist/containers/container.js +0 -52
- package/dist/containers/container.js.map +0 -1
- package/dist/containers/container.mjs +0 -50
- package/dist/containers/container.mjs.map +0 -1
- package/dist/containers/fact-set.d.mts +0 -31
- package/dist/containers/fact-set.d.ts +0 -31
- package/dist/containers/fact-set.js +0 -43
- package/dist/containers/fact-set.js.map +0 -1
- package/dist/containers/fact-set.mjs +0 -40
- package/dist/containers/fact-set.mjs.map +0 -1
- package/dist/containers/image-set.d.mts +0 -31
- package/dist/containers/image-set.d.ts +0 -31
- package/dist/containers/image-set.js +0 -46
- package/dist/containers/image-set.js.map +0 -1
- package/dist/containers/image-set.mjs +0 -44
- package/dist/containers/image-set.mjs.map +0 -1
- package/dist/containers/index.d.mts +0 -31
- package/dist/containers/index.d.ts +0 -31
- package/dist/containers/index.js +0 -56
- package/dist/containers/index.js.map +0 -1
- package/dist/containers/index.mjs +0 -9
- package/dist/containers/index.mjs.map +0 -1
- package/dist/element.d.mts +0 -31
- package/dist/element.d.ts +0 -31
- package/dist/element.js +0 -4
- package/dist/element.js.map +0 -1
- package/dist/element.mjs +0 -3
- package/dist/element.mjs.map +0 -1
- package/dist/inputs/base.d.mts +0 -31
- package/dist/inputs/base.d.ts +0 -31
- package/dist/inputs/base.js +0 -63
- package/dist/inputs/base.js.map +0 -1
- package/dist/inputs/base.mjs +0 -61
- package/dist/inputs/base.mjs.map +0 -1
- package/dist/inputs/choice-set.d.mts +0 -31
- package/dist/inputs/choice-set.d.ts +0 -31
- package/dist/inputs/choice-set.js +0 -121
- package/dist/inputs/choice-set.js.map +0 -1
- package/dist/inputs/choice-set.mjs +0 -117
- package/dist/inputs/choice-set.mjs.map +0 -1
- package/dist/inputs/date.d.mts +0 -31
- package/dist/inputs/date.d.ts +0 -31
- package/dist/inputs/date.js +0 -52
- package/dist/inputs/date.js.map +0 -1
- package/dist/inputs/date.mjs +0 -50
- package/dist/inputs/date.mjs.map +0 -1
- package/dist/inputs/index.d.mts +0 -31
- package/dist/inputs/index.d.ts +0 -31
- package/dist/inputs/index.js +0 -49
- package/dist/inputs/index.js.map +0 -1
- package/dist/inputs/index.mjs +0 -8
- package/dist/inputs/index.mjs.map +0 -1
- package/dist/inputs/number.d.mts +0 -31
- package/dist/inputs/number.d.ts +0 -31
- package/dist/inputs/number.js +0 -52
- package/dist/inputs/number.js.map +0 -1
- package/dist/inputs/number.mjs +0 -50
- package/dist/inputs/number.mjs.map +0 -1
- package/dist/inputs/text.d.mts +0 -31
- package/dist/inputs/text.d.ts +0 -31
- package/dist/inputs/text.js +0 -76
- package/dist/inputs/text.js.map +0 -1
- package/dist/inputs/text.mjs +0 -74
- package/dist/inputs/text.mjs.map +0 -1
- package/dist/inputs/time.d.mts +0 -31
- package/dist/inputs/time.d.ts +0 -31
- package/dist/inputs/time.js +0 -52
- package/dist/inputs/time.js.map +0 -1
- package/dist/inputs/time.mjs +0 -50
- package/dist/inputs/time.mjs.map +0 -1
- package/dist/inputs/toggle.d.mts +0 -31
- package/dist/inputs/toggle.d.ts +0 -31
- package/dist/inputs/toggle.js +0 -57
- package/dist/inputs/toggle.js.map +0 -1
- package/dist/inputs/toggle.mjs +0 -55
- package/dist/inputs/toggle.mjs.map +0 -1
- package/dist/layouts/area-grid.d.mts +0 -133
- package/dist/layouts/area-grid.d.ts +0 -133
- package/dist/layouts/area-grid.js +0 -113
- package/dist/layouts/area-grid.js.map +0 -1
- package/dist/layouts/area-grid.mjs +0 -110
- package/dist/layouts/area-grid.mjs.map +0 -1
- package/dist/layouts/flow.d.mts +0 -119
- package/dist/layouts/flow.d.ts +0 -119
- package/dist/layouts/flow.js +0 -96
- package/dist/layouts/flow.js.map +0 -1
- package/dist/layouts/flow.mjs +0 -94
- package/dist/layouts/flow.mjs.map +0 -1
- package/dist/layouts/index.d.mts +0 -14
- package/dist/layouts/index.d.ts +0 -14
- package/dist/layouts/index.js +0 -28
- package/dist/layouts/index.js.map +0 -1
- package/dist/layouts/index.mjs +0 -5
- package/dist/layouts/index.mjs.map +0 -1
- package/dist/layouts/stack.d.mts +0 -28
- package/dist/layouts/stack.d.ts +0 -28
- package/dist/layouts/stack.js +0 -24
- package/dist/layouts/stack.js.map +0 -1
- package/dist/layouts/stack.mjs +0 -22
- package/dist/layouts/stack.mjs.map +0 -1
- package/dist/medias/background-image.d.mts +0 -56
- package/dist/medias/background-image.d.ts +0 -56
- package/dist/medias/background-image.js +0 -49
- package/dist/medias/background-image.js.map +0 -1
- package/dist/medias/background-image.mjs +0 -47
- package/dist/medias/background-image.mjs.map +0 -1
- package/dist/medias/badge.d.mts +0 -31
- package/dist/medias/badge.d.ts +0 -31
- package/dist/medias/badge.js +0 -84
- package/dist/medias/badge.js.map +0 -1
- package/dist/medias/badge.mjs +0 -82
- package/dist/medias/badge.mjs.map +0 -1
- package/dist/medias/code-block.d.mts +0 -31
- package/dist/medias/code-block.d.ts +0 -31
- package/dist/medias/code-block.js +0 -43
- package/dist/medias/code-block.js.map +0 -1
- package/dist/medias/code-block.mjs +0 -41
- package/dist/medias/code-block.mjs.map +0 -1
- package/dist/medias/icon.d.mts +0 -31
- package/dist/medias/icon.d.ts +0 -31
- package/dist/medias/icon.js +0 -56
- package/dist/medias/icon.js.map +0 -1
- package/dist/medias/icon.mjs +0 -54
- package/dist/medias/icon.mjs.map +0 -1
- package/dist/medias/image.d.mts +0 -31
- package/dist/medias/image.d.ts +0 -31
- package/dist/medias/image.js +0 -80
- package/dist/medias/image.js.map +0 -1
- package/dist/medias/image.mjs +0 -78
- package/dist/medias/image.mjs.map +0 -1
- package/dist/medias/index.d.mts +0 -31
- package/dist/medias/index.d.ts +0 -31
- package/dist/medias/index.js +0 -84
- package/dist/medias/index.js.map +0 -1
- package/dist/medias/index.mjs +0 -13
- package/dist/medias/index.mjs.map +0 -1
- package/dist/medias/media.d.mts +0 -31
- package/dist/medias/media.d.ts +0 -31
- package/dist/medias/media.js +0 -91
- package/dist/medias/media.js.map +0 -1
- package/dist/medias/media.mjs +0 -87
- package/dist/medias/media.mjs.map +0 -1
- package/dist/medias/progress-bar.d.mts +0 -31
- package/dist/medias/progress-bar.d.ts +0 -31
- package/dist/medias/progress-bar.js +0 -43
- package/dist/medias/progress-bar.js.map +0 -1
- package/dist/medias/progress-bar.mjs +0 -41
- package/dist/medias/progress-bar.mjs.map +0 -1
- package/dist/medias/progress-ring.d.mts +0 -31
- package/dist/medias/progress-ring.d.ts +0 -31
- package/dist/medias/progress-ring.js +0 -46
- package/dist/medias/progress-ring.js.map +0 -1
- package/dist/medias/progress-ring.mjs +0 -44
- package/dist/medias/progress-ring.mjs.map +0 -1
- package/dist/medias/rich-text-block.d.mts +0 -31
- package/dist/medias/rich-text-block.d.ts +0 -31
- package/dist/medias/rich-text-block.js +0 -33
- package/dist/medias/rich-text-block.js.map +0 -1
- package/dist/medias/rich-text-block.mjs +0 -31
- package/dist/medias/rich-text-block.mjs.map +0 -1
- package/dist/medias/text-block.d.mts +0 -31
- package/dist/medias/text-block.d.ts +0 -31
- package/dist/medias/text-block.js +0 -95
- package/dist/medias/text-block.js.map +0 -1
- package/dist/medias/text-block.mjs +0 -93
- package/dist/medias/text-block.mjs.map +0 -1
- package/dist/medias/text-run.d.mts +0 -31
- package/dist/medias/text-run.d.ts +0 -31
- package/dist/medias/text-run.js +0 -108
- package/dist/medias/text-run.js.map +0 -1
- package/dist/medias/text-run.mjs +0 -106
- package/dist/medias/text-run.mjs.map +0 -1
package/dist/charts/donut.js
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var base = require('../base');
|
|
4
|
-
|
|
5
|
-
class DonutChart extends base.Element {
|
|
6
|
-
type;
|
|
7
|
-
/**
|
|
8
|
-
* the title of the chart.
|
|
9
|
-
*/
|
|
10
|
-
title;
|
|
11
|
-
/**
|
|
12
|
-
* the name of the set of colors to use.
|
|
13
|
-
*/
|
|
14
|
-
colorSet;
|
|
15
|
-
/**
|
|
16
|
-
* the data to display in the chart.
|
|
17
|
-
*/
|
|
18
|
-
data;
|
|
19
|
-
constructor(...data) {
|
|
20
|
-
super();
|
|
21
|
-
this.type = "Chart.Donut";
|
|
22
|
-
this.data = data;
|
|
23
|
-
}
|
|
24
|
-
withOptions(value) {
|
|
25
|
-
Object.assign(this, value);
|
|
26
|
-
return this;
|
|
27
|
-
}
|
|
28
|
-
withTitle(value) {
|
|
29
|
-
this.title = value;
|
|
30
|
-
return this;
|
|
31
|
-
}
|
|
32
|
-
withColorSet(value) {
|
|
33
|
-
this.colorSet = value;
|
|
34
|
-
return this;
|
|
35
|
-
}
|
|
36
|
-
addData(...data) {
|
|
37
|
-
this.data.push(...data);
|
|
38
|
-
return this;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
class DonutChartData {
|
|
42
|
-
/**
|
|
43
|
-
* the color to use for the data point.
|
|
44
|
-
*/
|
|
45
|
-
color;
|
|
46
|
-
/**
|
|
47
|
-
* the legend of the chart.
|
|
48
|
-
*/
|
|
49
|
-
legend;
|
|
50
|
-
/**
|
|
51
|
-
* the value associated with the data point.
|
|
52
|
-
*/
|
|
53
|
-
value;
|
|
54
|
-
constructor(value = 0, options = {}) {
|
|
55
|
-
this.value = value;
|
|
56
|
-
this.withOptions(options);
|
|
57
|
-
}
|
|
58
|
-
withOptions(value) {
|
|
59
|
-
Object.assign(this, value);
|
|
60
|
-
return this;
|
|
61
|
-
}
|
|
62
|
-
withColor(value) {
|
|
63
|
-
this.color = value;
|
|
64
|
-
return this;
|
|
65
|
-
}
|
|
66
|
-
withLegend(value) {
|
|
67
|
-
this.legend = value;
|
|
68
|
-
return this;
|
|
69
|
-
}
|
|
70
|
-
withValue(value) {
|
|
71
|
-
this.value = value;
|
|
72
|
-
return this;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
exports.DonutChart = DonutChart;
|
|
77
|
-
exports.DonutChartData = DonutChartData;
|
|
78
|
-
//# sourceMappingURL=donut.js.map
|
|
79
|
-
//# sourceMappingURL=donut.js.map
|
package/dist/charts/donut.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/charts/donut.ts"],"names":["Element"],"mappings":";;;;AA8BO,MAAM,mBAAmBA,YAA+B,CAAA;AAAA,EAC7D,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,QAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA,EAEA,eAAe,IAAyB,EAAA;AACtC,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,aAAA;AACZ,IAAA,IAAA,CAAK,IAAO,GAAA,IAAA;AAAA;AACd,EAEA,YAAY,KAA0B,EAAA;AACpC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAa,KAAe,EAAA;AAC1B,IAAA,IAAA,CAAK,QAAW,GAAA,KAAA;AAChB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,WAAW,IAAyB,EAAA;AAClC,IAAK,IAAA,CAAA,IAAA,CAAK,IAAK,CAAA,GAAG,IAAI,CAAA;AACtB,IAAO,OAAA,IAAA;AAAA;AAEX;AAqBO,MAAM,cAA0C,CAAA;AAAA;AAAA;AAAA;AAAA,EAIrD,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,MAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,WAAY,CAAA,KAAA,GAAQ,CAAG,EAAA,OAAA,GAAiC,EAAI,EAAA;AAC1D,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAA,IAAA,CAAK,YAAY,OAAO,CAAA;AAAA;AAC1B,EAEA,YAAY,KAA8B,EAAA;AACxC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAmB,EAAA;AAC3B,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,WAAW,KAAe,EAAA;AACxB,IAAA,IAAA,CAAK,MAAS,GAAA,KAAA;AACd,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AAEX","file":"donut.js","sourcesContent":["import { IElement, Element } from '../base';\r\n\r\nimport { ChartColor } from './color';\r\n\r\nexport interface IDonutChart extends IElement {\r\n type: 'Chart.Donut';\r\n\r\n /**\r\n * the title of the chart.\r\n */\r\n title?: string;\r\n\r\n /**\r\n * the name of the set of colors to use.\r\n */\r\n colorSet?: string;\r\n\r\n /**\r\n * the data to display in the chart.\r\n */\r\n data: IDonutChartData[];\r\n\r\n /**\r\n * the area of a `Layout.AreaGrid` layout in which an element should be displayed.\r\n */\r\n 'grid.area'?: string;\r\n}\r\n\r\nexport type DonutChartOptions = Omit<IDonutChart, 'type' | 'data'>;\r\n\r\nexport class DonutChart extends Element implements IDonutChart {\r\n type: 'Chart.Donut';\r\n\r\n /**\r\n * the title of the chart.\r\n */\r\n title?: string;\r\n\r\n /**\r\n * the name of the set of colors to use.\r\n */\r\n colorSet?: string;\r\n\r\n /**\r\n * the data to display in the chart.\r\n */\r\n data: IDonutChartData[];\r\n\r\n constructor(...data: IDonutChartData[]) {\r\n super();\r\n this.type = 'Chart.Donut';\r\n this.data = data;\r\n }\r\n\r\n withOptions(value: DonutChartOptions) {\r\n Object.assign(this, value);\r\n return this;\r\n }\r\n\r\n withTitle(value: string) {\r\n this.title = value;\r\n return this;\r\n }\r\n\r\n withColorSet(value: string) {\r\n this.colorSet = value;\r\n return this;\r\n }\r\n\r\n addData(...data: IDonutChartData[]) {\r\n this.data.push(...data);\r\n return this;\r\n }\r\n}\r\n\r\nexport interface IDonutChartData {\r\n /**\r\n * the color to use for the data point.\r\n */\r\n color?: ChartColor;\r\n\r\n /**\r\n * the legend of the chart.\r\n */\r\n legend?: string;\r\n\r\n /**\r\n * the value associated with the data point.\r\n */\r\n value: number;\r\n}\r\n\r\nexport type DonutChartDataOptions = Omit<IDonutChartData, 'value'>;\r\n\r\nexport class DonutChartData implements IDonutChartData {\r\n /**\r\n * the color to use for the data point.\r\n */\r\n color?: ChartColor;\r\n\r\n /**\r\n * the legend of the chart.\r\n */\r\n legend?: string;\r\n\r\n /**\r\n * the value associated with the data point.\r\n */\r\n value: number;\r\n\r\n constructor(value = 0, options: DonutChartDataOptions = {}) {\r\n this.value = value;\r\n this.withOptions(options);\r\n }\r\n\r\n withOptions(value: DonutChartDataOptions) {\r\n Object.assign(this, value);\r\n return this;\r\n }\r\n\r\n withColor(value: ChartColor) {\r\n this.color = value;\r\n return this;\r\n }\r\n\r\n withLegend(value: string) {\r\n this.legend = value;\r\n return this;\r\n }\r\n\r\n withValue(value: number) {\r\n this.value = value;\r\n return this;\r\n }\r\n}\r\n"]}
|
package/dist/charts/donut.mjs
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { Element } from '../base';
|
|
2
|
-
|
|
3
|
-
class DonutChart extends Element {
|
|
4
|
-
type;
|
|
5
|
-
/**
|
|
6
|
-
* the title of the chart.
|
|
7
|
-
*/
|
|
8
|
-
title;
|
|
9
|
-
/**
|
|
10
|
-
* the name of the set of colors to use.
|
|
11
|
-
*/
|
|
12
|
-
colorSet;
|
|
13
|
-
/**
|
|
14
|
-
* the data to display in the chart.
|
|
15
|
-
*/
|
|
16
|
-
data;
|
|
17
|
-
constructor(...data) {
|
|
18
|
-
super();
|
|
19
|
-
this.type = "Chart.Donut";
|
|
20
|
-
this.data = data;
|
|
21
|
-
}
|
|
22
|
-
withOptions(value) {
|
|
23
|
-
Object.assign(this, value);
|
|
24
|
-
return this;
|
|
25
|
-
}
|
|
26
|
-
withTitle(value) {
|
|
27
|
-
this.title = value;
|
|
28
|
-
return this;
|
|
29
|
-
}
|
|
30
|
-
withColorSet(value) {
|
|
31
|
-
this.colorSet = value;
|
|
32
|
-
return this;
|
|
33
|
-
}
|
|
34
|
-
addData(...data) {
|
|
35
|
-
this.data.push(...data);
|
|
36
|
-
return this;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
class DonutChartData {
|
|
40
|
-
/**
|
|
41
|
-
* the color to use for the data point.
|
|
42
|
-
*/
|
|
43
|
-
color;
|
|
44
|
-
/**
|
|
45
|
-
* the legend of the chart.
|
|
46
|
-
*/
|
|
47
|
-
legend;
|
|
48
|
-
/**
|
|
49
|
-
* the value associated with the data point.
|
|
50
|
-
*/
|
|
51
|
-
value;
|
|
52
|
-
constructor(value = 0, options = {}) {
|
|
53
|
-
this.value = value;
|
|
54
|
-
this.withOptions(options);
|
|
55
|
-
}
|
|
56
|
-
withOptions(value) {
|
|
57
|
-
Object.assign(this, value);
|
|
58
|
-
return this;
|
|
59
|
-
}
|
|
60
|
-
withColor(value) {
|
|
61
|
-
this.color = value;
|
|
62
|
-
return this;
|
|
63
|
-
}
|
|
64
|
-
withLegend(value) {
|
|
65
|
-
this.legend = value;
|
|
66
|
-
return this;
|
|
67
|
-
}
|
|
68
|
-
withValue(value) {
|
|
69
|
-
this.value = value;
|
|
70
|
-
return this;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export { DonutChart, DonutChartData };
|
|
75
|
-
//# sourceMappingURL=donut.mjs.map
|
|
76
|
-
//# sourceMappingURL=donut.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/charts/donut.ts"],"names":[],"mappings":";;AA8BO,MAAM,mBAAmB,OAA+B,CAAA;AAAA,EAC7D,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,QAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA,EAEA,eAAe,IAAyB,EAAA;AACtC,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,aAAA;AACZ,IAAA,IAAA,CAAK,IAAO,GAAA,IAAA;AAAA;AACd,EAEA,YAAY,KAA0B,EAAA;AACpC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAa,KAAe,EAAA;AAC1B,IAAA,IAAA,CAAK,QAAW,GAAA,KAAA;AAChB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,WAAW,IAAyB,EAAA;AAClC,IAAK,IAAA,CAAA,IAAA,CAAK,IAAK,CAAA,GAAG,IAAI,CAAA;AACtB,IAAO,OAAA,IAAA;AAAA;AAEX;AAqBO,MAAM,cAA0C,CAAA;AAAA;AAAA;AAAA;AAAA,EAIrD,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,MAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA,EAEA,WAAY,CAAA,KAAA,GAAQ,CAAG,EAAA,OAAA,GAAiC,EAAI,EAAA;AAC1D,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAA,IAAA,CAAK,YAAY,OAAO,CAAA;AAAA;AAC1B,EAEA,YAAY,KAA8B,EAAA;AACxC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAmB,EAAA;AAC3B,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,WAAW,KAAe,EAAA;AACxB,IAAA,IAAA,CAAK,MAAS,GAAA,KAAA;AACd,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AAEX","file":"donut.mjs","sourcesContent":["import { IElement, Element } from '../base';\r\n\r\nimport { ChartColor } from './color';\r\n\r\nexport interface IDonutChart extends IElement {\r\n type: 'Chart.Donut';\r\n\r\n /**\r\n * the title of the chart.\r\n */\r\n title?: string;\r\n\r\n /**\r\n * the name of the set of colors to use.\r\n */\r\n colorSet?: string;\r\n\r\n /**\r\n * the data to display in the chart.\r\n */\r\n data: IDonutChartData[];\r\n\r\n /**\r\n * the area of a `Layout.AreaGrid` layout in which an element should be displayed.\r\n */\r\n 'grid.area'?: string;\r\n}\r\n\r\nexport type DonutChartOptions = Omit<IDonutChart, 'type' | 'data'>;\r\n\r\nexport class DonutChart extends Element implements IDonutChart {\r\n type: 'Chart.Donut';\r\n\r\n /**\r\n * the title of the chart.\r\n */\r\n title?: string;\r\n\r\n /**\r\n * the name of the set of colors to use.\r\n */\r\n colorSet?: string;\r\n\r\n /**\r\n * the data to display in the chart.\r\n */\r\n data: IDonutChartData[];\r\n\r\n constructor(...data: IDonutChartData[]) {\r\n super();\r\n this.type = 'Chart.Donut';\r\n this.data = data;\r\n }\r\n\r\n withOptions(value: DonutChartOptions) {\r\n Object.assign(this, value);\r\n return this;\r\n }\r\n\r\n withTitle(value: string) {\r\n this.title = value;\r\n return this;\r\n }\r\n\r\n withColorSet(value: string) {\r\n this.colorSet = value;\r\n return this;\r\n }\r\n\r\n addData(...data: IDonutChartData[]) {\r\n this.data.push(...data);\r\n return this;\r\n }\r\n}\r\n\r\nexport interface IDonutChartData {\r\n /**\r\n * the color to use for the data point.\r\n */\r\n color?: ChartColor;\r\n\r\n /**\r\n * the legend of the chart.\r\n */\r\n legend?: string;\r\n\r\n /**\r\n * the value associated with the data point.\r\n */\r\n value: number;\r\n}\r\n\r\nexport type DonutChartDataOptions = Omit<IDonutChartData, 'value'>;\r\n\r\nexport class DonutChartData implements IDonutChartData {\r\n /**\r\n * the color to use for the data point.\r\n */\r\n color?: ChartColor;\r\n\r\n /**\r\n * the legend of the chart.\r\n */\r\n legend?: string;\r\n\r\n /**\r\n * the value associated with the data point.\r\n */\r\n value: number;\r\n\r\n constructor(value = 0, options: DonutChartDataOptions = {}) {\r\n this.value = value;\r\n this.withOptions(options);\r\n }\r\n\r\n withOptions(value: DonutChartDataOptions) {\r\n Object.assign(this, value);\r\n return this;\r\n }\r\n\r\n withColor(value: ChartColor) {\r\n this.color = value;\r\n return this;\r\n }\r\n\r\n withLegend(value: string) {\r\n this.legend = value;\r\n return this;\r\n }\r\n\r\n withValue(value: number) {\r\n this.value = value;\r\n return this;\r\n }\r\n}\r\n"]}
|
package/dist/charts/index.d.mts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { C as ChartElement, DonutChart, DonutChartData, DonutChartDataOptions, DonutChartOptions, IDonutChart, IDonutChartData, I as ILineChart, b as ILineChartData, e as ILineChartDataPoint, a as LineChart, d as LineChartData, c as LineChartDataOptions, f as LineChartDataPoint, L as LineChartOptions } from './donut.mjs';
|
|
2
|
-
export { ChartColor } from './color.mjs';
|
|
3
|
-
import '../actions/execute.mjs';
|
|
4
|
-
import '../common/associated-inputs.mjs';
|
|
5
|
-
import '../actions/base.mjs';
|
|
6
|
-
import '../actions/open-url.mjs';
|
|
7
|
-
import '../common/vertical-alignment.mjs';
|
|
8
|
-
import '../common/refresh.mjs';
|
|
9
|
-
import '../common/auth/auth.mjs';
|
|
10
|
-
import '../common/auth/auth-card-button.mjs';
|
|
11
|
-
import '../common/auth/token-exchange-resource.mjs';
|
|
12
|
-
import '../common/horizontal-alignment.mjs';
|
|
13
|
-
import '../common/spacing.mjs';
|
|
14
|
-
import '../common/target-width.mjs';
|
|
15
|
-
import '../layouts/index.mjs';
|
|
16
|
-
import '../layouts/area-grid.mjs';
|
|
17
|
-
import '../layouts/flow.mjs';
|
|
18
|
-
import '../layouts/stack.mjs';
|
|
19
|
-
import '../medias/background-image.mjs';
|
|
20
|
-
import '../common/color.mjs';
|
|
21
|
-
import '../common/font.mjs';
|
|
22
|
-
import '../actions/submit/submit.mjs';
|
|
23
|
-
import '../actions/submit/im-back.mjs';
|
|
24
|
-
import '../actions/submit/invoke.mjs';
|
|
25
|
-
import '../actions/submit/message-back.mjs';
|
|
26
|
-
import '../actions/submit/sign-in.mjs';
|
|
27
|
-
import '../actions/submit/task-fetch.mjs';
|
|
28
|
-
import '../actions/submit/collab-stage.mjs';
|
|
29
|
-
import '../common/tab-info.mjs';
|
|
30
|
-
import '../actions/toggle-visibility.mjs';
|
|
31
|
-
import '../common/target-element.mjs';
|
package/dist/charts/index.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { C as ChartElement, DonutChart, DonutChartData, DonutChartDataOptions, DonutChartOptions, IDonutChart, IDonutChartData, I as ILineChart, b as ILineChartData, e as ILineChartDataPoint, a as LineChart, d as LineChartData, c as LineChartDataOptions, f as LineChartDataPoint, L as LineChartOptions } from './donut.js';
|
|
2
|
-
export { ChartColor } from './color.js';
|
|
3
|
-
import '../actions/execute.js';
|
|
4
|
-
import '../common/associated-inputs.js';
|
|
5
|
-
import '../actions/base.js';
|
|
6
|
-
import '../actions/open-url.js';
|
|
7
|
-
import '../common/vertical-alignment.js';
|
|
8
|
-
import '../common/refresh.js';
|
|
9
|
-
import '../common/auth/auth.js';
|
|
10
|
-
import '../common/auth/auth-card-button.js';
|
|
11
|
-
import '../common/auth/token-exchange-resource.js';
|
|
12
|
-
import '../common/horizontal-alignment.js';
|
|
13
|
-
import '../common/spacing.js';
|
|
14
|
-
import '../common/target-width.js';
|
|
15
|
-
import '../layouts/index.js';
|
|
16
|
-
import '../layouts/area-grid.js';
|
|
17
|
-
import '../layouts/flow.js';
|
|
18
|
-
import '../layouts/stack.js';
|
|
19
|
-
import '../medias/background-image.js';
|
|
20
|
-
import '../common/color.js';
|
|
21
|
-
import '../common/font.js';
|
|
22
|
-
import '../actions/submit/submit.js';
|
|
23
|
-
import '../actions/submit/im-back.js';
|
|
24
|
-
import '../actions/submit/invoke.js';
|
|
25
|
-
import '../actions/submit/message-back.js';
|
|
26
|
-
import '../actions/submit/sign-in.js';
|
|
27
|
-
import '../actions/submit/task-fetch.js';
|
|
28
|
-
import '../actions/submit/collab-stage.js';
|
|
29
|
-
import '../common/tab-info.js';
|
|
30
|
-
import '../actions/toggle-visibility.js';
|
|
31
|
-
import '../common/target-element.js';
|
package/dist/charts/index.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var color = require('./color');
|
|
4
|
-
var donut = require('./donut');
|
|
5
|
-
var line = require('./line');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.keys(color).forEach(function (k) {
|
|
10
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () { return color[k]; }
|
|
13
|
-
});
|
|
14
|
-
});
|
|
15
|
-
Object.keys(donut).forEach(function (k) {
|
|
16
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return donut[k]; }
|
|
19
|
-
});
|
|
20
|
-
});
|
|
21
|
-
Object.keys(line).forEach(function (k) {
|
|
22
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
23
|
-
enumerable: true,
|
|
24
|
-
get: function () { return line[k]; }
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
//# sourceMappingURL=index.js.map
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
package/dist/charts/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
package/dist/charts/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs","sourcesContent":[]}
|
package/dist/charts/line.d.mts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { I as ILineChart, b as ILineChartData, e as ILineChartDataPoint, a as LineChart, d as LineChartData, c as LineChartDataOptions, f as LineChartDataPoint, L as LineChartOptions } from './donut.mjs';
|
|
2
|
-
import './color.mjs';
|
|
3
|
-
import '../actions/execute.mjs';
|
|
4
|
-
import '../common/associated-inputs.mjs';
|
|
5
|
-
import '../actions/base.mjs';
|
|
6
|
-
import '../actions/open-url.mjs';
|
|
7
|
-
import '../common/vertical-alignment.mjs';
|
|
8
|
-
import '../common/refresh.mjs';
|
|
9
|
-
import '../common/auth/auth.mjs';
|
|
10
|
-
import '../common/auth/auth-card-button.mjs';
|
|
11
|
-
import '../common/auth/token-exchange-resource.mjs';
|
|
12
|
-
import '../common/horizontal-alignment.mjs';
|
|
13
|
-
import '../common/spacing.mjs';
|
|
14
|
-
import '../common/target-width.mjs';
|
|
15
|
-
import '../layouts/index.mjs';
|
|
16
|
-
import '../layouts/area-grid.mjs';
|
|
17
|
-
import '../layouts/flow.mjs';
|
|
18
|
-
import '../layouts/stack.mjs';
|
|
19
|
-
import '../medias/background-image.mjs';
|
|
20
|
-
import '../common/color.mjs';
|
|
21
|
-
import '../common/font.mjs';
|
|
22
|
-
import '../actions/submit/submit.mjs';
|
|
23
|
-
import '../actions/submit/im-back.mjs';
|
|
24
|
-
import '../actions/submit/invoke.mjs';
|
|
25
|
-
import '../actions/submit/message-back.mjs';
|
|
26
|
-
import '../actions/submit/sign-in.mjs';
|
|
27
|
-
import '../actions/submit/task-fetch.mjs';
|
|
28
|
-
import '../actions/submit/collab-stage.mjs';
|
|
29
|
-
import '../common/tab-info.mjs';
|
|
30
|
-
import '../actions/toggle-visibility.mjs';
|
|
31
|
-
import '../common/target-element.mjs';
|
package/dist/charts/line.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export { I as ILineChart, b as ILineChartData, e as ILineChartDataPoint, a as LineChart, d as LineChartData, c as LineChartDataOptions, f as LineChartDataPoint, L as LineChartOptions } from './donut.js';
|
|
2
|
-
import './color.js';
|
|
3
|
-
import '../actions/execute.js';
|
|
4
|
-
import '../common/associated-inputs.js';
|
|
5
|
-
import '../actions/base.js';
|
|
6
|
-
import '../actions/open-url.js';
|
|
7
|
-
import '../common/vertical-alignment.js';
|
|
8
|
-
import '../common/refresh.js';
|
|
9
|
-
import '../common/auth/auth.js';
|
|
10
|
-
import '../common/auth/auth-card-button.js';
|
|
11
|
-
import '../common/auth/token-exchange-resource.js';
|
|
12
|
-
import '../common/horizontal-alignment.js';
|
|
13
|
-
import '../common/spacing.js';
|
|
14
|
-
import '../common/target-width.js';
|
|
15
|
-
import '../layouts/index.js';
|
|
16
|
-
import '../layouts/area-grid.js';
|
|
17
|
-
import '../layouts/flow.js';
|
|
18
|
-
import '../layouts/stack.js';
|
|
19
|
-
import '../medias/background-image.js';
|
|
20
|
-
import '../common/color.js';
|
|
21
|
-
import '../common/font.js';
|
|
22
|
-
import '../actions/submit/submit.js';
|
|
23
|
-
import '../actions/submit/im-back.js';
|
|
24
|
-
import '../actions/submit/invoke.js';
|
|
25
|
-
import '../actions/submit/message-back.js';
|
|
26
|
-
import '../actions/submit/sign-in.js';
|
|
27
|
-
import '../actions/submit/task-fetch.js';
|
|
28
|
-
import '../actions/submit/collab-stage.js';
|
|
29
|
-
import '../common/tab-info.js';
|
|
30
|
-
import '../actions/toggle-visibility.js';
|
|
31
|
-
import '../common/target-element.js';
|
package/dist/charts/line.js
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var base = require('../base');
|
|
4
|
-
|
|
5
|
-
class LineChart extends base.Element {
|
|
6
|
-
type;
|
|
7
|
-
/**
|
|
8
|
-
* the title of the chart.
|
|
9
|
-
*/
|
|
10
|
-
title;
|
|
11
|
-
/**
|
|
12
|
-
* the color to use for all data points.
|
|
13
|
-
*/
|
|
14
|
-
color;
|
|
15
|
-
/**
|
|
16
|
-
* the name of the set of colors to use.
|
|
17
|
-
*/
|
|
18
|
-
colorSet;
|
|
19
|
-
/**
|
|
20
|
-
* the data to display in the chart.
|
|
21
|
-
*/
|
|
22
|
-
data;
|
|
23
|
-
constructor(...data) {
|
|
24
|
-
super();
|
|
25
|
-
this.type = "Chart.Line";
|
|
26
|
-
this.data = data;
|
|
27
|
-
}
|
|
28
|
-
withOptions(value) {
|
|
29
|
-
Object.assign(this, value);
|
|
30
|
-
return this;
|
|
31
|
-
}
|
|
32
|
-
withTitle(value) {
|
|
33
|
-
this.title = value;
|
|
34
|
-
return this;
|
|
35
|
-
}
|
|
36
|
-
withColorSet(value) {
|
|
37
|
-
this.colorSet = value;
|
|
38
|
-
return this;
|
|
39
|
-
}
|
|
40
|
-
addData(...data) {
|
|
41
|
-
this.data.push(...data);
|
|
42
|
-
return this;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
class LineChartData {
|
|
46
|
-
/**
|
|
47
|
-
* the color to use for the data point.
|
|
48
|
-
*/
|
|
49
|
-
color;
|
|
50
|
-
/**
|
|
51
|
-
* the legend of the chart.
|
|
52
|
-
*/
|
|
53
|
-
legend;
|
|
54
|
-
/**
|
|
55
|
-
* the data points in the series.
|
|
56
|
-
*/
|
|
57
|
-
values;
|
|
58
|
-
constructor(...dataPoints) {
|
|
59
|
-
this.values = dataPoints;
|
|
60
|
-
}
|
|
61
|
-
withOptions(value) {
|
|
62
|
-
Object.assign(this, value);
|
|
63
|
-
return this;
|
|
64
|
-
}
|
|
65
|
-
withColor(value) {
|
|
66
|
-
this.color = value;
|
|
67
|
-
return this;
|
|
68
|
-
}
|
|
69
|
-
withLegend(value) {
|
|
70
|
-
this.legend = value;
|
|
71
|
-
return this;
|
|
72
|
-
}
|
|
73
|
-
addDataPoints(...value) {
|
|
74
|
-
this.values.push(...value);
|
|
75
|
-
return this;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
class LineChartDataPoint {
|
|
79
|
-
/**
|
|
80
|
-
* the x axis value of the data point.
|
|
81
|
-
*/
|
|
82
|
-
x;
|
|
83
|
-
/**
|
|
84
|
-
* the y axis value of the data point.
|
|
85
|
-
*/
|
|
86
|
-
y;
|
|
87
|
-
constructor(x, y) {
|
|
88
|
-
this.x = x;
|
|
89
|
-
this.y = y;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
exports.LineChart = LineChart;
|
|
94
|
-
exports.LineChartData = LineChartData;
|
|
95
|
-
exports.LineChartDataPoint = LineChartDataPoint;
|
|
96
|
-
//# sourceMappingURL=line.js.map
|
|
97
|
-
//# sourceMappingURL=line.js.map
|
package/dist/charts/line.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/charts/line.ts"],"names":["Element"],"mappings":";;;;AA8BO,MAAM,kBAAkBA,YAA8B,CAAA;AAAA,EAC3D,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,QAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA,EAEA,eAAe,IAAwB,EAAA;AACrC,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,YAAA;AACZ,IAAA,IAAA,CAAK,IAAO,GAAA,IAAA;AAAA;AACd,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAa,KAAe,EAAA;AAC1B,IAAA,IAAA,CAAK,QAAW,GAAA,KAAA;AAChB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,WAAW,IAAwB,EAAA;AACjC,IAAK,IAAA,CAAA,IAAA,CAAK,IAAK,CAAA,GAAG,IAAI,CAAA;AACtB,IAAO,OAAA,IAAA;AAAA;AAEX;AAqBO,MAAM,aAAwC,CAAA;AAAA;AAAA;AAAA;AAAA,EAInD,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,MAAA;AAAA;AAAA;AAAA;AAAA,EAKA,MAAA;AAAA,EAEA,eAAe,UAAmC,EAAA;AAChD,IAAA,IAAA,CAAK,MAAS,GAAA,UAAA;AAAA;AAChB,EAEA,YAAY,KAA6B,EAAA;AACvC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAmB,EAAA;AAC3B,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,WAAW,KAAe,EAAA;AACxB,IAAA,IAAA,CAAK,MAAS,GAAA,KAAA;AACd,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,iBAAiB,KAA8B,EAAA;AAC7C,IAAK,IAAA,CAAA,MAAA,CAAO,IAAK,CAAA,GAAG,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AAEX;AAcO,MAAM,kBAAkD,CAAA;AAAA;AAAA;AAAA;AAAA,EAI7D,CAAA;AAAA;AAAA;AAAA;AAAA,EAKA,CAAA;AAAA,EAEA,WAAA,CAAY,GAAoB,CAAW,EAAA;AACzC,IAAA,IAAA,CAAK,CAAI,GAAA,CAAA;AACT,IAAA,IAAA,CAAK,CAAI,GAAA,CAAA;AAAA;AAEb","file":"line.js","sourcesContent":["import { IElement, Element } from '../base';\r\n\r\nimport { ChartColor } from './color';\r\n\r\nexport interface ILineChart extends IElement {\r\n type: 'Chart.Line';\r\n\r\n /**\r\n * the title of the chart.\r\n */\r\n title?: string;\r\n\r\n /**\r\n * the color to use for all data points.\r\n */\r\n color?: ChartColor;\r\n\r\n /**\r\n * the name of the set of colors to use.\r\n */\r\n colorSet?: string;\r\n\r\n /**\r\n * the data to display in the chart.\r\n */\r\n data: ILineChartData[];\r\n}\r\n\r\nexport type LineChartOptions = Omit<ILineChart, 'type' | 'data'>;\r\n\r\nexport class LineChart extends Element implements ILineChart {\r\n type: 'Chart.Line';\r\n\r\n /**\r\n * the title of the chart.\r\n */\r\n title?: string;\r\n\r\n /**\r\n * the color to use for all data points.\r\n */\r\n color?: ChartColor;\r\n\r\n /**\r\n * the name of the set of colors to use.\r\n */\r\n colorSet?: string;\r\n\r\n /**\r\n * the data to display in the chart.\r\n */\r\n data: ILineChartData[];\r\n\r\n constructor(...data: ILineChartData[]) {\r\n super();\r\n this.type = 'Chart.Line';\r\n this.data = data;\r\n }\r\n\r\n withOptions(value: LineChartOptions) {\r\n Object.assign(this, value);\r\n return this;\r\n }\r\n\r\n withTitle(value: string) {\r\n this.title = value;\r\n return this;\r\n }\r\n\r\n withColorSet(value: string) {\r\n this.colorSet = value;\r\n return this;\r\n }\r\n\r\n addData(...data: ILineChartData[]) {\r\n this.data.push(...data);\r\n return this;\r\n }\r\n}\r\n\r\nexport interface ILineChartData {\r\n /**\r\n * the color to use for the data point.\r\n */\r\n color?: ChartColor;\r\n\r\n /**\r\n * the legend of the chart.\r\n */\r\n legend?: string;\r\n\r\n /**\r\n * the data points in the series.\r\n */\r\n values: ILineChartDataPoint[];\r\n}\r\n\r\nexport type LineChartDataOptions = Omit<ILineChartData, 'values'>;\r\n\r\nexport class LineChartData implements ILineChartData {\r\n /**\r\n * the color to use for the data point.\r\n */\r\n color?: ChartColor;\r\n\r\n /**\r\n * the legend of the chart.\r\n */\r\n legend?: string;\r\n\r\n /**\r\n * the data points in the series.\r\n */\r\n values: ILineChartDataPoint[];\r\n\r\n constructor(...dataPoints: ILineChartDataPoint[]) {\r\n this.values = dataPoints;\r\n }\r\n\r\n withOptions(value: LineChartDataOptions) {\r\n Object.assign(this, value);\r\n return this;\r\n }\r\n\r\n withColor(value: ChartColor) {\r\n this.color = value;\r\n return this;\r\n }\r\n\r\n withLegend(value: string) {\r\n this.legend = value;\r\n return this;\r\n }\r\n\r\n addDataPoints(...value: ILineChartDataPoint[]) {\r\n this.values.push(...value);\r\n return this;\r\n }\r\n}\r\n\r\nexport interface ILineChartDataPoint {\r\n /**\r\n * the x axis value of the data point.\r\n */\r\n x: number | string;\r\n\r\n /**\r\n * the y axis value of the data point.\r\n */\r\n y: number;\r\n}\r\n\r\nexport class LineChartDataPoint implements ILineChartDataPoint {\r\n /**\r\n * the x axis value of the data point.\r\n */\r\n x: number | string;\r\n\r\n /**\r\n * the y axis value of the data point.\r\n */\r\n y: number;\r\n\r\n constructor(x: number | string, y: number) {\r\n this.x = x;\r\n this.y = y;\r\n }\r\n}\r\n"]}
|
package/dist/charts/line.mjs
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { Element } from '../base';
|
|
2
|
-
|
|
3
|
-
class LineChart extends Element {
|
|
4
|
-
type;
|
|
5
|
-
/**
|
|
6
|
-
* the title of the chart.
|
|
7
|
-
*/
|
|
8
|
-
title;
|
|
9
|
-
/**
|
|
10
|
-
* the color to use for all data points.
|
|
11
|
-
*/
|
|
12
|
-
color;
|
|
13
|
-
/**
|
|
14
|
-
* the name of the set of colors to use.
|
|
15
|
-
*/
|
|
16
|
-
colorSet;
|
|
17
|
-
/**
|
|
18
|
-
* the data to display in the chart.
|
|
19
|
-
*/
|
|
20
|
-
data;
|
|
21
|
-
constructor(...data) {
|
|
22
|
-
super();
|
|
23
|
-
this.type = "Chart.Line";
|
|
24
|
-
this.data = data;
|
|
25
|
-
}
|
|
26
|
-
withOptions(value) {
|
|
27
|
-
Object.assign(this, value);
|
|
28
|
-
return this;
|
|
29
|
-
}
|
|
30
|
-
withTitle(value) {
|
|
31
|
-
this.title = value;
|
|
32
|
-
return this;
|
|
33
|
-
}
|
|
34
|
-
withColorSet(value) {
|
|
35
|
-
this.colorSet = value;
|
|
36
|
-
return this;
|
|
37
|
-
}
|
|
38
|
-
addData(...data) {
|
|
39
|
-
this.data.push(...data);
|
|
40
|
-
return this;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
class LineChartData {
|
|
44
|
-
/**
|
|
45
|
-
* the color to use for the data point.
|
|
46
|
-
*/
|
|
47
|
-
color;
|
|
48
|
-
/**
|
|
49
|
-
* the legend of the chart.
|
|
50
|
-
*/
|
|
51
|
-
legend;
|
|
52
|
-
/**
|
|
53
|
-
* the data points in the series.
|
|
54
|
-
*/
|
|
55
|
-
values;
|
|
56
|
-
constructor(...dataPoints) {
|
|
57
|
-
this.values = dataPoints;
|
|
58
|
-
}
|
|
59
|
-
withOptions(value) {
|
|
60
|
-
Object.assign(this, value);
|
|
61
|
-
return this;
|
|
62
|
-
}
|
|
63
|
-
withColor(value) {
|
|
64
|
-
this.color = value;
|
|
65
|
-
return this;
|
|
66
|
-
}
|
|
67
|
-
withLegend(value) {
|
|
68
|
-
this.legend = value;
|
|
69
|
-
return this;
|
|
70
|
-
}
|
|
71
|
-
addDataPoints(...value) {
|
|
72
|
-
this.values.push(...value);
|
|
73
|
-
return this;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
class LineChartDataPoint {
|
|
77
|
-
/**
|
|
78
|
-
* the x axis value of the data point.
|
|
79
|
-
*/
|
|
80
|
-
x;
|
|
81
|
-
/**
|
|
82
|
-
* the y axis value of the data point.
|
|
83
|
-
*/
|
|
84
|
-
y;
|
|
85
|
-
constructor(x, y) {
|
|
86
|
-
this.x = x;
|
|
87
|
-
this.y = y;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export { LineChart, LineChartData, LineChartDataPoint };
|
|
92
|
-
//# sourceMappingURL=line.mjs.map
|
|
93
|
-
//# sourceMappingURL=line.mjs.map
|
package/dist/charts/line.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/charts/line.ts"],"names":[],"mappings":";;AA8BO,MAAM,kBAAkB,OAA8B,CAAA;AAAA,EAC3D,IAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,QAAA;AAAA;AAAA;AAAA;AAAA,EAKA,IAAA;AAAA,EAEA,eAAe,IAAwB,EAAA;AACrC,IAAM,KAAA,EAAA;AACN,IAAA,IAAA,CAAK,IAAO,GAAA,YAAA;AACZ,IAAA,IAAA,CAAK,IAAO,GAAA,IAAA;AAAA;AACd,EAEA,YAAY,KAAyB,EAAA;AACnC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAe,EAAA;AACvB,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,aAAa,KAAe,EAAA;AAC1B,IAAA,IAAA,CAAK,QAAW,GAAA,KAAA;AAChB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,WAAW,IAAwB,EAAA;AACjC,IAAK,IAAA,CAAA,IAAA,CAAK,IAAK,CAAA,GAAG,IAAI,CAAA;AACtB,IAAO,OAAA,IAAA;AAAA;AAEX;AAqBO,MAAM,aAAwC,CAAA;AAAA;AAAA;AAAA;AAAA,EAInD,KAAA;AAAA;AAAA;AAAA;AAAA,EAKA,MAAA;AAAA;AAAA;AAAA;AAAA,EAKA,MAAA;AAAA,EAEA,eAAe,UAAmC,EAAA;AAChD,IAAA,IAAA,CAAK,MAAS,GAAA,UAAA;AAAA;AAChB,EAEA,YAAY,KAA6B,EAAA;AACvC,IAAO,MAAA,CAAA,MAAA,CAAO,MAAM,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,UAAU,KAAmB,EAAA;AAC3B,IAAA,IAAA,CAAK,KAAQ,GAAA,KAAA;AACb,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,WAAW,KAAe,EAAA;AACxB,IAAA,IAAA,CAAK,MAAS,GAAA,KAAA;AACd,IAAO,OAAA,IAAA;AAAA;AACT,EAEA,iBAAiB,KAA8B,EAAA;AAC7C,IAAK,IAAA,CAAA,MAAA,CAAO,IAAK,CAAA,GAAG,KAAK,CAAA;AACzB,IAAO,OAAA,IAAA;AAAA;AAEX;AAcO,MAAM,kBAAkD,CAAA;AAAA;AAAA;AAAA;AAAA,EAI7D,CAAA;AAAA;AAAA;AAAA;AAAA,EAKA,CAAA;AAAA,EAEA,WAAA,CAAY,GAAoB,CAAW,EAAA;AACzC,IAAA,IAAA,CAAK,CAAI,GAAA,CAAA;AACT,IAAA,IAAA,CAAK,CAAI,GAAA,CAAA;AAAA;AAEb","file":"line.mjs","sourcesContent":["import { IElement, Element } from '../base';\r\n\r\nimport { ChartColor } from './color';\r\n\r\nexport interface ILineChart extends IElement {\r\n type: 'Chart.Line';\r\n\r\n /**\r\n * the title of the chart.\r\n */\r\n title?: string;\r\n\r\n /**\r\n * the color to use for all data points.\r\n */\r\n color?: ChartColor;\r\n\r\n /**\r\n * the name of the set of colors to use.\r\n */\r\n colorSet?: string;\r\n\r\n /**\r\n * the data to display in the chart.\r\n */\r\n data: ILineChartData[];\r\n}\r\n\r\nexport type LineChartOptions = Omit<ILineChart, 'type' | 'data'>;\r\n\r\nexport class LineChart extends Element implements ILineChart {\r\n type: 'Chart.Line';\r\n\r\n /**\r\n * the title of the chart.\r\n */\r\n title?: string;\r\n\r\n /**\r\n * the color to use for all data points.\r\n */\r\n color?: ChartColor;\r\n\r\n /**\r\n * the name of the set of colors to use.\r\n */\r\n colorSet?: string;\r\n\r\n /**\r\n * the data to display in the chart.\r\n */\r\n data: ILineChartData[];\r\n\r\n constructor(...data: ILineChartData[]) {\r\n super();\r\n this.type = 'Chart.Line';\r\n this.data = data;\r\n }\r\n\r\n withOptions(value: LineChartOptions) {\r\n Object.assign(this, value);\r\n return this;\r\n }\r\n\r\n withTitle(value: string) {\r\n this.title = value;\r\n return this;\r\n }\r\n\r\n withColorSet(value: string) {\r\n this.colorSet = value;\r\n return this;\r\n }\r\n\r\n addData(...data: ILineChartData[]) {\r\n this.data.push(...data);\r\n return this;\r\n }\r\n}\r\n\r\nexport interface ILineChartData {\r\n /**\r\n * the color to use for the data point.\r\n */\r\n color?: ChartColor;\r\n\r\n /**\r\n * the legend of the chart.\r\n */\r\n legend?: string;\r\n\r\n /**\r\n * the data points in the series.\r\n */\r\n values: ILineChartDataPoint[];\r\n}\r\n\r\nexport type LineChartDataOptions = Omit<ILineChartData, 'values'>;\r\n\r\nexport class LineChartData implements ILineChartData {\r\n /**\r\n * the color to use for the data point.\r\n */\r\n color?: ChartColor;\r\n\r\n /**\r\n * the legend of the chart.\r\n */\r\n legend?: string;\r\n\r\n /**\r\n * the data points in the series.\r\n */\r\n values: ILineChartDataPoint[];\r\n\r\n constructor(...dataPoints: ILineChartDataPoint[]) {\r\n this.values = dataPoints;\r\n }\r\n\r\n withOptions(value: LineChartDataOptions) {\r\n Object.assign(this, value);\r\n return this;\r\n }\r\n\r\n withColor(value: ChartColor) {\r\n this.color = value;\r\n return this;\r\n }\r\n\r\n withLegend(value: string) {\r\n this.legend = value;\r\n return this;\r\n }\r\n\r\n addDataPoints(...value: ILineChartDataPoint[]) {\r\n this.values.push(...value);\r\n return this;\r\n }\r\n}\r\n\r\nexport interface ILineChartDataPoint {\r\n /**\r\n * the x axis value of the data point.\r\n */\r\n x: number | string;\r\n\r\n /**\r\n * the y axis value of the data point.\r\n */\r\n y: number;\r\n}\r\n\r\nexport class LineChartDataPoint implements ILineChartDataPoint {\r\n /**\r\n * the x axis value of the data point.\r\n */\r\n x: number | string;\r\n\r\n /**\r\n * the y axis value of the data point.\r\n */\r\n y: number;\r\n\r\n constructor(x: number | string, y: number) {\r\n this.x = x;\r\n this.y = y;\r\n }\r\n}\r\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"associated-inputs.js"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"associated-inputs.mjs"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines a button as displayed when prompting a user to authenticate. This maps to the cardAction type defined by the Bot Framework (https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.cardaction).
|
|
3
|
-
*/
|
|
4
|
-
interface IAuthCardButton {
|
|
5
|
-
/**
|
|
6
|
-
* The type of the button.
|
|
7
|
-
*/
|
|
8
|
-
type: string;
|
|
9
|
-
/**
|
|
10
|
-
* The value associated with the button. The meaning of value depends on the button’s type.
|
|
11
|
-
*/
|
|
12
|
-
value: string;
|
|
13
|
-
/**
|
|
14
|
-
* The caption of the button.
|
|
15
|
-
*/
|
|
16
|
-
title?: string;
|
|
17
|
-
/**
|
|
18
|
-
* A URL to an image to display alongside the button’s caption.
|
|
19
|
-
*/
|
|
20
|
-
image?: string;
|
|
21
|
-
}
|
|
22
|
-
type AuthCardButtonOptions = Omit<IAuthCardButton, 'type' | 'value'>;
|
|
23
|
-
/**
|
|
24
|
-
* Defines a button as displayed when prompting a user to authenticate. This maps to the cardAction type defined by the Bot Framework (https://docs.microsoft.com/dotnet/api/microsoft.bot.schema.cardaction).
|
|
25
|
-
*/
|
|
26
|
-
declare class AuthCardbutton implements IAuthCardButton {
|
|
27
|
-
/**
|
|
28
|
-
* The type of the button.
|
|
29
|
-
*/
|
|
30
|
-
type: string;
|
|
31
|
-
/**
|
|
32
|
-
* The value associated with the button. The meaning of value depends on the button’s type.
|
|
33
|
-
*/
|
|
34
|
-
value: string;
|
|
35
|
-
/**
|
|
36
|
-
* The caption of the button.
|
|
37
|
-
*/
|
|
38
|
-
title?: string;
|
|
39
|
-
/**
|
|
40
|
-
* A URL to an image to display alongside the button’s caption.
|
|
41
|
-
*/
|
|
42
|
-
image?: string;
|
|
43
|
-
constructor(type: string, value: string, options?: AuthCardButtonOptions);
|
|
44
|
-
withType(value: string): this;
|
|
45
|
-
withValue(value: string): this;
|
|
46
|
-
withTitle(value: string): this;
|
|
47
|
-
withImage(value: string): this;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export { type AuthCardButtonOptions, AuthCardbutton, type IAuthCardButton };
|