@finos/legend-query-builder 4.2.2 → 4.2.3

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.2.2
1
+ /** @license @finos/legend-query-builder v4.2.3
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.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderValueSpecificationHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,kBAAkB,EAIvB,2BAA2B,EAC3B,cAAc,EACd,kBAAkB,EAIlB,KAAK,IAAI,EAGT,wBAAwB,EAIxB,0BAA0B,EAO1B,uBAAuB,EAKvB,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAiB7B,eAAO,MAAM,sCAAsC,uBAC7B,kBAAkB,KACrC,IAAI,GAAG,SAWT,CAAC;AAEF,eAAO,MAAM,mCAAmC,UACvC,SAAS,UACR,kBAAkB,EAAE,KAC3B,IAAI,GAAG,SAsCT,CAAC;AAEF,eAAO,MAAM,mBAAmB,eAClB,wBAAwB,KACnC,wBAAwB,GAAG,SAa7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,eACjB,kBAAkB,KAC7B,kBAMF,CAAC;AAEF,eAAO,MAAM,iCAAiC,eAChC,kBAAkB,GAAG,SAAS,KACzC,OAiBF,CAAC;AAEF,eAAO,MAAM,6BAA6B,SAClC,IAAI,GAAG,SAAS,kBACN,IAAI,KACnB,OA6BF,CAAC;AAEF,eAAO,MAAM,oCAAoC,SACzC,cAAc,KACnB,OAuBF,CAAC;AAEF,eAAO,MAAM,uCAAuC,wBAC7B,MAAM,yBACJ,kBAAkB,EAAE,SACpC,SAAS,KACf,2BAeF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,+BAA+B,uBACtB,0BAA0B,SACvC,SAAS,KACf,IA8BF,CAAC;AAEF,eAAO,MAAM,sCAAsC,UAC1C,kBAAkB,KACxB,MAAM,GAAG,SAKX,CAAC;AAEF,eAAO,MAAM,sCAAsC,UAC1C,kBAAkB,KACxB,MAAM,GAAG,SAKX,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,UAAW,SAAS,KAAG,uBAMnD,CAAC;AAEJ,eAAO,MAAM,kCAAkC,aACnC,kBAAkB,SACrB,kBAAkB,KACxB,OAOF,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,UAC3B,kBAAkB,mBACR,eAAe,KAC/B,kBAqBF,CAAC"}
1
+ {"version":3,"file":"QueryBuilderValueSpecificationHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,kBAAkB,EAIvB,2BAA2B,EAC3B,cAAc,EACd,kBAAkB,EAIlB,KAAK,IAAI,EAGT,wBAAwB,EAIxB,0BAA0B,EAO1B,uBAAuB,EAKvB,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAiB7B,eAAO,MAAM,sCAAsC,uBAC7B,kBAAkB,KACrC,IAAI,GAAG,SAWT,CAAC;AAEF,eAAO,MAAM,mCAAmC,UACvC,SAAS,UACR,kBAAkB,EAAE,KAC3B,IAAI,GAAG,SAsCT,CAAC;AAEF,eAAO,MAAM,mBAAmB,eAClB,wBAAwB,KACnC,wBAAwB,GAAG,SAa7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,eACjB,kBAAkB,KAC7B,kBAMF,CAAC;AAEF,eAAO,MAAM,iCAAiC,eAChC,kBAAkB,GAAG,SAAS,KACzC,OAiBF,CAAC;AAEF,eAAO,MAAM,6BAA6B,SAClC,IAAI,GAAG,SAAS,kBACN,IAAI,KACnB,OA6BF,CAAC;AAEF,eAAO,MAAM,oCAAoC,SACzC,cAAc,KACnB,OAwBF,CAAC;AAEF,eAAO,MAAM,uCAAuC,wBAC7B,MAAM,yBACJ,kBAAkB,EAAE,SACpC,SAAS,KACf,2BAeF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,+BAA+B,uBACtB,0BAA0B,SACvC,SAAS,KACf,IA8BF,CAAC;AAEF,eAAO,MAAM,sCAAsC,UAC1C,kBAAkB,KACxB,MAAM,GAAG,SAKX,CAAC;AAEF,eAAO,MAAM,sCAAsC,UAC1C,kBAAkB,KACxB,MAAM,GAAG,SAKX,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,UAAW,SAAS,KAAG,uBAMnD,CAAC;AAEJ,eAAO,MAAM,kCAAkC,aACnC,kBAAkB,SACrB,kBAAkB,KACxB,OAOF,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,UAC3B,kBAAkB,mBACR,eAAe,KAC/B,kBAqBF,CAAC"}
@@ -136,6 +136,7 @@ export const generateDefaultValueForPrimitiveType = (type) => {
136
136
  case PRIMITIVE_TYPE.DECIMAL:
137
137
  case PRIMITIVE_TYPE.FLOAT:
138
138
  case PRIMITIVE_TYPE.INTEGER:
139
+ case PRIMITIVE_TYPE.BINARY:
139
140
  return 0;
140
141
  case PRIMITIVE_TYPE.DATE:
141
142
  case PRIMITIVE_TYPE.STRICTDATE:
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderValueSpecificationHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;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E,uBAAuB,CACrB,GAAG,EACH,CAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAY,GAAG,CAAC,CAAC,CAAC,EAChC,eAAe,CAChB,CAAC;SACH;QACD,OAAO,GAAG,CAAC;KACZ;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryBuilderValueSpecificationHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,cAAc,EACd,YAAY,EACZ,cAAc,EACd,2BAA2B,EAC3B,cAAc,EACd,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EAEjB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,aAAa,EAEb,0BAA0B,EAC1B,0BAA0B,EAC1B,WAAW,EACX,KAAK,EACL,8BAA8B,EAC9B,eAAe,EACf,mCAAmC,EACnC,YAAY,EACZ,uBAAuB,EACvB,4BAA4B,EAC5B,WAAW,EACX,yBAAyB,EACzB,SAAS,GAEV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EACd,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,OAAO,EACL,wCAAwC,EACxC,0CAA0C,GAC3C,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AAEvF,MAAM,CAAC,MAAM,sCAAsC,GAAG,CACpD,kBAAsC,EACpB,EAAE;IACpB,IAAI,kBAAkB,YAAY,sBAAsB,EAAE;QACxD,OAAO,kBAAkB,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;KACrD;SAAM,IAAI,kBAAkB,YAAY,sBAAsB,EAAE;QAC/D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ACzC,iBAAiB,CACf,KAAK,CAAC,YAAY,EAClB,iCAAiC,CAAC,KAAK,CACxC;QACD,KAAK,CAAC,gBAAgB,CAAC,MAAM,KAAK,CAAC;QACnC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,YAAY,sBAAsB,EAC3D;QACA,MAAM,GAAG,GAAG,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;QACtC,IAAI,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,EAAE;YAClE,uBAAuB,CACrB,GAAG,EACH,CAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAY,GAAG,CAAC,CAAC,CAAC,EAChC,eAAe,CAChB,CAAC;SACH;QACD,OAAO,GAAG,CAAC;KACZ;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -217,6 +217,7 @@ export const generateDefaultValueForPrimitiveType = (
217
217
  case PRIMITIVE_TYPE.DECIMAL:
218
218
  case PRIMITIVE_TYPE.FLOAT:
219
219
  case PRIMITIVE_TYPE.INTEGER:
220
+ case PRIMITIVE_TYPE.BINARY:
220
221
  return 0;
221
222
  case PRIMITIVE_TYPE.DATE:
222
223
  case PRIMITIVE_TYPE.STRICTDATE: