@microsoft/sp-adaptive-card-extension-base 1.17.0-beta.1 → 1.17.0-beta.3

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.
Files changed (24) hide show
  1. package/dist/eeec822e-c28a-46b4-affc-7058e4c1aa80.manifest.json +65 -65
  2. package/dist/index-internal-beta.d.ts +130 -20
  3. package/dist/index-internal-public.d.ts +74 -20
  4. package/dist/index-internal.d.ts +130 -20
  5. package/dist/sp-adaptive-card-extension-base_default_eb975504c084a0dc6f54.js +1 -0
  6. package/dist/sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js +1 -0
  7. package/dist/sp-adaptive-card-extension-base_qps-ploc_eb975504c084a0dc6f54.js +1 -0
  8. package/dist/sp-adaptive-card-extension-base_qps-ploca_eb975504c084a0dc6f54.js +1 -0
  9. package/dist/tsdoc-metadata.json +1 -1
  10. package/lib-commonjs/AdaptiveCardExtensionContext.js +1 -0
  11. package/lib-commonjs/AdaptiveCardExtensionLoader.js +12 -3
  12. package/lib-commonjs/BaseAdaptiveCardExtension.js +42 -4
  13. package/lib-commonjs/actionShim/AdaptiveCardExtensionActionShim.js +8 -1
  14. package/lib-commonjs/actionShim/getOnBeforeActionArguments.js +57 -0
  15. package/lib-commonjs/common/Killswitches.js +22 -1
  16. package/lib-commonjs/index.js +5 -1
  17. package/lib-commonjs/interfaces/IFocusParameters.js +7 -0
  18. package/lib-commonjs/isolation/IsolatedAdaptiveCardExtensionService.js +42 -13
  19. package/lib-commonjs/views/quickView/BaseAdaptiveCardView.js +13 -0
  20. package/package.json +15 -15
  21. package/dist/sp-adaptive-card-extension-base_default_1a8c8e3e49f741959083.js +0 -1
  22. package/dist/sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js +0 -1
  23. package/dist/sp-adaptive-card-extension-base_qps-ploc_1a8c8e3e49f741959083.js +0 -1
  24. package/dist/sp-adaptive-card-extension-base_qps-ploca_1a8c8e3e49f741959083.js +0 -1
@@ -13,71 +13,71 @@
13
13
  "sp-adaptive-card-extension-base": {
14
14
  "type": "localizedPath",
15
15
  "paths": {
16
- "default": "sp-adaptive-card-extension-base_default_1a8c8e3e49f741959083.js",
17
- "en-US": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
18
- "qps-ploca": "sp-adaptive-card-extension-base_qps-ploca_1a8c8e3e49f741959083.js",
19
- "qps-ploc": "sp-adaptive-card-extension-base_qps-ploc_1a8c8e3e49f741959083.js",
20
- "en-GB": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
21
- "en-NZ": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
22
- "en-IE": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
23
- "en-AU": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
24
- "bn": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
25
- "chr": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
26
- "dv": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
27
- "div": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
28
- "en": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
29
- "fil": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
30
- "haw": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
31
- "iu": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
32
- "lo": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
33
- "moh": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
34
- "sq": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
35
- "am": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
36
- "hy": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
37
- "mk": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
38
- "bs": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
39
- "my": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
40
- "dz": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
41
- "en-CY": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
42
- "en-EG": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
43
- "en-IL": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
44
- "en-IS": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
45
- "en-JO": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
46
- "en-KE": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
47
- "en-KW": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
48
- "en-MK": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
49
- "en-MT": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
50
- "en-PK": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
51
- "en-QA": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
52
- "en-SA": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
53
- "en-LK": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
54
- "en-AE": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
55
- "en-VN": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
56
- "is": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
57
- "km": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
58
- "kh": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
59
- "mt": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
60
- "fa": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
61
- "gd": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
62
- "sr-Cyrl-BA": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
63
- "sr-Latn-BA": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
64
- "sd": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
65
- "si": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
66
- "so": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
67
- "ti-ET": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
68
- "uz": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
69
- "en-SG": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
70
- "en-HK": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
71
- "en-MY": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
72
- "en-PH": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
73
- "en-TT": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
74
- "en-AZ": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
75
- "en-BH": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
76
- "en-BN": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
77
- "en-ID": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js",
78
- "mi": "sp-adaptive-card-extension-base_en-us_1a8c8e3e49f741959083.js"
16
+ "default": "sp-adaptive-card-extension-base_default_eb975504c084a0dc6f54.js",
17
+ "en-US": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
18
+ "qps-ploca": "sp-adaptive-card-extension-base_qps-ploca_eb975504c084a0dc6f54.js",
19
+ "qps-ploc": "sp-adaptive-card-extension-base_qps-ploc_eb975504c084a0dc6f54.js",
20
+ "en-GB": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
21
+ "en-NZ": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
22
+ "en-IE": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
23
+ "en-AU": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
24
+ "bn": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
25
+ "chr": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
26
+ "dv": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
27
+ "div": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
28
+ "en": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
29
+ "fil": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
30
+ "haw": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
31
+ "iu": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
32
+ "lo": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
33
+ "moh": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
34
+ "sq": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
35
+ "am": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
36
+ "hy": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
37
+ "mk": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
38
+ "bs": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
39
+ "my": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
40
+ "dz": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
41
+ "en-CY": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
42
+ "en-EG": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
43
+ "en-IL": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
44
+ "en-IS": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
45
+ "en-JO": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
46
+ "en-KE": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
47
+ "en-KW": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
48
+ "en-MK": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
49
+ "en-MT": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
50
+ "en-PK": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
51
+ "en-QA": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
52
+ "en-SA": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
53
+ "en-LK": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
54
+ "en-AE": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
55
+ "en-VN": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
56
+ "is": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
57
+ "km": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
58
+ "kh": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
59
+ "mt": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
60
+ "fa": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
61
+ "gd": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
62
+ "sr-Cyrl-BA": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
63
+ "sr-Latn-BA": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
64
+ "sd": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
65
+ "si": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
66
+ "so": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
67
+ "ti-ET": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
68
+ "uz": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
69
+ "en-SG": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
70
+ "en-HK": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
71
+ "en-MY": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
72
+ "en-PH": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
73
+ "en-TT": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
74
+ "en-AZ": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
75
+ "en-BH": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
76
+ "en-BN": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
77
+ "en-ID": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js",
78
+ "mi": "sp-adaptive-card-extension-base_en-us_eb975504c084a0dc6f54.js"
79
79
  },
80
- "defaultPath": "sp-adaptive-card-extension-base_default_1a8c8e3e49f741959083.js"
80
+ "defaultPath": "sp-adaptive-card-extension-base_default_eb975504c084a0dc6f54.js"
81
81
  },
82
82
  "tslib": {
83
83
  "type": "component",
@@ -92,7 +92,7 @@
92
92
  "@ms/sp-telemetry": {
93
93
  "type": "component",
94
94
  "id": "8217e442-8ed3-41fd-957d-b112e841286a",
95
- "version": "0.26.110"
95
+ "version": "0.28.16"
96
96
  },
97
97
  "@microsoft/sp-component-base": {
98
98
  "type": "component",
@@ -8,29 +8,29 @@
8
8
  * @packagedocumentation
9
9
  */
10
10
 
11
- import { Action } from 'adaptivecards';
12
- import { ActionStyle } from 'adaptivecards';
11
+ import type { Action } from 'adaptivecards';
12
+ import type { ActionStyle } from 'adaptivecards/lib/schema';
13
13
  import { BaseComponent } from '@microsoft/sp-component-base';
14
14
  import { BaseComponentContext } from '@microsoft/sp-component-base';
15
15
  import { DisplayMode } from '@microsoft/sp-core-library';
16
- import { IAction } from 'adaptivecards/lib/schema';
17
- import { IAdaptiveCard } from 'adaptivecards/lib/schema';
16
+ import type { IAction } from 'adaptivecards/lib/schema';
17
+ import type { IAdaptiveCard } from 'adaptivecards/lib/schema';
18
18
  import { IAdaptiveCardExtensionManifest } from '@microsoft/sp-module-interfaces';
19
- import { IColumnSet } from 'adaptivecards/lib/schema';
19
+ import type { IColumnSet } from 'adaptivecards/lib/schema';
20
20
  import { IComponentPropertyMetadata } from '@microsoft/sp-component-base';
21
- import { IContainer } from 'adaptivecards/lib/schema';
22
- import { IFactSet } from 'adaptivecards/lib/schema';
23
- import { IImage } from 'adaptivecards/lib/schema';
24
- import { IImageSet } from 'adaptivecards/lib/schema';
25
- import { IOpenUrlAction } from 'adaptivecards/lib/schema';
21
+ import type { IContainer } from 'adaptivecards/lib/schema';
22
+ import type { IFactSet } from 'adaptivecards/lib/schema';
23
+ import type { IImage } from 'adaptivecards/lib/schema';
24
+ import type { IImageSet } from 'adaptivecards/lib/schema';
25
+ import type { IOpenUrlAction } from 'adaptivecards/lib/schema';
26
26
  import { IPropertyPaneAccessor } from '@microsoft/sp-webpart-base';
27
27
  import { IPropertyPaneConfiguration } from '@microsoft/sp-property-pane';
28
28
  import { IPropertyPaneGroup } from '@microsoft/sp-property-pane';
29
29
  import { ISDKs } from '@microsoft/sp-webpart-base';
30
30
  import { ISerializedServerProcessedData } from '@microsoft/sp-component-base';
31
- import { IShowCardAction } from 'adaptivecards/lib/schema';
32
- import { ISubmitAction } from 'adaptivecards/lib/schema';
33
- import { ITextBlock } from 'adaptivecards/lib/schema';
31
+ import type { IShowCardAction } from 'adaptivecards/lib/schema';
32
+ import type { ISubmitAction } from 'adaptivecards/lib/schema';
33
+ import type { ITextBlock } from 'adaptivecards/lib/schema';
34
34
  import { ServiceKey } from '@microsoft/sp-core-library';
35
35
  import { ServiceScope } from '@microsoft/sp-core-library';
36
36
  import { Version } from '@microsoft/sp-core-library';
@@ -49,6 +49,7 @@ export declare class AdaptiveCardExtensionContext extends BaseComponentContext {
49
49
  * See {@link @microsoft/sp-component-base#BaseComponentContext.manifest}
50
50
  */
51
51
  readonly manifest: IAdaptiveCardExtensionManifest<unknown>;
52
+ /* Excluded from this release type: _getPositionOnPage */
52
53
  private _aceHost;
53
54
  private _deviceContext;
54
55
  private _location;
@@ -289,6 +290,18 @@ export declare class BaseAdaptiveCardExtension<TProperties = {}, TState = Readon
289
290
  * @virtual
290
291
  */
291
292
  onNotificationReceived(notificationArguments: Readonly<INotificationArguments<{}>>): INotificationResponse | undefined;
293
+ /**
294
+ * Lifecycle method called before Action is passed to {@link BaseView.onAction}.
295
+ *
296
+ * @param action - {@link IOnBeforeActionArguments} for the current action.
297
+ *
298
+ * @remarks This method is not intended to be used to cancel the action or to change the flow.
299
+ *
300
+ * @virtual
301
+ * @beta
302
+ */
303
+ onBeforeAction(action: IOnBeforeActionArguments): void;
304
+ /* Excluded from this release type: _onBeforeAction */
292
305
  /* Excluded from this release type: _internalOnAction */
293
306
  /* Excluded from this release type: _internalOnActionError */
294
307
  /**
@@ -541,6 +554,13 @@ export declare abstract class BaseAdaptiveCardView<TProperties = {}, TState = {}
541
554
  * @virtual
542
555
  */
543
556
  get title(): string;
557
+ /**
558
+ * An optional focus element to set focus when the view is rendered for accessibility purposes.
559
+ * @remarks If not overriden, the focus element defaulted to the first actionable element of the quick view.
560
+ *
561
+ * @virtual
562
+ */
563
+ get focusParameters(): IFocusParameters | undefined;
544
564
  }
545
565
 
546
566
  /**
@@ -731,9 +751,7 @@ export declare abstract class BaseView<TProperties = {}, TState = {}, TData = {}
731
751
  /**
732
752
  * @public
733
753
  */
734
- export declare type CardActionType = (ISubmitAction | IOpenUrlAction | IShowCardAction | ISelectMediaAction | IGetLocationAction | IShowLocationAction) & {
735
- style?: ActionStyle;
736
- };
754
+ export declare type CardActionType = ISubmitAction | IOpenUrlAction | IShowCardAction | ISelectMediaAction | IGetLocationAction | IShowLocationAction;
737
755
 
738
756
  /**
739
757
  * Size of the Card view.
@@ -750,10 +768,12 @@ export declare type CardSize = 'Medium' | 'Large';
750
768
  */
751
769
  export declare type DeviceContext = 'WebView' | 'Mobile' | 'TeamsDesktop';
752
770
 
771
+ /* Excluded from this release type: _getOnBeforeActionArguments */
772
+
753
773
  /**
754
774
  * The object passed to {@link BaseView.onAction} when an Adaptive Card Action is executed.
755
775
  *
756
- * @remarks Only `Submit`, `ShowCard`, 'Viva.SelectMedia', 'Viva.GetLocation' and 'Viva.ShowLocation; actions are routed to the {@link BaseView.onAction} handler.
776
+ * @remarks Only `Submit`, `ShowCard`, 'Viva.SelectMedia', and 'Viva.GetLocation'; actions are routed to the {@link BaseView.onAction} handler.
757
777
  *
758
778
  * @public
759
779
  */
@@ -767,7 +787,7 @@ export declare type IActionError = {
767
787
  };
768
788
 
769
789
  /**
770
- * The object passed to {@link BaseView.onActionError} when an Adaptive Card Action is executed.
790
+ * The object passed to {@link BaseView.onActionError} when an error occured while executing Adaptive Card Action.
771
791
  *
772
792
  * @remarks Only `Submit`, `ShowCard`, 'Viva.SelectMedia', 'Viva.GetLocation' and 'Viva.ShowLocation; actions are routed to the {@link BaseView.onActionError} handler.
773
793
  *
@@ -897,6 +917,18 @@ export declare interface IBaseCardParameters {
897
917
 
898
918
  /* Excluded from this release type: _IBaseIsolatedServiceMessage */
899
919
 
920
+ /**
921
+ * Base object passed to {@link BaseAdaptiveCardExtension.onBeforeAction} when Adaptive Card Extension Action is executed.
922
+ *
923
+ * @beta
924
+ */
925
+ export declare interface IBaseOnBeforeActionArguments extends Omit<IBaseActionArguments, 'type'> {
926
+ /**
927
+ * The type of Adaptive Card Extension Action.
928
+ */
929
+ type: 'Submit' | 'ShowCard' | 'ExternalLink' | 'QuickView';
930
+ }
931
+
900
932
  /**
901
933
  * The data parameters for {@link BaseBasicCardView}.
902
934
  *
@@ -982,6 +1014,8 @@ export declare interface ICardButton {
982
1014
 
983
1015
  /* Excluded from this release type: _IComponentContextParameters */
984
1016
 
1017
+ /* Excluded from this release type: _IComponentPosition */
1018
+
985
1019
  /**
986
1020
  * Confirmation Dialog option that is passed through `Submit` Action is executed.
987
1021
  * @public
@@ -991,6 +1025,22 @@ export declare interface IConfirmationDialog {
991
1025
  message: string;
992
1026
  }
993
1027
 
1028
+ /**
1029
+ * The object passed to {@link BaseAdaptiveCardExtension.onBeforeAction} when a `ExternalLink` Action is triggered.
1030
+ *
1031
+ * @beta
1032
+ */
1033
+ export declare interface IExternalLinkActionArguments extends IBaseOnBeforeActionArguments {
1034
+ /**
1035
+ * The type of Adaptive Card Action.
1036
+ */
1037
+ type: 'ExternalLink';
1038
+ /**
1039
+ * URL to navigate to.
1040
+ */
1041
+ url: string;
1042
+ }
1043
+
994
1044
  /**
995
1045
  * Open an external link.
996
1046
  *
@@ -1023,6 +1073,25 @@ export declare interface IExternalLinkParameters {
1023
1073
  target: string;
1024
1074
  }
1025
1075
 
1076
+ /**
1077
+ * Interface to give third party developers the capability to determine which element should recieve focus, when, and how often content should be read.
1078
+ * @public
1079
+ */
1080
+ export declare interface IFocusParameters {
1081
+ /**
1082
+ * Sets the default focus on the DOM. Developers pass in the id of a unique element that is to attain focus within a quick view.
1083
+ * If the `focusTarget` is not defined then the root element is selected.
1084
+ */
1085
+ focusTarget: string | undefined;
1086
+ /**
1087
+ * Sets the accessibility reading of the contents within the focus target.
1088
+ * Polite - Content in the target's subtree is read when the user is idle.
1089
+ * Assertive - Disrupts any announcement in favor of the changed contents within the target's subtree.
1090
+ * Off - The screen reader will not read contents within the target's subtree.
1091
+ */
1092
+ ariaLive?: 'polite' | 'assertive' | 'off';
1093
+ }
1094
+
1026
1095
  /**
1027
1096
  * Interface for Viva Get Location action
1028
1097
  * @remarks API under active development and not ready for use.
@@ -1132,6 +1201,8 @@ export declare interface IImageCardParameters extends IBaseCardParameters {
1132
1201
 
1133
1202
  /* Excluded from this release type: _IIsolatedOBOTokenServiceMessage */
1134
1203
 
1204
+ /* Excluded from this release type: _IIsolatedOnBeforeAction */
1205
+
1135
1206
  /* Excluded from this release type: _IIsolatedOpenQuickViewMessage */
1136
1207
 
1137
1208
  /* Excluded from this release type: _IIsolatedOpenUrlActionArguments */
@@ -1140,6 +1211,10 @@ export declare interface IImageCardParameters extends IBaseCardParameters {
1140
1211
 
1141
1212
  /* Excluded from this release type: _IIsolatedOpenUrlMessage */
1142
1213
 
1214
+ /* Excluded from this release type: _IIsolatedPropertyPaneConfigurationCallbackParameters */
1215
+
1216
+ /* Excluded from this release type: _IIsolatedPropertyPaneResourcesServiceMessage */
1217
+
1143
1218
  /* Excluded from this release type: _IIsolatedQuickViewActionArguments */
1144
1219
 
1145
1220
  /* Excluded from this release type: _IIsolatedReadyMessage */
@@ -1190,9 +1265,9 @@ declare interface ILocationActionProvider {
1190
1265
  */
1191
1266
  export declare interface ILocationErrorArguments extends Omit<IBaseActionErrorArguments, 'type'> {
1192
1267
  /**
1193
- * Indicates this is a Viva Select Location button.
1268
+ * Indicates this is a Viva GetLocation or ShowLocation action.
1194
1269
  */
1195
- type: 'VivaAction.GetLocation';
1270
+ type: 'VivaAction.GetLocation' | 'VivaAction.ShowLocation';
1196
1271
  /**
1197
1272
  * Error codes specific to the Get Location Error
1198
1273
  */
@@ -1226,6 +1301,16 @@ export declare interface INotificationResponse {
1226
1301
  quickViewId: string;
1227
1302
  }
1228
1303
 
1304
+ /**
1305
+ * The object passed to {@link BaseAdaptiveCardExtension.onBeforeAction} when an Adaptive Card Action is executed.
1306
+ *
1307
+ * @remarks All action will be routed to {@link BaseAdaptiveCardExtension.onBeforeAction} handler after collecting data associated with the action.
1308
+ * @remarks Besides `IExternalLinkAction`, and `IQuickViewActionArguments` other actions will be passed to {@link BaseView.onAction} as type {@link IActionArguments} after {@link BaseAdaptiveCardExtension.onBeforeAction}.
1309
+ *
1310
+ * @beta
1311
+ */
1312
+ export declare type IOnBeforeActionArguments = ISubmitActionArguments | IShowCardActionArguments | IExternalLinkActionArguments | IQuickViewActionArguments | ISelectMediaActionArguments | IGetLocationActionArguments | IShowLocationCardAction;
1313
+
1229
1314
  /**
1230
1315
  * The data parameters for {@link BasePrimaryTextCardView}.
1231
1316
  *
@@ -1238,10 +1323,30 @@ export declare interface IPrimaryTextCardParameters extends IBaseCardParameters
1238
1323
  description: string;
1239
1324
  /**
1240
1325
  * The primary text to display.
1326
+ *
1327
+ * @remarks This is a single line of bolded text. Using new line in string will not create new lines.
1241
1328
  */
1242
1329
  primaryText: string;
1243
1330
  }
1244
1331
 
1332
+ /* Excluded from this release type: _IPropertyPaneConfigurationMessage */
1333
+
1334
+ /**
1335
+ * The object passed to {@link BaseAdaptiveCardExtension.onBeforeAction} when a `QuickView` Action is triggered.
1336
+ *
1337
+ * @beta
1338
+ */
1339
+ export declare interface IQuickViewActionArguments extends IBaseOnBeforeActionArguments {
1340
+ /**
1341
+ * The type of Adaptive Card Action.
1342
+ */
1343
+ type: 'QuickView';
1344
+ /**
1345
+ * Id of the Quick View to open.
1346
+ */
1347
+ viewId: string;
1348
+ }
1349
+
1245
1350
  /**
1246
1351
  * Open the quick view.
1247
1352
  *
@@ -1429,6 +1534,9 @@ export declare interface IShowCardActionArguments extends IBaseActionArguments {
1429
1534
  type: 'ShowCard';
1430
1535
  }
1431
1536
 
1537
+ /**
1538
+ * Error interface for 'VivaAction.ShowLocation' is {@link IGetLocationAction.ILocationErrorArguments}
1539
+ */
1432
1540
  /**
1433
1541
  * Interface for Viva Show Location action
1434
1542
  * @remarks API under active development and not ready for use.
@@ -1498,6 +1606,8 @@ export declare interface ISPFxAdaptiveCard extends Omit<IAdaptiveCard, 'actions'
1498
1606
  actions?: (ISubmitAction | IOpenUrlAction | IShowCardAction | ISelectMediaAction | IGetLocationAction | IShowLocationAction)[];
1499
1607
  }
1500
1608
 
1609
+ /* Excluded from this release type: _isSurfaceOnBeforeActionKSActivated */
1610
+
1501
1611
  /**
1502
1612
  * The object passed to {@link BaseView.onAction} when a `Submit` Action is executed.
1503
1613
  *