@esri/solutions-components 0.7.44 → 0.7.46

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.
Files changed (48) hide show
  1. package/dist/cjs/calcite-alert_4.cjs.entry.js +1 -1
  2. package/dist/cjs/calcite-combobox_5.cjs.entry.js +1 -1
  3. package/dist/cjs/calcite-flow_5.cjs.entry.js +1 -1
  4. package/dist/cjs/card-manager_3.cjs.entry.js +18 -17
  5. package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
  6. package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
  7. package/dist/cjs/{downloadUtils-abf7decd.js → downloadUtils-82bc9a04.js} +2 -2
  8. package/dist/cjs/{index.es-478ec781.js → index.es-79d8773c.js} +2 -2
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/map-select-tools_3.cjs.entry.js +2 -2
  11. package/dist/cjs/{mapViewUtils-290dbc9e.js → mapViewUtils-3e0fa457.js} +4 -8
  12. package/dist/cjs/public-notification.cjs.entry.js +2 -2
  13. package/dist/cjs/solutions-components.cjs.js +1 -1
  14. package/dist/collection/components/layer-table/layer-table.js +18 -15
  15. package/dist/collection/utils/queryUtils.js +4 -8
  16. package/dist/collection/utils/queryUtils.ts +6 -9
  17. package/dist/components/layer-table2.js +18 -15
  18. package/dist/components/queryUtils.js +4 -8
  19. package/dist/esm/calcite-alert_4.entry.js +1 -1
  20. package/dist/esm/calcite-combobox_5.entry.js +1 -1
  21. package/dist/esm/calcite-flow_5.entry.js +1 -1
  22. package/dist/esm/card-manager_3.entry.js +18 -17
  23. package/dist/esm/crowdsource-manager.entry.js +1 -1
  24. package/dist/esm/crowdsource-reporter.entry.js +1 -1
  25. package/dist/esm/{downloadUtils-be13a13d.js → downloadUtils-3bab4b5f.js} +2 -2
  26. package/dist/esm/{index.es-623fddee.js → index.es-be703f2b.js} +2 -2
  27. package/dist/esm/loader.js +1 -1
  28. package/dist/esm/map-select-tools_3.entry.js +2 -2
  29. package/dist/esm/{mapViewUtils-a177d4f9.js → mapViewUtils-20504620.js} +4 -8
  30. package/dist/esm/public-notification.entry.js +2 -2
  31. package/dist/esm/solutions-components.js +1 -1
  32. package/dist/solutions-components/p-26764dd7.entry.js +6 -0
  33. package/dist/solutions-components/{p-42233edc.entry.js → p-766c0b57.entry.js} +1 -1
  34. package/dist/solutions-components/{p-2bec3d88.js → p-91d3732f.js} +1 -1
  35. package/dist/solutions-components/{p-0c427d9a.entry.js → p-a4bb0787.entry.js} +1 -1
  36. package/dist/solutions-components/{p-c6af6407.entry.js → p-c05467fd.entry.js} +1 -1
  37. package/dist/solutions-components/p-c897e3eb.js +36 -0
  38. package/dist/solutions-components/{p-9294f273.entry.js → p-d561c970.entry.js} +1 -1
  39. package/dist/solutions-components/{p-dc4fcddc.js → p-d9995b7e.js} +2 -2
  40. package/dist/solutions-components/{p-32adb2cc.entry.js → p-dbb6f1e2.entry.js} +1 -1
  41. package/dist/solutions-components/{p-6fe5e1d5.entry.js → p-e46617d1.entry.js} +2 -2
  42. package/dist/solutions-components/{p-6c86a392.entry.js → p-e8cd89c2.entry.js} +1 -1
  43. package/dist/solutions-components/solutions-components.esm.js +1 -1
  44. package/dist/solutions-components/utils/queryUtils.ts +6 -9
  45. package/dist/types/components/layer-table/layer-table.d.ts +8 -8
  46. package/package.json +1 -1
  47. package/dist/solutions-components/p-3eedaead.js +0 -36
  48. package/dist/solutions-components/p-f053c268.entry.js +0 -6
@@ -9,10 +9,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-105cf2b9.js');
11
11
  const locale = require('./locale-8c42ba7a.js');
12
- const mapViewUtils = require('./mapViewUtils-290dbc9e.js');
12
+ const mapViewUtils = require('./mapViewUtils-3e0fa457.js');
13
13
  const interfaces = require('./interfaces-7cd0a48a.js');
14
14
  const publicNotificationStore = require('./publicNotificationStore-ef379d11.js');
15
- const downloadUtils = require('./downloadUtils-abf7decd.js');
15
+ const downloadUtils = require('./downloadUtils-82bc9a04.js');
16
16
  require('./esri-loader-a91c0ec1.js');
17
17
  require('./_commonjsHelpers-384729db.js');
18
18
  require('./index-ae65e42f.js');
@@ -68,27 +68,23 @@ async function queryFeaturesByID(ids, layer, graphics, returnGeometry, outSpatia
68
68
  var _a;
69
69
  const num = (_a = layer.capabilities) === null || _a === void 0 ? void 0 : _a.query.maxRecordCount;
70
70
  const start = 0;
71
+ if (ids.length === 0) {
72
+ ids = await layer.queryObjectIds();
73
+ }
71
74
  const q = layer.createQuery();
72
- q.start = start;
73
75
  q.returnGeometry = returnGeometry;
74
76
  q.objectIds = ids.slice(start, num);
75
- if (num) {
76
- q.num = num;
77
- }
78
77
  if (outSpatialReference) {
79
78
  q.outSpatialReference = outSpatialReference;
80
79
  }
81
80
  if (fields) {
82
81
  q.outFields = fields;
83
82
  }
84
- if (ids.length === 0) {
85
- ids = await layer.queryObjectIds();
86
- }
87
83
  const result = await layer.queryFeatures(q);
88
84
  graphics = graphics.concat(result.features);
89
85
  const remainingIds = ids.slice(num, ids.length);
90
86
  return remainingIds.length > 0 ?
91
- queryFeaturesByID(remainingIds, layer, graphics, returnGeometry, outSpatialReference) :
87
+ queryFeaturesByID(remainingIds, layer, graphics, returnGeometry, outSpatialReference, fields) :
92
88
  Promise.resolve(graphics);
93
89
  }
94
90
  /**
@@ -10,9 +10,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
10
10
  const index = require('./index-105cf2b9.js');
11
11
  const interfaces = require('./interfaces-7cd0a48a.js');
12
12
  const locale = require('./locale-8c42ba7a.js');
13
- const mapViewUtils = require('./mapViewUtils-290dbc9e.js');
13
+ const mapViewUtils = require('./mapViewUtils-3e0fa457.js');
14
14
  const publicNotificationStore = require('./publicNotificationStore-ef379d11.js');
15
- const downloadUtils = require('./downloadUtils-abf7decd.js');
15
+ const downloadUtils = require('./downloadUtils-82bc9a04.js');
16
16
  require('./esri-loader-a91c0ec1.js');
17
17
  require('./_commonjsHelpers-384729db.js');
18
18
  require('./index-ae65e42f.js');