@esri/solutions-components 0.10.2 → 0.10.4

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 (210) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
  2. package/dist/cjs/buffer-tools_3.cjs.entry.js +2 -2
  3. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +2 -2
  4. package/dist/cjs/calcite-alert_4.cjs.entry.js +12 -10
  5. package/dist/cjs/calcite-block_5.cjs.entry.js +4 -4
  6. package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +2 -2
  7. package/dist/cjs/calcite-flow_6.cjs.entry.js +2 -2
  8. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +5 -5
  9. package/dist/cjs/card-manager_3.cjs.entry.js +7 -6
  10. package/dist/cjs/{common-4d4cf291.js → common-61b41813.js} +1 -1
  11. package/dist/cjs/consent-manager.cjs.entry.js +2 -2
  12. package/dist/cjs/crowdsource-manager.cjs.entry.js +5 -6
  13. package/dist/cjs/crowdsource-reporter.cjs.entry.js +2 -2
  14. package/dist/cjs/{downloadUtils-48ffc5b3.js → downloadUtils-b757205e.js} +5 -5
  15. package/dist/cjs/feature-list.cjs.entry.js +6 -6
  16. package/dist/cjs/{helpers-6f7660d4.js → helpers-1deec961.js} +1 -1
  17. package/dist/cjs/{index.es-9e361fa2.js → index.es-6c8b7d64.js} +5 -5
  18. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -5
  19. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
  20. package/dist/cjs/instant-apps-create.cjs.entry.js +4 -4
  21. package/dist/cjs/instant-apps-export-views.cjs.entry.js +4 -4
  22. package/dist/cjs/instant-apps-export.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 +3 -3
  25. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
  26. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
  27. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
  28. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +5 -5
  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.cjs.entry.js +4 -4
  33. package/dist/cjs/instant-apps-popover.cjs.entry.js +4 -4
  34. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +4 -4
  35. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +4 -4
  36. package/dist/cjs/instant-apps-splash.cjs.entry.js +4 -4
  37. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +4 -4
  38. package/dist/cjs/{languageSwitcher-f0bb94fa.js → languageSwitcher-dc2dd354.js} +1 -1
  39. package/dist/cjs/{languageUtil-f22ce913.js → languageUtil-a3e1eafd.js} +1 -1
  40. package/dist/cjs/layout-manager.cjs.entry.js +2 -2
  41. package/dist/cjs/{loadModules-36d49819.js → loadModules-8567855e.js} +1 -1
  42. package/dist/cjs/loader.cjs.js +1 -1
  43. package/dist/cjs/{locale-2dc1252d.js → locale-4e7fe921.js} +1 -1
  44. package/dist/cjs/{locale-239118c6.js → locale-a1bcb6eb.js} +2 -2
  45. package/dist/cjs/map-select-tools_3.cjs.entry.js +40 -27
  46. package/dist/cjs/{popupUtils-b771f498.js → popupUtils-2b5ec788.js} +2 -2
  47. package/dist/cjs/public-notification.cjs.entry.js +13 -10
  48. package/dist/cjs/{restHelpersGet-88ba0e25.js → restHelpersGet-bf484fda.js} +24 -20
  49. package/dist/cjs/solution-configuration.cjs.entry.js +6 -6
  50. package/dist/cjs/solution-contents_3.cjs.entry.js +6 -6
  51. package/dist/cjs/{solution-resource-16c7510c.js → solution-resource-57cf345b.js} +1 -1
  52. package/dist/cjs/{solution-store-747a28ab.js → solution-store-71bb46fa.js} +65 -58
  53. package/dist/cjs/solutions-components.cjs.js +1 -1
  54. package/dist/cjs/spatial-ref.cjs.entry.js +4 -4
  55. package/dist/cjs/store-manager.cjs.entry.js +4 -4
  56. package/dist/cjs/{templates-2f44c01b.js → templates-e4b98319.js} +2 -2
  57. package/dist/cjs/{utils-e486aa01.js → utils-b43fe04f.js} +1 -1
  58. package/dist/collection/components/card-manager/card-manager.js +20 -1
  59. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -22
  60. package/dist/collection/components/edit-card/edit-card.js +21 -2
  61. package/dist/collection/components/info-card/info-card.js +21 -2
  62. package/dist/collection/components/map-select-tools/map-select-tools.js +88 -21
  63. package/dist/collection/components/public-notification/public-notification.js +62 -5
  64. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  65. package/dist/collection/utils/interfaces.ts +3 -0
  66. package/dist/collection/utils/pdfUtils.js +1 -1
  67. package/dist/collection/utils/pdfUtils.ts +1 -1
  68. package/dist/components/card-manager2.js +3 -1
  69. package/dist/components/crowdsource-manager.js +3 -5
  70. package/dist/components/downloadUtils.js +1 -1
  71. package/dist/components/edit-card2.js +4 -2
  72. package/dist/components/info-card2.js +4 -2
  73. package/dist/components/map-select-tools2.js +37 -21
  74. package/dist/components/public-notification.js +11 -5
  75. package/dist/components/refine-selection2.js +1 -1
  76. package/dist/components/restHelpersGet.js +23 -19
  77. package/dist/components/solution-resource.js +1 -1
  78. package/dist/components/solution-store.js +63 -56
  79. package/dist/esm/basemap-gallery_7.entry.js +2 -2
  80. package/dist/esm/buffer-tools_3.entry.js +2 -2
  81. package/dist/esm/calcite-action-pad_2.entry.js +2 -2
  82. package/dist/esm/calcite-alert_4.entry.js +12 -10
  83. package/dist/esm/calcite-block_5.entry.js +4 -4
  84. package/dist/esm/calcite-dropdown-group_2.entry.js +2 -2
  85. package/dist/esm/calcite-flow_6.entry.js +2 -2
  86. package/dist/esm/calcite-shell-panel_14.entry.js +5 -5
  87. package/dist/esm/card-manager_3.entry.js +7 -6
  88. package/dist/esm/{common-3b99e350.js → common-1618d62f.js} +1 -1
  89. package/dist/esm/consent-manager.entry.js +2 -2
  90. package/dist/esm/crowdsource-manager.entry.js +5 -6
  91. package/dist/esm/crowdsource-reporter.entry.js +2 -2
  92. package/dist/esm/{downloadUtils-abb8cda2.js → downloadUtils-16c51b10.js} +5 -5
  93. package/dist/esm/feature-list.entry.js +6 -6
  94. package/dist/esm/{helpers-62213648.js → helpers-2298687e.js} +1 -1
  95. package/dist/esm/{index.es-9283e62c.js → index.es-d950915a.js} +5 -5
  96. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -5
  97. package/dist/esm/instant-apps-control-panel.entry.js +2 -2
  98. package/dist/esm/instant-apps-create.entry.js +4 -4
  99. package/dist/esm/instant-apps-export-views.entry.js +4 -4
  100. package/dist/esm/instant-apps-export.entry.js +4 -4
  101. package/dist/esm/instant-apps-header.entry.js +2 -2
  102. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
  103. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
  104. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
  105. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
  106. package/dist/esm/instant-apps-interactive-legend.entry.js +5 -5
  107. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +4 -4
  108. package/dist/esm/instant-apps-language-switcher.entry.js +6 -6
  109. package/dist/esm/instant-apps-language-translator.entry.js +6 -6
  110. package/dist/esm/instant-apps-measurement.entry.js +4 -4
  111. package/dist/esm/instant-apps-popover.entry.js +4 -4
  112. package/dist/esm/instant-apps-scoreboard.entry.js +4 -4
  113. package/dist/esm/instant-apps-sign-in.entry.js +4 -4
  114. package/dist/esm/instant-apps-splash.entry.js +4 -4
  115. package/dist/esm/instant-apps-time-filter.entry.js +4 -4
  116. package/dist/esm/{languageSwitcher-b665499d.js → languageSwitcher-9db90f1e.js} +1 -1
  117. package/dist/esm/{languageUtil-a3e6adf6.js → languageUtil-2b6e191a.js} +1 -1
  118. package/dist/esm/layout-manager.entry.js +2 -2
  119. package/dist/esm/{loadModules-9c062d08.js → loadModules-03ba7abe.js} +1 -1
  120. package/dist/esm/loader.js +1 -1
  121. package/dist/esm/{locale-e758c2ee.js → locale-7162b55a.js} +1 -1
  122. package/dist/esm/{locale-35ebf4af.js → locale-adb5ff0b.js} +2 -2
  123. package/dist/esm/map-select-tools_3.entry.js +40 -27
  124. package/dist/esm/{popupUtils-9b2b0aba.js → popupUtils-44f11275.js} +2 -2
  125. package/dist/esm/public-notification.entry.js +13 -10
  126. package/dist/esm/{restHelpersGet-788d7f7b.js → restHelpersGet-0a15c2f4.js} +24 -20
  127. package/dist/esm/solution-configuration.entry.js +6 -6
  128. package/dist/esm/solution-contents_3.entry.js +6 -6
  129. package/dist/esm/{solution-resource-966f8511.js → solution-resource-ab63a236.js} +1 -1
  130. package/dist/esm/{solution-store-0586e891.js → solution-store-e2690620.js} +65 -58
  131. package/dist/esm/solutions-components.js +1 -1
  132. package/dist/esm/spatial-ref.entry.js +4 -4
  133. package/dist/esm/store-manager.entry.js +4 -4
  134. package/dist/esm/{templates-9330d7b8.js → templates-9556eb87.js} +2 -2
  135. package/dist/esm/{utils-72a48b01.js → utils-178e7afe.js} +1 -1
  136. package/dist/solutions-components/{p-71452a4e.entry.js → p-002c97df.entry.js} +1 -1
  137. package/dist/solutions-components/{p-08b0e478.js → p-00b26aac.js} +2 -2
  138. package/dist/solutions-components/{p-f2ac5d0e.js → p-1904654e.js} +1 -1
  139. package/dist/solutions-components/{p-e9aba912.entry.js → p-1b9aa18e.entry.js} +1 -1
  140. package/dist/solutions-components/p-235bf02e.entry.js +6 -0
  141. package/dist/solutions-components/{p-beeccd19.entry.js → p-24b3aedc.entry.js} +1 -1
  142. package/dist/solutions-components/{p-f067a46c.js → p-2fa78dd8.js} +1 -1
  143. package/dist/solutions-components/{p-c742acd9.js → p-2fc63144.js} +1 -1
  144. package/dist/solutions-components/{p-65283b75.entry.js → p-3438cbc4.entry.js} +1 -1
  145. package/dist/solutions-components/{p-1176ec70.entry.js → p-38cfa3cd.entry.js} +1 -1
  146. package/dist/solutions-components/p-3b426576.entry.js +6 -0
  147. package/dist/solutions-components/{p-de30afd0.entry.js → p-425a1dab.entry.js} +1 -1
  148. package/dist/solutions-components/{p-29962ae5.entry.js → p-4848b48f.entry.js} +1 -1
  149. package/dist/solutions-components/p-49aa2929.entry.js +6 -0
  150. package/dist/solutions-components/{p-73ef6866.js → p-4b3cc01f.js} +3 -3
  151. package/dist/solutions-components/{p-65581d83.js → p-4cd4cb85.js} +1 -1
  152. package/dist/solutions-components/{p-2d03b0d7.entry.js → p-5b818d29.entry.js} +1 -1
  153. package/dist/solutions-components/{p-787a4789.entry.js → p-5c999087.entry.js} +1 -1
  154. package/dist/solutions-components/{p-32f5c6ec.entry.js → p-69cfa9e6.entry.js} +1 -1
  155. package/dist/solutions-components/{p-51cfb4a6.entry.js → p-6b30ca36.entry.js} +1 -1
  156. package/dist/solutions-components/{p-4b843bc0.entry.js → p-6de944af.entry.js} +1 -1
  157. package/dist/solutions-components/{p-4a0838c0.entry.js → p-78712b70.entry.js} +1 -1
  158. package/dist/solutions-components/{p-ee87a7b0.entry.js → p-7af4c00e.entry.js} +3 -3
  159. package/dist/solutions-components/{p-09d62c22.js → p-7bfecd07.js} +1 -1
  160. package/dist/solutions-components/{p-07053ee3.entry.js → p-80e6c7cb.entry.js} +1 -1
  161. package/dist/solutions-components/{p-ef493a84.entry.js → p-86e6b5b3.entry.js} +1 -1
  162. package/dist/solutions-components/{p-81f62cf5.entry.js → p-88d4db61.entry.js} +1 -1
  163. package/dist/solutions-components/{p-13f83a1a.entry.js → p-8a6fa619.entry.js} +1 -1
  164. package/dist/solutions-components/{p-e05894a6.entry.js → p-8b999a2b.entry.js} +1 -1
  165. package/dist/solutions-components/{p-614edd9f.entry.js → p-8e8b92b4.entry.js} +1 -1
  166. package/dist/solutions-components/{p-a759e0e5.js → p-90d6755b.js} +1 -1
  167. package/dist/solutions-components/{p-f4828ba4.entry.js → p-932f22b5.entry.js} +1 -1
  168. package/dist/solutions-components/{p-afad4f05.js → p-a091bc9a.js} +1 -1
  169. package/dist/solutions-components/{p-a7b05a79.entry.js → p-a22b8cc1.entry.js} +1 -1
  170. package/dist/solutions-components/{p-a7710355.js → p-a860f365.js} +8 -7
  171. package/dist/solutions-components/{p-2cff27c5.js → p-a8e6463b.js} +2 -2
  172. package/dist/solutions-components/{p-7efb5ef0.entry.js → p-a9818be2.entry.js} +1 -1
  173. package/dist/solutions-components/{p-3e84a420.entry.js → p-ab2adcaf.entry.js} +1 -1
  174. package/dist/solutions-components/{p-4c0b8e55.entry.js → p-abc9e858.entry.js} +1 -1
  175. package/dist/solutions-components/{p-af2c8aa9.js → p-ac122d9e.js} +1 -1
  176. package/dist/solutions-components/{p-ed9b7fa1.entry.js → p-b19ca04e.entry.js} +1 -1
  177. package/dist/solutions-components/{p-fb0fdc0d.entry.js → p-b7cec3bd.entry.js} +1 -1
  178. package/dist/solutions-components/p-b80bcd0b.entry.js +6 -0
  179. package/dist/solutions-components/{p-92744164.entry.js → p-b850796d.entry.js} +1 -1
  180. package/dist/solutions-components/{p-7c583516.js → p-badcaf04.js} +1 -1
  181. package/dist/solutions-components/{p-a2150807.entry.js → p-c6473b38.entry.js} +1 -1
  182. package/dist/solutions-components/{p-f341b87e.entry.js → p-d57736d0.entry.js} +1 -1
  183. package/dist/solutions-components/{p-09b47605.js → p-d7868dd4.js} +1 -1
  184. package/dist/solutions-components/{p-f7d822f7.entry.js → p-d8047d8f.entry.js} +1 -1
  185. package/dist/solutions-components/{p-386429a4.entry.js → p-dc17b638.entry.js} +1 -1
  186. package/dist/solutions-components/{p-02d3d3e9.entry.js → p-e3e593db.entry.js} +2 -2
  187. package/dist/solutions-components/{p-00786a30.entry.js → p-edd70ba3.entry.js} +1 -1
  188. package/dist/solutions-components/{p-6f836c0a.entry.js → p-ef6567ae.entry.js} +1 -1
  189. package/dist/solutions-components/{p-0bf41dfd.entry.js → p-f59b4183.entry.js} +1 -1
  190. package/dist/solutions-components/solutions-components.esm.js +1 -1
  191. package/dist/solutions-components/utils/interfaces.ts +3 -0
  192. package/dist/solutions-components/utils/pdfUtils.ts +1 -1
  193. package/dist/types/components/card-manager/card-manager.d.ts +4 -0
  194. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +0 -4
  195. package/dist/types/components/edit-card/edit-card.d.ts +4 -0
  196. package/dist/types/components/info-card/info-card.d.ts +4 -0
  197. package/dist/types/components/map-select-tools/map-select-tools.d.ts +12 -0
  198. package/dist/types/components/public-notification/public-notification.d.ts +12 -0
  199. package/dist/types/components.d.ts +72 -8
  200. package/dist/types/utils/interfaces.d.ts +3 -0
  201. package/package.json +1 -1
  202. package/dist/solutions-components/p-2977bdbf.entry.js +0 -6
  203. package/dist/solutions-components/p-d0432926.entry.js +0 -6
  204. package/dist/solutions-components/p-d1fd4a53.entry.js +0 -6
  205. package/dist/solutions-components/p-f26423c7.entry.js +0 -6
  206. package/dist/solutions-components_commit.txt +0 -8
  207. /package/dist/cjs/{esri-loader-a56cbcbe.js → esri-loader-08dc41bd.js} +0 -0
  208. /package/dist/esm/{esri-loader-781d738a.js → esri-loader-c6842c6b.js} +0 -0
  209. /package/dist/solutions-components/{p-6a68306c.js → p-0a24ad5f.js} +0 -0
  210. /package/dist/solutions-components/{p-659678f1.js → p-9fe07c30.js} +0 -0
@@ -603,8 +603,8 @@ function cleanUrl(url) {
603
603
  * @returns A promise that will resolve with JSON or null
604
604
  */
605
605
  function blobToJson(blob) {
606
- return new Promise((resolve) => {
607
- blobToText(blob).then((blobContents) => {
606
+ return new Promise(resolve => {
607
+ blobToText(blob).then(blobContents => {
608
608
  try {
609
609
  resolve(JSON.parse(blobContents));
610
610
  }
@@ -624,7 +624,7 @@ function blobToJson(blob) {
624
624
  */
625
625
  function blobToFile(blob, filename, mimeType) {
626
626
  return new File([blob], filename ? filename : "", {
627
- type: mimeType ?? blob.type, // Blobs default to type=""
627
+ type: mimeType ?? blob.type // Blobs default to type=""
628
628
  });
629
629
  }
630
630
  /**
@@ -634,7 +634,7 @@ function blobToFile(blob, filename, mimeType) {
634
634
  * @returns A promise that will resolve with text read from blob
635
635
  */
636
636
  function blobToText(blob) {
637
- return new Promise((resolve) => {
637
+ return new Promise(resolve => {
638
638
  const reader = new FileReader();
639
639
  reader.onload = function (evt) {
640
640
  // Disable needed because Node requires cast
@@ -751,9 +751,9 @@ function getBlob(url, authentication, requestOptions = {}) {
751
751
  const blobRequestOptions = {
752
752
  authentication: authentication,
753
753
  rawResponse: true,
754
- ...requestOptions,
754
+ ...requestOptions
755
755
  };
756
- return request(url, blobRequestOptions).then((response) => {
756
+ return request(url, blobRequestOptions).then(response => {
757
757
  return response.blob();
758
758
  });
759
759
  }
@@ -786,7 +786,7 @@ const ZIP_FILE_HEADER_SIGNATURE = "PK";
786
786
  function getBlobAsFile(url, filename, authentication, ignoreErrors = [], mimeType) {
787
787
  return new Promise((resolve, reject) => {
788
788
  // Get the blob from the URL
789
- getBlobCheckForError(url, authentication, ignoreErrors).then((blob) => (!blob ? resolve(null) : resolve(blobToFile(blob, filename, mimeType))), reject);
789
+ getBlobCheckForError(url, authentication, ignoreErrors).then(blob => !blob ? resolve(null) : resolve(blobToFile(blob, filename, mimeType)), reject);
790
790
  });
791
791
  }
792
792
  /**
@@ -800,9 +800,9 @@ function getBlobAsFile(url, filename, authentication, ignoreErrors = [], mimeTyp
800
800
  function getBlobCheckForError(url, authentication, ignoreErrors = []) {
801
801
  return new Promise((resolve, reject) => {
802
802
  // Get the blob from the URL
803
- getBlob(url, authentication).then((blob) => {
803
+ getBlob(url, authentication).then(blob => {
804
804
  // Reclassify text/plain blobs as needed
805
- _fixTextBlobType(blob).then((adjustedBlob) => {
805
+ _fixTextBlobType(blob).then(adjustedBlob => {
806
806
  if (adjustedBlob.type === "application/json") {
807
807
  // Blob may be an error
808
808
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
@@ -838,8 +838,8 @@ function getBlobCheckForError(url, authentication, ignoreErrors = []) {
838
838
  * @returns Promise that will resolve with JSON, or an AGO-style JSON failure response
839
839
  */
840
840
  function getItemDataAsJson(itemId, authentication) {
841
- return new Promise((resolve) => {
842
- getItemDataBlob(itemId, authentication).then((blob) => resolve(blobToJson(blob)), () => resolve(null));
841
+ return new Promise(resolve => {
842
+ getItemDataBlob(itemId, authentication).then(blob => resolve(blobToJson(blob)), () => resolve(null));
843
843
  });
844
844
  }
845
845
  /**
@@ -850,9 +850,9 @@ function getItemDataAsJson(itemId, authentication) {
850
850
  * @returns A promise that will resolve with the data Blob or null if the item doesn't have a data section
851
851
  */
852
852
  function getItemDataBlob(itemId, authentication) {
853
- return new Promise((resolve) => {
853
+ return new Promise(resolve => {
854
854
  const url = getItemDataBlobUrl(itemId, authentication);
855
- getBlobCheckForError(url, authentication, [400, 500]).then((blob) => resolve(_fixTextBlobType(blob)), () => resolve(null));
855
+ getBlobCheckForError(url, authentication, [400, 500]).then(blob => resolve(_fixTextBlobType(blob)), () => resolve(null));
856
856
  });
857
857
  }
858
858
  /**
@@ -876,11 +876,11 @@ function getJson(url, authentication) {
876
876
  // Get the blob from the URL
877
877
  const requestOptions = { httpMethod: "GET" };
878
878
  return getBlob(url, authentication, requestOptions)
879
- .then((blob) => {
879
+ .then(blob => {
880
880
  // Reclassify text/plain blobs as needed
881
881
  return _fixTextBlobType(blob);
882
882
  })
883
- .then((adjustedBlob) => {
883
+ .then(adjustedBlob => {
884
884
  if (adjustedBlob.type === "application/json") {
885
885
  // Blob may be an error
886
886
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
@@ -902,7 +902,7 @@ function getPortalSharingUrlFromAuth(authentication) {
902
902
  return getProp(authentication, "portal") || "https://www.arcgis.com/sharing/rest";
903
903
  }
904
904
  function getThumbnailFile(url, filename, authentication) {
905
- return new Promise((resolve) => {
905
+ return new Promise(resolve => {
906
906
  getBlobAsFile(url, filename, authentication, [500]).then(resolve, () => resolve(null));
907
907
  });
908
908
  }
@@ -917,8 +917,11 @@ function getThumbnailFile(url, filename, authentication) {
917
917
  */
918
918
  function _fixTextBlobType(blob) {
919
919
  return new Promise((resolve, reject) => {
920
- if (blob && blob.size > 0 && (blob.type.startsWith("text/plain") || blob.type.startsWith("application/json"))) {
921
- blobToText(blob).then((blobText) => {
920
+ if (blob &&
921
+ blob.size > 0 &&
922
+ (blob.type.startsWith("text/plain") ||
923
+ blob.type.startsWith("application/json"))) {
924
+ blobToText(blob).then(blobText => {
922
925
  // Convertible to JSON?
923
926
  try {
924
927
  JSON.parse(blobText);
@@ -927,7 +930,8 @@ function _fixTextBlobType(blob) {
927
930
  }
928
931
  catch (ignored) {
929
932
  // Nope; test for ZIP file
930
- if (blobText.length > 4 && blobText.substr(0, 4) === ZIP_FILE_HEADER_SIGNATURE) {
933
+ if (blobText.length > 4 &&
934
+ blobText.substr(0, 4) === ZIP_FILE_HEADER_SIGNATURE) {
931
935
  // Yes; reclassify as ZIP
932
936
  resolve(new Blob([blob], { type: "application/zip" }));
933
937
  }
@@ -1806,7 +1806,7 @@ var ESortVisitState;
1806
1806
  /** visited, in progress */
1807
1807
  ESortVisitState[ESortVisitState["InProgress"] = 1] = "InProgress";
1808
1808
  /** finished */
1809
- ESortVisitState[ESortVisitState["Finished"] = 2] = "Finished";
1809
+ ESortVisitState[ESortVisitState["Finished"] = 2] = "Finished"; // BLACK
1810
1810
  })(ESortVisitState || (ESortVisitState = {}));
1811
1811
 
1812
1812
  /** @license
@@ -276,7 +276,7 @@ function chunkArray(arr, size) {
276
276
  }
277
277
 
278
278
  /** @license
279
- * Copyright 2018 Esri
279
+ * Copyright 2021 Esri
280
280
  *
281
281
  * Licensed under the Apache License, Version 2.0 (the "License");
282
282
  * you may not use this file except in compliance with the License.
@@ -290,32 +290,25 @@ function chunkArray(arr, size) {
290
290
  * See the License for the specific language governing permissions and
291
291
  * limitations under the License.
292
292
  */
293
+ // ------------------------------------------------------------------------------------------------------------------ //
293
294
  /**
294
- * Updates an item.
295
+ * Generates IAssociatedFileCopyResults object.
295
296
  *
296
- * @param itemInfo The base info of an item; note that this content will be serialized, which doesn't work
297
- * for binary content
298
- * @param authentication Credentials for request
299
- * @param folderId Item's folder
300
- * @param additionalParams Updates that are put under the `params` property, which is not serialized
301
- * @return
297
+ * @param fileInfo Info about item that was to be copied
298
+ * @param fetchedFromSource Status of fetching item from source
299
+ * @param copiedToDestination Status of copying item to destination
300
+ * @returns IAssociatedFileCopyResults object
302
301
  */
303
- function updateItem(itemInfo, authentication, folderId, additionalParams) {
304
- return new Promise((resolve, reject) => {
305
- const updateOptions = {
306
- item: itemInfo,
307
- folderId: folderId,
308
- authentication: authentication,
309
- params: {
310
- ...(additionalParams ?? {}),
311
- },
312
- };
313
- updateItem$1(updateOptions).then((response) => (response.success ? resolve(response) : reject(response)), (err) => reject(err));
314
- });
302
+ function createCopyResults(fileInfo, fetchedFromSource, copiedToDestination) {
303
+ return {
304
+ ...fileInfo,
305
+ fetchedFromSource,
306
+ copiedToDestination
307
+ };
315
308
  }
316
309
 
317
310
  /** @license
318
- * Copyright 2021 Esri
311
+ * Copyright 2018 Esri
319
312
  *
320
313
  * Licensed under the Apache License, Version 2.0 (the "License");
321
314
  * you may not use this file except in compliance with the License.
@@ -329,21 +322,28 @@ function updateItem(itemInfo, authentication, folderId, additionalParams) {
329
322
  * See the License for the specific language governing permissions and
330
323
  * limitations under the License.
331
324
  */
332
- // ------------------------------------------------------------------------------------------------------------------ //
333
325
  /**
334
- * Generates IAssociatedFileCopyResults object.
326
+ * Updates an item.
335
327
  *
336
- * @param fileInfo Info about item that was to be copied
337
- * @param fetchedFromSource Status of fetching item from source
338
- * @param copiedToDestination Status of copying item to destination
339
- * @returns IAssociatedFileCopyResults object
328
+ * @param itemInfo The base info of an item; note that this content will be serialized, which doesn't work
329
+ * for binary content
330
+ * @param authentication Credentials for request
331
+ * @param folderId Item's folder
332
+ * @param additionalParams Updates that are put under the `params` property, which is not serialized
333
+ * @return
340
334
  */
341
- function createCopyResults(fileInfo, fetchedFromSource, copiedToDestination) {
342
- return {
343
- ...fileInfo,
344
- fetchedFromSource,
345
- copiedToDestination,
346
- };
335
+ function updateItem(itemInfo, authentication, folderId, additionalParams) {
336
+ return new Promise((resolve, reject) => {
337
+ const updateOptions = {
338
+ item: itemInfo,
339
+ folderId: folderId,
340
+ authentication: authentication,
341
+ params: {
342
+ ...(additionalParams ?? {})
343
+ }
344
+ };
345
+ updateItem$1(updateOptions).then(response => (response.success ? resolve(response) : reject(response)), err => reject(err));
346
+ });
347
347
  }
348
348
 
349
349
  /** @license
@@ -437,7 +437,9 @@ function convertStorageResourceToItemResource(storageResourceFilename, storageVe
437
437
  function copyResourceIntoZip(file, zipInfo) {
438
438
  // Add it to the zip
439
439
  if (file.folder) {
440
- zipInfo.zip.folder(file.folder).file(file.filename, file.file, { binary: true });
440
+ zipInfo.zip
441
+ .folder(file.folder)
442
+ .file(file.filename, file.file, { binary: true });
441
443
  }
442
444
  else {
443
445
  zipInfo.zip.file(file.filename, file.file, { binary: true });
@@ -471,7 +473,7 @@ function copyResourceIntoZip(file, zipInfo) {
471
473
  * @returns A promise which resolves to the result of the copy
472
474
  */
473
475
  function copyZipIntoItem(zipInfo, destinationItemId, destinationAuthentication) {
474
- return new Promise((resolve) => {
476
+ return new Promise(resolve => {
475
477
  zipInfo.zip
476
478
  .generateAsync({ type: "blob" })
477
479
  .then((content) => {
@@ -483,12 +485,13 @@ function copyZipIntoItem(zipInfo, destinationItemId, destinationAuthentication)
483
485
  resource: zipfile,
484
486
  authentication: destinationAuthentication,
485
487
  params: {
486
- archive: true,
487
- },
488
+ archive: true
489
+ }
488
490
  };
489
491
  return addItemResource(addResourceOptions);
490
492
  })
491
- .then(() => resolve(createCopyResults(zipInfo, true, true)), () => resolve(createCopyResults(zipInfo, true, false)));
493
+ .then(() => resolve(createCopyResults(zipInfo, true, true)), () => resolve(createCopyResults(zipInfo, true, false)) // unable to add resource
494
+ );
492
495
  });
493
496
  }
494
497
 
@@ -519,7 +522,7 @@ function copyZipIntoItem(zipInfo, destinationItemId, destinationAuthentication)
519
522
  * @returns A promise which resolves to a list of the result of the copies
520
523
  */
521
524
  function copyFilesAsResources(files, destinationItemId, destinationAuthentication, filesPerZip = 40) {
522
- return new Promise((resolve) => {
525
+ return new Promise(resolve => {
523
526
  let awaitAllItems = [];
524
527
  const zipInfos = [];
525
528
  if (files.length > 0) {
@@ -534,9 +537,9 @@ function copyFilesAsResources(files, destinationItemId, destinationAuthenticatio
534
537
  const zipInfo = {
535
538
  filename: `resources${index}.zip`,
536
539
  zip: new JSZip(),
537
- filelist: [],
540
+ filelist: []
538
541
  };
539
- awaitAllItems = awaitAllItems.concat(chunk.map((file) => copyResourceIntoZip(file, zipInfo)));
542
+ awaitAllItems = awaitAllItems.concat(chunk.map(file => copyResourceIntoZip(file, zipInfo)));
540
543
  zipInfos.push(zipInfo);
541
544
  });
542
545
  }
@@ -550,7 +553,8 @@ function copyFilesAsResources(files, destinationItemId, destinationAuthenticatio
550
553
  // | true | true | file has been fetched and sent to AGO |
551
554
  // | true | undefined | file has been fetched and will be sent via zip |
552
555
  // Filter out copiedToDestination===undefined; we'll get their status when we send their zip
553
- results = results.filter((result) => !(result.fetchedFromSource && typeof result.copiedToDestination === "undefined"));
556
+ results = results.filter((result) => !(result.fetchedFromSource &&
557
+ typeof result.copiedToDestination === "undefined"));
554
558
  // Now send the resources to AGO
555
559
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
556
560
  _copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication).then((zipResults) => {
@@ -574,7 +578,7 @@ function copyFilesAsResources(files, destinationItemId, destinationAuthenticatio
574
578
  * @private
575
579
  */
576
580
  function _copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication) {
577
- return new Promise((resolve) => {
581
+ return new Promise(resolve => {
578
582
  const results = [];
579
583
  // Filter out empty zips, which can happen when none of the files in the chunk going into a zip
580
584
  // can be fetched; e.g., the only file is metadata.xml, and the source item doesn't have metadata
@@ -600,7 +604,7 @@ function _copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthent
600
604
  * @returns A promise which resolves to a list of the result of the copies
601
605
  */
602
606
  function _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthentication) {
603
- return new Promise((resolve) => {
607
+ return new Promise(resolve => {
604
608
  let allResults = [];
605
609
  // Remove zip from bottom of list
606
610
  const zipInfoToSend = zipInfos.pop();
@@ -613,7 +617,7 @@ function _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthent
613
617
  .then((response) => {
614
618
  allResults = response;
615
619
  // Stall a little to give AGO time to catch up
616
- return new Promise((resolveSleep) => {
620
+ return new Promise(resolveSleep => {
617
621
  setTimeout(() => resolveSleep(), 1000);
618
622
  });
619
623
  })
@@ -656,7 +660,7 @@ function _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthent
656
660
  * @returns A promise which resolves to a list of the filenames under which the resource/metadata are stored
657
661
  */
658
662
  function copyFilesToStorageItem(files, storageItemId, storageAuthentication) {
659
- return new Promise((resolve) => {
663
+ return new Promise(resolve => {
660
664
  // eslint-disable-next-line @typescript-eslint/no-floating-promises
661
665
  void copyFilesAsResources(files, storageItemId, storageAuthentication).then((results) => {
662
666
  resolve(results
@@ -676,7 +680,11 @@ function copyFilesToStorageItem(files, storageItemId, storageAuthentication) {
676
680
  * @returns URL string
677
681
  */
678
682
  function generateSourceResourceUrl(sourcePortalSharingUrl, itemId, sourceResourceFilename) {
679
- return (checkUrlPathTermination(sourcePortalSharingUrl) + "content/items/" + itemId + "/resources/" + sourceResourceFilename);
683
+ return (checkUrlPathTermination(sourcePortalSharingUrl) +
684
+ "content/items/" +
685
+ itemId +
686
+ "/resources/" +
687
+ sourceResourceFilename);
680
688
  }
681
689
  /**
682
690
  * Generates a list of full URLs and folder/filename combinations used to store the resources, metadata,
@@ -689,10 +697,10 @@ function generateSourceResourceUrl(sourcePortalSharingUrl, itemId, sourceResourc
689
697
  * @returns List of item files' URLs and folder/filenames for storing the files
690
698
  */
691
699
  function generateStorageFilePaths(portalSharingUrl, storageItemId, resourceFilenames = [], storageVersion = 0) {
692
- return resourceFilenames.map((resourceFilename) => {
700
+ return resourceFilenames.map(resourceFilename => {
693
701
  return {
694
702
  url: generateSourceResourceUrl(portalSharingUrl, storageItemId, resourceFilename),
695
- ...convertStorageResourceToItemResource(resourceFilename, storageVersion),
703
+ ...convertStorageResourceToItemResource(resourceFilename, storageVersion)
696
704
  };
697
705
  });
698
706
  }
@@ -701,7 +709,8 @@ function isSupportedFileType(filename) {
701
709
  // .svgz, .geodatabase (https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm)
702
710
  const filenameExtension = filename.match(/\.([a-z]+)$/i);
703
711
  const supportedExtensions = "|.json|.xml|.txt|.png|.pbf|.zip|.jpeg|.jpg|.gif|.bmp|.gz|.svg|.svgz|.geodatabase|";
704
- return !!filenameExtension && supportedExtensions.indexOf("|" + filenameExtension[0] + "|") >= 0;
712
+ return (!!filenameExtension &&
713
+ supportedExtensions.indexOf("|" + filenameExtension[0] + "|") >= 0);
705
714
  }
706
715
  /**
707
716
  * Gets the thumbnail of an item or group.
@@ -713,7 +722,7 @@ function isSupportedFileType(filename) {
713
722
  function getThumbnailFromStorageItem(authentication, filePaths) {
714
723
  let thumbnailUrl;
715
724
  let thumbnailFilename;
716
- filePaths.forEach((path) => {
725
+ filePaths.forEach(path => {
717
726
  if (path.type === EFileType.Thumbnail) {
718
727
  thumbnailUrl = path.url;
719
728
  thumbnailFilename = path.filename;
@@ -736,7 +745,7 @@ function removeItemResourceFile(itemId, filename, authentication) {
736
745
  return removeItemResource({
737
746
  id: itemId,
738
747
  resource: filename,
739
- authentication: authentication,
748
+ authentication: authentication
740
749
  });
741
750
  }
742
751
  /**
@@ -751,16 +760,14 @@ function removeItemResourceFile(itemId, filename, authentication) {
751
760
  function updateItemResourceFile(itemId, filename, resource, authentication) {
752
761
  // Prefix has to be specified separately
753
762
  const prefixedFilenameParts = filename.split("/");
754
- const prefix = prefixedFilenameParts.length > 1
755
- ? prefixedFilenameParts.slice(0, prefixedFilenameParts.length - 1).join("/")
756
- : undefined;
763
+ const prefix = prefixedFilenameParts.length > 1 ? prefixedFilenameParts.slice(0, prefixedFilenameParts.length - 1).join("/") : undefined;
757
764
  const suffix = prefixedFilenameParts[prefixedFilenameParts.length - 1];
758
765
  return updateItemResource({
759
766
  id: itemId,
760
767
  prefix: prefix,
761
768
  name: suffix,
762
769
  resource,
763
- authentication: authentication,
770
+ authentication: authentication
764
771
  });
765
772
  }
766
773
 
@@ -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-e3f04fa1.js';
7
- import { l as loadModules, g as getLocaleComponentStrings } from './locale-e758c2ee.js';
8
- import './esri-loader-781d738a.js';
7
+ import { l as loadModules, g as getLocaleComponentStrings } from './locale-7162b55a.js';
8
+ import './esri-loader-c6842c6b.js';
9
9
  import './_commonjsHelpers-089957fe.js';
10
10
 
11
11
  const basemapGalleryCss = ":host{display:block}";
@@ -4,11 +4,11 @@
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-e3f04fa1.js';
7
- import { l as loadModules, g as getLocaleComponentStrings } from './locale-e758c2ee.js';
7
+ import { l as loadModules, g as getLocaleComponentStrings } from './locale-7162b55a.js';
8
8
  import { z as setRequestedIcon } from './dom-adaa346d.js';
9
9
  import { f as EDrawMode } from './interfaces-659e3836.js';
10
10
  import { s as state } from './publicNotificationStore-065c7136.js';
11
- import './esri-loader-781d738a.js';
11
+ import './esri-loader-c6842c6b.js';
12
12
  import './_commonjsHelpers-089957fe.js';
13
13
  import './guid-58589598.js';
14
14
  import './resources-60c8dbbc.js';
@@ -11,13 +11,13 @@ import { c as connectLocalized, d as disconnectLocalized } from './locale-f6556a
11
11
  import { u as updateMessages, c as connectMessages, d as disconnectMessages, s as setUpMessages } from './t9n-22159fb9.js';
12
12
  import { t as toggleChildActionText, E as ExpandToggle } from './ExpandToggle-c0a054bb.js';
13
13
  import { c as createObserver } from './observers-2621ada9.js';
14
- import { l as loadModules } from './loadModules-9c062d08.js';
14
+ import { l as loadModules } from './loadModules-03ba7abe.js';
15
15
  import './guid-58589598.js';
16
16
  import './resources-60c8dbbc.js';
17
17
  import './key-bc256b99.js';
18
18
  import './resources-a8d8cbdc.js';
19
19
  import './resources-9d98edf6.js';
20
- import './esri-loader-781d738a.js';
20
+ import './esri-loader-c6842c6b.js';
21
21
  import './_commonjsHelpers-089957fe.js';
22
22
 
23
23
  /*!
@@ -11,19 +11,19 @@ import { N as NumberStringFormat, c as connectLocalized, d as disconnectLocalize
11
11
  import { o as onToggleOpenCloseComponent } from './openCloseComponent-d0d2a68b.js';
12
12
  import { c as connectMessages, s as setUpMessages, d as disconnectMessages, u as updateMessages } from './t9n-22159fb9.js';
13
13
  import { K as KindIcons } from './resources-abb95649.js';
14
- import { g as getLocaleComponentStrings, l as loadModules } from './locale-e758c2ee.js';
14
+ import { g as getLocaleComponentStrings, l as loadModules } from './locale-7162b55a.js';
15
15
  import { a as getAllLayers } from './mapViewUtils-3e3d33ea.js';
16
- import { P as PopupUtils } from './popupUtils-9b2b0aba.js';
16
+ import { P as PopupUtils } from './popupUtils-44f11275.js';
17
17
  import './guid-58589598.js';
18
18
  import './resources-60c8dbbc.js';
19
19
  import './key-bc256b99.js';
20
20
  import './observers-2621ada9.js';
21
- import './esri-loader-781d738a.js';
21
+ import './esri-loader-c6842c6b.js';
22
22
  import './_commonjsHelpers-089957fe.js';
23
23
  import './interfaces-659e3836.js';
24
- import './downloadUtils-abb8cda2.js';
25
- import './solution-resource-966f8511.js';
26
- import './restHelpersGet-788d7f7b.js';
24
+ import './downloadUtils-16c51b10.js';
25
+ import './solution-resource-ab63a236.js';
26
+ import './restHelpersGet-0a15c2f4.js';
27
27
 
28
28
  /*!
29
29
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
@@ -502,6 +502,7 @@ const EditCard = class {
502
502
  this.closeEdit = createEvent(this, "closeEdit", 7);
503
503
  this.editsComplete = createEvent(this, "editsComplete", 7);
504
504
  this.refreshGraphics = createEvent(this, "refreshGraphics", 7);
505
+ this.enableEditGeometry = false;
505
506
  this.graphics = undefined;
506
507
  this.mapView = undefined;
507
508
  this.open = false;
@@ -666,7 +667,7 @@ const EditCard = class {
666
667
  !this.graphics[0].layer.editingEnabled : true;
667
668
  const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
668
669
  const loadingClass = this._editorLoading ? "" : "display-none";
669
- return (h(Host, { key: '80acdd7d9b9441be28664ab60b7ad5d19c633bdd' }, h("div", { key: 'c8e41f2f7f3d5fcc4f49dd42b1f530c9e422cc8a', class: "position-absolute" }, editDisabled ? (h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, h("div", { key: '4b93fef902254d2a55e997bccdb4e16ee67c3c75', class: "position-absolute" }, h("div", { key: '1794c5c246ab90b2915a15a15077ae7d82ec567c', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: '001162f8ae947cae915de33c16a116efd7795f75', class: loadingClass, label: "", scale: "s" })))));
670
+ return (h(Host, { key: '5f81ea077d226b6bccf489c0628bf425df078d3a' }, h("div", { key: 'b66be8fe337bdedfe55d5897d044e5d2f6741c7e', class: "position-absolute" }, editDisabled ? (h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, h("div", { key: '58c7c0ff41141280c69d6477b3699bc6960b7a0a', class: "position-absolute" }, h("div", { key: '6b853f84699c0dcbeb867c13b7cd84f6316d87a9', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: '2a30bcd6e2fad7f65d16b167cf9d1cdc7549ca01', class: loadingClass, label: "", scale: "s" })))));
670
671
  }
671
672
  //--------------------------------------------------------------------------
672
673
  //
@@ -699,7 +700,7 @@ const EditCard = class {
699
700
  const layerInfos = layers.map(layer => {
700
701
  return {
701
702
  layer,
702
- geometryUpdatesEnabled: false
703
+ geometryUpdatesEnabled: this.enableEditGeometry
703
704
  };
704
705
  });
705
706
  this._editor = new this.Editor({
@@ -785,6 +786,7 @@ const InfoCard = class {
785
786
  registerInstance(this, hostRef);
786
787
  this.popupClosed = createEvent(this, "popupClosed", 7);
787
788
  this.selectionChanged = createEvent(this, "selectionChanged", 7);
789
+ this.enableEditGeometry = false;
788
790
  this.graphics = undefined;
789
791
  this.isLoading = false;
790
792
  this.isMobile = undefined;
@@ -987,8 +989,8 @@ const InfoCard = class {
987
989
  const id = this._features?.selectedFeature?.getObjectId();
988
990
  const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
989
991
  const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
990
- return (h(Host, { key: 'ac9c78b064154a666a50e7e8540f13bd541c4d37' }, h("calcite-shell", { key: 'e12b6fd8ac5f92282899edceb5818764fb543301', style: { position: this.position } }, this._getHeader(), h("calcite-loader", { key: 'e73db3c6f71cddf497cb20e1f59e9f1d8b1ecdd6', class: loadingClass, label: this._translations.fetchingData }), h("div", { key: 'ab1913d90206219978d425a45f312da3e73bcca8', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), h("div", { key: '67242dfb2b219e71a135c88d9d5e2fd40b083226', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
991
- h("div", { key: '25ee3d9374a5ce97c4fcd672b1f78315d1294719', class: "display-flex top-border padding-1-2" }, h("calcite-button", { key: '840e3b4ae075fbfd7836f2757128e2cfe9f267e3', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, onEditsComplete: () => this._closePopup() })) : undefined, h("calcite-tooltip", { key: '747436c3815e94976c2838777a26185c9cb7ab28', placement: "bottom", "reference-element": "solutions-edit" }, h("span", { key: 'd40dbe85eddaf99acc522f305960ce59c16a8b1f' }, this._translations.edit)), this.isMobile ? (h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && h("div", { key: '9a1b1e5d7e4432f6b2cd80f77a49f50b1910117f', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, h("div", { key: '9b6fd66023b514ff996107ade3af93415f1353f1' }, h("calcite-button", { key: '823bcbe1a3b592344972e6ef39fd5088ab6197fa', appearance: 'transparent', disabled: nextBackDisabled, iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), h("calcite-tooltip", { key: 'f547487c9eae179e0c65015a24432c936de2ceca', placement: "top", "reference-element": "solutions-back" }, h("span", { key: 'f6f352416103008acc20238efe7e7714fca8d05e' }, this._translations.back))), h("calcite-action", { key: '799e06b8af5df338b920ddc578fa349de469e786', class: 'pagination-action', onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, h("span", { key: 'adee5b6b5149dbb4c1d6136c1314db89a04e8913', class: "pagination-count" }, this._count)), h("div", { key: '87f181c53ad1806a9831d01b54fdd51434a5a4c2' }, h("calcite-button", { key: 'a4612a6f0d9b6a9412e60022599cba536cd4f623', appearance: "transparent", disabled: nextBackDisabled, iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), h("calcite-tooltip", { key: '613849a34a568fe8df2abe8b1813070cb7a54633', placement: "top", "reference-element": "solutions-next" }, h("span", { key: '35a2e621ce4b3bccb2b859e961db1065d619b2d9' }, this._translations.next))))), h("edit-card", { key: 'a2054fc21fc09dbffc47e1a7617a4b91b29d26fd', class: editClass, graphicIndex: this._features?.selectedFeatureIndex, graphics: this.graphics, mapView: this.mapView, open: this._editRecordOpen }), h("calcite-alert", { key: 'ec0fd6540b21987c80fe2035efa96d197c1e6cec', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { key: '721a363423ec61a9645b003a7d53849137fe1b82', slot: "title" }, this._translations.editDisabled), h("div", { key: '143e9ff06f5363682e8b9e1976fdbfdd1b56f2a9', slot: "message" }, this._translations.enableEditing)))));
992
+ return (h(Host, { key: '2d0ebbf98b0d7e6f391d875258effbc6d4dc72f5' }, h("calcite-shell", { key: '260ac176bd21e9012f34ba66e27cd7a4ec1e7ff0', style: { position: this.position } }, this._getHeader(), h("calcite-loader", { key: 'f72c7fe39f646655f8ee71ac7d336aaf7dd3afbd', class: loadingClass, label: this._translations.fetchingData }), h("div", { key: '43933c437a046a6505e121e43736aac92382effa', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), h("div", { key: '4433d5975b6d25dc77932f99b2b7aa9d3ade77e8', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
993
+ h("div", { key: 'da7610d89193e5594429d26b805ba44ec064904f', class: "display-flex top-border padding-1-2" }, h("calcite-button", { key: 'dc22d8cf61f07085e011b45636e8f4950912e5b3', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, onEditsComplete: () => this._closePopup() })) : undefined, h("calcite-tooltip", { key: '1ee8d69384f85258ed10946206e42634798a700b', placement: "bottom", "reference-element": "solutions-edit" }, h("span", { key: '3b8b822a40ef6932aa3ad34c8e05bb758be7aff8' }, this._translations.edit)), this.isMobile ? (h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && h("div", { key: '172bddeb6f0f1d73dbd563e3b244c311ec4904fe', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, h("div", { key: '66059747f9aad9fabd26a9d7a88e4cac762e096d' }, h("calcite-button", { key: '05b36ba1d5539a16eef53e35cc88eb5134c45104', appearance: 'transparent', disabled: nextBackDisabled, iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), h("calcite-tooltip", { key: '2736e0047665272cede16b1e3b1d94495075d310', placement: "top", "reference-element": "solutions-back" }, h("span", { key: '7c40eae302564f5bcd7a10471481a65c16be9ee5' }, this._translations.back))), h("calcite-action", { key: '873d07e0ecbf456f4010c80c23baaae3f0ce6335', class: 'pagination-action', onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, h("span", { key: '49dabbcabc8fb64c5cd0581f826c9570270d3ce9', class: "pagination-count" }, this._count)), h("div", { key: '570df27fa721c4cb62c9bd77d7197c830410e387' }, h("calcite-button", { key: '6bd9010b943216af756558e8f062b475d138ee49', appearance: "transparent", disabled: nextBackDisabled, iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), h("calcite-tooltip", { key: '1ee755e1694d3d4b8d6d5417056e5f287de26912', placement: "top", "reference-element": "solutions-next" }, h("span", { key: 'a59e478daa0de11a3e81c22fa61069fdb77a680c' }, this._translations.next))))), h("edit-card", { key: '7f231459e65132658f08338ca67782d1584c761d', class: editClass, enableEditGeometry: this.enableEditGeometry, graphicIndex: this._features?.selectedFeatureIndex, graphics: this.graphics, mapView: this.mapView, open: this._editRecordOpen }), h("calcite-alert", { key: '76b7c28eea68cb73549e563afcdeab5f4ecc44b8', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { key: '5d6456ce4bc64dc074b238bdf38f05436c1d0ebc', slot: "title" }, this._translations.editDisabled), h("div", { key: 'cf8ebf5e8d2277fb815afdc12ae5f9e37312b2c5', slot: "message" }, this._translations.enableEditing)))));
992
994
  }
993
995
  //--------------------------------------------------------------------------
994
996
  //
@@ -22,17 +22,17 @@ import { g as guid } from './guid-58589598.js';
22
22
  import { g as getIconScale } from './component-ea2e5ffe.js';
23
23
  import { V as Validation } from './Validation-ee7ac6f8.js';
24
24
  import { s as syncHiddenFormInput } from './input-3466d6d7.js';
25
- import { l as loadModules } from './loadModules-9c062d08.js';
26
- import { g as getMessages } from './locale-35ebf4af.js';
25
+ import { l as loadModules } from './loadModules-03ba7abe.js';
26
+ import { g as getMessages } from './locale-adb5ff0b.js';
27
27
  import { g as getMode } from './mode-8c5f5dc9.js';
28
28
  import './observers-2621ada9.js';
29
29
  import './resources-60c8dbbc.js';
30
30
  import './browser-f1924ed5.js';
31
31
  import './debounce-6e9ade8c.js';
32
32
  import './config-2adddf83.js';
33
- import './esri-loader-781d738a.js';
33
+ import './esri-loader-c6842c6b.js';
34
34
  import './_commonjsHelpers-089957fe.js';
35
- import './languageUtil-a3e6adf6.js';
35
+ import './languageUtil-2b6e191a.js';
36
36
 
37
37
  /*!
38
38
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
@@ -6,10 +6,10 @@
6
6
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-e3f04fa1.js';
7
7
  import { c as createObserver } from './observers-2621ada9.js';
8
8
  import { C as CSS } from './resources-4cec0b1a.js';
9
- import { g as getLocaleComponentStrings } from './locale-e758c2ee.js';
9
+ import { g as getLocaleComponentStrings } from './locale-7162b55a.js';
10
10
  import { d as getMapLayerHash, p as getMapTableHash } from './mapViewUtils-3e3d33ea.js';
11
11
  import { s as state } from './publicNotificationStore-065c7136.js';
12
- import './esri-loader-781d738a.js';
12
+ import './esri-loader-c6842c6b.js';
13
13
  import './_commonjsHelpers-089957fe.js';
14
14
  import './interfaces-659e3836.js';
15
15
  import './index-1dc14abf.js';
@@ -11,13 +11,13 @@ import { c as connectInteractive, u as updateHostInteraction, d as disconnectInt
11
11
  import { c as connectLocalized, d as disconnectLocalized } from './locale-f6556a2c.js';
12
12
  import { c as connectMessages, s as setUpMessages, d as disconnectMessages, u as updateMessages } from './t9n-22159fb9.js';
13
13
  import { S as SLOTS$1 } from './resources-574c2851.js';
14
- import { l as loadModules, f as formatNumber, g as getLocaleComponentStrings } from './locale-e758c2ee.js';
14
+ import { l as loadModules, f as formatNumber, g as getLocaleComponentStrings } from './locale-7162b55a.js';
15
15
  import { a as getAllLayers, g as getLayerOrTable, b as getAllTables, d as getMapLayerHash } from './mapViewUtils-3e3d33ea.js';
16
16
  import './guid-58589598.js';
17
17
  import './resources-60c8dbbc.js';
18
18
  import './browser-f1924ed5.js';
19
19
  import './key-bc256b99.js';
20
- import './esri-loader-781d738a.js';
20
+ import './esri-loader-c6842c6b.js';
21
21
  import './_commonjsHelpers-089957fe.js';
22
22
  import './interfaces-659e3836.js';
23
23
 
@@ -20,19 +20,19 @@ import { q as getItemIndex, m as mutationObserverCallback, d as deselectRemovedI
20
20
  import { d as disconnectSortableComponent, c as connectSortableComponent } from './sortableComponent-065a4e74.js';
21
21
  import { C as CSS$5, S as SLOTS$3 } from './resources-7b48e8fd.js';
22
22
  import { I as ICON_TYPES$1 } from './resources-c48f3e92.js';
23
- import { g as getLocaleComponentStrings } from './locale-e758c2ee.js';
24
- import { s as state } from './solution-store-0586e891.js';
23
+ import { g as getLocaleComponentStrings } from './locale-7162b55a.js';
24
+ import { s as state } from './solution-store-e2690620.js';
25
25
  import { d as EUpdateType } from './interfaces-659e3836.js';
26
- import { E as EFileType } from './solution-resource-966f8511.js';
26
+ import { E as EFileType } from './solution-resource-ab63a236.js';
27
27
  import './key-bc256b99.js';
28
28
  import './browser-f1924ed5.js';
29
29
  import './array-17cb1195.js';
30
30
  import './resources-4a2ba5b1.js';
31
31
  import './debounce-6e9ade8c.js';
32
- import './esri-loader-781d738a.js';
32
+ import './esri-loader-c6842c6b.js';
33
33
  import './_commonjsHelpers-089957fe.js';
34
34
  import './index-1dc14abf.js';
35
- import './restHelpersGet-788d7f7b.js';
35
+ import './restHelpersGet-0a15c2f4.js';
36
36
 
37
37
  /*!
38
38
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.