@microsoft/sp-adaptive-card-extension-base 1.14.0 → 1.15.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eeec822e-c28a-46b4-affc-7058e4c1aa80.manifest.json +76 -71
- package/dist/index-internal-beta.d.ts +50 -25
- package/dist/index-internal-public.d.ts +161 -23
- package/dist/index-internal.d.ts +356 -48
- package/dist/sp-adaptive-card-extension-base_default_b4c9420ca2507832af7a.js +1 -0
- package/dist/sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js +1 -0
- package/dist/sp-adaptive-card-extension-base_qps-ploc_b4c9420ca2507832af7a.js +1 -0
- package/dist/sp-adaptive-card-extension-base_qps-ploca_b4c9420ca2507832af7a.js +1 -0
- package/lib-commonjs/AdaptiveCardExtensionContext.js +1 -1
- package/lib-commonjs/AdaptiveCardExtensionLoader.js +1 -4
- package/lib-commonjs/BaseAdaptiveCardExtension.js +8 -21
- package/lib-commonjs/ac-template/util/getCardRenderParameters.js +5 -1
- package/lib-commonjs/actionShim/AdaptiveCardExtensionActionShim.js +137 -0
- package/lib-commonjs/actionShim/IActionShimProvider.js +3 -0
- package/lib-commonjs/common/Killswitches.js +13 -19
- package/lib-commonjs/index.js +4 -2
- package/lib-commonjs/interfaces/ILocation.js +1 -2
- package/lib-commonjs/isolation/IsolatedAdaptiveCardExtensionService.js +206 -27
- package/package.json +10 -9
- package/dist/sp-adaptive-card-extension-base_default_173ae32b19aec2e7570e.js +0 -1
- package/dist/sp-adaptive-card-extension-base_en-us_173ae32b19aec2e7570e.js +0 -1
- package/dist/sp-adaptive-card-extension-base_qps-ploc_173ae32b19aec2e7570e.js +0 -1
- package/dist/sp-adaptive-card-extension-base_qps-ploca_173ae32b19aec2e7570e.js +0 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"id": "eeec822e-c28a-46b4-affc-7058e4c1aa80",
|
|
4
4
|
"alias": "SpAdaptiveCardBase",
|
|
5
5
|
"componentType": "Library",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.15.0",
|
|
7
7
|
"loaderConfig": {
|
|
8
8
|
"internalModuleBaseUrls": [
|
|
9
9
|
"https://localhost:4321/dist/"
|
|
@@ -13,71 +13,71 @@
|
|
|
13
13
|
"sp-adaptive-card-extension-base": {
|
|
14
14
|
"type": "localizedPath",
|
|
15
15
|
"paths": {
|
|
16
|
-
"default": "sp-adaptive-card-extension-
|
|
17
|
-
"en-US": "sp-adaptive-card-extension-base_en-
|
|
18
|
-
"qps-ploca": "sp-adaptive-card-extension-base_qps-
|
|
19
|
-
"qps-ploc": "sp-adaptive-card-extension-base_qps-
|
|
20
|
-
"en-GB": "sp-adaptive-card-extension-base_en-
|
|
21
|
-
"en-NZ": "sp-adaptive-card-extension-base_en-
|
|
22
|
-
"en-IE": "sp-adaptive-card-extension-base_en-
|
|
23
|
-
"en-AU": "sp-adaptive-card-extension-base_en-
|
|
24
|
-
"bn": "sp-adaptive-card-extension-base_en-
|
|
25
|
-
"chr": "sp-adaptive-card-extension-base_en-
|
|
26
|
-
"dv": "sp-adaptive-card-extension-base_en-
|
|
27
|
-
"div": "sp-adaptive-card-extension-base_en-
|
|
28
|
-
"en": "sp-adaptive-card-extension-base_en-
|
|
29
|
-
"fil": "sp-adaptive-card-extension-base_en-
|
|
30
|
-
"haw": "sp-adaptive-card-extension-base_en-
|
|
31
|
-
"iu": "sp-adaptive-card-extension-base_en-
|
|
32
|
-
"lo": "sp-adaptive-card-extension-base_en-
|
|
33
|
-
"moh": "sp-adaptive-card-extension-base_en-
|
|
34
|
-
"sq": "sp-adaptive-card-extension-base_en-
|
|
35
|
-
"am": "sp-adaptive-card-extension-base_en-
|
|
36
|
-
"hy": "sp-adaptive-card-extension-base_en-
|
|
37
|
-
"mk": "sp-adaptive-card-extension-base_en-
|
|
38
|
-
"bs": "sp-adaptive-card-extension-base_en-
|
|
39
|
-
"my": "sp-adaptive-card-extension-base_en-
|
|
40
|
-
"dz": "sp-adaptive-card-extension-base_en-
|
|
41
|
-
"en-CY": "sp-adaptive-card-extension-base_en-
|
|
42
|
-
"en-EG": "sp-adaptive-card-extension-base_en-
|
|
43
|
-
"en-IL": "sp-adaptive-card-extension-base_en-
|
|
44
|
-
"en-IS": "sp-adaptive-card-extension-base_en-
|
|
45
|
-
"en-JO": "sp-adaptive-card-extension-base_en-
|
|
46
|
-
"en-KE": "sp-adaptive-card-extension-base_en-
|
|
47
|
-
"en-KW": "sp-adaptive-card-extension-base_en-
|
|
48
|
-
"en-MK": "sp-adaptive-card-extension-base_en-
|
|
49
|
-
"en-MT": "sp-adaptive-card-extension-base_en-
|
|
50
|
-
"en-PK": "sp-adaptive-card-extension-base_en-
|
|
51
|
-
"en-QA": "sp-adaptive-card-extension-base_en-
|
|
52
|
-
"en-SA": "sp-adaptive-card-extension-base_en-
|
|
53
|
-
"en-LK": "sp-adaptive-card-extension-base_en-
|
|
54
|
-
"en-AE": "sp-adaptive-card-extension-base_en-
|
|
55
|
-
"en-VN": "sp-adaptive-card-extension-base_en-
|
|
56
|
-
"is": "sp-adaptive-card-extension-base_en-
|
|
57
|
-
"km": "sp-adaptive-card-extension-base_en-
|
|
58
|
-
"kh": "sp-adaptive-card-extension-base_en-
|
|
59
|
-
"mt": "sp-adaptive-card-extension-base_en-
|
|
60
|
-
"fa": "sp-adaptive-card-extension-base_en-
|
|
61
|
-
"gd": "sp-adaptive-card-extension-base_en-
|
|
62
|
-
"sr-Cyrl-BA": "sp-adaptive-card-extension-base_en-
|
|
63
|
-
"sr-Latn-BA": "sp-adaptive-card-extension-base_en-
|
|
64
|
-
"sd": "sp-adaptive-card-extension-base_en-
|
|
65
|
-
"si": "sp-adaptive-card-extension-base_en-
|
|
66
|
-
"so": "sp-adaptive-card-extension-base_en-
|
|
67
|
-
"ti-ET": "sp-adaptive-card-extension-base_en-
|
|
68
|
-
"uz": "sp-adaptive-card-extension-base_en-
|
|
69
|
-
"en-SG": "sp-adaptive-card-extension-base_en-
|
|
70
|
-
"en-HK": "sp-adaptive-card-extension-base_en-
|
|
71
|
-
"en-MY": "sp-adaptive-card-extension-base_en-
|
|
72
|
-
"en-PH": "sp-adaptive-card-extension-base_en-
|
|
73
|
-
"en-TT": "sp-adaptive-card-extension-base_en-
|
|
74
|
-
"en-AZ": "sp-adaptive-card-extension-base_en-
|
|
75
|
-
"en-BH": "sp-adaptive-card-extension-base_en-
|
|
76
|
-
"en-BN": "sp-adaptive-card-extension-base_en-
|
|
77
|
-
"en-ID": "sp-adaptive-card-extension-base_en-
|
|
78
|
-
"mi": "sp-adaptive-card-extension-base_en-
|
|
16
|
+
"default": "sp-adaptive-card-extension-base_default_b4c9420ca2507832af7a.js",
|
|
17
|
+
"en-US": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
18
|
+
"qps-ploca": "sp-adaptive-card-extension-base_qps-ploca_b4c9420ca2507832af7a.js",
|
|
19
|
+
"qps-ploc": "sp-adaptive-card-extension-base_qps-ploc_b4c9420ca2507832af7a.js",
|
|
20
|
+
"en-GB": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
21
|
+
"en-NZ": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
22
|
+
"en-IE": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
23
|
+
"en-AU": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
24
|
+
"bn": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
25
|
+
"chr": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
26
|
+
"dv": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
27
|
+
"div": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
28
|
+
"en": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
29
|
+
"fil": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
30
|
+
"haw": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
31
|
+
"iu": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
32
|
+
"lo": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
33
|
+
"moh": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
34
|
+
"sq": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
35
|
+
"am": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
36
|
+
"hy": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
37
|
+
"mk": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
38
|
+
"bs": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
39
|
+
"my": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
40
|
+
"dz": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
41
|
+
"en-CY": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
42
|
+
"en-EG": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
43
|
+
"en-IL": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
44
|
+
"en-IS": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
45
|
+
"en-JO": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
46
|
+
"en-KE": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
47
|
+
"en-KW": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
48
|
+
"en-MK": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
49
|
+
"en-MT": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
50
|
+
"en-PK": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
51
|
+
"en-QA": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
52
|
+
"en-SA": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
53
|
+
"en-LK": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
54
|
+
"en-AE": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
55
|
+
"en-VN": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
56
|
+
"is": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
57
|
+
"km": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
58
|
+
"kh": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
59
|
+
"mt": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
60
|
+
"fa": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
61
|
+
"gd": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
62
|
+
"sr-Cyrl-BA": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
63
|
+
"sr-Latn-BA": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
64
|
+
"sd": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
65
|
+
"si": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
66
|
+
"so": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
67
|
+
"ti-ET": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
68
|
+
"uz": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
69
|
+
"en-SG": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
70
|
+
"en-HK": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
71
|
+
"en-MY": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
72
|
+
"en-PH": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
73
|
+
"en-TT": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
74
|
+
"en-AZ": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
75
|
+
"en-BH": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
76
|
+
"en-BN": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
77
|
+
"en-ID": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js",
|
|
78
|
+
"mi": "sp-adaptive-card-extension-base_en-us_b4c9420ca2507832af7a.js"
|
|
79
79
|
},
|
|
80
|
-
"defaultPath": "sp-adaptive-card-extension-
|
|
80
|
+
"defaultPath": "sp-adaptive-card-extension-base_default_b4c9420ca2507832af7a.js"
|
|
81
81
|
},
|
|
82
82
|
"tslib": {
|
|
83
83
|
"type": "component",
|
|
@@ -87,32 +87,37 @@
|
|
|
87
87
|
"@microsoft/sp-component-base": {
|
|
88
88
|
"type": "component",
|
|
89
89
|
"id": "467dc675-7cc5-4709-8aac-78e3b71bd2f6",
|
|
90
|
-
"version": "1.
|
|
90
|
+
"version": "1.15.0"
|
|
91
91
|
},
|
|
92
92
|
"@microsoft/sp-loader": {
|
|
93
93
|
"type": "component",
|
|
94
94
|
"id": "1c6c9123-7aac-41f3-a376-3caea41ed83f",
|
|
95
|
-
"version": "1.
|
|
95
|
+
"version": "1.15.0"
|
|
96
96
|
},
|
|
97
97
|
"@microsoft/sp-lodash-subset": {
|
|
98
98
|
"type": "component",
|
|
99
99
|
"id": "73e1dc6c-8441-42cc-ad47-4bd3659f8a3a",
|
|
100
|
-
"version": "1.
|
|
100
|
+
"version": "1.15.0"
|
|
101
101
|
},
|
|
102
102
|
"@microsoft/sp-core-library": {
|
|
103
103
|
"type": "component",
|
|
104
104
|
"id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
|
|
105
|
-
"version": "1.
|
|
105
|
+
"version": "1.15.0"
|
|
106
106
|
},
|
|
107
107
|
"@microsoft/sp-page-context": {
|
|
108
108
|
"type": "component",
|
|
109
109
|
"id": "1c4541f7-5c31-41aa-9fa8-fbc9dc14c0a8",
|
|
110
|
-
"version": "1.
|
|
110
|
+
"version": "1.15.0"
|
|
111
111
|
},
|
|
112
112
|
"@microsoft/sp-diagnostics": {
|
|
113
113
|
"type": "component",
|
|
114
114
|
"id": "78359e4b-07c2-43c6-8d0b-d060b4d577e8",
|
|
115
|
-
"version": "1.
|
|
115
|
+
"version": "1.15.0"
|
|
116
|
+
},
|
|
117
|
+
"@microsoft/sp-http": {
|
|
118
|
+
"type": "component",
|
|
119
|
+
"id": "c07208f0-ea3b-4c1a-9965-ac1b825211a6",
|
|
120
|
+
"version": "1.15.0"
|
|
116
121
|
}
|
|
117
122
|
}
|
|
118
123
|
}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* @packagedocumentation
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
+
import { Action } from 'adaptivecards';
|
|
11
12
|
import { ActionStyle } from 'adaptivecards';
|
|
12
13
|
import { BaseComponent } from '@microsoft/sp-component-base';
|
|
13
14
|
import { BaseComponentContext } from '@microsoft/sp-component-base';
|
|
@@ -34,6 +35,8 @@ import { ServiceKey } from '@microsoft/sp-core-library';
|
|
|
34
35
|
import { ServiceScope } from '@microsoft/sp-core-library';
|
|
35
36
|
import { Version } from '@microsoft/sp-core-library';
|
|
36
37
|
|
|
38
|
+
/* Excluded from this release type: _AdaptiveCardExtensionActionShim */
|
|
39
|
+
|
|
37
40
|
/**
|
|
38
41
|
* Adaptive Card Extension context object.
|
|
39
42
|
*
|
|
@@ -54,7 +57,11 @@ export declare class AdaptiveCardExtensionContext extends BaseComponentContext {
|
|
|
54
57
|
*/
|
|
55
58
|
get propertyPane(): IPropertyPaneAccessor | undefined;
|
|
56
59
|
get deviceContext(): DeviceContext;
|
|
57
|
-
|
|
60
|
+
/**
|
|
61
|
+
* @beta
|
|
62
|
+
* Provides a promise that gets current location of the device
|
|
63
|
+
*/
|
|
64
|
+
get location(): Promise<ILocation>;
|
|
58
65
|
}
|
|
59
66
|
|
|
60
67
|
/* Excluded from this release type: _AdaptiveCardExtensionHost */
|
|
@@ -515,7 +522,7 @@ export declare abstract class BaseCardView<TProperties = {}, TState = {}, TData
|
|
|
515
522
|
*
|
|
516
523
|
* @virtual
|
|
517
524
|
*/
|
|
518
|
-
get onCardSelection(): IQuickViewCardAction | IExternalLinkCardAction | undefined;
|
|
525
|
+
get onCardSelection(): IQuickViewCardAction | IExternalLinkCardAction | ISelectMediaCardAction | IGetLocationCardAction | IShowLocationCardAction | undefined;
|
|
519
526
|
/**
|
|
520
527
|
* If true, this Card view will be cached and rendered at next load.
|
|
521
528
|
*
|
|
@@ -687,6 +694,8 @@ export declare type IActionError = {
|
|
|
687
694
|
*/
|
|
688
695
|
export declare type IActionErrorArguments = IBaseActionErrorArguments | ISelectMediaActionErrorArguments | ILocationErrorArguments;
|
|
689
696
|
|
|
697
|
+
/* Excluded from this release type: _IActionShimProvider */
|
|
698
|
+
|
|
690
699
|
/* Excluded from this release type: _IAdaptiveCardExtension */
|
|
691
700
|
|
|
692
701
|
/* Excluded from this release type: _IAdaptiveCardExtensionCache */
|
|
@@ -799,11 +808,11 @@ export declare interface IBaseCardParameters {
|
|
|
799
808
|
title?: string;
|
|
800
809
|
}
|
|
801
810
|
|
|
802
|
-
/* Excluded from this release type:
|
|
811
|
+
/* Excluded from this release type: _IBaseIsolatedApplicationMessage */
|
|
803
812
|
|
|
804
813
|
/* Excluded from this release type: _IBaseIsolatedMessage */
|
|
805
814
|
|
|
806
|
-
/* Excluded from this release type:
|
|
815
|
+
/* Excluded from this release type: _IBaseIsolatedServiceCallbackParameters */
|
|
807
816
|
|
|
808
817
|
/* Excluded from this release type: _IBaseIsolatedServiceMessage */
|
|
809
818
|
|
|
@@ -854,7 +863,7 @@ export declare interface ICacheSettings {
|
|
|
854
863
|
*
|
|
855
864
|
* @public
|
|
856
865
|
*/
|
|
857
|
-
export declare type ICardAction = IQuickViewCardAction | IExternalLinkCardAction | ISubmitCardAction;
|
|
866
|
+
export declare type ICardAction = IQuickViewCardAction | IExternalLinkCardAction | ISubmitCardAction | ISelectMediaCardAction | IGetLocationCardAction | IShowLocationCardAction;
|
|
858
867
|
|
|
859
868
|
/**
|
|
860
869
|
* A button to display on a Card View.
|
|
@@ -939,12 +948,10 @@ export declare interface IExternalLinkParameters {
|
|
|
939
948
|
export declare interface IGetLocationAction extends IAction {
|
|
940
949
|
/**
|
|
941
950
|
* Indicates this is a Viva Select Location button.
|
|
942
|
-
* @beta
|
|
943
951
|
*/
|
|
944
952
|
type: 'VivaAction.GetLocation';
|
|
945
953
|
/**
|
|
946
954
|
* Parameters that can be supplied with the Viva Get Location Action.
|
|
947
|
-
* @beta
|
|
948
955
|
*/
|
|
949
956
|
parameters?: IGetLocationActionParameters;
|
|
950
957
|
}
|
|
@@ -957,13 +964,11 @@ export declare interface IGetLocationAction extends IAction {
|
|
|
957
964
|
export declare interface IGetLocationActionArguments extends Omit<IBaseActionArguments, 'type'> {
|
|
958
965
|
/**
|
|
959
966
|
* The type of Adaptive Card Action.
|
|
960
|
-
* @beta
|
|
961
967
|
*/
|
|
962
968
|
type: 'VivaAction.GetLocation';
|
|
963
969
|
/**
|
|
964
970
|
* Coordinates of the location.
|
|
965
971
|
* In case of erroneous situation, location object will be undefined.
|
|
966
|
-
* @beta
|
|
967
972
|
*/
|
|
968
973
|
location?: ILocation;
|
|
969
974
|
}
|
|
@@ -971,7 +976,7 @@ export declare interface IGetLocationActionArguments extends Omit<IBaseActionArg
|
|
|
971
976
|
/**
|
|
972
977
|
* Parameters that can be supplied with the Viva Get Location Action.
|
|
973
978
|
* @remarks API under active development and not ready for use.
|
|
974
|
-
* @
|
|
979
|
+
* @public
|
|
975
980
|
*/
|
|
976
981
|
export declare interface IGetLocationActionParameters {
|
|
977
982
|
/**
|
|
@@ -981,10 +986,12 @@ export declare interface IGetLocationActionParameters {
|
|
|
981
986
|
chooseLocationOnMap?: boolean;
|
|
982
987
|
}
|
|
983
988
|
|
|
989
|
+
/* Excluded from this release type: IGetLocationActionProvider */
|
|
990
|
+
|
|
984
991
|
/**
|
|
985
992
|
* Invoke an `VivaAction.GetLocation` event.
|
|
986
993
|
* @remarks API under active development and not ready for use.
|
|
987
|
-
* @
|
|
994
|
+
* @public
|
|
988
995
|
*/
|
|
989
996
|
export declare interface IGetLocationCardAction {
|
|
990
997
|
/**
|
|
@@ -1014,16 +1021,34 @@ export declare interface IImageCardParameters extends IBaseCardParameters {
|
|
|
1014
1021
|
primaryText: string;
|
|
1015
1022
|
}
|
|
1016
1023
|
|
|
1024
|
+
/* Excluded from this release type: _IIsolatedACEDataServiceMessage */
|
|
1025
|
+
|
|
1017
1026
|
/* Excluded from this release type: _IIsolatedAction */
|
|
1018
1027
|
|
|
1019
1028
|
/* Excluded from this release type: _IIsolatedActionServiceMessage */
|
|
1020
1029
|
|
|
1030
|
+
/* Excluded from this release type: _IIsolatedCloseQuickViewMessage */
|
|
1031
|
+
|
|
1021
1032
|
/* Excluded from this release type: _IIsolatedErrorCallbackParameters */
|
|
1022
1033
|
|
|
1023
1034
|
/* Excluded from this release type: _IIsolatedErrorMessage */
|
|
1024
1035
|
|
|
1025
1036
|
/* Excluded from this release type: _IIsolatedInitializeServiceMessage */
|
|
1026
1037
|
|
|
1038
|
+
/* Excluded from this release type: _IIsolatedOboTokenRequestMessage */
|
|
1039
|
+
|
|
1040
|
+
/* Excluded from this release type: _IIsolatedOBOTokenServiceMessage */
|
|
1041
|
+
|
|
1042
|
+
/* Excluded from this release type: _IIsolatedOpenQuickViewMessage */
|
|
1043
|
+
|
|
1044
|
+
/* Excluded from this release type: _IIsolatedOpenUrlActionArguments */
|
|
1045
|
+
|
|
1046
|
+
/* Excluded from this release type: _IIsolatedOpenUrlCallbackParameters */
|
|
1047
|
+
|
|
1048
|
+
/* Excluded from this release type: _IIsolatedOpenUrlMessage */
|
|
1049
|
+
|
|
1050
|
+
/* Excluded from this release type: _IIsolatedQuickViewActionArguments */
|
|
1051
|
+
|
|
1027
1052
|
/* Excluded from this release type: _IIsolatedReadyMessage */
|
|
1028
1053
|
|
|
1029
1054
|
/* Excluded from this release type: _IIsolatedRenderCallbackParameters */
|
|
@@ -1032,14 +1057,13 @@ export declare interface IImageCardParameters extends IBaseCardParameters {
|
|
|
1032
1057
|
|
|
1033
1058
|
/* Excluded from this release type: _IIsolatedTokenRequestMessage */
|
|
1034
1059
|
|
|
1035
|
-
/* Excluded from this release type:
|
|
1060
|
+
/* Excluded from this release type: _IIsolatedVisibilityChangeCallbackParameters */
|
|
1036
1061
|
|
|
1037
1062
|
/* Excluded from this release type: _ILoadIsolatedAdaptiveCardExtensionParameters */
|
|
1038
1063
|
|
|
1039
1064
|
/**
|
|
1040
1065
|
* Interface for location coordinates
|
|
1041
|
-
* @
|
|
1042
|
-
* @beta
|
|
1066
|
+
* @public
|
|
1043
1067
|
*/
|
|
1044
1068
|
export declare interface ILocation {
|
|
1045
1069
|
/**
|
|
@@ -1060,6 +1084,10 @@ export declare interface ILocation {
|
|
|
1060
1084
|
accuracy?: number;
|
|
1061
1085
|
}
|
|
1062
1086
|
|
|
1087
|
+
declare interface ILocationActionProvider {
|
|
1088
|
+
isBingMapOpen?: boolean;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1063
1091
|
/**
|
|
1064
1092
|
* This object represents the error data that the Location action can throw.
|
|
1065
1093
|
* @remarks API under active development and not ready for use.
|
|
@@ -1068,12 +1096,10 @@ export declare interface ILocation {
|
|
|
1068
1096
|
export declare interface ILocationErrorArguments extends Omit<IBaseActionErrorArguments, 'type'> {
|
|
1069
1097
|
/**
|
|
1070
1098
|
* Indicates this is a Viva Select Location button.
|
|
1071
|
-
* @beta
|
|
1072
1099
|
*/
|
|
1073
1100
|
type: 'VivaAction.GetLocation';
|
|
1074
1101
|
/**
|
|
1075
1102
|
* Error codes specific to the Get Location Error
|
|
1076
|
-
* @beta
|
|
1077
1103
|
*/
|
|
1078
1104
|
error: {
|
|
1079
1105
|
code: 'InternalError' | 'PermissionDenied';
|
|
@@ -1082,8 +1108,6 @@ export declare interface ILocationErrorArguments extends Omit<IBaseActionErrorAr
|
|
|
1082
1108
|
|
|
1083
1109
|
/* Excluded from this release type: _INavigationBarProperties */
|
|
1084
1110
|
|
|
1085
|
-
/* Excluded from this release type: _IOpenUrlActionArgument */
|
|
1086
|
-
|
|
1087
1111
|
/**
|
|
1088
1112
|
* The data parameters for {@link BasePrimaryTextCardView}.
|
|
1089
1113
|
*
|
|
@@ -1100,8 +1124,6 @@ export declare interface IPrimaryTextCardParameters extends IBaseCardParameters
|
|
|
1100
1124
|
primaryText: string;
|
|
1101
1125
|
}
|
|
1102
1126
|
|
|
1103
|
-
/* Excluded from this release type: _IQuickViewActionArgument */
|
|
1104
|
-
|
|
1105
1127
|
/**
|
|
1106
1128
|
* Open the quick view.
|
|
1107
1129
|
*
|
|
@@ -1255,7 +1277,7 @@ export declare interface ISelectMediaAttachment {
|
|
|
1255
1277
|
/**
|
|
1256
1278
|
* Invoke an `VivaAction.SelectMedia` event.
|
|
1257
1279
|
* @remarks API under active development and not ready for use.
|
|
1258
|
-
* @
|
|
1280
|
+
* @public
|
|
1259
1281
|
*/
|
|
1260
1282
|
export declare interface ISelectMediaCardAction {
|
|
1261
1283
|
/**
|
|
@@ -1264,10 +1286,13 @@ export declare interface ISelectMediaCardAction {
|
|
|
1264
1286
|
type: 'VivaAction.SelectMedia';
|
|
1265
1287
|
/**
|
|
1266
1288
|
* Parameters for the Select Media Action
|
|
1289
|
+
* @beta
|
|
1267
1290
|
*/
|
|
1268
1291
|
parameters: ISelectMediaActionParameters;
|
|
1269
1292
|
}
|
|
1270
1293
|
|
|
1294
|
+
/* Excluded from this release type: _ISelectMediaHandleProvider */
|
|
1295
|
+
|
|
1271
1296
|
/**
|
|
1272
1297
|
* The object passed to {@link BaseView.onAction} when a `ShowCard` Action is executed.
|
|
1273
1298
|
*
|
|
@@ -1288,12 +1313,10 @@ export declare interface IShowCardActionArguments extends IBaseActionArguments {
|
|
|
1288
1313
|
export declare interface IShowLocationAction extends IAction {
|
|
1289
1314
|
/**
|
|
1290
1315
|
* Indicates this is a Viva show Location button.
|
|
1291
|
-
* @beta
|
|
1292
1316
|
*/
|
|
1293
1317
|
type: 'VivaAction.ShowLocation';
|
|
1294
1318
|
/**
|
|
1295
1319
|
* Parameters that can be supplied with the Viva Show Location Action.
|
|
1296
|
-
* @beta
|
|
1297
1320
|
*/
|
|
1298
1321
|
parameters?: IShowLocationActionParameters;
|
|
1299
1322
|
}
|
|
@@ -1301,7 +1324,7 @@ export declare interface IShowLocationAction extends IAction {
|
|
|
1301
1324
|
/**
|
|
1302
1325
|
* Parameters that can be supplied with the Viva Show Location Action.
|
|
1303
1326
|
* @remarks API under active development and not ready for use.
|
|
1304
|
-
* @
|
|
1327
|
+
* @public
|
|
1305
1328
|
*/
|
|
1306
1329
|
export declare interface IShowLocationActionParameters {
|
|
1307
1330
|
/**
|
|
@@ -1311,10 +1334,12 @@ export declare interface IShowLocationActionParameters {
|
|
|
1311
1334
|
locationCoordinates?: ILocation;
|
|
1312
1335
|
}
|
|
1313
1336
|
|
|
1337
|
+
/* Excluded from this release type: IShowLocationActionProvider */
|
|
1338
|
+
|
|
1314
1339
|
/**
|
|
1315
1340
|
* Invoke an `VivaAction.ShowLocation` event.
|
|
1316
1341
|
* @remarks API under active development and not ready for use.
|
|
1317
|
-
* @
|
|
1342
|
+
* @public
|
|
1318
1343
|
*/
|
|
1319
1344
|
export declare interface IShowLocationCardAction {
|
|
1320
1345
|
/**
|