@esri/solutions-components 0.7.28 → 0.7.29
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/card-manager/resources.json +1 -4
- package/dist/assets/t9n/card-manager/resources_en.json +1 -4
- package/dist/cjs/card-manager_3.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +4 -4
- package/dist/components/layer-table2.js +4 -4
- package/dist/esm/card-manager_3.entry.js +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/p-78e720cc.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/layer-table/layer-table.d.ts +1 -1
- package/package.json +1 -1
- package/dist/solutions-components/p-5c22e9f4.entry.js +0 -6
@@ -189,7 +189,7 @@ export class LayerTable {
|
|
189
189
|
/**
|
190
190
|
* watch for selection changes
|
191
191
|
*/
|
192
|
-
async
|
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": "
|
1755
|
-
"methodName": "
|
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
|
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
|
-
"
|
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
|
-
"
|
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
|
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
|
-
"
|
1460
|
+
"selectedIds": ["selectedIdsWatchHandler"],
|
1461
1461
|
"_sortActive": ["_sortActiveWatchHandler"]
|
1462
1462
|
}; }
|
1463
1463
|
};
|