@esri/solutions-components 0.8.19 → 0.8.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. package/dist/assets/t9n/crowdsource-reporter/resources_ar.json +0 -1
  2. package/dist/assets/t9n/crowdsource-reporter/resources_bg.json +0 -1
  3. package/dist/assets/t9n/crowdsource-reporter/resources_bs.json +0 -1
  4. package/dist/assets/t9n/crowdsource-reporter/resources_ca.json +0 -1
  5. package/dist/assets/t9n/crowdsource-reporter/resources_cs.json +0 -1
  6. package/dist/assets/t9n/crowdsource-reporter/resources_da.json +0 -1
  7. package/dist/assets/t9n/crowdsource-reporter/resources_de.json +0 -1
  8. package/dist/assets/t9n/crowdsource-reporter/resources_el.json +0 -1
  9. package/dist/assets/t9n/crowdsource-reporter/resources_es.json +0 -1
  10. package/dist/assets/t9n/crowdsource-reporter/resources_et.json +0 -1
  11. package/dist/assets/t9n/crowdsource-reporter/resources_fi.json +0 -1
  12. package/dist/assets/t9n/crowdsource-reporter/resources_fr.json +0 -1
  13. package/dist/assets/t9n/crowdsource-reporter/resources_he.json +0 -1
  14. package/dist/assets/t9n/crowdsource-reporter/resources_hr.json +0 -1
  15. package/dist/assets/t9n/crowdsource-reporter/resources_hu.json +0 -1
  16. package/dist/assets/t9n/crowdsource-reporter/resources_id.json +0 -1
  17. package/dist/assets/t9n/crowdsource-reporter/resources_it.json +0 -1
  18. package/dist/assets/t9n/crowdsource-reporter/resources_ja.json +0 -1
  19. package/dist/assets/t9n/crowdsource-reporter/resources_ko.json +0 -1
  20. package/dist/assets/t9n/crowdsource-reporter/resources_lt.json +0 -1
  21. package/dist/assets/t9n/crowdsource-reporter/resources_lv.json +0 -1
  22. package/dist/assets/t9n/crowdsource-reporter/resources_nb.json +0 -1
  23. package/dist/assets/t9n/crowdsource-reporter/resources_nl.json +0 -1
  24. package/dist/assets/t9n/crowdsource-reporter/resources_pl.json +0 -1
  25. package/dist/assets/t9n/crowdsource-reporter/resources_pt-BR.json +0 -1
  26. package/dist/assets/t9n/crowdsource-reporter/resources_pt-PT.json +0 -1
  27. package/dist/assets/t9n/crowdsource-reporter/resources_ro.json +0 -1
  28. package/dist/assets/t9n/crowdsource-reporter/resources_ru.json +0 -1
  29. package/dist/assets/t9n/crowdsource-reporter/resources_sk.json +0 -1
  30. package/dist/assets/t9n/crowdsource-reporter/resources_sl.json +0 -1
  31. package/dist/assets/t9n/crowdsource-reporter/resources_sr.json +0 -1
  32. package/dist/assets/t9n/crowdsource-reporter/resources_sv.json +0 -1
  33. package/dist/assets/t9n/crowdsource-reporter/resources_th.json +0 -1
  34. package/dist/assets/t9n/crowdsource-reporter/resources_tr.json +0 -1
  35. package/dist/assets/t9n/crowdsource-reporter/resources_uk.json +0 -1
  36. package/dist/assets/t9n/crowdsource-reporter/resources_vi.json +0 -1
  37. package/dist/assets/t9n/crowdsource-reporter/resources_zh-CN.json +0 -1
  38. package/dist/assets/t9n/crowdsource-reporter/resources_zh-HK.json +0 -1
  39. package/dist/assets/t9n/crowdsource-reporter/resources_zh-TW.json +0 -1
  40. package/dist/assets/t9n/layer-list/resources_ar.json +1 -1
  41. package/dist/assets/t9n/layer-list/resources_bg.json +1 -1
  42. package/dist/assets/t9n/layer-list/resources_bs.json +1 -1
  43. package/dist/assets/t9n/layer-list/resources_ca.json +1 -1
  44. package/dist/assets/t9n/layer-list/resources_cs.json +1 -1
  45. package/dist/assets/t9n/layer-list/resources_da.json +1 -1
  46. package/dist/assets/t9n/layer-list/resources_de.json +1 -1
  47. package/dist/assets/t9n/layer-list/resources_el.json +1 -1
  48. package/dist/assets/t9n/layer-list/resources_es.json +1 -1
  49. package/dist/assets/t9n/layer-list/resources_et.json +1 -1
  50. package/dist/assets/t9n/layer-list/resources_fi.json +1 -1
  51. package/dist/assets/t9n/layer-list/resources_fr.json +1 -1
  52. package/dist/assets/t9n/layer-list/resources_he.json +1 -1
  53. package/dist/assets/t9n/layer-list/resources_hr.json +1 -1
  54. package/dist/assets/t9n/layer-list/resources_hu.json +1 -1
  55. package/dist/assets/t9n/layer-list/resources_id.json +1 -1
  56. package/dist/assets/t9n/layer-list/resources_it.json +1 -1
  57. package/dist/assets/t9n/layer-list/resources_ja.json +1 -1
  58. package/dist/assets/t9n/layer-list/resources_ko.json +1 -1
  59. package/dist/assets/t9n/layer-list/resources_lt.json +1 -1
  60. package/dist/assets/t9n/layer-list/resources_lv.json +1 -1
  61. package/dist/assets/t9n/layer-list/resources_nb.json +1 -1
  62. package/dist/assets/t9n/layer-list/resources_nl.json +1 -1
  63. package/dist/assets/t9n/layer-list/resources_pl.json +1 -1
  64. package/dist/assets/t9n/layer-list/resources_pt-BR.json +1 -1
  65. package/dist/assets/t9n/layer-list/resources_pt-PT.json +1 -1
  66. package/dist/assets/t9n/layer-list/resources_ro.json +1 -1
  67. package/dist/assets/t9n/layer-list/resources_ru.json +1 -1
  68. package/dist/assets/t9n/layer-list/resources_sk.json +1 -1
  69. package/dist/assets/t9n/layer-list/resources_sl.json +1 -1
  70. package/dist/assets/t9n/layer-list/resources_sr.json +1 -1
  71. package/dist/assets/t9n/layer-list/resources_sv.json +1 -1
  72. package/dist/assets/t9n/layer-list/resources_th.json +1 -1
  73. package/dist/assets/t9n/layer-list/resources_tr.json +1 -1
  74. package/dist/assets/t9n/layer-list/resources_uk.json +1 -1
  75. package/dist/assets/t9n/layer-list/resources_vi.json +1 -1
  76. package/dist/assets/t9n/layer-list/resources_zh-CN.json +1 -1
  77. package/dist/assets/t9n/layer-list/resources_zh-HK.json +1 -1
  78. package/dist/assets/t9n/layer-list/resources_zh-TW.json +1 -1
  79. package/dist/cjs/card-manager_3.cjs.entry.js +3 -2
  80. package/dist/cjs/crowdsource-manager.cjs.entry.js +21 -2
  81. package/dist/cjs/loader.cjs.js +1 -1
  82. package/dist/cjs/solutions-components.cjs.js +1 -1
  83. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +42 -1
  84. package/dist/collection/components/layer-table/layer-table.js +3 -2
  85. package/dist/components/crowdsource-manager.js +25 -3
  86. package/dist/components/layer-table2.js +3 -2
  87. package/dist/esm/card-manager_3.entry.js +3 -2
  88. package/dist/esm/crowdsource-manager.entry.js +21 -2
  89. package/dist/esm/loader.js +1 -1
  90. package/dist/esm/solutions-components.js +1 -1
  91. package/dist/solutions-components/p-1cf1a4d5.entry.js +6 -0
  92. package/dist/solutions-components/p-51d2370c.entry.js +6 -0
  93. package/dist/solutions-components/solutions-components.esm.js +1 -1
  94. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +14 -0
  95. package/dist/types/components.d.ts +8 -0
  96. package/package.json +1 -1
  97. package/dist/solutions-components/p-6a598429.entry.js +0 -6
  98. package/dist/solutions-components/p-dae79b8d.entry.js +0 -6
@@ -53,6 +53,7 @@ export class CrowdsourceManager {
53
53
  this.defaultLevel = "";
54
54
  this.defaultOid = "";
55
55
  this.defaultWebmap = "";
56
+ this.introductionPageEnabled = false;
56
57
  this.enableAutoRefresh = false;
57
58
  this.enableBasemap = true;
58
59
  this.enableColumnReorder = true;
@@ -103,6 +104,20 @@ export class CrowdsourceManager {
103
104
  enableZoomWatchHandler() {
104
105
  this._initMapZoom();
105
106
  }
107
+ /**
108
+ * When true the map will be hidden on load
109
+ */
110
+ hideMapOnLoadWatchHandler() {
111
+ this.showHideMapPopupAndTable(true);
112
+ this._expandPopup = this.hideMapOnLoad;
113
+ }
114
+ /**
115
+ * When true the map will be hidden on load
116
+ */
117
+ mapInfosWatchHandler() {
118
+ console.log("mapInfosWatchHandler");
119
+ console.log(this.mapInfos);
120
+ }
106
121
  /**
107
122
  * Listen for changes in feature selection and show or hide the map, popup, and table
108
123
  */
@@ -185,7 +200,9 @@ export class CrowdsourceManager {
185
200
  * Renders the component.
186
201
  */
187
202
  render() {
188
- return (h(Host, { key: '5cd7d2ea4be1216270e15afc3d090bfc672f5335' }, h("calcite-shell", { key: 'cb5b4104b698a0bc146c2f5f47bd03b7944025c1', class: "position-relative" }, h("calcite-panel", { key: 'cbf1848d59c485dd143d6051506fcd92215fa2ec', class: `width-full height-full border-width-0` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
203
+ // only avoid border when we have a header color that is not white
204
+ const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
205
+ return (h(Host, { key: '8deef9c7dc113fa8aa03bb0841f5ec10a39de007' }, h("calcite-shell", { key: '652ec17baa763639ee7828383be371339c034670', class: "position-relative" }, h("calcite-panel", { key: '8ec3c3bd12c2fbed9b5166b683ee9cf79c7f3a88', class: `width-full height-full ${borderClass}` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
189
206
  }
190
207
  /**
191
208
  * Called after each render
@@ -681,6 +698,24 @@ export class CrowdsourceManager {
681
698
  "reflect": false,
682
699
  "defaultValue": "\"\""
683
700
  },
701
+ "introductionPageEnabled": {
702
+ "type": "boolean",
703
+ "mutable": false,
704
+ "complexType": {
705
+ "original": "boolean",
706
+ "resolved": "boolean",
707
+ "references": {}
708
+ },
709
+ "required": false,
710
+ "optional": false,
711
+ "docs": {
712
+ "tags": [],
713
+ "text": "boolean: When true a introduction page has been enabled in the consuming application.\r\nAlso when true a floating button will be shown in the lower right of the window that\r\nwill emit an event when clicked that the consuming application can respond to that will open the introduction page."
714
+ },
715
+ "attribute": "introduction-page-enabled",
716
+ "reflect": false,
717
+ "defaultValue": "false"
718
+ },
684
719
  "enableAutoRefresh": {
685
720
  "type": "boolean",
686
721
  "mutable": false,
@@ -1196,6 +1231,12 @@ export class CrowdsourceManager {
1196
1231
  return [{
1197
1232
  "propName": "enableZoom",
1198
1233
  "methodName": "enableZoomWatchHandler"
1234
+ }, {
1235
+ "propName": "hideMapOnLoad",
1236
+ "methodName": "hideMapOnLoadWatchHandler"
1237
+ }, {
1238
+ "propName": "mapInfos",
1239
+ "methodName": "mapInfosWatchHandler"
1199
1240
  }];
1200
1241
  }
1201
1242
  static get listeners() {
@@ -172,6 +172,7 @@ export class LayerTable {
172
172
  this._initLayerExpressions();
173
173
  this._initToolInfos();
174
174
  this._updateToolbar();
175
+ await this._sortTable();
175
176
  }
176
177
  /**
177
178
  * watch for changes in map view and get the first layer
@@ -307,7 +308,7 @@ export class LayerTable {
307
308
  const selected = this.selectedIds.length.toString();
308
309
  const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
309
310
  this._validateActiveActions();
310
- return (h(Host, { key: '1077bca0d3f59ed86999449c2c5428e4aa65b30f' }, h("calcite-shell", { key: '02b7a7512cfdc8958251ae00709b971f9bfff6df' }, this._getTableControlRow("header"), h("div", { key: '83d03238c368cd332714f4434297a9a4f9d47ec4', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '18927c7c65687c9df28f69b1e66f542be05e8c52', class: "height-full width-full" }, h("calcite-loader", { key: '51ed528d5676b983c27b50b098dd8785a3c7b591', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '4e51683f468b29b6dcdf1a588cdfedb37a02166f', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
311
+ return (h(Host, { key: 'a8110680363000bcec4eb6f0b4a94ee2f677dcca' }, h("calcite-shell", { key: '3c4471daca709db284ede134712933ada2213bdd' }, this._getTableControlRow("header"), h("div", { key: 'fce44e957e4490d6fd9cbcff02beec8cf1a780f4', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: 'e75572b0f313f99489268f6d63b27b78c8722331', class: "height-full width-full" }, h("calcite-loader", { key: '2a34bd84408d1aff552f2818976e03c487443215', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '0823308992c61fa803cf5a526d903b629327c251', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
311
312
  .replace("{{total}}", total)
312
313
  .replace("{{selected}}", selected))) : undefined)), this._filterModal()));
313
314
  }
@@ -1120,7 +1121,7 @@ export class LayerTable {
1120
1121
  configuredLayer = this.mapInfo.layerOptions.layers.filter((layer) => layer.id === this._layer.id);
1121
1122
  if (configuredLayer && configuredLayer.length > 0) {
1122
1123
  configuredLayer = configuredLayer[0];
1123
- //if sort field is defined and sortField is available in the fields then use it
1124
+ //if sort field is defined and sortField is available in the fields then use it
1124
1125
  if (configuredLayer.sortField && ((_d = configuredLayer.fields) === null || _d === void 0 ? void 0 : _d.includes(configuredLayer.sortField))) {
1125
1126
  sortField = configuredLayer.sortField;
1126
1127
  }
@@ -102,6 +102,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
102
102
  this.defaultLevel = "";
103
103
  this.defaultOid = "";
104
104
  this.defaultWebmap = "";
105
+ this.introductionPageEnabled = false;
105
106
  this.enableAutoRefresh = false;
106
107
  this.enableBasemap = true;
107
108
  this.enableColumnReorder = true;
@@ -152,6 +153,20 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
152
153
  enableZoomWatchHandler() {
153
154
  this._initMapZoom();
154
155
  }
156
+ /**
157
+ * When true the map will be hidden on load
158
+ */
159
+ hideMapOnLoadWatchHandler() {
160
+ this.showHideMapPopupAndTable(true);
161
+ this._expandPopup = this.hideMapOnLoad;
162
+ }
163
+ /**
164
+ * When true the map will be hidden on load
165
+ */
166
+ mapInfosWatchHandler() {
167
+ console.log("mapInfosWatchHandler");
168
+ console.log(this.mapInfos);
169
+ }
155
170
  /**
156
171
  * Listen for changes in feature selection and show or hide the map, popup, and table
157
172
  */
@@ -234,7 +249,9 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
234
249
  * Renders the component.
235
250
  */
236
251
  render() {
237
- return (h(Host, { key: '5cd7d2ea4be1216270e15afc3d090bfc672f5335' }, h("calcite-shell", { key: 'cb5b4104b698a0bc146c2f5f47bd03b7944025c1', class: "position-relative" }, h("calcite-panel", { key: 'cbf1848d59c485dd143d6051506fcd92215fa2ec', class: `width-full height-full border-width-0` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
252
+ // only avoid border when we have a header color that is not white
253
+ const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
254
+ return (h(Host, { key: '8deef9c7dc113fa8aa03bb0841f5ec10a39de007' }, h("calcite-shell", { key: '652ec17baa763639ee7828383be371339c034670', class: "position-relative" }, h("calcite-panel", { key: '8ec3c3bd12c2fbed9b5166b683ee9cf79c7f3a88', class: `width-full height-full ${borderClass}` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
238
255
  }
239
256
  /**
240
257
  * Called after each render
@@ -556,7 +573,9 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
556
573
  }
557
574
  get el() { return this; }
558
575
  static get watchers() { return {
559
- "enableZoom": ["enableZoomWatchHandler"]
576
+ "enableZoom": ["enableZoomWatchHandler"],
577
+ "hideMapOnLoad": ["hideMapOnLoadWatchHandler"],
578
+ "mapInfos": ["mapInfosWatchHandler"]
560
579
  }; }
561
580
  static get style() { return CrowdsourceManagerStyle0; }
562
581
  }, [0, "crowdsource-manager", {
@@ -569,6 +588,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
569
588
  "defaultLevel": [1, "default-level"],
570
589
  "defaultOid": [1, "default-oid"],
571
590
  "defaultWebmap": [1, "default-webmap"],
591
+ "introductionPageEnabled": [4, "introduction-page-enabled"],
572
592
  "enableAutoRefresh": [4, "enable-auto-refresh"],
573
593
  "enableBasemap": [4, "enable-basemap"],
574
594
  "enableColumnReorder": [4, "enable-column-reorder"],
@@ -608,7 +628,9 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
608
628
  "_numSelected": [32],
609
629
  "_tableOnly": [32]
610
630
  }, [[8, "featureSelectionChange", "featureSelectionChange"], [8, "popupClosed", "popupClosed"], [8, "idsFound", "idsFound"], [8, "layoutChanged", "layoutChanged"], [8, "mapChanged", "mapChanged"], [8, "beforeMapChanged", "beforeMapChanged"], [8, "layerSelectionChange", "layerSelectionChange"], [8, "mapInfoChange", "mapInfoChange"]], {
611
- "enableZoom": ["enableZoomWatchHandler"]
631
+ "enableZoom": ["enableZoomWatchHandler"],
632
+ "hideMapOnLoad": ["hideMapOnLoadWatchHandler"],
633
+ "mapInfos": ["mapInfosWatchHandler"]
612
634
  }]);
613
635
  function defineCustomElement$1() {
614
636
  if (typeof customElements === "undefined") {
@@ -202,6 +202,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
202
202
  this._initLayerExpressions();
203
203
  this._initToolInfos();
204
204
  this._updateToolbar();
205
+ await this._sortTable();
205
206
  }
206
207
  /**
207
208
  * watch for changes in map view and get the first layer
@@ -337,7 +338,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
337
338
  const selected = this.selectedIds.length.toString();
338
339
  const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
339
340
  this._validateActiveActions();
340
- return (h(Host, { key: '1077bca0d3f59ed86999449c2c5428e4aa65b30f' }, h("calcite-shell", { key: '02b7a7512cfdc8958251ae00709b971f9bfff6df' }, this._getTableControlRow("header"), h("div", { key: '83d03238c368cd332714f4434297a9a4f9d47ec4', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '18927c7c65687c9df28f69b1e66f542be05e8c52', class: "height-full width-full" }, h("calcite-loader", { key: '51ed528d5676b983c27b50b098dd8785a3c7b591', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '4e51683f468b29b6dcdf1a588cdfedb37a02166f', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
341
+ return (h(Host, { key: 'a8110680363000bcec4eb6f0b4a94ee2f677dcca' }, h("calcite-shell", { key: '3c4471daca709db284ede134712933ada2213bdd' }, this._getTableControlRow("header"), h("div", { key: 'fce44e957e4490d6fd9cbcff02beec8cf1a780f4', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: 'e75572b0f313f99489268f6d63b27b78c8722331', class: "height-full width-full" }, h("calcite-loader", { key: '2a34bd84408d1aff552f2818976e03c487443215', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '0823308992c61fa803cf5a526d903b629327c251', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
341
342
  .replace("{{total}}", total)
342
343
  .replace("{{selected}}", selected))) : undefined)), this._filterModal()));
343
344
  }
@@ -1150,7 +1151,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
1150
1151
  configuredLayer = this.mapInfo.layerOptions.layers.filter((layer) => layer.id === this._layer.id);
1151
1152
  if (configuredLayer && configuredLayer.length > 0) {
1152
1153
  configuredLayer = configuredLayer[0];
1153
- //if sort field is defined and sortField is available in the fields then use it
1154
+ //if sort field is defined and sortField is available in the fields then use it
1154
1155
  if (configuredLayer.sortField && ((_d = configuredLayer.fields) === null || _d === void 0 ? void 0 : _d.includes(configuredLayer.sortField))) {
1155
1156
  sortField = configuredLayer.sortField;
1156
1157
  }
@@ -254,6 +254,7 @@ const LayerTable = class {
254
254
  this._initLayerExpressions();
255
255
  this._initToolInfos();
256
256
  this._updateToolbar();
257
+ await this._sortTable();
257
258
  }
258
259
  /**
259
260
  * watch for changes in map view and get the first layer
@@ -389,7 +390,7 @@ const LayerTable = class {
389
390
  const selected = this.selectedIds.length.toString();
390
391
  const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
391
392
  this._validateActiveActions();
392
- return (h(Host, { key: '1077bca0d3f59ed86999449c2c5428e4aa65b30f' }, h("calcite-shell", { key: '02b7a7512cfdc8958251ae00709b971f9bfff6df' }, this._getTableControlRow("header"), h("div", { key: '83d03238c368cd332714f4434297a9a4f9d47ec4', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '18927c7c65687c9df28f69b1e66f542be05e8c52', class: "height-full width-full" }, h("calcite-loader", { key: '51ed528d5676b983c27b50b098dd8785a3c7b591', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '4e51683f468b29b6dcdf1a588cdfedb37a02166f', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
393
+ return (h(Host, { key: 'a8110680363000bcec4eb6f0b4a94ee2f677dcca' }, h("calcite-shell", { key: '3c4471daca709db284ede134712933ada2213bdd' }, this._getTableControlRow("header"), h("div", { key: 'fce44e957e4490d6fd9cbcff02beec8cf1a780f4', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: 'e75572b0f313f99489268f6d63b27b78c8722331', class: "height-full width-full" }, h("calcite-loader", { key: '2a34bd84408d1aff552f2818976e03c487443215', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '0823308992c61fa803cf5a526d903b629327c251', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
393
394
  .replace("{{total}}", total)
394
395
  .replace("{{selected}}", selected))) : undefined)), this._filterModal()));
395
396
  }
@@ -1202,7 +1203,7 @@ const LayerTable = class {
1202
1203
  configuredLayer = this.mapInfo.layerOptions.layers.filter((layer) => layer.id === this._layer.id);
1203
1204
  if (configuredLayer && configuredLayer.length > 0) {
1204
1205
  configuredLayer = configuredLayer[0];
1205
- //if sort field is defined and sortField is available in the fields then use it
1206
+ //if sort field is defined and sortField is available in the fields then use it
1206
1207
  if (configuredLayer.sortField && ((_d = configuredLayer.fields) === null || _d === void 0 ? void 0 : _d.includes(configuredLayer.sortField))) {
1207
1208
  sortField = configuredLayer.sortField;
1208
1209
  }
@@ -45,6 +45,7 @@ const CrowdsourceManager = class {
45
45
  this.defaultLevel = "";
46
46
  this.defaultOid = "";
47
47
  this.defaultWebmap = "";
48
+ this.introductionPageEnabled = false;
48
49
  this.enableAutoRefresh = false;
49
50
  this.enableBasemap = true;
50
51
  this.enableColumnReorder = true;
@@ -95,6 +96,20 @@ const CrowdsourceManager = class {
95
96
  enableZoomWatchHandler() {
96
97
  this._initMapZoom();
97
98
  }
99
+ /**
100
+ * When true the map will be hidden on load
101
+ */
102
+ hideMapOnLoadWatchHandler() {
103
+ this.showHideMapPopupAndTable(true);
104
+ this._expandPopup = this.hideMapOnLoad;
105
+ }
106
+ /**
107
+ * When true the map will be hidden on load
108
+ */
109
+ mapInfosWatchHandler() {
110
+ console.log("mapInfosWatchHandler");
111
+ console.log(this.mapInfos);
112
+ }
98
113
  /**
99
114
  * Listen for changes in feature selection and show or hide the map, popup, and table
100
115
  */
@@ -177,7 +192,9 @@ const CrowdsourceManager = class {
177
192
  * Renders the component.
178
193
  */
179
194
  render() {
180
- return (h(Host, { key: '5cd7d2ea4be1216270e15afc3d090bfc672f5335' }, h("calcite-shell", { key: 'cb5b4104b698a0bc146c2f5f47bd03b7944025c1', class: "position-relative" }, h("calcite-panel", { key: 'cbf1848d59c485dd143d6051506fcd92215fa2ec', class: `width-full height-full border-width-0` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
195
+ // only avoid border when we have a header color that is not white
196
+ const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
197
+ return (h(Host, { key: '8deef9c7dc113fa8aa03bb0841f5ec10a39de007' }, h("calcite-shell", { key: '652ec17baa763639ee7828383be371339c034670', class: "position-relative" }, h("calcite-panel", { key: '8ec3c3bd12c2fbed9b5166b683ee9cf79c7f3a88', class: `width-full height-full ${borderClass}` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
181
198
  }
182
199
  /**
183
200
  * Called after each render
@@ -499,7 +516,9 @@ const CrowdsourceManager = class {
499
516
  }
500
517
  get el() { return getElement(this); }
501
518
  static get watchers() { return {
502
- "enableZoom": ["enableZoomWatchHandler"]
519
+ "enableZoom": ["enableZoomWatchHandler"],
520
+ "hideMapOnLoad": ["hideMapOnLoadWatchHandler"],
521
+ "mapInfos": ["mapInfosWatchHandler"]
503
522
  }; }
504
523
  };
505
524
  CrowdsourceManager.style = CrowdsourceManagerStyle0;