@esri/solutions-components 0.10.2 → 0.10.4

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -119,7 +119,7 @@ export class RefineSelection {
119
119
  */
120
120
  render() {
121
121
  const layerPickerClass = this._enabledLayerIds.length > 1 ? "display-block" : "display-none";
122
- return (h(Host, { key: '5bd1d6b85fc43ca4bfdffefd6a19bbbbd37cc13e' }, h("div", { key: '48312843133e3ece11ac8882aad91a570d809472', class: layerPickerClass + " padding-top-sides-1" }, h("div", { key: 'dea13cbbe64fff8dc6dff1ea4816229ba04c6b51', class: "display-flex" }, h("calcite-label", { key: '8184e95f8777e72e826d773aa212a32383983a51', class: "font-bold width-full label-margin-0" }, h("div", { key: 'b59989cfe2676fa520e7d2e23dd178425802536e', class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { key: '05cdb91b52893a36988aee0c15af4aabded7bb1b', class: "padding-start-1-2 icon", flipRtl: !(this.locale.toLowerCase() === "he"), icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { key: 'c1bc3c6aba428a55b21be6ac5fedbdee881aaa2f', enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedIds: [this._refineLayer.layer.id], showTables: false })), h("calcite-popover", { key: 'b3d82ec6d85749b4975d4c9ba35855f5dd142413', closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { key: '191e9702e37240472bbe0deda359c4dd1ca03c17', class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { key: '30bda6820fced55494db4d6ced4dee1ff20266bf', class: "padding-1" }, h("div", { key: '67ec4b94cd37dfe80700c8053fb505170f872fdf', class: "padding-bottom-1" }, h("calcite-segmented-control", { key: '707b7e1d20d65abec22727ae3750dd52aa542048', class: "w-100", width: "full" }, h("calcite-segmented-control-item", { key: '82e70596aeb5a58d9b04eb5cafd92a4251480bad', checked: this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, h("span", { key: '1cd4fba950d8590ec9af113f0eec2a6d29413f9b', class: "font-weight-500" }, this._translations.add)), h("calcite-segmented-control-item", { key: 'cff45118e731b3bcd5812752919f5fed1b8d8f0e', checked: !this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, h("span", { key: 'fb603c594f7d71944bf46c11e4aa5f0ae547b560', class: "font-weight-500" }, this._translations.remove)))), h("div", { key: 'aeb9755c6e854c97045978aa1ea3ec1a32365351' }, h("map-draw-tools", { key: '2c4c973d3de9b36c07973f7250dd91e7aab833eb', active: true, drawMode: EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: this._refineSelectionSet?.redoStack.length > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: this._refineSelectionSet?.undoStack.length > 0 })), h("br", { key: 'dd122d761bcc924c7bcaad95342398414674e2a8' }), (h("calcite-list", { key: '49986cdfdd61369adf348beaef1a49fdd87c38b9', class: "list-border" }, this._getRefineSelectionSetList())))));
122
+ return (h(Host, { key: '5bd1d6b85fc43ca4bfdffefd6a19bbbbd37cc13e' }, h("div", { key: '48312843133e3ece11ac8882aad91a570d809472', class: layerPickerClass + " padding-top-sides-1" }, h("div", { key: 'dea13cbbe64fff8dc6dff1ea4816229ba04c6b51', class: "display-flex" }, h("calcite-label", { key: '8184e95f8777e72e826d773aa212a32383983a51', class: "font-bold width-full label-margin-0" }, h("div", { key: 'b59989cfe2676fa520e7d2e23dd178425802536e', class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { key: '0cdbf4745da0953434024c49a8fbc52a686e876a', class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { key: '1d62e84b9fa0fa6ac0416ecf22a52a8b72eb7529', enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedIds: [this._refineLayer.layer.id], showTables: false })), h("calcite-popover", { key: 'ed39858d71e1b4f128eed508e1a7fc71c5112b75', closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { key: '1c0a8e1b9a9e77b097a9e676c06c8cbc1ce4b235', class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { key: 'eceb792f9deb9cbe346173337ec254faacd3036d', class: "padding-1" }, h("div", { key: 'd172826cc5e6a206bde83fa0fed5c46fbf0422ec', class: "padding-bottom-1" }, h("calcite-segmented-control", { key: '096245916589f8486ed5f78f035a090c43749feb', class: "w-100", width: "full" }, h("calcite-segmented-control-item", { key: 'd0e5f7c7256e14421167cc9af90707d6d0457c01', checked: this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, h("span", { key: 'c5764bbb451659757c9f8fb84263255c50114e9c', class: "font-weight-500" }, this._translations.add)), h("calcite-segmented-control-item", { key: '6d1ffc481926f70176e5db3debb71daf6d782e97', checked: !this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, h("span", { key: 'aa3a9d97ebcf7553729858628164a5cdbb4ab5a6', class: "font-weight-500" }, this._translations.remove)))), h("div", { key: '7d366f2bb9d91696915e6bb5aa7872c8e13c0f4b' }, h("map-draw-tools", { key: '973fc2dfe9a3bb941e1257862ee6bf478dab6963', active: true, drawMode: EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: this._refineSelectionSet?.redoStack.length > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: this._refineSelectionSet?.undoStack.length > 0 })), h("br", { key: 'fb6fb3c198ad97e157a3f08df1283e20928f17fd' }), (h("calcite-list", { key: 'fb32a7abec8c89d2d2073fbe741e18daba37eb6f', class: "list-border" }, this._getRefineSelectionSetList())))));
123
123
  }
124
124
  //--------------------------------------------------------------------------
125
125
  //
@@ -473,6 +473,9 @@ export interface IMapInfo {
473
473
  _hasValidLayers?: boolean;
474
474
  visible?: boolean;
475
475
  layerOptions?: ILayerOptions;
476
+ enableInlineEdit: boolean;
477
+ enableCreateFeatures: boolean;
478
+ enableEditGeometry: boolean;
476
479
  }
477
480
 
478
481
  export interface ILayerOptions {
@@ -52,7 +52,7 @@ async function downloadPDFFile(filename, labels, labelPageDescription, title = "
52
52
  const pdfLib = new PDFCreator_jsPDF.PDFCreator_jsPDF();
53
53
  await pdfLib.initialize({
54
54
  pageType: "ANSI_A"
55
- }, getAssetPath(`../assets/arcgis-pdf-creator/`), "en", filename // filename without ".pdf"
55
+ }, getAssetPath(`../solutions-components/assets/arcgis-pdf-creator/`), "en", filename // filename without ".pdf"
56
56
  );
57
57
  const labeller = new PDFLabels.PDFLabels();
58
58
  await labeller.initialize(pdfLib);
@@ -68,7 +68,7 @@ async function downloadPDFFile(
68
68
  {
69
69
  pageType: "ANSI_A"
70
70
  },
71
- getAssetPath(`../assets/arcgis-pdf-creator/`),
71
+ getAssetPath(`../solutions-components/assets/arcgis-pdf-creator/`),
72
72
  "en",
73
73
  filename // filename without ".pdf"
74
74
  )
@@ -32,6 +32,7 @@ const CardManager = /*@__PURE__*/ proxyCustomElement(class CardManager extends H
32
32
  constructor() {
33
33
  super();
34
34
  this.__registerHost();
35
+ this.enableEditGeometry = false;
35
36
  this.isMobile = undefined;
36
37
  this.layer = undefined;
37
38
  this.mapView = undefined;
@@ -94,7 +95,7 @@ const CardManager = /*@__PURE__*/ proxyCustomElement(class CardManager extends H
94
95
  render() {
95
96
  const featuresClass = this._graphics?.length > 0 ? "" : "display-none";
96
97
  const messageClass = this._graphics?.length > 0 ? "display-none" : "";
97
- return (h(Host, { key: '343554e5408de156f1973f6d1e3daa8f1ba90675' }, h("div", { key: '1852562a795002314236052351cab7c29d36854e', class: "overflow-auto height-full" }, h("calcite-shell", { key: '684f013e4397bc50743526357384f782a88a5cd3', class: "position-relative " + featuresClass }, h("div", { key: 'db6d9f4be5448b5596b22f2a4f49c6baefa88466' }, h("info-card", { key: 'be5cec81cae7ca00a5b57c8d9590541f78b67fbd', graphics: this._graphics, isLoading: this._cardLoading, isMobile: this.isMobile, mapView: this.mapView }))), h("calcite-shell", { key: 'df34e0ae6978298130970c60d21203f52fa32e4b', class: "position-relative " + messageClass }, h("div", { key: '9525a95dd21745e211ebf888da44eca6a6c17721', class: "padding-1" }, h("calcite-notice", { key: 'ade0e0a2f09bbe7b7bda6fdb2ce65ba81121e633', icon: "table", open: true }, h("div", { key: 'd6fce2d657e23738720e004177c510c3273017f4', slot: "message" }, this._translations.selectFeaturesToStart)))))));
98
+ return (h(Host, { key: 'ff2b82f23cc912a79d4f2d04a3263215e54ff03d' }, h("div", { key: '64a96d7162508794b955dc4b557fa94d18f8ab53', class: "overflow-auto height-full" }, h("calcite-shell", { key: '77b8ad0b9a459d2fb9399ccfebc6d0211147bb01', class: "position-relative " + featuresClass }, h("div", { key: 'e0725835f5c1c32a9164e04d6321ba5853a3892c' }, h("info-card", { key: '6712a077c4746585e7b2474aedd14e1869b37c34', enableEditGeometry: this.enableEditGeometry, graphics: this._graphics, isLoading: this._cardLoading, isMobile: this.isMobile, mapView: this.mapView }))), h("calcite-shell", { key: '38c85dbb72df9b9b1225f1488c3bf384f67d7db4', class: "position-relative " + messageClass }, h("div", { key: '66386d1a0d19fb4a023515e5dc4b41ac73a8c257', class: "padding-1" }, h("calcite-notice", { key: '12a843bede7b688651b436bcb9b7ad9e7f6217e0', icon: "table", open: true }, h("div", { key: '28862f4aa25802ca6b2bdc0ef2af3bcb825267f9', slot: "message" }, this._translations.selectFeaturesToStart)))))));
98
99
  }
99
100
  //--------------------------------------------------------------------------
100
101
  //
@@ -113,6 +114,7 @@ const CardManager = /*@__PURE__*/ proxyCustomElement(class CardManager extends H
113
114
  }
114
115
  static get style() { return CardManagerStyle0; }
115
116
  }, [0, "card-manager", {
117
+ "enableEditGeometry": [4, "enable-edit-geometry"],
116
118
  "isMobile": [4, "is-mobile"],
117
119
  "layer": [16],
118
120
  "mapView": [16],
@@ -92,7 +92,6 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
92
92
  this.enableFloorFilter = true;
93
93
  this.enableFullscreen = true;
94
94
  this.enableHome = true;
95
- this.enableInlineEdit = false;
96
95
  this.enableLegend = true;
97
96
  this.enableSearch = true;
98
97
  this.enableShare = false;
@@ -281,7 +280,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
281
280
  render() {
282
281
  // only avoid border when we have a header color that is not white
283
282
  const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
284
- return (h(Host, { key: 'b11285fd599a3fb8787f0dbe945f550d7fd91168' }, h("calcite-shell", { key: '4f22fe896b96640f39a319f4c52f943bf558fb9a', class: "position-relative" }, h("calcite-panel", { key: '4bbaddea44543ec3b479b8f4c1c0cae390c939c2', class: `width-full height-full ${borderClass}` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
283
+ return (h(Host, { key: '711376ac0d4b633b63c4c94b87f98255c3562dc1' }, h("calcite-shell", { key: 'b78e8febbbf55e0e61817c04c4838095a5de6ebe', class: "position-relative" }, h("calcite-panel", { key: '8e53369a82e75cbea09e6d4edd42f1e09954277b', class: `width-full height-full ${borderClass}` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
285
284
  }
286
285
  /**
287
286
  * Called after each render
@@ -485,7 +484,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
485
484
  _getCardNode() {
486
485
  const cardManagerHeight = !this._expandPopup && !this._isMobile ? "height-50" : "height-full";
487
486
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
488
- return (h("div", { class: `width-50 height-full ${themeClass}` }, h("card-manager", { class: `${cardManagerHeight} width-full`, isMobile: this._isMobile, mapView: this?._mapView, zoomAndScrollToSelected: this.zoomAndScrollToSelected })));
487
+ return (h("div", { class: `width-50 height-full ${themeClass}` }, h("card-manager", { class: `${cardManagerHeight} width-full`, enableEditGeometry: this?._mapInfo?.enableEditGeometry, isMobile: this._isMobile, mapView: this?._mapView, zoomAndScrollToSelected: this.zoomAndScrollToSelected })));
489
488
  }
490
489
  /**
491
490
  * Get the table node based for the current layout
@@ -509,7 +508,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
509
508
  this.defaultGlobalId?.indexOf(",") > -1 ? this.defaultGlobalId.split(",") : [this.defaultGlobalId];
510
509
  const defaultOid = !this.defaultOid ? undefined :
511
510
  this.defaultOid?.indexOf(",") > -1 ? this.defaultOid.split(",").map(o => parseInt(o, 10)) : [parseInt(this.defaultOid, 10)];
512
- return (h("calcite-shell", { class: `${tableSizeClass} ${tableClass} border-bottom` }, !this._isMobile ? (h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), text: "" }), h("calcite-tooltip", { label: tooltip, placement: "bottom", "reference-element": id }, h("span", null, tooltip)))) : undefined, h("div", { class: `width-full height-full position-relative` }, h("layer-table", { defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this.enableInlineEdit, enableShare: this.enableShare, isMobile: this._isMobile, mapHidden: this._expandPopup, mapInfo: this._mapInfo, mapView: this?._mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._layerTable = el, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected, zoomToScale: this.zoomToScale }))));
511
+ return (h("calcite-shell", { class: `${tableSizeClass} ${tableClass} border-bottom` }, !this._isMobile ? (h("calcite-action-bar", { class: "border-sides", expandDisabled: true, layout: toggleLayout, slot: toggleSlot }, h("calcite-action", { class: "toggle-node", icon: icon, id: id, onClick: () => this._toggleLayout(), text: "" }), h("calcite-tooltip", { label: tooltip, placement: "bottom", "reference-element": id }, h("span", null, tooltip)))) : undefined, h("div", { class: `width-full height-full position-relative` }, h("layer-table", { defaultGlobalId: hasMapAndLayer ? globalId : undefined, defaultLayerId: hasMapAndLayer ? this.defaultLayer : "", defaultOid: hasMapAndLayer && !globalId ? defaultOid : undefined, enableAutoRefresh: this.enableAutoRefresh, enableCSV: this.enableCSV, enableColumnReorder: this.enableColumnReorder, enableInlineEdit: this?._mapInfo?.enableInlineEdit, enableShare: this.enableShare, isMobile: this._isMobile, mapHidden: this._expandPopup, mapInfo: this._mapInfo, mapView: this?._mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, ref: (el) => this._layerTable = el, shareIncludeEmbed: this.shareIncludeEmbed, shareIncludeSocial: this.shareIncludeSocial, showNewestFirst: this.showNewestFirst, zoomAndScrollToSelected: this.zoomAndScrollToSelected, zoomToScale: this.zoomToScale }))));
513
512
  }
514
513
  /**
515
514
  * Update the component layout when its size changes
@@ -633,7 +632,6 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
633
632
  "enableFloorFilter": [4, "enable-floor-filter"],
634
633
  "enableFullscreen": [4, "enable-fullscreen"],
635
634
  "enableHome": [4, "enable-home"],
636
- "enableInlineEdit": [4, "enable-inline-edit"],
637
635
  "enableLegend": [4, "enable-legend"],
638
636
  "enableSearch": [4, "enable-search"],
639
637
  "enableShare": [4, "enable-share"],
@@ -2211,7 +2211,7 @@ async function downloadPDFFile(filename, labels, labelPageDescription, title = "
2211
2211
  const pdfLib = new PDFCreator_jsPDF();
2212
2212
  await pdfLib.initialize({
2213
2213
  pageType: "ANSI_A"
2214
- }, getAssetPath(`../assets/arcgis-pdf-creator/`), "en", filename // filename without ".pdf"
2214
+ }, getAssetPath(`../solutions-components/assets/arcgis-pdf-creator/`), "en", filename // filename without ".pdf"
2215
2215
  );
2216
2216
  const labeller = new PDFLabels();
2217
2217
  await labeller.initialize(pdfLib);
@@ -21,6 +21,7 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
21
21
  this.closeEdit = createEvent(this, "closeEdit", 7);
22
22
  this.editsComplete = createEvent(this, "editsComplete", 7);
23
23
  this.refreshGraphics = createEvent(this, "refreshGraphics", 7);
24
+ this.enableEditGeometry = false;
24
25
  this.graphics = undefined;
25
26
  this.mapView = undefined;
26
27
  this.open = false;
@@ -185,7 +186,7 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
185
186
  !this.graphics[0].layer.editingEnabled : true;
186
187
  const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
187
188
  const loadingClass = this._editorLoading ? "" : "display-none";
188
- 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" })))));
189
+ 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" })))));
189
190
  }
190
191
  //--------------------------------------------------------------------------
191
192
  //
@@ -218,7 +219,7 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
218
219
  const layerInfos = layers.map(layer => {
219
220
  return {
220
221
  layer,
221
- geometryUpdatesEnabled: false
222
+ geometryUpdatesEnabled: this.enableEditGeometry
222
223
  };
223
224
  });
224
225
  this._editor = new this.Editor({
@@ -295,6 +296,7 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
295
296
  }; }
296
297
  static get style() { return EditCardStyle0; }
297
298
  }, [0, "edit-card", {
299
+ "enableEditGeometry": [4, "enable-edit-geometry"],
298
300
  "graphics": [1040],
299
301
  "mapView": [16],
300
302
  "open": [1028],
@@ -33,6 +33,7 @@ const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLEle
33
33
  this.__registerHost();
34
34
  this.popupClosed = createEvent(this, "popupClosed", 7);
35
35
  this.selectionChanged = createEvent(this, "selectionChanged", 7);
36
+ this.enableEditGeometry = false;
36
37
  this.graphics = undefined;
37
38
  this.isLoading = false;
38
39
  this.isMobile = undefined;
@@ -235,8 +236,8 @@ const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLEle
235
236
  const id = this._features?.selectedFeature?.getObjectId();
236
237
  const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
237
238
  const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
238
- 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 &&
239
- 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)))));
239
+ 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 &&
240
+ 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)))));
240
241
  }
241
242
  //--------------------------------------------------------------------------
242
243
  //
@@ -409,6 +410,7 @@ const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLEle
409
410
  }; }
410
411
  static get style() { return InfoCardStyle0; }
411
412
  }, [0, "info-card", {
413
+ "enableEditGeometry": [4, "enable-edit-geometry"],
412
414
  "graphics": [16],
413
415
  "isLoading": [4, "is-loading"],
414
416
  "isMobile": [4, "is-mobile"],
@@ -48,6 +48,9 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
48
48
  this.bufferOutlineColor = [255, 255, 255];
49
49
  this.customLabelEnabled = undefined;
50
50
  this.enabledLayerIds = [];
51
+ this.enableLayerFeatures = true;
52
+ this.enableSearchDistance = true;
53
+ this.enableSketchTools = true;
51
54
  this.defaultBufferDistance = undefined;
52
55
  this.defaultBufferUnit = undefined;
53
56
  this.geometries = [];
@@ -235,9 +238,9 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
235
238
  id: this.isUpdate ? this.selectionSet.id : Date.now(),
236
239
  searchResult: this._searchResult,
237
240
  buffer: this._bufferGeometry,
238
- distance: this._bufferTools.distance,
241
+ distance: this._bufferTools?.distance,
239
242
  download: true,
240
- unit: this._bufferTools.unit,
243
+ unit: this._bufferTools?.unit,
241
244
  label: this._selectionLabel,
242
245
  selectedIds: this._selectedIds,
243
246
  layerView: this.selectLayerView,
@@ -303,7 +306,9 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
303
306
  * Renders the component.
304
307
  */
305
308
  render() {
306
- return (h(Host, { key: '99818f04f6080010d564269d79ebf5e43904214f' }, this._getMapLayerPicker(), h("div", { key: '1edcedfcfef21d9c8398ee84953439538bfab8c2', class: "border-bottom" }), h("div", { key: '4d37d5523d8333fd94acf31ba8d70be775176420', class: "padding-top-sides-1" }, h("div", { key: 'cf0143a8ff5eb8851ffb960202c003904604bb45', class: "search-widget", ref: (el) => { this._searchElement = el; } }), h("div", { key: 'd187c7f1485c05a9f41070f497888c700ef31867', class: "padding-top-1" }, h("map-draw-tools", { key: '416870b7e7f81614166b5381c3024af96a4cfe60', active: true, editGraphicsEnabled: !this._useLayerFeaturesEnabled, graphics: this._graphics, mapView: this.mapView, onSketchGraphicsChange: (evt) => void this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, ref: (el) => { this._drawTools = el; } })), this._getBufferOptions(), this._getUseLayerFeaturesOptions(), this._getNumSelected()), h("div", { key: '7e03cc8b0dce515e46e2701427e03d2f177092cc', class: "border-bottom" }), this._getNameInput()));
309
+ const mapToolsClass = this.enableSketchTools ? "" : "display-none";
310
+ const mapToolsContainerClass = this.enableSketchTools ? "padding-top-1" : "";
311
+ return (h(Host, { key: 'e6ac512fe773d0257844fcdd41afda5cd227b359' }, this._getMapLayerPicker(), h("div", { key: '3be4ed76db0d6899d984b0a2be85ebac6b7c29ae', class: "border-bottom" }), h("div", { key: 'b2a835c9096718742a54be522e1dc174d6f4da8f', class: "padding-top-sides-1" }, h("div", { key: '6133e6b951cde4504f8d19f747b4d7be5fe1d587', class: "search-widget", ref: (el) => { this._searchElement = el; } }), h("div", { key: '71636d8d7f9073315daae47d55746986c54f7596', class: mapToolsContainerClass }, h("map-draw-tools", { key: '4f8d3bc3953c4bd22837536c700eff959550f1e3', active: true, class: mapToolsClass, editGraphicsEnabled: !this._useLayerFeaturesEnabled, graphics: this._graphics, mapView: this.mapView, onSketchGraphicsChange: (evt) => void this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, ref: (el) => { this._drawTools = el; } })), this.enableSearchDistance ? this._getBufferOptions() : undefined, this.enableLayerFeatures ? this._getUseLayerFeaturesOptions() : undefined, this._getNumSelected()), h("div", { key: '4dbd38b3b88d776e8b30561841e0a288f23fc38b', class: "border-bottom" }), this._getNameInput()));
307
312
  }
308
313
  /**
309
314
  * Renders the buffer tools component.
@@ -311,14 +316,14 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
311
316
  _getBufferOptions() {
312
317
  const showBufferToolsClass = this._searchDistanceEnabled ? "search-distance" : "div-not-visible";
313
318
  const bufferDistance = typeof this.selectionSet?.distance === "number" ? this.selectionSet.distance : this.defaultBufferDistance;
314
- return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.searchDistance, h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale.toLowerCase() === "he"), icon: "question", id: "search-distance-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "search-distance-icon" }, h("span", { class: "tooltip-message" }, this._translations.useSearchDistanceTootip)), h("calcite-switch", { checked: this._searchDistanceEnabled, onCalciteSwitchChange: () => this._searchDistanceEnabled = !this._searchDistanceEnabled })), h("div", { class: showBufferToolsClass }, h("buffer-tools", { disabled: !this._searchDistanceEnabled, distance: bufferDistance, geometries: this.geometries, onBufferComplete: (evt) => void this._bufferComplete(evt), ref: (el) => this._bufferTools = el, unit: this.selectionSet?.unit || this.defaultBufferUnit }))));
319
+ return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.searchDistance, h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "search-distance-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "search-distance-icon" }, h("span", { class: "tooltip-message" }, this._translations.useSearchDistanceTootip)), h("calcite-switch", { checked: this._searchDistanceEnabled, onCalciteSwitchChange: () => this._searchDistanceEnabled = !this._searchDistanceEnabled })), h("div", { class: showBufferToolsClass }, h("buffer-tools", { disabled: !this._searchDistanceEnabled, distance: bufferDistance, geometries: this.geometries, onBufferComplete: (evt) => void this._bufferComplete(evt), ref: (el) => this._bufferTools = el, unit: this.selectionSet?.unit || this.defaultBufferUnit }))));
315
320
  }
316
321
  /**
317
322
  * Renders the map layer picker component.
318
323
  */
319
324
  _getUseLayerFeaturesOptions() {
320
325
  const useLayerFeaturesClass = this._useLayerFeaturesEnabled ? "div-visible" : "div-not-visible";
321
- return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.useLayerFeatures, h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale.toLowerCase() === "he"), icon: "question", id: "use-layer-features-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "use-layer-features-icon" }, h("span", { class: "tooltip-message" }, this._translations.useLayerFeaturesTooltip)), h("calcite-switch", { checked: this._useLayerFeaturesEnabled, onCalciteSwitchChange: () => { this._useLayerFeaturesEnabledChanged(); } })), h("div", { class: useLayerFeaturesClass + " padding-top-1" }, h("map-layer-picker", { enabledLayerIds: this.selectionLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedIds: this.layerViews.map(l => l.layer.id), showTables: false }))));
326
+ return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.useLayerFeatures, h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "use-layer-features-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "use-layer-features-icon" }, h("span", { class: "tooltip-message" }, this._translations.useLayerFeaturesTooltip)), h("calcite-switch", { checked: this._useLayerFeaturesEnabled, onCalciteSwitchChange: () => { this._useLayerFeaturesEnabledChanged(); } })), h("div", { class: useLayerFeaturesClass + " padding-top-1" }, h("map-layer-picker", { enabledLayerIds: this.selectionLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedIds: this.layerViews.map(l => l.layer.id), showTables: false }))));
322
327
  }
323
328
  /**
324
329
  * Renders the number of selected features
@@ -447,8 +452,12 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
447
452
  this._searchWidget.on("select-result", (searchResults) => {
448
453
  if (searchResults.result) {
449
454
  this._searchResult = searchResults.result;
450
- const useOIDs = searchResults.source?.layer?.id && searchResults.source.layer.id === this.selectLayerView.layer.id;
451
- const oids = useOIDs ? [searchResults.result.feature.getObjectId()] : undefined;
455
+ const resultFeature = searchResults.result.feature;
456
+ const resultLayer = resultFeature?.layer;
457
+ const selectLayer = this.selectLayerView.layer;
458
+ const oid = resultFeature?.getObjectId();
459
+ const useOIDs = resultLayer?.url && selectLayer?.url && resultLayer.url === selectLayer.url && !isNaN(oid);
460
+ const oids = useOIDs ? [oid] : undefined;
452
461
  this._workflowType = EWorkflowType.SEARCH;
453
462
  void this._updateLabel();
454
463
  const graphics = [searchResults.result.feature];
@@ -718,7 +727,9 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
718
727
  this._unit = undefined;
719
728
  if (clearLabel) {
720
729
  this._selectionLabel = "";
721
- this._labelName.value = "";
730
+ if (this._labelName) {
731
+ this._labelName.value = "";
732
+ }
722
733
  }
723
734
  if (this._bufferGraphicsLayer) {
724
735
  this._bufferGraphicsLayer.removeAll();
@@ -767,18 +778,20 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
767
778
  * @protected
768
779
  */
769
780
  async _updateLabel() {
770
- const hasSketch = this._selectionLabel.indexOf(this._translations.sketch) > -1;
771
- const hasSelect = this._selectionLabel.indexOf(this._translations.select) > -1;
772
- const hasSearch = this._selectionLabel.indexOf(this._searchResult?.name) > -1;
773
- const label = this._workflowType === EWorkflowType.SEARCH ? this._searchResult?.name :
774
- this._workflowType === EWorkflowType.SELECT ?
775
- this._translations.select : this._translations.sketch;
776
- const _unit = !this._unit ? this._bufferTools.unit : this._unit;
777
- const unit = await this._bufferTools.getTranslatedUnit(_unit);
778
- const distance = isNaN(this._distance) ? this._bufferTools.distance : this._distance;
779
- this._selectionLabel = hasSketch || hasSelect || hasSearch || !this._selectionLabel ?
780
- `${label} ${distance} ${unit}` : this._selectionLabel;
781
- this._labelName.value = this._selectionLabel;
781
+ if (this.enableSearchDistance) {
782
+ const hasSketch = this._selectionLabel.indexOf(this._translations.sketch) > -1;
783
+ const hasSelect = this._selectionLabel.indexOf(this._translations.select) > -1;
784
+ const hasSearch = this._selectionLabel.indexOf(this._searchResult?.name) > -1;
785
+ const label = this._workflowType === EWorkflowType.SEARCH ? this._searchResult?.name :
786
+ this._workflowType === EWorkflowType.SELECT ?
787
+ this._translations.select : this._translations.sketch;
788
+ const _unit = !this._unit ? this._bufferTools.unit : this._unit;
789
+ const unit = await this._bufferTools.getTranslatedUnit(_unit);
790
+ const distance = isNaN(this._distance) ? this._bufferTools.distance : this._distance;
791
+ this._selectionLabel = hasSketch || hasSelect || hasSearch || !this._selectionLabel ?
792
+ `${label} ${distance} ${unit}` : this._selectionLabel;
793
+ this._labelName.value = this._selectionLabel;
794
+ }
782
795
  }
783
796
  /**
784
797
  * Gets the layer views from the map when the layer selection changes
@@ -865,7 +878,7 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
865
878
  hasOID = g?.layer?.hasOwnProperty("objectIdField") || g.hasOwnProperty("getObjectId");
866
879
  });
867
880
  // OIDs are used when the addressee layer and the current "use layer features" layer are the same
868
- const useOIDs = (this.layerViews[0].layer.title === this.selectLayerView.layer.title) && hasOID;
881
+ const useOIDs = (this.layerViews[0].layer.url === this.selectLayerView.layer.url) && hasOID;
869
882
  await this._sketchGraphicsChanged({
870
883
  detail: {
871
884
  graphics,
@@ -910,6 +923,9 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
910
923
  "bufferOutlineColor": [8, "buffer-outline-color"],
911
924
  "customLabelEnabled": [4, "custom-label-enabled"],
912
925
  "enabledLayerIds": [16],
926
+ "enableLayerFeatures": [4, "enable-layer-features"],
927
+ "enableSearchDistance": [4, "enable-search-distance"],
928
+ "enableSketchTools": [4, "enable-sketch-tools"],
913
929
  "defaultBufferDistance": [2, "default-buffer-distance"],
914
930
  "defaultBufferUnit": [1, "default-buffer-unit"],
915
931
  "geometries": [16],
@@ -70,6 +70,9 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class PublicNotifi
70
70
  this.defaultBufferUnit = undefined;
71
71
  this.defaultExportTitle = "";
72
72
  this.defaultNumLabelsPerPage = 6;
73
+ this.enableLayerFeatures = true;
74
+ this.enableSearchDistance = true;
75
+ this.enableSketchTools = true;
73
76
  this.featureEffect = undefined;
74
77
  this.featureHighlightEnabled = undefined;
75
78
  this.locale = undefined;
@@ -282,14 +285,14 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class PublicNotifi
282
285
  await this._getTranslations();
283
286
  await this._initModules();
284
287
  this._initSymbols();
285
- this._onboardingImageUrl = getAssetPath(`../assets/data/images/onboarding.png`);
288
+ this._onboardingImageUrl = getAssetPath(`../solutions-components/assets/data/images/onboarding.png`);
286
289
  }
287
290
  /**
288
291
  * Renders the component.
289
292
  */
290
293
  render() {
291
294
  const headerSlot = this._isMobile ? "footer" : "header";
292
- return (h(Host, { key: '329b485ac7b134bf2ae1758c07a2ca7988706cb5' }, h("calcite-shell", { key: 'd8280c38878b047cdaa55beb31d8895a420f3661' }, h("calcite-action-bar", { key: 'a83fcca2612f13b3f0220b3015a96750223f016b', class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: headerSlot }, this._getActionGroup("list-check", EPageType.LIST, this._translations.myLists), this.showRefineSelection ? this._getActionGroup("test-data", EPageType.REFINE, this._translations.refineSelection) : null, this._getActionGroup("export", EPageType.EXPORT, this._translations.export)), this._getPage(this._pageType))));
295
+ return (h(Host, { key: '706cac9f6c3456220ffaa13cbe74a0b6eb60710b' }, h("calcite-shell", { key: '2d7169374eb285efc1b0dc20f005173aa7e33f61' }, h("calcite-action-bar", { key: '66ee03cbf7ad909af37f49ed7d89146235f6a1d6', class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: headerSlot }, this._getActionGroup("list-check", EPageType.LIST, this._translations.myLists), this.showRefineSelection ? this._getActionGroup("test-data", EPageType.REFINE, this._translations.refineSelection) : null, this._getActionGroup("export", EPageType.EXPORT, this._translations.export)), this._getPage(this._pageType))));
293
296
  }
294
297
  /**
295
298
  * StencilJS: Called once just after the component is first loaded.
@@ -626,7 +629,7 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class PublicNotifi
626
629
  */
627
630
  _getSelectPage() {
628
631
  const noticeText = this._translations.selectSearchTip;
629
- return (h("calcite-panel", null, this._getLabel(this._translations.stepTwoFull, true), this._getNotice(noticeText, "padding-1", "word-wrap-anywhere"), h("div", null, h("map-select-tools", { bufferColor: this.bufferColor, bufferOutlineColor: this.bufferOutlineColor, class: "font-bold", customLabelEnabled: this.customLabelEnabled, defaultBufferDistance: this.defaultBufferDistance, defaultBufferUnit: this.defaultBufferUnit, enabledLayerIds: this.addresseeLayerIds, isUpdate: !!this._activeSelection, locale: this.locale, mapView: this.mapView, noResultText: this.noResultText, onSelectionSetChange: (evt) => this._updateForSelection(evt), ref: (el) => { this._selectTools = el; }, searchConfiguration: this._searchConfiguration, selectionLayerIds: this.selectionLayerIds, selectionSet: this._activeSelection, sketchLineSymbol: this.sketchLineSymbol, sketchPointSymbol: this.sketchPointSymbol, sketchPolygonSymbol: this.sketchPolygonSymbol })), this._getPageNavButtons(this._translations.done, this._numSelected === 0, () => { void this._saveSelection(); }, this._translations.cancel, false, () => { void this._home(); })));
632
+ return (h("calcite-panel", null, this._getLabel(this._translations.stepTwoFull, true), this._getNotice(noticeText, "padding-1", "word-wrap-anywhere"), h("div", null, h("map-select-tools", { bufferColor: this.bufferColor, bufferOutlineColor: this.bufferOutlineColor, class: "font-bold", customLabelEnabled: this.customLabelEnabled, defaultBufferDistance: this.defaultBufferDistance, defaultBufferUnit: this.defaultBufferUnit, enableLayerFeatures: this.enableLayerFeatures, enableSearchDistance: this.enableSearchDistance, enableSketchTools: this.enableSketchTools, enabledLayerIds: this.addresseeLayerIds, isUpdate: !!this._activeSelection, locale: this.locale, mapView: this.mapView, noResultText: this.noResultText, onSelectionSetChange: (evt) => this._updateForSelection(evt), ref: (el) => { this._selectTools = el; }, searchConfiguration: this._searchConfiguration, selectionLayerIds: this.selectionLayerIds, selectionSet: this._activeSelection, sketchLineSymbol: this.sketchLineSymbol, sketchPointSymbol: this.sketchPointSymbol, sketchPolygonSymbol: this.sketchPolygonSymbol })), this._getPageNavButtons(this._translations.done, this._numSelected === 0, () => { void this._saveSelection(); }, this._translations.cancel, false, () => { void this._home(); })));
630
633
  }
631
634
  /**
632
635
  * Create the main download page that has the shared aspects of both PDF and CSV
@@ -638,7 +641,7 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class PublicNotifi
638
641
  _getExportPage() {
639
642
  const hasSelections = this._hasSelections(this.showRefineSelection);
640
643
  const displayDuplicatesClass = this._numDuplicates > 0 ? "display-block" : "display-none";
641
- return (h("calcite-panel", null, h("div", null, this._getLabel(this._translations.export, false), hasSelections ? (h("div", null, this._getNotice(this._translations.exportTip, "padding-sides-1"), this._getLabel(this._translations.exportListsLabel), this._getExportSelectionLists(), h("div", { class: "padding-sides-1 " + displayDuplicatesClass }, h("div", { class: "display-flex" }, h("calcite-label", { layout: "inline" }, h("calcite-checkbox", { ref: (el) => { this._removeDuplicates = el; } }), h("div", { class: "display-flex" }, this._translations.removeDuplicate, h("div", { class: "info-message padding-start-1-2" }, h("calcite-input-message", { class: "info-blue margin-top-0", scale: "m" }, ` ${this._translations.numDuplicates.replace("{{n}}", this._numDuplicates.toString())}`)))), h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale.toLowerCase() === "he"), icon: "question", id: "remove-duplicates-icon", scale: "s" })), h("calcite-popover", { closable: true, label: "", referenceElement: "remove-duplicates-icon" }, h("span", { class: "tooltip-message" }, this._translations.duplicatesTip))), h("div", { class: "border-bottom" }), h("div", { class: "padding-top-sides-1" }, h("calcite-segmented-control", { class: "w-100", onCalciteSegmentedControlChange: (evt) => this._exportTypeChange(evt), width: "full" }, h("calcite-segmented-control-item", { checked: this._exportType === EExportType.PDF, class: "w-50 end-border", value: EExportType.PDF }, h("span", { class: "font-weight-500" }, this._translations.pdf)), h("calcite-segmented-control-item", { checked: this._exportType === EExportType.CSV, class: "w-50", value: EExportType.CSV }, h("span", { class: "font-weight-500" }, this._translations.csv)))), h("div", { class: "padding-bottom-1" }, this._getExportOptions()), h("div", { class: "padding-1 display-flex" }, h("calcite-button", { disabled: (!this._downloadActive || this._fetchingData) || (!this._addMap && !this._addResults), loading: this._fetchingData, onClick: () => void this._export(), width: "full" }, h("span", { class: "font-weight-500" }, this._translations.export))))) : (this._getNotice(this._translations.downloadNoLists, "padding-sides-1 padding-bottom-1")))));
644
+ return (h("calcite-panel", null, h("div", null, this._getLabel(this._translations.export, false), hasSelections ? (h("div", null, this._getNotice(this._translations.exportTip, "padding-sides-1"), this._getLabel(this._translations.exportListsLabel), this._getExportSelectionLists(), h("div", { class: "padding-sides-1 " + displayDuplicatesClass }, h("div", { class: "display-flex" }, h("calcite-label", { layout: "inline" }, h("calcite-checkbox", { ref: (el) => { this._removeDuplicates = el; } }), h("div", { class: "display-flex" }, this._translations.removeDuplicate, h("div", { class: "info-message padding-start-1-2" }, h("calcite-input-message", { class: "info-blue margin-top-0", scale: "m" }, ` ${this._translations.numDuplicates.replace("{{n}}", this._numDuplicates.toString())}`)))), h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "remove-duplicates-icon", scale: "s" })), h("calcite-popover", { closable: true, label: "", referenceElement: "remove-duplicates-icon" }, h("span", { class: "tooltip-message" }, this._translations.duplicatesTip))), h("div", { class: "border-bottom" }), h("div", { class: "padding-top-sides-1" }, h("calcite-segmented-control", { class: "w-100", onCalciteSegmentedControlChange: (evt) => this._exportTypeChange(evt), width: "full" }, h("calcite-segmented-control-item", { checked: this._exportType === EExportType.PDF, class: "w-50 end-border", value: EExportType.PDF }, h("span", { class: "font-weight-500" }, this._translations.pdf)), h("calcite-segmented-control-item", { checked: this._exportType === EExportType.CSV, class: "w-50", value: EExportType.CSV }, h("span", { class: "font-weight-500" }, this._translations.csv)))), h("div", { class: "padding-bottom-1" }, this._getExportOptions()), h("div", { class: "padding-1 display-flex" }, h("calcite-button", { disabled: (!this._downloadActive || this._fetchingData) || (!this._addMap && !this._addResults), loading: this._fetchingData, onClick: () => void this._export(), width: "full" }, h("span", { class: "font-weight-500" }, this._translations.export))))) : (this._getNotice(this._translations.downloadNoLists, "padding-sides-1 padding-bottom-1")))));
642
645
  }
643
646
  /**
644
647
  * Store the user selected export type CSV || PDF
@@ -659,7 +662,7 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class PublicNotifi
659
662
  const graphicsOptionsClass = this._addMap ? "display-flex" : "display-none";
660
663
  const title = this._titleValue ? this._titleValue : this.defaultExportTitle ? this.defaultExportTitle : "";
661
664
  const formatOptionsClass = this._addResults ? "" : "display-none";
662
- return (h("div", { class: displayClass }, this._getLabel(this._translations.pdfOptions, true), h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._addResults, onCalciteCheckboxChange: () => this._addResults = !this._addResults }), this._translations.addResults)), h("div", { class: `padding-top-sides-1 ${formatOptionsClass}` }, h("calcite-label", { class: "label-margin-0" }, this._translations.selectPDFLabelOption)), h("div", { class: `padding-sides-1 ${formatOptionsClass}` }, h("pdf-download", { defaultNumLabelsPerPage: parseInt(this.defaultNumLabelsPerPage.toString(), 10), disabled: !this._downloadActive, ref: (el) => { this._downloadTools = el; } })), h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._addTitle, onCalciteCheckboxChange: () => this._addTitle = !this._addTitle }), this._translations.title)), h("div", { class: titleOptionsClass }, this._getLabel(this._translations.title, true, ""), h("calcite-input-text", { class: "padding-sides-1", onCalciteInputTextInput: () => this._changeTitle(), placeholder: this._translations.titlePlaceholder, ref: (el) => { this._titleElement = el; }, value: title })), h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._addMap, onCalciteCheckboxChange: () => this._handleAddMapChange() }), this._translations.includeMap)), h("div", { class: `padding-top-sides-1 ${graphicsOptionsClass}` }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._exportGraphics, onCalciteCheckboxChange: () => this._handleExportGraphicsChange() }), this._translations.listGraphics), h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale.toLowerCase() === "he"), icon: "question", id: "list-graphics-icon", scale: "s" }), h("calcite-popover", { closable: true, label: "", referenceElement: "list-graphics-icon" }, h("span", { class: "tooltip-message" }, this._translations.listGraphicsTip)))));
665
+ return (h("div", { class: displayClass }, this._getLabel(this._translations.pdfOptions, true), h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._addResults, onCalciteCheckboxChange: () => this._addResults = !this._addResults }), this._translations.addResults)), h("div", { class: `padding-top-sides-1 ${formatOptionsClass}` }, h("calcite-label", { class: "label-margin-0" }, this._translations.selectPDFLabelOption)), h("div", { class: `padding-sides-1 ${formatOptionsClass}` }, h("pdf-download", { defaultNumLabelsPerPage: parseInt(this.defaultNumLabelsPerPage.toString(), 10), disabled: !this._downloadActive, ref: (el) => { this._downloadTools = el; } })), h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._addTitle, onCalciteCheckboxChange: () => this._addTitle = !this._addTitle }), this._translations.title)), h("div", { class: titleOptionsClass }, this._getLabel(this._translations.title, true, ""), h("calcite-input-text", { class: "padding-sides-1", onCalciteInputTextInput: () => this._changeTitle(), placeholder: this._translations.titlePlaceholder, ref: (el) => { this._titleElement = el; }, value: title })), h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._addMap, onCalciteCheckboxChange: () => this._handleAddMapChange() }), this._translations.includeMap)), h("div", { class: `padding-top-sides-1 ${graphicsOptionsClass}` }, h("calcite-label", { class: "label-margin-0", layout: "inline" }, h("calcite-checkbox", { checked: this._exportGraphics, onCalciteCheckboxChange: () => this._handleExportGraphicsChange() }), this._translations.listGraphics), h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "list-graphics-icon", scale: "s" }), h("calcite-popover", { closable: true, label: "", referenceElement: "list-graphics-icon" }, h("span", { class: "tooltip-message" }, this._translations.listGraphicsTip)))));
663
666
  }
664
667
  /**
665
668
  * Toggle the _addMap state variable and update the graphics on the map
@@ -1104,6 +1107,9 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class PublicNotifi
1104
1107
  "defaultBufferUnit": [1, "default-buffer-unit"],
1105
1108
  "defaultExportTitle": [1, "default-export-title"],
1106
1109
  "defaultNumLabelsPerPage": [2, "default-num-labels-per-page"],
1110
+ "enableLayerFeatures": [4, "enable-layer-features"],
1111
+ "enableSearchDistance": [4, "enable-search-distance"],
1112
+ "enableSketchTools": [4, "enable-sketch-tools"],
1107
1113
  "featureEffect": [16],
1108
1114
  "featureHighlightEnabled": [4, "feature-highlight-enabled"],
1109
1115
  "locale": [1],
@@ -135,7 +135,7 @@ const RefineSelection = /*@__PURE__*/ proxyCustomElement(class RefineSelection e
135
135
  */
136
136
  render() {
137
137
  const layerPickerClass = this._enabledLayerIds.length > 1 ? "display-block" : "display-none";
138
- return (h(Host, { key: '5bd1d6b85fc43ca4bfdffefd6a19bbbbd37cc13e' }, h("div", { key: '48312843133e3ece11ac8882aad91a570d809472', class: layerPickerClass + " padding-top-sides-1" }, h("div", { key: 'dea13cbbe64fff8dc6dff1ea4816229ba04c6b51', class: "display-flex" }, h("calcite-label", { key: '8184e95f8777e72e826d773aa212a32383983a51', class: "font-bold width-full label-margin-0" }, h("div", { key: 'b59989cfe2676fa520e7d2e23dd178425802536e', class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { key: '05cdb91b52893a36988aee0c15af4aabded7bb1b', class: "padding-start-1-2 icon", flipRtl: !(this.locale.toLowerCase() === "he"), icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { key: 'c1bc3c6aba428a55b21be6ac5fedbdee881aaa2f', enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedIds: [this._refineLayer.layer.id], showTables: false })), h("calcite-popover", { key: 'b3d82ec6d85749b4975d4c9ba35855f5dd142413', closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { key: '191e9702e37240472bbe0deda359c4dd1ca03c17', class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { key: '30bda6820fced55494db4d6ced4dee1ff20266bf', class: "padding-1" }, h("div", { key: '67ec4b94cd37dfe80700c8053fb505170f872fdf', class: "padding-bottom-1" }, h("calcite-segmented-control", { key: '707b7e1d20d65abec22727ae3750dd52aa542048', class: "w-100", width: "full" }, h("calcite-segmented-control-item", { key: '82e70596aeb5a58d9b04eb5cafd92a4251480bad', checked: this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, h("span", { key: '1cd4fba950d8590ec9af113f0eec2a6d29413f9b', class: "font-weight-500" }, this._translations.add)), h("calcite-segmented-control-item", { key: 'cff45118e731b3bcd5812752919f5fed1b8d8f0e', checked: !this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, h("span", { key: 'fb603c594f7d71944bf46c11e4aa5f0ae547b560', class: "font-weight-500" }, this._translations.remove)))), h("div", { key: 'aeb9755c6e854c97045978aa1ea3ec1a32365351' }, h("map-draw-tools", { key: '2c4c973d3de9b36c07973f7250dd91e7aab833eb', active: true, drawMode: EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: this._refineSelectionSet?.redoStack.length > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: this._refineSelectionSet?.undoStack.length > 0 })), h("br", { key: 'dd122d761bcc924c7bcaad95342398414674e2a8' }), (h("calcite-list", { key: '49986cdfdd61369adf348beaef1a49fdd87c38b9', class: "list-border" }, this._getRefineSelectionSetList())))));
138
+ return (h(Host, { key: '5bd1d6b85fc43ca4bfdffefd6a19bbbbd37cc13e' }, h("div", { key: '48312843133e3ece11ac8882aad91a570d809472', class: layerPickerClass + " padding-top-sides-1" }, h("div", { key: 'dea13cbbe64fff8dc6dff1ea4816229ba04c6b51', class: "display-flex" }, h("calcite-label", { key: '8184e95f8777e72e826d773aa212a32383983a51', class: "font-bold width-full label-margin-0" }, h("div", { key: 'b59989cfe2676fa520e7d2e23dd178425802536e', class: "display-flex" }, this._translations.inputLayer, h("calcite-icon", { key: '0cdbf4745da0953434024c49a8fbc52a686e876a', class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "refine-input-layer", scale: "s" })), h("map-layer-picker", { key: '1d62e84b9fa0fa6ac0416ecf22a52a8b72eb7529', enabledLayerIds: this._enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, ref: (el) => { this._layerPicker = el; }, selectedIds: [this._refineLayer.layer.id], showTables: false })), h("calcite-popover", { key: 'ed39858d71e1b4f128eed508e1a7fc71c5112b75', closable: true, label: "", referenceElement: "refine-input-layer" }, h("span", { key: '1c0a8e1b9a9e77b097a9e676c06c8cbc1ce4b235', class: "tooltip-message" }, this._translations.inputLayerTip)))), h("div", { key: 'eceb792f9deb9cbe346173337ec254faacd3036d', class: "padding-1" }, h("div", { key: 'd172826cc5e6a206bde83fa0fed5c46fbf0422ec', class: "padding-bottom-1" }, h("calcite-segmented-control", { key: '096245916589f8486ed5f78f035a090c43749feb', class: "w-100", width: "full" }, h("calcite-segmented-control-item", { key: 'd0e5f7c7256e14421167cc9af90707d6d0457c01', checked: this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, h("span", { key: 'c5764bbb451659757c9f8fb84263255c50114e9c', class: "font-weight-500" }, this._translations.add)), h("calcite-segmented-control-item", { key: '6d1ffc481926f70176e5db3debb71daf6d782e97', checked: !this._addEnabled, class: "w-50 word-wrap-anywhere", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, h("span", { key: 'aa3a9d97ebcf7553729858628164a5cdbb4ab5a6', class: "font-weight-500" }, this._translations.remove)))), h("div", { key: '7d366f2bb9d91696915e6bb5aa7872c8e13c0f4b' }, h("map-draw-tools", { key: '973fc2dfe9a3bb941e1257862ee6bf478dab6963', active: true, drawMode: EDrawMode.REFINE, mapView: this.mapView, onDrawRedo: () => this._redo(), onDrawUndo: () => this._undo(), onSketchGraphicsChange: (evt) => this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, redoEnabled: this._refineSelectionSet?.redoStack.length > 0, ref: (el) => { this._drawTools = el; }, undoEnabled: this._refineSelectionSet?.undoStack.length > 0 })), h("br", { key: 'fb6fb3c198ad97e157a3f08df1283e20928f17fd' }), (h("calcite-list", { key: 'fb32a7abec8c89d2d2073fbe741e18daba37eb6f', class: "list-border" }, this._getRefineSelectionSetList())))));
139
139
  }
140
140
  //--------------------------------------------------------------------------
141
141
  //