@esri/solutions-components 0.8.62 → 0.8.64
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 +2 -2
- package/dist/cjs/card-manager_3.cjs.entry.js +10 -4
- package/dist/cjs/{downloadUtils-85009d64.js → downloadUtils-08f9ebbd.js} +3 -4
- package/dist/cjs/feature-list.cjs.entry.js +2 -2
- package/dist/cjs/{index.es-cc49d45d.js → index.es-ca867656.js} +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +2 -3
- package/dist/cjs/{popupUtils-fe880b9e.js → popupUtils-50b3c196.js} +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +9 -3
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -2
- package/dist/collection/demos/crowdsource-manager.html +2 -2
- package/dist/collection/utils/downloadUtils.js +2 -3
- package/dist/collection/utils/downloadUtils.ts +2 -3
- package/dist/components/downloadUtils.js +2 -3
- package/dist/components/layer-table2.js +9 -3
- package/dist/components/map-select-tools2.js +1 -2
- package/dist/esm/calcite-alert_4.entry.js +2 -2
- package/dist/esm/card-manager_3.entry.js +10 -4
- package/dist/esm/{downloadUtils-f2c49e23.js → downloadUtils-f6e2a736.js} +3 -4
- package/dist/esm/feature-list.entry.js +2 -2
- package/dist/esm/{index.es-680dba03.js → index.es-89f753c1.js} +1 -1
- package/dist/esm/map-select-tools_3.entry.js +2 -3
- package/dist/esm/{popupUtils-21b9dbe5.js → popupUtils-ecec5e6d.js} +1 -1
- package/dist/esm/public-notification.entry.js +1 -1
- package/dist/solutions-components/demos/crowdsource-manager.html +2 -2
- package/dist/solutions-components/{p-2fb21ae5.js → p-09f79715.js} +1 -1
- package/dist/solutions-components/{p-72347474.entry.js → p-48ab80c3.entry.js} +1 -1
- package/dist/solutions-components/{p-17946a3f.js → p-593036f3.js} +2 -2
- package/dist/solutions-components/{p-14900698.entry.js → p-75ecff1b.entry.js} +1 -1
- package/dist/solutions-components/{p-8100a48d.entry.js → p-b9e32214.entry.js} +1 -1
- package/dist/solutions-components/p-bba41eec.entry.js +6 -0
- package/dist/solutions-components/p-d9e2418c.entry.js +6 -0
- package/dist/solutions-components/{p-75cb415f.js → p-f82d09d2.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +2 -3
- package/dist/types/components/layer-table/layer-table.d.ts +4 -0
- package/package.json +1 -1
- package/dist/solutions-components/p-1d285ae1.entry.js +0 -6
- package/dist/solutions-components/p-cd8d6e52.entry.js +0 -6
@@ -17,7 +17,7 @@ const t9n = require('./t9n-ef615628.js');
|
|
17
17
|
const resources = require('./resources-6146eb17.js');
|
18
18
|
const locale$1 = require('./locale-31289fc5.js');
|
19
19
|
const mapViewUtils = require('./mapViewUtils-78b14528.js');
|
20
|
-
const popupUtils = require('./popupUtils-
|
20
|
+
const popupUtils = require('./popupUtils-50b3c196.js');
|
21
21
|
require('./guid-a7528dfa.js');
|
22
22
|
require('./resources-1c0e54c1.js');
|
23
23
|
require('./key-7ed07912.js');
|
@@ -25,7 +25,7 @@ require('./observers-2a59d471.js');
|
|
25
25
|
require('./esri-loader-08dc41bd.js');
|
26
26
|
require('./_commonjsHelpers-baf43783.js');
|
27
27
|
require('./interfaces-7cd0a48a.js');
|
28
|
-
require('./downloadUtils-
|
28
|
+
require('./downloadUtils-08f9ebbd.js');
|
29
29
|
require('./solution-resource-a09a6fe0.js');
|
30
30
|
require('./index-f64944ad.js');
|
31
31
|
require('./restHelpersGet-be451f4a.js');
|
@@ -10,7 +10,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
10
10
|
const index = require('./index-ff18be0d.js');
|
11
11
|
const locale = require('./locale-31289fc5.js');
|
12
12
|
const mapViewUtils = require('./mapViewUtils-78b14528.js');
|
13
|
-
const downloadUtils = require('./downloadUtils-
|
13
|
+
const downloadUtils = require('./downloadUtils-08f9ebbd.js');
|
14
14
|
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
16
16
|
require('./interfaces-7cd0a48a.js');
|
@@ -138,6 +138,10 @@ const LayerTable = class {
|
|
138
138
|
* boolean: When true the observer has been set and we don't need to set it again
|
139
139
|
*/
|
140
140
|
this._observerSet = false;
|
141
|
+
/**
|
142
|
+
* boolean: When true the current selection was done via the map and we will ignore shift->Select
|
143
|
+
*/
|
144
|
+
this._selectionFromMap = false;
|
141
145
|
/**
|
142
146
|
* boolean: When true the shift key is currently pressed
|
143
147
|
*/
|
@@ -419,7 +423,7 @@ const LayerTable = class {
|
|
419
423
|
const selected = this.selectedIds.length.toString();
|
420
424
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
421
425
|
this._validateActiveActions();
|
422
|
-
return (index.h(index.Host, { key: '
|
426
|
+
return (index.h(index.Host, { key: '547a08c45cc3a0b0bdb5ab841ee202d2d43018dc' }, index.h("calcite-shell", { key: '7ac39e863586727df7685eb5c3faffd87c46bf9d' }, this._getTableControlRow("header"), index.h("div", { key: '322dc4820b17365f3f202ce43d85330d25081eb5', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: '764955f3cf9371a5ff554821613fffbc9e0bd705', class: "height-full width-full" }, index.h("calcite-loader", { key: '031fc6520de11b166111626501f0208f1b69c9ff', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '8d62258ee356fdf6bc6c03f88848a32270ce5eed', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
423
427
|
.replace("{{total}}", total)
|
424
428
|
.replace("{{selected}}", selected))) : undefined)), this._filterModal()));
|
425
429
|
}
|
@@ -996,7 +1000,7 @@ const LayerTable = class {
|
|
996
1000
|
async _handleOnChange(evt) {
|
997
1001
|
const ids = [...this._table.highlightIds.toArray()];
|
998
1002
|
if (!this._skipOnChange) {
|
999
|
-
if (!this._ctrlIsPressed && !this._shiftIsPressed) {
|
1003
|
+
if ((!this._ctrlIsPressed && !this._shiftIsPressed) || (this._selectionFromMap && this._shiftIsPressed)) {
|
1000
1004
|
if (this.selectedIds.length > 0) {
|
1001
1005
|
this._skipOnChange = true;
|
1002
1006
|
// only readd in specific case where we have multiple selected and then click one of the currently selected
|
@@ -1019,7 +1023,7 @@ const LayerTable = class {
|
|
1019
1023
|
else if (this._ctrlIsPressed) {
|
1020
1024
|
this.selectedIds = ids.reverse();
|
1021
1025
|
}
|
1022
|
-
else if (this._shiftIsPressed) {
|
1026
|
+
else if (this._shiftIsPressed && (ids === null || ids === void 0 ? void 0 : ids.length) > 0) {
|
1023
1027
|
this._skipOnChange = true;
|
1024
1028
|
this._previousCurrentId = this._currentId;
|
1025
1029
|
this._currentId = [...ids].reverse()[0];
|
@@ -1063,6 +1067,7 @@ const LayerTable = class {
|
|
1063
1067
|
this._skipOnChange = false;
|
1064
1068
|
}
|
1065
1069
|
this._currentId = [...this._table.highlightIds.toArray()].reverse()[0];
|
1070
|
+
this._selectionFromMap = false;
|
1066
1071
|
}
|
1067
1072
|
/**
|
1068
1073
|
* Handle any updates after a selection change has occured and emit the results
|
@@ -1376,6 +1381,7 @@ const LayerTable = class {
|
|
1376
1381
|
const id = result.graphic.getObjectId();
|
1377
1382
|
const index = this._table.highlightIds.indexOf(id);
|
1378
1383
|
if (index < 0) {
|
1384
|
+
this._selectionFromMap = true;
|
1379
1385
|
this._table.highlightIds.add(id);
|
1380
1386
|
}
|
1381
1387
|
});
|
@@ -1512,7 +1512,7 @@ function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++
|
|
1512
1512
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1513
1513
|
* ====================================================================
|
1514
1514
|
*/
|
1515
|
-
function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-
|
1515
|
+
function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):Promise.resolve().then(function () { return require('./index.es-ca867656.js'); })).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}E.API.addSvgAsImage=function(t,r,n,i,o,s,c,u){if(isNaN(r)||isNaN(n))throw a.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw a.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var h=document.createElement("canvas");h.width=i,h.height=o;var l=h.getContext("2d");l.fillStyle="#fff",l.fillRect(0,0,h.width,h.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return e().then((function(e){return e.fromString(l,t,f)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(f)})).then((function(){d.addImage(h.toDataURL("image/jpeg",1),r,n,i,o,c,u);}))};}(),E.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},E.API.viewerPreferences=function(e,r){var n;e=e||{},r=r||!1;var i,a,o,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},c=Object.keys(s),u=[],h=0,l=0,f=0;function d(t,e){var r,n=!1;for(r=0;r<t.length;r+=1)t[r]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===r){var p=c.length;for(f=0;f<p;f+=1)n[c[f]].value=n[c[f]].defaultValue,n[c[f]].explicitSet=!1;}if("object"===t(e))for(a in e)if(o=e[a],d(c,a)&&void 0!==o){if("boolean"===n[a].type&&"boolean"==typeof o)n[a].value=o;else if("name"===n[a].type&&d(n[a].valueSet,o))n[a].value=o;else if("integer"===n[a].type&&Number.isInteger(o))n[a].value=o;else if("array"===n[a].type){for(h=0;h<o.length;h+=1)if(i=!0,1===o[h].length&&"number"==typeof o[h][0])u.push(String(o[h]-1));else if(o[h].length>1){for(l=0;l<o[h].length;l+=1)"number"!=typeof o[h][l]&&(i=!1);!0===i&&u.push([o[h][0]-1,o[h][1]-1].join(" "));}n[a].value="["+u.join(" ")+"]";}else n[a].value=n[a].defaultValue;n[a].explicitSet=!0;}return !1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in n)!0===n[t].explicitSet&&("name"===n[t].type?e.push("/"+t+" /"+n[t].value):e.push("/"+t+" "+n[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>");})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},
|
1516
1516
|
/** ====================================================================
|
1517
1517
|
* @license
|
1518
1518
|
* jsPDF XMP metadata plugin
|
@@ -2937,9 +2937,8 @@ function _prepareAttributeValue(attributeValue, attributeType, attributeDomain,
|
|
2937
2937
|
value = intl.formatNumber(value, numberFormatIntlOptions);
|
2938
2938
|
}
|
2939
2939
|
else {
|
2940
|
-
value = intl.formatNumber(value, {
|
2941
|
-
maximumFractionDigits: 100
|
2942
|
-
maximumSignificantDigits: 21
|
2940
|
+
value = intl.formatNumber(value === null || value === void 0 ? void 0 : value.toString(), {
|
2941
|
+
maximumFractionDigits: 100
|
2943
2942
|
});
|
2944
2943
|
}
|
2945
2944
|
break;
|
@@ -9,11 +9,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
10
10
|
const index = require('./index-ff18be0d.js');
|
11
11
|
const locale = require('./locale-31289fc5.js');
|
12
|
-
const popupUtils = require('./popupUtils-
|
12
|
+
const popupUtils = require('./popupUtils-50b3c196.js');
|
13
13
|
const mapViewUtils = require('./mapViewUtils-78b14528.js');
|
14
14
|
require('./esri-loader-08dc41bd.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
16
|
-
require('./downloadUtils-
|
16
|
+
require('./downloadUtils-08f9ebbd.js');
|
17
17
|
require('./solution-resource-a09a6fe0.js');
|
18
18
|
require('./index-f64944ad.js');
|
19
19
|
require('./restHelpersGet-be451f4a.js');
|
@@ -6,7 +6,7 @@
|
|
6
6
|
'use strict';
|
7
7
|
|
8
8
|
const _commonjsHelpers = require('./_commonjsHelpers-baf43783.js');
|
9
|
-
const downloadUtils = require('./downloadUtils-
|
9
|
+
const downloadUtils = require('./downloadUtils-08f9ebbd.js');
|
10
10
|
require('./index-ff18be0d.js');
|
11
11
|
require('./locale-31289fc5.js');
|
12
12
|
require('./esri-loader-08dc41bd.js');
|
@@ -12,7 +12,7 @@ const locale = require('./locale-31289fc5.js');
|
|
12
12
|
const mapViewUtils = require('./mapViewUtils-78b14528.js');
|
13
13
|
const interfaces = require('./interfaces-7cd0a48a.js');
|
14
14
|
const publicNotificationStore = require('./publicNotificationStore-691f6f30.js');
|
15
|
-
const downloadUtils = require('./downloadUtils-
|
15
|
+
const downloadUtils = require('./downloadUtils-08f9ebbd.js');
|
16
16
|
require('./esri-loader-08dc41bd.js');
|
17
17
|
require('./_commonjsHelpers-baf43783.js');
|
18
18
|
require('./index-97020c9d.js');
|
@@ -375,10 +375,9 @@ const MapSelectTools = class {
|
|
375
375
|
* @protected
|
376
376
|
*/
|
377
377
|
_getSearchConfig(searchConfiguration, view) {
|
378
|
-
const INCLUDE_DEFAULT_SOURCES = "includeDefaultSources";
|
379
378
|
const sources = searchConfiguration === null || searchConfiguration === void 0 ? void 0 : searchConfiguration.sources;
|
380
379
|
if ((sources === null || sources === void 0 ? void 0 : sources.length) > 0) {
|
381
|
-
searchConfiguration
|
380
|
+
searchConfiguration = Object.assign(Object.assign({}, searchConfiguration), { includeDefaultSources: false });
|
382
381
|
sources.forEach((source) => {
|
383
382
|
var _a, _b;
|
384
383
|
const isLayerSource = source.hasOwnProperty("layer");
|
@@ -12,7 +12,7 @@ const interfaces = require('./interfaces-7cd0a48a.js');
|
|
12
12
|
const locale = require('./locale-31289fc5.js');
|
13
13
|
const mapViewUtils = require('./mapViewUtils-78b14528.js');
|
14
14
|
const publicNotificationStore = require('./publicNotificationStore-691f6f30.js');
|
15
|
-
const downloadUtils = require('./downloadUtils-
|
15
|
+
const downloadUtils = require('./downloadUtils-08f9ebbd.js');
|
16
16
|
require('./esri-loader-08dc41bd.js');
|
17
17
|
require('./_commonjsHelpers-baf43783.js');
|
18
18
|
require('./index-97020c9d.js');
|
@@ -51,6 +51,10 @@ export class LayerTable {
|
|
51
51
|
* boolean: When true the observer has been set and we don't need to set it again
|
52
52
|
*/
|
53
53
|
this._observerSet = false;
|
54
|
+
/**
|
55
|
+
* boolean: When true the current selection was done via the map and we will ignore shift->Select
|
56
|
+
*/
|
57
|
+
this._selectionFromMap = false;
|
54
58
|
/**
|
55
59
|
* boolean: When true the shift key is currently pressed
|
56
60
|
*/
|
@@ -332,7 +336,7 @@ export class LayerTable {
|
|
332
336
|
const selected = this.selectedIds.length.toString();
|
333
337
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
334
338
|
this._validateActiveActions();
|
335
|
-
return (h(Host, { key: '
|
339
|
+
return (h(Host, { key: '547a08c45cc3a0b0bdb5ab841ee202d2d43018dc' }, h("calcite-shell", { key: '7ac39e863586727df7685eb5c3faffd87c46bf9d' }, this._getTableControlRow("header"), h("div", { key: '322dc4820b17365f3f202ce43d85330d25081eb5', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '764955f3cf9371a5ff554821613fffbc9e0bd705', class: "height-full width-full" }, h("calcite-loader", { key: '031fc6520de11b166111626501f0208f1b69c9ff', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '8d62258ee356fdf6bc6c03f88848a32270ce5eed', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
336
340
|
.replace("{{total}}", total)
|
337
341
|
.replace("{{selected}}", selected))) : undefined)), this._filterModal()));
|
338
342
|
}
|
@@ -909,7 +913,7 @@ export class LayerTable {
|
|
909
913
|
async _handleOnChange(evt) {
|
910
914
|
const ids = [...this._table.highlightIds.toArray()];
|
911
915
|
if (!this._skipOnChange) {
|
912
|
-
if (!this._ctrlIsPressed && !this._shiftIsPressed) {
|
916
|
+
if ((!this._ctrlIsPressed && !this._shiftIsPressed) || (this._selectionFromMap && this._shiftIsPressed)) {
|
913
917
|
if (this.selectedIds.length > 0) {
|
914
918
|
this._skipOnChange = true;
|
915
919
|
// only readd in specific case where we have multiple selected and then click one of the currently selected
|
@@ -932,7 +936,7 @@ export class LayerTable {
|
|
932
936
|
else if (this._ctrlIsPressed) {
|
933
937
|
this.selectedIds = ids.reverse();
|
934
938
|
}
|
935
|
-
else if (this._shiftIsPressed) {
|
939
|
+
else if (this._shiftIsPressed && (ids === null || ids === void 0 ? void 0 : ids.length) > 0) {
|
936
940
|
this._skipOnChange = true;
|
937
941
|
this._previousCurrentId = this._currentId;
|
938
942
|
this._currentId = [...ids].reverse()[0];
|
@@ -976,6 +980,7 @@ export class LayerTable {
|
|
976
980
|
this._skipOnChange = false;
|
977
981
|
}
|
978
982
|
this._currentId = [...this._table.highlightIds.toArray()].reverse()[0];
|
983
|
+
this._selectionFromMap = false;
|
979
984
|
}
|
980
985
|
/**
|
981
986
|
* Handle any updates after a selection change has occured and emit the results
|
@@ -1289,6 +1294,7 @@ export class LayerTable {
|
|
1289
1294
|
const id = result.graphic.getObjectId();
|
1290
1295
|
const index = this._table.highlightIds.indexOf(id);
|
1291
1296
|
if (index < 0) {
|
1297
|
+
this._selectionFromMap = true;
|
1292
1298
|
this._table.highlightIds.add(id);
|
1293
1299
|
}
|
1294
1300
|
});
|
@@ -375,10 +375,9 @@ export class MapSelectTools {
|
|
375
375
|
* @protected
|
376
376
|
*/
|
377
377
|
_getSearchConfig(searchConfiguration, view) {
|
378
|
-
const INCLUDE_DEFAULT_SOURCES = "includeDefaultSources";
|
379
378
|
const sources = searchConfiguration === null || searchConfiguration === void 0 ? void 0 : searchConfiguration.sources;
|
380
379
|
if ((sources === null || sources === void 0 ? void 0 : sources.length) > 0) {
|
381
|
-
searchConfiguration
|
380
|
+
searchConfiguration = Object.assign(Object.assign({}, searchConfiguration), { includeDefaultSources: false });
|
382
381
|
sources.forEach((source) => {
|
383
382
|
var _a, _b;
|
384
383
|
const isLayerSource = source.hasOwnProperty("layer");
|
@@ -617,9 +617,8 @@ export function _prepareAttributeValue(attributeValue, attributeType, attributeD
|
|
617
617
|
value = intl.formatNumber(value, numberFormatIntlOptions);
|
618
618
|
}
|
619
619
|
else {
|
620
|
-
value = intl.formatNumber(value, {
|
621
|
-
maximumFractionDigits: 100
|
622
|
-
maximumSignificantDigits: 21
|
620
|
+
value = intl.formatNumber(value === null || value === void 0 ? void 0 : value.toString(), {
|
621
|
+
maximumFractionDigits: 100
|
623
622
|
});
|
624
623
|
}
|
625
624
|
break;
|
@@ -859,9 +859,8 @@ export function _prepareAttributeValue(
|
|
859
859
|
const numberFormatIntlOptions = intl.convertNumberFormatToIntlOptions(attributeFormat)
|
860
860
|
value = intl.formatNumber(value, numberFormatIntlOptions);
|
861
861
|
} else {
|
862
|
-
value = intl.formatNumber(value, {
|
863
|
-
maximumFractionDigits: 100
|
864
|
-
maximumSignificantDigits: 21
|
862
|
+
value = intl.formatNumber(value?.toString(), {
|
863
|
+
maximumFractionDigits: 100
|
865
864
|
});
|
866
865
|
}
|
867
866
|
break;
|
@@ -2935,9 +2935,8 @@ function _prepareAttributeValue(attributeValue, attributeType, attributeDomain,
|
|
2935
2935
|
value = intl.formatNumber(value, numberFormatIntlOptions);
|
2936
2936
|
}
|
2937
2937
|
else {
|
2938
|
-
value = intl.formatNumber(value, {
|
2939
|
-
maximumFractionDigits: 100
|
2940
|
-
maximumSignificantDigits: 21
|
2938
|
+
value = intl.formatNumber(value === null || value === void 0 ? void 0 : value.toString(), {
|
2939
|
+
maximumFractionDigits: 100
|
2941
2940
|
});
|
2942
2941
|
}
|
2943
2942
|
break;
|
@@ -81,6 +81,10 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
81
81
|
* boolean: When true the observer has been set and we don't need to set it again
|
82
82
|
*/
|
83
83
|
this._observerSet = false;
|
84
|
+
/**
|
85
|
+
* boolean: When true the current selection was done via the map and we will ignore shift->Select
|
86
|
+
*/
|
87
|
+
this._selectionFromMap = false;
|
84
88
|
/**
|
85
89
|
* boolean: When true the shift key is currently pressed
|
86
90
|
*/
|
@@ -362,7 +366,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
362
366
|
const selected = this.selectedIds.length.toString();
|
363
367
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
364
368
|
this._validateActiveActions();
|
365
|
-
return (h(Host, { key: '
|
369
|
+
return (h(Host, { key: '547a08c45cc3a0b0bdb5ab841ee202d2d43018dc' }, h("calcite-shell", { key: '7ac39e863586727df7685eb5c3faffd87c46bf9d' }, this._getTableControlRow("header"), h("div", { key: '322dc4820b17365f3f202ce43d85330d25081eb5', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '764955f3cf9371a5ff554821613fffbc9e0bd705', class: "height-full width-full" }, h("calcite-loader", { key: '031fc6520de11b166111626501f0208f1b69c9ff', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '8d62258ee356fdf6bc6c03f88848a32270ce5eed', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
366
370
|
.replace("{{total}}", total)
|
367
371
|
.replace("{{selected}}", selected))) : undefined)), this._filterModal()));
|
368
372
|
}
|
@@ -939,7 +943,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
939
943
|
async _handleOnChange(evt) {
|
940
944
|
const ids = [...this._table.highlightIds.toArray()];
|
941
945
|
if (!this._skipOnChange) {
|
942
|
-
if (!this._ctrlIsPressed && !this._shiftIsPressed) {
|
946
|
+
if ((!this._ctrlIsPressed && !this._shiftIsPressed) || (this._selectionFromMap && this._shiftIsPressed)) {
|
943
947
|
if (this.selectedIds.length > 0) {
|
944
948
|
this._skipOnChange = true;
|
945
949
|
// only readd in specific case where we have multiple selected and then click one of the currently selected
|
@@ -962,7 +966,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
962
966
|
else if (this._ctrlIsPressed) {
|
963
967
|
this.selectedIds = ids.reverse();
|
964
968
|
}
|
965
|
-
else if (this._shiftIsPressed) {
|
969
|
+
else if (this._shiftIsPressed && (ids === null || ids === void 0 ? void 0 : ids.length) > 0) {
|
966
970
|
this._skipOnChange = true;
|
967
971
|
this._previousCurrentId = this._currentId;
|
968
972
|
this._currentId = [...ids].reverse()[0];
|
@@ -1006,6 +1010,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1006
1010
|
this._skipOnChange = false;
|
1007
1011
|
}
|
1008
1012
|
this._currentId = [...this._table.highlightIds.toArray()].reverse()[0];
|
1013
|
+
this._selectionFromMap = false;
|
1009
1014
|
}
|
1010
1015
|
/**
|
1011
1016
|
* Handle any updates after a selection change has occured and emit the results
|
@@ -1319,6 +1324,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1319
1324
|
const id = result.graphic.getObjectId();
|
1320
1325
|
const index = this._table.highlightIds.indexOf(id);
|
1321
1326
|
if (index < 0) {
|
1327
|
+
this._selectionFromMap = true;
|
1322
1328
|
this._table.highlightIds.add(id);
|
1323
1329
|
}
|
1324
1330
|
});
|
@@ -392,10 +392,9 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
|
|
392
392
|
* @protected
|
393
393
|
*/
|
394
394
|
_getSearchConfig(searchConfiguration, view) {
|
395
|
-
const INCLUDE_DEFAULT_SOURCES = "includeDefaultSources";
|
396
395
|
const sources = searchConfiguration === null || searchConfiguration === void 0 ? void 0 : searchConfiguration.sources;
|
397
396
|
if ((sources === null || sources === void 0 ? void 0 : sources.length) > 0) {
|
398
|
-
searchConfiguration
|
397
|
+
searchConfiguration = Object.assign(Object.assign({}, searchConfiguration), { includeDefaultSources: false });
|
399
398
|
sources.forEach((source) => {
|
400
399
|
var _a, _b;
|
401
400
|
const isLayerSource = source.hasOwnProperty("layer");
|
@@ -13,7 +13,7 @@ import { c as connectMessages, s as setUpMessages, d as disconnectMessages, u as
|
|
13
13
|
import { K as KindIcons } from './resources-ae36eaff.js';
|
14
14
|
import { g as getLocaleComponentStrings, l as loadModules } from './locale-4adfc8cf.js';
|
15
15
|
import { a as getAllLayers } from './mapViewUtils-e3de60cc.js';
|
16
|
-
import { P as PopupUtils } from './popupUtils-
|
16
|
+
import { P as PopupUtils } from './popupUtils-ecec5e6d.js';
|
17
17
|
import './guid-f05d01d5.js';
|
18
18
|
import './resources-1febf4c6.js';
|
19
19
|
import './key-092b6260.js';
|
@@ -21,7 +21,7 @@ import './observers-fcb1c07b.js';
|
|
21
21
|
import './esri-loader-c6842c6b.js';
|
22
22
|
import './_commonjsHelpers-089957fe.js';
|
23
23
|
import './interfaces-586e863c.js';
|
24
|
-
import './downloadUtils-
|
24
|
+
import './downloadUtils-f6e2a736.js';
|
25
25
|
import './solution-resource-3108caf7.js';
|
26
26
|
import './index-a1e91462.js';
|
27
27
|
import './restHelpersGet-5c822bcd.js';
|
@@ -6,7 +6,7 @@
|
|
6
6
|
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-83b693bc.js';
|
7
7
|
import { g as getLocaleComponentStrings, l as loadModules } from './locale-4adfc8cf.js';
|
8
8
|
import { q as queryFeaturesByID, g as getLayerOrTable, e as goToSelection, f as queryAllIds, i as queryAllOidsWithQueryFeatures, j as queryFeaturesByGlobalID, c as getFeatureLayerView } from './mapViewUtils-e3de60cc.js';
|
9
|
-
import { d as downloadCSV } from './downloadUtils-
|
9
|
+
import { d as downloadCSV } from './downloadUtils-f6e2a736.js';
|
10
10
|
import './esri-loader-c6842c6b.js';
|
11
11
|
import './_commonjsHelpers-089957fe.js';
|
12
12
|
import './interfaces-586e863c.js';
|
@@ -134,6 +134,10 @@ const LayerTable = class {
|
|
134
134
|
* boolean: When true the observer has been set and we don't need to set it again
|
135
135
|
*/
|
136
136
|
this._observerSet = false;
|
137
|
+
/**
|
138
|
+
* boolean: When true the current selection was done via the map and we will ignore shift->Select
|
139
|
+
*/
|
140
|
+
this._selectionFromMap = false;
|
137
141
|
/**
|
138
142
|
* boolean: When true the shift key is currently pressed
|
139
143
|
*/
|
@@ -415,7 +419,7 @@ const LayerTable = class {
|
|
415
419
|
const selected = this.selectedIds.length.toString();
|
416
420
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
417
421
|
this._validateActiveActions();
|
418
|
-
return (h(Host, { key: '
|
422
|
+
return (h(Host, { key: '547a08c45cc3a0b0bdb5ab841ee202d2d43018dc' }, h("calcite-shell", { key: '7ac39e863586727df7685eb5c3faffd87c46bf9d' }, this._getTableControlRow("header"), h("div", { key: '322dc4820b17365f3f202ce43d85330d25081eb5', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '764955f3cf9371a5ff554821613fffbc9e0bd705', class: "height-full width-full" }, h("calcite-loader", { key: '031fc6520de11b166111626501f0208f1b69c9ff', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '8d62258ee356fdf6bc6c03f88848a32270ce5eed', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
419
423
|
.replace("{{total}}", total)
|
420
424
|
.replace("{{selected}}", selected))) : undefined)), this._filterModal()));
|
421
425
|
}
|
@@ -992,7 +996,7 @@ const LayerTable = class {
|
|
992
996
|
async _handleOnChange(evt) {
|
993
997
|
const ids = [...this._table.highlightIds.toArray()];
|
994
998
|
if (!this._skipOnChange) {
|
995
|
-
if (!this._ctrlIsPressed && !this._shiftIsPressed) {
|
999
|
+
if ((!this._ctrlIsPressed && !this._shiftIsPressed) || (this._selectionFromMap && this._shiftIsPressed)) {
|
996
1000
|
if (this.selectedIds.length > 0) {
|
997
1001
|
this._skipOnChange = true;
|
998
1002
|
// only readd in specific case where we have multiple selected and then click one of the currently selected
|
@@ -1015,7 +1019,7 @@ const LayerTable = class {
|
|
1015
1019
|
else if (this._ctrlIsPressed) {
|
1016
1020
|
this.selectedIds = ids.reverse();
|
1017
1021
|
}
|
1018
|
-
else if (this._shiftIsPressed) {
|
1022
|
+
else if (this._shiftIsPressed && (ids === null || ids === void 0 ? void 0 : ids.length) > 0) {
|
1019
1023
|
this._skipOnChange = true;
|
1020
1024
|
this._previousCurrentId = this._currentId;
|
1021
1025
|
this._currentId = [...ids].reverse()[0];
|
@@ -1059,6 +1063,7 @@ const LayerTable = class {
|
|
1059
1063
|
this._skipOnChange = false;
|
1060
1064
|
}
|
1061
1065
|
this._currentId = [...this._table.highlightIds.toArray()].reverse()[0];
|
1066
|
+
this._selectionFromMap = false;
|
1062
1067
|
}
|
1063
1068
|
/**
|
1064
1069
|
* Handle any updates after a selection change has occured and emit the results
|
@@ -1372,6 +1377,7 @@ const LayerTable = class {
|
|
1372
1377
|
const id = result.graphic.getObjectId();
|
1373
1378
|
const index = this._table.highlightIds.indexOf(id);
|
1374
1379
|
if (index < 0) {
|
1380
|
+
this._selectionFromMap = true;
|
1375
1381
|
this._table.highlightIds.add(id);
|
1376
1382
|
}
|
1377
1383
|
});
|
@@ -1510,7 +1510,7 @@ function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++
|
|
1510
1510
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1511
1511
|
* ====================================================================
|
1512
1512
|
*/
|
1513
|
-
function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):import('./index.es-
|
1513
|
+
function(t){function e(){return (n.canvg?Promise.resolve(n.canvg):import('./index.es-89f753c1.js')).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}E.API.addSvgAsImage=function(t,r,n,i,o,s,c,u){if(isNaN(r)||isNaN(n))throw a.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(o))throw a.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var h=document.createElement("canvas");h.width=i,h.height=o;var l=h.getContext("2d");l.fillStyle="#fff",l.fillRect(0,0,h.width,h.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return e().then((function(e){return e.fromString(l,t,f)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(f)})).then((function(){d.addImage(h.toDataURL("image/jpeg",1),r,n,i,o,c,u);}))};}(),E.API.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this},E.API.viewerPreferences=function(e,r){var n;e=e||{},r=r||!1;var i,a,o,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},c=Object.keys(s),u=[],h=0,l=0,f=0;function d(t,e){var r,n=!1;for(r=0;r<t.length;r+=1)t[r]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,"reset"===e||!0===r){var p=c.length;for(f=0;f<p;f+=1)n[c[f]].value=n[c[f]].defaultValue,n[c[f]].explicitSet=!1;}if("object"===t(e))for(a in e)if(o=e[a],d(c,a)&&void 0!==o){if("boolean"===n[a].type&&"boolean"==typeof o)n[a].value=o;else if("name"===n[a].type&&d(n[a].valueSet,o))n[a].value=o;else if("integer"===n[a].type&&Number.isInteger(o))n[a].value=o;else if("array"===n[a].type){for(h=0;h<o.length;h+=1)if(i=!0,1===o[h].length&&"number"==typeof o[h][0])u.push(String(o[h]-1));else if(o[h].length>1){for(l=0;l<o[h].length;l+=1)"number"!=typeof o[h][l]&&(i=!1);!0===i&&u.push([o[h][0]-1,o[h][1]-1].join(" "));}n[a].value="["+u.join(" ")+"]";}else n[a].value=n[a].defaultValue;n[a].explicitSet=!0;}return !1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in n)!0===n[t].explicitSet&&("name"===n[t].type?e.push("/"+t+" /"+n[t].value):e.push("/"+t+" "+n[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>");})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},
|
1514
1514
|
/** ====================================================================
|
1515
1515
|
* @license
|
1516
1516
|
* jsPDF XMP metadata plugin
|
@@ -2935,9 +2935,8 @@ function _prepareAttributeValue(attributeValue, attributeType, attributeDomain,
|
|
2935
2935
|
value = intl.formatNumber(value, numberFormatIntlOptions);
|
2936
2936
|
}
|
2937
2937
|
else {
|
2938
|
-
value = intl.formatNumber(value, {
|
2939
|
-
maximumFractionDigits: 100
|
2940
|
-
maximumSignificantDigits: 21
|
2938
|
+
value = intl.formatNumber(value === null || value === void 0 ? void 0 : value.toString(), {
|
2939
|
+
maximumFractionDigits: 100
|
2941
2940
|
});
|
2942
2941
|
}
|
2943
2942
|
break;
|
@@ -5,11 +5,11 @@
|
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-83b693bc.js';
|
7
7
|
import { l as loadModules, g as getLocaleComponentStrings } from './locale-4adfc8cf.js';
|
8
|
-
import { P as PopupUtils } from './popupUtils-
|
8
|
+
import { P as PopupUtils } from './popupUtils-ecec5e6d.js';
|
9
9
|
import { g as getLayerOrTable, c as getFeatureLayerView, h as highlightFeatures } from './mapViewUtils-e3de60cc.js';
|
10
10
|
import './esri-loader-c6842c6b.js';
|
11
11
|
import './_commonjsHelpers-089957fe.js';
|
12
|
-
import './downloadUtils-
|
12
|
+
import './downloadUtils-f6e2a736.js';
|
13
13
|
import './solution-resource-3108caf7.js';
|
14
14
|
import './index-a1e91462.js';
|
15
15
|
import './restHelpersGet-5c822bcd.js';
|
@@ -4,7 +4,7 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './_commonjsHelpers-089957fe.js';
|
7
|
-
import { b as _typeof$1 } from './downloadUtils-
|
7
|
+
import { b as _typeof$1 } from './downloadUtils-f6e2a736.js';
|
8
8
|
import './index-83b693bc.js';
|
9
9
|
import './locale-4adfc8cf.js';
|
10
10
|
import './esri-loader-c6842c6b.js';
|
@@ -8,7 +8,7 @@ import { a as getComponentClosestLanguage, l as loadModules, g as getLocaleCompo
|
|
8
8
|
import { e as goToSelection, h as highlightFeatures, k as queryObjectIds, l as getQueryGeoms, c as getFeatureLayerView, m as queryFeaturesByGeometry, n as getIdSets, o as highlightAllFeatures } from './mapViewUtils-e3de60cc.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-08faccff.js';
|
11
|
-
import { d as downloadCSV, a as downloadPDF } from './downloadUtils-
|
11
|
+
import { d as downloadCSV, a as downloadPDF } from './downloadUtils-f6e2a736.js';
|
12
12
|
import './esri-loader-c6842c6b.js';
|
13
13
|
import './_commonjsHelpers-089957fe.js';
|
14
14
|
import './index-d97f4f15.js';
|
@@ -371,10 +371,9 @@ const MapSelectTools = class {
|
|
371
371
|
* @protected
|
372
372
|
*/
|
373
373
|
_getSearchConfig(searchConfiguration, view) {
|
374
|
-
const INCLUDE_DEFAULT_SOURCES = "includeDefaultSources";
|
375
374
|
const sources = searchConfiguration === null || searchConfiguration === void 0 ? void 0 : searchConfiguration.sources;
|
376
375
|
if ((sources === null || sources === void 0 ? void 0 : sources.length) > 0) {
|
377
|
-
searchConfiguration
|
376
|
+
searchConfiguration = Object.assign(Object.assign({}, searchConfiguration), { includeDefaultSources: false });
|
378
377
|
sources.forEach((source) => {
|
379
378
|
var _a, _b;
|
380
379
|
const isLayerSource = source.hasOwnProperty("layer");
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import { _ as _prepareAttributeValue } from './downloadUtils-
|
6
|
+
import { _ as _prepareAttributeValue } from './downloadUtils-f6e2a736.js';
|
7
7
|
import { l as loadModules } from './locale-4adfc8cf.js';
|
8
8
|
|
9
9
|
/** @license
|
@@ -8,7 +8,7 @@ import { b as EExportType, c as EPageType, a as EWorkflowType } from './interfac
|
|
8
8
|
import { l as loadModules, g as getLocaleComponentStrings } from './locale-4adfc8cf.js';
|
9
9
|
import { e as goToSelection, h as highlightFeatures } from './mapViewUtils-e3de60cc.js';
|
10
10
|
import { s as state } from './publicNotificationStore-08faccff.js';
|
11
|
-
import { c as consolidateLabels, r as removeDuplicateLabels } from './downloadUtils-
|
11
|
+
import { c as consolidateLabels, r as removeDuplicateLabels } from './downloadUtils-f6e2a736.js';
|
12
12
|
import './esri-loader-c6842c6b.js';
|
13
13
|
import './_commonjsHelpers-089957fe.js';
|
14
14
|
import './index-d97f4f15.js';
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{_ as t}from"./p-
|
6
|
+
import{_ as t}from"./p-593036f3.js";import{l as i}from"./p-c0bf1d9f.js";
|
7
7
|
/** @license
|
8
8
|
* Copyright 2022 Esri
|
9
9
|
*
|