@esri/solutions-components 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (530) hide show
  1. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +16 -6
  2. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +1 -1
  3. package/dist/cjs/solution-configuration.cjs.entry.js +10 -3
  4. package/dist/cjs/solution-configuration.cjs.entry.js.map +1 -1
  5. package/dist/cjs/solution-contents_3.cjs.entry.js +3 -1
  6. package/dist/cjs/solution-contents_3.cjs.entry.js.map +1 -1
  7. package/dist/cjs/{solution-store-e2fc11ac.js → solution-store-893499a5.js} +3 -1
  8. package/dist/cjs/solution-store-893499a5.js.map +1 -0
  9. package/dist/collection/components/solution-configuration/solution-configuration.js +9 -2
  10. package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -1
  11. package/dist/collection/components/solution-item/solution-item.js +2 -0
  12. package/dist/collection/components/solution-item/solution-item.js.map +1 -1
  13. package/dist/collection/components/solution-item-details/solution-item-details.js +15 -5
  14. package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -1
  15. package/dist/collection/utils/solution-store.js +2 -0
  16. package/dist/collection/utils/solution-store.js.map +1 -1
  17. package/dist/collection/utils/solution-store.ts +2 -0
  18. package/dist/esm/calcite-shell-panel_14.entry.js +16 -6
  19. package/dist/esm/calcite-shell-panel_14.entry.js.map +1 -1
  20. package/dist/esm/solution-configuration.entry.js +10 -3
  21. package/dist/esm/solution-configuration.entry.js.map +1 -1
  22. package/dist/esm/solution-contents_3.entry.js +3 -1
  23. package/dist/esm/solution-contents_3.entry.js.map +1 -1
  24. package/dist/esm/{solution-store-b3c65467.js → solution-store-0c58c852.js} +3 -1
  25. package/dist/esm/solution-store-0c58c852.js.map +1 -0
  26. package/dist/solutions-components/{p-b25f6ebe.js → p-659edb14.js} +3 -1
  27. package/dist/solutions-components/p-659edb14.js.map +1 -0
  28. package/dist/solutions-components/{p-638738f2.entry.js → p-77c75f3a.entry.js} +4 -2
  29. package/dist/solutions-components/p-77c75f3a.entry.js.map +1 -0
  30. package/dist/solutions-components/{p-7e8985f2.entry.js → p-90629c1d.entry.js} +11 -4
  31. package/dist/solutions-components/p-90629c1d.entry.js.map +1 -0
  32. package/dist/solutions-components/{p-542189bc.entry.js → p-984cb687.entry.js} +17 -7
  33. package/dist/solutions-components/p-984cb687.entry.js.map +1 -0
  34. package/dist/solutions-components/solutions-components.esm.js +1 -1
  35. package/dist/solutions-components/utils/solution-store.ts +2 -0
  36. package/dist/solutions-components_commit.txt +9 -6
  37. package/dist/types/components/solution-item-details/solution-item-details.d.ts +2 -1
  38. package/package.json +1 -1
  39. package/dist/cjs/solution-store-e2fc11ac.js.map +0 -1
  40. package/dist/components/ExpandToggle.js +0 -112
  41. package/dist/components/ExpandToggle.js.map +0 -1
  42. package/dist/components/Heading.js +0 -24
  43. package/dist/components/Heading.js.map +0 -1
  44. package/dist/components/_commonjsHelpers.js +0 -24
  45. package/dist/components/_commonjsHelpers.js.map +0 -1
  46. package/dist/components/action-bar.js +0 -278
  47. package/dist/components/action-bar.js.map +0 -1
  48. package/dist/components/action-group.js +0 -151
  49. package/dist/components/action-group.js.map +0 -1
  50. package/dist/components/action-menu.js +0 -358
  51. package/dist/components/action-menu.js.map +0 -1
  52. package/dist/components/action.js +0 -216
  53. package/dist/components/action.js.map +0 -1
  54. package/dist/components/array.js +0 -17
  55. package/dist/components/array.js.map +0 -1
  56. package/dist/components/buffer-tools.d.ts +0 -11
  57. package/dist/components/buffer-tools.js +0 -13
  58. package/dist/components/buffer-tools.js.map +0 -1
  59. package/dist/components/buffer-tools2.js +0 -256
  60. package/dist/components/buffer-tools2.js.map +0 -1
  61. package/dist/components/button.js +0 -265
  62. package/dist/components/button.js.map +0 -1
  63. package/dist/components/calcite-accordion-item.js +0 -246
  64. package/dist/components/calcite-accordion-item.js.map +0 -1
  65. package/dist/components/calcite-accordion.js +0 -182
  66. package/dist/components/calcite-accordion.js.map +0 -1
  67. package/dist/components/calcite-action-bar.js +0 -13
  68. package/dist/components/calcite-action-bar.js.map +0 -1
  69. package/dist/components/calcite-action-group.js +0 -13
  70. package/dist/components/calcite-action-group.js.map +0 -1
  71. package/dist/components/calcite-action-menu.js +0 -13
  72. package/dist/components/calcite-action-menu.js.map +0 -1
  73. package/dist/components/calcite-action-pad.js +0 -199
  74. package/dist/components/calcite-action-pad.js.map +0 -1
  75. package/dist/components/calcite-action.js +0 -13
  76. package/dist/components/calcite-action.js.map +0 -1
  77. package/dist/components/calcite-alert.js +0 -299
  78. package/dist/components/calcite-alert.js.map +0 -1
  79. package/dist/components/calcite-avatar.js +0 -184
  80. package/dist/components/calcite-avatar.js.map +0 -1
  81. package/dist/components/calcite-block-section.js +0 -157
  82. package/dist/components/calcite-block-section.js.map +0 -1
  83. package/dist/components/calcite-block.js +0 -277
  84. package/dist/components/calcite-block.js.map +0 -1
  85. package/dist/components/calcite-button.js +0 -13
  86. package/dist/components/calcite-button.js.map +0 -1
  87. package/dist/components/calcite-card.js +0 -189
  88. package/dist/components/calcite-card.js.map +0 -1
  89. package/dist/components/calcite-checkbox.js +0 -13
  90. package/dist/components/calcite-checkbox.js.map +0 -1
  91. package/dist/components/calcite-chip.js +0 -13
  92. package/dist/components/calcite-chip.js.map +0 -1
  93. package/dist/components/calcite-color-picker-hex-input.js +0 -13
  94. package/dist/components/calcite-color-picker-hex-input.js.map +0 -1
  95. package/dist/components/calcite-color-picker-swatch.js +0 -13
  96. package/dist/components/calcite-color-picker-swatch.js.map +0 -1
  97. package/dist/components/calcite-color-picker.js +0 -1038
  98. package/dist/components/calcite-color-picker.js.map +0 -1
  99. package/dist/components/calcite-combobox-item-group.js +0 -77
  100. package/dist/components/calcite-combobox-item-group.js.map +0 -1
  101. package/dist/components/calcite-combobox-item.js +0 -13
  102. package/dist/components/calcite-combobox-item.js.map +0 -1
  103. package/dist/components/calcite-combobox.js +0 -13
  104. package/dist/components/calcite-combobox.js.map +0 -1
  105. package/dist/components/calcite-date-picker-day.js +0 -13
  106. package/dist/components/calcite-date-picker-day.js.map +0 -1
  107. package/dist/components/calcite-date-picker-month-header.js +0 -13
  108. package/dist/components/calcite-date-picker-month-header.js.map +0 -1
  109. package/dist/components/calcite-date-picker-month.js +0 -13
  110. package/dist/components/calcite-date-picker-month.js.map +0 -1
  111. package/dist/components/calcite-date-picker.js +0 -13
  112. package/dist/components/calcite-date-picker.js.map +0 -1
  113. package/dist/components/calcite-dropdown-group.js +0 -101
  114. package/dist/components/calcite-dropdown-group.js.map +0 -1
  115. package/dist/components/calcite-dropdown-item.js +0 -237
  116. package/dist/components/calcite-dropdown-item.js.map +0 -1
  117. package/dist/components/calcite-dropdown.js +0 -13
  118. package/dist/components/calcite-dropdown.js.map +0 -1
  119. package/dist/components/calcite-fab.js +0 -146
  120. package/dist/components/calcite-fab.js.map +0 -1
  121. package/dist/components/calcite-filter.js +0 -197
  122. package/dist/components/calcite-filter.js.map +0 -1
  123. package/dist/components/calcite-flow-item.js +0 -245
  124. package/dist/components/calcite-flow-item.js.map +0 -1
  125. package/dist/components/calcite-flow.js +0 -149
  126. package/dist/components/calcite-flow.js.map +0 -1
  127. package/dist/components/calcite-graph.js +0 -13
  128. package/dist/components/calcite-graph.js.map +0 -1
  129. package/dist/components/calcite-handle.js +0 -13
  130. package/dist/components/calcite-handle.js.map +0 -1
  131. package/dist/components/calcite-icon.js +0 -13
  132. package/dist/components/calcite-icon.js.map +0 -1
  133. package/dist/components/calcite-inline-editable.js +0 -296
  134. package/dist/components/calcite-inline-editable.js.map +0 -1
  135. package/dist/components/calcite-input-date-picker.js +0 -715
  136. package/dist/components/calcite-input-date-picker.js.map +0 -1
  137. package/dist/components/calcite-input-message.js +0 -13
  138. package/dist/components/calcite-input-message.js.map +0 -1
  139. package/dist/components/calcite-input-number.js +0 -639
  140. package/dist/components/calcite-input-number.js.map +0 -1
  141. package/dist/components/calcite-input-text.js +0 -402
  142. package/dist/components/calcite-input-text.js.map +0 -1
  143. package/dist/components/calcite-input-time-picker.js +0 -436
  144. package/dist/components/calcite-input-time-picker.js.map +0 -1
  145. package/dist/components/calcite-input.js +0 -13
  146. package/dist/components/calcite-input.js.map +0 -1
  147. package/dist/components/calcite-label.js +0 -13
  148. package/dist/components/calcite-label.js.map +0 -1
  149. package/dist/components/calcite-link.js +0 -13
  150. package/dist/components/calcite-link.js.map +0 -1
  151. package/dist/components/calcite-list-item-group.js +0 -67
  152. package/dist/components/calcite-list-item-group.js.map +0 -1
  153. package/dist/components/calcite-list-item.js +0 -13
  154. package/dist/components/calcite-list-item.js.map +0 -1
  155. package/dist/components/calcite-list.js +0 -13
  156. package/dist/components/calcite-list.js.map +0 -1
  157. package/dist/components/calcite-loader.js +0 -13
  158. package/dist/components/calcite-loader.js.map +0 -1
  159. package/dist/components/calcite-modal.js +0 -500
  160. package/dist/components/calcite-modal.js.map +0 -1
  161. package/dist/components/calcite-notice.js +0 -13
  162. package/dist/components/calcite-notice.js.map +0 -1
  163. package/dist/components/calcite-option-group.js +0 -66
  164. package/dist/components/calcite-option-group.js.map +0 -1
  165. package/dist/components/calcite-option.js +0 -13
  166. package/dist/components/calcite-option.js.map +0 -1
  167. package/dist/components/calcite-pagination.js +0 -260
  168. package/dist/components/calcite-pagination.js.map +0 -1
  169. package/dist/components/calcite-panel.js +0 -13
  170. package/dist/components/calcite-panel.js.map +0 -1
  171. package/dist/components/calcite-pick-list-group.js +0 -76
  172. package/dist/components/calcite-pick-list-group.js.map +0 -1
  173. package/dist/components/calcite-pick-list-item.js +0 -13
  174. package/dist/components/calcite-pick-list-item.js.map +0 -1
  175. package/dist/components/calcite-pick-list.js +0 -175
  176. package/dist/components/calcite-pick-list.js.map +0 -1
  177. package/dist/components/calcite-popover-manager.js +0 -96
  178. package/dist/components/calcite-popover-manager.js.map +0 -1
  179. package/dist/components/calcite-popover.js +0 -13
  180. package/dist/components/calcite-popover.js.map +0 -1
  181. package/dist/components/calcite-progress.js +0 -13
  182. package/dist/components/calcite-progress.js.map +0 -1
  183. package/dist/components/calcite-radio-button-group.js +0 -134
  184. package/dist/components/calcite-radio-button-group.js.map +0 -1
  185. package/dist/components/calcite-radio-button.js +0 -312
  186. package/dist/components/calcite-radio-button.js.map +0 -1
  187. package/dist/components/calcite-radio-group-item.js +0 -13
  188. package/dist/components/calcite-radio-group-item.js.map +0 -1
  189. package/dist/components/calcite-radio-group.js +0 -13
  190. package/dist/components/calcite-radio-group.js.map +0 -1
  191. package/dist/components/calcite-rating.js +0 -203
  192. package/dist/components/calcite-rating.js.map +0 -1
  193. package/dist/components/calcite-scrim.js +0 -13
  194. package/dist/components/calcite-scrim.js.map +0 -1
  195. package/dist/components/calcite-select.js +0 -13
  196. package/dist/components/calcite-select.js.map +0 -1
  197. package/dist/components/calcite-shell-center-row.js +0 -102
  198. package/dist/components/calcite-shell-center-row.js.map +0 -1
  199. package/dist/components/calcite-shell-panel.js +0 -13
  200. package/dist/components/calcite-shell-panel.js.map +0 -1
  201. package/dist/components/calcite-shell.js +0 -13
  202. package/dist/components/calcite-shell.js.map +0 -1
  203. package/dist/components/calcite-slider.js +0 -13
  204. package/dist/components/calcite-slider.js.map +0 -1
  205. package/dist/components/calcite-sortable-list.js +0 -204
  206. package/dist/components/calcite-sortable-list.js.map +0 -1
  207. package/dist/components/calcite-split-button.js +0 -170
  208. package/dist/components/calcite-split-button.js.map +0 -1
  209. package/dist/components/calcite-stepper-item.js +0 -273
  210. package/dist/components/calcite-stepper-item.js.map +0 -1
  211. package/dist/components/calcite-stepper.js +0 -258
  212. package/dist/components/calcite-stepper.js.map +0 -1
  213. package/dist/components/calcite-switch.js +0 -13
  214. package/dist/components/calcite-switch.js.map +0 -1
  215. package/dist/components/calcite-tab-nav.js +0 -13
  216. package/dist/components/calcite-tab-nav.js.map +0 -1
  217. package/dist/components/calcite-tab-title.js +0 -13
  218. package/dist/components/calcite-tab-title.js.map +0 -1
  219. package/dist/components/calcite-tab.js +0 -13
  220. package/dist/components/calcite-tab.js.map +0 -1
  221. package/dist/components/calcite-tabs.js +0 -13
  222. package/dist/components/calcite-tabs.js.map +0 -1
  223. package/dist/components/calcite-tile-select-group.js +0 -67
  224. package/dist/components/calcite-tile-select-group.js.map +0 -1
  225. package/dist/components/calcite-tile-select.js +0 -268
  226. package/dist/components/calcite-tile-select.js.map +0 -1
  227. package/dist/components/calcite-tile.js +0 -13
  228. package/dist/components/calcite-tile.js.map +0 -1
  229. package/dist/components/calcite-time-picker.js +0 -13
  230. package/dist/components/calcite-time-picker.js.map +0 -1
  231. package/dist/components/calcite-tip-group.js +0 -43
  232. package/dist/components/calcite-tip-group.js.map +0 -1
  233. package/dist/components/calcite-tip-manager.js +0 -225
  234. package/dist/components/calcite-tip-manager.js.map +0 -1
  235. package/dist/components/calcite-tip.js +0 -164
  236. package/dist/components/calcite-tip.js.map +0 -1
  237. package/dist/components/calcite-tooltip-manager.js +0 -59
  238. package/dist/components/calcite-tooltip-manager.js.map +0 -1
  239. package/dist/components/calcite-tooltip.js +0 -13
  240. package/dist/components/calcite-tooltip.js.map +0 -1
  241. package/dist/components/calcite-tree-item.js +0 -13
  242. package/dist/components/calcite-tree-item.js.map +0 -1
  243. package/dist/components/calcite-tree.js +0 -13
  244. package/dist/components/calcite-tree.js.map +0 -1
  245. package/dist/components/calcite-value-list-item.js +0 -13
  246. package/dist/components/calcite-value-list-item.js.map +0 -1
  247. package/dist/components/calcite-value-list.js +0 -13
  248. package/dist/components/calcite-value-list.js.map +0 -1
  249. package/dist/components/check-list.d.ts +0 -11
  250. package/dist/components/check-list.js +0 -13
  251. package/dist/components/check-list.js.map +0 -1
  252. package/dist/components/check-list2.js +0 -128
  253. package/dist/components/check-list2.js.map +0 -1
  254. package/dist/components/checkbox.js +0 -167
  255. package/dist/components/checkbox.js.map +0 -1
  256. package/dist/components/chip.js +0 -172
  257. package/dist/components/chip.js.map +0 -1
  258. package/dist/components/color-picker-hex-input.js +0 -365
  259. package/dist/components/color-picker-hex-input.js.map +0 -1
  260. package/dist/components/color-picker-swatch.js +0 -2036
  261. package/dist/components/color-picker-swatch.js.map +0 -1
  262. package/dist/components/combobox-item.js +0 -184
  263. package/dist/components/combobox-item.js.map +0 -1
  264. package/dist/components/combobox.js +0 -914
  265. package/dist/components/combobox.js.map +0 -1
  266. package/dist/components/conditionalSlot.js +0 -52
  267. package/dist/components/conditionalSlot.js.map +0 -1
  268. package/dist/components/config-buffer-tools.d.ts +0 -11
  269. package/dist/components/config-buffer-tools.js +0 -185
  270. package/dist/components/config-buffer-tools.js.map +0 -1
  271. package/dist/components/config-draw-tools.d.ts +0 -11
  272. package/dist/components/config-draw-tools.js +0 -124
  273. package/dist/components/config-draw-tools.js.map +0 -1
  274. package/dist/components/config-layer-picker.d.ts +0 -11
  275. package/dist/components/config-layer-picker.js +0 -148
  276. package/dist/components/config-layer-picker.js.map +0 -1
  277. package/dist/components/config-pdf-download.d.ts +0 -11
  278. package/dist/components/config-pdf-download.js +0 -157
  279. package/dist/components/config-pdf-download.js.map +0 -1
  280. package/dist/components/date-picker-day.js +0 -113
  281. package/dist/components/date-picker-day.js.map +0 -1
  282. package/dist/components/date-picker-month-header.js +0 -226
  283. package/dist/components/date-picker-month-header.js.map +0 -1
  284. package/dist/components/date-picker-month.js +0 -346
  285. package/dist/components/date-picker-month.js.map +0 -1
  286. package/dist/components/date-picker.js +0 -577
  287. package/dist/components/date-picker.js.map +0 -1
  288. package/dist/components/date.js +0 -182
  289. package/dist/components/date.js.map +0 -1
  290. package/dist/components/debounce.js +0 -489
  291. package/dist/components/debounce.js.map +0 -1
  292. package/dist/components/dom.js +0 -233
  293. package/dist/components/dom.js.map +0 -1
  294. package/dist/components/dropdown.js +0 -507
  295. package/dist/components/dropdown.js.map +0 -1
  296. package/dist/components/filter.js +0 -765
  297. package/dist/components/filter.js.map +0 -1
  298. package/dist/components/floating-ui.js +0 -1787
  299. package/dist/components/floating-ui.js.map +0 -1
  300. package/dist/components/form.js +0 -230
  301. package/dist/components/form.js.map +0 -1
  302. package/dist/components/graph.js +0 -256
  303. package/dist/components/graph.js.map +0 -1
  304. package/dist/components/guid.js +0 -26
  305. package/dist/components/guid.js.map +0 -1
  306. package/dist/components/handle.js +0 -121
  307. package/dist/components/handle.js.map +0 -1
  308. package/dist/components/icon.js +0 -204
  309. package/dist/components/icon.js.map +0 -1
  310. package/dist/components/index.d.ts +0 -48
  311. package/dist/components/index.js +0 -190
  312. package/dist/components/index.js.map +0 -1
  313. package/dist/components/index2.js +0 -201
  314. package/dist/components/index2.js.map +0 -1
  315. package/dist/components/input-message.js +0 -103
  316. package/dist/components/input-message.js.map +0 -1
  317. package/dist/components/input.js +0 -742
  318. package/dist/components/input.js.map +0 -1
  319. package/dist/components/interactive.js +0 -53
  320. package/dist/components/interactive.js.map +0 -1
  321. package/dist/components/interfaces.js +0 -21
  322. package/dist/components/interfaces.js.map +0 -1
  323. package/dist/components/interfaces2.js +0 -23
  324. package/dist/components/interfaces2.js.map +0 -1
  325. package/dist/components/interfaces3.js +0 -72
  326. package/dist/components/interfaces3.js.map +0 -1
  327. package/dist/components/json-editor.d.ts +0 -11
  328. package/dist/components/json-editor.js +0 -13
  329. package/dist/components/json-editor.js.map +0 -1
  330. package/dist/components/json-editor2.js +0 -443
  331. package/dist/components/json-editor2.js.map +0 -1
  332. package/dist/components/key.js +0 -18
  333. package/dist/components/key.js.map +0 -1
  334. package/dist/components/label.js +0 -108
  335. package/dist/components/label.js.map +0 -1
  336. package/dist/components/label2.js +0 -133
  337. package/dist/components/label2.js.map +0 -1
  338. package/dist/components/labelFormats.js +0 -212
  339. package/dist/components/labelFormats.js.map +0 -1
  340. package/dist/components/link.js +0 -125
  341. package/dist/components/link.js.map +0 -1
  342. package/dist/components/list-item.js +0 -151
  343. package/dist/components/list-item.js.map +0 -1
  344. package/dist/components/list.js +0 -85
  345. package/dist/components/list.js.map +0 -1
  346. package/dist/components/loadModules.js +0 -30
  347. package/dist/components/loadModules.js.map +0 -1
  348. package/dist/components/loader.js +0 -118
  349. package/dist/components/loader.js.map +0 -1
  350. package/dist/components/locale.js +0 -414
  351. package/dist/components/locale.js.map +0 -1
  352. package/dist/components/locale2.js +0 -415
  353. package/dist/components/locale2.js.map +0 -1
  354. package/dist/components/map-draw-tools.d.ts +0 -11
  355. package/dist/components/map-draw-tools.js +0 -13
  356. package/dist/components/map-draw-tools.js.map +0 -1
  357. package/dist/components/map-draw-tools2.js +0 -230
  358. package/dist/components/map-draw-tools2.js.map +0 -1
  359. package/dist/components/map-layer-picker.d.ts +0 -11
  360. package/dist/components/map-layer-picker.js +0 -13
  361. package/dist/components/map-layer-picker.js.map +0 -1
  362. package/dist/components/map-layer-picker2.js +0 -190
  363. package/dist/components/map-layer-picker2.js.map +0 -1
  364. package/dist/components/map-search.d.ts +0 -11
  365. package/dist/components/map-search.js +0 -157
  366. package/dist/components/map-search.js.map +0 -1
  367. package/dist/components/map-select-tools.d.ts +0 -11
  368. package/dist/components/map-select-tools.js +0 -13
  369. package/dist/components/map-select-tools.js.map +0 -1
  370. package/dist/components/map-select-tools2.js +0 -555
  371. package/dist/components/map-select-tools2.js.map +0 -1
  372. package/dist/components/mapViewUtils.js +0 -131
  373. package/dist/components/mapViewUtils.js.map +0 -1
  374. package/dist/components/math.js +0 -26
  375. package/dist/components/math.js.map +0 -1
  376. package/dist/components/nonChromiumPlatformUtils.js +0 -505
  377. package/dist/components/nonChromiumPlatformUtils.js.map +0 -1
  378. package/dist/components/notice.js +0 -194
  379. package/dist/components/notice.js.map +0 -1
  380. package/dist/components/observers.js +0 -58
  381. package/dist/components/observers.js.map +0 -1
  382. package/dist/components/openCloseComponent.js +0 -58
  383. package/dist/components/openCloseComponent.js.map +0 -1
  384. package/dist/components/option.js +0 -111
  385. package/dist/components/option.js.map +0 -1
  386. package/dist/components/panel.js +0 -461
  387. package/dist/components/panel.js.map +0 -1
  388. package/dist/components/pdf-download.d.ts +0 -11
  389. package/dist/components/pdf-download.js +0 -13
  390. package/dist/components/pdf-download.js.map +0 -1
  391. package/dist/components/pdf-download2.js +0 -243
  392. package/dist/components/pdf-download2.js.map +0 -1
  393. package/dist/components/pick-list-item.js +0 -257
  394. package/dist/components/pick-list-item.js.map +0 -1
  395. package/dist/components/popover.js +0 -502
  396. package/dist/components/popover.js.map +0 -1
  397. package/dist/components/progress.js +0 -62
  398. package/dist/components/progress.js.map +0 -1
  399. package/dist/components/public-notification.d.ts +0 -11
  400. package/dist/components/public-notification.js +0 -784
  401. package/dist/components/public-notification.js.map +0 -1
  402. package/dist/components/publicNotificationStore.js +0 -40
  403. package/dist/components/publicNotificationStore.js.map +0 -1
  404. package/dist/components/queryUtils.js +0 -163
  405. package/dist/components/queryUtils.js.map +0 -1
  406. package/dist/components/radio-group-item.js +0 -103
  407. package/dist/components/radio-group-item.js.map +0 -1
  408. package/dist/components/radio-group.js +0 -237
  409. package/dist/components/radio-group.js.map +0 -1
  410. package/dist/components/refine-selection-tools.d.ts +0 -11
  411. package/dist/components/refine-selection-tools.js +0 -13
  412. package/dist/components/refine-selection-tools.js.map +0 -1
  413. package/dist/components/refine-selection-tools2.js +0 -500
  414. package/dist/components/refine-selection-tools2.js.map +0 -1
  415. package/dist/components/refine-selection.d.ts +0 -11
  416. package/dist/components/refine-selection.js +0 -13
  417. package/dist/components/refine-selection.js.map +0 -1
  418. package/dist/components/refine-selection2.js +0 -369
  419. package/dist/components/refine-selection2.js.map +0 -1
  420. package/dist/components/resources.js +0 -26
  421. package/dist/components/resources.js.map +0 -1
  422. package/dist/components/resources2.js +0 -23
  423. package/dist/components/resources2.js.map +0 -1
  424. package/dist/components/resources3.js +0 -40
  425. package/dist/components/resources3.js.map +0 -1
  426. package/dist/components/scrim.js +0 -85
  427. package/dist/components/scrim.js.map +0 -1
  428. package/dist/components/select.js +0 -261
  429. package/dist/components/select.js.map +0 -1
  430. package/dist/components/shared-list-render.js +0 -321
  431. package/dist/components/shared-list-render.js.map +0 -1
  432. package/dist/components/shell-panel.js +0 -283
  433. package/dist/components/shell-panel.js.map +0 -1
  434. package/dist/components/shell.js +0 -123
  435. package/dist/components/shell.js.map +0 -1
  436. package/dist/components/slider.js +0 -898
  437. package/dist/components/slider.js.map +0 -1
  438. package/dist/components/solution-configuration.d.ts +0 -11
  439. package/dist/components/solution-configuration.js +0 -2225
  440. package/dist/components/solution-configuration.js.map +0 -1
  441. package/dist/components/solution-contents.d.ts +0 -11
  442. package/dist/components/solution-contents.js +0 -13
  443. package/dist/components/solution-contents.js.map +0 -1
  444. package/dist/components/solution-contents2.js +0 -130
  445. package/dist/components/solution-contents2.js.map +0 -1
  446. package/dist/components/solution-item-details.d.ts +0 -11
  447. package/dist/components/solution-item-details.js +0 -13
  448. package/dist/components/solution-item-details.js.map +0 -1
  449. package/dist/components/solution-item-details2.js +0 -236
  450. package/dist/components/solution-item-details2.js.map +0 -1
  451. package/dist/components/solution-item-icon.d.ts +0 -11
  452. package/dist/components/solution-item-icon.js +0 -13
  453. package/dist/components/solution-item-icon.js.map +0 -1
  454. package/dist/components/solution-item-icon2.js +0 -344
  455. package/dist/components/solution-item-icon2.js.map +0 -1
  456. package/dist/components/solution-item-sharing.d.ts +0 -11
  457. package/dist/components/solution-item-sharing.js +0 -13
  458. package/dist/components/solution-item-sharing.js.map +0 -1
  459. package/dist/components/solution-item-sharing2.js +0 -169
  460. package/dist/components/solution-item-sharing2.js.map +0 -1
  461. package/dist/components/solution-item.d.ts +0 -11
  462. package/dist/components/solution-item.js +0 -13
  463. package/dist/components/solution-item.js.map +0 -1
  464. package/dist/components/solution-item2.js +0 -317
  465. package/dist/components/solution-item2.js.map +0 -1
  466. package/dist/components/solution-organization-variables.d.ts +0 -11
  467. package/dist/components/solution-organization-variables.js +0 -13
  468. package/dist/components/solution-organization-variables.js.map +0 -1
  469. package/dist/components/solution-organization-variables2.js +0 -134
  470. package/dist/components/solution-organization-variables2.js.map +0 -1
  471. package/dist/components/solution-resource-item.d.ts +0 -11
  472. package/dist/components/solution-resource-item.js +0 -13
  473. package/dist/components/solution-resource-item.js.map +0 -1
  474. package/dist/components/solution-resource-item2.js +0 -358
  475. package/dist/components/solution-resource-item2.js.map +0 -1
  476. package/dist/components/solution-spatial-ref.d.ts +0 -11
  477. package/dist/components/solution-spatial-ref.js +0 -13
  478. package/dist/components/solution-spatial-ref.js.map +0 -1
  479. package/dist/components/solution-spatial-ref2.js +0 -21448
  480. package/dist/components/solution-spatial-ref2.js.map +0 -1
  481. package/dist/components/solution-store.js +0 -4094
  482. package/dist/components/solution-store.js.map +0 -1
  483. package/dist/components/solution-template-data.d.ts +0 -11
  484. package/dist/components/solution-template-data.js +0 -13
  485. package/dist/components/solution-template-data.js.map +0 -1
  486. package/dist/components/solution-template-data2.js +0 -235
  487. package/dist/components/solution-template-data2.js.map +0 -1
  488. package/dist/components/solution-variables.d.ts +0 -11
  489. package/dist/components/solution-variables.js +0 -13
  490. package/dist/components/solution-variables.js.map +0 -1
  491. package/dist/components/solution-variables2.js +0 -152
  492. package/dist/components/solution-variables2.js.map +0 -1
  493. package/dist/components/sortable.esm.js +0 -3028
  494. package/dist/components/sortable.esm.js.map +0 -1
  495. package/dist/components/store-manager.d.ts +0 -11
  496. package/dist/components/store-manager.js +0 -85
  497. package/dist/components/store-manager.js.map +0 -1
  498. package/dist/components/switch.js +0 -141
  499. package/dist/components/switch.js.map +0 -1
  500. package/dist/components/tab-nav.js +0 -243
  501. package/dist/components/tab-nav.js.map +0 -1
  502. package/dist/components/tab-title.js +0 -278
  503. package/dist/components/tab-title.js.map +0 -1
  504. package/dist/components/tab.js +0 -156
  505. package/dist/components/tab.js.map +0 -1
  506. package/dist/components/tabs.js +0 -190
  507. package/dist/components/tabs.js.map +0 -1
  508. package/dist/components/tile.js +0 -131
  509. package/dist/components/tile.js.map +0 -1
  510. package/dist/components/time-picker.js +0 -945
  511. package/dist/components/time-picker.js.map +0 -1
  512. package/dist/components/tooltip.js +0 -401
  513. package/dist/components/tooltip.js.map +0 -1
  514. package/dist/components/tree-item.js +0 -296
  515. package/dist/components/tree-item.js.map +0 -1
  516. package/dist/components/tree.js +0 -329
  517. package/dist/components/tree.js.map +0 -1
  518. package/dist/components/utils.js +0 -121
  519. package/dist/components/utils.js.map +0 -1
  520. package/dist/components/utils2.js +0 -53
  521. package/dist/components/utils2.js.map +0 -1
  522. package/dist/components/value-list-item.js +0 -206
  523. package/dist/components/value-list-item.js.map +0 -1
  524. package/dist/components/value-list.js +0 -335
  525. package/dist/components/value-list.js.map +0 -1
  526. package/dist/esm/solution-store-b3c65467.js.map +0 -1
  527. package/dist/solutions-components/p-542189bc.entry.js.map +0 -1
  528. package/dist/solutions-components/p-638738f2.entry.js.map +0 -1
  529. package/dist/solutions-components/p-7e8985f2.entry.js.map +0 -1
  530. package/dist/solutions-components/p-b25f6ebe.js.map +0 -1
@@ -1,784 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
7
- import { l as loadModules } from './loadModules.js';
8
- import { E as EPageType, a as EWorkflowType, b as EExportType } from './interfaces3.js';
9
- import { a as goToSelection, b as getMapLayerView, h as highlightFeatures } from './mapViewUtils.js';
10
- import { g as getSelectionSetQuery } from './queryUtils.js';
11
- import { s as state } from './publicNotificationStore.js';
12
- import { g as getLocaleComponentStrings } from './locale.js';
13
- import { g as getTotal, a as getSelectionIds, d as defineCustomElement$3 } from './refine-selection2.js';
14
- import { d as defineCustomElement$B } from './buffer-tools2.js';
15
- import { d as defineCustomElement$A } from './action.js';
16
- import { d as defineCustomElement$z } from './action-bar.js';
17
- import { d as defineCustomElement$y } from './action-group.js';
18
- import { d as defineCustomElement$x } from './action-menu.js';
19
- import { d as defineCustomElement$w } from './button.js';
20
- import { d as defineCustomElement$v } from './checkbox.js';
21
- import { d as defineCustomElement$u } from './chip.js';
22
- import { d as defineCustomElement$t } from './combobox.js';
23
- import { d as defineCustomElement$s } from './combobox-item.js';
24
- import { d as defineCustomElement$r } from './graph.js';
25
- import { d as defineCustomElement$q } from './icon.js';
26
- import { d as defineCustomElement$p } from './input.js';
27
- import { d as defineCustomElement$o } from './input-message.js';
28
- import { d as defineCustomElement$n } from './label.js';
29
- import { d as defineCustomElement$m } from './list.js';
30
- import { d as defineCustomElement$l } from './list-item.js';
31
- import { d as defineCustomElement$k } from './loader.js';
32
- import { d as defineCustomElement$j } from './notice.js';
33
- import { d as defineCustomElement$i } from './option.js';
34
- import { d as defineCustomElement$h } from './panel.js';
35
- import { d as defineCustomElement$g } from './popover.js';
36
- import { d as defineCustomElement$f } from './progress.js';
37
- import { d as defineCustomElement$e } from './radio-group.js';
38
- import { d as defineCustomElement$d } from './radio-group-item.js';
39
- import { d as defineCustomElement$c } from './scrim.js';
40
- import { d as defineCustomElement$b } from './select.js';
41
- import { d as defineCustomElement$a } from './shell.js';
42
- import { d as defineCustomElement$9 } from './slider.js';
43
- import { d as defineCustomElement$8 } from './tooltip.js';
44
- import { d as defineCustomElement$7 } from './map-draw-tools2.js';
45
- import { d as defineCustomElement$6 } from './map-layer-picker2.js';
46
- import { d as defineCustomElement$5 } from './map-select-tools2.js';
47
- import { d as defineCustomElement$4 } from './pdf-download2.js';
48
- import { d as defineCustomElement$2 } from './refine-selection-tools2.js';
49
-
50
- const publicNotificationCss = ":host{display:block}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-3{width:33.3%}.w-1-4{width:25%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{-webkit-padding-before:1rem;padding-block-start:1rem;-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-sides-1{-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-end-1-2{-webkit-padding-end:.5rem;padding-inline-end:.5rem}.padding-top-1-2{-webkit-padding-before:.5rem;padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.main-label{float:left}html[dir=\"rtl\"] .main-label{float:right}.back-label:hover{cursor:pointer;color:var(--calcite-ui-brand-hover)}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.margin-side-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.border-top{border-top:1px solid var(--calcite-ui-border-2)}.w-100{width:100%}.w-50{width:50%}.padding-1-2{padding:0.5rem}.list-border{border:1px solid var(--calcite-ui-border-2)}.margin-sides-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.margin-start-1-2{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.position-right{position:absolute;right:1rem}.position-right[dir=\"rtl\"]{position:absolute;left:1rem}.position-left{position:absolute;left:1rem}.position-left[dir=\"rtl\"]{position:absolute;right:1rem}.margin-top-0{-webkit-margin-before:0 !important;margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-ui-foreground-2)}";
51
-
52
- const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
53
- constructor() {
54
- super();
55
- this.__registerHost();
56
- this.addresseeLayer = undefined;
57
- this.mapView = undefined;
58
- this._downloadActive = true;
59
- this._numSelected = 0;
60
- this._pageType = EPageType.LIST;
61
- this._saveEnabled = false;
62
- this._selectionSets = [];
63
- this._selectionWorkflowType = EWorkflowType.SEARCH;
64
- this._translations = undefined;
65
- }
66
- //--------------------------------------------------------------------------
67
- //
68
- // Watch handlers
69
- //
70
- //--------------------------------------------------------------------------
71
- /**
72
- * Called each time the selectionSets prop is changed.
73
- */
74
- async selectionSetsWatchHandler(v, oldV) {
75
- if (v && v !== oldV && v.length > 0) {
76
- const nonRefineSets = v.filter(ss => ss.workflowType !== EWorkflowType.REFINE);
77
- if (nonRefineSets.length === 0) {
78
- this._selectionSets = [];
79
- }
80
- }
81
- }
82
- /**
83
- * Called each time the pageType prop is changed.
84
- */
85
- async pageTypeWatchHandler(pageType, oldPageType) {
86
- this._clearHighlight();
87
- if (oldPageType === EPageType.SELECT || oldPageType === EPageType.REFINE) {
88
- // clear any draw shapes or buffers
89
- await this._clearSelection();
90
- }
91
- if (pageType !== EPageType.SELECT) {
92
- return this._highlightFeatures();
93
- }
94
- }
95
- //--------------------------------------------------------------------------
96
- //
97
- // Methods (public)
98
- //
99
- //--------------------------------------------------------------------------
100
- //--------------------------------------------------------------------------
101
- //
102
- // Events (public)
103
- //
104
- //--------------------------------------------------------------------------
105
- /**
106
- * Handle changes to the selection sets
107
- */
108
- selectionSetsChanged(event) {
109
- this._selectionSets = [...event.detail];
110
- }
111
- //--------------------------------------------------------------------------
112
- //
113
- // Functions (lifecycle)
114
- //
115
- //--------------------------------------------------------------------------
116
- /**
117
- * StencilJS: Called once just after the component is first connected to the DOM.
118
- */
119
- async componentWillLoad() {
120
- await this._getTranslations();
121
- await this._initModules();
122
- }
123
- /**
124
- * Renders the component.
125
- */
126
- render() {
127
- var _a, _b, _c, _d;
128
- const hasSelections = this._selectionSets.length > 0;
129
- return (h(Host, null, h("calcite-shell", null, h("calcite-action-bar", { class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: "header" }, this._getActionGroup("list-check", false, EPageType.LIST, (_a = this._translations) === null || _a === void 0 ? void 0 : _a.myLists), this._getActionGroup("test-data", !hasSelections, EPageType.REFINE, (_b = this._translations) === null || _b === void 0 ? void 0 : _b.refineSelection), this._getActionGroup("file-pdf", !hasSelections, EPageType.PDF, (_c = this._translations) === null || _c === void 0 ? void 0 : _c.downloadPDF), this._getActionGroup("file-csv", !hasSelections, EPageType.CSV, (_d = this._translations) === null || _d === void 0 ? void 0 : _d.downloadCSV)), this._getPage(this._pageType))));
130
- }
131
- //--------------------------------------------------------------------------
132
- //
133
- // Functions (protected)
134
- //
135
- //--------------------------------------------------------------------------
136
- /**
137
- * Load esri javascript api modules
138
- *
139
- * @returns Promise resolving when function is done
140
- *
141
- * @protected
142
- */
143
- async _initModules() {
144
- const [geometryEngine] = await loadModules([
145
- "esri/geometry/geometryEngine"
146
- ]);
147
- this._geometryEngine = geometryEngine;
148
- }
149
- /**
150
- * Get a calcite action group for the current action
151
- *
152
- * @param icon the icon to display for the current action
153
- * @param disabled should the action be disabled
154
- * @param pageType what page type will the action navigate to
155
- * @param tip information tip to display helpful details to end user
156
- *
157
- * @protected
158
- */
159
- _getActionGroup(icon, disabled, pageType, tip) {
160
- return (h("calcite-action-group", { class: "action-center w-1-4", layout: "horizontal" }, h("calcite-action", { active: this._pageType === pageType, alignment: "center", class: "width-full height-full", compact: false, disabled: disabled, icon: icon, id: icon, onClick: () => { this._setPageType(pageType); }, text: "" }), h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": icon }, h("span", null, tip))));
161
- }
162
- /**
163
- * Navigate to the defined page type
164
- *
165
- * @param pageType what page type will the action navigate to
166
- *
167
- * @protected
168
- */
169
- _setPageType(pageType) {
170
- this._pageType = pageType;
171
- }
172
- /**
173
- * Navigate to the defined page type
174
- *
175
- * @param pageType what page type will the action navigate to
176
- *
177
- * @returns the page node
178
- * @protected
179
- */
180
- _getPage(pageType) {
181
- let page;
182
- switch (pageType) {
183
- case EPageType.LIST:
184
- page = this._getListPage();
185
- break;
186
- case EPageType.SELECT:
187
- page = this._getSelectPage();
188
- break;
189
- case EPageType.REFINE:
190
- page = this._getRefinePage();
191
- break;
192
- case EPageType.PDF:
193
- page = this._getPDFPage();
194
- break;
195
- case EPageType.CSV:
196
- page = this._getCSVPage();
197
- break;
198
- }
199
- return page;
200
- }
201
- /**
202
- * Create the List page that shows as the initial home screen
203
- * This page is also used to show and selection sets that have been created
204
- *
205
- * @returns the page node
206
- * @protected
207
- */
208
- _getListPage() {
209
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
210
- const hasSets = this._selectionSets.filter(ss => ss.workflowType !== EWorkflowType.REFINE).length > 0;
211
- const total = getTotal(this._selectionSets);
212
- return hasSets ? (h("calcite-panel", null, h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "font-bold" }, (_a = this._translations) === null || _a === void 0 ? void 0 : _a.myLists)), this._getNotice((_b = this._translations) === null || _b === void 0 ? void 0 : _b.listHasSetsTip, "padding-sides-1 padding-bottom-1"), h("div", { class: "display-flex padding-sides-1" }, h("calcite-label", { class: "font-bold width-full" }, (_c = this._translations) === null || _c === void 0 ? void 0 :
213
- _c.addresseeLayer, h("map-layer-picker", { mapView: this.mapView, onLayerSelectionChange: (evt) => this._layerSelectionChange(evt), selectedLayers: this.addresseeLayer ? [(_d = this.addresseeLayer) === null || _d === void 0 ? void 0 : _d.layer.title] : [], selectionMode: "single" }))), h("div", { class: "padding-sides-1 height-1-1-2" }, h("div", { class: "position-left" }, h("calcite-label", { alignment: "start", class: "font-bold" }, (_e = this._translations) === null || _e === void 0 ? void 0 : _e.notifications)), h("div", { class: "position-right" }, h("calcite-input-message", { active: true, class: "info-blue margin-top-0", scale: "m" }, (_f = this._translations) === null || _f === void 0 ? void 0 : _f.uniqueCout.replace("{{n}}", total.toString())))), hasSets ? this._getSelectionSetList() : (h("div", { class: "info-message" }, h("calcite-input-message", { active: true, class: "info-blue", scale: "m" }, (_g = this._translations) === null || _g === void 0 ? void 0 : _g.noNotifications))), h("div", { class: "display-flex padding-1" }, h("calcite-button", { onClick: () => { this._setPageType(EPageType.SELECT); }, width: "full" }, (_h = this._translations) === null || _h === void 0 ? void 0 : _h.add)))) : (h("calcite-panel", null, h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "font-bold" }, (_j = this._translations) === null || _j === void 0 ? void 0 : _j.myLists)), h("div", { class: "padding-sides-1" }, h("calcite-label", null, (_k = this._translations) === null || _k === void 0 ? void 0 : _k.notifications)), h("div", { class: "info-message padding-bottom-1" }, h("calcite-input-message", { active: true, class: "info-blue", scale: "m" }, (_l = this._translations) === null || _l === void 0 ? void 0 : _l.noNotifications)), this._getNotice((_m = this._translations) === null || _m === void 0 ? void 0 : _m.selectLayerAndAdd, "padding-sides-1 padding-bottom-1"), h("div", { class: "display-flex padding-sides-1" }, h("calcite-label", { class: "font-bold width-full" }, (_o = this._translations) === null || _o === void 0 ? void 0 :
214
- _o.addresseeLayer, h("map-layer-picker", { mapView: this.mapView, onLayerSelectionChange: (evt) => this._layerSelectionChange(evt), selectedLayers: this.addresseeLayer ? [(_p = this.addresseeLayer) === null || _p === void 0 ? void 0 : _p.layer.title] : [], selectionMode: "single" }))), h("div", { class: "display-flex padding-1" }, h("calcite-button", { onClick: () => { this._setPageType(EPageType.SELECT); }, width: "full" }, (_q = this._translations) === null || _q === void 0 ? void 0 : _q.add))));
215
- }
216
- /**
217
- * Create the selection sets list node for the List page
218
- *
219
- * @returns selection sets list node
220
- * @protected
221
- */
222
- _getSelectionSetList() {
223
- return (h("calcite-list", { class: "list-border margin-sides-1" },
224
- // REFINE is handled seperately from the core selection sets
225
- // You can only access after clicking the refine action
226
- this._selectionSets.reduce((prev, cur, i) => {
227
- if (cur.workflowType !== EWorkflowType.REFINE) {
228
- prev.push((h("calcite-list-item", { description: this._translations.selectedFeatures.replace("{{n}}", cur.selectedIds.length.toString()), label: cur.label, onClick: () => goToSelection(cur.selectedIds, cur.layerView, this.mapView) }, this._getAction(true, "pencil", "", (evt) => this._openSelection(cur, evt), false, "actions-end"), this._getAction(true, "x", "", (evt) => this._deleteSelection(i, evt), false, "actions-end"))));
229
- }
230
- return prev;
231
- }, [])));
232
- }
233
- /**
234
- * Create the Select page that shows the selection workflows
235
- *
236
- * @returns the page node
237
- * @protected
238
- */
239
- _getSelectPage() {
240
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
241
- const searchTip = `${(_a = this._translations) === null || _a === void 0 ? void 0 : _a.selectSearchTip} ${(_b = this._translations) === null || _b === void 0 ? void 0 : _b.optionalSearchDistance}`;
242
- const selectTip = `${(_c = this._translations) === null || _c === void 0 ? void 0 : _c.selectLayerTip} ${(_d = this._translations) === null || _d === void 0 ? void 0 : _d.optionalSearchDistance}`;
243
- const sketchTip = `${(_e = this._translations) === null || _e === void 0 ? void 0 : _e.selectSketchTip} ${(_f = this._translations) === null || _f === void 0 ? void 0 : _f.optionalSearchDistance}`;
244
- const noticeText = this._selectionWorkflowType === EWorkflowType.SELECT ? selectTip :
245
- this._selectionWorkflowType === EWorkflowType.SKETCH ? sketchTip : searchTip;
246
- return (h("calcite-panel", null, this._getLabel((_g = this._translations) === null || _g === void 0 ? void 0 : _g.stepTwoFull, true), this._getNotice(noticeText), h("div", { class: "padding-1" }, h("map-select-tools", { class: "font-bold", isUpdate: !!this._activeSelection, mapView: this.mapView, onSelectionSetChange: (evt) => this._updateForSelection(evt), onWorkflowTypeChange: (evt) => this._updateForWorkflowType(evt), ref: (el) => { this._selectTools = el; }, selectLayerView: this.addresseeLayer, selectionSet: this._activeSelection })), h("div", { class: "padding-sides-1 padding-bottom-1", style: { "align-items": "end", "display": "flex" } }, h("calcite-icon", { class: "info-blue padding-end-1-2", icon: "feature-layer", scale: "s" }), h("calcite-input-message", { active: true, class: "info-blue", scale: "m" }, (_h = this._translations) === null || _h === void 0 ? void 0 : _h.selectedAddresses.replace("{{n}}", this._numSelected.toString()))), this._getPageNavButtons((_j = this._translations) === null || _j === void 0 ? void 0 : _j.done, this._numSelected === 0, () => { void this._saveSelection(); }, (_k = this._translations) === null || _k === void 0 ? void 0 : _k.cancel, false, () => { void this._home(); })));
247
- }
248
- /**
249
- * Create the Refine page that users can interactively add/remove features from existing selection sets
250
- *
251
- * @returns the page node
252
- * @protected
253
- */
254
- _getRefinePage() {
255
- var _a, _b;
256
- return (h("calcite-panel", null, this._getLabel((_a = this._translations) === null || _a === void 0 ? void 0 : _a.refineSelection), this._getNotice((_b = this._translations) === null || _b === void 0 ? void 0 : _b.refineTip, "padding-sides-1"), h("refine-selection", { addresseeLayer: this.addresseeLayer, mapView: this.mapView, selectionSets: this._selectionSets })));
257
- }
258
- /**
259
- * Create the PDF download page that shows the download options
260
- *
261
- * @returns the page node
262
- * @protected
263
- */
264
- _getPDFPage() {
265
- return this._getDownloadPage(EExportType.PDF);
266
- }
267
- /**
268
- * Create the CSV download page that shows the download options
269
- *
270
- * @returns the page node
271
- * @protected
272
- */
273
- _getCSVPage() {
274
- return this._getDownloadPage(EExportType.CSV);
275
- }
276
- /**
277
- * Create the main download page that has the shared aspects of both PDF and CSV
278
- * But only show the current PDF or CSV page content
279
- *
280
- * @param type EExportType of the current type expected
281
- *
282
- * @returns the page node
283
- * @protected
284
- */
285
- _getDownloadPage(type) {
286
- var _a, _b, _c, _d, _e, _f, _g;
287
- const isPdf = type === EExportType.PDF;
288
- return (h("calcite-panel", null, h("div", null, h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "font-bold" }, isPdf ? (_a = this._translations) === null || _a === void 0 ? void 0 : _a.pdfDownloads : (_b = this._translations) === null || _b === void 0 ? void 0 : _b.csvDownloads), h("calcite-label", null, (_c = this._translations) === null || _c === void 0 ? void 0 : _c.notifications)), this._getSelectionLists(), h("div", { class: "margin-side-1 padding-top-1 border-bottom" }), h("div", { class: "padding-top-sides-1" }, h("calcite-label", { disabled: !this._downloadActive, layout: "inline" }, h("calcite-checkbox", { disabled: !this._downloadActive, ref: (el) => { this._removeDuplicates = el; } }), (_d = this._translations) === null || _d === void 0 ? void 0 :
289
- _d.removeDuplicate)), h("div", { class: isPdf ? "" : "display-none" }, this._getLabel((_e = this._translations) === null || _e === void 0 ? void 0 : _e.selectPDFLabelOption, false, !this._downloadActive), h("div", { class: "padding-sides-1" }, h("pdf-download", { disabled: !this._downloadActive, layerView: this.addresseeLayer, ref: (el) => { this._downloadTools = el; } }))), h("div", { class: "padding-1 display-flex" }, h("calcite-button", { disabled: !this._downloadActive, onClick: isPdf ? () => this._downloadPDF() : () => this._downloadCSV(), width: "full" }, isPdf ? (_f = this._translations) === null || _f === void 0 ? void 0 : _f.downloadPDF : (_g = this._translations) === null || _g === void 0 ? void 0 : _g.downloadCSV)))));
290
- }
291
- /**
292
- * Create the stacked navigation buttons for a page
293
- *
294
- * @param topLabel the label to use for the button on top
295
- * @param topDisabled should the button be disabled
296
- * @param topFunc the fucntion to execute when the button is clicked
297
- * @param bottomLabel the label to use for the button on bottom
298
- * @param bottomDisabled should the button be disabled
299
- * @param bottomFunc the fucntion to execute when the button is clicked
300
- *
301
- * @returns the page node
302
- * @protected
303
- */
304
- _getPageNavButtons(topLabel, topDisabled, topFunc, bottomLabel, bottomDisabled, bottomFunc) {
305
- return (h("div", null, h("div", { class: "display-flex padding-top-sides-1" }, h("calcite-button", { disabled: topDisabled, onClick: topFunc, width: "full" }, topLabel)), h("div", { class: "display-flex padding-top-1-2 padding-sides-1" }, h("calcite-button", { appearance: "outline", disabled: bottomDisabled, onClick: bottomFunc, width: "full" }, bottomLabel))));
306
- }
307
- /**
308
- * Create an informational notice
309
- *
310
- * @param message the message to display in the notice
311
- * @param noticeClass any custom css for the notice (default is "padding-1")
312
- *
313
- * @returns the notice node
314
- * @protected
315
- */
316
- _getNotice(message, noticeClass = "padding-1") {
317
- return (h("calcite-notice", { active: true, class: noticeClass, color: "green", icon: "lightbulb" }, h("div", { slot: "message" }, message)));
318
- }
319
- /**
320
- * Create a calcite label
321
- *
322
- * @param label value to display in the label
323
- * @param disableSpacing should extra calcite defined spacing be applied
324
- * @param disabled should the label be disabled
325
- *
326
- * @returns the label node
327
- * @protected
328
- */
329
- _getLabel(label, disableSpacing = false, disabled = false) {
330
- return (h("div", { class: "padding-top-sides-1" }, h("calcite-label", { class: "font-bold", "disable-spacing": disableSpacing, disabled: disabled }, label)));
331
- }
332
- /**
333
- * Get selection set list node with checkbox for Download pages
334
- *
335
- * @returns the list node
336
- * @protected
337
- */
338
- _getSelectionLists() {
339
- return this._selectionSets.reduce((prev, cur) => {
340
- if (cur.workflowType !== EWorkflowType.REFINE) {
341
- if (!this._downloadActive && cur.download) {
342
- this._downloadActive = true;
343
- }
344
- prev.push((h("div", { class: "display-flex padding-sides-1 padding-bottom-1" }, h("calcite-checkbox", { checked: cur.download, onClick: () => { void this._toggleDownload(cur.id); } }), h("calcite-list", { class: "list-border margin-start-1-2 w-100", id: "download-list" }, h("calcite-list-item", { description: this._translations.selectedFeatures.replace("{{n}}", cur.selectedIds.length.toString()), disabled: !cur.download, label: cur.label, onClick: () => { void this._toggleDownload(cur.id); } })))));
345
- }
346
- return prev;
347
- }, []) || (h("div", null));
348
- }
349
- /**
350
- * Toggle the disabled state for the download options based on user selection
351
- *
352
- * @param id the selection set id to toggle
353
- *
354
- * @protected
355
- */
356
- async _toggleDownload(id) {
357
- let isActive = false;
358
- this._selectionSets = this._selectionSets.map(ss => {
359
- ss.download = ss.id === id ? !ss.download : ss.download;
360
- isActive = ss.download ? true : isActive;
361
- return ss;
362
- });
363
- this._downloadActive = isActive;
364
- await this._highlightFeatures();
365
- }
366
- /**
367
- * Download all selection sets as PDF
368
- *
369
- * @protected
370
- */
371
- _downloadPDF() {
372
- const ids = getSelectionIds(this._getDownloadSelectionSets());
373
- return this._downloadTools.downloadPDF(ids, this._removeDuplicates.checked);
374
- }
375
- /**
376
- * Download all selection sets as CSV
377
- *
378
- * @protected
379
- */
380
- _downloadCSV() {
381
- const ids = getSelectionIds(this._getDownloadSelectionSets());
382
- return this._downloadTools.downloadCSV(ids, this._removeDuplicates.checked);
383
- }
384
- /**
385
- * Get all enabled selection sets
386
- *
387
- * @returns the selection sets
388
- * @protected
389
- */
390
- _getDownloadSelectionSets() {
391
- return this._selectionSets.filter(ss => {
392
- return ss.download || ss.workflowType === EWorkflowType.REFINE;
393
- });
394
- }
395
- /**
396
- * Store the current workflow type
397
- *
398
- * @protected
399
- */
400
- _updateForWorkflowType(evt) {
401
- this._selectionWorkflowType = evt.detail;
402
- }
403
- /**
404
- * Create a calcite action
405
- *
406
- * @param enabled controls the enabled state of the control
407
- * @param icon the image to display in the action
408
- * @param text and supporting text for the action
409
- * @param onClick the fucntion the actio will execute
410
- * @param indicator boolean to control if an indicator should be shown (default is false)
411
- * @param slot the supporting slot to use
412
- *
413
- * @returns the calcite action node
414
- * @protected
415
- */
416
- _getAction(enabled, icon, text, onClick, indicator = false, slot = "") {
417
- return (h("calcite-action", { disabled: !enabled, icon: icon, indicator: indicator, onClick: onClick, slot: slot, text: text }));
418
- }
419
- /**
420
- * Store the number of selected features and if it's more than one enable save
421
- *
422
- * @returns the page node
423
- * @protected
424
- */
425
- _updateForSelection(evt) {
426
- this._numSelected = evt.detail;
427
- this._saveEnabled = this._numSelected > 0;
428
- }
429
- /**
430
- * Clear the selection and navigate to the home page
431
- *
432
- * @returns Promise when the function has completed
433
- * @protected
434
- */
435
- async _home() {
436
- await this._clearSelection();
437
- this._setPageType(EPageType.LIST);
438
- }
439
- /**
440
- * Fetch the layer defined in the selection change event
441
- *
442
- * @returns Promise when the function has completed
443
- * @protected
444
- */
445
- async _layerSelectionChange(evt) {
446
- var _a, _b;
447
- const title = ((_a = evt === null || evt === void 0 ? void 0 : evt.detail) === null || _a === void 0 ? void 0 : _a.length) > 0 ? evt.detail[0] : "";
448
- if (title !== ((_b = this.addresseeLayer) === null || _b === void 0 ? void 0 : _b.layer.title)) {
449
- this.addresseeLayer = await getMapLayerView(this.mapView, title);
450
- await this._updateSelectionSets(this.addresseeLayer);
451
- }
452
- }
453
- /**
454
- * Update selection sets when the addressee layer changes.
455
- * Will remove any "refine" selection set.
456
- * Will use stored search, select, and sketch geometries and any buffers to select from the new addressee layer.
457
- *
458
- * @param layerView The new addressee layer view to select from
459
- *
460
- * @returns Promise when the function has completed
461
- * @protected
462
- */
463
- async _updateSelectionSets(layerView) {
464
- const _selectionSets = this._selectionSets.filter(selectionSet => selectionSet.workflowType !== EWorkflowType.REFINE);
465
- const oidDefs = [];
466
- _selectionSets.forEach(selectionSet => {
467
- selectionSet.layerView = layerView;
468
- selectionSet.selectedIds = [];
469
- oidDefs.push(getSelectionSetQuery(selectionSet, this._geometryEngine));
470
- });
471
- return Promise.all(oidDefs).then(async (results) => {
472
- results.forEach((result, i) => {
473
- _selectionSets[i].selectedIds = result;
474
- });
475
- await this._highlightFeatures();
476
- this._selectionSets = [
477
- ..._selectionSets
478
- ];
479
- });
480
- }
481
- /**
482
- * Update the selection sets with any new selections from the select tools
483
- *
484
- * @returns Promise when the function has completed
485
- * @protected
486
- */
487
- async _saveSelection() {
488
- var _a, _b;
489
- const results = await ((_a = this._selectTools) === null || _a === void 0 ? void 0 : _a.getSelection());
490
- const isUpdate = (_b = this._selectTools) === null || _b === void 0 ? void 0 : _b.isUpdate;
491
- this._selectionSets = isUpdate ? this._selectionSets.map(ss => {
492
- return ss.id === results.id ? results : ss;
493
- }) : [
494
- ...this._selectionSets,
495
- results
496
- ];
497
- return this._home();
498
- }
499
- /**
500
- * Clear any selections
501
- *
502
- * @returns Promise when the function has completed
503
- * @protected
504
- */
505
- async _clearSelection() {
506
- var _a;
507
- await ((_a = this._selectTools) === null || _a === void 0 ? void 0 : _a.clearSelection());
508
- this._numSelected = 0;
509
- this._activeSelection = undefined;
510
- }
511
- /**
512
- * Delete the selection at the defined index
513
- *
514
- * @param index number that defines what selection set to delete
515
- *
516
- * @protected
517
- */
518
- _deleteSelection(index, evt) {
519
- evt.stopPropagation();
520
- this._selectionSets = this._selectionSets.filter((ss, i) => {
521
- if (i !== index) {
522
- return ss;
523
- }
524
- });
525
- return this._highlightFeatures();
526
- }
527
- /**
528
- * Open the selection set for further adjustment
529
- *
530
- * @protected
531
- */
532
- _openSelection(selectionSet, evt) {
533
- evt.stopPropagation();
534
- this._activeSelection = selectionSet;
535
- this._pageType = EPageType.SELECT;
536
- }
537
- /**
538
- * Highlight any selected features in the map
539
- *
540
- * @protected
541
- */
542
- async _highlightFeatures() {
543
- this._clearHighlight();
544
- const ids = getSelectionIds(this._selectionSets);
545
- if (ids.length > 0) {
546
- state.highlightHandle = await highlightFeatures(ids, this.addresseeLayer, this.mapView);
547
- }
548
- }
549
- /**
550
- * Clear any highlighted features in the map
551
- *
552
- * @protected
553
- */
554
- _clearHighlight() {
555
- var _a;
556
- (_a = state.highlightHandle) === null || _a === void 0 ? void 0 : _a.remove();
557
- }
558
- /**
559
- * Fetches the component's translations
560
- *
561
- * @protected
562
- */
563
- async _getTranslations() {
564
- const translations = await getLocaleComponentStrings(this.el);
565
- this._translations = translations[0];
566
- }
567
- get el() { return this; }
568
- static get watchers() { return {
569
- "_selectionSets": ["selectionSetsWatchHandler"],
570
- "_pageType": ["pageTypeWatchHandler"]
571
- }; }
572
- static get style() { return publicNotificationCss; }
573
- }, [0, "public-notification", {
574
- "addresseeLayer": [16],
575
- "mapView": [16],
576
- "_downloadActive": [32],
577
- "_numSelected": [32],
578
- "_pageType": [32],
579
- "_saveEnabled": [32],
580
- "_selectionSets": [32],
581
- "_selectionWorkflowType": [32],
582
- "_translations": [32]
583
- }, [[8, "selectionSetsChanged", "selectionSetsChanged"]]]);
584
- function defineCustomElement$1() {
585
- if (typeof customElements === "undefined") {
586
- return;
587
- }
588
- const components = ["public-notification", "buffer-tools", "calcite-action", "calcite-action-bar", "calcite-action-group", "calcite-action-menu", "calcite-button", "calcite-checkbox", "calcite-chip", "calcite-combobox", "calcite-combobox-item", "calcite-graph", "calcite-icon", "calcite-input", "calcite-input-message", "calcite-label", "calcite-list", "calcite-list-item", "calcite-loader", "calcite-notice", "calcite-option", "calcite-panel", "calcite-popover", "calcite-progress", "calcite-radio-group", "calcite-radio-group-item", "calcite-scrim", "calcite-select", "calcite-shell", "calcite-slider", "calcite-tooltip", "map-draw-tools", "map-layer-picker", "map-select-tools", "pdf-download", "refine-selection", "refine-selection-tools"];
589
- components.forEach(tagName => { switch (tagName) {
590
- case "public-notification":
591
- if (!customElements.get(tagName)) {
592
- customElements.define(tagName, PublicNotification$1);
593
- }
594
- break;
595
- case "buffer-tools":
596
- if (!customElements.get(tagName)) {
597
- defineCustomElement$B();
598
- }
599
- break;
600
- case "calcite-action":
601
- if (!customElements.get(tagName)) {
602
- defineCustomElement$A();
603
- }
604
- break;
605
- case "calcite-action-bar":
606
- if (!customElements.get(tagName)) {
607
- defineCustomElement$z();
608
- }
609
- break;
610
- case "calcite-action-group":
611
- if (!customElements.get(tagName)) {
612
- defineCustomElement$y();
613
- }
614
- break;
615
- case "calcite-action-menu":
616
- if (!customElements.get(tagName)) {
617
- defineCustomElement$x();
618
- }
619
- break;
620
- case "calcite-button":
621
- if (!customElements.get(tagName)) {
622
- defineCustomElement$w();
623
- }
624
- break;
625
- case "calcite-checkbox":
626
- if (!customElements.get(tagName)) {
627
- defineCustomElement$v();
628
- }
629
- break;
630
- case "calcite-chip":
631
- if (!customElements.get(tagName)) {
632
- defineCustomElement$u();
633
- }
634
- break;
635
- case "calcite-combobox":
636
- if (!customElements.get(tagName)) {
637
- defineCustomElement$t();
638
- }
639
- break;
640
- case "calcite-combobox-item":
641
- if (!customElements.get(tagName)) {
642
- defineCustomElement$s();
643
- }
644
- break;
645
- case "calcite-graph":
646
- if (!customElements.get(tagName)) {
647
- defineCustomElement$r();
648
- }
649
- break;
650
- case "calcite-icon":
651
- if (!customElements.get(tagName)) {
652
- defineCustomElement$q();
653
- }
654
- break;
655
- case "calcite-input":
656
- if (!customElements.get(tagName)) {
657
- defineCustomElement$p();
658
- }
659
- break;
660
- case "calcite-input-message":
661
- if (!customElements.get(tagName)) {
662
- defineCustomElement$o();
663
- }
664
- break;
665
- case "calcite-label":
666
- if (!customElements.get(tagName)) {
667
- defineCustomElement$n();
668
- }
669
- break;
670
- case "calcite-list":
671
- if (!customElements.get(tagName)) {
672
- defineCustomElement$m();
673
- }
674
- break;
675
- case "calcite-list-item":
676
- if (!customElements.get(tagName)) {
677
- defineCustomElement$l();
678
- }
679
- break;
680
- case "calcite-loader":
681
- if (!customElements.get(tagName)) {
682
- defineCustomElement$k();
683
- }
684
- break;
685
- case "calcite-notice":
686
- if (!customElements.get(tagName)) {
687
- defineCustomElement$j();
688
- }
689
- break;
690
- case "calcite-option":
691
- if (!customElements.get(tagName)) {
692
- defineCustomElement$i();
693
- }
694
- break;
695
- case "calcite-panel":
696
- if (!customElements.get(tagName)) {
697
- defineCustomElement$h();
698
- }
699
- break;
700
- case "calcite-popover":
701
- if (!customElements.get(tagName)) {
702
- defineCustomElement$g();
703
- }
704
- break;
705
- case "calcite-progress":
706
- if (!customElements.get(tagName)) {
707
- defineCustomElement$f();
708
- }
709
- break;
710
- case "calcite-radio-group":
711
- if (!customElements.get(tagName)) {
712
- defineCustomElement$e();
713
- }
714
- break;
715
- case "calcite-radio-group-item":
716
- if (!customElements.get(tagName)) {
717
- defineCustomElement$d();
718
- }
719
- break;
720
- case "calcite-scrim":
721
- if (!customElements.get(tagName)) {
722
- defineCustomElement$c();
723
- }
724
- break;
725
- case "calcite-select":
726
- if (!customElements.get(tagName)) {
727
- defineCustomElement$b();
728
- }
729
- break;
730
- case "calcite-shell":
731
- if (!customElements.get(tagName)) {
732
- defineCustomElement$a();
733
- }
734
- break;
735
- case "calcite-slider":
736
- if (!customElements.get(tagName)) {
737
- defineCustomElement$9();
738
- }
739
- break;
740
- case "calcite-tooltip":
741
- if (!customElements.get(tagName)) {
742
- defineCustomElement$8();
743
- }
744
- break;
745
- case "map-draw-tools":
746
- if (!customElements.get(tagName)) {
747
- defineCustomElement$7();
748
- }
749
- break;
750
- case "map-layer-picker":
751
- if (!customElements.get(tagName)) {
752
- defineCustomElement$6();
753
- }
754
- break;
755
- case "map-select-tools":
756
- if (!customElements.get(tagName)) {
757
- defineCustomElement$5();
758
- }
759
- break;
760
- case "pdf-download":
761
- if (!customElements.get(tagName)) {
762
- defineCustomElement$4();
763
- }
764
- break;
765
- case "refine-selection":
766
- if (!customElements.get(tagName)) {
767
- defineCustomElement$3();
768
- }
769
- break;
770
- case "refine-selection-tools":
771
- if (!customElements.get(tagName)) {
772
- defineCustomElement$2();
773
- }
774
- break;
775
- } });
776
- }
777
- defineCustomElement$1();
778
-
779
- const PublicNotification = PublicNotification$1;
780
- const defineCustomElement = defineCustomElement$1;
781
-
782
- export { PublicNotification, defineCustomElement };
783
-
784
- //# sourceMappingURL=public-notification.js.map