@omnia/fx 7.10.0-preview.14 → 7.10.0-preview.16

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.
@@ -7,5 +7,6 @@ export declare class QueryablePropertiesService {
7
7
  getQueryableProperties: (tableName?: string, serviceId?: GuidValue) => Promise<EnterprisePropertyColumnMapping[]>;
8
8
  removeQueryableProperties: (property: EnterprisePropertyColumnMapping, serviceId?: GuidValue) => Promise<EnterprisePropertyColumnMapping>;
9
9
  addQueryableProperties: (properties: EnterprisePropertyColumnMapping[], serviceId?: GuidValue) => Promise<EnterprisePropertyColumnMapping[]>;
10
+ updateQueryableProperties: (properties: EnterprisePropertyColumnMapping[], serviceId?: GuidValue) => Promise<EnterprisePropertyColumnMapping[]>;
10
11
  private createHttpClientFromServiceId;
11
12
  }
@@ -56,6 +56,7 @@ export declare class EnterprisePropertyStore extends Store {
56
56
  ensureLoadQueryableProperties: import("./Store").StoreAction<unknown, (serviceId: GuidValue, tableName?: string, forceReload?: boolean) => void, (result: void, serviceId: GuidValue, tableName?: string, forceReload?: boolean) => void, (failureReason: any, serviceId: GuidValue, tableName?: string, forceReload?: boolean) => void, (serviceId: GuidValue, tableName?: string, forceReload?: boolean) => Promise<void>>;
57
57
  removeQueryableProperties: import("./Store").StoreAction<unknown, (serviceId: GuidValue, property: EnterprisePropertyColumnMapping) => void, (result: EnterprisePropertyColumnMapping, serviceId: GuidValue, property: EnterprisePropertyColumnMapping) => void, (failureReason: any, serviceId: GuidValue, property: EnterprisePropertyColumnMapping) => void, (serviceId: GuidValue, property: EnterprisePropertyColumnMapping) => Promise<EnterprisePropertyColumnMapping>>;
58
58
  addQueryableProperties: import("./Store").StoreAction<unknown, (serviceId: GuidValue, properties: EnterprisePropertyColumnMapping[]) => void, (result: void, serviceId: GuidValue, properties: EnterprisePropertyColumnMapping[]) => void, (failureReason: any, serviceId: GuidValue, properties: EnterprisePropertyColumnMapping[]) => void, (serviceId: GuidValue, properties: EnterprisePropertyColumnMapping[]) => Promise<void>>;
59
+ updateQueryableProperties: import("./Store").StoreAction<unknown, (serviceId: GuidValue, properties: EnterprisePropertyColumnMapping[]) => void, (result: void, serviceId: GuidValue, properties: EnterprisePropertyColumnMapping[]) => void, (failureReason: any, serviceId: GuidValue, properties: EnterprisePropertyColumnMapping[]) => void, (serviceId: GuidValue, properties: EnterprisePropertyColumnMapping[]) => Promise<void>>;
59
60
  };
60
61
  private ensureUniqueMultilingualTitle;
61
62
  private getServiceIdWithTableKey;
@@ -1312,6 +1312,7 @@ export interface OmniaUxLocalization {
1312
1312
  Type: string;
1313
1313
  DeleteConfirmation: string;
1314
1314
  Property: string;
1315
+ AZFiltering: string;
1315
1316
  Messages: {
1316
1317
  HasError: string;
1317
1318
  };
@@ -1,17 +1,18 @@
1
1
  import { VueComponentBase, ConfirmDialogResponse } from "../..";
2
2
  import { JourneyInstance, GuidValue, EnterprisePropertyDefinition } from "../../../models";
3
3
  import { MultilingualStore } from "internal/fx/stores";
4
+ import { OptionQueryableProperties } from "./QueryablePropertiesHomeBlade";
4
5
  export interface AddProperiesBladeProps {
5
6
  serviceId: GuidValue;
6
7
  journeyInstance: JourneyInstance;
7
- saveProperties: (properties: EnterprisePropertyDefinition[]) => Promise<void>;
8
+ saveProperties: (properties: EnterprisePropertyDefinition[], options: OptionQueryableProperties[]) => Promise<void>;
8
9
  additionalBuiltInProperties?: Array<GuidValue>;
9
10
  tableName?: string;
10
11
  }
11
12
  export declare class AddBlade extends VueComponentBase<AddProperiesBladeProps> {
12
13
  serviceId: GuidValue;
13
14
  journeyInstance: JourneyInstance;
14
- saveProperties: (properties: EnterprisePropertyDefinition[]) => Promise<void>;
15
+ saveProperties: (properties: EnterprisePropertyDefinition[], options: OptionQueryableProperties[]) => Promise<void>;
15
16
  additionalBuiltInProperties?: Array<GuidValue>;
16
17
  tableName?: string;
17
18
  private omniaTheming;
@@ -23,6 +24,7 @@ export declare class AddBlade extends VueComponentBase<AddProperiesBladeProps> {
23
24
  selectingProperties: EnterprisePropertyDefinition[];
24
25
  selectProperty: EnterprisePropertyDefinition;
25
26
  isSaving: boolean;
27
+ optionsQueryableProperties: OptionQueryableProperties[];
26
28
  created(): void;
27
29
  onSave(): void;
28
30
  getAvailableProperties(): void;
@@ -30,5 +32,7 @@ export declare class AddBlade extends VueComponentBase<AddProperiesBladeProps> {
30
32
  onAddProperty(): void;
31
33
  onRemoveFromList(res: ConfirmDialogResponse, item: EnterprisePropertyDefinition): void;
32
34
  render(): VueTsxSupport.JSX.Element;
35
+ getAZFilteringValue(id: GuidValue): boolean;
36
+ onToggleAZFiltering(val: boolean, id: GuidValue): void;
33
37
  renderItems(): VueTsxSupport.JSX.Element;
34
38
  }
@@ -9,10 +9,15 @@ export interface EditProperiesBladeProps {
9
9
  additionalTitle?: string;
10
10
  tableName?: string;
11
11
  }
12
- interface EnterprisePropertyDefinitionViewModel extends EnterprisePropertyDefinition {
12
+ export interface OptionQueryableProperties {
13
+ enterprisePropertyId: GuidValue;
14
+ enableAZFiltering?: boolean;
15
+ }
16
+ export interface EnterprisePropertyDefinitionViewModel extends EnterprisePropertyDefinition {
13
17
  deleting?: boolean;
14
18
  status: EnterprisePropertyMappingStatus;
15
19
  log?: string;
20
+ enableAZFiltering?: boolean;
16
21
  }
17
22
  export declare class HomeBlade extends VueComponentBase<EditProperiesBladeProps> {
18
23
  serviceId: GuidValue;
@@ -34,13 +39,15 @@ export declare class HomeBlade extends VueComponentBase<EditProperiesBladeProps>
34
39
  beforeDestroy(): void;
35
40
  travelToAddBlade(): void;
36
41
  getAddBlade(): Blade;
42
+ travelToSettingBlade(): void;
43
+ getSettingBlade(): Blade;
37
44
  getProperties(): void;
38
45
  removeQueryableProperties(res: ConfirmDialogResponse, item: EnterprisePropertyDefinitionViewModel): void;
39
- addQueryableProperties(properties: EnterprisePropertyDefinition[]): Promise<void>;
46
+ addQueryableProperties(properties: EnterprisePropertyDefinition[], options: OptionQueryableProperties[]): Promise<void>;
47
+ updateQueryableProperties(properties: EnterprisePropertyDefinitionViewModel[]): Promise<void>;
40
48
  private pollingStatus;
41
49
  get hasPendingStatus(): boolean;
42
50
  render(): VueTsxSupport.JSX.Element;
43
51
  renderActionButon(item: EnterprisePropertyDefinitionViewModel): VueTsxSupport.JSX.Element | VueTsxSupport.JSX.Element[];
44
52
  renderInformation(item: EnterprisePropertyDefinitionViewModel): VueTsxSupport.JSX.Element[];
45
53
  }
46
- export {};
@@ -1,8 +1,10 @@
1
1
  export declare const QueryablePropertiesJourneyBladeIds: {
2
2
  home: string;
3
3
  add: string;
4
+ setting: string;
4
5
  };
5
6
  export declare const QueryablePropertiesJourneys: {
6
7
  home: string[];
7
8
  add: string[];
9
+ setting: string[];
8
10
  };
@@ -0,0 +1,22 @@
1
+ import { VueComponentBase } from "../..";
2
+ import { JourneyInstance } from "@omnia/fx-models";
3
+ import { EnterprisePropertyDefinitionViewModel } from "./QueryablePropertiesHomeBlade";
4
+ export interface SettingPropertyBladeProps {
5
+ properties: EnterprisePropertyDefinitionViewModel[];
6
+ journeyInstance: JourneyInstance;
7
+ saveProperties: (properties: EnterprisePropertyDefinitionViewModel[]) => Promise<void>;
8
+ }
9
+ export declare class SettingBlade extends VueComponentBase<SettingPropertyBladeProps> {
10
+ properties?: EnterprisePropertyDefinitionViewModel[];
11
+ journeyInstance: JourneyInstance;
12
+ saveProperties: (properties: EnterprisePropertyDefinitionViewModel[]) => Promise<void>;
13
+ private omniaTheming;
14
+ private localizationService;
15
+ private omniaUxLoc;
16
+ isSaving: boolean;
17
+ private queryablePropertiesClasses;
18
+ private headers;
19
+ onSave(): void;
20
+ onTravelBack(): void;
21
+ render(): VueTsxSupport.JSX.Element;
22
+ }
@@ -3,6 +3,7 @@ export declare const PersonFieldDisplayStyles: {
3
3
  wrapper?: types.NestedCSSProperties;
4
4
  userList?: types.NestedCSSProperties;
5
5
  user?: types.NestedCSSProperties;
6
+ userItem?: types.NestedCSSProperties;
6
7
  linkItem?: (textColor: string, fontSize?: string, disableHoverStyle?: boolean) => types.NestedCSSProperties;
7
8
  smallBadge?: types.NestedCSSProperties;
8
9
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "7.10.0-preview.14",
4
+ "version": "7.10.0-preview.16",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Omnia Digital Workplace AB",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "7.10.0-preview.14",
23
+ "@omnia/fx-models": "7.10.0-preview.16",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",