@esri/solutions-components 0.8.20 → 0.8.21

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.
Files changed (97) 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 +18 -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 +21 -1
  84. package/dist/collection/components/layer-table/layer-table.js +3 -2
  85. package/dist/components/crowdsource-manager.js +21 -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 +18 -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 +8 -0
  95. package/package.json +1 -1
  96. package/dist/solutions-components/p-347a2b0d.entry.js +0 -6
  97. package/dist/solutions-components/p-6a598429.entry.js +0 -6
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "error": "Greška",
3
- "noLayerToDisplayErrorMsg": "Konfigurisana veb mapa nema sloj geoobjekta koji se može uređivati."
3
+ "noLayerToDisplayErrorMsg": "Č_Web map does not contain any editable layers________________________ž."
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "error": "Fel",
3
- "noLayerToDisplayErrorMsg": "Konfigurerad webbkarta har inga redigerbara geoobjektlager."
3
+ "noLayerToDisplayErrorMsg": "Å_Web map does not contain any editable layers________________________ö."
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "error": "ข้อผิดพลาด",
3
- "noLayerToDisplayErrorMsg": "เว็บแมปที่กำหนดค่าไว้ไม่มีชั้นข้อมูลฟีเจอร์ที่สามารถแก้ไขได้"
3
+ "noLayerToDisplayErrorMsg": "ก้_Web map does not contain any editable layers________________________ษฺ."
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "error": "Hata",
3
- "noLayerToDisplayErrorMsg": "Yapılandırılmış web haritasında herhangi bir düzenlenebilir detay katman yok."
3
+ "noLayerToDisplayErrorMsg": "ı_Web map does not contain any editable layers________________________İ."
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "error": "Помилка",
3
- "noLayerToDisplayErrorMsg": "Налаштована веб-карта не містить векторного шару, який можна редагувати."
3
+ "noLayerToDisplayErrorMsg": "ґ_Web map does not contain any editable layers________________________Ї."
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "error": "Lỗi",
3
- "noLayerToDisplayErrorMsg": "Bản đồ web đã cấu hình không có lớp đối tượng nào có thể chỉnh sửa."
3
+ "noLayerToDisplayErrorMsg": "Đ_Web map does not contain any editable layers________________________ớ."
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "error": "错误",
3
- "noLayerToDisplayErrorMsg": "配置的 web 地图没有任何可编辑的要素图层。"
3
+ "noLayerToDisplayErrorMsg": "试_Web map does not contain any editable layers________________________验."
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "error": "錯誤",
3
- "noLayerToDisplayErrorMsg": "配置的 Web 地圖沒有任何可編輯的圖徵圖層。"
3
+ "noLayerToDisplayErrorMsg": "試_Web map does not contain any editable layers________________________驗."
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "error": "錯誤",
3
- "noLayerToDisplayErrorMsg": "配置的 Web 地圖沒有任何可編輯的圖徵圖層。"
3
+ "noLayerToDisplayErrorMsg": "試_Web map does not contain any editable layers________________________驗."
4
4
  }
@@ -258,6 +258,7 @@ const LayerTable = class {
258
258
  this._initLayerExpressions();
259
259
  this._initToolInfos();
260
260
  this._updateToolbar();
261
+ await this._sortTable();
261
262
  }
262
263
  /**
263
264
  * watch for changes in map view and get the first layer
@@ -393,7 +394,7 @@ const LayerTable = class {
393
394
  const selected = this.selectedIds.length.toString();
394
395
  const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
395
396
  this._validateActiveActions();
396
- return (index.h(index.Host, { key: '1077bca0d3f59ed86999449c2c5428e4aa65b30f' }, index.h("calcite-shell", { key: '02b7a7512cfdc8958251ae00709b971f9bfff6df' }, this._getTableControlRow("header"), index.h("div", { key: '83d03238c368cd332714f4434297a9a4f9d47ec4', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: '18927c7c65687c9df28f69b1e66f542be05e8c52', class: "height-full width-full" }, index.h("calcite-loader", { key: '51ed528d5676b983c27b50b098dd8785a3c7b591', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '4e51683f468b29b6dcdf1a588cdfedb37a02166f', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
397
+ return (index.h(index.Host, { key: 'a8110680363000bcec4eb6f0b4a94ee2f677dcca' }, index.h("calcite-shell", { key: '3c4471daca709db284ede134712933ada2213bdd' }, this._getTableControlRow("header"), index.h("div", { key: 'fce44e957e4490d6fd9cbcff02beec8cf1a780f4', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: 'e75572b0f313f99489268f6d63b27b78c8722331', class: "height-full width-full" }, index.h("calcite-loader", { key: '2a34bd84408d1aff552f2818976e03c487443215', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '0823308992c61fa803cf5a526d903b629327c251', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
397
398
  .replace("{{total}}", total)
398
399
  .replace("{{selected}}", selected))) : undefined)), this._filterModal()));
399
400
  }
@@ -1206,7 +1207,7 @@ const LayerTable = class {
1206
1207
  configuredLayer = this.mapInfo.layerOptions.layers.filter((layer) => layer.id === this._layer.id);
1207
1208
  if (configuredLayer && configuredLayer.length > 0) {
1208
1209
  configuredLayer = configuredLayer[0];
1209
- //if sort field is defined and sortField is available in the fields then use it
1210
+ //if sort field is defined and sortField is available in the fields then use it
1210
1211
  if (configuredLayer.sortField && ((_d = configuredLayer.fields) === null || _d === void 0 ? void 0 : _d.includes(configuredLayer.sortField))) {
1211
1212
  sortField = configuredLayer.sortField;
1212
1213
  }
@@ -100,6 +100,20 @@ const CrowdsourceManager = class {
100
100
  enableZoomWatchHandler() {
101
101
  this._initMapZoom();
102
102
  }
103
+ /**
104
+ * When true the map will be hidden on load
105
+ */
106
+ hideMapOnLoadWatchHandler() {
107
+ this.showHideMapPopupAndTable(true);
108
+ this._expandPopup = this.hideMapOnLoad;
109
+ }
110
+ /**
111
+ * When true the map will be hidden on load
112
+ */
113
+ mapInfosWatchHandler() {
114
+ console.log("mapInfosWatchHandler");
115
+ console.log(this.mapInfos);
116
+ }
103
117
  /**
104
118
  * Listen for changes in feature selection and show or hide the map, popup, and table
105
119
  */
@@ -184,7 +198,7 @@ const CrowdsourceManager = class {
184
198
  render() {
185
199
  // only avoid border when we have a header color that is not white
186
200
  const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
187
- return (index.h(index.Host, { key: '175124a05c83f6f02bef1378a20e5a3ed083ce00' }, index.h("calcite-shell", { key: '10677408a11bbe6196a95622a7a5f69fd3766c20', class: "position-relative" }, index.h("calcite-panel", { key: 'd3f044385482089d2dd5a457c2de4b3cc748e7c6', class: `width-full height-full ${borderClass}` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
201
+ return (index.h(index.Host, { key: '8deef9c7dc113fa8aa03bb0841f5ec10a39de007' }, index.h("calcite-shell", { key: '652ec17baa763639ee7828383be371339c034670', class: "position-relative" }, index.h("calcite-panel", { key: '8ec3c3bd12c2fbed9b5166b683ee9cf79c7f3a88', class: `width-full height-full ${borderClass}` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
188
202
  }
189
203
  /**
190
204
  * Called after each render
@@ -506,7 +520,9 @@ const CrowdsourceManager = class {
506
520
  }
507
521
  get el() { return index.getElement(this); }
508
522
  static get watchers() { return {
509
- "enableZoom": ["enableZoomWatchHandler"]
523
+ "enableZoom": ["enableZoomWatchHandler"],
524
+ "hideMapOnLoad": ["hideMapOnLoadWatchHandler"],
525
+ "mapInfos": ["mapInfosWatchHandler"]
510
526
  }; }
511
527
  };
512
528
  CrowdsourceManager.style = CrowdsourceManagerStyle0;