@esri/solutions-components 0.7.28 → 0.7.29

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.
@@ -189,7 +189,7 @@ export class LayerTable {
189
189
  /**
190
190
  * watch for selection changes
191
191
  */
192
- async _selectedIdsWatchHandler() {
192
+ async selectedIdsWatchHandler() {
193
193
  this._updateShareUrl();
194
194
  this._validateEnabledActions();
195
195
  if (this._selectAllActive && this.selectedIds.length !== this._allIds.length) {
@@ -1210,7 +1210,7 @@ export class LayerTable {
1210
1210
  _initLayerExpressions() {
1211
1211
  var _a, _b;
1212
1212
  const layerExpressions = (_b = (_a = this.mapInfo) === null || _a === void 0 ? void 0 : _a.filterConfig) === null || _b === void 0 ? void 0 : _b.layerExpressions;
1213
- this._layerExpressions = layerExpressions ? layerExpressions.filter((exp) => exp.id === this._layer.id) : [];
1213
+ this._layerExpressions = layerExpressions ? layerExpressions.filter((exp) => { var _a; return exp.id === ((_a = this._layer) === null || _a === void 0 ? void 0 : _a.id); }) : [];
1214
1214
  this._filterList.layerExpressions = this._layerExpressions;
1215
1215
  this._filterActive = false;
1216
1216
  }
@@ -1751,8 +1751,8 @@ export class LayerTable {
1751
1751
  "propName": "_layer",
1752
1752
  "methodName": "_layerWatchHandler"
1753
1753
  }, {
1754
- "propName": "_selectedIds",
1755
- "methodName": "_selectedIdsWatchHandler"
1754
+ "propName": "selectedIds",
1755
+ "methodName": "selectedIdsWatchHandler"
1756
1756
  }, {
1757
1757
  "propName": "_sortActive",
1758
1758
  "methodName": "_sortActiveWatchHandler"
@@ -218,7 +218,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
218
218
  /**
219
219
  * watch for selection changes
220
220
  */
221
- async _selectedIdsWatchHandler() {
221
+ async selectedIdsWatchHandler() {
222
222
  this._updateShareUrl();
223
223
  this._validateEnabledActions();
224
224
  if (this._selectAllActive && this.selectedIds.length !== this._allIds.length) {
@@ -1239,7 +1239,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
1239
1239
  _initLayerExpressions() {
1240
1240
  var _a, _b;
1241
1241
  const layerExpressions = (_b = (_a = this.mapInfo) === null || _a === void 0 ? void 0 : _a.filterConfig) === null || _b === void 0 ? void 0 : _b.layerExpressions;
1242
- this._layerExpressions = layerExpressions ? layerExpressions.filter((exp) => exp.id === this._layer.id) : [];
1242
+ this._layerExpressions = layerExpressions ? layerExpressions.filter((exp) => { var _a; return exp.id === ((_a = this._layer) === null || _a === void 0 ? void 0 : _a.id); }) : [];
1243
1243
  this._filterList.layerExpressions = this._layerExpressions;
1244
1244
  this._filterActive = false;
1245
1245
  }
@@ -1405,7 +1405,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
1405
1405
  "mapInfo": ["mapInfoWatchHandler"],
1406
1406
  "mapView": ["mapViewWatchHandler"],
1407
1407
  "_layer": ["_layerWatchHandler"],
1408
- "_selectedIds": ["_selectedIdsWatchHandler"],
1408
+ "selectedIds": ["selectedIdsWatchHandler"],
1409
1409
  "_sortActive": ["_sortActiveWatchHandler"]
1410
1410
  }; }
1411
1411
  static get style() { return layerTableCss; }
@@ -1446,7 +1446,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
1446
1446
  "mapInfo": ["mapInfoWatchHandler"],
1447
1447
  "mapView": ["mapViewWatchHandler"],
1448
1448
  "_layer": ["_layerWatchHandler"],
1449
- "_selectedIds": ["_selectedIdsWatchHandler"],
1449
+ "selectedIds": ["selectedIdsWatchHandler"],
1450
1450
  "_sortActive": ["_sortActiveWatchHandler"]
1451
1451
  }]);
1452
1452
  function defineCustomElement() {
@@ -270,7 +270,7 @@ const LayerTable = class {
270
270
  /**
271
271
  * watch for selection changes
272
272
  */
273
- async _selectedIdsWatchHandler() {
273
+ async selectedIdsWatchHandler() {
274
274
  this._updateShareUrl();
275
275
  this._validateEnabledActions();
276
276
  if (this._selectAllActive && this.selectedIds.length !== this._allIds.length) {
@@ -1291,7 +1291,7 @@ const LayerTable = class {
1291
1291
  _initLayerExpressions() {
1292
1292
  var _a, _b;
1293
1293
  const layerExpressions = (_b = (_a = this.mapInfo) === null || _a === void 0 ? void 0 : _a.filterConfig) === null || _b === void 0 ? void 0 : _b.layerExpressions;
1294
- this._layerExpressions = layerExpressions ? layerExpressions.filter((exp) => exp.id === this._layer.id) : [];
1294
+ this._layerExpressions = layerExpressions ? layerExpressions.filter((exp) => { var _a; return exp.id === ((_a = this._layer) === null || _a === void 0 ? void 0 : _a.id); }) : [];
1295
1295
  this._filterList.layerExpressions = this._layerExpressions;
1296
1296
  this._filterActive = false;
1297
1297
  }
@@ -1457,7 +1457,7 @@ const LayerTable = class {
1457
1457
  "mapInfo": ["mapInfoWatchHandler"],
1458
1458
  "mapView": ["mapViewWatchHandler"],
1459
1459
  "_layer": ["_layerWatchHandler"],
1460
- "_selectedIds": ["_selectedIdsWatchHandler"],
1460
+ "selectedIds": ["selectedIdsWatchHandler"],
1461
1461
  "_sortActive": ["_sortActiveWatchHandler"]
1462
1462
  }; }
1463
1463
  };