@finos/legend-query-builder 4.14.14 → 4.14.16

Sign up to get free protection for your applications and to get access to all the features.
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-query-builder v4.14.14
1
+ /** @license @finos/legend-query-builder v4.14.16
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.14.14",
3
+ "version": "4.14.16",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -18,7 +18,7 @@ import { type LightQuery, QuerySearchSpecification, type QueryInfo, type BasicGr
18
18
  import { ActionState, type GeneratorFn } from '@finos/legend-shared';
19
19
  import type { QueryBuilderState } from './QueryBuilderState.js';
20
20
  import type { LoadQueryFilterOption } from './QueryBuilder_LegendApplicationPlugin_Extension.js';
21
- export declare const QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT = 20;
21
+ export declare const QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT = 50;
22
22
  export declare class QueryLoaderState {
23
23
  readonly applicationStore: GenericLegendApplicationStore;
24
24
  readonly graphManagerState: BasicGraphManagerState;
@@ -1 +1 @@
1
- {"version":3,"file":"QueryLoaderState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryLoaderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,6BAA6B,EACnC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,KAAK,UAAU,EACf,wBAAwB,EACxB,KAAK,SAAS,EACd,KAAK,sBAAsB,EAG5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,WAAW,EACX,KAAK,WAAW,EAIjB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EACV,qBAAq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ActionState, assertErrorThrown, guaranteeNonNullable, LogEvent, } from '@finos/legend-shared';
19
19
  import { makeObservable, observable, action, flow } from 'mobx';
20
- export const QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT = 20;
20
+ export const QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT = 50;
21
21
  export class QueryLoaderState {
22
22
  applicationStore;
23
23
  graphManagerState;
@@ -132,10 +132,8 @@ export class QueryLoaderState {
132
132
  this.showingDefaultQueries = false;
133
133
  this.searchQueriesState.inProgress();
134
134
  try {
135
- let searchSpecification = new QuerySearchSpecification();
136
- searchSpecification.searchTerm = searchText;
135
+ let searchSpecification = QuerySearchSpecification.createDefault(searchText);
137
136
  searchSpecification.limit = QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT + 1;
138
- searchSpecification.exactMatchName = true;
139
137
  searchSpecification.showCurrentUserQueriesOnly =
140
138
  this.showCurrentUserQueriesOnly;
141
139
  if (this.queryBuilderState) {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryLoaderState.js","sourceRoot":"","sources":["../../src/stores/QueryLoaderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,8CAA8C,GAE/C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,wBAAwB,EAIxB,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,WAAW,EAEX,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,GACT,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAOhE,MAAM,CAAC,MAAM,mCAAmC,GAAG,EAAE,CAAC;AAEtD,MAAM,OAAO,gBAAgB;IAClB,gBAAgB,CAAgC;IAChD,iBAAiB,CAAyB;IAE1C,kBAAkB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAC1C,gBAAgB,GAAG,WAAW,CAAC,MAAM,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AAO,CAClB,CAAW,CAAC;YACf,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;SAC/B;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YAC7D,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;SAC/B;IACH,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.14.14",
3
+ "version": "4.14.16",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,13 +42,13 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "15.0.71",
46
- "@finos/legend-art": "7.1.23",
47
- "@finos/legend-graph": "31.9.1",
48
- "@finos/legend-lego": "1.2.14",
49
- "@finos/legend-server-depot": "6.0.36",
50
- "@finos/legend-shared": "10.0.32",
51
- "@finos/legend-storage": "3.0.82",
45
+ "@finos/legend-application": "15.0.72",
46
+ "@finos/legend-art": "7.1.24",
47
+ "@finos/legend-graph": "31.9.3",
48
+ "@finos/legend-lego": "1.2.16",
49
+ "@finos/legend-server-depot": "6.0.37",
50
+ "@finos/legend-shared": "10.0.33",
51
+ "@finos/legend-storage": "3.0.83",
52
52
  "@testing-library/react": "14.0.0",
53
53
  "@types/react": "18.2.31",
54
54
  "@types/react-dom": "18.2.14",
@@ -40,7 +40,7 @@ import type {
40
40
  QueryBuilder_LegendApplicationPlugin_Extension,
41
41
  } from './QueryBuilder_LegendApplicationPlugin_Extension.js';
42
42
 
43
- export const QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT = 20;
43
+ export const QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT = 50;
44
44
 
45
45
  export class QueryLoaderState {
46
46
  readonly applicationStore: GenericLegendApplicationStore;
@@ -212,10 +212,9 @@ export class QueryLoaderState {
212
212
  this.showingDefaultQueries = false;
213
213
  this.searchQueriesState.inProgress();
214
214
  try {
215
- let searchSpecification = new QuerySearchSpecification();
216
- searchSpecification.searchTerm = searchText;
215
+ let searchSpecification =
216
+ QuerySearchSpecification.createDefault(searchText);
217
217
  searchSpecification.limit = QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT + 1;
218
- searchSpecification.exactMatchName = true;
219
218
  searchSpecification.showCurrentUserQueriesOnly =
220
219
  this.showCurrentUserQueriesOnly;
221
220
  if (this.queryBuilderState) {