@finos/legend-application-query 13.4.14 → 13.4.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/lib/__lib__/LegendQueryUserDataHelper.js +1 -1
  2. package/lib/components/CloneQueryServiceSetup.js +1 -2
  3. package/lib/components/CloneQueryServiceSetup.js.map +1 -1
  4. package/lib/components/Core_LegendQueryApplicationPlugin.d.ts +1 -1
  5. package/lib/components/Core_LegendQueryApplicationPlugin.d.ts.map +1 -1
  6. package/lib/components/Core_LegendQueryApplicationPlugin.js +33 -8
  7. package/lib/components/Core_LegendQueryApplicationPlugin.js.map +1 -1
  8. package/lib/components/CreateMappingQuerySetup.js +1 -2
  9. package/lib/components/CreateMappingQuerySetup.js.map +1 -1
  10. package/lib/components/QueryEditor.d.ts.map +1 -1
  11. package/lib/components/QueryEditor.js +10 -5
  12. package/lib/components/QueryEditor.js.map +1 -1
  13. package/lib/components/QueryEdtiorExistingQueryVersionRevertModal.js +1 -1
  14. package/lib/components/QueryEdtiorExistingQueryVersionRevertModal.js.map +1 -1
  15. package/lib/components/data-space/DataSpaceQuerySetup.d.ts.map +1 -1
  16. package/lib/components/data-space/DataSpaceQuerySetup.js +2 -2
  17. package/lib/components/data-space/DataSpaceQuerySetup.js.map +1 -1
  18. package/lib/index.css +2 -2
  19. package/lib/index.css.map +1 -1
  20. package/lib/package.json +1 -1
  21. package/lib/stores/EditExistingQuerySetupStore.js +1 -1
  22. package/lib/stores/EditExistingQuerySetupStore.js.map +1 -1
  23. package/lib/stores/QueryEditorStore.js +2 -2
  24. package/lib/stores/QueryEditorStore.js.map +1 -1
  25. package/lib/stores/QueryProductionizerSetupStore.js +1 -1
  26. package/lib/stores/QueryProductionizerSetupStore.js.map +1 -1
  27. package/package.json +10 -10
  28. package/src/__lib__/LegendQueryUserDataHelper.ts +1 -1
  29. package/src/components/CloneQueryServiceSetup.tsx +1 -1
  30. package/src/components/Core_LegendQueryApplicationPlugin.tsx +56 -24
  31. package/src/components/CreateMappingQuerySetup.tsx +1 -1
  32. package/src/components/QueryEditor.tsx +12 -9
  33. package/src/components/QueryEdtiorExistingQueryVersionRevertModal.tsx +1 -1
  34. package/src/components/data-space/DataSpaceQuerySetup.tsx +2 -1
  35. package/src/stores/EditExistingQuerySetupStore.ts +2 -2
  36. package/src/stores/QueryEditorStore.ts +3 -3
  37. package/src/stores/QueryProductionizerSetupStore.ts +2 -2
package/lib/index.css.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../style/_query-setup.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_query-editor.scss"],"names":[],"mappings":"AAkBA,aCiBE,aACA,uBDfA,WACA,2BACA,cACA,iBAGF,yBCGE,aACA,mBAiBA,aACA,8BDlBA,cACA,iCACA,gCACA,uBAEA,+BACE,YACA,aACA,mBAGF,gCACE,YACA,aACA,mBAGF,iCCxBA,aACA,mBACA,uBDyBE,eACA,gBACA,YACA,WAEA,0CACE,kCAEA,mDACE,gCAMR,2BACE,aACA,sBACA,YAEA,kCCzCA,aACA,mBD2CE,2BACA,kCACA,oCACA,iBACA,mBACA,eACA,iBAGF,iDACE,kBACA,iCACA,iBAEA,uDACE,8BACA,YAIJ,yCACE,aACA,sBACA,qCACA,oBACA,kBAEA,8CCvEF,aACA,mBDyEI,cACA,iCACA,gCACA,iBACA,cACA,oBACA,kBACA,kBACA,YACA,gBACA,oCACA,iBACA,eAGF,+FACE,mCAGF,iDC7FF,aACA,mBD+FI,yBACA,cAGF,iDC1GF,aACA,mBACA,uBD2GI,cACA,aACA,eACA,iCACA,kBAEA,uDACE,iCAGF,yDACE,kBACA,YACA,aAEA,6DACE,gBACA,4BAKN,+CCxHF,aACA,uBD2HE,uDCjIF,aACA,mBDmII,sBACA,YAEA,8GACE,kDAIJ,iDClJF,aACA,mBACA,uBDmJI,cAEA,0DACE,aACA,uBACA,yBACA,YACA,cAIA,0DACE,eACA,iCAGF,gEACE,iCAKN,kFACE,gBAIJ,mCC1KA,aACA,mBD4KE,cACA,YACA,oBACA,uCACA,iBAEA,yDACE,mCAGF,wDACE,gCAGF,8DACE,mCAGF,+DACE,gCAGF,2CACE,YAEA,iDACE,gCAIJ,6CACE,sCAGF,yCCrNF,aACA,mBACA,uBA2BA,YACA,cD2LI,cACA,aACA,qDAEA,6CACE,kCAIJ,0CC5NF,aACA,mBD8NI,iBACA,YACA,WACA,kCACA,iBACA,gBAGF,sEACE,iBAIJ,yCACE,eAGF,mCACE,aACA,yBACA,mBAGE,iDACE,iBACA,iCACA,iDAGF,uDACE,iCAIJ,sBACE,KACE,6BAGF,GACE,+BAMJ,oDACE,iBACA,cAGF,8DACE,iBAGF,2DACE,iBACA,kBAKN,qBACE,aACA,sBACA,YACA,qCACA,oBAEA,6BCpSA,aACA,mBDsSE,cACA,8BAEA,kCChTF,aACA,mBACA,uBA2BA,YACA,cDsRI,YACA,WAEA,sCACE,iBACA,kCAIA,4DACE,kCAIJ,6CACE,kCACA,6CAGF,4CACE,qCACA,mBAEA,gDACE,iCAKN,oCC3UF,aACA,mBD6UI,YACA,yBACA,eACA,kCACA,oCACA,iBACA,oDACA,eAIJ,8BCzVA,aACA,mBD2VE,sBACA,2BAIA,mCCjWF,aACA,mBDmWI,cACA,kCACA,oCACA,iBACA,iBAIJ,oCACE,cACA,aAGF,uEACE,mBACA,uBACA,aACA,cAGF,wDACE,gBAGF,+BACE,YAIJ,4BACE,KACE,6BAGF,GACE,+BAIJ,2BACE,eAEA,mCACE,gCAGF,oCCxZA,aACA,mBACA,uBDyZE,sBACA,eACA,sBAGF,kCACE,aACA,sBACA,eACA,YAEA,0CACE,eACA,8CACA,gBAKN,4BACE,eAEA,oCACE,gCAGF,qCCrbA,aACA,mBACA,uBDsbE,sBACA,eACA,sBAGF,mCACE,aACA,sBACA,cACA,YAEA,2CACE,eACA,8CACA,gBAIJ,wDACE,WAIJ,qCACE,yBACA,eAEA,6CACE,gCAGF,iDACE,cACA,WAGF,oEACE,WAGF,mEC1dA,aACA,mBD4dE,aAIJ,6BACE,kBACA,YACA,SAEA,qCACE,mCAGF,sCACE,2BAIJ,kCACE,kBACA,YACA,SAEA,0CACE,mCAGF,2CACE,2BErgBJ,cACE,aACA,sBACA,WACA,YAEA,2BDMA,aACA,mBCJE,8BACA,qCAEA,+CDCF,mBCEI,cACA,cAEA,wCACE,cACA,WACA,oDACA,sCAGF,6CDnBJ,aACA,mBACA,uBCoBM,cACA,WACA,iCAEA,iDACE,iBAIJ,wCACE,iCACA,iBACA,gBACA,iBAKN,sBDlCA,aACA,mBCoCE,cACA,cAEA,+BDxCF,aACA,mBAiBA,aACA,8BCyBI,YACA,WAEA,sCACE,kCACA,OACA,cAEA,4CACE,gBAIJ,4CDzDJ,aACA,mBC2DM,0BACA,cACA,iBACA,eACA,iCACA,iBACA,gBAIJ,+BDtEF,aACA,mBCwEI,YAGF,oCDlFF,aACA,mBACA,uBCmFI,iCACA,cACA,eACA,oBACA,mBAEA,8CACE,4CACA,4CAEA,kDACE,kCAIJ,kDDpGJ,aACA,mBACA,uBCqGM,cACA,WACA,oDAEA,sDACE,kCAKN,8BDjHF,aACA,mBACA,uBCkHI,cACA,eACA,eACA,oBACA,mBAEA,kCACE,kCAGF,qCACE,kBACA,iBAGF,6CACE,8CACA,mBAIA,0CACE,eACA,oBAGF,iDACE,yCAGF,6GAEE,yCAGF,gDACE,4CAGF,6CACE,iBAGF,mDACE,iBAIJ,4CD9JJ,aACA,mBCgKM,aACA,UAEA,iDD1KN,aACA,mBACA,uBC2KQ,cACA,aACA,8BACA,gBAGF,8DD7KN,aACA,mBC+KQ,cACA,aACA,8BACA,oDACA,eAEA,kEACE,iBAMR,4DACE,cAGF,gDACE,kBAIJ,uBACE,2BACA,WAIA,4CACE,kCACA,gBACA,mBACA,mBAGF,+CACE,YAKN,6BACE,oBACA,cACA,cAGF,cACE,WACA,UACA,gBAEA,qBACE","file":"index.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../style/_query-setup.scss","../../../node_modules/@finos/legend-art/scss/_mixins.scss","../style/_query-editor.scss"],"names":[],"mappings":"AAkBA,aCiBE,aACA,uBDfA,WACA,2BACA,cACA,iBAGF,yBCGE,aACA,mBAiBA,aACA,8BDlBA,cACA,iCACA,gCACA,uBAEA,+BACE,YACA,aACA,mBAGF,gCACE,YACA,aACA,mBAGF,iCCxBA,aACA,mBACA,uBDyBE,eACA,gBACA,YACA,WAEA,0CACE,kCAEA,mDACE,gCAMR,2BACE,aACA,sBACA,YAEA,kCCzCA,aACA,mBD2CE,2BACA,kCACA,oCACA,iBACA,mBACA,eACA,iBAGF,iDACE,kBACA,iCACA,iBAEA,uDACE,8BACA,YAIJ,yCACE,aACA,sBACA,qCACA,oBACA,kBAEA,8CCvEF,aACA,mBDyEI,cACA,iCACA,gCACA,iBACA,cACA,oBACA,kBACA,kBACA,YACA,gBACA,oCACA,iBACA,eAGF,+FACE,mCAGF,iDC7FF,aACA,mBD+FI,yBACA,cAGF,iDC1GF,aACA,mBACA,uBD2GI,cACA,aACA,eACA,iCACA,kBAEA,uDACE,iCAGF,yDACE,kBACA,YACA,aAEA,6DACE,gBACA,4BAKN,+CCxHF,aACA,uBD2HE,uDCjIF,aACA,mBDmII,sBACA,YAEA,8GACE,kDAIJ,iDClJF,aACA,mBACA,uBDmJI,cAEA,0DACE,aACA,uBACA,yBACA,YACA,cAIA,0DACE,eACA,iCAGF,gEACE,iCAKN,kFACE,gBAIJ,mCC1KA,aACA,mBD4KE,cACA,YACA,oBACA,uCACA,iBAEA,yDACE,mCAGF,wDACE,gCAGF,8DACE,mCAGF,+DACE,gCAGF,2CACE,YAEA,iDACE,gCAIJ,6CACE,sCAGF,yCCrNF,aACA,mBACA,uBA2BA,YACA,cD2LI,cACA,aACA,qDAEA,6CACE,kCAIJ,0CC5NF,aACA,mBD8NI,iBACA,YACA,WACA,kCACA,iBACA,gBAGF,sEACE,iBAIJ,yCACE,eAGF,mCACE,aACA,yBACA,mBAGE,iDACE,iBACA,iCACA,iDAGF,uDACE,iCAIJ,sBACE,KACE,6BAGF,GACE,+BAMJ,oDACE,iBACA,cAGF,8DACE,iBAGF,2DACE,iBACA,kBAKN,qBACE,aACA,sBACA,YACA,qCACA,oBAEA,6BCpSA,aACA,mBDsSE,cACA,8BAEA,kCChTF,aACA,mBACA,uBA2BA,YACA,cDsRI,YACA,WAEA,sCACE,iBACA,kCAIA,4DACE,kCAIJ,6CACE,kCACA,6CAGF,4CACE,qCACA,mBAEA,gDACE,iCAKN,oCC3UF,aACA,mBD6UI,YACA,yBACA,eACA,kCACA,oCACA,iBACA,oDACA,eAIJ,8BCzVA,aACA,mBD2VE,sBACA,2BAIA,mCCjWF,aACA,mBDmWI,cACA,kCACA,oCACA,iBACA,iBAIJ,oCACE,cACA,aAGF,uEACE,mBACA,uBACA,aACA,cAGF,wDACE,gBAGF,+BACE,YAIJ,4BACE,KACE,6BAGF,GACE,+BAIJ,2BACE,eAEA,mCACE,gCAGF,oCCxZA,aACA,mBACA,uBDyZE,sBACA,eACA,sBAGF,kCACE,aACA,sBACA,eACA,YAEA,0CACE,eACA,8CACA,gBAKN,4BACE,eAEA,oCACE,gCAGF,qCCrbA,aACA,mBACA,uBDsbE,sBACA,eACA,sBAGF,mCACE,aACA,sBACA,cACA,YAEA,2CACE,eACA,8CACA,gBAIJ,wDACE,WAIJ,qCACE,yBACA,eAEA,6CACE,gCAGF,iDACE,cACA,WAGF,oEACE,WAGF,mEC1dA,aACA,mBD4dE,aAIJ,6BACE,kBACA,YACA,SAEA,qCACE,mCAGF,sCACE,2BAIJ,kCACE,kBACA,YACA,SAEA,0CACE,mCAGF,2CACE,2BErgBJ,cACE,aACA,sBACA,WACA,YAEA,2BDMA,aACA,mBCJE,8BACA,qCAEA,+CDCF,mBCEI,cACA,cAEA,wCACE,cACA,WACA,oDACA,sCAGF,6CDnBJ,aACA,mBACA,uBCoBM,cACA,WACA,iCAEA,iDACE,iBAIJ,wCACE,iCACA,eACA,gBACA,YAKN,sBDlCA,aACA,mBCoCE,cACA,cAEA,+BDxCF,aACA,mBAiBA,aACA,8BCyBI,YACA,WAEA,sCACE,kCACA,OACA,cAEA,4CACE,gBAIJ,4CDzDJ,aACA,mBC2DM,0BACA,cACA,iBACA,eACA,kCACA,iBACA,gBACA,mBAGF,qDACE,SAIJ,+BD3EF,aACA,mBC6EI,YAGF,oCDvFF,aACA,mBACA,uBCwFI,iCACA,cACA,eACA,oBACA,mBAEA,8CACE,4CACA,4CAEA,kDACE,kCAIJ,kDDzGJ,aACA,mBACA,uBC0GM,cACA,WACA,oDAEA,sDACE,kCAKN,8BDtHF,aACA,mBACA,uBCuHI,cACA,eACA,eACA,oBACA,mBAEA,kCACE,kCAGF,qCACE,kBACA,iBAGF,6CACE,8CACA,mBAIA,0CACE,eACA,oBAGF,iDACE,yCAGF,6GAEE,yCAGF,gDACE,4CAGF,6CACE,iBAGF,mDACE,iBAIJ,4CDnKJ,aACA,mBCqKM,aACA,UAEA,iDD/KN,aACA,mBACA,uBCgLQ,cACA,aACA,8BACA,gBAGF,8DDlLN,aACA,mBCoLQ,cACA,aACA,8BACA,oDACA,eAEA,kEACE,iBAMR,4DACE,cAGF,gDACE,kBAIJ,uBACE,2BACA,WAIA,4CACE,kCACA,gBACA,mBACA,mBAGF,+CACE,YAKN,6BACE,oBACA,cACA,cAGF,cACE,WACA,UACA,gBAEA,qBACE","file":"index.css"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-query",
3
- "version": "13.4.14",
3
+ "version": "13.4.16",
4
4
  "description": "Legend Query application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -32,7 +32,7 @@ export class EditExistingQuerySetupStore extends BaseQuerySetupStore {
32
32
  generateDefaultQueriesSummaryText: (queries) => queries.length
33
33
  ? `Showing ${quantifyList(queries, 'recently viewed query', 'recently viewed queries')}`
34
34
  : `No recently viewed queries`,
35
- onQueryDeleted: (query) => LegendQueryUserDataHelper.removeRecentlyViewedQuery(this.applicationStore.userDataService, query.id),
35
+ onQueryDeleted: (queryId) => LegendQueryUserDataHelper.removeRecentlyViewedQuery(this.applicationStore.userDataService, queryId),
36
36
  onQueryRenamed: (query) => {
37
37
  LegendQueryTelemetryHelper.logEvent_RenameQuerySucceeded(applicationStore.telemetryService, {
38
38
  query: {
@@ -1 +1 @@
1
- {"version":3,"file":"EditExistingQuerySetupStore.js","sourceRoot":"","sources":["../../src/stores/EditExistingQuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAGpF,OAAO,EAAE,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AACvF,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAEtF,MAAM,OAAO,2BAA4B,SAAQ,mBAAmB;IACzD,gBAAgB,CAAmB;IAE5C,YACE,gBAA6C,EAC7C,iBAAoC;QAEpC,KAAK,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;QAE3C,IAAI,CAAC,gBAAgB,GAAG,IAAI,gBAAgB,CAC1C,gBAAgB,EAChB,IAAI,CAAC,iBAAiB,EACtB;YACE,SAAS,EAAE,CAAC,KAAiB,EAAQ,EAAE;gBACrC,IAAI,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;gBACtD,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,YAAY,CAC5D,gCAAgC,CAAC,KAAK,CAAC,EAAE,CAAC,EAC1C,EAAE,cAAc,EAAE,IAAI,EAAE,CACzB,CAAC;YACJ,CAAC;YACD,mBAAmB,EAAE,GAAG,EAAE,CACxB,IAAI,CAAC,iBAAiB,CAAC,YAAY,CAAC,UAAU,CAC5C,yBAAyB,CAAC,wBAAwB,CAChD,IAAI,CAAC,gBAAgB,CAAC,eAAe,CACtC,CACF;YACH,iCAAiC,EAAE,CAAC,OAAO,EAAE,EAAE,CAC7C,OAAO,CAAC,MAAM;gBACZ,CAAC,CAAC,WAAW,YAAY,CACrB,OAAO,EACP,uBAAuB,EACvB,yBAAyB,CAC1B,EAAE;gBACL,CAAC,CAAC,4BAA4B;YAClC,cAAc,EAAE,CAAC,KAAK,EAAQ,EAAE,CAC9B,yBAAyB,CAAC,yBAAyB,CACjD,IAAI,CAAC,gBAAgB,CAAC,eAAe,EACrC,KAAK,CAAC,EAAE,CACT;YACH,cAAc,EAAE,CAAC,KAAK,EAAQ,EAAE;gBAC9B,0BAA0B,CAAC,6BAA6B,CACtD,gBAAgB,CAAC,gBAAgB,EACjC;oBACE,KAAK,EAAE;wBACL,EAAE,EAAE,KAAK,CAAC,EAAE;wBACZ,IAAI,EAAE,KAAK,CAAC,IAAI;wBAChB,OAAO,EAAE,KAAK,CAAC,OAAO;wBACtB,UAAU,EAAE,KAAK,CAAC,UAAU;wBAC5B,SAAS,EAAE,KAAK,CAAC,SAAS;qBAC3B;iBACF,CACF,CAAC;YACJ,CAAC;YACD,gCAAgC,EAAE,GAAS,EAAE,CAC3C,yBAAyB,CAAC,2BAA2B,CACnD,IAAI,CAAC,gBAAgB,CAAC,eAAe,CACtC;SACJ,CACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"EditExistingQuerySetupStore.js","sourceRoot":"","sources":["../../src/stores/EditExistingQuerySetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAGpF,OAAO,EAA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AAE,KAAK,CAAC,EAAE;wBACZ,IAAI,EAAE,KAAK,CAAC,IAAI;wBAChB,OAAO,EAAE,KAAK,CAAC,OAAO;wBACtB,UAAU,EAAE,KAAK,CAAC,UAAU;wBAC5B,SAAS,EAAE,KAAK,CAAC,SAAS;qBAC3B;iBACF,CACF,CAAC;YACJ,CAAC;YACD,gCAAgC,EAAE,GAAS,EAAE,CAC3C,yBAAyB,CAAC,2BAA2B,CACnD,IAAI,CAAC,gBAAgB,CAAC,eAAe,CACtC;SACJ,CACF,CAAC;IACJ,CAAC;CACF"}
@@ -60,7 +60,7 @@ export class QueryCreatorState {
60
60
  createQuery: flow,
61
61
  });
62
62
  this.editorStore = editorStore;
63
- this.queryName = queryName ?? 'New Query';
63
+ this.queryName = queryName ?? '';
64
64
  }
65
65
  setQueryName(val) {
66
66
  this.queryName = val;
@@ -162,7 +162,7 @@ export class QueryEditorStore {
162
162
  generateDefaultQueriesSummaryText: (queries) => queries.length
163
163
  ? `Showing ${quantifyList(queries, 'recently viewed query', 'recently viewed queries')}`
164
164
  : `No recently viewed queries`,
165
- onQueryDeleted: (query) => LegendQueryUserDataHelper.removeRecentlyViewedQuery(this.applicationStore.userDataService, query.id),
165
+ onQueryDeleted: (queryId) => LegendQueryUserDataHelper.removeRecentlyViewedQuery(this.applicationStore.userDataService, queryId),
166
166
  onQueryRenamed: (query) => {
167
167
  LegendQueryTelemetryHelper.logEvent_RenameQuerySucceeded(applicationStore.telemetryService, {
168
168
  query: {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditorStore.js","sourceRoot":"","sources":["../../src/stores/QueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,EACV,QAAQ,GACT,MAAM,MAAM,CAAC;AACd,OAAO,EAGL,QAAQ,EACR,iBAAiB,EACjB,IAAI,EACJ,UAAU,EACV,oBAAoB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,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;gBAC9B,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;gBACxC,KAAK,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;gBAC9C,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC;YAC9C,CAAC;YACD,aAAa,EAAE,CAAC,KAAY,EAAQ,EAAE;gBACpC,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;gBACxC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"QueryEditorStore.js","sourceRoot":"","sources":["../../src/stores/QueryEditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,EACV,QAAQ,GACT,MAAM,MAAM,CAAC;AACd,OAAO,EAGL,QAAQ,EACR,iBAAiB,EACjB,IAAI,EACJ,UAAU,EACV,oBAAoB,EACpB,WAAW,EACX,SAAS,EACT,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EASL,iBAAiB,EACjB,KAAK,EACL,aAAa,EACb,mCAAmC,EACnC,cAAc,EACd,mBAAmB,EACnB,0BAA0B,EAC1B,OAAO,EACP,wBAAwB,EACxB,UAAU,EACV,wBAAwB,EACxB,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,8BAA8B,EAC9B,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,6DAA6D,EAC7D,iEAAiE,EACjE,gCAAgC,EAChC,gCAAgC,EAChC,g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upStore extends BaseQuerySetupStore {
34
34
  generateDefaultQueriesSummaryText: (queries) => queries.length
35
35
  ? `Showing ${quantifyList(queries, 'recently viewed query', 'recently viewed queries')}`
36
36
  : `No recently viewed queries`,
37
- onQueryDeleted: (query) => LegendQueryUserDataHelper.removeRecentlyViewedQuery(this.applicationStore.userDataService, query.id),
37
+ onQueryDeleted: (queryId) => LegendQueryUserDataHelper.removeRecentlyViewedQuery(this.applicationStore.userDataService, queryId),
38
38
  onQueryRenamed: (query) => {
39
39
  LegendQueryTelemetryHelper.logEvent_RenameQuerySucceeded(applicationStore.telemetryService, {
40
40
  query: {
@@ -1 +1 @@
1
- {"version":3,"file":"QueryProductionizerSetupStore.js","sourceRoot":"","sources":["../../src/stores/QueryProductionizerSetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAEL,gBAAgB,GACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,EAAE,oEAAoE,EAAE,MAAM,qCAAqC,CAAC;AAC3H,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAEtF,MAAM,OAAO,6BAA8B,SAAQ,mBAAmB;IAC3D,gBAAgB,CAAmB;IAE5C,YACE,gBAA6C,EAC7C,iBAAoC;QAEpC,KAAK,CAAC,gBAAgB,EAAE,iBAAiB,CAAC,CAAC;QAE3C,IAAI,CAAC,gBAAgB,GAAG,IAAI,gBAAgB,CAC1C,gBAAgB,EAChB,IAAI,CAAC,iBAAiB,EACtB;YACE,SAAS,EAAE,CAAC,KAAiB,EAAQ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AgB,CAAC,aAAa,CAAC,QAAQ,CACrD,MAAM,IAAI,CAAC,iBAAiB,CAAC,UAAU,CACrC,aAAa,CAAC,OAAO,EACrB,aAAa,CAAC,UAAU,CACzB,CACF,CAAC;QAEF,kCAAkC;QAClC,MAAM,eAAe,GAAG,sBAAsB,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC;QACzE,MAAM,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CACzE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,mBAAmB,KAAK,eAAe,CACzD,CAAC;QACF,IAAI,iBAAiB,EAAE,CAAC;YACtB,IAAI,CAAC,gBAAgB,CAAC,YAAY,CAAC,gBAAgB,CAAC;gBAClD,OAAO,EAAE,kBAAkB;gBAC3B,MAAM,EAAE,qCAAqC;gBAC7C,WAAW,EAAE,IAAI;aAClB,CAAC,CAAC;YACH,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,WAAW,CAC3D,oEAAoE,CAClE,iBAAiB,CAAC,GAAG,EACrB,aAAa,CAAC,EAAE,CACjB,CACF,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACrD,uEAAuE,CACxE,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"QueryProductionizerSetupStore.js","sourceRoot":"","sources":["../../src/stores/QueryProductionizerSetupStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAEL,gBAAgB,GACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,EAAE,oEAAoE,EAAE,MAAM,qCAAqC,CAAC;AAC3H,OAAO,EAAE,mBAAmB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AAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACrD,uEAAuE,CACxE,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-query",
3
- "version": "13.4.14",
3
+ "version": "13.4.16",
4
4
  "description": "Legend Query application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,15 +43,15 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "15.1.1",
47
- "@finos/legend-art": "7.1.30",
48
- "@finos/legend-extension-dsl-data-space": "10.3.13",
49
- "@finos/legend-graph": "31.9.15",
50
- "@finos/legend-lego": "1.2.31",
51
- "@finos/legend-query-builder": "4.14.37",
52
- "@finos/legend-server-depot": "6.0.40",
53
- "@finos/legend-shared": "10.0.35",
54
- "@finos/legend-storage": "3.0.85",
46
+ "@finos/legend-application": "15.1.3",
47
+ "@finos/legend-art": "7.1.32",
48
+ "@finos/legend-extension-dsl-data-space": "10.3.15",
49
+ "@finos/legend-graph": "31.10.0",
50
+ "@finos/legend-lego": "1.2.33",
51
+ "@finos/legend-query-builder": "4.14.39",
52
+ "@finos/legend-server-depot": "6.0.41",
53
+ "@finos/legend-shared": "10.0.36",
54
+ "@finos/legend-storage": "3.0.86",
55
55
  "@testing-library/react": "15.0.7",
56
56
  "@types/react": "18.3.2",
57
57
  "@types/react-dom": "18.3.0",
@@ -64,7 +64,7 @@ export class LegendQueryUserDataHelper {
64
64
  ): void {
65
65
  const queries = LegendQueryUserDataHelper.getRecentlyViewedQueries(service);
66
66
  const idx = queries.findIndex((query) => query === queryId);
67
- if (idx !== -1) {
67
+ if (idx === -1) {
68
68
  return;
69
69
  }
70
70
  queries.splice(idx, 1);
@@ -27,6 +27,7 @@ import {
27
27
  assertErrorThrown,
28
28
  guaranteeNonNullable,
29
29
  guaranteeType,
30
+ compareSemVerVersions,
30
31
  } from '@finos/legend-shared';
31
32
  import { flowResult } from 'mobx';
32
33
  import { observer, useLocalObservable } from 'mobx-react-lite';
@@ -53,7 +54,6 @@ import {
53
54
  type ProjectOption,
54
55
  type VersionOption,
55
56
  } from './QuerySetup.js';
56
- import { compareSemVerVersions } from '@finos/legend-storage';
57
57
 
58
58
  const CloneServiceQuerySetupStoreProvider: React.FC<{
59
59
  children: React.ReactNode;
@@ -50,6 +50,8 @@ import {
50
50
  LEGEND_QUERY_ROUTE_PATTERN,
51
51
  } from '../__lib__/LegendQueryNavigation.js';
52
52
  import {
53
+ ActionAlertActionType,
54
+ ActionAlertType,
53
55
  type ApplicationPageEntry,
54
56
  type LegendApplicationSetup,
55
57
  } from '@finos/legend-application';
@@ -65,9 +67,9 @@ import {
65
67
  generateDataSpaceQueryCreatorRoute,
66
68
  generateDataSpaceQuerySetupRoute,
67
69
  } from '../__lib__/DSL_DataSpace_LegendQueryNavigation.js';
68
- import type {
69
- QueryBuilderHeaderActionConfiguration,
70
- QueryBuilderMenuActionConfiguration,
70
+ import {
71
+ type QueryBuilderHeaderActionConfiguration,
72
+ type QueryBuilderMenuActionConfiguration,
71
73
  } from '@finos/legend-query-builder';
72
74
  import {
73
75
  ExistingQueryEditorStore,
@@ -238,6 +240,7 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
238
240
  },
239
241
  ];
240
242
  }
243
+
241
244
  getExtraQueryBuilderExportMenuActionConfigurations?(): QueryBuilderMenuActionConfiguration[] {
242
245
  return [
243
246
  {
@@ -425,8 +428,6 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
425
428
  ) {
426
429
  const editorStore =
427
430
  queryBuilderState.workflowState.actionConfig.editorStore;
428
- const isExistingQuery =
429
- editorStore instanceof ExistingQueryEditorStore;
430
431
  const handleNewQuery = (): void => {
431
432
  if (editorStore instanceof ExistingQueryEditorStore) {
432
433
  const query = editorStore.query;
@@ -463,24 +464,50 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
463
464
  }
464
465
  }
465
466
  }
467
+ } else {
468
+ if (
469
+ queryBuilderState.changeHistoryState.canUndo ||
470
+ queryBuilderState.changeHistoryState.canRedo
471
+ ) {
472
+ queryBuilderState.applicationStore.alertService.setActionAlertInfo(
473
+ {
474
+ message:
475
+ 'Current query will be lost when creating a new query. Do you still want to proceed?',
476
+ type: ActionAlertType.CAUTION,
477
+ actions: [
478
+ {
479
+ label: 'Proceed',
480
+ type: ActionAlertActionType.PROCEED_WITH_CAUTION,
481
+ handler:
482
+ queryBuilderState.applicationStore.guardUnhandledError(
483
+ async () => queryBuilderState.resetQueryContent(),
484
+ ),
485
+ },
486
+ {
487
+ label: 'Cancel',
488
+ type: ActionAlertActionType.PROCEED,
489
+ default: true,
490
+ },
491
+ ],
492
+ },
493
+ );
494
+ } else {
495
+ queryBuilderState.resetQueryContent();
496
+ }
466
497
  }
467
498
  };
468
499
  return (
469
- <>
470
- {isExistingQuery && (
471
- <Button
472
- className="query-editor__header__action btn--dark"
473
- disabled={editorStore.isPerformingBlockingAction}
474
- onClick={handleNewQuery}
475
- title="New query"
476
- >
477
- <SaveCurrIcon />
478
- <div className="query-editor__header__action__label">
479
- New Query
480
- </div>
481
- </Button>
482
- )}
483
- </>
500
+ <Button
501
+ className="query-editor__header__action btn--dark"
502
+ disabled={editorStore.isPerformingBlockingAction}
503
+ onClick={handleNewQuery}
504
+ title="New query"
505
+ >
506
+ <SaveCurrIcon />
507
+ <div className="query-editor__header__action__label">
508
+ New Query
509
+ </div>
510
+ </Button>
484
511
  );
485
512
  }
486
513
  return undefined;
@@ -496,11 +523,11 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
496
523
  ) {
497
524
  const editorStore =
498
525
  queryBuilderState.workflowState.actionConfig.editorStore;
499
- const isExistingQuery =
500
- editorStore instanceof ExistingQueryEditorStore;
501
526
  const openSaveQueryModal = (): void => {
502
527
  if (editorStore instanceof ExistingQueryEditorStore) {
503
528
  editorStore.updateState.showSaveModal();
529
+ } else {
530
+ editorStore.queryCreatorState.open(undefined);
504
531
  }
505
532
  };
506
533
  const handleQuerySaveAs = (): void => {
@@ -515,7 +542,6 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
515
542
  <Button
516
543
  className="query-editor__header__action query-editor__header__action-combo__main-btn btn--dak"
517
544
  disabled={
518
- !isExistingQuery ||
519
545
  editorStore.isPerformingBlockingAction ||
520
546
  !queryBuilderState.canBuildQuery
521
547
  }
@@ -596,7 +622,13 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
596
622
  </div>
597
623
  );
598
624
  }
599
- return undefined;
625
+ return (
626
+ <div className="query-editor__dataspace__header">
627
+ <div className="query-editor__header__content__main query-editor__header__content__title__text query-editor__header__content__title__text--unsaved">
628
+ Unsaved Query
629
+ </div>
630
+ </div>
631
+ );
600
632
  };
601
633
  return (
602
634
  <div className="query-editor__header__content">
@@ -28,6 +28,7 @@ import {
28
28
  getNullableFirstEntry,
29
29
  guaranteeNonNullable,
30
30
  guaranteeType,
31
+ compareSemVerVersions,
31
32
  } from '@finos/legend-shared';
32
33
  import { flowResult } from 'mobx';
33
34
  import { observer, useLocalObservable } from 'mobx-react-lite';
@@ -51,7 +52,6 @@ import {
51
52
  type ProjectOption,
52
53
  type VersionOption,
53
54
  } from './QuerySetup.js';
54
- import { compareSemVerVersions } from '@finos/legend-storage';
55
55
  import type { Mapping, PackageableRuntime } from '@finos/legend-graph';
56
56
  import {
57
57
  buildElementOption,
@@ -76,10 +76,7 @@ import {
76
76
  type QueryBuilderState,
77
77
  } from '@finos/legend-query-builder';
78
78
 
79
- import {
80
- compareSemVerVersions,
81
- generateGAVCoordinates,
82
- } from '@finos/legend-storage';
79
+ import { generateGAVCoordinates } from '@finos/legend-storage';
83
80
  import {
84
81
  type Query,
85
82
  QueryDataSpaceExecutionContext,
@@ -88,7 +85,7 @@ import {
88
85
  import { LATEST_VERSION_ALIAS } from '@finos/legend-server-depot';
89
86
  import { buildVersionOption, type VersionOption } from './QuerySetup.js';
90
87
  import { QueryEditorExistingQueryVersionRevertModal } from './QueryEdtiorExistingQueryVersionRevertModal.js';
91
- import { debounce } from '@finos/legend-shared';
88
+ import { debounce, compareSemVerVersions } from '@finos/legend-shared';
92
89
 
93
90
  const CreateQueryDialog = observer(() => {
94
91
  const editorStore = useQueryEditorStore();
@@ -101,6 +98,7 @@ const CreateQueryDialog = observer(() => {
101
98
  );
102
99
  };
103
100
  const isExistingQueryName = createQueryState.editorStore.existingQueryName;
101
+ const isEmptyName = !createQueryState.queryName;
104
102
  // name
105
103
  const nameInputRef = useRef<HTMLInputElement>(null);
106
104
  const debouncedLoadQueries = useMemo(
@@ -112,13 +110,16 @@ const CreateQueryDialog = observer(() => {
112
110
  }, 500),
113
111
  [applicationStore, createQueryState.editorStore],
114
112
  );
113
+ const setFocus = (): void => {
114
+ nameInputRef.current?.focus();
115
+ };
115
116
 
116
117
  const changeName: React.ChangeEventHandler<HTMLInputElement> = (event) => {
117
118
  createQueryState.setQueryName(event.target.value);
118
119
  };
119
120
 
120
121
  useEffect(() => {
121
- nameInputRef.current?.focus();
122
+ setTimeout(() => setFocus(), 1);
122
123
  }, []);
123
124
 
124
125
  useEffect(() => {
@@ -161,6 +162,7 @@ const CreateQueryDialog = observer(() => {
161
162
  spellCheck={false}
162
163
  value={createQueryState.queryName}
163
164
  onChange={changeName}
165
+ title="New Query Name"
164
166
  />
165
167
  {isExistingQueryName && (
166
168
  <div
@@ -177,10 +179,11 @@ const CreateQueryDialog = observer(() => {
177
179
  <ModalFooterButton
178
180
  text="Create Query"
179
181
  title="Create new query"
180
- disabled={Boolean(
182
+ disabled={
181
183
  createQueryState.editorStore.isPerformingBlockingAction ||
182
- isExistingQueryName,
183
- )}
184
+ Boolean(isExistingQueryName) ||
185
+ isEmptyName
186
+ }
184
187
  onClick={create}
185
188
  />
186
189
  </ModalFooter>
@@ -23,7 +23,7 @@ import {
23
23
  ModalFooterButton,
24
24
  } from '@finos/legend-art';
25
25
  import { LATEST_VERSION_ALIAS } from '@finos/legend-server-depot';
26
- import { compareSemVerVersions } from '@finos/legend-storage';
26
+ import { compareSemVerVersions } from '@finos/legend-shared';
27
27
  import { flowResult } from 'mobx';
28
28
  import { observer } from 'mobx-react-lite';
29
29
  import { useState, useEffect } from 'react';
@@ -23,6 +23,7 @@ import {
23
23
  CustomSelectorInput,
24
24
  PanelHeader,
25
25
  SearchIcon,
26
+ compareLabelFn,
26
27
  type SelectComponent,
27
28
  } from '@finos/legend-art';
28
29
  import {
@@ -84,7 +85,7 @@ const DataSpaceQuerySetupSetupPanelContent = observer(
84
85
  // data space
85
86
  const dataSpaceOptions = queryBuilderState.dataSpaces
86
87
  .map(buildDataSpaceOption)
87
- .sort((a, b) => a.label.localeCompare(b.label));
88
+ .sort(compareLabelFn);
88
89
  const selectedDataSpaceOption = null;
89
90
  const onDataSpaceOptionChange = (option: DataSpaceOption): void => {
90
91
  queryBuilderState.onDataSpaceChange(option.value);
@@ -58,10 +58,10 @@ export class EditExistingQuerySetupStore extends BaseQuerySetupStore {
58
58
  'recently viewed queries',
59
59
  )}`
60
60
  : `No recently viewed queries`,
61
- onQueryDeleted: (query): void =>
61
+ onQueryDeleted: (queryId): void =>
62
62
  LegendQueryUserDataHelper.removeRecentlyViewedQuery(
63
63
  this.applicationStore.userDataService,
64
- query.id,
64
+ queryId,
65
65
  ),
66
66
  onQueryRenamed: (query): void => {
67
67
  LegendQueryTelemetryHelper.logEvent_RenameQuerySucceeded(
@@ -202,7 +202,7 @@ export class QueryCreatorState {
202
202
  createQuery: flow,
203
203
  });
204
204
  this.editorStore = editorStore;
205
- this.queryName = queryName ?? 'New Query';
205
+ this.queryName = queryName ?? '';
206
206
  }
207
207
 
208
208
  setQueryName(val: string): void {
@@ -369,10 +369,10 @@ export abstract class QueryEditorStore {
369
369
  'recently viewed queries',
370
370
  )}`
371
371
  : `No recently viewed queries`,
372
- onQueryDeleted: (query): void =>
372
+ onQueryDeleted: (queryId): void =>
373
373
  LegendQueryUserDataHelper.removeRecentlyViewedQuery(
374
374
  this.applicationStore.userDataService,
375
- query.id,
375
+ queryId,
376
376
  ),
377
377
  onQueryRenamed: (query): void => {
378
378
  LegendQueryTelemetryHelper.logEvent_RenameQuerySucceeded(
@@ -61,10 +61,10 @@ export class QueryProductionizerSetupStore extends BaseQuerySetupStore {
61
61
  'recently viewed queries',
62
62
  )}`
63
63
  : `No recently viewed queries`,
64
- onQueryDeleted: (query): void =>
64
+ onQueryDeleted: (queryId): void =>
65
65
  LegendQueryUserDataHelper.removeRecentlyViewedQuery(
66
66
  this.applicationStore.userDataService,
67
- query.id,
67
+ queryId,
68
68
  ),
69
69
  onQueryRenamed: (query): void => {
70
70
  LegendQueryTelemetryHelper.logEvent_RenameQuerySucceeded(