@esri/solutions-components 0.11.19 → 0.11.20

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 (191) hide show
  1. package/dist/cjs/{asyncToGenerator-f169429a.js → asyncToGenerator-c7fc3ee4.js} +1 -1
  2. package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
  3. package/dist/cjs/buffer-tools_2.cjs.entry.js +4 -3
  4. package/dist/cjs/card-manager_3.cjs.entry.js +4 -4
  5. package/dist/cjs/consent-manager.cjs.entry.js +4 -4
  6. package/dist/cjs/create-feature_4.cjs.entry.js +45 -44
  7. package/dist/cjs/create-related-feature_3.cjs.entry.js +2 -2
  8. package/dist/cjs/crowdsource-manager.cjs.entry.js +4 -5
  9. package/dist/cjs/crowdsource-reporter.cjs.entry.js +5 -4
  10. package/dist/cjs/delete-dialog.cjs.entry.js +2 -2
  11. package/dist/cjs/{downloadUtils-b269c7a1.js → downloadUtils-fcae8eb1.js} +3 -3
  12. package/dist/cjs/{effects-2f75069e.js → effects-3607d1ba.js} +1 -1
  13. package/dist/cjs/feature-list.cjs.entry.js +5 -5
  14. package/dist/cjs/{helpers-69e520bd.js → helpers-8d452256.js} +2 -2
  15. package/dist/cjs/{index.es-644259ff.js → index.es-3c2404c3.js} +2 -2
  16. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +4 -4
  17. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
  18. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
  19. package/dist/cjs/instant-apps-create.cjs.entry.js +4 -4
  20. package/dist/cjs/instant-apps-export-views.cjs.entry.js +4 -4
  21. package/dist/cjs/instant-apps-export.cjs.entry.js +4 -4
  22. package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +4 -4
  23. package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
  24. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +4 -4
  25. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +4 -4
  26. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +4 -4
  27. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +4 -4
  28. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
  29. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +4 -4
  30. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +6 -6
  31. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +6 -6
  32. package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +2 -2
  33. package/dist/cjs/instant-apps-measurement.cjs.entry.js +4 -4
  34. package/dist/cjs/instant-apps-popover.cjs.entry.js +4 -4
  35. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +4 -4
  36. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +4 -4
  37. package/dist/cjs/instant-apps-splash.cjs.entry.js +4 -4
  38. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -5
  39. package/dist/cjs/json-editor_7.cjs.entry.js +2 -2
  40. package/dist/cjs/{languageSwitcher-c8e62594.js → languageSwitcher-19a22439.js} +1 -1
  41. package/dist/cjs/{languageUtil-bd49af69.js → languageUtil-a3e1eafd.js} +1 -1
  42. package/dist/cjs/{loadModules-3b29fa24.js → loadModules-e9d8977c.js} +1 -1
  43. package/dist/cjs/loader.cjs.js +1 -1
  44. package/dist/cjs/{locale-905e6063.js → locale-1c60be9c.js} +1 -1
  45. package/dist/cjs/{locale-c923d7b6.js → locale-da41a06f.js} +2 -2
  46. package/dist/cjs/map-layer-picker.cjs.entry.js +2 -2
  47. package/dist/cjs/map-select-tools_3.cjs.entry.js +4 -4
  48. package/dist/cjs/{popupUtils-5378e04a.js → popupUtils-87b006a6.js} +2 -2
  49. package/dist/cjs/public-notification.cjs.entry.js +4 -4
  50. package/dist/cjs/solution-configuration.cjs.entry.js +2 -2
  51. package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
  52. package/dist/cjs/solution-item-accordion.cjs.entry.js +2 -2
  53. package/dist/cjs/solutions-components.cjs.js +1 -1
  54. package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
  55. package/dist/cjs/{utils-3739960f.js → utils-3e512114.js} +1 -1
  56. package/dist/collection/assets/t9n/create-feature/resources.json +1 -1
  57. package/dist/collection/assets/t9n/create-feature/resources_en.json +1 -1
  58. package/dist/collection/components/create-feature/create-feature.js +130 -110
  59. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +2 -3
  60. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +22 -2
  61. package/dist/collection/components/map-draw-tools/map-draw-tools.js +2 -1
  62. package/dist/components/create-feature2.js +48 -46
  63. package/dist/components/crowdsource-manager.js +2 -3
  64. package/dist/components/crowdsource-reporter.js +4 -2
  65. package/dist/components/map-draw-tools2.js +2 -1
  66. package/dist/esm/{asyncToGenerator-e51717ed.js → asyncToGenerator-96b2368d.js} +1 -1
  67. package/dist/esm/basemap-gallery_7.entry.js +2 -2
  68. package/dist/esm/buffer-tools_2.entry.js +4 -3
  69. package/dist/esm/card-manager_3.entry.js +4 -4
  70. package/dist/esm/consent-manager.entry.js +4 -4
  71. package/dist/esm/create-feature_4.entry.js +45 -44
  72. package/dist/esm/create-related-feature_3.entry.js +2 -2
  73. package/dist/esm/crowdsource-manager.entry.js +4 -5
  74. package/dist/esm/crowdsource-reporter.entry.js +5 -4
  75. package/dist/esm/delete-dialog.entry.js +2 -2
  76. package/dist/esm/{downloadUtils-d04d4095.js → downloadUtils-078cd709.js} +3 -3
  77. package/dist/esm/{effects-602e7b51.js → effects-38bc1195.js} +1 -1
  78. package/dist/esm/feature-list.entry.js +5 -5
  79. package/dist/esm/{helpers-520f100c.js → helpers-15d5cd56.js} +2 -2
  80. package/dist/esm/{index.es-ca80d0c5.js → index.es-87662946.js} +2 -2
  81. package/dist/esm/instant-apps-app-guide.entry.js +4 -4
  82. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
  83. package/dist/esm/instant-apps-control-panel.entry.js +2 -2
  84. package/dist/esm/instant-apps-create.entry.js +4 -4
  85. package/dist/esm/instant-apps-export-views.entry.js +4 -4
  86. package/dist/esm/instant-apps-export.entry.js +4 -4
  87. package/dist/esm/instant-apps-filter-list_2.entry.js +4 -4
  88. package/dist/esm/instant-apps-header.entry.js +2 -2
  89. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +4 -4
  90. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +4 -4
  91. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +4 -4
  92. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +4 -4
  93. package/dist/esm/instant-apps-interactive-legend.entry.js +6 -6
  94. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +4 -4
  95. package/dist/esm/instant-apps-language-switcher.entry.js +6 -6
  96. package/dist/esm/instant-apps-language-translator.entry.js +6 -6
  97. package/dist/esm/instant-apps-measurement-tool.entry.js +2 -2
  98. package/dist/esm/instant-apps-measurement.entry.js +4 -4
  99. package/dist/esm/instant-apps-popover.entry.js +4 -4
  100. package/dist/esm/instant-apps-scoreboard.entry.js +4 -4
  101. package/dist/esm/instant-apps-sign-in.entry.js +4 -4
  102. package/dist/esm/instant-apps-splash.entry.js +4 -4
  103. package/dist/esm/instant-apps-time-filter.entry.js +5 -5
  104. package/dist/esm/json-editor_7.entry.js +2 -2
  105. package/dist/esm/{languageSwitcher-ccdf79d4.js → languageSwitcher-49bad3f4.js} +1 -1
  106. package/dist/esm/{languageUtil-2bac3910.js → languageUtil-2b6e191a.js} +1 -1
  107. package/dist/esm/{loadModules-1b0b108c.js → loadModules-947ccfd4.js} +1 -1
  108. package/dist/esm/loader.js +1 -1
  109. package/dist/esm/{locale-15e42305.js → locale-7874c756.js} +1 -1
  110. package/dist/esm/{locale-29d08ded.js → locale-e02b0e14.js} +2 -2
  111. package/dist/esm/map-layer-picker.entry.js +2 -2
  112. package/dist/esm/map-select-tools_3.entry.js +4 -4
  113. package/dist/esm/{popupUtils-b71abb01.js → popupUtils-6a965512.js} +2 -2
  114. package/dist/esm/public-notification.entry.js +4 -4
  115. package/dist/esm/solution-configuration.entry.js +2 -2
  116. package/dist/esm/solution-contents_3.entry.js +2 -2
  117. package/dist/esm/solution-item-accordion.entry.js +2 -2
  118. package/dist/esm/solutions-components.js +1 -1
  119. package/dist/esm/spatial-ref.entry.js +2 -2
  120. package/dist/esm/{utils-89be1743.js → utils-6fe5b5fa.js} +1 -1
  121. package/dist/solutions-components/assets/t9n/create-feature/resources.json +1 -1
  122. package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +1 -1
  123. package/dist/solutions-components/{p-d885880a.entry.js → p-00ec642f.entry.js} +1 -1
  124. package/dist/solutions-components/p-02c4e6fc.entry.js +6 -0
  125. package/dist/solutions-components/{p-0132213f.entry.js → p-0326f1f4.entry.js} +1 -1
  126. package/dist/solutions-components/{p-438fdc33.js → p-08ad0b7a.js} +1 -1
  127. package/dist/solutions-components/{p-0607044f.js → p-174fa218.js} +1 -1
  128. package/dist/solutions-components/{p-7bf7d67b.js → p-1e1dfef6.js} +1 -1
  129. package/dist/solutions-components/{p-2d8300ba.entry.js → p-244316dd.entry.js} +1 -1
  130. package/dist/solutions-components/p-2460cf10.entry.js +6 -0
  131. package/dist/solutions-components/{p-8f973b3d.js → p-2884ca49.js} +1 -1
  132. package/dist/solutions-components/{p-3f8b1062.entry.js → p-3ce5c7fd.entry.js} +1 -1
  133. package/dist/solutions-components/{p-a397e773.js → p-404cbf48.js} +1 -1
  134. package/dist/solutions-components/{p-f292f56e.entry.js → p-41a3b49a.entry.js} +1 -1
  135. package/dist/solutions-components/{p-f457e8be.entry.js → p-443168f0.entry.js} +1 -1
  136. package/dist/solutions-components/{p-86b6f918.entry.js → p-4ced7b11.entry.js} +1 -1
  137. package/dist/solutions-components/{p-2a1ed83a.entry.js → p-4d5dd39e.entry.js} +1 -1
  138. package/dist/solutions-components/{p-e79b69e6.entry.js → p-4e7514a3.entry.js} +1 -1
  139. package/dist/solutions-components/{p-34338938.entry.js → p-4f7fb338.entry.js} +1 -1
  140. package/dist/solutions-components/{p-edfcce2c.entry.js → p-5786b9da.entry.js} +1 -1
  141. package/dist/solutions-components/{p-b8f29a99.entry.js → p-5a202f3f.entry.js} +1 -1
  142. package/dist/solutions-components/{p-fdf0d66f.entry.js → p-65105504.entry.js} +1 -1
  143. package/dist/solutions-components/{p-532ed572.entry.js → p-698656b8.entry.js} +1 -1
  144. package/dist/solutions-components/{p-dbf2c455.entry.js → p-7251848d.entry.js} +1 -1
  145. package/dist/solutions-components/{p-b6a6fdcf.entry.js → p-72d04c7a.entry.js} +1 -1
  146. package/dist/solutions-components/{p-099379e6.entry.js → p-832707fd.entry.js} +1 -1
  147. package/dist/solutions-components/{p-8db12ee9.entry.js → p-837e0939.entry.js} +1 -1
  148. package/dist/solutions-components/{p-cd38fc53.js → p-84bb6925.js} +1 -1
  149. package/dist/solutions-components/{p-436b869c.entry.js → p-8859b622.entry.js} +1 -1
  150. package/dist/solutions-components/p-89fbc318.js +6 -0
  151. package/dist/solutions-components/{p-0b1c830a.entry.js → p-8a010f9e.entry.js} +1 -1
  152. package/dist/solutions-components/{p-6ac03d17.entry.js → p-8dd677dd.entry.js} +1 -1
  153. package/dist/solutions-components/{p-37cc79c6.entry.js → p-9927342d.entry.js} +1 -1
  154. package/dist/solutions-components/{p-c3aac15b.entry.js → p-a277d08c.entry.js} +1 -1
  155. package/dist/solutions-components/{p-2d3b8412.entry.js → p-a5eaf7fe.entry.js} +1 -1
  156. package/dist/solutions-components/{p-da1e4ff1.entry.js → p-aad84d69.entry.js} +1 -1
  157. package/dist/solutions-components/{p-3423b5ef.js → p-ac122d9e.js} +1 -1
  158. package/dist/solutions-components/{p-59a1c5a9.entry.js → p-b394f504.entry.js} +1 -1
  159. package/dist/solutions-components/{p-97abbf8f.entry.js → p-ba4e219a.entry.js} +1 -1
  160. package/dist/solutions-components/{p-258aa58e.js → p-bf04c6f4.js} +2 -2
  161. package/dist/solutions-components/{p-4454af38.entry.js → p-c6c697e5.entry.js} +1 -1
  162. package/dist/solutions-components/{p-dda0aa41.entry.js → p-d324196d.entry.js} +1 -1
  163. package/dist/solutions-components/{p-f93a9d92.js → p-d65f8b73.js} +1 -1
  164. package/dist/solutions-components/{p-36e3b39c.js → p-db3391b9.js} +2 -2
  165. package/dist/solutions-components/{p-039ab075.js → p-dc188d13.js} +1 -1
  166. package/dist/solutions-components/{p-04277d48.entry.js → p-de42e8b2.entry.js} +1 -1
  167. package/dist/solutions-components/p-ea566af0.entry.js +6 -0
  168. package/dist/solutions-components/{p-29baf8a2.entry.js → p-eb3c867f.entry.js} +1 -1
  169. package/dist/solutions-components/{p-d45b0400.entry.js → p-ed1ecb5b.entry.js} +1 -1
  170. package/dist/solutions-components/{p-1054e10a.entry.js → p-ee3bb943.entry.js} +1 -1
  171. package/dist/solutions-components/{p-0ea99464.entry.js → p-f165921f.entry.js} +1 -1
  172. package/dist/solutions-components/{p-f36b4778.entry.js → p-f75786a8.entry.js} +1 -1
  173. package/dist/solutions-components/{p-2a7f23fc.entry.js → p-f956c598.entry.js} +1 -1
  174. package/dist/solutions-components/{p-2cb8c175.entry.js → p-fa663804.entry.js} +1 -1
  175. package/dist/solutions-components/{p-6e879de9.entry.js → p-ff317687.entry.js} +1 -1
  176. package/dist/solutions-components/solutions-components.esm.js +1 -1
  177. package/dist/solutions-components_commit.txt +7 -7
  178. package/dist/types/components/create-feature/create-feature.d.ts +54 -50
  179. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +4 -0
  180. package/dist/types/components.d.ts +16 -0
  181. package/package.json +1 -1
  182. package/dist/solutions-components/p-04546ef6.js +0 -6
  183. package/dist/solutions-components/p-1adc6874.entry.js +0 -6
  184. package/dist/solutions-components/p-ba472e45.entry.js +0 -6
  185. package/dist/solutions-components/p-f99a78f1.entry.js +0 -6
  186. /package/dist/cjs/{esri-loader-1e8cc247.js → esri-loader-08dc41bd.js} +0 -0
  187. /package/dist/cjs/{typeof-eba0a941.js → typeof-2a7e2dec.js} +0 -0
  188. /package/dist/esm/{esri-loader-d10d860d.js → esri-loader-c6842c6b.js} +0 -0
  189. /package/dist/esm/{typeof-a3e780e1.js → typeof-ef2a007d.js} +0 -0
  190. /package/dist/solutions-components/{p-3b3f77bc.js → p-0a24ad5f.js} +0 -0
  191. /package/dist/solutions-components/{p-19bce2cc.js → p-4fe489cf.js} +0 -0
@@ -21,19 +21,20 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
21
21
  this.editingAttachment = createEvent(this, "editingAttachment", 7);
22
22
  this.progressStatus = createEvent(this, "progressStatus", 7);
23
23
  this.modeChanged = createEvent(this, "modeChanged", 7);
24
- this.mapView = undefined;
25
- this.selectedLayerId = undefined;
26
24
  this.customizeSubmit = false;
27
- this.locale = undefined;
28
- this.searchConfiguration = undefined;
29
- this.isMobile = undefined;
25
+ this.enableSearch = false;
30
26
  this.floorLevel = undefined;
31
27
  this.formElements = undefined;
32
- this.enableSearch = false;
28
+ this.isMobile = undefined;
29
+ this.locale = undefined;
30
+ this.mapView = undefined;
31
+ this.searchConfiguration = undefined;
32
+ this.selectedLayerId = undefined;
33
33
  this.showGuidingMsg = true;
34
34
  this.showGuidingMsgWhileDrawing = true;
35
- this._editorLoading = false;
35
+ this.submitNewReportsMessage = undefined;
36
36
  this._currentPage = "templatePicker";
37
+ this._editorLoading = false;
37
38
  this._translations = undefined;
38
39
  }
39
40
  get el() { return this; }
@@ -52,6 +53,11 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
52
53
  * The ExpressionInfo constructor
53
54
  */
54
55
  ExpressionInfo;
56
+ /**
57
+ * https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
58
+ * The Feature layer instance
59
+ */
60
+ FeatureLayer;
55
61
  /**
56
62
  * esri/form/elements/FieldElement: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-FieldElement.html
57
63
  * The FieldElement constructor
@@ -61,68 +67,63 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
61
67
  * esri/form/FormTemplate: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html
62
68
  */
63
69
  FormTemplate;
64
- /**
65
- * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
66
- * The Editor instance
67
- */
68
- _editor;
69
- /**
70
- * https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
71
- * The Feature layer instance
72
- */
73
- FeatureLayer;
74
70
  /**
75
71
  * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
76
72
  * The MapView instance
77
73
  */
78
74
  MapView;
79
- /**
80
- * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
81
- * Updated map view instance
82
- */
83
- _updatedMapView;
84
75
  /**
85
76
  * esri/widgets/Search: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
86
77
  * The Search instance
87
78
  */
88
79
  Search;
89
- /**
90
- * "esri/widgets/Search": https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
91
- * The Search instance
92
- */
93
- _search;
94
- /**
95
- * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
96
- */
97
- reactiveUtils;
98
80
  /**
99
81
  * boolean: Flag to maintain the add attachment
100
82
  */
101
83
  _addingAttachment;
84
+ /**
85
+ * HTMLCalciteNoticeElement: calcite notice refrence element
86
+ */
87
+ _calciteNotice;
102
88
  /**
103
89
  * HTMLDivElement: The node the editor will be added to
104
90
  */
105
91
  _container;
106
92
  /**
107
- * HTMLDivElement: The node for the map view
93
+ * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
94
+ * The Editor instance
108
95
  */
109
- _mapViewContainer;
96
+ _editor;
110
97
  /**
111
98
  * boolean: Flag to maintain form submission using submit button
112
99
  */
113
100
  _isSubmitBtnClicked = false;
114
101
  /**
115
- * __esri.FeatureLayer: selected feature layer;
102
+ * HTMLDivElement: The node for the map view
116
103
  */
117
- _selectedLayer;
104
+ _mapViewContainer;
105
+ /**
106
+ * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
107
+ */
108
+ reactiveUtils;
109
+ /**
110
+ * "esri/widgets/Search": https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
111
+ * The Search instance
112
+ */
113
+ _search;
118
114
  /**
119
115
  * HTMLDivElement: refrence for search div element
120
116
  */
121
117
  _searchDiv;
122
118
  /**
123
- * HTMLCalciteNoticeElement: calcite notice refrence element
119
+ * __esri.FeatureLayer: selected feature layer;
124
120
  */
125
- _calciteNotice;
121
+ _selectedLayer;
122
+ /**
123
+ * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
124
+ * Updated map view instance
125
+ */
126
+ _updatedMapView;
126
127
  //--------------------------------------------------------------------------
127
128
  //
128
129
  // Watch handlers
@@ -282,8 +283,8 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
282
283
  else if (this._currentPage === 'featureForm') {
283
284
  guidingMsg = this._translations.provideDetailsMsg;
284
285
  }
285
- return (h(Fragment, { key: '829e66e8b4818b2566d514ae85eddc50968075f8' }, showGuidingMsg && h("calcite-notice", { key: '0347181f26f5d87d38f8be185e0b43ffbbc34208', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: 'e5dd776ead66c26184a5aad747e82d97612d961a', slot: "message" }, guidingMsg)), h("calcite-loader", { key: '7989ecdbb4b635d38a1d63bf879d7e95b3f9a9be', class: loaderClass, label: "", scale: "s" }), h("div", { key: '6f6184af21e8a0595e5c51c132e657e7660caa01', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
286
- h("div", { key: '2068ca424a9355a28c9957104a4f6973b11c1b8f', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: 'a899d52788e6cfa67fe77abbbe0eeb6383b40d0a', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
286
+ return (h(Fragment, { key: 'cb3462a70e0097e9b4ac9dac3f910fce6d30f8b5' }, showGuidingMsg && h("calcite-notice", { key: 'ddd908ac4b31f60d07de064ec1decae06b3d93bd', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: '3cee10085fa29190d88d3d03d35f726d1b51651b', slot: "message" }, guidingMsg)), h("calcite-loader", { key: 'cf714d63a011712fa03c148c17a8811356e14859', class: loaderClass, label: "", scale: "s" }), h("div", { key: 'e20cb740a1d22795b397af191a26339d709aba0d', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
287
+ h("div", { key: 'd2b439d3845b69527fdea2414c7b22078b0af4ea', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: '1f4e39aaaa93f4e2102767c04c5ad256e4f129e2', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
287
288
  }
288
289
  //--------------------------------------------------------------------------
289
290
  //
@@ -694,19 +695,20 @@ const CreateFeature = /*@__PURE__*/ proxyCustomElement(class CreateFeature exten
694
695
  }; }
695
696
  static get style() { return CreateFeatureStyle0; }
696
697
  }, [0, "create-feature", {
697
- "mapView": [16],
698
- "selectedLayerId": [1, "selected-layer-id"],
699
698
  "customizeSubmit": [4, "customize-submit"],
700
- "locale": [1],
701
- "searchConfiguration": [16],
702
- "isMobile": [4, "is-mobile"],
699
+ "enableSearch": [4, "enable-search"],
703
700
  "floorLevel": [1, "floor-level"],
704
701
  "formElements": [8, "form-elements"],
705
- "enableSearch": [4, "enable-search"],
702
+ "isMobile": [4, "is-mobile"],
703
+ "locale": [1],
704
+ "mapView": [16],
705
+ "searchConfiguration": [16],
706
+ "selectedLayerId": [1, "selected-layer-id"],
706
707
  "showGuidingMsg": [4, "show-guiding-msg"],
707
708
  "showGuidingMsgWhileDrawing": [4, "show-guiding-msg-while-drawing"],
708
- "_editorLoading": [32],
709
+ "submitNewReportsMessage": [1, "submit-new-reports-message"],
709
710
  "_currentPage": [32],
711
+ "_editorLoading": [32],
710
712
  "_translations": [32],
711
713
  "submit": [64],
712
714
  "refresh": [64]
@@ -160,8 +160,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
160
160
  */
161
161
  appLayoutWatchHandler(newAppLayout, oldAppLayout) {
162
162
  if (newAppLayout !== oldAppLayout) {
163
- // eslint-disable-next-line @typescript-eslint/no-floating-promises
164
- this._layerTable.validateTableUpdate(newAppLayout === 'splitView');
163
+ void this._layerTable?.validateTableUpdate(newAppLayout === 'splitView');
165
164
  this._setActiveLayout(newAppLayout);
166
165
  // update the layer if table selected while switching to map view
167
166
  if (this.appLayout === "mapView" && this._layer?.isTable) {
@@ -284,7 +283,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
284
283
  render() {
285
284
  // only avoid border when we have a header color that is not white
286
285
  const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
287
- return (h(Host, { key: 'ae34199751802f20ad97e947a54a123e86c6449c' }, h("calcite-shell", { key: 'cec5041ec6e1683e38a714694a3a6d097f268ec8', class: "position-relative" }, h("calcite-panel", { key: 'feca859563d97e7b536aff264a64480c769ee1c0', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal(), this._deleteModal()));
286
+ return (h(Host, { key: '4ec349cf53a543077a3b938d5dad2e767f533181' }, h("calcite-shell", { key: '08c56e11ff814419aeb7295bba240b0e96856cae', class: "position-relative" }, h("calcite-panel", { key: 'aac7ff804b7e98f3b5d1b11dbc5ee8e18c9467ca', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal(), this._deleteModal()));
288
287
  }
289
288
  /**
290
289
  * Called after each render
@@ -59,6 +59,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
59
59
  this.showUserImageInCommentsList = false;
60
60
  this.showFeatureSymbol = false;
61
61
  this.showMyReportsOnly = false;
62
+ this.submitNewReportsMessage = undefined;
62
63
  this.theme = "light";
63
64
  this.zoomToScale = undefined;
64
65
  this.floorLevel = undefined;
@@ -377,7 +378,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
377
378
  */
378
379
  render() {
379
380
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
380
- return (h(Host, { key: '03d613fe8f275852672fb546ceb4449fb82580c0' }, this._reportSubmitted && h("calcite-alert", { key: '969a66978549d6993b1e4fce87bbd2387858cdf8', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '60ae42443e09a97d97a46bba07b1ea010b382348', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: 'bf6c346cf976a4b84da3553230239665c712e2b6', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: '1f9560e18d802a15bcb3e8ea9f05837a4a6fb8aa', slot: "title" }, this._translations.error), h("div", { key: '1f5ef09cbf94996eeb5783211ed1542a5cf53e93', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && h("calcite-alert", { key: '15538e8faabbec476d7586dcc4152b422404c23f', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '925a9a243a79dfb66554a9a51f24396ca2b71c98', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: '62c63d3b1c51bdc7879e815e2b2f4d3c4d039c4c', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: '971f07331a8689b859f2cedc96ba3589a3ad3e16', slot: "title" }, this._translations.error), h("div", { key: '1627f1ab5c4a4aceb7bdb70471aed6b8ca6d67b8', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: 'b3257ba523357b4444ce7da7d13a86f6b71185d9' }, h("calcite-shell", { key: '35fc5a814528bb0acc22919839719bb4349e9ae4', "content-behind": true }, this._getReporter()))));
381
+ return (h(Host, { key: 'b97883be773d948b75e6df1be453cde018a0dba1' }, this._reportSubmitted && h("calcite-alert", { key: '5fd17c13a0d4dc3c7fed1bb253e9196b83c20e1d', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '5c7a00cb3eaaaeb3a0501324c10b407746ecca46', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: 'd83c690d60c2e6f12a5ec356c5ae67185edc6a1e', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: '9cbac1cf8698f1f918004764e4e43c25af766e4a', slot: "title" }, this._translations.error), h("div", { key: 'b4dbe07b4af7ab6c543596c6a3374b785fac4c7e', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && h("calcite-alert", { key: 'cde843955c6538ea857a0a187c995062efd777e7', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '86e3d820aa0d4362c07470bd60d8f0efd0614bc2', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: 'a0bdeec1bb3a33f3bfa938c0a1f4e631c6a76399', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: 'b161d8e42a078d961ec4e42888d26f4314e9d5a4', slot: "title" }, this._translations.error), h("div", { key: 'cf3908f91448dfbb7cf6ec78b413eaa3327372be', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: '42e2c8abaf43d6a587729229347efb2836827b98' }, h("calcite-shell", { key: '9e3174a699c37be8f20f4609f52c94ecb95d599f', "content-behind": true }, this._getReporter()))));
381
382
  }
382
383
  //--------------------------------------------------------------------------
383
384
  //
@@ -531,7 +532,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
531
532
  * @protected
532
533
  */
533
534
  getFeatureCreateFlowItem() {
534
- return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "feature-create" }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("create-feature", { customizeSubmit: true, enableSearch: true, floorLevel: this.floorLevel, formElements: this._formElements.find(elm => elm.id === this._selectedLayerId), isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onDrawComplete: this.onFormReady.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onModeChanged: this.backFromCreateFeaturePanel.bind(this), onProgressStatus: this.updatedProgressStatus.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId }))));
535
+ return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "feature-create" }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("create-feature", { customizeSubmit: true, enableSearch: true, floorLevel: this.floorLevel, formElements: this._formElements.find(elm => elm.id === this._selectedLayerId), isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onDrawComplete: this.onFormReady.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onModeChanged: this.backFromCreateFeaturePanel.bind(this), onProgressStatus: this.updatedProgressStatus.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId, submitNewReportsMessage: this.submitNewReportsMessage }))));
535
536
  }
536
537
  /**
537
538
  * Update the progress bar status when editor panel changes
@@ -1403,6 +1404,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
1403
1404
  "showUserImageInCommentsList": [4, "show-user-image-in-comments-list"],
1404
1405
  "showFeatureSymbol": [4, "show-feature-symbol"],
1405
1406
  "showMyReportsOnly": [4, "show-my-reports-only"],
1407
+ "submitNewReportsMessage": [1, "submit-new-reports-message"],
1406
1408
  "theme": [1],
1407
1409
  "zoomToScale": [2, "zoom-to-scale"],
1408
1410
  "floorLevel": [1, "floor-level"],
@@ -262,6 +262,7 @@ const MapDrawTools = /*@__PURE__*/ proxyCustomElement(class MapDrawTools extends
262
262
  ...sketchOptions,
263
263
  container: this._sketchElement,
264
264
  creationMode: "single",
265
+ toolbarKind: "docked",
265
266
  visibleElements: {
266
267
  duplicateButton: false,
267
268
  selectionTools: {
@@ -271,7 +272,7 @@ const MapDrawTools = /*@__PURE__*/ proxyCustomElement(class MapDrawTools extends
271
272
  circle: false
272
273
  },
273
274
  undoRedoMenu: false,
274
- settingsMenu: this.drawMode === EDrawMode.SKETCH
275
+ settingsMenu: this.drawMode === EDrawMode.SKETCH,
275
276
  }
276
277
  });
277
278
  this._sketchViewModel = new this.SketchViewModel({
@@ -4,7 +4,7 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-089957fe.js';
7
- import { _ as _typeof } from './typeof-a3e780e1.js';
7
+ import { _ as _typeof } from './typeof-ef2a007d.js';
8
8
 
9
9
  var defineProperty = {exports: {}};
10
10
 
@@ -4,8 +4,8 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { r as registerInstance, g as getElement, h, H as Host, c as createEvent } from './index-df5db8e9.js';
7
- import { l as loadModules, g as getLocaleComponentStrings } from './locale-15e42305.js';
8
- import './esri-loader-d10d860d.js';
7
+ import { l as loadModules, g as getLocaleComponentStrings } from './locale-7874c756.js';
8
+ import './esri-loader-c6842c6b.js';
9
9
  import './_commonjsHelpers-089957fe.js';
10
10
 
11
11
  const basemapGalleryCss = ":host{display:block}";
@@ -4,10 +4,10 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-df5db8e9.js';
7
- import { l as loadModules, g as getLocaleComponentStrings } from './locale-15e42305.js';
7
+ import { l as loadModules, g as getLocaleComponentStrings } from './locale-7874c756.js';
8
8
  import { f as EDrawMode } from './interfaces-659e3836.js';
9
9
  import { s as state } from './publicNotificationStore-9ec5e22a.js';
10
- import './esri-loader-d10d860d.js';
10
+ import './esri-loader-c6842c6b.js';
11
11
  import './_commonjsHelpers-089957fe.js';
12
12
  import './index-c247b62b.js';
13
13
 
@@ -552,6 +552,7 @@ const MapDrawTools = class {
552
552
  ...sketchOptions,
553
553
  container: this._sketchElement,
554
554
  creationMode: "single",
555
+ toolbarKind: "docked",
555
556
  visibleElements: {
556
557
  duplicateButton: false,
557
558
  selectionTools: {
@@ -561,7 +562,7 @@ const MapDrawTools = class {
561
562
  circle: false
562
563
  },
563
564
  undoRedoMenu: false,
564
- settingsMenu: this.drawMode === EDrawMode.SKETCH
565
+ settingsMenu: this.drawMode === EDrawMode.SKETCH,
565
566
  }
566
567
  });
567
568
  this._sketchViewModel = new this.SketchViewModel({
@@ -4,13 +4,13 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-df5db8e9.js';
7
- import { g as getLocaleComponentStrings, l as loadModules } from './locale-15e42305.js';
7
+ import { g as getLocaleComponentStrings, l as loadModules } from './locale-7874c756.js';
8
8
  import { g as getLayerOrTable, q as queryFeaturesByID, e as goToSelection, f as queryFeaturesByGlobalID, c as getFeatureLayerView } from './mapViewUtils-9da9be1c.js';
9
- import { d as downloadCSV } from './downloadUtils-d04d4095.js';
10
- import './esri-loader-d10d860d.js';
9
+ import { d as downloadCSV } from './downloadUtils-078cd709.js';
10
+ import './esri-loader-c6842c6b.js';
11
11
  import './_commonjsHelpers-089957fe.js';
12
12
  import './interfaces-659e3836.js';
13
- import './typeof-a3e780e1.js';
13
+ import './typeof-ef2a007d.js';
14
14
  import './index-d88c3eb6.js';
15
15
  import './solution-resource-30a29505.js';
16
16
  import './restHelpersGet-a7fda344.js';
@@ -4,12 +4,12 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, g as getElement, h as h$1, H as Host } from './index-df5db8e9.js';
7
- import { g as getLocaleComponentStrings } from './locale-15e42305.js';
7
+ import { g as getLocaleComponentStrings } from './locale-7874c756.js';
8
8
  import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './_commonjsHelpers-089957fe.js';
9
- import { d as defineProperty, _ as _asyncToGenerator$1, a as _defineProperty$2 } from './asyncToGenerator-e51717ed.js';
10
- import { _ as _typeof$1, t as t$2 } from './typeof-a3e780e1.js';
9
+ import { d as defineProperty, _ as _asyncToGenerator$1, a as _defineProperty$2 } from './asyncToGenerator-96b2368d.js';
10
+ import { _ as _typeof$1, t as t$2 } from './typeof-ef2a007d.js';
11
11
  import { r as request, _ as __assign, g as getPortalUrl, u as updateItem } from './update-ad0b88fa.js';
12
- import './esri-loader-d10d860d.js';
12
+ import './esri-loader-c6842c6b.js';
13
13
 
14
14
  function shouldDisableTracking(options = {}) {
15
15
  const { disabled, portal } = options;
@@ -4,14 +4,14 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, g as getElement, h, F as Fragment, H as Host } from './index-df5db8e9.js';
7
- import { l as loadModules, g as getLocaleComponentStrings } from './locale-15e42305.js';
7
+ import { l as loadModules, g as getLocaleComponentStrings } from './locale-7874c756.js';
8
8
  import { a as getAllLayers, g as getLayerOrTable } from './mapViewUtils-9da9be1c.js';
9
- import { P as PopupUtils } from './popupUtils-b71abb01.js';
10
- import './esri-loader-d10d860d.js';
9
+ import { P as PopupUtils } from './popupUtils-6a965512.js';
10
+ import './esri-loader-c6842c6b.js';
11
11
  import './_commonjsHelpers-089957fe.js';
12
12
  import './interfaces-659e3836.js';
13
- import './downloadUtils-d04d4095.js';
14
- import './typeof-a3e780e1.js';
13
+ import './downloadUtils-078cd709.js';
14
+ import './typeof-ef2a007d.js';
15
15
  import './index-d88c3eb6.js';
16
16
  import './solution-resource-30a29505.js';
17
17
  import './restHelpersGet-a7fda344.js';
@@ -29,19 +29,20 @@ const CreateFeature = class {
29
29
  this.editingAttachment = createEvent(this, "editingAttachment", 7);
30
30
  this.progressStatus = createEvent(this, "progressStatus", 7);
31
31
  this.modeChanged = createEvent(this, "modeChanged", 7);
32
- this.mapView = undefined;
33
- this.selectedLayerId = undefined;
34
32
  this.customizeSubmit = false;
35
- this.locale = undefined;
36
- this.searchConfiguration = undefined;
37
- this.isMobile = undefined;
33
+ this.enableSearch = false;
38
34
  this.floorLevel = undefined;
39
35
  this.formElements = undefined;
40
- this.enableSearch = false;
36
+ this.isMobile = undefined;
37
+ this.locale = undefined;
38
+ this.mapView = undefined;
39
+ this.searchConfiguration = undefined;
40
+ this.selectedLayerId = undefined;
41
41
  this.showGuidingMsg = true;
42
42
  this.showGuidingMsgWhileDrawing = true;
43
- this._editorLoading = false;
43
+ this.submitNewReportsMessage = undefined;
44
44
  this._currentPage = "templatePicker";
45
+ this._editorLoading = false;
45
46
  this._translations = undefined;
46
47
  }
47
48
  get el() { return getElement(this); }
@@ -60,6 +61,11 @@ const CreateFeature = class {
60
61
  * The ExpressionInfo constructor
61
62
  */
62
63
  ExpressionInfo;
64
+ /**
65
+ * https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
66
+ * The Feature layer instance
67
+ */
68
+ FeatureLayer;
63
69
  /**
64
70
  * esri/form/elements/FieldElement: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-FieldElement.html
65
71
  * The FieldElement constructor
@@ -69,68 +75,63 @@ const CreateFeature = class {
69
75
  * esri/form/FormTemplate: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html
70
76
  */
71
77
  FormTemplate;
72
- /**
73
- * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
74
- * The Editor instance
75
- */
76
- _editor;
77
- /**
78
- * https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
79
- * The Feature layer instance
80
- */
81
- FeatureLayer;
82
78
  /**
83
79
  * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
84
80
  * The MapView instance
85
81
  */
86
82
  MapView;
87
- /**
88
- * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
89
- * Updated map view instance
90
- */
91
- _updatedMapView;
92
83
  /**
93
84
  * esri/widgets/Search: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
94
85
  * The Search instance
95
86
  */
96
87
  Search;
97
- /**
98
- * "esri/widgets/Search": https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
99
- * The Search instance
100
- */
101
- _search;
102
- /**
103
- * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
104
- */
105
- reactiveUtils;
106
88
  /**
107
89
  * boolean: Flag to maintain the add attachment
108
90
  */
109
91
  _addingAttachment;
92
+ /**
93
+ * HTMLCalciteNoticeElement: calcite notice refrence element
94
+ */
95
+ _calciteNotice;
110
96
  /**
111
97
  * HTMLDivElement: The node the editor will be added to
112
98
  */
113
99
  _container;
114
100
  /**
115
- * HTMLDivElement: The node for the map view
101
+ * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
102
+ * The Editor instance
116
103
  */
117
- _mapViewContainer;
104
+ _editor;
118
105
  /**
119
106
  * boolean: Flag to maintain form submission using submit button
120
107
  */
121
108
  _isSubmitBtnClicked = false;
122
109
  /**
123
- * __esri.FeatureLayer: selected feature layer;
110
+ * HTMLDivElement: The node for the map view
124
111
  */
125
- _selectedLayer;
112
+ _mapViewContainer;
113
+ /**
114
+ * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
115
+ */
116
+ reactiveUtils;
117
+ /**
118
+ * "esri/widgets/Search": https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
119
+ * The Search instance
120
+ */
121
+ _search;
126
122
  /**
127
123
  * HTMLDivElement: refrence for search div element
128
124
  */
129
125
  _searchDiv;
130
126
  /**
131
- * HTMLCalciteNoticeElement: calcite notice refrence element
127
+ * __esri.FeatureLayer: selected feature layer;
132
128
  */
133
- _calciteNotice;
129
+ _selectedLayer;
130
+ /**
131
+ * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
132
+ * Updated map view instance
133
+ */
134
+ _updatedMapView;
134
135
  //--------------------------------------------------------------------------
135
136
  //
136
137
  // Watch handlers
@@ -290,8 +291,8 @@ const CreateFeature = class {
290
291
  else if (this._currentPage === 'featureForm') {
291
292
  guidingMsg = this._translations.provideDetailsMsg;
292
293
  }
293
- return (h(Fragment, { key: '829e66e8b4818b2566d514ae85eddc50968075f8' }, showGuidingMsg && h("calcite-notice", { key: '0347181f26f5d87d38f8be185e0b43ffbbc34208', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: 'e5dd776ead66c26184a5aad747e82d97612d961a', slot: "message" }, guidingMsg)), h("calcite-loader", { key: '7989ecdbb4b635d38a1d63bf879d7e95b3f9a9be', class: loaderClass, label: "", scale: "s" }), h("div", { key: '6f6184af21e8a0595e5c51c132e657e7660caa01', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
294
- h("div", { key: '2068ca424a9355a28c9957104a4f6973b11c1b8f', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: 'a899d52788e6cfa67fe77abbbe0eeb6383b40d0a', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
294
+ return (h(Fragment, { key: 'cb3462a70e0097e9b4ac9dac3f910fce6d30f8b5' }, showGuidingMsg && h("calcite-notice", { key: 'ddd908ac4b31f60d07de064ec1decae06b3d93bd', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: '3cee10085fa29190d88d3d03d35f726d1b51651b', slot: "message" }, guidingMsg)), h("calcite-loader", { key: 'cf714d63a011712fa03c148c17a8811356e14859', class: loaderClass, label: "", scale: "s" }), h("div", { key: 'e20cb740a1d22795b397af191a26339d709aba0d', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
295
+ h("div", { key: 'd2b439d3845b69527fdea2414c7b22078b0af4ea', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: '1f4e39aaaa93f4e2102767c04c5ad256e4f129e2', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
295
296
  }
296
297
  //--------------------------------------------------------------------------
297
298
  //
@@ -4,9 +4,9 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, g as getElement, h, F as Fragment } from './index-df5db8e9.js';
7
- import { l as loadModules, g as getLocaleComponentStrings, f as formatNumber } from './locale-15e42305.js';
7
+ import { l as loadModules, g as getLocaleComponentStrings, f as formatNumber } from './locale-7874c756.js';
8
8
  import { b as getAllTables, d as getMapLayerHash, a as getAllLayers, c as getFeatureLayerView } from './mapViewUtils-9da9be1c.js';
9
- import './esri-loader-d10d860d.js';
9
+ import './esri-loader-c6842c6b.js';
10
10
  import './_commonjsHelpers-089957fe.js';
11
11
  import './interfaces-659e3836.js';
12
12
 
@@ -4,10 +4,10 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, g as getElement, h, H as Host, F as Fragment } from './index-df5db8e9.js';
7
- import { g as getLocaleComponentStrings } from './locale-15e42305.js';
7
+ import { g as getLocaleComponentStrings } from './locale-7874c756.js';
8
8
  import { E as ELayoutMode } from './interfaces-659e3836.js';
9
9
  import { g as getLayerOrTable } from './mapViewUtils-9da9be1c.js';
10
- import './esri-loader-d10d860d.js';
10
+ import './esri-loader-c6842c6b.js';
11
11
  import './_commonjsHelpers-089957fe.js';
12
12
 
13
13
  const crowdsourceManagerCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none !important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}.position-absolute-50{position:absolute;top:50px;bottom:0px;left:0px;right:0px}.position-absolute-0{position:absolute;top:0px;bottom:0px;left:0px;right:0px}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0px}.floating-container .floating-button{box-shadow:0 10px 25px rgb(92 93 94 / 60%);transform:translatey(5px);transition:all 0.3s}.z-index-0{z-index:0 !important}.z-index-1{z-index:1 !important}.filter-content-space{--calcite-dialog-content-space:0px}.background-dark{background:var(--calcite-color-background)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}";
@@ -143,8 +143,7 @@ const CrowdsourceManager = class {
143
143
  */
144
144
  appLayoutWatchHandler(newAppLayout, oldAppLayout) {
145
145
  if (newAppLayout !== oldAppLayout) {
146
- // eslint-disable-next-line @typescript-eslint/no-floating-promises
147
- this._layerTable.validateTableUpdate(newAppLayout === 'splitView');
146
+ void this._layerTable?.validateTableUpdate(newAppLayout === 'splitView');
148
147
  this._setActiveLayout(newAppLayout);
149
148
  // update the layer if table selected while switching to map view
150
149
  if (this.appLayout === "mapView" && this._layer?.isTable) {
@@ -267,7 +266,7 @@ const CrowdsourceManager = class {
267
266
  render() {
268
267
  // only avoid border when we have a header color that is not white
269
268
  const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
270
- return (h(Host, { key: 'ae34199751802f20ad97e947a54a123e86c6449c' }, h("calcite-shell", { key: 'cec5041ec6e1683e38a714694a3a6d097f268ec8', class: "position-relative" }, h("calcite-panel", { key: 'feca859563d97e7b536aff264a64480c769ee1c0', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal(), this._deleteModal()));
269
+ return (h(Host, { key: '4ec349cf53a543077a3b938d5dad2e767f533181' }, h("calcite-shell", { key: '08c56e11ff814419aeb7295bba240b0e96856cae', class: "position-relative" }, h("calcite-panel", { key: 'aac7ff804b7e98f3b5d1b11dbc5ee8e18c9467ca', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal(), this._deleteModal()));
271
270
  }
272
271
  /**
273
272
  * Called after each render
@@ -4,9 +4,9 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, g as getElement, h, H as Host, F as Fragment } from './index-df5db8e9.js';
7
- import { l as loadModules, g as getLocaleComponentStrings } from './locale-15e42305.js';
7
+ import { l as loadModules, g as getLocaleComponentStrings } from './locale-7874c756.js';
8
8
  import { g as getLayerOrTable, a as getAllLayers, b as getAllTables, c as getFeatureLayerView, h as highlightFeatures, d as getMapLayerHash, q as queryFeaturesByID } from './mapViewUtils-9da9be1c.js';
9
- import './esri-loader-d10d860d.js';
9
+ import './esri-loader-c6842c6b.js';
10
10
  import './_commonjsHelpers-089957fe.js';
11
11
  import './interfaces-659e3836.js';
12
12
 
@@ -48,6 +48,7 @@ const CrowdsourceReporter = class {
48
48
  this.showUserImageInCommentsList = false;
49
49
  this.showFeatureSymbol = false;
50
50
  this.showMyReportsOnly = false;
51
+ this.submitNewReportsMessage = undefined;
51
52
  this.theme = "light";
52
53
  this.zoomToScale = undefined;
53
54
  this.floorLevel = undefined;
@@ -366,7 +367,7 @@ const CrowdsourceReporter = class {
366
367
  */
367
368
  render() {
368
369
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
369
- return (h(Host, { key: '03d613fe8f275852672fb546ceb4449fb82580c0' }, this._reportSubmitted && h("calcite-alert", { key: '969a66978549d6993b1e4fce87bbd2387858cdf8', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '60ae42443e09a97d97a46bba07b1ea010b382348', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: 'bf6c346cf976a4b84da3553230239665c712e2b6', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: '1f9560e18d802a15bcb3e8ea9f05837a4a6fb8aa', slot: "title" }, this._translations.error), h("div", { key: '1f5ef09cbf94996eeb5783211ed1542a5cf53e93', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && h("calcite-alert", { key: '15538e8faabbec476d7586dcc4152b422404c23f', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '925a9a243a79dfb66554a9a51f24396ca2b71c98', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: '62c63d3b1c51bdc7879e815e2b2f4d3c4d039c4c', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: '971f07331a8689b859f2cedc96ba3589a3ad3e16', slot: "title" }, this._translations.error), h("div", { key: '1627f1ab5c4a4aceb7bdb70471aed6b8ca6d67b8', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: 'b3257ba523357b4444ce7da7d13a86f6b71185d9' }, h("calcite-shell", { key: '35fc5a814528bb0acc22919839719bb4349e9ae4', "content-behind": true }, this._getReporter()))));
370
+ return (h(Host, { key: 'b97883be773d948b75e6df1be453cde018a0dba1' }, this._reportSubmitted && h("calcite-alert", { key: '5fd17c13a0d4dc3c7fed1bb253e9196b83c20e1d', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '5c7a00cb3eaaaeb3a0501324c10b407746ecca46', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: 'd83c690d60c2e6f12a5ec356c5ae67185edc6a1e', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: '9cbac1cf8698f1f918004764e4e43c25af766e4a', slot: "title" }, this._translations.error), h("div", { key: 'b4dbe07b4af7ab6c543596c6a3374b785fac4c7e', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && h("calcite-alert", { key: 'cde843955c6538ea857a0a187c995062efd777e7', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '86e3d820aa0d4362c07470bd60d8f0efd0614bc2', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: 'a0bdeec1bb3a33f3bfa938c0a1f4e631c6a76399', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: 'b161d8e42a078d961ec4e42888d26f4314e9d5a4', slot: "title" }, this._translations.error), h("div", { key: 'cf3908f91448dfbb7cf6ec78b413eaa3327372be', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: '42e2c8abaf43d6a587729229347efb2836827b98' }, h("calcite-shell", { key: '9e3174a699c37be8f20f4609f52c94ecb95d599f', "content-behind": true }, this._getReporter()))));
370
371
  }
371
372
  //--------------------------------------------------------------------------
372
373
  //
@@ -520,7 +521,7 @@ const CrowdsourceReporter = class {
520
521
  * @protected
521
522
  */
522
523
  getFeatureCreateFlowItem() {
523
- return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "feature-create" }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("create-feature", { customizeSubmit: true, enableSearch: true, floorLevel: this.floorLevel, formElements: this._formElements.find(elm => elm.id === this._selectedLayerId), isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onDrawComplete: this.onFormReady.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onModeChanged: this.backFromCreateFeaturePanel.bind(this), onProgressStatus: this.updatedProgressStatus.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId }))));
524
+ return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "feature-create" }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("create-feature", { customizeSubmit: true, enableSearch: true, floorLevel: this.floorLevel, formElements: this._formElements.find(elm => elm.id === this._selectedLayerId), isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onDrawComplete: this.onFormReady.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onModeChanged: this.backFromCreateFeaturePanel.bind(this), onProgressStatus: this.updatedProgressStatus.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId, submitNewReportsMessage: this.submitNewReportsMessage }))));
524
525
  }
525
526
  /**
526
527
  * Update the progress bar status when editor panel changes