@talxis/base-controls 1.2408.10 → 1.2408.11

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.
@@ -14,9 +14,9 @@ export interface ILookup extends IControl<ILookupParameters, ILookupOutputs, Par
14
14
  onSearch?: (entityNames: string[], query: string) => Promise<ComponentFramework.LookupValue[]>;
15
15
  }
16
16
  export interface ILookupParameters extends IBaseParameters {
17
- IsInlineNewEnabled?: ITwoOptionsProperty;
18
- MultipleEnabled?: ITwoOptionsProperty;
19
- EnableNavigation?: ITwoOptionsProperty;
17
+ IsInlineNewEnabled?: Omit<ITwoOptionsProperty, 'attributes'>;
18
+ MultipleEnabled?: Omit<ITwoOptionsProperty, 'attributes'>;
19
+ EnableNavigation?: Omit<ITwoOptionsProperty, 'attributes'>;
20
20
  value: ILookupProperty;
21
21
  }
22
22
  export interface ILookupOutputs extends IOutputs {
package/dist/index.d.ts CHANGED
@@ -411,21 +411,12 @@ interface ILookupProperty extends IProperty, Omit<Partial<ComponentFramework.Pro
411
411
  attributes: Partial<ComponentFramework.PropertyHelper.FieldPropertyMetadata.LookupMetadata> & {
412
412
  Targets: string[];
413
413
  };
414
- /**
415
- * Returns the default lookup viewId. Works only for Microsoft PCF's
416
- */
417
- getDefaultViewId: (entityName: string) => string;
418
414
  /**
419
415
  * Gets all views for entity (including non-lookup ones).
420
416
  */
421
417
  getAllViews: (entityName: string) => Promise<{
422
- isAvailableInOffline: boolean;
423
418
  isDefault: boolean;
424
- isPinned: boolean;
425
- isUserView: boolean;
426
- relatedEntityName: string;
427
419
  viewId: string;
428
- viewName: string;
429
420
  fetchXml?: string;
430
421
  }[]>;
431
422
  }
@@ -724,9 +715,9 @@ interface ILookup extends IControl<ILookupParameters, ILookupOutputs, Partial<IT
724
715
  onSearch?: (entityNames: string[], query: string) => Promise<ComponentFramework.LookupValue[]>;
725
716
  }
726
717
  interface ILookupParameters extends IBaseParameters {
727
- IsInlineNewEnabled?: ITwoOptionsProperty;
728
- MultipleEnabled?: ITwoOptionsProperty;
729
- EnableNavigation?: ITwoOptionsProperty;
718
+ IsInlineNewEnabled?: Omit<ITwoOptionsProperty, 'attributes'>;
719
+ MultipleEnabled?: Omit<ITwoOptionsProperty, 'attributes'>;
720
+ EnableNavigation?: Omit<ITwoOptionsProperty, 'attributes'>;
730
721
  value: ILookupProperty;
731
722
  }
732
723
  interface ILookupOutputs extends IOutputs$1 {
@@ -51,21 +51,12 @@ export interface ILookupProperty extends IProperty, Omit<Partial<ComponentFramew
51
51
  attributes: Partial<ComponentFramework.PropertyHelper.FieldPropertyMetadata.LookupMetadata> & {
52
52
  Targets: string[];
53
53
  };
54
- /**
55
- * Returns the default lookup viewId. Works only for Microsoft PCF's
56
- */
57
- getDefaultViewId: (entityName: string) => string;
58
54
  /**
59
55
  * Gets all views for entity (including non-lookup ones).
60
56
  */
61
57
  getAllViews: (entityName: string) => Promise<{
62
- isAvailableInOffline: boolean;
63
58
  isDefault: boolean;
64
- isPinned: boolean;
65
- isUserView: boolean;
66
- relatedEntityName: string;
67
59
  viewId: string;
68
- viewName: string;
69
60
  fetchXml?: string;
70
61
  }[]>;
71
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talxis/base-controls",
3
- "version": "1.2408.10",
3
+ "version": "1.2408.11",
4
4
  "description": "Set of React components that natively work with Power Apps Component Framework API's",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",