@esri/solutions-components 0.6.6 → 0.6.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. package/dist/cjs/basemap-gallery_4.cjs.entry.js +622 -0
  2. package/dist/cjs/card-manager_4.cjs.entry.js +91 -37
  3. package/dist/cjs/crowdsource-manager.cjs.entry.js +4 -2
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/solutions-components.cjs.js +2 -2
  6. package/dist/collection/collection-manifest.json +3 -1
  7. package/dist/collection/components/basemap-gallery/basemap-gallery.css +19 -0
  8. package/dist/collection/components/basemap-gallery/basemap-gallery.js +166 -0
  9. package/dist/collection/components/basemap-gallery/test/basemap-gallery.e2e.js +29 -0
  10. package/dist/collection/components/basemap-gallery/test/basemap-gallery.spec.js +37 -0
  11. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +43 -2
  12. package/dist/collection/components/layer-table/layer-table.js +99 -30
  13. package/dist/collection/components/map-card/map-card.css +0 -7
  14. package/dist/collection/components/map-card/map-card.js +12 -7
  15. package/dist/collection/components/map-search/map-search.css +24 -0
  16. package/dist/collection/components/map-search/map-search.js +321 -0
  17. package/dist/collection/components/map-search/test/map-search.e2e.js +29 -0
  18. package/dist/collection/components/map-search/test/map-search.spec.js +37 -0
  19. package/dist/collection/components/map-tools/map-tools.js +139 -14
  20. package/dist/collection/demos/crowdsource-manager.html +3 -3
  21. package/dist/collection/utils/interfaces.ts +2 -0
  22. package/dist/components/action-bar.js +1 -0
  23. package/dist/components/action-group.js +1 -0
  24. package/dist/components/action-menu.js +1 -0
  25. package/dist/components/action.js +1 -0
  26. package/dist/components/alert.js +1 -0
  27. package/dist/components/avatar.js +1 -0
  28. package/dist/components/basemap-gallery.d.ts +11 -0
  29. package/dist/components/basemap-gallery.js +11 -0
  30. package/dist/components/basemap-gallery2.js +118 -0
  31. package/dist/components/buffer-tools2.js +1 -0
  32. package/dist/components/button.js +1 -0
  33. package/dist/components/calcite-accordion-item.js +1 -0
  34. package/dist/components/calcite-accordion.js +1 -0
  35. package/dist/components/calcite-action-pad.js +1 -0
  36. package/dist/components/calcite-block-section.js +1 -0
  37. package/dist/components/calcite-block.js +1 -0
  38. package/dist/components/calcite-card.js +1 -0
  39. package/dist/components/calcite-chip-group.js +1 -0
  40. package/dist/components/calcite-color-picker.js +1 -0
  41. package/dist/components/calcite-combobox-item-group.js +1 -0
  42. package/dist/components/calcite-fab.js +1 -0
  43. package/dist/components/calcite-flow-item.js +1 -0
  44. package/dist/components/calcite-flow.js +1 -0
  45. package/dist/components/calcite-inline-editable.js +1 -0
  46. package/dist/components/calcite-input-date-picker.js +1 -0
  47. package/dist/components/calcite-input-time-picker.js +1 -0
  48. package/dist/components/calcite-input-time-zone.js +1 -0
  49. package/dist/components/calcite-list-item-group.js +1 -0
  50. package/dist/components/calcite-menu-item.js +1 -0
  51. package/dist/components/calcite-modal.js +1 -0
  52. package/dist/components/calcite-navigation-logo.js +1 -0
  53. package/dist/components/calcite-navigation-user.js +1 -0
  54. package/dist/components/calcite-navigation.js +1 -0
  55. package/dist/components/calcite-option-group.js +1 -0
  56. package/dist/components/calcite-pagination.js +1 -0
  57. package/dist/components/calcite-pick-list-group.js +1 -0
  58. package/dist/components/calcite-pick-list.js +1 -0
  59. package/dist/components/calcite-radio-button-group.js +1 -0
  60. package/dist/components/calcite-radio-button.js +1 -0
  61. package/dist/components/calcite-rating.js +1 -0
  62. package/dist/components/calcite-shell-center-row.js +1 -0
  63. package/dist/components/calcite-sortable-list.js +1 -0
  64. package/dist/components/calcite-split-button.js +1 -0
  65. package/dist/components/calcite-stepper-item.js +1 -0
  66. package/dist/components/calcite-stepper.js +1 -0
  67. package/dist/components/calcite-text-area.js +1 -0
  68. package/dist/components/calcite-tile-select-group.js +1 -0
  69. package/dist/components/calcite-tile-select.js +1 -0
  70. package/dist/components/calcite-tip-group.js +1 -0
  71. package/dist/components/calcite-tip-manager.js +1 -0
  72. package/dist/components/calcite-tip.js +1 -0
  73. package/dist/components/card-manager2.js +1 -0
  74. package/dist/components/checkbox.js +1 -0
  75. package/dist/components/chip.js +1 -0
  76. package/dist/components/color-picker-hex-input.js +1 -0
  77. package/dist/components/color-picker-swatch.js +1 -0
  78. package/dist/components/combobox-item.js +1 -0
  79. package/dist/components/combobox.js +1 -0
  80. package/dist/components/crowdsource-manager.js +95 -78
  81. package/dist/components/crowdsource-reporter.js +1 -0
  82. package/dist/components/date-picker-day.js +1 -0
  83. package/dist/components/date-picker-month-header.js +1 -0
  84. package/dist/components/date-picker-month.js +1 -0
  85. package/dist/components/date-picker.js +1 -0
  86. package/dist/components/deduct-calculator2.js +1 -0
  87. package/dist/components/dropdown-group.js +1 -0
  88. package/dist/components/dropdown-item.js +1 -0
  89. package/dist/components/dropdown.js +1 -0
  90. package/dist/components/edit-card2.js +1 -0
  91. package/dist/components/esri-loader.js +301 -0
  92. package/dist/components/filter2.js +1 -0
  93. package/dist/components/graph.js +1 -0
  94. package/dist/components/handle.js +1 -0
  95. package/dist/components/icon.js +1 -0
  96. package/dist/components/index.d.ts +6 -0
  97. package/dist/components/index.js +1 -1
  98. package/dist/components/info-card2.js +1 -0
  99. package/dist/components/input-message.js +1 -0
  100. package/dist/components/input-number.js +1 -0
  101. package/dist/components/input-text.js +1 -0
  102. package/dist/components/input.js +1 -0
  103. package/dist/components/json-editor2.js +1 -0
  104. package/dist/components/label2.js +1 -0
  105. package/dist/components/layer-table2.js +83 -31
  106. package/dist/components/layout-manager2.js +1 -0
  107. package/dist/components/link.js +1 -0
  108. package/dist/components/list-item.js +1 -0
  109. package/dist/components/list-item2.js +1 -0
  110. package/dist/components/list.js +1 -0
  111. package/dist/components/loadModules.js +1 -1
  112. package/dist/components/loader.js +1 -0
  113. package/dist/components/locale.js +2 -295
  114. package/dist/components/map-card2.js +61 -42
  115. package/dist/components/map-draw-tools2.js +1 -0
  116. package/dist/components/map-layer-picker2.js +1 -0
  117. package/dist/components/map-picker2.js +1 -0
  118. package/dist/components/map-search.d.ts +11 -0
  119. package/dist/components/map-search.js +11 -0
  120. package/dist/components/map-search2.js +201 -0
  121. package/dist/components/map-select-tools2.js +1 -0
  122. package/dist/components/map-tools2.js +141 -30
  123. package/dist/components/menu.js +1 -0
  124. package/dist/components/notice.js +1 -0
  125. package/dist/components/option.js +1 -0
  126. package/dist/components/panel.js +1 -0
  127. package/dist/components/pci-calculator.js +1 -0
  128. package/dist/components/pdf-download2.js +1 -0
  129. package/dist/components/pick-list-item.js +1 -0
  130. package/dist/components/popover.js +1 -0
  131. package/dist/components/progress.js +1 -0
  132. package/dist/components/public-notification.js +1 -0
  133. package/dist/components/refine-selection2.js +1 -0
  134. package/dist/components/scrim.js +1 -0
  135. package/dist/components/segmented-control-item.js +1 -0
  136. package/dist/components/segmented-control.js +1 -0
  137. package/dist/components/select.js +1 -0
  138. package/dist/components/shell-panel.js +1 -0
  139. package/dist/components/shell.js +1 -0
  140. package/dist/components/slider.js +1 -0
  141. package/dist/components/solution-configuration.js +1 -0
  142. package/dist/components/solution-contents2.js +1 -0
  143. package/dist/components/solution-item-details2.js +1 -0
  144. package/dist/components/solution-item-icon2.js +1 -0
  145. package/dist/components/solution-item-sharing2.js +1 -0
  146. package/dist/components/solution-item2.js +1 -0
  147. package/dist/components/solution-organization-variables2.js +1 -0
  148. package/dist/components/solution-resource-item2.js +1 -0
  149. package/dist/components/solution-spatial-ref2.js +1 -0
  150. package/dist/components/solution-template-data2.js +1 -0
  151. package/dist/components/solution-variables2.js +1 -0
  152. package/dist/components/stack.js +1 -0
  153. package/dist/components/store-manager.js +1 -0
  154. package/dist/components/switch.js +1 -0
  155. package/dist/components/tab-nav.js +1 -0
  156. package/dist/components/tab-title.js +1 -0
  157. package/dist/components/tab.js +1 -0
  158. package/dist/components/tabs.js +1 -0
  159. package/dist/components/tile.js +1 -0
  160. package/dist/components/time-picker.js +1 -0
  161. package/dist/components/tooltip.js +1 -0
  162. package/dist/components/tree-item.js +1 -0
  163. package/dist/components/tree.js +1 -0
  164. package/dist/components/value-list-item.js +1 -0
  165. package/dist/components/value-list.js +1 -0
  166. package/dist/esm/basemap-gallery_4.entry.js +615 -0
  167. package/dist/esm/card-manager_4.entry.js +91 -37
  168. package/dist/esm/crowdsource-manager.entry.js +4 -2
  169. package/dist/esm/loader.js +1 -1
  170. package/dist/esm/polyfills/core-js.js +11 -0
  171. package/dist/esm/polyfills/dom.js +79 -0
  172. package/dist/esm/polyfills/es5-html-element.js +1 -0
  173. package/dist/esm/polyfills/index.js +34 -0
  174. package/dist/esm/polyfills/system.js +6 -0
  175. package/dist/esm/solutions-components.js +2 -2
  176. package/dist/solutions-components/demos/crowdsource-manager.html +3 -3
  177. package/dist/solutions-components/p-55aefaa8.entry.js +6 -0
  178. package/dist/solutions-components/p-5b5a6ac8.entry.js +6 -0
  179. package/dist/solutions-components/p-a6c85bd7.entry.js +6 -0
  180. package/dist/solutions-components/solutions-components.esm.js +1 -1
  181. package/dist/solutions-components/utils/interfaces.ts +2 -0
  182. package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +64 -0
  183. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +9 -1
  184. package/dist/types/components/layer-table/layer-table.d.ts +24 -2
  185. package/dist/types/components/map-card/map-card.d.ts +10 -2
  186. package/dist/types/components/map-search/map-search.d.ts +107 -0
  187. package/dist/types/components/map-tools/map-tools.d.ts +68 -5
  188. package/dist/types/components.d.ts +122 -0
  189. package/dist/types/preact.d.ts +4 -0
  190. package/dist/types/stencil-public-runtime.d.ts +2 -0
  191. package/dist/types/utils/interfaces.d.ts +2 -0
  192. package/package.json +1 -1
  193. package/dist/cjs/map-picker_2.cjs.entry.js +0 -264
  194. package/dist/esm/map-picker_2.entry.js +0 -259
  195. package/dist/solutions-components/p-1990d9c8.entry.js +0 -6
  196. package/dist/solutions-components/p-40bde8b2.entry.js +0 -6
  197. package/dist/solutions-components/p-b921aa1a.entry.js +0 -6
@@ -111,6 +111,10 @@ const LayerTable = class {
111
111
  * number[]: A list of all IDs for the current layer
112
112
  */
113
113
  this._allIds = [];
114
+ /**
115
+ * bool: When true the table is being sorted
116
+ */
117
+ this._tableSorting = false;
114
118
  /**
115
119
  * Store a reference to the table node after it's first created
116
120
  * and initializes the FeatureTable
@@ -121,15 +125,16 @@ const LayerTable = class {
121
125
  */
122
126
  this.onTableNodeCreate = (node) => {
123
127
  this._tableNode = node;
124
- this._getTable(node);
125
128
  };
126
129
  this.mapView = undefined;
130
+ this.showNewestFirst = undefined;
127
131
  this.zoomAndScrollToSelected = undefined;
128
132
  this._alertOpen = false;
129
133
  this._fetchingData = false;
130
134
  this._layer = undefined;
131
135
  this._selectedIndexes = [];
132
136
  this._showOnlySelected = false;
137
+ this._sortActive = false;
133
138
  this._translations = undefined;
134
139
  }
135
140
  //--------------------------------------------------------------------------
@@ -144,7 +149,6 @@ const LayerTable = class {
144
149
  this._fetchingData = true;
145
150
  const mapLayerIds = await mapViewUtils.getMapLayerIds(this.mapView);
146
151
  this._layer = await mapViewUtils.getLayer(this.mapView, mapLayerIds[0]);
147
- this._resetTable();
148
152
  this.reactiveUtils.on(() => this.mapView, "click", (event) => {
149
153
  void this._mapClicked(event);
150
154
  });
@@ -155,9 +159,17 @@ const LayerTable = class {
155
159
  */
156
160
  async _layerWatchHandler() {
157
161
  this._fetchingData = true;
158
- this._resetTable();
162
+ await this._resetTable();
159
163
  this._fetchingData = false;
160
164
  }
165
+ /**
166
+ * When sortActive is false the user has not defined a sort and we should use the default sort
167
+ */
168
+ async _sortActiveWatchHandler() {
169
+ if (!this._sortActive) {
170
+ await this._sortTable();
171
+ }
172
+ }
161
173
  //--------------------------------------------------------------------------
162
174
  //
163
175
  // Methods (public)
@@ -262,31 +274,39 @@ const LayerTable = class {
262
274
  *
263
275
  * @returns void
264
276
  */
265
- _getTable(node) {
277
+ async _getTable(node) {
266
278
  if (this._layer) {
267
- this._table = new this.FeatureTable({
268
- layer: this._layer,
269
- view: this.mapView,
270
- //editingEnabled: this._editEnabled,
271
- highlightEnabled: true,
272
- multiSortEnabled: false,
273
- visibleElements: {
274
- header: false,
275
- menu: false
276
- },
277
- container: node
278
- });
279
- this._table.highlightIds.on("change", () => {
280
- this._selectedIndexes = this._table.highlightIds.toArray();
281
- if (this._showOnlySelected) {
282
- if (this._selectedIndexes.length > 0) {
283
- this._table.filterBySelection();
284
- }
285
- else {
286
- this._toggleShowSelected();
287
- }
288
- }
289
- this.featureSelectionChange.emit(this._selectedIndexes);
279
+ await this._layer.when(async () => {
280
+ this._table = new this.FeatureTable({
281
+ layer: this._layer,
282
+ view: this.mapView,
283
+ //editingEnabled: this._editEnabled,
284
+ highlightEnabled: true,
285
+ multiSortEnabled: false,
286
+ visibleElements: {
287
+ header: false,
288
+ menu: false
289
+ },
290
+ container: node
291
+ });
292
+ await this._table.when(async () => {
293
+ this._table.highlightIds.on("change", () => {
294
+ this._selectedIndexes = this._table.highlightIds.toArray();
295
+ if (this._showOnlySelected) {
296
+ if (this._selectedIndexes.length > 0) {
297
+ this._table.filterBySelection();
298
+ }
299
+ else {
300
+ this._toggleShowSelected();
301
+ }
302
+ }
303
+ this.featureSelectionChange.emit(this._selectedIndexes);
304
+ });
305
+ this.reactiveUtils.watch(() => this._table.activeSortOrders, (sortOrders) => {
306
+ var _a, _b;
307
+ this._sortActive = sortOrders.length > 0 && ((_a = sortOrders[0]) === null || _a === void 0 ? void 0 : _a.direction) === "asc" || ((_b = sortOrders[0]) === null || _b === void 0 ? void 0 : _b.direction) === "desc";
308
+ });
309
+ });
290
310
  });
291
311
  }
292
312
  }
@@ -295,9 +315,10 @@ const LayerTable = class {
295
315
  *
296
316
  * @returns void
297
317
  */
298
- _resetTable() {
318
+ async _resetTable() {
299
319
  if (this._layer && this._table) {
300
320
  this._clearSelection();
321
+ this._allIds = [];
301
322
  this.featureSelectionChange.emit(this._selectedIndexes);
302
323
  this._table.layer = this._layer;
303
324
  this._editEnabled = this._layer.editingEnabled;
@@ -305,6 +326,26 @@ const LayerTable = class {
305
326
  this._table.editingEnabled = this._editEnabled;
306
327
  this._table.clearSelectionFilter();
307
328
  this._showOnlySelected = false;
329
+ this._sortActive = false;
330
+ await this._sortTable();
331
+ }
332
+ }
333
+ /**
334
+ * Sort the objectid field in descending order
335
+ *
336
+ * @returns void
337
+ */
338
+ async _sortTable() {
339
+ if (this._table && this._layer && !this._sortActive) {
340
+ if (!this._tableSorting && this.showNewestFirst) {
341
+ this._tableSorting = true;
342
+ await this._table.when(async () => {
343
+ await this._layer.when(async () => {
344
+ this._table.sortColumn(this._layer.objectIdField, "desc");
345
+ this._tableSorting = false;
346
+ });
347
+ });
348
+ }
308
349
  }
309
350
  }
310
351
  /**
@@ -483,14 +524,21 @@ const LayerTable = class {
483
524
  const id = evt.detail[0];
484
525
  if (id !== this._layer.id || this._allIds.length === 0) {
485
526
  this._fetchingData = true;
486
- this._table.highlightIds.removeAll();
487
527
  this._layer = await mapViewUtils.getLayer(this.mapView, id);
488
528
  this._allIds = await mapViewUtils.queryAllIds(this._layer);
529
+ if (!this._table) {
530
+ await this._getTable(this._tableNode);
531
+ }
532
+ await this._table.when(() => {
533
+ this._table.highlightIds.removeAll();
534
+ });
489
535
  this._selectedIndexes = [];
490
536
  this._table.layer = this._layer;
491
537
  this._table.render();
492
- this._fetchingData = false;
493
538
  }
539
+ this._sortActive = false;
540
+ await this._sortTable();
541
+ this._fetchingData = false;
494
542
  }
495
543
  /**
496
544
  * Fetches the component's translations
@@ -505,7 +553,8 @@ const LayerTable = class {
505
553
  get el() { return index.getElement(this); }
506
554
  static get watchers() { return {
507
555
  "mapView": ["mapViewWatchHandler"],
508
- "_layer": ["_layerWatchHandler"]
556
+ "_layer": ["_layerWatchHandler"],
557
+ "_sortActive": ["_sortActiveWatchHandler"]
509
558
  }; }
510
559
  };
511
560
  LayerTable.style = layerTableCss;
@@ -588,7 +637,7 @@ const LayoutManager = class {
588
637
  };
589
638
  LayoutManager.style = layoutManagerCss;
590
639
 
591
- const mapCardCss = ":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 58px)}.esri-zoom{display:none !important}.map-tools{position:absolute;top:40px;right:0px;padding:1rem}";
640
+ const mapCardCss = ":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 58px)}.esri-zoom{display:none !important}";
592
641
 
593
642
  const MapCard = class {
594
643
  constructor(hostRef) {
@@ -600,13 +649,14 @@ const MapCard = class {
600
649
  this._loadedId = "";
601
650
  this.mapInfos = [];
602
651
  this.mapView = undefined;
652
+ this._searchConfiguration = undefined;
603
653
  this._webMapInfo = undefined;
604
654
  }
605
655
  /**
606
656
  * Listen for changes to map info and load the appropriate map
607
657
  */
608
658
  async mapInfoChange(evt) {
609
- this._loadMap(evt.detail);
659
+ await this._loadMap(evt.detail);
610
660
  }
611
661
  //--------------------------------------------------------------------------
612
662
  //
@@ -623,7 +673,7 @@ const MapCard = class {
623
673
  * Renders the component.
624
674
  */
625
675
  render() {
626
- return (index.h(index.Host, null, index.h("map-picker", { mapInfos: this.mapInfos }), index.h("div", { class: "map-height", ref: (el) => (this._mapDiv = el) }), index.h("map-tools", { class: "map-tools" })));
676
+ return (index.h(index.Host, null, index.h("map-picker", { mapInfos: this.mapInfos }), index.h("div", { class: "map-height", ref: (el) => (this._mapDiv = el) }), index.h("map-tools", { mapView: this.mapView, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration })));
627
677
  }
628
678
  //--------------------------------------------------------------------------
629
679
  //
@@ -654,7 +704,7 @@ const MapCard = class {
654
704
  *
655
705
  * @protected
656
706
  */
657
- _loadMap(webMapInfo) {
707
+ async _loadMap(webMapInfo) {
658
708
  let id = webMapInfo === null || webMapInfo === void 0 ? void 0 : webMapInfo.id;
659
709
  // on the first render use the first child of the provided mapInfos
660
710
  this._webMapInfo = (id === "" || !id) && this.mapInfos.length > 0 ?
@@ -669,8 +719,12 @@ const MapCard = class {
669
719
  map: webMap,
670
720
  resizeAlign: "top-left"
671
721
  });
672
- this._loadedId = id;
673
- this.mapChanged.emit(this.mapView);
722
+ await this.mapView.when(() => {
723
+ this._loadedId = id;
724
+ this._searchConfiguration = this._webMapInfo.searchConfiguration;
725
+ this.mapChanged.emit(this.mapView);
726
+ this.mapView.ui.add(this._mapTools, { position: "top-right", index: 0 });
727
+ });
674
728
  }
675
729
  }
676
730
  get el() { return index.getElement(this); }
@@ -18,9 +18,11 @@ const CrowdsourceManager = class {
18
18
  constructor(hostRef) {
19
19
  index.registerInstance(this, hostRef);
20
20
  this.classicGrid = false;
21
+ this.showNewestFirst = false;
21
22
  this.hideHeader = true;
22
23
  this.hideMap = false;
23
24
  this.mapInfos = [];
25
+ this.searchConfiguration = undefined;
24
26
  this.zoomAndScrollToSelected = false;
25
27
  this._translations = undefined;
26
28
  this._layoutMode = interfaces.ELayoutMode.GRID;
@@ -77,7 +79,7 @@ const CrowdsourceManager = class {
77
79
  * Renders the component.
78
80
  */
79
81
  render() {
80
- return (index.h(index.Host, null, index.h("calcite-shell", null, index.h("calcite-panel", { class: "width-full height-full", heading: this.hideHeader ? undefined : this._translations.header }, this.hideHeader ? undefined : (index.h("layout-manager", { slot: "header-actions-end" })), this._getBody(this._layoutMode, this._panelOpen, this.hideMap)))));
82
+ return (index.h(index.Host, null, index.h("calcite-shell", { class: "position-relative" }, index.h("calcite-panel", { class: "width-full height-full", heading: this.hideHeader ? undefined : this._translations.header }, this.hideHeader ? undefined : (index.h("layout-manager", { slot: "header-actions-end" })), this._getBody(this._layoutMode, this._panelOpen, this.hideMap)))));
81
83
  }
82
84
  //--------------------------------------------------------------------------
83
85
  //
@@ -243,7 +245,7 @@ const CrowdsourceManager = class {
243
245
  const toggleSlot = this.classicGrid && layoutMode !== interfaces.ELayoutMode.VERTICAL ? "footer" :
244
246
  this.classicGrid && layoutMode === interfaces.ELayoutMode.VERTICAL ? "panel-end" :
245
247
  layoutMode === interfaces.ELayoutMode.HORIZONTAL ? "header" : "panel-start";
246
- return (index.h("calcite-shell", { class: tableSizeClass + " border-bottom" }, index.h("calcite-action-bar", { class: "border", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, index.h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), text: "" }), index.h("calcite-tooltip", { label: tooltip, placement: "bottom", "reference-element": id }, index.h("span", null, tooltip))), index.h("div", { class: "width-full height-full position-relative" }, index.h("layer-table", { mapView: this === null || this === void 0 ? void 0 : this._mapView, zoomAndScrollToSelected: this.zoomAndScrollToSelected }))));
248
+ return (index.h("calcite-shell", { class: tableSizeClass + " border-bottom" }, index.h("calcite-action-bar", { class: "border", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, index.h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), text: "" }), index.h("calcite-tooltip", { label: tooltip, placement: "bottom", "reference-element": id }, index.h("span", null, tooltip))), index.h("div", { class: "width-full height-full position-relative" }, index.h("layer-table", { mapView: this === null || this === void 0 ? void 0 : this._mapView, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected }))));
247
249
  }
248
250
  /**
249
251
  * Open/Close the appropriate panel.