@omnia/fx-sp 8.0.137-dev → 8.0.139-dev

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.
@@ -1,4 +1,4 @@
1
- import { IMessageBusTopicSubscription } from "@omnia/fx/models";
1
+ import { Future, IMessageBusTopicSubscription } from "@omnia/fx/models";
2
2
  import { SharePointEnvironmentContext, SharePointPageContext } from "../models";
3
3
  /**
4
4
  * Provides SharePoint related contexts, this context works in SharePoint legacy and SPFx.
@@ -17,6 +17,11 @@ export declare class SharePointContext {
17
17
  * In the other hand when running in OmniaApp, this is for getting SP context connecting to the current app instance asynchronous
18
18
  */
19
19
  get onContextLoadedOrChanged(): IMessageBusTopicSubscription<SharePointPageContext>;
20
+ /**
21
+ * get the load context promise
22
+ * extension can use it to determine whether the context promise has been resolved/rejected
23
+ */
24
+ get getLoadContextPromise(): Future<void>;
20
25
  /**
21
26
  * Omnia SharePoint Environment
22
27
  */
@@ -1,5 +1,5 @@
1
1
  import { AxiosResponse } from "axios";
2
- import { HttpHeaders, IContextProvider, IMessageBusTopicSubscription } from "../../models";
2
+ import { Future, HttpHeaders, IContextProvider, IMessageBusTopicSubscription } from "../../models";
3
3
  import { SharePointPageContext } from "../models";
4
4
  /**
5
5
  * Provides context for context aware objects such as SharepointContext
@@ -34,6 +34,7 @@ export declare class SharePointCtxProvider {
34
34
  private _currentAppId;
35
35
  private _loadContextPromise;
36
36
  onContextLoadedOrChanged(): IMessageBusTopicSubscription<SharePointPageContext>;
37
+ getLoadContextPromise(): Future<void>;
37
38
  getSharePointPageContext: (spUrl: string) => Promise<SharePointPageContext>;
38
39
  dispose(): void;
39
40
  }
@@ -14,6 +14,7 @@ export interface TaxonomyFilterEngineProperty extends BaseFilterEngineProperty {
14
14
  defaultValueType: DefaultValueType;
15
15
  showDeprecatedTerms: boolean;
16
16
  showChipsPropertyLabel: boolean;
17
+ selectChildTerms: boolean;
17
18
  }
18
19
  export declare enum FilterEngineTaxonomyValueSortOrder {
19
20
  TermsetOrder = 0,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-sp",
3
3
  "license": "MIT",
4
- "version": "8.0.137-dev",
4
+ "version": "8.0.139-dev",
5
5
  "description": "Provide Omnia Fx Sharepoint Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,8 +19,8 @@
19
19
  ],
20
20
  "author": "Precio Fishbone",
21
21
  "dependencies": {
22
- "@omnia/fx": "8.0.137-dev",
23
- "@omnia/fx-sp-models": "8.0.137-dev"
22
+ "@omnia/fx": "8.0.139-dev",
23
+ "@omnia/fx-sp-models": "8.0.139-dev"
24
24
  },
25
25
  "typings": "./index.d.ts",
26
26
  "bugs": {