@esri/solutions-components 0.8.31 → 0.8.32
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/card-manager_3.cjs.entry.js +17 -4
- package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +36 -4
- package/dist/collection/demos/crowdsource-manager.html +1 -1
- package/dist/components/crowdsource-manager.js +1 -1
- package/dist/components/layer-table2.js +19 -4
- package/dist/esm/card-manager_3.entry.js +17 -4
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/demos/crowdsource-manager.html +1 -1
- package/dist/solutions-components/{p-61bf98bc.entry.js → p-1b096a8b.entry.js} +1 -1
- package/dist/solutions-components/p-5862de8d.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/layer-table/layer-table.d.ts +8 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/solutions-components/p-1bdf0ba0.entry.js +0 -6
@@ -431,7 +431,7 @@ export class CrowdsourceManager {
|
|
431
431
|
((_a = this.defaultGlobalId) === null || _a === void 0 ? void 0 : _a.indexOf(",")) > -1 ? this.defaultGlobalId.split(",") : [this.defaultGlobalId];
|
432
432
|
const defaultOid = !this.defaultOid ? undefined :
|
433
433
|
((_b = this.defaultOid) === null || _b === void 0 ? void 0 : _b.indexOf(",")) > -1 ? this.defaultOid.split(",").map(o => parseInt(o, 10)) : [parseInt(this.defaultOid, 10)];
|
434
|
-
return (h("calcite-shell", { class: `${tableSizeClass} ${tableClass} border-bottom` }, !this._isMobile ? (h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), text: "" }), h("calcite-tooltip", { label: tooltip, placement: "bottom", "reference-element": id }, h("span", null, tooltip)))) : undefined, h("div", { class: `width-full height-full position-relative` }, h("layer-table", { defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this.enableInlineEdit, enableShare: this.enableShare, isMobile: this._isMobile, mapInfo: this._mapInfo, mapView: this === null || this === void 0 ? void 0 : this._mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._layerTable = el, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected, zoomToScale: this.zoomToScale }))));
|
434
|
+
return (h("calcite-shell", { class: `${tableSizeClass} ${tableClass} border-bottom` }, !this._isMobile ? (h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), text: "" }), h("calcite-tooltip", { label: tooltip, placement: "bottom", "reference-element": id }, h("span", null, tooltip)))) : undefined, h("div", { class: `width-full height-full position-relative` }, h("layer-table", { defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this.enableInlineEdit, enableShare: this.enableShare, isMobile: this._isMobile, mapHidden: this._expandPopup, mapInfo: this._mapInfo, mapView: this === null || this === void 0 ? void 0 : this._mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._layerTable = el, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected, zoomToScale: this.zoomToScale }))));
|
435
435
|
}
|
436
436
|
/**
|
437
437
|
* Update the component layout when its size changes
|
@@ -73,6 +73,7 @@ export class LayerTable {
|
|
73
73
|
this.enableInlineEdit = undefined;
|
74
74
|
this.enableShare = undefined;
|
75
75
|
this.isMobile = undefined;
|
76
|
+
this.mapHidden = undefined;
|
76
77
|
this.mapInfo = undefined;
|
77
78
|
this.mapView = undefined;
|
78
79
|
this.onlyShowUpdatableLayers = undefined;
|
@@ -156,6 +157,15 @@ export class LayerTable {
|
|
156
157
|
}
|
157
158
|
});
|
158
159
|
}
|
160
|
+
/**
|
161
|
+
* Reset the toolInfos when mapHidden prop changes so we can show/hide any map dependant tool(s)
|
162
|
+
*/
|
163
|
+
mapHiddenWatchHandler() {
|
164
|
+
var _a;
|
165
|
+
if (((_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
166
|
+
this._initToolInfos();
|
167
|
+
}
|
168
|
+
}
|
159
169
|
/**
|
160
170
|
* When isMobile is false we need to init the tool infos for the dynamic toolbar
|
161
171
|
*/
|
@@ -319,7 +329,7 @@ export class LayerTable {
|
|
319
329
|
const selected = this.selectedIds.length.toString();
|
320
330
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
321
331
|
this._validateActiveActions();
|
322
|
-
return (h(Host, { key: '
|
332
|
+
return (h(Host, { key: '9692c6f764d078c22e1d6271deb3844ef65b1fca' }, h("calcite-shell", { key: 'a37b9fcfdd8450fea4a994738bf833c331bb168a' }, this._getTableControlRow("header"), h("div", { key: 'e0e82e0bb5441286d5cd3bdda3c55d77515fbcb0', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '4890c168eba3db34a291121f633c0d69ab8a1517', class: "height-full width-full" }, h("calcite-loader", { key: '19f85ec47a03731fe4c9ebb13d91cad66a8637fa', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '53d1c8bce2e2d464a141fabfcf13ee41aaf02168', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
323
333
|
.replace("{{total}}", total)
|
324
334
|
.replace("{{selected}}", selected))) : undefined)), this._filterModal()));
|
325
335
|
}
|
@@ -482,7 +492,8 @@ export class LayerTable {
|
|
482
492
|
const featuresEmpty = this._featuresEmpty();
|
483
493
|
const hasFilterExpressions = this._hasFilterExpressions();
|
484
494
|
if (this._translations) {
|
485
|
-
this._toolInfos = [
|
495
|
+
this._toolInfos = [
|
496
|
+
!this.mapHidden ? {
|
486
497
|
active: false,
|
487
498
|
icon: "zoom-to-object",
|
488
499
|
indicator: false,
|
@@ -490,7 +501,7 @@ export class LayerTable {
|
|
490
501
|
func: () => this._zoom(),
|
491
502
|
disabled: !featuresSelected,
|
492
503
|
isOverflow: false
|
493
|
-
},
|
504
|
+
} : undefined,
|
494
505
|
hasFilterExpressions ? {
|
495
506
|
active: false,
|
496
507
|
icon: "filter",
|
@@ -568,7 +579,8 @@ export class LayerTable {
|
|
568
579
|
disabled: false,
|
569
580
|
isOverflow: false,
|
570
581
|
isSublist: true
|
571
|
-
}
|
582
|
+
}
|
583
|
+
];
|
572
584
|
this._defaultVisibleToolSizeInfos = undefined;
|
573
585
|
}
|
574
586
|
}
|
@@ -1664,6 +1676,23 @@ export class LayerTable {
|
|
1664
1676
|
"attribute": "is-mobile",
|
1665
1677
|
"reflect": false
|
1666
1678
|
},
|
1679
|
+
"mapHidden": {
|
1680
|
+
"type": "boolean",
|
1681
|
+
"mutable": false,
|
1682
|
+
"complexType": {
|
1683
|
+
"original": "boolean",
|
1684
|
+
"resolved": "boolean",
|
1685
|
+
"references": {}
|
1686
|
+
},
|
1687
|
+
"required": false,
|
1688
|
+
"optional": false,
|
1689
|
+
"docs": {
|
1690
|
+
"tags": [],
|
1691
|
+
"text": "boolean: when true the map is hidden and map specific controls should be hidden"
|
1692
|
+
},
|
1693
|
+
"attribute": "map-hidden",
|
1694
|
+
"reflect": false
|
1695
|
+
},
|
1667
1696
|
"mapInfo": {
|
1668
1697
|
"type": "unknown",
|
1669
1698
|
"mutable": false,
|
@@ -1879,6 +1908,9 @@ export class LayerTable {
|
|
1879
1908
|
}, {
|
1880
1909
|
"propName": "_controlsThatFit",
|
1881
1910
|
"methodName": "_controlsThatFitWatchHandler"
|
1911
|
+
}, {
|
1912
|
+
"propName": "mapHidden",
|
1913
|
+
"methodName": "mapHiddenWatchHandler"
|
1882
1914
|
}, {
|
1883
1915
|
"propName": "isMobile",
|
1884
1916
|
"methodName": "isMobileWatchHandler"
|
@@ -481,7 +481,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
481
481
|
((_a = this.defaultGlobalId) === null || _a === void 0 ? void 0 : _a.indexOf(",")) > -1 ? this.defaultGlobalId.split(",") : [this.defaultGlobalId];
|
482
482
|
const defaultOid = !this.defaultOid ? undefined :
|
483
483
|
((_b = this.defaultOid) === null || _b === void 0 ? void 0 : _b.indexOf(",")) > -1 ? this.defaultOid.split(",").map(o => parseInt(o, 10)) : [parseInt(this.defaultOid, 10)];
|
484
|
-
return (h("calcite-shell", { class: `${tableSizeClass} ${tableClass} border-bottom` }, !this._isMobile ? (h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), text: "" }), h("calcite-tooltip", { label: tooltip, placement: "bottom", "reference-element": id }, h("span", null, tooltip)))) : undefined, h("div", { class: `width-full height-full position-relative` }, h("layer-table", { defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this.enableInlineEdit, enableShare: this.enableShare, isMobile: this._isMobile, mapInfo: this._mapInfo, mapView: this === null || this === void 0 ? void 0 : this._mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._layerTable = el, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected, zoomToScale: this.zoomToScale }))));
|
484
|
+
return (h("calcite-shell", { class: `${tableSizeClass} ${tableClass} border-bottom` }, !this._isMobile ? (h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), text: "" }), h("calcite-tooltip", { label: tooltip, placement: "bottom", "reference-element": id }, h("span", null, tooltip)))) : undefined, h("div", { class: `width-full height-full position-relative` }, h("layer-table", { defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this.enableInlineEdit, enableShare: this.enableShare, isMobile: this._isMobile, mapHidden: this._expandPopup, mapInfo: this._mapInfo, mapView: this === null || this === void 0 ? void 0 : this._mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._layerTable = el, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected, zoomToScale: this.zoomToScale }))));
|
485
485
|
}
|
486
486
|
/**
|
487
487
|
* Update the component layout when its size changes
|
@@ -103,6 +103,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
103
103
|
this.enableInlineEdit = undefined;
|
104
104
|
this.enableShare = undefined;
|
105
105
|
this.isMobile = undefined;
|
106
|
+
this.mapHidden = undefined;
|
106
107
|
this.mapInfo = undefined;
|
107
108
|
this.mapView = undefined;
|
108
109
|
this.onlyShowUpdatableLayers = undefined;
|
@@ -186,6 +187,15 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
186
187
|
}
|
187
188
|
});
|
188
189
|
}
|
190
|
+
/**
|
191
|
+
* Reset the toolInfos when mapHidden prop changes so we can show/hide any map dependant tool(s)
|
192
|
+
*/
|
193
|
+
mapHiddenWatchHandler() {
|
194
|
+
var _a;
|
195
|
+
if (((_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
196
|
+
this._initToolInfos();
|
197
|
+
}
|
198
|
+
}
|
189
199
|
/**
|
190
200
|
* When isMobile is false we need to init the tool infos for the dynamic toolbar
|
191
201
|
*/
|
@@ -349,7 +359,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
349
359
|
const selected = this.selectedIds.length.toString();
|
350
360
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
351
361
|
this._validateActiveActions();
|
352
|
-
return (h(Host, { key: '
|
362
|
+
return (h(Host, { key: '9692c6f764d078c22e1d6271deb3844ef65b1fca' }, h("calcite-shell", { key: 'a37b9fcfdd8450fea4a994738bf833c331bb168a' }, this._getTableControlRow("header"), h("div", { key: 'e0e82e0bb5441286d5cd3bdda3c55d77515fbcb0', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '4890c168eba3db34a291121f633c0d69ab8a1517', class: "height-full width-full" }, h("calcite-loader", { key: '19f85ec47a03731fe4c9ebb13d91cad66a8637fa', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '53d1c8bce2e2d464a141fabfcf13ee41aaf02168', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
353
363
|
.replace("{{total}}", total)
|
354
364
|
.replace("{{selected}}", selected))) : undefined)), this._filterModal()));
|
355
365
|
}
|
@@ -512,7 +522,8 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
512
522
|
const featuresEmpty = this._featuresEmpty();
|
513
523
|
const hasFilterExpressions = this._hasFilterExpressions();
|
514
524
|
if (this._translations) {
|
515
|
-
this._toolInfos = [
|
525
|
+
this._toolInfos = [
|
526
|
+
!this.mapHidden ? {
|
516
527
|
active: false,
|
517
528
|
icon: "zoom-to-object",
|
518
529
|
indicator: false,
|
@@ -520,7 +531,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
520
531
|
func: () => this._zoom(),
|
521
532
|
disabled: !featuresSelected,
|
522
533
|
isOverflow: false
|
523
|
-
},
|
534
|
+
} : undefined,
|
524
535
|
hasFilterExpressions ? {
|
525
536
|
active: false,
|
526
537
|
icon: "filter",
|
@@ -598,7 +609,8 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
598
609
|
disabled: false,
|
599
610
|
isOverflow: false,
|
600
611
|
isSublist: true
|
601
|
-
}
|
612
|
+
}
|
613
|
+
];
|
602
614
|
this._defaultVisibleToolSizeInfos = undefined;
|
603
615
|
}
|
604
616
|
}
|
@@ -1539,6 +1551,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1539
1551
|
"enableInlineEdit": ["enableInlineEditWatchHandler"],
|
1540
1552
|
"enableShare": ["enableShareWatchHandler"],
|
1541
1553
|
"_controlsThatFit": ["_controlsThatFitWatchHandler"],
|
1554
|
+
"mapHidden": ["mapHiddenWatchHandler"],
|
1542
1555
|
"isMobile": ["isMobileWatchHandler"],
|
1543
1556
|
"mapInfo": ["mapInfoWatchHandler"],
|
1544
1557
|
"mapView": ["mapViewWatchHandler"],
|
@@ -1556,6 +1569,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1556
1569
|
"enableInlineEdit": [4, "enable-inline-edit"],
|
1557
1570
|
"enableShare": [4, "enable-share"],
|
1558
1571
|
"isMobile": [4, "is-mobile"],
|
1572
|
+
"mapHidden": [4, "map-hidden"],
|
1559
1573
|
"mapInfo": [16],
|
1560
1574
|
"mapView": [16],
|
1561
1575
|
"onlyShowUpdatableLayers": [4, "only-show-updatable-layers"],
|
@@ -1584,6 +1598,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1584
1598
|
"enableInlineEdit": ["enableInlineEditWatchHandler"],
|
1585
1599
|
"enableShare": ["enableShareWatchHandler"],
|
1586
1600
|
"_controlsThatFit": ["_controlsThatFitWatchHandler"],
|
1601
|
+
"mapHidden": ["mapHiddenWatchHandler"],
|
1587
1602
|
"isMobile": ["isMobileWatchHandler"],
|
1588
1603
|
"mapInfo": ["mapInfoWatchHandler"],
|
1589
1604
|
"mapView": ["mapViewWatchHandler"],
|
@@ -155,6 +155,7 @@ const LayerTable = class {
|
|
155
155
|
this.enableInlineEdit = undefined;
|
156
156
|
this.enableShare = undefined;
|
157
157
|
this.isMobile = undefined;
|
158
|
+
this.mapHidden = undefined;
|
158
159
|
this.mapInfo = undefined;
|
159
160
|
this.mapView = undefined;
|
160
161
|
this.onlyShowUpdatableLayers = undefined;
|
@@ -238,6 +239,15 @@ const LayerTable = class {
|
|
238
239
|
}
|
239
240
|
});
|
240
241
|
}
|
242
|
+
/**
|
243
|
+
* Reset the toolInfos when mapHidden prop changes so we can show/hide any map dependant tool(s)
|
244
|
+
*/
|
245
|
+
mapHiddenWatchHandler() {
|
246
|
+
var _a;
|
247
|
+
if (((_a = this._toolInfos) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
248
|
+
this._initToolInfos();
|
249
|
+
}
|
250
|
+
}
|
241
251
|
/**
|
242
252
|
* When isMobile is false we need to init the tool infos for the dynamic toolbar
|
243
253
|
*/
|
@@ -401,7 +411,7 @@ const LayerTable = class {
|
|
401
411
|
const selected = this.selectedIds.length.toString();
|
402
412
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
403
413
|
this._validateActiveActions();
|
404
|
-
return (h(Host, { key: '
|
414
|
+
return (h(Host, { key: '9692c6f764d078c22e1d6271deb3844ef65b1fca' }, h("calcite-shell", { key: 'a37b9fcfdd8450fea4a994738bf833c331bb168a' }, this._getTableControlRow("header"), h("div", { key: 'e0e82e0bb5441286d5cd3bdda3c55d77515fbcb0', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '4890c168eba3db34a291121f633c0d69ab8a1517', class: "height-full width-full" }, h("calcite-loader", { key: '19f85ec47a03731fe4c9ebb13d91cad66a8637fa', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '53d1c8bce2e2d464a141fabfcf13ee41aaf02168', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
405
415
|
.replace("{{total}}", total)
|
406
416
|
.replace("{{selected}}", selected))) : undefined)), this._filterModal()));
|
407
417
|
}
|
@@ -564,7 +574,8 @@ const LayerTable = class {
|
|
564
574
|
const featuresEmpty = this._featuresEmpty();
|
565
575
|
const hasFilterExpressions = this._hasFilterExpressions();
|
566
576
|
if (this._translations) {
|
567
|
-
this._toolInfos = [
|
577
|
+
this._toolInfos = [
|
578
|
+
!this.mapHidden ? {
|
568
579
|
active: false,
|
569
580
|
icon: "zoom-to-object",
|
570
581
|
indicator: false,
|
@@ -572,7 +583,7 @@ const LayerTable = class {
|
|
572
583
|
func: () => this._zoom(),
|
573
584
|
disabled: !featuresSelected,
|
574
585
|
isOverflow: false
|
575
|
-
},
|
586
|
+
} : undefined,
|
576
587
|
hasFilterExpressions ? {
|
577
588
|
active: false,
|
578
589
|
icon: "filter",
|
@@ -650,7 +661,8 @@ const LayerTable = class {
|
|
650
661
|
disabled: false,
|
651
662
|
isOverflow: false,
|
652
663
|
isSublist: true
|
653
|
-
}
|
664
|
+
}
|
665
|
+
];
|
654
666
|
this._defaultVisibleToolSizeInfos = undefined;
|
655
667
|
}
|
656
668
|
}
|
@@ -1591,6 +1603,7 @@ const LayerTable = class {
|
|
1591
1603
|
"enableInlineEdit": ["enableInlineEditWatchHandler"],
|
1592
1604
|
"enableShare": ["enableShareWatchHandler"],
|
1593
1605
|
"_controlsThatFit": ["_controlsThatFitWatchHandler"],
|
1606
|
+
"mapHidden": ["mapHiddenWatchHandler"],
|
1594
1607
|
"isMobile": ["isMobileWatchHandler"],
|
1595
1608
|
"mapInfo": ["mapInfoWatchHandler"],
|
1596
1609
|
"mapView": ["mapViewWatchHandler"],
|
@@ -424,7 +424,7 @@ const CrowdsourceManager = class {
|
|
424
424
|
((_a = this.defaultGlobalId) === null || _a === void 0 ? void 0 : _a.indexOf(",")) > -1 ? this.defaultGlobalId.split(",") : [this.defaultGlobalId];
|
425
425
|
const defaultOid = !this.defaultOid ? undefined :
|
426
426
|
((_b = this.defaultOid) === null || _b === void 0 ? void 0 : _b.indexOf(",")) > -1 ? this.defaultOid.split(",").map(o => parseInt(o, 10)) : [parseInt(this.defaultOid, 10)];
|
427
|
-
return (h("calcite-shell", { class: `${tableSizeClass} ${tableClass} border-bottom` }, !this._isMobile ? (h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), text: "" }), h("calcite-tooltip", { label: tooltip, placement: "bottom", "reference-element": id }, h("span", null, tooltip)))) : undefined, h("div", { class: `width-full height-full position-relative` }, h("layer-table", { defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this.enableInlineEdit, enableShare: this.enableShare, isMobile: this._isMobile, mapInfo: this._mapInfo, mapView: this === null || this === void 0 ? void 0 : this._mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._layerTable = el, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected, zoomToScale: this.zoomToScale }))));
|
427
|
+
return (h("calcite-shell", { class: `${tableSizeClass} ${tableClass} border-bottom` }, !this._isMobile ? (h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), text: "" }), h("calcite-tooltip", { label: tooltip, placement: "bottom", "reference-element": id }, h("span", null, tooltip)))) : undefined, h("div", { class: `width-full height-full position-relative` }, h("layer-table", { defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this.enableInlineEdit, enableShare: this.enableShare, isMobile: this._isMobile, mapHidden: this._expandPopup, mapInfo: this._mapInfo, mapView: this === null || this === void 0 ? void 0 : this._mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._layerTable = el, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected, zoomToScale: this.zoomToScale }))));
|
428
428
|
}
|
429
429
|
/**
|
430
430
|
* Update the component layout when its size changes
|