@esri/solutions-components 0.11.31 → 0.11.33
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.
- package/dist/cjs/{asyncToGenerator-c7fc3ee4.js → asyncToGenerator-ccb3278b.js} +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +14 -9
- package/dist/cjs/buffer-tools_2.cjs.entry.js +1 -1
- package/dist/cjs/card-manager_3.cjs.entry.js +91 -14
- package/dist/cjs/consent-manager.cjs.entry.js +3 -3
- package/dist/cjs/create-feature_4.cjs.entry.js +11 -12
- package/dist/cjs/create-related-feature_3.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +9 -2
- package/dist/cjs/delete-dialog.cjs.entry.js +1 -1
- package/dist/cjs/{downloadUtils-c7dac47d.js → downloadUtils-fefa863b.js} +3 -3
- package/dist/cjs/feature-list.cjs.entry.js +4 -4
- package/dist/cjs/{index.es-3c2404c3.js → index.es-0441a948.js} +2 -2
- package/dist/cjs/json-editor_7.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-layer-picker.cjs.entry.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
- package/dist/cjs/{popupUtils-27f6cf2a.js → popupUtils-a68a20db.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +3 -3
- package/dist/cjs/solution-configuration.cjs.entry.js +1 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +1 -1
- package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +13 -8
- package/dist/collection/components/card-manager/card-manager.js +2 -2
- package/dist/collection/components/create-feature/create-feature.js +4 -23
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +10 -1
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/layer-table/layer-table.js +86 -9
- package/dist/components/basemap-gallery2.js +13 -8
- package/dist/components/card-manager2.js +2 -2
- package/dist/components/create-feature2.js +4 -6
- package/dist/components/crowdsource-reporter.js +9 -1
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/info-card2.js +2 -2
- package/dist/components/layer-table2.js +87 -10
- package/dist/esm/{asyncToGenerator-96b2368d.js → asyncToGenerator-48cd21fe.js} +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +14 -9
- package/dist/esm/buffer-tools_2.entry.js +1 -1
- package/dist/esm/card-manager_3.entry.js +91 -14
- package/dist/esm/consent-manager.entry.js +3 -3
- package/dist/esm/create-feature_4.entry.js +11 -12
- package/dist/esm/create-related-feature_3.entry.js +1 -1
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +9 -2
- package/dist/esm/delete-dialog.entry.js +1 -1
- package/dist/esm/{downloadUtils-a9fc6dd2.js → downloadUtils-7ef5420f.js} +3 -3
- package/dist/esm/feature-list.entry.js +4 -4
- package/dist/esm/{index.es-87662946.js → index.es-c379ea10.js} +2 -2
- package/dist/esm/json-editor_7.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-layer-picker.entry.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +3 -3
- package/dist/esm/{popupUtils-78f2029e.js → popupUtils-ef89df87.js} +2 -2
- package/dist/esm/public-notification.entry.js +3 -3
- package/dist/esm/solution-configuration.entry.js +1 -1
- package/dist/esm/solution-contents_3.entry.js +1 -1
- package/dist/esm/solution-item-accordion.entry.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/solutions-components/p-035a1d38.entry.js +6 -0
- package/dist/solutions-components/p-11ad8edc.entry.js +6 -0
- package/dist/solutions-components/{p-f6d19f6d.entry.js → p-1325fa9e.entry.js} +1 -1
- package/dist/solutions-components/{p-60b1fe27.entry.js → p-2be59c38.entry.js} +1 -1
- package/dist/solutions-components/{p-455c19fa.js → p-4379cc5f.js} +2 -2
- package/dist/solutions-components/{p-0a60707c.entry.js → p-5096280f.entry.js} +1 -1
- package/dist/solutions-components/p-51033697.entry.js +6 -0
- package/dist/solutions-components/p-51e04c86.js +21 -0
- package/dist/solutions-components/p-605597cf.entry.js +6 -0
- package/dist/solutions-components/{p-d65f8b73.js → p-62a0aa8e.js} +1 -1
- package/dist/solutions-components/{p-a38eee28.entry.js → p-681a41f3.entry.js} +1 -1
- package/dist/solutions-components/{p-dc188d13.js → p-6d1ee086.js} +1 -1
- package/dist/solutions-components/{p-50b4945e.entry.js → p-7eec82e3.entry.js} +1 -1
- package/dist/solutions-components/{p-5b481f0d.entry.js → p-8b05b49c.entry.js} +1 -1
- package/dist/solutions-components/{p-6dc629dc.entry.js → p-93ebcb9b.entry.js} +1 -1
- package/dist/solutions-components/{p-b04179db.entry.js → p-b1f11c67.entry.js} +1 -1
- package/dist/solutions-components/{p-1aad0b63.entry.js → p-b3b5dca4.entry.js} +1 -1
- package/dist/solutions-components/{p-b8e4345e.entry.js → p-c45ba7dd.entry.js} +1 -1
- package/dist/solutions-components/{p-4a2870b0.entry.js → p-de3ba7be.entry.js} +1 -1
- package/dist/solutions-components/{p-7f36cfb0.entry.js → p-debeb4dc.entry.js} +1 -1
- package/dist/solutions-components/{p-f8854c5e.entry.js → p-e68f5f54.entry.js} +1 -1
- package/dist/solutions-components/{p-f3ba92d5.entry.js → p-f2cfed3a.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components_commit.txt +6 -6
- package/dist/types/components/create-feature/create-feature.d.ts +0 -4
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +4 -0
- package/dist/types/components/layer-table/layer-table.d.ts +34 -0
- package/dist/types/components.d.ts +0 -8
- package/package.json +1 -1
- package/dist/solutions-components/p-03f8bcc3.entry.js +0 -6
- package/dist/solutions-components/p-31159fc6.js +0 -21
- package/dist/solutions-components/p-76126e43.entry.js +0 -6
- package/dist/solutions-components/p-a4282d56.entry.js +0 -6
- package/dist/solutions-components/p-f899ecdb.entry.js +0 -6
- /package/dist/cjs/{locale-809dbc6e.js → locale-81070bd9.js} +0 -0
- /package/dist/cjs/{typeof-2a7e2dec.js → typeof-920a4426.js} +0 -0
- /package/dist/esm/{locale-fa8258bf.js → locale-4be8e04f.js} +0 -0
- /package/dist/esm/{typeof-ef2a007d.js → typeof-2511410e.js} +0 -0
- /package/dist/solutions-components/{p-57be3b9d.js → p-8a74a780.js} +0 -0
- /package/dist/solutions-components/{p-4fe489cf.js → p-af7e43e0.js} +0 -0
@@ -6,7 +6,7 @@
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
7
7
|
import { l as loadModules } from './loadModules.js';
|
8
8
|
import { g as getLocaleComponentStrings } from './locale.js';
|
9
|
-
import { b as goToSelection,
|
9
|
+
import { b as goToSelection, g as getLayerOrTable, c as getFeatureLayerView } from './mapViewUtils.js';
|
10
10
|
import { b as queryFeaturesByGlobalID } from './queryUtils.js';
|
11
11
|
import { d as downloadCSV } from './downloadUtils.js';
|
12
12
|
import { d as defineCustomElement$1 } from './map-layer-picker2.js';
|
@@ -236,6 +236,18 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
236
236
|
* boolean: When true we will not evaluate if the editor has any pending edits
|
237
237
|
*/
|
238
238
|
_skipEditCheck = false;
|
239
|
+
/**
|
240
|
+
* __esri.Handle: highlight handle for the current feature
|
241
|
+
*/
|
242
|
+
_currentFeatureHighlightHandle;
|
243
|
+
/**
|
244
|
+
* __esri.Handle: highlight handle for the default features
|
245
|
+
*/
|
246
|
+
_defaultFeaturesHandle;
|
247
|
+
/**
|
248
|
+
* __esri.Handle: highlight handle for temporary / hovered feature
|
249
|
+
*/
|
250
|
+
_temporaryFeatureHandle;
|
239
251
|
/**
|
240
252
|
* __esri.Handle: handle for the filter by extent
|
241
253
|
*/
|
@@ -252,6 +264,10 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
252
264
|
* boolean: When true allow table to update the records
|
253
265
|
*/
|
254
266
|
_shouldUpdateTableOnExtentChange = true;
|
267
|
+
/**
|
268
|
+
* any: layer view of the selected layer
|
269
|
+
*/
|
270
|
+
_selectedLayerView;
|
255
271
|
//--------------------------------------------------------------------------
|
256
272
|
//
|
257
273
|
// Watch handlers
|
@@ -351,6 +367,19 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
351
367
|
if (this.mapView) {
|
352
368
|
this._floorExpression = undefined;
|
353
369
|
this._searchExpression = undefined;
|
370
|
+
// highlight group for selections
|
371
|
+
this.mapView.highlights = [
|
372
|
+
{
|
373
|
+
name: "default",
|
374
|
+
color: "#00FFFF"
|
375
|
+
}, {
|
376
|
+
name: "current-selection",
|
377
|
+
color: "#ff00ff"
|
378
|
+
}, {
|
379
|
+
name: "temporary",
|
380
|
+
color: "#FFFF00"
|
381
|
+
}
|
382
|
+
];
|
354
383
|
this._updateShareUrl();
|
355
384
|
this._mapClickHandle = this.reactiveUtils.on(() => this.mapView, "click", (event) => {
|
356
385
|
void this._mapClicked(event);
|
@@ -513,6 +542,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
513
542
|
table.rowHighlightIds.removeAll();
|
514
543
|
}
|
515
544
|
table.rowHighlightIds.add(oid);
|
545
|
+
this._highlightFeatures(oid);
|
516
546
|
if (this.zoomAndScrollToSelected) {
|
517
547
|
const i = this._table.viewModel.getObjectIdIndex(oid);
|
518
548
|
this._table.scrollToIndex(i);
|
@@ -631,8 +661,8 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
631
661
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
632
662
|
const showSearch = this._canShowFullTextSearch();
|
633
663
|
this._validateActiveActions();
|
634
|
-
return (h(Host, { key: '
|
635
|
-
h("div", { key: '
|
664
|
+
return (h(Host, { key: '2d4fa2f8d4cce83ef1f972444cac99ab17ccf09a' }, h("div", { key: 'b53e3d454a7c2c1886bfd61e960ca7aa27bf5761' }, h("calcite-scrim", { key: '9a0e507b26707b8010f4d0ac3acd5a1eb8820780', class: scrimClass, loading: this._queryingData }), h("calcite-shell", { key: '1f1815e38773a834b7c1f6bdb783717477331522' }, this._getTableControlRow("header"), h("div", { key: 'fd2b3ca04bbb6b5ed9c2e044722079704b1c778e', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '0355028dce084ac034fe4b5ea8f7a0b1fec18b83', class: "height-full width-full" }, showSearch &&
|
665
|
+
h("div", { key: '3169fdf7d876b504c6ee1d11a0b41a55815cbc87', class: "search-container border-bottom" }, h("calcite-input", { key: '116960c2b95658c23c2ed2ee4b5282af0fa44f27', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), h("calcite-loader", { key: '83fdb600a68786dc0dd0dbbcfee1bc59bd311763', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '4983053113d687a459f7749bfe7723964551c3df', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19", id: "solutions-selected-count-div" }, this._translations.recordsSelected
|
636
666
|
.replace("{{total}}", total)
|
637
667
|
.replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal())));
|
638
668
|
}
|
@@ -1344,7 +1374,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1344
1374
|
view: this.mapView,
|
1345
1375
|
columnReorderingEnabled: this.enableColumnReorder,
|
1346
1376
|
editingEnabled: this._editEnabled && this.enableInlineEdit,
|
1347
|
-
highlightEnabled:
|
1377
|
+
highlightEnabled: false,
|
1348
1378
|
multiSortEnabled: false,
|
1349
1379
|
attachmentsEnabled: true,
|
1350
1380
|
visibleElements: {
|
@@ -1364,6 +1394,9 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1364
1394
|
void this._handleOnChange(evt);
|
1365
1395
|
});
|
1366
1396
|
this._table.viewModel.addHandles(changeHandle);
|
1397
|
+
this._table.on('cell-pointerover', this.tempHighlightOnHover.bind(this));
|
1398
|
+
this._table.on('cell-pointerout', this._removeTempHighlight.bind(this));
|
1399
|
+
this._tableNode.addEventListener("mouseleave", this._removeTempHighlight.bind(this));
|
1367
1400
|
//Add handle to watch size of the table and update the state to reflect the total count
|
1368
1401
|
const handle = this.reactiveUtils.watch(() => this._table.size, (size) => {
|
1369
1402
|
this._size = size;
|
@@ -1382,6 +1415,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1382
1415
|
this._tempSelectedIds = [...this.selectedIds];
|
1383
1416
|
this._finishOnChange();
|
1384
1417
|
this._selectionFromMap = false;
|
1418
|
+
this._highlightFeatures(this.selectedIds[0]);
|
1385
1419
|
}
|
1386
1420
|
/**
|
1387
1421
|
* Validate if the editor has any pending edits
|
@@ -1444,6 +1478,47 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1444
1478
|
}
|
1445
1479
|
this.featureSelectionChange.emit(this.selectedIds);
|
1446
1480
|
}
|
1481
|
+
/**
|
1482
|
+
* Highlight feature when hovered over table row
|
1483
|
+
* @param e The Feature table pointer over event
|
1484
|
+
*/
|
1485
|
+
tempHighlightOnHover(e) {
|
1486
|
+
this._removeTempHighlight();
|
1487
|
+
const temporaryFeature = e.feature;
|
1488
|
+
this._temporaryFeatureHandle = this._selectedLayerView.highlight([temporaryFeature], { name: "temporary" });
|
1489
|
+
}
|
1490
|
+
/**
|
1491
|
+
* Clears the temporary highlight
|
1492
|
+
*/
|
1493
|
+
_removeTempHighlight() {
|
1494
|
+
if (this._temporaryFeatureHandle) {
|
1495
|
+
this._temporaryFeatureHandle.remove();
|
1496
|
+
}
|
1497
|
+
}
|
1498
|
+
/**
|
1499
|
+
* Highlights the current and secondary features on map
|
1500
|
+
* @param currentFeatureId selected current feature id
|
1501
|
+
*/
|
1502
|
+
_highlightFeatures(currentFeatureId) {
|
1503
|
+
this._clearHighlights();
|
1504
|
+
this._currentFeatureHighlightHandle = this._selectedLayerView.highlight([currentFeatureId], { name: "current-selection" });
|
1505
|
+
if (this.selectedIds.length > 1) {
|
1506
|
+
const secondaryFeatures = this.selectedIds.filter((id) => id !== currentFeatureId);
|
1507
|
+
this._defaultFeaturesHandle = this._selectedLayerView.highlight(secondaryFeatures, { name: "default" });
|
1508
|
+
}
|
1509
|
+
}
|
1510
|
+
/**
|
1511
|
+
* Clears the highlights
|
1512
|
+
*/
|
1513
|
+
_clearHighlights() {
|
1514
|
+
this._removeTempHighlight();
|
1515
|
+
if (this._currentFeatureHighlightHandle) {
|
1516
|
+
this._currentFeatureHighlightHandle.remove();
|
1517
|
+
}
|
1518
|
+
if (this._defaultFeaturesHandle) {
|
1519
|
+
this._defaultFeaturesHandle.remove();
|
1520
|
+
}
|
1521
|
+
}
|
1447
1522
|
/**
|
1448
1523
|
* Reset the tables column templates when we get new column config
|
1449
1524
|
*/
|
@@ -1742,7 +1817,10 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1742
1817
|
this._outOFExtentOids = [...this._outOFExtentOids, ...outOids];
|
1743
1818
|
}
|
1744
1819
|
if (restoreOids.length > 0) {
|
1745
|
-
this
|
1820
|
+
// Merge this two array and then highlight the feature to maintain the current feature selection while restoring highlighted features
|
1821
|
+
this.selectedIds = [...new Set([...this.selectedIds, ...restoreOids])];
|
1822
|
+
this._table.highlightIds.removeAll();
|
1823
|
+
this._table.highlightIds.addMany(this.selectedIds.reverse());
|
1746
1824
|
this._outOFExtentOids = this._outOFExtentOids.filter(oid => !restoreOids.includes(oid));
|
1747
1825
|
}
|
1748
1826
|
}
|
@@ -1840,6 +1918,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1840
1918
|
this._table.viewModel.hideAttachmentsView();
|
1841
1919
|
}
|
1842
1920
|
this._table?.highlightIds.removeAll();
|
1921
|
+
this._clearHighlights();
|
1843
1922
|
this._table?.rowHighlightIds.removeAll();
|
1844
1923
|
this._finishOnChange();
|
1845
1924
|
}
|
@@ -1950,8 +2029,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1950
2029
|
*/
|
1951
2030
|
async _zoom() {
|
1952
2031
|
if (this._layer) {
|
1953
|
-
|
1954
|
-
await goToSelection(this.selectedIds, selectedLayerView, this.mapView, true, undefined, this.zoomToScale);
|
2032
|
+
await goToSelection(this.selectedIds, this._selectedLayerView, this.mapView, true, undefined, this.zoomToScale);
|
1955
2033
|
}
|
1956
2034
|
}
|
1957
2035
|
/**
|
@@ -1967,7 +2045,8 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1967
2045
|
if (id !== this._layer?.id || this._featuresEmpty()) {
|
1968
2046
|
this._fetchingData = true;
|
1969
2047
|
const layer = await getLayerOrTable(this.mapView, id);
|
1970
|
-
layer && await layer.when(() => {
|
2048
|
+
layer && await layer.when(async () => {
|
2049
|
+
this._selectedLayerView = await getFeatureLayerView(this.mapView, layer.id);
|
1971
2050
|
if (this._table && this._table?.viewModel?.attachmentsViewOptions?.objectId) {
|
1972
2051
|
this._table.viewModel.hideAttachmentsView();
|
1973
2052
|
}
|
@@ -2006,8 +2085,6 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
2006
2085
|
if (fieldInfos) {
|
2007
2086
|
columnTemplates = fieldInfos.reduce((prev, cur) => {
|
2008
2087
|
const template = {
|
2009
|
-
icon: "information",
|
2010
|
-
iconText: cur.description,
|
2011
2088
|
type: "field",
|
2012
2089
|
fieldName: cur.name,
|
2013
2090
|
label: cur.alias,
|
@@ -4,7 +4,7 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-089957fe.js';
|
7
|
-
import { _ as _typeof } from './typeof-
|
7
|
+
import { _ as _typeof } from './typeof-2511410e.js';
|
8
8
|
|
9
9
|
var defineProperty = {exports: {}};
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, g as getElement, h, H as Host, c as createEvent } from './index-21b6e87e.js';
|
7
|
-
import { l as loadModules, g as getLocaleComponentStrings } from './locale-
|
7
|
+
import { l as loadModules, g as getLocaleComponentStrings } from './locale-4be8e04f.js';
|
8
8
|
import './_commonjsHelpers-089957fe.js';
|
9
9
|
|
10
10
|
const basemapGalleryCss = ":host{display:block}";
|
@@ -123,9 +123,6 @@ const BasemapGallery = class {
|
|
123
123
|
*/
|
124
124
|
async _initBaseMapGallery(view) {
|
125
125
|
if (this.BasemapGallery) {
|
126
|
-
if (this.basemapWidget) {
|
127
|
-
this.basemapWidget.destroy();
|
128
|
-
}
|
129
126
|
const source = new this.PortalBasemapsSource({
|
130
127
|
query: this.basemapConfig?.basemapGroupId ? `id:${this.basemapConfig.basemapGroupId}` : null,
|
131
128
|
filterFunction: this.basemapConfig ? (basemap) => {
|
@@ -133,11 +130,19 @@ const BasemapGallery = class {
|
|
133
130
|
} : () => true
|
134
131
|
});
|
135
132
|
await source.refresh();
|
136
|
-
this
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
133
|
+
// Don't destroy and re-create this widget as it leads to a duplication
|
134
|
+
// of the basemaps listed
|
135
|
+
if (!this.basemapWidget) {
|
136
|
+
this.basemapWidget = new this.BasemapGallery({
|
137
|
+
container: this._basemapElement,
|
138
|
+
view,
|
139
|
+
source
|
140
|
+
});
|
141
|
+
}
|
142
|
+
else {
|
143
|
+
this.basemapWidget.view = view;
|
144
|
+
this.basemapWidget.source = source;
|
145
|
+
}
|
141
146
|
}
|
142
147
|
}
|
143
148
|
static get watchers() { return {
|
@@ -4,7 +4,7 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-21b6e87e.js';
|
7
|
-
import { l as loadModules, g as getLocaleComponentStrings } from './locale-
|
7
|
+
import { l as loadModules, g as getLocaleComponentStrings } from './locale-4be8e04f.js';
|
8
8
|
import { f as EDrawMode } from './interfaces-659e3836.js';
|
9
9
|
import { s as state } from './publicNotificationStore-9f8e00a1.js';
|
10
10
|
import './_commonjsHelpers-089957fe.js';
|
@@ -4,12 +4,12 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-21b6e87e.js';
|
7
|
-
import { g as getLocaleComponentStrings, l as loadModules } from './locale-
|
7
|
+
import { g as getLocaleComponentStrings, l as loadModules } from './locale-4be8e04f.js';
|
8
8
|
import { g as getLayerOrTable, q as queryFeaturesByID, e as goToSelection, f as queryFeaturesByGlobalID, c as getFeatureLayerView } from './mapViewUtils-2682c21a.js';
|
9
|
-
import { d as downloadCSV } from './downloadUtils-
|
9
|
+
import { d as downloadCSV } from './downloadUtils-7ef5420f.js';
|
10
10
|
import './_commonjsHelpers-089957fe.js';
|
11
11
|
import './interfaces-659e3836.js';
|
12
|
-
import './typeof-
|
12
|
+
import './typeof-2511410e.js';
|
13
13
|
import './solution-resource-30a29505.js';
|
14
14
|
import './restHelpersGet-a7fda344.js';
|
15
15
|
import './update-ad0b88fa.js';
|
@@ -136,7 +136,7 @@ const CardManager = class {
|
|
136
136
|
const heading = isTable ? this._translations.createRecord : this._translations.createFeature;
|
137
137
|
const guideMsg = this.customInfoText ? this.customInfoText : this.selectingFeatureFromMap ? this._translations.selectFeaturesFromMapToStart : this._translations.selectFeaturesToStart;
|
138
138
|
const showCreateFeatureOrRecordBtn = this.enableCreateFeatures && this.layer?.capabilities?.operations?.supportsAdd;
|
139
|
-
return (h(Host, { key: '803f5130e6f4fa0bf97cfdd2776e176786e736cc' }, h("div", { key: '7c0a756f5de5f536b52d2e9f6629593eb3c85781', class: "overflow-auto height-full" }, h("calcite-shell", { key: '9a6366bba429d5c29a5f1c556d6812f44d28ee2c', class: "position-relative " + featuresClass }, h("div", { key: '61cb9f7942eb209e5e0bd751ab4b5ca026086882', class: "position-static z-index-500" }, h("info-card", { key: '
|
139
|
+
return (h(Host, { key: '803f5130e6f4fa0bf97cfdd2776e176786e736cc' }, h("div", { key: '7c0a756f5de5f536b52d2e9f6629593eb3c85781', class: "overflow-auto height-full" }, h("calcite-shell", { key: '9a6366bba429d5c29a5f1c556d6812f44d28ee2c', class: "position-relative " + featuresClass }, h("div", { key: '61cb9f7942eb209e5e0bd751ab4b5ca026086882', class: "position-static z-index-500" }, h("info-card", { key: 'aa2e8443af374a37dfebd0d5e87ca052221339a7', enableEditGeometry: this.enableEditGeometry, enableSnapping: this.enableSnapping, graphics: this._graphics, highlightEnabled: false, isLoading: this._cardLoading, isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, showCloseBtn: true }))), h("calcite-shell", { key: '4979b9d94cd68f36b5d9e6ea59ffc0baecd180c0', class: "position-relative " + messageClass }, h("calcite-panel", { key: '9e02f86010e2348668a995de7d3644f0ddf838a6' }, h("div", { key: '83a5ac2003838734308d81dc2903313cb6c07e9a', class: "padding-1" }, h("calcite-notice", { key: 'e380ab334a7b4d65fb64b51bc2b7feb61771f813', icon: this.selectingFeatureFromMap ? "map" : "table", iconFlipRtl: true, open: true }, h("div", { key: '2ac48545c9c825d8d266a96b034dba7d17c024c1', slot: "message" }, guideMsg))), !this.isMobile && showCreateFeatureOrRecordBtn && h("calcite-button", { key: '300e922dcf00b72657ca48382579746073a1a646', disabled: !this.layer, onClick: () => this._createFeatureBtnClicked(), slot: "footer", width: "full" }, isTable ? this._translations.createRecord : this._translations.createFeature))), h("calcite-shell", { key: '1c279da12e0885ed5ecae714a0958e76ac3734d5', class: "position-relative " + createFeatureClass }, h("calcite-flow-item", { key: '8e54e6abf83e3d8ce487a2f76e1bdd8635f4d7b5', selected: true }, h("calcite-panel", { key: 'd31997df187797550eeaee6df294e4f41e6653b5', heading: heading }, h("calcite-action", { key: '636c83f8d5f361c1eb35a5b524565d0bd072489f', class: "back-button hydrated", icon: "chevron-left", onClick: this._backFromCreateFeature.bind(this), scale: "s", slot: "header-actions-start", text: "" }), this.getEditorComponent(), this._showSubmitBtn && h("calcite-button", { key: 'bd1a3ee472e275c57e9c40c217a3c0ac9c8e8715', appearance: "solid", class: "footer-top-button footer-button", onClick: () => void this._createFeature.submit(), slot: "footer", width: "full" }, this._translations.create)))))));
|
140
140
|
}
|
141
141
|
/**
|
142
142
|
* Returns the editor component for adding feature
|
@@ -147,7 +147,7 @@ const CardManager = class {
|
|
147
147
|
setTimeout(() => {
|
148
148
|
this._isFeatureCreated = false;
|
149
149
|
}, 2000);
|
150
|
-
}, onSuccess: this._featureCreated.bind(this), ref: el => this._createFeature = el, selectedLayerId: this.layer?.id, showGuidingMsg: false
|
150
|
+
}, onSuccess: this._featureCreated.bind(this), ref: el => this._createFeature = el, selectedLayerId: this.layer?.id, showGuidingMsg: false })));
|
151
151
|
}
|
152
152
|
//--------------------------------------------------------------------------
|
153
153
|
//
|
@@ -422,6 +422,18 @@ const LayerTable = class {
|
|
422
422
|
* boolean: When true we will not evaluate if the editor has any pending edits
|
423
423
|
*/
|
424
424
|
_skipEditCheck = false;
|
425
|
+
/**
|
426
|
+
* __esri.Handle: highlight handle for the current feature
|
427
|
+
*/
|
428
|
+
_currentFeatureHighlightHandle;
|
429
|
+
/**
|
430
|
+
* __esri.Handle: highlight handle for the default features
|
431
|
+
*/
|
432
|
+
_defaultFeaturesHandle;
|
433
|
+
/**
|
434
|
+
* __esri.Handle: highlight handle for temporary / hovered feature
|
435
|
+
*/
|
436
|
+
_temporaryFeatureHandle;
|
425
437
|
/**
|
426
438
|
* __esri.Handle: handle for the filter by extent
|
427
439
|
*/
|
@@ -438,6 +450,10 @@ const LayerTable = class {
|
|
438
450
|
* boolean: When true allow table to update the records
|
439
451
|
*/
|
440
452
|
_shouldUpdateTableOnExtentChange = true;
|
453
|
+
/**
|
454
|
+
* any: layer view of the selected layer
|
455
|
+
*/
|
456
|
+
_selectedLayerView;
|
441
457
|
//--------------------------------------------------------------------------
|
442
458
|
//
|
443
459
|
// Watch handlers
|
@@ -537,6 +553,19 @@ const LayerTable = class {
|
|
537
553
|
if (this.mapView) {
|
538
554
|
this._floorExpression = undefined;
|
539
555
|
this._searchExpression = undefined;
|
556
|
+
// highlight group for selections
|
557
|
+
this.mapView.highlights = [
|
558
|
+
{
|
559
|
+
name: "default",
|
560
|
+
color: "#00FFFF"
|
561
|
+
}, {
|
562
|
+
name: "current-selection",
|
563
|
+
color: "#ff00ff"
|
564
|
+
}, {
|
565
|
+
name: "temporary",
|
566
|
+
color: "#FFFF00"
|
567
|
+
}
|
568
|
+
];
|
540
569
|
this._updateShareUrl();
|
541
570
|
this._mapClickHandle = this.reactiveUtils.on(() => this.mapView, "click", (event) => {
|
542
571
|
void this._mapClicked(event);
|
@@ -699,6 +728,7 @@ const LayerTable = class {
|
|
699
728
|
table.rowHighlightIds.removeAll();
|
700
729
|
}
|
701
730
|
table.rowHighlightIds.add(oid);
|
731
|
+
this._highlightFeatures(oid);
|
702
732
|
if (this.zoomAndScrollToSelected) {
|
703
733
|
const i = this._table.viewModel.getObjectIdIndex(oid);
|
704
734
|
this._table.scrollToIndex(i);
|
@@ -817,8 +847,8 @@ const LayerTable = class {
|
|
817
847
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
818
848
|
const showSearch = this._canShowFullTextSearch();
|
819
849
|
this._validateActiveActions();
|
820
|
-
return (h(Host, { key: '
|
821
|
-
h("div", { key: '
|
850
|
+
return (h(Host, { key: '2d4fa2f8d4cce83ef1f972444cac99ab17ccf09a' }, h("div", { key: 'b53e3d454a7c2c1886bfd61e960ca7aa27bf5761' }, h("calcite-scrim", { key: '9a0e507b26707b8010f4d0ac3acd5a1eb8820780', class: scrimClass, loading: this._queryingData }), h("calcite-shell", { key: '1f1815e38773a834b7c1f6bdb783717477331522' }, this._getTableControlRow("header"), h("div", { key: 'fd2b3ca04bbb6b5ed9c2e044722079704b1c778e', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '0355028dce084ac034fe4b5ea8f7a0b1fec18b83', class: "height-full width-full" }, showSearch &&
|
851
|
+
h("div", { key: '3169fdf7d876b504c6ee1d11a0b41a55815cbc87', class: "search-container border-bottom" }, h("calcite-input", { key: '116960c2b95658c23c2ed2ee4b5282af0fa44f27', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), h("calcite-loader", { key: '83fdb600a68786dc0dd0dbbcfee1bc59bd311763', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '4983053113d687a459f7749bfe7723964551c3df', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19", id: "solutions-selected-count-div" }, this._translations.recordsSelected
|
822
852
|
.replace("{{total}}", total)
|
823
853
|
.replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal())));
|
824
854
|
}
|
@@ -1530,7 +1560,7 @@ const LayerTable = class {
|
|
1530
1560
|
view: this.mapView,
|
1531
1561
|
columnReorderingEnabled: this.enableColumnReorder,
|
1532
1562
|
editingEnabled: this._editEnabled && this.enableInlineEdit,
|
1533
|
-
highlightEnabled:
|
1563
|
+
highlightEnabled: false,
|
1534
1564
|
multiSortEnabled: false,
|
1535
1565
|
attachmentsEnabled: true,
|
1536
1566
|
visibleElements: {
|
@@ -1550,6 +1580,9 @@ const LayerTable = class {
|
|
1550
1580
|
void this._handleOnChange(evt);
|
1551
1581
|
});
|
1552
1582
|
this._table.viewModel.addHandles(changeHandle);
|
1583
|
+
this._table.on('cell-pointerover', this.tempHighlightOnHover.bind(this));
|
1584
|
+
this._table.on('cell-pointerout', this._removeTempHighlight.bind(this));
|
1585
|
+
this._tableNode.addEventListener("mouseleave", this._removeTempHighlight.bind(this));
|
1553
1586
|
//Add handle to watch size of the table and update the state to reflect the total count
|
1554
1587
|
const handle = this.reactiveUtils.watch(() => this._table.size, (size) => {
|
1555
1588
|
this._size = size;
|
@@ -1568,6 +1601,7 @@ const LayerTable = class {
|
|
1568
1601
|
this._tempSelectedIds = [...this.selectedIds];
|
1569
1602
|
this._finishOnChange();
|
1570
1603
|
this._selectionFromMap = false;
|
1604
|
+
this._highlightFeatures(this.selectedIds[0]);
|
1571
1605
|
}
|
1572
1606
|
/**
|
1573
1607
|
* Validate if the editor has any pending edits
|
@@ -1630,6 +1664,47 @@ const LayerTable = class {
|
|
1630
1664
|
}
|
1631
1665
|
this.featureSelectionChange.emit(this.selectedIds);
|
1632
1666
|
}
|
1667
|
+
/**
|
1668
|
+
* Highlight feature when hovered over table row
|
1669
|
+
* @param e The Feature table pointer over event
|
1670
|
+
*/
|
1671
|
+
tempHighlightOnHover(e) {
|
1672
|
+
this._removeTempHighlight();
|
1673
|
+
const temporaryFeature = e.feature;
|
1674
|
+
this._temporaryFeatureHandle = this._selectedLayerView.highlight([temporaryFeature], { name: "temporary" });
|
1675
|
+
}
|
1676
|
+
/**
|
1677
|
+
* Clears the temporary highlight
|
1678
|
+
*/
|
1679
|
+
_removeTempHighlight() {
|
1680
|
+
if (this._temporaryFeatureHandle) {
|
1681
|
+
this._temporaryFeatureHandle.remove();
|
1682
|
+
}
|
1683
|
+
}
|
1684
|
+
/**
|
1685
|
+
* Highlights the current and secondary features on map
|
1686
|
+
* @param currentFeatureId selected current feature id
|
1687
|
+
*/
|
1688
|
+
_highlightFeatures(currentFeatureId) {
|
1689
|
+
this._clearHighlights();
|
1690
|
+
this._currentFeatureHighlightHandle = this._selectedLayerView.highlight([currentFeatureId], { name: "current-selection" });
|
1691
|
+
if (this.selectedIds.length > 1) {
|
1692
|
+
const secondaryFeatures = this.selectedIds.filter((id) => id !== currentFeatureId);
|
1693
|
+
this._defaultFeaturesHandle = this._selectedLayerView.highlight(secondaryFeatures, { name: "default" });
|
1694
|
+
}
|
1695
|
+
}
|
1696
|
+
/**
|
1697
|
+
* Clears the highlights
|
1698
|
+
*/
|
1699
|
+
_clearHighlights() {
|
1700
|
+
this._removeTempHighlight();
|
1701
|
+
if (this._currentFeatureHighlightHandle) {
|
1702
|
+
this._currentFeatureHighlightHandle.remove();
|
1703
|
+
}
|
1704
|
+
if (this._defaultFeaturesHandle) {
|
1705
|
+
this._defaultFeaturesHandle.remove();
|
1706
|
+
}
|
1707
|
+
}
|
1633
1708
|
/**
|
1634
1709
|
* Reset the tables column templates when we get new column config
|
1635
1710
|
*/
|
@@ -1928,7 +2003,10 @@ const LayerTable = class {
|
|
1928
2003
|
this._outOFExtentOids = [...this._outOFExtentOids, ...outOids];
|
1929
2004
|
}
|
1930
2005
|
if (restoreOids.length > 0) {
|
1931
|
-
this
|
2006
|
+
// Merge this two array and then highlight the feature to maintain the current feature selection while restoring highlighted features
|
2007
|
+
this.selectedIds = [...new Set([...this.selectedIds, ...restoreOids])];
|
2008
|
+
this._table.highlightIds.removeAll();
|
2009
|
+
this._table.highlightIds.addMany(this.selectedIds.reverse());
|
1932
2010
|
this._outOFExtentOids = this._outOFExtentOids.filter(oid => !restoreOids.includes(oid));
|
1933
2011
|
}
|
1934
2012
|
}
|
@@ -2026,6 +2104,7 @@ const LayerTable = class {
|
|
2026
2104
|
this._table.viewModel.hideAttachmentsView();
|
2027
2105
|
}
|
2028
2106
|
this._table?.highlightIds.removeAll();
|
2107
|
+
this._clearHighlights();
|
2029
2108
|
this._table?.rowHighlightIds.removeAll();
|
2030
2109
|
this._finishOnChange();
|
2031
2110
|
}
|
@@ -2136,8 +2215,7 @@ const LayerTable = class {
|
|
2136
2215
|
*/
|
2137
2216
|
async _zoom() {
|
2138
2217
|
if (this._layer) {
|
2139
|
-
|
2140
|
-
await goToSelection(this.selectedIds, selectedLayerView, this.mapView, true, undefined, this.zoomToScale);
|
2218
|
+
await goToSelection(this.selectedIds, this._selectedLayerView, this.mapView, true, undefined, this.zoomToScale);
|
2141
2219
|
}
|
2142
2220
|
}
|
2143
2221
|
/**
|
@@ -2153,7 +2231,8 @@ const LayerTable = class {
|
|
2153
2231
|
if (id !== this._layer?.id || this._featuresEmpty()) {
|
2154
2232
|
this._fetchingData = true;
|
2155
2233
|
const layer = await getLayerOrTable(this.mapView, id);
|
2156
|
-
layer && await layer.when(() => {
|
2234
|
+
layer && await layer.when(async () => {
|
2235
|
+
this._selectedLayerView = await getFeatureLayerView(this.mapView, layer.id);
|
2157
2236
|
if (this._table && this._table?.viewModel?.attachmentsViewOptions?.objectId) {
|
2158
2237
|
this._table.viewModel.hideAttachmentsView();
|
2159
2238
|
}
|
@@ -2192,8 +2271,6 @@ const LayerTable = class {
|
|
2192
2271
|
if (fieldInfos) {
|
2193
2272
|
columnTemplates = fieldInfos.reduce((prev, cur) => {
|
2194
2273
|
const template = {
|
2195
|
-
icon: "information",
|
2196
|
-
iconText: cur.description,
|
2197
2274
|
type: "field",
|
2198
2275
|
fieldName: cur.name,
|
2199
2276
|
label: cur.alias,
|
@@ -4,10 +4,10 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h as h$1, H as Host } from './index-21b6e87e.js';
|
7
|
-
import { g as getLocaleComponentStrings } from './locale-
|
7
|
+
import { g as getLocaleComponentStrings } from './locale-4be8e04f.js';
|
8
8
|
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './_commonjsHelpers-089957fe.js';
|
9
|
-
import { d as defineProperty, _ as _asyncToGenerator$1, a as _defineProperty$2 } from './asyncToGenerator-
|
10
|
-
import { _ as _typeof$1, t as t$2 } from './typeof-
|
9
|
+
import { d as defineProperty, _ as _asyncToGenerator$1, a as _defineProperty$2 } from './asyncToGenerator-48cd21fe.js';
|
10
|
+
import { _ as _typeof$1, t as t$2 } from './typeof-2511410e.js';
|
11
11
|
import { r as request, _ as __assign, g as getPortalUrl, u as updateItem } from './update-ad0b88fa.js';
|
12
12
|
|
13
13
|
function shouldDisableTracking(options = {}) {
|
@@ -4,13 +4,13 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h, F as Fragment, H as Host } from './index-21b6e87e.js';
|
7
|
-
import { l as loadModules, g as getLocaleComponentStrings } from './locale-
|
7
|
+
import { l as loadModules, g as getLocaleComponentStrings } from './locale-4be8e04f.js';
|
8
8
|
import { a as getAllLayers, g as getLayerOrTable } from './mapViewUtils-2682c21a.js';
|
9
|
-
import { P as PopupUtils } from './popupUtils-
|
9
|
+
import { P as PopupUtils } from './popupUtils-ef89df87.js';
|
10
10
|
import './_commonjsHelpers-089957fe.js';
|
11
11
|
import './interfaces-659e3836.js';
|
12
|
-
import './downloadUtils-
|
13
|
-
import './typeof-
|
12
|
+
import './downloadUtils-7ef5420f.js';
|
13
|
+
import './typeof-2511410e.js';
|
14
14
|
import './solution-resource-30a29505.js';
|
15
15
|
import './restHelpersGet-a7fda344.js';
|
16
16
|
import './update-ad0b88fa.js';
|
@@ -38,7 +38,6 @@ const CreateFeature = class {
|
|
38
38
|
this.searchConfiguration = undefined;
|
39
39
|
this.selectedLayerId = undefined;
|
40
40
|
this.showGuidingMsg = true;
|
41
|
-
this.showGuidingMsgWhileDrawing = true;
|
42
41
|
this.submitNewReportsMessage = undefined;
|
43
42
|
this._currentPage = "templatePicker";
|
44
43
|
this._editorLoading = false;
|
@@ -289,8 +288,8 @@ const CreateFeature = class {
|
|
289
288
|
const loaderClass = this._editorLoading ? "" : "display-none";
|
290
289
|
const featureFormClass = this._editorLoading ? "display-none" : "";
|
291
290
|
const mobileMapClass = this.isMobile ? "show-map" : "display-none";
|
292
|
-
// hide guiding msg for
|
293
|
-
const showGuidingMsg = this.showGuidingMsg && (this.
|
291
|
+
// hide guiding msg for template picker page
|
292
|
+
const showGuidingMsg = this.showGuidingMsg && (this._currentPage !== "templatePicker");
|
294
293
|
let guidingMsg = this._translations.chooseCategoryMsg;
|
295
294
|
if (this._currentPage === 'drawing') {
|
296
295
|
guidingMsg = this._translations.provideLocationMsg;
|
@@ -298,8 +297,8 @@ const CreateFeature = class {
|
|
298
297
|
else if (this._currentPage === 'featureForm') {
|
299
298
|
guidingMsg = this._translations.provideDetailsMsg;
|
300
299
|
}
|
301
|
-
return (h(Fragment, { key: '
|
302
|
-
h("div", { key: '
|
300
|
+
return (h(Fragment, { key: '3a448bdb1ffdef55993b20f99b3f1bd1643b6e2f' }, showGuidingMsg && h("calcite-notice", { key: '5a9f000003d75c93ff613f1a4ddba14711653173', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: '751a2c932838a798b102e14340cba2103abdf971', slot: "message" }, guidingMsg)), h("calcite-loader", { key: 'e6ae257cd070bc9d7ea55c725ecf95d096effbc0', class: loaderClass, label: "", scale: "s" }), h("div", { key: 'c25373774f6b87f7a6db4febd62a25b870d9be79', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
|
301
|
+
h("div", { key: '3deb4ffc1f8a633d92e3c27f64247a6f21c58e56', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: 'c72a6826cddbac45675a788e941a6cabd320740a', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
|
303
302
|
}
|
304
303
|
//--------------------------------------------------------------------------
|
305
304
|
//
|
@@ -1048,7 +1047,7 @@ const EditCard = class {
|
|
1048
1047
|
!this.graphics[0].layer.editingEnabled : true;
|
1049
1048
|
const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
|
1050
1049
|
const loadingClass = this._editorLoading ? "" : "display-none";
|
1051
|
-
return (h(Host, { key: '
|
1050
|
+
return (h(Host, { key: '5d0380d4dbd7412c90e6e3b9aa28b580bf5a6ac4' }, h("div", { key: '29825ee6c26acce86fcb6678d3e3db957358e314', class: "position-absolute" }, editDisabled ? (h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, h("div", { key: '35fc876d6857fb72c8808cff311e894dd9890afe', class: "position-absolute" }, h("div", { key: 'c95f3453d5fc4dac7ba5f1e7db69490405861059', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: '211fd81ec4b13a731a895c882fafcb438fbf235c', class: loadingClass, label: "", scale: "s" })))));
|
1052
1051
|
}
|
1053
1052
|
//--------------------------------------------------------------------------
|
1054
1053
|
//
|
@@ -1463,8 +1462,8 @@ const InfoCard = class {
|
|
1463
1462
|
});
|
1464
1463
|
}
|
1465
1464
|
else {
|
1466
|
-
this._features
|
1467
|
-
this._features
|
1465
|
+
this._features?.clear();
|
1466
|
+
this._features?.close();
|
1468
1467
|
}
|
1469
1468
|
this._count = this._getCount();
|
1470
1469
|
}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h, F as Fragment } from './index-21b6e87e.js';
|
7
|
-
import { l as loadModules, g as getLocaleComponentStrings, e as esriLoader, f as formatNumber } from './locale-
|
7
|
+
import { l as loadModules, g as getLocaleComponentStrings, e as esriLoader, f as formatNumber } from './locale-4be8e04f.js';
|
8
8
|
import { b as getAllTables, d as getMapLayerHash, a as getAllLayers, c as getFeatureLayerView } from './mapViewUtils-2682c21a.js';
|
9
9
|
import './_commonjsHelpers-089957fe.js';
|
10
10
|
import './interfaces-659e3836.js';
|
@@ -4,7 +4,7 @@
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
6
|
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host, F as Fragment } from './index-21b6e87e.js';
|
7
|
-
import { g as getLocaleComponentStrings } from './locale-
|
7
|
+
import { g as getLocaleComponentStrings } from './locale-4be8e04f.js';
|
8
8
|
import { E as ELayoutMode } from './interfaces-659e3836.js';
|
9
9
|
import { g as getLayerOrTable } from './mapViewUtils-2682c21a.js';
|
10
10
|
import './_commonjsHelpers-089957fe.js';
|