@omnia/workplace 7.6.74-preview → 7.6.85-preview

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.
@@ -25,6 +25,7 @@ export declare module FormsLocalization {
25
25
  Title: string;
26
26
  CurrentApp: string;
27
27
  CurrentBusinessProfile: string;
28
+ Deleted: string;
28
29
  };
29
30
  ScopeType: {
30
31
  Title: string;
@@ -364,6 +364,8 @@ export declare class WebComponentManifests {
364
364
  static get CreateAppDialog(): Guid;
365
365
  static get CreateFormDialog(): Guid;
366
366
  static get FormBuilderDialogContent(): Guid;
367
+ static get FormTemplateSettings(): Guid;
368
+ static get FormPropertySettings(): Guid;
367
369
  static get TeamNewsListView(): Guid;
368
370
  static get TeamNewsListViewSettings(): Guid;
369
371
  static get TeamNewsGroupView(): Guid;
@@ -373,6 +373,8 @@ class WebComponentManifests {
373
373
  static get CreateAppDialog() { return new fx_models_1.Guid("fc16945f-04e0-4309-9823-17c5d6963af5"); }
374
374
  static get CreateFormDialog() { return new fx_models_1.Guid("c6864508-934e-4133-84f9-1bc724aacee6"); }
375
375
  static get FormBuilderDialogContent() { return new fx_models_1.Guid("f2b57ef9-83b4-4dd7-9834-c262a86840e1"); }
376
+ static get FormTemplateSettings() { return new fx_models_1.Guid("a9d1ebc5-bf13-4174-9533-853bdaf155a2"); }
377
+ static get FormPropertySettings() { return new fx_models_1.Guid("882cfbdd-e6bf-4e8c-a5a0-d2438e7b7508"); }
376
378
  static get TeamNewsListView() { return new fx_models_1.Guid("a6d1503c-445e-44b1-9f54-d124c14df29b"); }
377
379
  static get TeamNewsListViewSettings() { return new fx_models_1.Guid("d7231aab-9393-4a6d-8aff-4b4d5a5498c4"); }
378
380
  static get TeamNewsGroupView() { return new fx_models_1.Guid("7841542b-fb29-4ac2-9676-52a83a6167b9"); }
@@ -18,6 +18,11 @@ export interface AnalyticsScopeInfo {
18
18
  numSlotsUsed: number;
19
19
  numSlotsLeft: number;
20
20
  }
21
+ export interface AnalyticsColumn {
22
+ id: string;
23
+ name: string;
24
+ documentation: string;
25
+ }
21
26
  export declare enum AnalyticsDimensionScopes {
22
27
  visit = 0,
23
28
  action = 1
@@ -36,10 +36,10 @@ export declare class MediaPickerStorageProviderWorkplaceTutorialContext extends
36
36
  }
37
37
  export declare class MediaPickerStorageProviderWorkplaceFormContext extends MediaPickerProviderStorageWorkplaceContext {
38
38
  readonly storageProviderContextId: GuidValue;
39
- readonly profileId: GuidValue;
40
- readonly appInstanceId: GuidValue;
39
+ readonly profileId?: GuidValue;
40
+ readonly appInstanceId?: GuidValue;
41
41
  readonly formId?: number;
42
- constructor(profileId: GuidValue, appInstanceId: GuidValue, formId?: number);
42
+ constructor(profileId?: GuidValue, appInstanceId?: GuidValue, formId?: number);
43
43
  }
44
44
  export declare class MediaPickerStorageProviderWorkplacePromotedSearchResultContext extends MediaPickerProviderStorageWorkplaceContext {
45
45
  readonly storageProviderContextId: GuidValue;
@@ -57,8 +57,10 @@ class MediaPickerStorageProviderWorkplaceFormContext extends MediaPickerProvider
57
57
  constructor(profileId, appInstanceId, formId) {
58
58
  super();
59
59
  this.storageProviderContextId = new fx_models_1.Guid("9e075b81-cb49-4d9a-ad9b-85edb83f4d4d");
60
- this.profileId = profileId;
61
- this.appInstanceId = appInstanceId;
60
+ if (profileId)
61
+ this.profileId = profileId;
62
+ if (appInstanceId)
63
+ this.appInstanceId = appInstanceId;
62
64
  if (formId)
63
65
  this.formId = formId;
64
66
  }
@@ -17,6 +17,11 @@ export interface SignOffRequestTemplate extends ISignOffRequestTemplateUpdatable
17
17
  modifiedBy?: Identity;
18
18
  modifiedAt?: Date;
19
19
  }
20
+ export interface SignOffRequestTemplatesInUseQueryOptions {
21
+ templateIds: Array<GuidValue>;
22
+ typeId: GuidValue;
23
+ includeInTypes?: boolean;
24
+ }
20
25
  export interface ISignOffRequestTemplateDataSettings {
21
26
  allowEdit: boolean;
22
27
  }
@@ -1,5 +1,5 @@
1
1
  import { GuidValue, Identity } from "@omnia/fx/models";
2
- import { AnalyticsDimensionMapping, AnalyticsDimensionScopes, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, AnalyticsToken, WidgetCategoryInfo, MatomoSite } from "../models/analytics";
2
+ import { AnalyticsDimensionMapping, AnalyticsDimensionScopes, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, AnalyticsToken, WidgetCategoryInfo, MatomoSite, AnalyticsColumn } from "../models/analytics";
3
3
  export declare class AnalyticsStoreService {
4
4
  private httpClient;
5
5
  constructor();
@@ -8,6 +8,7 @@ export declare class AnalyticsStoreService {
8
8
  getDimensions: (businessProfileId?: GuidValue) => Promise<AnalyticsDimensions>;
9
9
  getScopesInfo: (businessProfileId?: GuidValue) => Promise<AnalyticsScopeInfo[]>;
10
10
  getWidgetInformation: () => Promise<WidgetCategoryInfo[]>;
11
+ getAnalyticColumns: (idSite: number) => Promise<AnalyticsColumn[]>;
11
12
  addDimension: (name: string, scope: AnalyticsDimensionScopes) => Promise<number>;
12
13
  enableAnalytics: () => Promise<boolean>;
13
14
  disableAnalytics: () => Promise<boolean>;
@@ -1,7 +1,7 @@
1
1
  import { Store } from "@omnia/fx/stores";
2
2
  import { OmniaContext } from "@omnia/fx";
3
3
  import { GuidValue } from "@omnia/fx-models";
4
- import { AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, MatomoSite } from "../models/analytics";
4
+ import { AnalyticsColumn, AnalyticsDimensions, AnalyticsScopeInfo, AnalyticsSettings, MatomoSite } from "../models/analytics";
5
5
  import { AnalyticsStoreService } from "../services/AnalyticsStoreService";
6
6
  import { WidgetCategoryInfo } from "../models";
7
7
  export declare class AnalyticsStore extends Store {
@@ -23,6 +23,8 @@ export declare class AnalyticsStore extends Store {
23
23
  private analyticsUrl;
24
24
  private ensuredLoadSitesWithAtLeastViewAccessPromise;
25
25
  private sitesWithAtLeastViewAccess;
26
+ private analyticsColumns;
27
+ private ensuredLoadAnalyticColumns;
26
28
  private isInstalled;
27
29
  onActivated(): void;
28
30
  onDisposing(): void;
@@ -38,6 +40,7 @@ export declare class AnalyticsStore extends Store {
38
40
  analyticsUrl: () => string;
39
41
  sitesWithAtLeastViewAccess: () => MatomoSite[];
40
42
  isInstalled: () => boolean;
43
+ analyticsColumns: () => AnalyticsColumn[];
41
44
  };
42
45
  actions: any;
43
46
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/workplace",
3
3
  "license": "MIT",
4
- "version": "7.6.74-preview",
4
+ "version": "7.6.85-preview",
5
5
  "description": "Omnia Workplace.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"