@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.
- package/dist/cjs/calcite-alert_4.cjs.entry.js +1 -1
- package/dist/cjs/calcite-combobox_5.cjs.entry.js +1 -1
- package/dist/cjs/calcite-flow_5.cjs.entry.js +1 -1
- package/dist/cjs/card-manager_3.cjs.entry.js +3 -6
- package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/{downloadUtils-abf7decd.js → downloadUtils-82bc9a04.js} +2 -2
- package/dist/cjs/{index.es-478ec781.js → index.es-79d8773c.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +2 -2
- package/dist/cjs/{mapViewUtils-290dbc9e.js → mapViewUtils-3e0fa457.js} +4 -8
- package/dist/cjs/public-notification.cjs.entry.js +2 -2
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +2 -4
- package/dist/collection/utils/queryUtils.js +4 -8
- package/dist/collection/utils/queryUtils.ts +6 -9
- package/dist/components/layer-table2.js +2 -4
- package/dist/components/queryUtils.js +4 -8
- package/dist/esm/calcite-alert_4.entry.js +1 -1
- package/dist/esm/calcite-combobox_5.entry.js +1 -1
- package/dist/esm/calcite-flow_5.entry.js +1 -1
- package/dist/esm/card-manager_3.entry.js +3 -6
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/{downloadUtils-be13a13d.js → downloadUtils-3bab4b5f.js} +2 -2
- package/dist/esm/{index.es-623fddee.js → index.es-be703f2b.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +2 -2
- package/dist/esm/{mapViewUtils-a177d4f9.js → mapViewUtils-20504620.js} +4 -8
- package/dist/esm/public-notification.entry.js +2 -2
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/{p-f053c268.entry.js → p-4623754a.entry.js} +1 -1
- package/dist/solutions-components/{p-42233edc.entry.js → p-766c0b57.entry.js} +1 -1
- package/dist/solutions-components/{p-2bec3d88.js → p-91d3732f.js} +1 -1
- package/dist/solutions-components/{p-0c427d9a.entry.js → p-a4bb0787.entry.js} +1 -1
- package/dist/solutions-components/{p-c6af6407.entry.js → p-c05467fd.entry.js} +1 -1
- package/dist/solutions-components/p-c897e3eb.js +36 -0
- package/dist/solutions-components/{p-9294f273.entry.js → p-d561c970.entry.js} +1 -1
- package/dist/solutions-components/{p-dc4fcddc.js → p-d9995b7e.js} +2 -2
- package/dist/solutions-components/{p-32adb2cc.entry.js → p-dbb6f1e2.entry.js} +1 -1
- package/dist/solutions-components/{p-6fe5e1d5.entry.js → p-e46617d1.entry.js} +2 -2
- package/dist/solutions-components/{p-6c86a392.entry.js → p-e8cd89c2.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/queryUtils.ts +6 -9
- package/dist/types/components/layer-table/layer-table.d.ts +4 -4
- package/package.json +1 -1
- package/dist/solutions-components/p-3eedaead.js +0 -36
@@ -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-
|
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-
|
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-
|
13
|
+
const mapViewUtils = require('./mapViewUtils-3e0fa457.js');
|
14
14
|
const publicNotificationStore = require('./publicNotificationStore-ef379d11.js');
|
15
|
-
const downloadUtils = require('./downloadUtils-
|
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');
|