@omnia/fx-sp 7.11.0-preview.x → 7.11.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/LICENSE.txt ADDED
@@ -0,0 +1,14 @@
1
+ Omnia License
2
+ Copyright (c) 2026 Omnia Digital Workplace AB
3
+ All rights reserved.
4
+
5
+ Permission is hereby granted to any person or entity that has a valid license for the Omnia product (the "Licensee") to use this
6
+ software and associated documentation files (the "Software") solely in connection with a licensed Omnia installation.
7
+
8
+ The Software may not be modified, merged, adapted, copied (except for backup purposes), redistributed, sublicensed, sold, or
9
+ otherwise made available to any third party. The Software may not be used independently of a properly licensed Omnia product.
10
+
11
+ The above copyright notice and this permission notice shall be included in all copies of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, EXCEPT AS EXPRESSLY STATED IN A SEPARATE COMMERCIAL AGREEMENT, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
14
+ IN NO EVENT SHALL OMNIA DIGITAL WORKPLACE AB BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -7,6 +7,7 @@ import { SharePointEnvironmentContext, SharePointPageContext } from "../models";
7
7
  */
8
8
  export declare class SharePointContext {
9
9
  private sharePointCtxProvider;
10
+ constructor(newInstance?: boolean);
10
11
  /**
11
12
  * SharePoint page context
12
13
  */
@@ -30,7 +30,7 @@ export declare class SharePointCtxProvider {
30
30
  private static loadingSPPageContextPromises;
31
31
  private _contextChangedPublishSubscriber;
32
32
  private _omniaContextChangedSubscriptionHandler;
33
- private _appContextChangedSubscriptionHandler;
33
+ private _appContextChangedRemovalHandler;
34
34
  private _currentAppId;
35
35
  private _loadContextPromise;
36
36
  onContextLoadedOrChanged(): IMessageBusTopicSubscription<SharePointPageContext>;
@@ -30,6 +30,7 @@ export interface SharePointEnvironmentContext {
30
30
  authorityUrl?: string;
31
31
  adminUrl?: string;
32
32
  mySiteUrl?: string;
33
+ defaultSPUrl?: string;
33
34
  }
34
35
  export interface SharePointListContext {
35
36
  id: number;
@@ -2,4 +2,5 @@ export declare class SharepointMediaService {
2
2
  private graphClient;
3
3
  constructor();
4
4
  getSharepointVideoEmbeddingUrl: (driveId: string, driveItemId: string) => Promise<string>;
5
+ getDriveItemId: (driveId: string, itemId: string) => Promise<string>;
5
6
  }
@@ -40,7 +40,7 @@ export declare class TermStore extends Store {
40
40
  getChildrenTerms: (termSetId: GuidValue, termId?: GuidValue, lcid?: number) => Term[];
41
41
  getDisplayTermByLanguage: (lcid: number, termSetId: GuidValue, termId: GuidValue) => string;
42
42
  getTermDisplayTitle: (term: Term, languageName: string, lcid?: number) => string;
43
- getTermGroupsWithTermSets: (lcid?: number) => TermGroupWithTermSets<TermSetDefinition>[];
43
+ getTermGroupsWithTermSets: (lcid?: number, hideOpenTermSet?: boolean) => TermGroupWithTermSets<TermSetDefinition>[];
44
44
  getDisplayLCID: () => number;
45
45
  getDisplayLanguageName: () => string;
46
46
  };
@@ -1,5 +1,6 @@
1
1
  import { EnterprisePropertySettingsProps } from "../../../../../ux";
2
2
  export interface ITaxonomyFieldSettings extends EnterprisePropertySettingsProps {
3
+ hideOpenTermSet?: boolean;
3
4
  }
4
5
  declare global {
5
6
  namespace VueTsxSupport.JSX {
@@ -14,6 +14,7 @@ export declare class TaxonomyFieldSettings extends Vue implements IWebComponentI
14
14
  dark?: boolean;
15
15
  styles?: typeof TaxonomyFieldSettingsStyles;
16
16
  useValidator?: IValidator;
17
+ hideOpenTermSet: boolean;
17
18
  loc: EnterprisePropertiesSettingsTaxonomyLocalization.locInterface;
18
19
  private omniaTheming;
19
20
  termStore: TermStore;
@@ -77,6 +77,7 @@ export declare class TermPicker extends VueComponentBase implements IWebComponen
77
77
  removeTermbyDeleteKey(): void;
78
78
  onSelectedTermResolved(terms: Array<Term>): void;
79
79
  onOpenSearchForm(): void;
80
+ getTransformedAncestorElement(element: HTMLElement | null): HTMLElement | null;
80
81
  getPositionMenuTermPicker(alreadyOpen: boolean): void;
81
82
  getPositionMenuTermPickerAfterRender(): void;
82
83
  onOpenTreePicker(e: any, focusIcon?: boolean): void;
@@ -8,6 +8,7 @@ export interface ITermSetPickerProperties {
8
8
  scrollableMaxHeight?: number;
9
9
  /**Vuetify Text field fill mode*/
10
10
  filled?: boolean;
11
+ hideOpenTermSet?: boolean;
11
12
  }
12
13
  export interface ITermSetPicker extends ITermSetPickerProperties {
13
14
  termSetId: GuidValue;
@@ -19,6 +19,7 @@ export declare class TermSetPicker extends Vue implements IWebComponentInstance,
19
19
  scrollableMaxHeight: number;
20
20
  filled: boolean;
21
21
  onChanged: (termSetId: GuidValue) => void;
22
+ hideOpenTermSet: boolean;
22
23
  styles: {
23
24
  title?: any;
24
25
  content?: any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-sp",
3
- "license": "MIT",
4
- "version": "7.11.0-preview.x",
3
+ "license": "SEE LICENSE IN LICENSE.txt",
4
+ "version": "7.11.1",
5
5
  "description": "Provide Omnia Fx Sharepoint Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,12 +19,12 @@
19
19
  ],
20
20
  "author": "Omnia Digital Workplace AB",
21
21
  "dependencies": {
22
- "@omnia/fx": "7.11.0-preview.x",
23
- "@omnia/fx-sp-models": "7.11.0-preview.x"
22
+ "@omnia/fx": "7.11.1",
23
+ "@omnia/fx-sp-models": "7.11.1"
24
24
  },
25
25
  "typings": "./index.d.ts",
26
26
  "bugs": {
27
27
  "url": "https://github.com/omniaintranet/OmniaFx/issues"
28
28
  },
29
29
  "homepage": "https://github.com/omniaintranet/OmniaFx#readme"
30
- }
30
+ }