@omnia/fx-sp 8.0.124-dev → 8.0.127-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.
@@ -24,15 +24,17 @@ export declare class SharePointCtxProvider {
24
24
  private httpContextProviderCollection;
25
25
  private omniaContext;
26
26
  private httpClient;
27
+ private interalAppContext;
27
28
  instance: InternalSharePointCtxProvider;
28
29
  constructor();
29
30
  private static loadingSPPageContextPromises;
30
31
  private _contextChangedPublishSubscriber;
31
32
  private _omniaContextChangedSubscriptionHandler;
33
+ private _appContextChangedSubscriptionHandler;
32
34
  private _currentAppId;
33
35
  private _loadContextPromise;
34
36
  onContextLoadedOrChanged(): IMessageBusTopicSubscription<SharePointPageContext>;
35
- getSharePointPageContext: () => Promise<SharePointPageContext>;
37
+ getSharePointPageContext: (spUrl: string) => Promise<SharePointPageContext>;
36
38
  dispose(): void;
37
39
  }
38
40
  export {};
@@ -43,3 +43,7 @@ export interface SPSiteCollectionAdminInfo {
43
43
  timezoneId?: number;
44
44
  siteCollectionAdmins?: string[];
45
45
  }
46
+ export interface EnsureSPSiteSelectedPermissionResult {
47
+ success: boolean;
48
+ message?: string;
49
+ }
@@ -1,5 +1,5 @@
1
1
  import { HttpStatusCode } from "../../models";
2
- import { M365GroupNamingPolicyValidationRequest, M365GroupNamingPolicyValidationResult, SharePointPageContext, SiteAliasValidationRequest, SiteAliasValidationResult } from "../models";
2
+ import { M365GroupNamingPolicyValidationRequest, M365GroupNamingPolicyValidationResult, EnsureSPSiteSelectedPermissionResult, SharePointPageContext, SiteAliasValidationRequest, SiteAliasValidationResult } from "../models";
3
3
  export declare class SiteService {
4
4
  private omniaContext;
5
5
  private httpClient;
@@ -8,4 +8,5 @@ export declare class SiteService {
8
8
  checkSiteCollectionStatus: (siteUrl: string) => Promise<HttpStatusCode>;
9
9
  validateSiteAlias: (request: SiteAliasValidationRequest) => Promise<SiteAliasValidationResult>;
10
10
  validateM365GroupNamingPolicy: (request: M365GroupNamingPolicyValidationRequest) => Promise<M365GroupNamingPolicyValidationResult>;
11
+ ensureSiteSelectedPermission: (spUrl: string) => Promise<EnsureSPSiteSelectedPermissionResult>;
11
12
  }
@@ -535,8 +535,8 @@ declare const _default: {
535
535
  };
536
536
  }>;
537
537
  };
538
- maxWidth?: string;
539
538
  disabled?: boolean;
539
+ maxWidth?: string;
540
540
  "v-model"?: FlatTreeViewTerm;
541
541
  "onUpdate:modelValue"?: (value: FlatTreeViewTerm) => any;
542
542
  modelValue?: FlatTreeViewTerm;
@@ -195,9 +195,9 @@ declare const _default: {
195
195
  };
196
196
  }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
197
197
  propsDefinition: Omit<Readonly<{} & {
198
+ disabled?: boolean;
198
199
  label?: string;
199
200
  "full-width"?: boolean;
200
- disabled?: boolean;
201
201
  lcid?: number;
202
202
  "v-model"?: TargetingFilterProperty;
203
203
  "onUpdate:modelValue"?: (value: TargetingFilterProperty) => any;
@@ -385,9 +385,9 @@ export declare const TermNode: {
385
385
  };
386
386
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
387
387
  propsDefinition: Omit<Readonly<{} & {
388
+ disabled?: boolean;
388
389
  label?: string;
389
390
  expanded?: boolean;
390
- disabled?: boolean;
391
391
  tabindex?: number;
392
392
  selected?: boolean;
393
393
  allowCreateNewTerm?: boolean;
@@ -534,10 +534,11 @@ declare const _default: {
534
534
  "update:modelValue": (value: Array<GuidValue>) => true;
535
535
  }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
536
536
  propsDefinition: Omit<Readonly<{} & {
537
+ disabled?: boolean;
538
+ description?: string;
537
539
  label?: string;
538
540
  dark?: boolean;
539
541
  filled?: boolean;
540
- disabled?: boolean;
541
542
  required?: boolean;
542
543
  startWithIds?: GuidValue[];
543
544
  termSetId?: GuidValue;
@@ -545,7 +546,6 @@ declare const _default: {
545
546
  lcid?: number;
546
547
  onTermsSelected?: (termIds: Array<GuidValue>) => void;
547
548
  filterOptions?: (term: Term) => FilterOption;
548
- description?: string;
549
549
  promotedTagOptions?: PromotedTagOptions;
550
550
  ariaInvalid?: boolean;
551
551
  hideDetails?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-sp",
3
3
  "license": "MIT",
4
- "version": "8.0.124-dev",
4
+ "version": "8.0.127-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.124-dev",
23
- "@omnia/fx-sp-models": "8.0.124-dev"
22
+ "@omnia/fx": "8.0.127-dev",
23
+ "@omnia/fx-sp-models": "8.0.127-dev"
24
24
  },
25
25
  "typings": "./index.d.ts",
26
26
  "bugs": {