@esri/solutions-components 0.3.6 → 0.3.7

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 (274) hide show
  1. package/dist/cjs/buffer-tools_6.cjs.entry.js +8 -5
  2. package/dist/cjs/calcite-combobox_3.cjs.entry.js +2 -2
  3. package/dist/cjs/calcite-input-message_5.cjs.entry.js +6 -4
  4. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +2 -2
  5. package/dist/cjs/{csvUtils-83af7ae1.js → csvUtils-34666909.js} +1 -1
  6. package/dist/cjs/{interfaces-772edf61.js → interfaces-17c631bf.js} +1 -1
  7. package/dist/cjs/layer-table.cjs.entry.js +3 -3
  8. package/dist/cjs/map-card.cjs.entry.js +1 -1
  9. package/dist/cjs/{mapViewUtils-55ac76cb.js → mapViewUtils-24d1d859.js} +1 -1
  10. package/dist/cjs/public-notification.cjs.entry.js +16 -10
  11. package/dist/cjs/solution-configuration.cjs.entry.js +2 -2
  12. package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
  13. package/dist/cjs/{solution-store-39726b81.js → solution-store-2dbab624.js} +1 -1
  14. package/dist/collection/components/buffer-tools/buffer-tools.js +2 -2
  15. package/dist/collection/components/map-draw-tools/map-draw-tools.js +2 -1
  16. package/dist/collection/components/public-notification/public-notification.js +14 -8
  17. package/dist/collection/components/refine-selection/refine-selection.js +4 -2
  18. package/dist/collection/components/refine-selection-tools/refine-selection-tools.css +1 -0
  19. package/dist/collection/components/refine-selection-tools/refine-selection-tools.js +3 -1
  20. package/dist/collection/demos/new-public-notification.html +2 -1
  21. package/dist/collection/utils/interfaces.js +1 -1
  22. package/dist/collection/utils/interfaces.ts +2 -2
  23. package/dist/components/interfaces3.js +1 -1
  24. package/dist/components/map-draw-tools2.js +2 -1
  25. package/dist/components/public-notification.js +14 -8
  26. package/dist/components/refine-selection-tools2.js +4 -2
  27. package/dist/components/refine-selection2.js +4 -2
  28. package/dist/esm/buffer-tools_6.entry.js +8 -5
  29. package/dist/esm/calcite-combobox_3.entry.js +2 -2
  30. package/dist/esm/calcite-input-message_5.entry.js +6 -4
  31. package/dist/esm/calcite-shell-panel_14.entry.js +2 -2
  32. package/dist/esm/{csvUtils-eb231cfb.js → csvUtils-ae3004b9.js} +1 -1
  33. package/dist/esm/{interfaces-3b23a5f9.js → interfaces-d0d83efa.js} +1 -1
  34. package/dist/esm/layer-table.entry.js +3 -3
  35. package/dist/esm/map-card.entry.js +1 -1
  36. package/dist/esm/{mapViewUtils-e5d8a1e1.js → mapViewUtils-541e7a3c.js} +1 -1
  37. package/dist/esm/public-notification.entry.js +16 -10
  38. package/dist/esm/solution-configuration.entry.js +2 -2
  39. package/dist/esm/solution-contents_3.entry.js +2 -2
  40. package/dist/esm/{solution-store-c0bf9200.js → solution-store-41e15f1c.js} +1 -1
  41. package/dist/solutions-components/demos/new-public-notification.html +2 -1
  42. package/dist/solutions-components/p-05e64bd1.js +498 -2
  43. package/dist/solutions-components/p-08a95b33.entry.js +138 -0
  44. package/dist/solutions-components/p-0da5bbdf.entry.js +91 -0
  45. package/dist/solutions-components/p-0ef91144.entry.js +913 -0
  46. package/dist/solutions-components/p-0f523243.entry.js +1916 -0
  47. package/dist/solutions-components/p-11b9510e.entry.js +173 -0
  48. package/dist/solutions-components/p-1b875d94.entry.js +58 -0
  49. package/dist/solutions-components/p-1c567f3a.js +23 -16
  50. package/dist/solutions-components/p-1c883db9.entry.js +43 -0
  51. package/dist/solutions-components/p-1f225056.js +322 -0
  52. package/dist/solutions-components/p-1f499e67.entry.js +72 -0
  53. package/dist/solutions-components/p-20d3d758.entry.js +881 -0
  54. package/dist/solutions-components/p-2274ac9e.entry.js +160 -0
  55. package/dist/solutions-components/p-23ec5ac5.entry.js +93 -0
  56. package/dist/solutions-components/p-2447798c.entry.js +155 -0
  57. package/dist/solutions-components/p-2525e691.entry.js +432 -0
  58. package/dist/solutions-components/p-2561f5b5.js +4092 -0
  59. package/dist/solutions-components/p-29f887c0.entry.js +234 -0
  60. package/dist/solutions-components/p-2a0d8047.entry.js +345 -0
  61. package/dist/solutions-components/p-2c177e6a.entry.js +101 -0
  62. package/dist/solutions-components/p-2e9ed892.js +46 -1
  63. package/dist/solutions-components/p-316f56db.js +219 -2
  64. package/dist/solutions-components/p-327f3ebf.entry.js +98 -0
  65. package/dist/solutions-components/p-356f8b54.entry.js +138 -0
  66. package/dist/solutions-components/p-359c58de.entry.js +172 -0
  67. package/dist/solutions-components/p-37336c0d.entry.js +116 -0
  68. package/dist/solutions-components/p-374a5031.js +105 -2
  69. package/dist/solutions-components/p-39ea6ef4.entry.js +71 -0
  70. package/dist/solutions-components/p-3b010ce1.js +17 -1
  71. package/dist/solutions-components/p-4307dacd.js +194 -1
  72. package/dist/solutions-components/p-44da2507.js +405 -14
  73. package/dist/solutions-components/p-46bdffe8.entry.js +54 -0
  74. package/dist/solutions-components/p-4894bbeb.js +53 -2
  75. package/dist/solutions-components/p-4cd569f1.entry.js +1298 -0
  76. package/dist/solutions-components/p-4d4160f9.entry.js +121 -0
  77. package/dist/solutions-components/p-4e32bf8c.js +482 -1
  78. package/dist/solutions-components/p-4e9cbd32.entry.js +184 -0
  79. package/dist/solutions-components/p-508317b3.js +13 -2
  80. package/dist/solutions-components/p-54697d58.entry.js +198 -0
  81. package/dist/solutions-components/p-55c79103.entry.js +311 -0
  82. package/dist/solutions-components/p-57fd19c0.entry.js +706 -0
  83. package/dist/solutions-components/p-59b48fde.entry.js +443 -0
  84. package/dist/solutions-components/p-60e0e6a0.entry.js +214 -0
  85. package/dist/solutions-components/p-621d0534.entry.js +123 -0
  86. package/dist/solutions-components/p-63f6e8f1.js +14 -1
  87. package/dist/solutions-components/p-66aeec57.entry.js +61 -0
  88. package/dist/solutions-components/p-69834f46.entry.js +618 -0
  89. package/dist/solutions-components/p-6d9da8e5.entry.js +21530 -0
  90. package/dist/solutions-components/p-6e0da576.js +13 -1
  91. package/dist/solutions-components/p-6ec3f294.entry.js +106 -0
  92. package/dist/solutions-components/p-6fe17794.js +9 -1
  93. package/dist/solutions-components/p-7024cb16.entry.js +72 -0
  94. package/dist/solutions-components/p-70535506.entry.js +226 -0
  95. package/dist/solutions-components/p-708a63a8.js +12 -1
  96. package/dist/solutions-components/p-729708a3.js +14 -1
  97. package/dist/solutions-components/p-73e23995.js +6 -1
  98. package/dist/solutions-components/p-74b29d75.entry.js +231 -0
  99. package/dist/solutions-components/p-74b7ee25.entry.js +711 -0
  100. package/dist/solutions-components/p-77182c3a.js +3015 -1
  101. package/dist/solutions-components/p-78b3ef80.entry.js +456 -0
  102. package/dist/solutions-components/p-79709c19.js +60 -3
  103. package/dist/solutions-components/p-7a46ef97.js +181 -2
  104. package/dist/solutions-components/p-7be159e6.entry.js +175 -0
  105. package/dist/solutions-components/p-7d4451c2.entry.js +71 -0
  106. package/dist/solutions-components/p-7daea1df.js +41 -1
  107. package/dist/solutions-components/p-7e39e5ad.entry.js +102 -0
  108. package/dist/solutions-components/p-7fb45059.entry.js +43 -0
  109. package/dist/solutions-components/p-815533de.js +306 -3
  110. package/dist/solutions-components/p-816622ca.entry.js +248 -0
  111. package/dist/solutions-components/p-83166522.js +205 -2
  112. package/dist/solutions-components/p-83bd1991.entry.js +36 -0
  113. package/dist/solutions-components/p-856464d7.entry.js +572 -0
  114. package/dist/solutions-components/p-8c349bad.entry.js +347 -0
  115. package/dist/solutions-components/p-8dccb390.entry.js +1986 -0
  116. package/dist/solutions-components/p-904c185a.entry.js +228 -0
  117. package/dist/solutions-components/p-9092f8b3.entry.js +156 -0
  118. package/dist/solutions-components/p-9371145a.entry.js +477 -0
  119. package/dist/solutions-components/p-93d3119d.js +1948 -1
  120. package/dist/solutions-components/p-95ec8062.entry.js +173 -0
  121. package/dist/solutions-components/p-991ee695.js +109 -1
  122. package/dist/solutions-components/p-9a57dab7.entry.js +213 -0
  123. package/dist/solutions-components/p-9a9955db.js +41 -1
  124. package/dist/solutions-components/p-9c1ebc90.js +35 -16
  125. package/dist/solutions-components/p-9eba5c66.js +399 -3
  126. package/dist/solutions-components/p-a033a507.entry.js +252 -0
  127. package/dist/solutions-components/p-a3773415.entry.js +1132 -0
  128. package/dist/solutions-components/p-a44fe40f.entry.js +94 -0
  129. package/dist/solutions-components/p-a5b1ab03.js +33 -3
  130. package/dist/solutions-components/p-a5b2c13d.entry.js +723 -0
  131. package/dist/solutions-components/p-a6d729b7.entry.js +85 -0
  132. package/dist/solutions-components/p-a8005026.entry.js +565 -0
  133. package/dist/solutions-components/p-a80b3880.js +14 -1
  134. package/dist/solutions-components/p-a89198a3.entry.js +2620 -0
  135. package/dist/solutions-components/p-aa04bd1f.entry.js +95 -0
  136. package/dist/solutions-components/p-aa0a0922.entry.js +80 -0
  137. package/dist/solutions-components/p-ae1fd76b.js +11 -1
  138. package/dist/solutions-components/p-b2cf435e.entry.js +87 -0
  139. package/dist/solutions-components/p-b359dc78.js +41 -1
  140. package/dist/solutions-components/p-b57bc4eb.entry.js +71 -0
  141. package/dist/solutions-components/p-b75cc407.entry.js +145 -0
  142. package/dist/solutions-components/p-b911cb75.entry.js +71 -0
  143. package/dist/solutions-components/p-b965e177.entry.js +335 -0
  144. package/dist/solutions-components/p-b978636e.js +14 -1
  145. package/dist/solutions-components/p-ba10a5c8.entry.js +42 -0
  146. package/dist/solutions-components/p-bd67334c.js +122 -2
  147. package/dist/solutions-components/p-bde20dba.entry.js +212 -0
  148. package/dist/solutions-components/p-be0b5a94.entry.js +248 -0
  149. package/dist/solutions-components/p-c023e6a1.js +2028 -2
  150. package/dist/solutions-components/p-c27b0c2d.entry.js +150 -0
  151. package/dist/solutions-components/p-c579ed60.entry.js +447 -0
  152. package/dist/solutions-components/p-c92bc231.js +101 -2
  153. package/dist/solutions-components/p-cc815aca.js +839 -16
  154. package/dist/solutions-components/p-cc8beabb.entry.js +695 -0
  155. package/dist/solutions-components/p-cdc46c0c.js +1751 -2
  156. package/dist/solutions-components/p-d12e6992.entry.js +118 -0
  157. package/dist/solutions-components/p-d1dfed6b.entry.js +179 -0
  158. package/dist/solutions-components/p-d48a24e6.js +754 -2
  159. package/dist/solutions-components/p-d96ee3ef.entry.js +579 -0
  160. package/dist/solutions-components/p-dbc9a5a8.js +80 -0
  161. package/dist/solutions-components/p-dcdbe712.entry.js +278 -0
  162. package/dist/solutions-components/p-de39206f.entry.js +113 -0
  163. package/dist/solutions-components/p-de5416e8.js +28 -1
  164. package/dist/solutions-components/p-df420d54.entry.js +213 -0
  165. package/dist/solutions-components/p-e3138cf0.entry.js +20 -0
  166. package/dist/solutions-components/p-e4845fec.entry.js +152 -0
  167. package/dist/solutions-components/p-e611d8c8.js +28 -1
  168. package/dist/solutions-components/p-e947d3b0.js +5 -1
  169. package/dist/solutions-components/p-ea534300.js +41 -2
  170. package/dist/solutions-components/p-ec84ee85.entry.js +55 -0
  171. package/dist/solutions-components/p-ed36c637.entry.js +85 -0
  172. package/dist/solutions-components/p-f0add71c.js +74 -0
  173. package/dist/solutions-components/p-f42e014b.js +171 -2
  174. package/dist/solutions-components/p-fc02e7de.entry.js +308 -0
  175. package/dist/solutions-components/p-fc884dd6.js +28 -16
  176. package/dist/solutions-components/p-fcbfa59c.entry.js +181 -0
  177. package/dist/solutions-components/p-fdc5cf5f.entry.js +138 -0
  178. package/dist/solutions-components/solutions-components.esm.js +20 -1
  179. package/dist/solutions-components/utils/interfaces.ts +2 -2
  180. package/dist/types/components/buffer-tools/buffer-tools.d.ts +2 -2
  181. package/dist/types/components/public-notification/public-notification.d.ts +9 -1
  182. package/dist/types/components.d.ts +2 -2
  183. package/package.json +1 -1
  184. package/dist/solutions-components/p-021432b8.entry.js +0 -12
  185. package/dist/solutions-components/p-03440b1e.entry.js +0 -11
  186. package/dist/solutions-components/p-0512635b.entry.js +0 -6
  187. package/dist/solutions-components/p-086ef115.entry.js +0 -29
  188. package/dist/solutions-components/p-0b4bf57f.entry.js +0 -6
  189. package/dist/solutions-components/p-0c088725.entry.js +0 -6
  190. package/dist/solutions-components/p-0f820c08.entry.js +0 -6
  191. package/dist/solutions-components/p-164780a0.entry.js +0 -6
  192. package/dist/solutions-components/p-179a68a0.entry.js +0 -6
  193. package/dist/solutions-components/p-184b5005.entry.js +0 -11
  194. package/dist/solutions-components/p-1d082fee.entry.js +0 -11
  195. package/dist/solutions-components/p-1e6c02a2.entry.js +0 -11
  196. package/dist/solutions-components/p-20a58e62.entry.js +0 -17
  197. package/dist/solutions-components/p-20b2458c.entry.js +0 -11
  198. package/dist/solutions-components/p-245d47c1.entry.js +0 -6
  199. package/dist/solutions-components/p-2cb057a9.entry.js +0 -11
  200. package/dist/solutions-components/p-2cc72806.entry.js +0 -23
  201. package/dist/solutions-components/p-2de1db9c.entry.js +0 -11
  202. package/dist/solutions-components/p-2e9c7055.entry.js +0 -11
  203. package/dist/solutions-components/p-2ed5e6c8.entry.js +0 -11
  204. package/dist/solutions-components/p-3109d940.entry.js +0 -6
  205. package/dist/solutions-components/p-31a8bcfa.entry.js +0 -6
  206. package/dist/solutions-components/p-3649acb3.entry.js +0 -18
  207. package/dist/solutions-components/p-3f88ba73.entry.js +0 -6
  208. package/dist/solutions-components/p-3fa9b3c8.js +0 -36
  209. package/dist/solutions-components/p-40c41709.entry.js +0 -6
  210. package/dist/solutions-components/p-40e963c7.entry.js +0 -11
  211. package/dist/solutions-components/p-40f480da.entry.js +0 -11
  212. package/dist/solutions-components/p-49d5d2d3.entry.js +0 -11
  213. package/dist/solutions-components/p-4f7049a4.entry.js +0 -11
  214. package/dist/solutions-components/p-506e4d78.entry.js +0 -6
  215. package/dist/solutions-components/p-576fdcab.entry.js +0 -6
  216. package/dist/solutions-components/p-5bd0cf34.entry.js +0 -23
  217. package/dist/solutions-components/p-65e177f1.entry.js +0 -6
  218. package/dist/solutions-components/p-67d710c2.entry.js +0 -6
  219. package/dist/solutions-components/p-7268b445.entry.js +0 -11
  220. package/dist/solutions-components/p-75ea4667.entry.js +0 -6
  221. package/dist/solutions-components/p-778c0a36.entry.js +0 -17
  222. package/dist/solutions-components/p-7a22509b.entry.js +0 -12
  223. package/dist/solutions-components/p-7bff51db.entry.js +0 -6
  224. package/dist/solutions-components/p-7d2d0d5d.entry.js +0 -6
  225. package/dist/solutions-components/p-7f0036f1.entry.js +0 -11
  226. package/dist/solutions-components/p-8060fb94.entry.js +0 -6
  227. package/dist/solutions-components/p-80a1b305.entry.js +0 -6
  228. package/dist/solutions-components/p-81eae877.entry.js +0 -12
  229. package/dist/solutions-components/p-84e86b8b.entry.js +0 -6
  230. package/dist/solutions-components/p-851e04ae.entry.js +0 -6
  231. package/dist/solutions-components/p-9106950a.entry.js +0 -11
  232. package/dist/solutions-components/p-979804a4.entry.js +0 -11
  233. package/dist/solutions-components/p-9862baa8.entry.js +0 -11
  234. package/dist/solutions-components/p-9b5a9117.entry.js +0 -12
  235. package/dist/solutions-components/p-9deff0c2.entry.js +0 -6
  236. package/dist/solutions-components/p-9f400eeb.entry.js +0 -6
  237. package/dist/solutions-components/p-a0639ad1.entry.js +0 -11
  238. package/dist/solutions-components/p-a33c044e.entry.js +0 -6
  239. package/dist/solutions-components/p-a516c658.entry.js +0 -6
  240. package/dist/solutions-components/p-aa0ef36d.entry.js +0 -11
  241. package/dist/solutions-components/p-aaccbdf3.entry.js +0 -18
  242. package/dist/solutions-components/p-ab03a5c9.entry.js +0 -11
  243. package/dist/solutions-components/p-ad469b92.entry.js +0 -11
  244. package/dist/solutions-components/p-adc86ac3.entry.js +0 -6
  245. package/dist/solutions-components/p-addc1156.entry.js +0 -11
  246. package/dist/solutions-components/p-ae846934.entry.js +0 -11
  247. package/dist/solutions-components/p-b0572fc4.entry.js +0 -37
  248. package/dist/solutions-components/p-b4e476b7.js +0 -257
  249. package/dist/solutions-components/p-b668daf8.js +0 -21
  250. package/dist/solutions-components/p-b6e6eae1.entry.js +0 -6
  251. package/dist/solutions-components/p-bc317a7f.entry.js +0 -6
  252. package/dist/solutions-components/p-be41429f.js +0 -21
  253. package/dist/solutions-components/p-bf6b6353.entry.js +0 -11
  254. package/dist/solutions-components/p-c2e3dfbb.entry.js +0 -11
  255. package/dist/solutions-components/p-c4afae53.entry.js +0 -12
  256. package/dist/solutions-components/p-c9da1c26.entry.js +0 -6
  257. package/dist/solutions-components/p-cbf8cd49.entry.js +0 -6
  258. package/dist/solutions-components/p-cc1a064a.entry.js +0 -11
  259. package/dist/solutions-components/p-d09a168c.entry.js +0 -6
  260. package/dist/solutions-components/p-d377f913.entry.js +0 -11
  261. package/dist/solutions-components/p-d4cefead.entry.js +0 -37
  262. package/dist/solutions-components/p-d7bc0baf.entry.js +0 -16
  263. package/dist/solutions-components/p-d8968487.entry.js +0 -11
  264. package/dist/solutions-components/p-e00a0b86.entry.js +0 -11
  265. package/dist/solutions-components/p-e9a7ed49.entry.js +0 -11
  266. package/dist/solutions-components/p-ec27e493.entry.js +0 -11
  267. package/dist/solutions-components/p-ed6404eb.entry.js +0 -6
  268. package/dist/solutions-components/p-ef21e195.entry.js +0 -23
  269. package/dist/solutions-components/p-f6068a2d.entry.js +0 -11
  270. package/dist/solutions-components/p-f6c4cff3.entry.js +0 -11
  271. package/dist/solutions-components/p-f847291f.entry.js +0 -6
  272. package/dist/solutions-components/p-f90fd262.entry.js +0 -11
  273. package/dist/solutions-components/p-fc973005.entry.js +0 -6
  274. package/dist/solutions-components/p-ff9fb6bc.entry.js +0 -11
@@ -19,8 +19,8 @@ const math = require('./math-460fffaf.js');
19
19
  const key = require('./key-55aca5c0.js');
20
20
  const locale$1 = require('./locale-73cab8e8.js');
21
21
  const publicNotificationStore = require('./publicNotificationStore-28a8759d.js');
22
- const interfaces = require('./interfaces-772edf61.js');
23
- const mapViewUtils = require('./mapViewUtils-55ac76cb.js');
22
+ const interfaces = require('./interfaces-17c631bf.js');
23
+ const mapViewUtils = require('./mapViewUtils-24d1d859.js');
24
24
  require('./_commonjsHelpers-6aafa5de.js');
25
25
  require('./resources-b56bce71.js');
26
26
  require('./observers-5311faf8.js');
@@ -1461,7 +1461,8 @@ const MapDrawTools = class {
1461
1461
  "rectangle-selection": false
1462
1462
  }, createTools: {
1463
1463
  "circle": false
1464
- }
1464
+ },
1465
+ undoRedoMenu: false
1465
1466
  };
1466
1467
  this._sketchWidget.on("update", (evt) => {
1467
1468
  if (evt.state === "start") {
@@ -1521,7 +1522,7 @@ const MapDrawTools = class {
1521
1522
  };
1522
1523
  MapDrawTools.style = mapDrawToolsCss;
1523
1524
 
1524
- const refineSelectionToolsCss = ":host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=\"rtl\"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:\"Avenir Next\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:1.3em}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}";
1525
+ const refineSelectionToolsCss = ":host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=\"rtl\"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:\"Avenir Next\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-ui-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}";
1525
1526
 
1526
1527
  const RefineSelectionTools = class {
1527
1528
  constructor(hostRef) {
@@ -1632,7 +1633,8 @@ const RefineSelectionTools = class {
1632
1633
  render() {
1633
1634
  const showLayerPickerClass = this.useLayerPicker ? "div-visible" : "div-not-visible";
1634
1635
  const drawClass = this.border ? " border" : "";
1635
- return (index.h(index.Host, null, index.h("div", null, index.h("map-layer-picker", { class: showLayerPickerClass, enabledLayerIds: this.enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedLayerIds: this.layerViews.map(l => l.layer.id), selectionMode: "single" }), index.h("div", { class: "margin-top-1" + drawClass }, index.h("div", { class: "esri-sketch esri-widget" }, index.h("div", { class: "esri-sketch__panel" }, index.h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, index.h("calcite-action", { disabled: !this._selectEnabled, icon: "select", onClick: () => this._setSelectionMode(interfaces.ESelectionType.POINT), scale: "s", text: this._translations.select })), index.h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, index.h("calcite-action", { disabled: !this._selectEnabled, icon: "line", onClick: () => this._setSelectionMode(interfaces.ESelectionType.LINE), scale: "s", text: this._translations.selectLine }), index.h("calcite-action", { disabled: !this._selectEnabled, icon: "polygon", onClick: () => this._setSelectionMode(interfaces.ESelectionType.POLY), scale: "s", text: this._translations.selectPolygon }), index.h("calcite-action", { disabled: !this._selectEnabled, icon: "rectangle", onClick: () => this._setSelectionMode(interfaces.ESelectionType.RECT), scale: "s", text: this._translations.selectRectangle })), index.h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, index.h("calcite-action", { disabled: this._undoStack.length === 0, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), index.h("calcite-action", { disabled: this._redoStack.length === 0, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo }))))))));
1636
+ const showUndoRedo = this.refineMode === interfaces.ERefineMode.ALL ? "div-visible" : "div-not-visible";
1637
+ return (index.h(index.Host, null, index.h("div", null, index.h("map-layer-picker", { class: showLayerPickerClass, enabledLayerIds: this.enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedLayerIds: this.layerViews.map(l => l.layer.id), selectionMode: "single" }), index.h("div", { class: "margin-top-1" + drawClass }, index.h("div", { class: "esri-sketch esri-widget" }, index.h("div", { class: "esri-sketch__panel" }, index.h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, index.h("calcite-action", { disabled: !this._selectEnabled, icon: "select", onClick: () => this._setSelectionMode(interfaces.ESelectionType.POINT), scale: "s", text: this._translations.select })), index.h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, index.h("calcite-action", { disabled: !this._selectEnabled, icon: "line", onClick: () => this._setSelectionMode(interfaces.ESelectionType.LINE), scale: "s", text: this._translations.selectLine }), index.h("calcite-action", { disabled: !this._selectEnabled, icon: "polygon", onClick: () => this._setSelectionMode(interfaces.ESelectionType.POLY), scale: "s", text: this._translations.selectPolygon }), index.h("calcite-action", { disabled: !this._selectEnabled, icon: "rectangle", onClick: () => this._setSelectionMode(interfaces.ESelectionType.RECT), scale: "s", text: this._translations.selectRectangle })), index.h("div", { class: showUndoRedo + " esri-sketch__tool-section esri-sketch__section" }, index.h("calcite-action", { disabled: this._undoStack.length === 0, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), index.h("calcite-action", { disabled: this._redoStack.length === 0, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo }))))))));
1636
1638
  }
1637
1639
  //--------------------------------------------------------------------------
1638
1640
  //
@@ -1861,6 +1863,7 @@ const RefineSelectionTools = class {
1861
1863
  * @protected
1862
1864
  */
1863
1865
  async _updateIds(oids, mode, operationStack, operationMode) {
1866
+ console.log("_updateIds");
1864
1867
  const idUpdates = { addIds: [], removeIds: [] };
1865
1868
  if (mode === interfaces.ESelectionMode.ADD) {
1866
1869
  idUpdates.addIds = oids.filter(id => this.ids.indexOf(id) < 0);
@@ -20,10 +20,10 @@ const dom = require('./dom-4a580af6.js');
20
20
  const openCloseComponent = require('./openCloseComponent-bf986132.js');
21
21
  const debounce = require('./debounce-69c3bada.js');
22
22
  const conditionalSlot = require('./conditionalSlot-d8471163.js');
23
- const mapViewUtils = require('./mapViewUtils-55ac76cb.js');
23
+ const mapViewUtils = require('./mapViewUtils-24d1d859.js');
24
24
  const publicNotificationStore = require('./publicNotificationStore-28a8759d.js');
25
25
  require('./resources-b56bce71.js');
26
- require('./interfaces-772edf61.js');
26
+ require('./interfaces-17c631bf.js');
27
27
  require('./index-a2ef93bb.js');
28
28
 
29
29
  const comboboxCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;inline-size:1rem;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{display:block;position:absolute;z-index:900;visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}.floating-ui-container--active{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
@@ -12,11 +12,11 @@ const dom = require('./dom-4a580af6.js');
12
12
  const interfaces = require('./interfaces-e76f31e9.js');
13
13
  const conditionalSlot = require('./conditionalSlot-d8471163.js');
14
14
  const loadModules = require('./loadModules-e9007588.js');
15
- const mapViewUtils = require('./mapViewUtils-55ac76cb.js');
16
- const interfaces$1 = require('./interfaces-772edf61.js');
15
+ const mapViewUtils = require('./mapViewUtils-24d1d859.js');
16
+ const interfaces$1 = require('./interfaces-17c631bf.js');
17
17
  const publicNotificationStore = require('./publicNotificationStore-28a8759d.js');
18
18
  const locale = require('./locale-d15229c4.js');
19
- const csvUtils = require('./csvUtils-83af7ae1.js');
19
+ const csvUtils = require('./csvUtils-34666909.js');
20
20
  const publicNotificationUtils = require('./publicNotificationUtils-9d585d8d.js');
21
21
  require('./resources-b56bce71.js');
22
22
  require('./guid-84ac4d91.js');
@@ -1108,7 +1108,7 @@ const RefineSelection = class {
1108
1108
  * Renders the component.
1109
1109
  */
1110
1110
  render() {
1111
- return (index.h(index.Host, null, index.h("div", { class: "padding-1" }, index.h("div", null, index.h("calcite-radio-group", { class: "w-100", onCalciteRadioGroupChange: (evt) => this._modeChanged(evt) }, index.h("calcite-radio-group-item", { checked: this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(interfaces$1.ESelectionMode.ADD), value: interfaces$1.ESelectionMode.ADD }, this._translations.add), index.h("calcite-radio-group-item", { checked: !this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(interfaces$1.ESelectionMode.REMOVE), value: interfaces$1.ESelectionMode.REMOVE }, this._translations.remove)), index.h("refine-selection-tools", { border: true, enabledLayerIds: this.enabledLayerIds, ids: publicNotificationUtils.getSelectionIds(this.selectionSets), layerViews: [this.addresseeLayer], mapView: this.mapView, mode: this._addEnabled ? interfaces$1.ESelectionMode.ADD : interfaces$1.ESelectionMode.REMOVE, ref: (el) => { this._refineTools = el; }, useLayerPicker: false })), index.h("br", null), (index.h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
1111
+ return (index.h(index.Host, null, index.h("div", { class: "padding-1" }, index.h("div", null, index.h("calcite-radio-group", { class: "w-100", onCalciteRadioGroupChange: (evt) => this._modeChanged(evt) }, index.h("calcite-radio-group-item", { checked: this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(interfaces$1.ESelectionMode.ADD), value: interfaces$1.ESelectionMode.ADD }, this._translations.add), index.h("calcite-radio-group-item", { checked: !this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(interfaces$1.ESelectionMode.REMOVE), value: interfaces$1.ESelectionMode.REMOVE }, this._translations.remove)), index.h("refine-selection-tools", { border: true, enabledLayerIds: this.enabledLayerIds, ids: publicNotificationUtils.getSelectionIds(this.selectionSets), layerViews: [this.addresseeLayer], mapView: this.mapView, mode: this._addEnabled ? interfaces$1.ESelectionMode.ADD : interfaces$1.ESelectionMode.REMOVE, ref: (el) => { this._refineTools = el; }, refineMode: interfaces$1.ERefineMode.ALL, useLayerPicker: false })), index.h("br", null), (index.h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
1112
1112
  }
1113
1113
  //--------------------------------------------------------------------------
1114
1114
  //
@@ -1138,6 +1138,7 @@ const RefineSelection = class {
1138
1138
  * @protected
1139
1139
  */
1140
1140
  _getRefineSelectionSetList() {
1141
+ console.log("_getRefineSelectionSetList");
1141
1142
  const total = publicNotificationUtils.getTotal(this.selectionSets);
1142
1143
  const refineSet = this._getRefineSelectionSet(this.selectionSets);
1143
1144
  const numAdded = (refineSet === null || refineSet === void 0 ? void 0 : refineSet.refineIds.addIds.length) || 0;
@@ -1209,6 +1210,7 @@ const RefineSelection = class {
1209
1210
  * @protected
1210
1211
  */
1211
1212
  _updateRefineIds(selectionSet, addIds, removeIds) {
1213
+ console.log("_updateRefineIds");
1212
1214
  // remove ids if they exist in the current add or remove list
1213
1215
  selectionSet.refineIds.addIds = selectionSet.refineIds.addIds.filter(id => removeIds.indexOf(id) < 0);
1214
1216
  selectionSet.refineIds.removeIds = selectionSet.refineIds.removeIds.filter(id => addIds.indexOf(id) < 0);
@@ -19,8 +19,8 @@ const sharedListRender = require('./shared-list-render-622b5ba5.js');
19
19
  const resources = require('./resources-9c55e05c.js');
20
20
  const resources$1 = require('./resources-1f785471.js');
21
21
  const locale = require('./locale-d15229c4.js');
22
- const solutionStore = require('./solution-store-39726b81.js');
23
- const interfaces = require('./interfaces-772edf61.js');
22
+ const solutionStore = require('./solution-store-2dbab624.js');
23
+ const interfaces = require('./interfaces-17c631bf.js');
24
24
  require('./resources-b56bce71.js');
25
25
  require('./array-ace6d4b5.js');
26
26
  require('./resources-808cfca8.js');
@@ -5,7 +5,7 @@
5
5
  */
6
6
  'use strict';
7
7
 
8
- const mapViewUtils = require('./mapViewUtils-55ac76cb.js');
8
+ const mapViewUtils = require('./mapViewUtils-24d1d859.js');
9
9
 
10
10
  /** @license
11
11
  * Copyright 2022 Esri
@@ -47,7 +47,7 @@ exports.EPageType = void 0;
47
47
  exports.ERefineMode = void 0;
48
48
  (function (ERefineMode) {
49
49
  ERefineMode["ALL"] = "ALL";
50
- ERefineMode["SUBSET"] = "SUBSET";
50
+ ERefineMode["SUBSET"] = "SUBSET"; // Used as a part interactive selection "Use layer features"
51
51
  })(exports.ERefineMode || (exports.ERefineMode = {}));
52
52
  exports.ESelectionMode = void 0;
53
53
  (function (ESelectionMode) {
@@ -9,10 +9,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-ee607805.js');
11
11
  const locale = require('./locale-d15229c4.js');
12
- const mapViewUtils = require('./mapViewUtils-55ac76cb.js');
13
- const csvUtils = require('./csvUtils-83af7ae1.js');
12
+ const mapViewUtils = require('./mapViewUtils-24d1d859.js');
13
+ const csvUtils = require('./csvUtils-34666909.js');
14
14
  require('./_commonjsHelpers-6aafa5de.js');
15
- require('./interfaces-772edf61.js');
15
+ require('./interfaces-17c631bf.js');
16
16
 
17
17
  const layerTableCss = ":host{display:block}.table{display:table;width:100%}.header{display:table-header-group;background-color:#757575;font-weight:500;font-size:var(--calcite-font-size-0);color:var(--calcite-ui-text-inverse);position:sticky;top:0;z-index:1}.table-header-cell{display:table-cell;text-align:justify;border-right:1px solid var(--calcite-ui-border-2);padding:0.5rem}.table-body{display:table-row-group}.row{display:table-row}.table-cell{display:table-cell;padding:0.5rem}.display-table-header{display:table-header-group}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.justify-center{justify-content:center}.table-container{width:100%}.overflow-auto{overflow:auto}.data-container{overflow:auto;height:calc(100% - 35px)}.row:nth-child(odd){background:var(--calcite-ui-foreground-3)}.padding-3-4{padding:0.75rem}.field-width{white-space:nowrap;min-width:300px;max-width:300px;overflow:hidden}";
18
18
 
@@ -10,7 +10,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
10
10
  const index = require('./index-ee607805.js');
11
11
  const loadModules = require('./loadModules-e9007588.js');
12
12
  const locale = require('./locale-d15229c4.js');
13
- const interfaces = require('./interfaces-772edf61.js');
13
+ const interfaces = require('./interfaces-17c631bf.js');
14
14
  require('./_commonjsHelpers-6aafa5de.js');
15
15
 
16
16
  const mapCardCss = ":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.action-bar-size{height:3.5rem;width:100%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.width-1-7{width:14.28%}.width-1-6{width:16.66%}.width-full{width:100%}.height-full{height:100%}.display-flex{display:flex}.block-button{border-bottom:0}.block-button:hover{background-color:var(--calcite-ui-foreground-2)}.block-button:active{background-color:var(--calcite-ui-foreground-3)}.map-view{padding:0;margin:0;height:100%;width:100%}.map-list{position:absolute;inset:3.5rem 0 0 0;display:flex;flex-direction:column;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background);z-index:1;width:100%;height:-moz-fit-content;height:fit-content}.map-height{height:calc(100% - 58px)}.display-none{display:none}.esri-zoom{display:none !important}";
@@ -5,7 +5,7 @@
5
5
  */
6
6
  'use strict';
7
7
 
8
- const interfaces = require('./interfaces-772edf61.js');
8
+ const interfaces = require('./interfaces-17c631bf.js');
9
9
 
10
10
  /** @license
11
11
  * Copyright 2022 Esri
@@ -8,9 +8,9 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-ee607805.js');
11
- const interfaces = require('./interfaces-772edf61.js');
11
+ const interfaces = require('./interfaces-17c631bf.js');
12
12
  const loadModules = require('./loadModules-e9007588.js');
13
- const mapViewUtils = require('./mapViewUtils-55ac76cb.js');
13
+ const mapViewUtils = require('./mapViewUtils-24d1d859.js');
14
14
  const publicNotificationStore = require('./publicNotificationStore-28a8759d.js');
15
15
  const locale = require('./locale-d15229c4.js');
16
16
  const publicNotificationUtils = require('./publicNotificationUtils-9d585d8d.js');
@@ -91,7 +91,8 @@ const PublicNotification = class {
91
91
  * Handle changes to the buffer distance value
92
92
  */
93
93
  distanceChanged(event) {
94
- this._updateLabel(event);
94
+ this._updateLabel(event, "distance");
95
+ this._distance = event.detail.newValue;
95
96
  }
96
97
  /**
97
98
  * Handle changes to the selection sets
@@ -109,7 +110,8 @@ const PublicNotification = class {
109
110
  * Handle changes to the buffer unit
110
111
  */
111
112
  unitChanged(event) {
112
- this._updateLabel(event);
113
+ this._updateLabel(event, "unit");
114
+ this._unit = event.detail.newValue;
113
115
  }
114
116
  //--------------------------------------------------------------------------
115
117
  //
@@ -451,9 +453,11 @@ const PublicNotification = class {
451
453
  *
452
454
  * @protected
453
455
  */
454
- _updateLabel(evt) {
455
- if (this.customLabelEnabled && this._customLabel && this._labelName.value.indexOf(evt.detail.oldValue) > -1) {
456
- this._customLabel = this._customLabel.replace(evt.detail.oldValue, evt.detail.newValue);
456
+ _updateLabel(evt, type) {
457
+ if (this._customLabel) {
458
+ const oldV = type === "unit" ? `${this._distance} ${evt.detail.oldValue}` : `${evt.detail.oldValue} ${this._unit}`;
459
+ const newV = type === "unit" ? `${this._distance} ${evt.detail.newValue}` : `${evt.detail.newValue} ${this._unit}`;
460
+ this._customLabel = this._customLabel.replace(oldV, newV);
457
461
  this._labelName.value = this._customLabel;
458
462
  this.labelChange.emit(this._labelName.value);
459
463
  }
@@ -597,6 +601,8 @@ const PublicNotification = class {
597
601
  this._numSelected = 0;
598
602
  this._activeSelection = undefined;
599
603
  this._customLabel = undefined;
604
+ this._distance = undefined;
605
+ this._unit = undefined;
600
606
  }
601
607
  /**
602
608
  * Delete the selection at the defined index
@@ -633,9 +639,9 @@ const PublicNotification = class {
633
639
  _openSelection(selectionSet, evt) {
634
640
  evt.stopPropagation();
635
641
  this._activeSelection = selectionSet;
636
- if (this.customLabelEnabled) {
637
- this._customLabel = this._activeSelection.label;
638
- }
642
+ this._distance = this._activeSelection.distance;
643
+ this._unit = this._activeSelection.unit;
644
+ this._customLabel = this._activeSelection.label;
639
645
  this._pageType = interfaces.EPageType.SELECT;
640
646
  }
641
647
  /**
@@ -8,10 +8,10 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-ee607805.js');
11
- const solutionStore = require('./solution-store-39726b81.js');
11
+ const solutionStore = require('./solution-store-2dbab624.js');
12
12
  const locale = require('./locale-d15229c4.js');
13
13
  require('./index-a2ef93bb.js');
14
- require('./interfaces-772edf61.js');
14
+ require('./interfaces-17c631bf.js');
15
15
  require('./_commonjsHelpers-6aafa5de.js');
16
16
 
17
17
  /** @license
@@ -8,9 +8,9 @@
8
8
  Object.defineProperty(exports, '__esModule', { value: true });
9
9
 
10
10
  const index = require('./index-ee607805.js');
11
- const solutionStore = require('./solution-store-39726b81.js');
11
+ const solutionStore = require('./solution-store-2dbab624.js');
12
12
  const locale = require('./locale-d15229c4.js');
13
- require('./interfaces-772edf61.js');
13
+ require('./interfaces-17c631bf.js');
14
14
  require('./index-a2ef93bb.js');
15
15
  require('./_commonjsHelpers-6aafa5de.js');
16
16
 
@@ -6,7 +6,7 @@
6
6
  'use strict';
7
7
 
8
8
  const index = require('./index-a2ef93bb.js');
9
- const interfaces = require('./interfaces-772edf61.js');
9
+ const interfaces = require('./interfaces-17c631bf.js');
10
10
  const _commonjsHelpers = require('./_commonjsHelpers-6aafa5de.js');
11
11
 
12
12
  /*! *****************************************************************************
@@ -402,7 +402,7 @@ export class BufferTools {
402
402
  "composed": true,
403
403
  "docs": {
404
404
  "tags": [],
405
- "text": "Emitted on demand when a buffer is generated."
405
+ "text": "Emitted on demand when the distance value changes"
406
406
  },
407
407
  "complexType": {
408
408
  "original": "IValueChange",
@@ -422,7 +422,7 @@ export class BufferTools {
422
422
  "composed": true,
423
423
  "docs": {
424
424
  "tags": [],
425
- "text": "Emitted on demand when a buffer is generated."
425
+ "text": "Emitted on demand when the unit changes"
426
426
  },
427
427
  "complexType": {
428
428
  "original": "IValueChange",
@@ -174,7 +174,8 @@ export class MapDrawTools {
174
174
  "rectangle-selection": false
175
175
  }, createTools: {
176
176
  "circle": false
177
- }
177
+ },
178
+ undoRedoMenu: false
178
179
  };
179
180
  this._sketchWidget.on("update", (evt) => {
180
181
  if (evt.state === "start") {
@@ -96,7 +96,8 @@ export class PublicNotification {
96
96
  * Handle changes to the buffer distance value
97
97
  */
98
98
  distanceChanged(event) {
99
- this._updateLabel(event);
99
+ this._updateLabel(event, "distance");
100
+ this._distance = event.detail.newValue;
100
101
  }
101
102
  /**
102
103
  * Handle changes to the selection sets
@@ -114,7 +115,8 @@ export class PublicNotification {
114
115
  * Handle changes to the buffer unit
115
116
  */
116
117
  unitChanged(event) {
117
- this._updateLabel(event);
118
+ this._updateLabel(event, "unit");
119
+ this._unit = event.detail.newValue;
118
120
  }
119
121
  //--------------------------------------------------------------------------
120
122
  //
@@ -456,9 +458,11 @@ export class PublicNotification {
456
458
  *
457
459
  * @protected
458
460
  */
459
- _updateLabel(evt) {
460
- if (this.customLabelEnabled && this._customLabel && this._labelName.value.indexOf(evt.detail.oldValue) > -1) {
461
- this._customLabel = this._customLabel.replace(evt.detail.oldValue, evt.detail.newValue);
461
+ _updateLabel(evt, type) {
462
+ if (this._customLabel) {
463
+ const oldV = type === "unit" ? `${this._distance} ${evt.detail.oldValue}` : `${evt.detail.oldValue} ${this._unit}`;
464
+ const newV = type === "unit" ? `${this._distance} ${evt.detail.newValue}` : `${evt.detail.newValue} ${this._unit}`;
465
+ this._customLabel = this._customLabel.replace(oldV, newV);
462
466
  this._labelName.value = this._customLabel;
463
467
  this.labelChange.emit(this._labelName.value);
464
468
  }
@@ -602,6 +606,8 @@ export class PublicNotification {
602
606
  this._numSelected = 0;
603
607
  this._activeSelection = undefined;
604
608
  this._customLabel = undefined;
609
+ this._distance = undefined;
610
+ this._unit = undefined;
605
611
  }
606
612
  /**
607
613
  * Delete the selection at the defined index
@@ -638,9 +644,9 @@ export class PublicNotification {
638
644
  _openSelection(selectionSet, evt) {
639
645
  evt.stopPropagation();
640
646
  this._activeSelection = selectionSet;
641
- if (this.customLabelEnabled) {
642
- this._customLabel = this._activeSelection.label;
643
- }
647
+ this._distance = this._activeSelection.distance;
648
+ this._unit = this._activeSelection.unit;
649
+ this._customLabel = this._activeSelection.label;
644
650
  this._pageType = EPageType.SELECT;
645
651
  }
646
652
  /**
@@ -19,7 +19,7 @@
19
19
  * limitations under the License.
20
20
  */
21
21
  import { Host, h } from "@stencil/core";
22
- import { ESelectionMode, EWorkflowType } from "../../utils/interfaces";
22
+ import { ERefineMode, ESelectionMode, EWorkflowType } from "../../utils/interfaces";
23
23
  import * as utils from "../../utils/publicNotificationUtils";
24
24
  import { getLocaleComponentStrings } from "../../utils/locale";
25
25
  export class RefineSelection {
@@ -67,7 +67,7 @@ export class RefineSelection {
67
67
  * Renders the component.
68
68
  */
69
69
  render() {
70
- return (h(Host, null, h("div", { class: "padding-1" }, h("div", null, h("calcite-radio-group", { class: "w-100", onCalciteRadioGroupChange: (evt) => this._modeChanged(evt) }, h("calcite-radio-group-item", { checked: this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, this._translations.add), h("calcite-radio-group-item", { checked: !this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, this._translations.remove)), h("refine-selection-tools", { border: true, enabledLayerIds: this.enabledLayerIds, ids: utils.getSelectionIds(this.selectionSets), layerViews: [this.addresseeLayer], mapView: this.mapView, mode: this._addEnabled ? ESelectionMode.ADD : ESelectionMode.REMOVE, ref: (el) => { this._refineTools = el; }, useLayerPicker: false })), h("br", null), (h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
70
+ return (h(Host, null, h("div", { class: "padding-1" }, h("div", null, h("calcite-radio-group", { class: "w-100", onCalciteRadioGroupChange: (evt) => this._modeChanged(evt) }, h("calcite-radio-group-item", { checked: this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, this._translations.add), h("calcite-radio-group-item", { checked: !this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, this._translations.remove)), h("refine-selection-tools", { border: true, enabledLayerIds: this.enabledLayerIds, ids: utils.getSelectionIds(this.selectionSets), layerViews: [this.addresseeLayer], mapView: this.mapView, mode: this._addEnabled ? ESelectionMode.ADD : ESelectionMode.REMOVE, ref: (el) => { this._refineTools = el; }, refineMode: ERefineMode.ALL, useLayerPicker: false })), h("br", null), (h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
71
71
  }
72
72
  //--------------------------------------------------------------------------
73
73
  //
@@ -97,6 +97,7 @@ export class RefineSelection {
97
97
  * @protected
98
98
  */
99
99
  _getRefineSelectionSetList() {
100
+ console.log("_getRefineSelectionSetList");
100
101
  const total = utils.getTotal(this.selectionSets);
101
102
  const refineSet = this._getRefineSelectionSet(this.selectionSets);
102
103
  const numAdded = (refineSet === null || refineSet === void 0 ? void 0 : refineSet.refineIds.addIds.length) || 0;
@@ -168,6 +169,7 @@ export class RefineSelection {
168
169
  * @protected
169
170
  */
170
171
  _updateRefineIds(selectionSet, addIds, removeIds) {
172
+ console.log("_updateRefineIds");
171
173
  // remove ids if they exist in the current add or remove list
172
174
  selectionSet.refineIds.addIds = selectionSet.refineIds.addIds.filter(id => removeIds.indexOf(id) < 0);
173
175
  selectionSet.refineIds.removeIds = selectionSet.refineIds.removeIds.filter(id => addIds.indexOf(id) < 0);
@@ -60,6 +60,7 @@ html[dir="rtl"] .main-label {
60
60
  font-size: 14px;
61
61
  font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
62
62
  line-height: 1.3em;
63
+ background-color: var(--calcite-ui-foreground-1);
63
64
  }
64
65
 
65
66
  /* DIV CHILD */
@@ -131,7 +131,8 @@ export class RefineSelectionTools {
131
131
  render() {
132
132
  const showLayerPickerClass = this.useLayerPicker ? "div-visible" : "div-not-visible";
133
133
  const drawClass = this.border ? " border" : "";
134
- return (h(Host, null, h("div", null, h("map-layer-picker", { class: showLayerPickerClass, enabledLayerIds: this.enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedLayerIds: this.layerViews.map(l => l.layer.id), selectionMode: "single" }), h("div", { class: "margin-top-1" + drawClass }, h("div", { class: "esri-sketch esri-widget" }, h("div", { class: "esri-sketch__panel" }, h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, h("calcite-action", { disabled: !this._selectEnabled, icon: "select", onClick: () => this._setSelectionMode(ESelectionType.POINT), scale: "s", text: this._translations.select })), h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, h("calcite-action", { disabled: !this._selectEnabled, icon: "line", onClick: () => this._setSelectionMode(ESelectionType.LINE), scale: "s", text: this._translations.selectLine }), h("calcite-action", { disabled: !this._selectEnabled, icon: "polygon", onClick: () => this._setSelectionMode(ESelectionType.POLY), scale: "s", text: this._translations.selectPolygon }), h("calcite-action", { disabled: !this._selectEnabled, icon: "rectangle", onClick: () => this._setSelectionMode(ESelectionType.RECT), scale: "s", text: this._translations.selectRectangle })), h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, h("calcite-action", { disabled: this._undoStack.length === 0, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { disabled: this._redoStack.length === 0, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo }))))))));
134
+ const showUndoRedo = this.refineMode === ERefineMode.ALL ? "div-visible" : "div-not-visible";
135
+ return (h(Host, null, h("div", null, h("map-layer-picker", { class: showLayerPickerClass, enabledLayerIds: this.enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedLayerIds: this.layerViews.map(l => l.layer.id), selectionMode: "single" }), h("div", { class: "margin-top-1" + drawClass }, h("div", { class: "esri-sketch esri-widget" }, h("div", { class: "esri-sketch__panel" }, h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, h("calcite-action", { disabled: !this._selectEnabled, icon: "select", onClick: () => this._setSelectionMode(ESelectionType.POINT), scale: "s", text: this._translations.select })), h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, h("calcite-action", { disabled: !this._selectEnabled, icon: "line", onClick: () => this._setSelectionMode(ESelectionType.LINE), scale: "s", text: this._translations.selectLine }), h("calcite-action", { disabled: !this._selectEnabled, icon: "polygon", onClick: () => this._setSelectionMode(ESelectionType.POLY), scale: "s", text: this._translations.selectPolygon }), h("calcite-action", { disabled: !this._selectEnabled, icon: "rectangle", onClick: () => this._setSelectionMode(ESelectionType.RECT), scale: "s", text: this._translations.selectRectangle })), h("div", { class: showUndoRedo + " esri-sketch__tool-section esri-sketch__section" }, h("calcite-action", { disabled: this._undoStack.length === 0, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { disabled: this._redoStack.length === 0, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo }))))))));
135
136
  }
136
137
  //--------------------------------------------------------------------------
137
138
  //
@@ -360,6 +361,7 @@ export class RefineSelectionTools {
360
361
  * @protected
361
362
  */
362
363
  async _updateIds(oids, mode, operationStack, operationMode) {
364
+ console.log("_updateIds");
363
365
  const idUpdates = { addIds: [], removeIds: [] };
364
366
  if (mode === ESelectionMode.ADD) {
365
367
  idUpdates.addIds = oids.filter(id => this.ids.indexOf(id) < 0);
@@ -111,9 +111,10 @@
111
111
  demo.noResultText = "No results found";
112
112
  //demo.selectionLayerIds = ["1843422bf6b-layer-7"];
113
113
  demo.showSearchSettings = true;
114
- demo.customLabelEnabled = true;
114
+ demo.customLabelEnabled = false;
115
115
  // demo.bufferColor = [227, 0, 0, 0.8];
116
116
  // demo.bufferOutlineColor = [0, 255, 0];
117
+ demo.showRefineSelection = true;
117
118
  });
118
119
  </script>
119
120
  </head>
@@ -45,7 +45,7 @@ export var EPageType;
45
45
  export var ERefineMode;
46
46
  (function (ERefineMode) {
47
47
  ERefineMode["ALL"] = "ALL";
48
- ERefineMode["SUBSET"] = "SUBSET";
48
+ ERefineMode["SUBSET"] = "SUBSET"; // Used as a part interactive selection "Use layer features"
49
49
  })(ERefineMode || (ERefineMode = {}));
50
50
  export var ESelectionMode;
51
51
  (function (ESelectionMode) {
@@ -44,8 +44,8 @@ export enum EPageType {
44
44
  }
45
45
 
46
46
  export enum ERefineMode {
47
- ALL="ALL",
48
- SUBSET="SUBSET"
47
+ ALL="ALL", // Used for the refine selection workflow
48
+ SUBSET="SUBSET" // Used as a part interactive selection "Use layer features"
49
49
  }
50
50
 
51
51
  export enum ESelectionMode {
@@ -45,7 +45,7 @@ var EPageType;
45
45
  var ERefineMode;
46
46
  (function (ERefineMode) {
47
47
  ERefineMode["ALL"] = "ALL";
48
- ERefineMode["SUBSET"] = "SUBSET";
48
+ ERefineMode["SUBSET"] = "SUBSET"; // Used as a part interactive selection "Use layer features"
49
49
  })(ERefineMode || (ERefineMode = {}));
50
50
  var ESelectionMode;
51
51
  (function (ESelectionMode) {
@@ -165,7 +165,8 @@ const MapDrawTools = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
165
165
  "rectangle-selection": false
166
166
  }, createTools: {
167
167
  "circle": false
168
- }
168
+ },
169
+ undoRedoMenu: false
169
170
  };
170
171
  this._sketchWidget.on("update", (evt) => {
171
172
  if (evt.state === "start") {
@@ -122,7 +122,8 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
122
122
  * Handle changes to the buffer distance value
123
123
  */
124
124
  distanceChanged(event) {
125
- this._updateLabel(event);
125
+ this._updateLabel(event, "distance");
126
+ this._distance = event.detail.newValue;
126
127
  }
127
128
  /**
128
129
  * Handle changes to the selection sets
@@ -140,7 +141,8 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
140
141
  * Handle changes to the buffer unit
141
142
  */
142
143
  unitChanged(event) {
143
- this._updateLabel(event);
144
+ this._updateLabel(event, "unit");
145
+ this._unit = event.detail.newValue;
144
146
  }
145
147
  //--------------------------------------------------------------------------
146
148
  //
@@ -482,9 +484,11 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
482
484
  *
483
485
  * @protected
484
486
  */
485
- _updateLabel(evt) {
486
- if (this.customLabelEnabled && this._customLabel && this._labelName.value.indexOf(evt.detail.oldValue) > -1) {
487
- this._customLabel = this._customLabel.replace(evt.detail.oldValue, evt.detail.newValue);
487
+ _updateLabel(evt, type) {
488
+ if (this._customLabel) {
489
+ const oldV = type === "unit" ? `${this._distance} ${evt.detail.oldValue}` : `${evt.detail.oldValue} ${this._unit}`;
490
+ const newV = type === "unit" ? `${this._distance} ${evt.detail.newValue}` : `${evt.detail.newValue} ${this._unit}`;
491
+ this._customLabel = this._customLabel.replace(oldV, newV);
488
492
  this._labelName.value = this._customLabel;
489
493
  this.labelChange.emit(this._labelName.value);
490
494
  }
@@ -628,6 +632,8 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
628
632
  this._numSelected = 0;
629
633
  this._activeSelection = undefined;
630
634
  this._customLabel = undefined;
635
+ this._distance = undefined;
636
+ this._unit = undefined;
631
637
  }
632
638
  /**
633
639
  * Delete the selection at the defined index
@@ -664,9 +670,9 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
664
670
  _openSelection(selectionSet, evt) {
665
671
  evt.stopPropagation();
666
672
  this._activeSelection = selectionSet;
667
- if (this.customLabelEnabled) {
668
- this._customLabel = this._activeSelection.label;
669
- }
673
+ this._distance = this._activeSelection.distance;
674
+ this._unit = this._activeSelection.unit;
675
+ this._customLabel = this._activeSelection.label;
670
676
  this._pageType = EPageType.SELECT;
671
677
  }
672
678
  /**
@@ -19,7 +19,7 @@ import { d as defineCustomElement$4 } from './loader.js';
19
19
  import { d as defineCustomElement$3 } from './option.js';
20
20
  import { d as defineCustomElement$2 } from './select.js';
21
21
 
22
- const refineSelectionToolsCss = ":host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=\"rtl\"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:\"Avenir Next\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:1.3em}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}";
22
+ const refineSelectionToolsCss = ":host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir=\"rtl\"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-ui-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:\"Avenir Next\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:1.3em;background-color:var(--calcite-ui-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110,110,110,.3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110,110,110,.3)}";
23
23
 
24
24
  const RefineSelectionTools = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
25
25
  constructor() {
@@ -132,7 +132,8 @@ const RefineSelectionTools = /*@__PURE__*/ proxyCustomElement(class extends HTML
132
132
  render() {
133
133
  const showLayerPickerClass = this.useLayerPicker ? "div-visible" : "div-not-visible";
134
134
  const drawClass = this.border ? " border" : "";
135
- return (h(Host, null, h("div", null, h("map-layer-picker", { class: showLayerPickerClass, enabledLayerIds: this.enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedLayerIds: this.layerViews.map(l => l.layer.id), selectionMode: "single" }), h("div", { class: "margin-top-1" + drawClass }, h("div", { class: "esri-sketch esri-widget" }, h("div", { class: "esri-sketch__panel" }, h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, h("calcite-action", { disabled: !this._selectEnabled, icon: "select", onClick: () => this._setSelectionMode(ESelectionType.POINT), scale: "s", text: this._translations.select })), h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, h("calcite-action", { disabled: !this._selectEnabled, icon: "line", onClick: () => this._setSelectionMode(ESelectionType.LINE), scale: "s", text: this._translations.selectLine }), h("calcite-action", { disabled: !this._selectEnabled, icon: "polygon", onClick: () => this._setSelectionMode(ESelectionType.POLY), scale: "s", text: this._translations.selectPolygon }), h("calcite-action", { disabled: !this._selectEnabled, icon: "rectangle", onClick: () => this._setSelectionMode(ESelectionType.RECT), scale: "s", text: this._translations.selectRectangle })), h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, h("calcite-action", { disabled: this._undoStack.length === 0, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { disabled: this._redoStack.length === 0, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo }))))))));
135
+ const showUndoRedo = this.refineMode === ERefineMode.ALL ? "div-visible" : "div-not-visible";
136
+ return (h(Host, null, h("div", null, h("map-layer-picker", { class: showLayerPickerClass, enabledLayerIds: this.enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedLayerIds: this.layerViews.map(l => l.layer.id), selectionMode: "single" }), h("div", { class: "margin-top-1" + drawClass }, h("div", { class: "esri-sketch esri-widget" }, h("div", { class: "esri-sketch__panel" }, h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, h("calcite-action", { disabled: !this._selectEnabled, icon: "select", onClick: () => this._setSelectionMode(ESelectionType.POINT), scale: "s", text: this._translations.select })), h("div", { class: "esri-sketch__tool-section esri-sketch__section" }, h("calcite-action", { disabled: !this._selectEnabled, icon: "line", onClick: () => this._setSelectionMode(ESelectionType.LINE), scale: "s", text: this._translations.selectLine }), h("calcite-action", { disabled: !this._selectEnabled, icon: "polygon", onClick: () => this._setSelectionMode(ESelectionType.POLY), scale: "s", text: this._translations.selectPolygon }), h("calcite-action", { disabled: !this._selectEnabled, icon: "rectangle", onClick: () => this._setSelectionMode(ESelectionType.RECT), scale: "s", text: this._translations.selectRectangle })), h("div", { class: showUndoRedo + " esri-sketch__tool-section esri-sketch__section" }, h("calcite-action", { disabled: this._undoStack.length === 0, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { disabled: this._redoStack.length === 0, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo }))))))));
136
137
  }
137
138
  //--------------------------------------------------------------------------
138
139
  //
@@ -361,6 +362,7 @@ const RefineSelectionTools = /*@__PURE__*/ proxyCustomElement(class extends HTML
361
362
  * @protected
362
363
  */
363
364
  async _updateIds(oids, mode, operationStack, operationMode) {
365
+ console.log("_updateIds");
364
366
  const idUpdates = { addIds: [], removeIds: [] };
365
367
  if (mode === ESelectionMode.ADD) {
366
368
  idUpdates.addIds = oids.filter(id => this.ids.indexOf(id) < 0);