@esri/solutions-components 0.7.44 → 0.7.45

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) 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 +3 -6
  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 +2 -4
  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 +2 -4
  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 +3 -6
  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-f053c268.entry.js → p-4623754a.entry.js} +1 -1
  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 +4 -4
  46. package/package.json +1 -1
  47. package/dist/solutions-components/p-3eedaead.js +0 -36
@@ -5,10 +5,10 @@
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-164d485a.js';
7
7
  import { a as getComponentClosestLanguage, l as loadModules, g as getLocaleComponentStrings } from './locale-25a5ae3e.js';
8
- import { c as goToSelection, h as highlightFeatures, j as queryObjectIds, k as getQueryGeoms, b as getFeatureLayerView, l as queryFeaturesByGeometry, m as getIdSets, n as highlightAllFeatures } from './mapViewUtils-a177d4f9.js';
8
+ import { c as goToSelection, h as highlightFeatures, j as queryObjectIds, k as getQueryGeoms, b as getFeatureLayerView, l as queryFeaturesByGeometry, m as getIdSets, n as highlightAllFeatures } from './mapViewUtils-20504620.js';
9
9
  import { a as EWorkflowType, e as ESelectionMode, f as EDrawMode } from './interfaces-586e863c.js';
10
10
  import { s as state } from './publicNotificationStore-3bf4de75.js';
11
- import { d as downloadCSV, a as downloadPDF } from './downloadUtils-be13a13d.js';
11
+ import { d as downloadCSV, a as downloadPDF } from './downloadUtils-3bab4b5f.js';
12
12
  import './esri-loader-eda07632.js';
13
13
  import './_commonjsHelpers-d5f9d613.js';
14
14
  import './index-477ea182.js';
@@ -66,27 +66,23 @@ async function queryFeaturesByID(ids, layer, graphics, returnGeometry, outSpatia
66
66
  var _a;
67
67
  const num = (_a = layer.capabilities) === null || _a === void 0 ? void 0 : _a.query.maxRecordCount;
68
68
  const start = 0;
69
+ if (ids.length === 0) {
70
+ ids = await layer.queryObjectIds();
71
+ }
69
72
  const q = layer.createQuery();
70
- q.start = start;
71
73
  q.returnGeometry = returnGeometry;
72
74
  q.objectIds = ids.slice(start, num);
73
- if (num) {
74
- q.num = num;
75
- }
76
75
  if (outSpatialReference) {
77
76
  q.outSpatialReference = outSpatialReference;
78
77
  }
79
78
  if (fields) {
80
79
  q.outFields = fields;
81
80
  }
82
- if (ids.length === 0) {
83
- ids = await layer.queryObjectIds();
84
- }
85
81
  const result = await layer.queryFeatures(q);
86
82
  graphics = graphics.concat(result.features);
87
83
  const remainingIds = ids.slice(num, ids.length);
88
84
  return remainingIds.length > 0 ?
89
- queryFeaturesByID(remainingIds, layer, graphics, returnGeometry, outSpatialReference) :
85
+ queryFeaturesByID(remainingIds, layer, graphics, returnGeometry, outSpatialReference, fields) :
90
86
  Promise.resolve(graphics);
91
87
  }
92
88
  /**
@@ -6,9 +6,9 @@
6
6
  import { r as registerInstance, c as createEvent, a as getAssetPath, h, H as Host, g as getElement } from './index-164d485a.js';
7
7
  import { b as EExportType, c as EPageType, a as EWorkflowType } from './interfaces-586e863c.js';
8
8
  import { l as loadModules, g as getLocaleComponentStrings } from './locale-25a5ae3e.js';
9
- import { c as goToSelection, h as highlightFeatures } from './mapViewUtils-a177d4f9.js';
9
+ import { c as goToSelection, h as highlightFeatures } from './mapViewUtils-20504620.js';
10
10
  import { s as state } from './publicNotificationStore-3bf4de75.js';
11
- import { c as consolidateLabels, r as removeDuplicateLabels } from './downloadUtils-be13a13d.js';
11
+ import { c as consolidateLabels, r as removeDuplicateLabels } from './downloadUtils-3bab4b5f.js';
12
12
  import './esri-loader-eda07632.js';
13
13
  import './_commonjsHelpers-d5f9d613.js';
14
14
  import './index-477ea182.js';