@omnia/fx-models 7.8.50-preview → 7.8.51-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.
@@ -16,7 +16,6 @@ export declare const FilterEngineStyles: {
16
16
  avatarOptionStyle: types.NestedCSSProperties;
17
17
  searchBoxDefaultStyle: types.NestedCSSProperties;
18
18
  searchValueBoxDefaultStyle: types.NestedCSSProperties;
19
- searchTextColor: types.NestedCSSProperties;
20
19
  treeNodeText: (isSelected: boolean) => types.NestedCSSProperties;
21
20
  treeNodeResultCount: (theme: ITheming, isSelected: boolean) => types.NestedCSSProperties;
22
21
  dialogContent: (theming: ITheming) => types.NestedCSSProperties;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "7.8.50-preview",
4
+ "version": "7.8.51-preview",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -11,7 +11,7 @@ class SharePointTermSetPropertyValue extends PropertyValue_1.PropertyValue {
11
11
  this.termIds = termIds;
12
12
  }
13
13
  containValue(other) {
14
- if (this?.termIds?.length == 0)
14
+ if (this?.termIds?.length == 0 && other?.termIds?.length == 0)
15
15
  return true;
16
16
  if (other?.termIds?.length > 0) {
17
17
  return this.termIds.filter(termId => other.termIds.findIndex(id => termId.toString() == id.toString()) > -1).length == this.termIds.length;
@@ -0,0 +1,5 @@
1
+ import { PropertyIndexedType } from "@omnia/fx-models";
2
+ export interface SemanticSearchQueryableProperty {
3
+ internalName: string;
4
+ indexedType?: PropertyIndexedType;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1,3 @@
1
1
  export * from "./SemanticSearchRequest";
2
2
  export * from "./SemanticSearchResponse";
3
+ export * from "./SemanticSearchQueryableProperty";
@@ -3,3 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./SemanticSearchRequest"), exports);
5
5
  tslib_1.__exportStar(require("./SemanticSearchResponse"), exports);
6
+ tslib_1.__exportStar(require("./SemanticSearchQueryableProperty"), exports);