@omnia/workplace 7.8.107-preview → 7.9.0

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 (22) hide show
  1. package/README.md +2 -2
  2. package/internal-do-not-import-from-here/apis/CentralMediaLibraryProviderApi.d.ts +18 -0
  3. package/internal-do-not-import-from-here/apis/index.d.ts +1 -0
  4. package/internal-do-not-import-from-here/core/loc/localize.d.ts +3 -3
  5. package/internal-do-not-import-from-here/core/loc/powerappLocalize.d.ts +1 -1
  6. package/internal-do-not-import-from-here/models/CentralMediaLibraryProvider.d.ts +6 -0
  7. package/internal-do-not-import-from-here/models/CentralMediaLibraryProvider.js +2 -0
  8. package/internal-do-not-import-from-here/models/Search.d.ts +1 -0
  9. package/internal-do-not-import-from-here/models/SearchProvider.d.ts +1 -0
  10. package/internal-do-not-import-from-here/models/index.d.ts +1 -0
  11. package/internal-do-not-import-from-here/models/index.js +1 -0
  12. package/internal-do-not-import-from-here/models/mediapicker/ICentralMediaLibraryProviderSettings.d.ts +6 -0
  13. package/internal-do-not-import-from-here/models/mediapicker/ICentralMediaLibraryProviderSettings.js +2 -0
  14. package/internal-do-not-import-from-here/models/mediapicker/index.d.ts +1 -0
  15. package/internal-do-not-import-from-here/models/mediapicker/index.js +1 -0
  16. package/internal-do-not-import-from-here/models/signoffrequest/SignOffRequestRollupBlockSettings.d.ts +1 -0
  17. package/internal-do-not-import-from-here/services/AnalyticsService.d.ts +1 -1
  18. package/internal-do-not-import-from-here/services/AnalyticsStoreService.d.ts +1 -0
  19. package/internal-do-not-import-from-here/stores/AnalyticsStore.d.ts +3 -0
  20. package/internal-do-not-import-from-here/stores/SignOffRequestStore.d.ts +1 -1
  21. package/models/package.json +4 -4
  22. package/package.json +5 -5
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Omnia Workplace
2
2
 
3
- Omnia Workplace is a product from Precio Fishbone.
3
+ Omnia Workplace is a product from Omnia Digital Workplace AB.
4
4
 
5
5
  ### Documentation
6
- https://github.com/preciofishbone/Omnia-Foundation-Docs
6
+ https://github.com/omniaintranet/Omnia-Foundation-Docs
@@ -0,0 +1,18 @@
1
+ import { ApiPath } from "@omnia/fx/models";
2
+ import { CentralMediaLibraryProvider } from "../models";
3
+ export interface ICentralMediaLibraryProviderApi {
4
+ registerCentralMediaProvider: (providers: CentralMediaLibraryProvider | CentralMediaLibraryProvider[]) => void;
5
+ getAllCentralMediaProviders: () => CentralMediaLibraryProvider[];
6
+ }
7
+ declare module "../models/WorkplaceApi" {
8
+ interface IWorkplaceApi {
9
+ centralMediaLibraryProvider: {
10
+ registration: Promise<ICentralMediaLibraryProviderApi>;
11
+ };
12
+ }
13
+ interface IWorkplaceExtendApiManifest {
14
+ centralMediaLibraryProvider: {
15
+ registration: ApiPath;
16
+ };
17
+ }
18
+ }
@@ -8,3 +8,4 @@ import "./SearchProviderApi";
8
8
  import "./ScopedPermissionApi";
9
9
  import "./TranslatorProviderApi";
10
10
  import "./SearchResultSourceApi";
11
+ import "./CentralMediaLibraryProviderApi";
@@ -7,11 +7,11 @@ export declare module TeamCoreLocalization {
7
7
  Blocks: {
8
8
  TeamNewsRollup: {
9
9
  Title: string;
10
- Description: string;
10
+ Summary: string;
11
11
  };
12
12
  TeamCollaborationRollup: {
13
13
  Title: string;
14
- Description: string;
14
+ Summary: string;
15
15
  };
16
16
  CreateTeamwork: {
17
17
  Title: string;
@@ -19,7 +19,7 @@ export declare module TeamCoreLocalization {
19
19
  };
20
20
  CreateApp: {
21
21
  Title: string;
22
- Description: string;
22
+ Summary: string;
23
23
  };
24
24
  };
25
25
  Features: {
@@ -7,7 +7,7 @@ export declare module PowerAppLocalization {
7
7
  };
8
8
  PowerAppBlock: {
9
9
  BlockTitle: string;
10
- BlockDescription: string;
10
+ BlockSummary: string;
11
11
  Settings: {
12
12
  App: string;
13
13
  ThemeParameterKeys: string;
@@ -0,0 +1,6 @@
1
+ import { GuidValue } from "@omnia/fx/models";
2
+ export interface CentralMediaLibraryProvider {
3
+ title: string;
4
+ id: GuidValue;
5
+ settingsElement: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -16,6 +16,7 @@ export interface CategorySearchResult {
16
16
  }
17
17
  export interface SemanticSearchCategorySearchResult extends CategorySearchResult {
18
18
  semanticSearchResult: SemanticSearchResult;
19
+ error?: string;
19
20
  }
20
21
  export interface SemanticSearchResultItem extends SearchResultItem {
21
22
  reference: SemanticSearchReference;
@@ -7,4 +7,5 @@ export declare abstract class SearchProvider implements SearchProviderBase {
7
7
  abstract providerDisplayRenderManifestId: GuidValue;
8
8
  hideSearchTemplates?: boolean;
9
9
  getSearchCategoryResult: (searchRequest: SearchRequest) => Promise<CategorySearchResult[]>;
10
+ shouldHideSearchProvider?: () => Promise<boolean>;
10
11
  }
@@ -73,3 +73,4 @@ export * from "./analytics";
73
73
  export * from "./usermanagement";
74
74
  export * from "./SearchResultSource";
75
75
  export * from "./omniasearch";
76
+ export * from "./CentralMediaLibraryProvider";
@@ -77,3 +77,4 @@ tslib_1.__exportStar(require("./analytics"), exports);
77
77
  tslib_1.__exportStar(require("./usermanagement"), exports);
78
78
  tslib_1.__exportStar(require("./SearchResultSource"), exports);
79
79
  tslib_1.__exportStar(require("./omniasearch"), exports);
80
+ tslib_1.__exportStar(require("./CentralMediaLibraryProvider"), exports);
@@ -0,0 +1,6 @@
1
+ import { LibraryResolveResult } from "@omnia/fx-sp";
2
+ import { CentralImageLocation } from "@omnia/fx/models";
3
+ export interface ICentralMediaLibraryProviderSettings {
4
+ centralImageLocation: CentralImageLocation;
5
+ onResolve: (resolveResult: LibraryResolveResult) => {};
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
1
  export * from "./MediaPickerProviderContext";
2
+ export * from "./ICentralMediaLibraryProviderSettings";
@@ -2,3 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./MediaPickerProviderContext"), exports);
5
+ tslib_1.__exportStar(require("./ICentralMediaLibraryProviderSettings"), exports);
@@ -16,6 +16,7 @@ export interface SignOffRequestRollupBlockDisplaySettings {
16
16
  orderBy?: OrderBy;
17
17
  spacing?: SpacingSettings;
18
18
  noResultText?: MultilingualString;
19
+ openInNewTab?: boolean;
19
20
  }
20
21
  export interface SignOffRequestRollupBlockFilterSettings {
21
22
  filters?: Array<RollupFilter>;
@@ -12,7 +12,7 @@ export declare class AnalyticsService {
12
12
  analyticsStore: AnalyticsStore;
13
13
  readonly dsSourcesAllowed: string[];
14
14
  tracker: any;
15
- private currentIdSite;
15
+ private static currentIdSite;
16
16
  private activatedFeatureIds;
17
17
  settings: BusinessProfileAnalyticsSettings;
18
18
  connectedAnalyticsSettings: AnalyticsSettings;
@@ -4,6 +4,7 @@ export declare class AnalyticsStoreService {
4
4
  private httpClient;
5
5
  constructor();
6
6
  getSettings: (businessProfileId?: GuidValue) => Promise<AnalyticsSettings>;
7
+ getAdminSettings: (businessProfileId?: GuidValue) => Promise<AnalyticsSettings>;
7
8
  getToken: (businessProfileId?: GuidValue) => Promise<AnalyticsToken>;
8
9
  getDimensions: (businessProfileId?: GuidValue) => Promise<AnalyticsDimensions>;
9
10
  getScopesInfo: (businessProfileId?: GuidValue) => Promise<AnalyticsScopeInfo[]>;
@@ -14,6 +14,8 @@ export declare class AnalyticsStore extends Store {
14
14
  private ensuredLoadDimensionsPromise;
15
15
  private settings;
16
16
  private ensuredLoadSettingsPromise;
17
+ private adminSettings;
18
+ private ensuredLoadAdminSettingsPromise;
17
19
  private tokens;
18
20
  private ensuredLoadTokenPromise;
19
21
  private scopeInfos;
@@ -40,6 +42,7 @@ export declare class AnalyticsStore extends Store {
40
42
  getters: {
41
43
  dimensions: (businessProfileId?: GuidValue) => AnalyticsDimensions;
42
44
  settings: (businessProfileId?: GuidValue) => AnalyticsSettings;
45
+ adminSettings: (businessProfileId?: GuidValue) => AnalyticsSettings;
43
46
  scopeInfos: (businessProfileId?: GuidValue) => AnalyticsScopeInfo[];
44
47
  widgetCategoryInfo: (businessProfileId?: GuidValue) => WidgetCategoryInfo[];
45
48
  tokens: (businessProfileId?: GuidValue) => string;
@@ -54,7 +54,7 @@ export declare class SignOffRequestStore extends Store {
54
54
  ensureCurrentRequestToUsers: import("@omnia/fx/stores").StoreAction<unknown, (requestId: GuidValue) => void, (result: Identity[], requestId: GuidValue) => void, (failureReason: any, requestId: GuidValue) => void, (requestId: GuidValue) => Promise<Identity[]>>;
55
55
  sendReminderEmail: import("@omnia/fx/stores").StoreAction<unknown, (request: SignOffRequest, resourceDetails: SignOffRequestResourceDetail[]) => void, (result: void, request: SignOffRequest, resourceDetails: SignOffRequestResourceDetail[]) => void, (failureReason: any, request: SignOffRequest, resourceDetails: SignOffRequestResourceDetail[]) => void, (request: SignOffRequest, resourceDetails: Array<SignOffRequestResourceDetail>) => Promise<void>>;
56
56
  forceUpdateStatus: import("@omnia/fx/stores").StoreAction<unknown, () => void, (result: void) => void, (failureReason: any) => void, () => Promise<void>>;
57
- onOpenPersistentSignOffRequestDetailDialog: import("@omnia/fx/stores").StoreAction<unknown, (sidePanelContext: SidePanelContext, signOffRequestId: GuidValue, recipientId: Identity, dialogPosition: DialogPositions, scopedQueryType?: SignOffRequestScopedQueryTypes) => void, (result: void, sidePanelContext: SidePanelContext, signOffRequestId: GuidValue, recipientId: Identity, dialogPosition: DialogPositions, scopedQueryType?: SignOffRequestScopedQueryTypes) => void, (failureReason: any, sidePanelContext: SidePanelContext, signOffRequestId: GuidValue, recipientId: Identity, dialogPosition: DialogPositions, scopedQueryType?: SignOffRequestScopedQueryTypes) => void, (sidePanelContext: SidePanelContext, signOffRequestId: GuidValue, recipientId: Identity, dialogPosition: DialogPositions, scopedQueryType?: SignOffRequestScopedQueryTypes) => Promise<void>>;
57
+ onOpenPersistentSignOffRequestDetailDialog: import("@omnia/fx/stores").StoreAction<unknown, (sidePanelContext: SidePanelContext, signOffRequestId: GuidValue, recipientId: Identity, dialogPosition: DialogPositions, scopedQueryType?: SignOffRequestScopedQueryTypes, openInNewTab?: boolean) => void, (result: void, sidePanelContext: SidePanelContext, signOffRequestId: GuidValue, recipientId: Identity, dialogPosition: DialogPositions, scopedQueryType?: SignOffRequestScopedQueryTypes, openInNewTab?: boolean) => void, (failureReason: any, sidePanelContext: SidePanelContext, signOffRequestId: GuidValue, recipientId: Identity, dialogPosition: DialogPositions, scopedQueryType?: SignOffRequestScopedQueryTypes, openInNewTab?: boolean) => void, (sidePanelContext: SidePanelContext, signOffRequestId: GuidValue, recipientId: Identity, dialogPosition: DialogPositions, scopedQueryType?: SignOffRequestScopedQueryTypes, openInNewTab?: boolean) => Promise<void>>;
58
58
  onClosePersistentSignOffRequestDetailDialog: import("@omnia/fx/stores").StoreAction<unknown, (sidePanelContext: SidePanelContext) => void, (result: void, sidePanelContext: SidePanelContext) => void, (failureReason: any, sidePanelContext: SidePanelContext) => void, (sidePanelContext: SidePanelContext) => Promise<void>>;
59
59
  };
60
60
  /**
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/preciofishbone/OmniaWebContentManagement.git"
11
+ "url": "git+https://github.com/omniaintranet/OmniaWebContentManagement.git"
12
12
  },
13
13
  "keywords": [
14
14
  "omnia",
@@ -17,12 +17,12 @@
17
17
  "office365",
18
18
  "sharepoint"
19
19
  ],
20
- "author": "Precio Fishbone",
20
+ "author": "Omnia Digital Workplace AB",
21
21
  "dependencies": {
22
22
  },
23
23
  "typings": "./index.d.ts",
24
24
  "bugs": {
25
- "url": "https://github.com/preciofishbone/OmniaWebContentManagement/issues"
25
+ "url": "https://github.com/omniaintranet/OmniaWebContentManagement/issues"
26
26
  },
27
- "homepage": "https://github.com/preciofishbone/OmniaWebContentManagement#readme"
27
+ "homepage": "https://github.com/omniaintranet/OmniaWebContentManagement#readme"
28
28
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@omnia/workplace",
3
3
  "license": "MIT",
4
- "version": "7.8.107-preview",
4
+ "version": "7.9.0",
5
5
  "description": "Omnia Workplace.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/preciofishbone/OmniaWebContentManagement.git"
11
+ "url": "git+https://github.com/omniaintranet/OmniaWebContentManagement.git"
12
12
  },
13
13
  "keywords": [
14
14
  "omnia",
@@ -17,12 +17,12 @@
17
17
  "office365",
18
18
  "sharepoint"
19
19
  ],
20
- "author": "Precio Fishbone",
20
+ "author": "Omnia Digital Workplace AB",
21
21
  "dependencies": {
22
22
  },
23
23
  "typings": "./index.d.ts",
24
24
  "bugs": {
25
- "url": "https://github.com/preciofishbone/OmniaWebContentManagement/issues"
25
+ "url": "https://github.com/omniaintranet/OmniaWebContentManagement/issues"
26
26
  },
27
- "homepage": "https://github.com/preciofishbone/OmniaWebContentManagement#readme"
27
+ "homepage": "https://github.com/omniaintranet/OmniaWebContentManagement#readme"
28
28
  }