@esri/solutions-components 0.6.17 → 0.6.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. package/README.md +1 -1
  2. package/dist/assets/t9n/map-tools/resources.json +2 -1
  3. package/dist/assets/t9n/map-tools/resources_en.json +2 -1
  4. package/dist/assets/t9n/solution-spatial-ref/resources.json +0 -1
  5. package/dist/assets/t9n/solution-spatial-ref/resources_en.json +0 -1
  6. package/dist/assets/t9n/solution-spatial-ref/resources_fr.json +6 -0
  7. package/dist/assets/t9n/solution-spatial-ref/resources_he.json +6 -0
  8. package/dist/assets/t9n/spatial-ref/resources.json +3 -0
  9. package/dist/assets/t9n/spatial-ref/resources_en.json +3 -0
  10. package/dist/assets/t9n/spatial-ref/resources_fr.json +3 -0
  11. package/dist/assets/t9n/spatial-ref/resources_he.json +3 -0
  12. package/dist/cjs/{basemap-gallery_6.cjs.entry.js → basemap-gallery_7.cjs.entry.js} +124 -3
  13. package/dist/cjs/{calcite-tree_3.cjs.entry.js → calcite-checkbox_3.cjs.entry.js} +123 -319
  14. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +4 -3
  15. package/dist/cjs/card-manager_3.cjs.entry.js +8 -5
  16. package/dist/{collection/components/basemap-gallery/test/basemap-gallery.e2e.js → cjs/common-13719149.js} +17 -9
  17. package/dist/cjs/crowdsource-manager.cjs.entry.js +12 -7
  18. package/dist/cjs/edit-card_2.cjs.entry.js +4 -3
  19. package/dist/cjs/loader.cjs.js +1 -1
  20. package/dist/cjs/solution-configuration.cjs.entry.js +2 -1
  21. package/dist/cjs/solution-contents_3.cjs.entry.js +21 -21256
  22. package/dist/cjs/solution-item-icon.cjs.entry.js +327 -0
  23. package/dist/cjs/{solution-store-c443e657.js → solution-resource-f9e3b289.js} +2 -1698
  24. package/dist/cjs/solution-store-2414dd8a.js +1707 -0
  25. package/dist/cjs/solutions-components.cjs.js +1 -1
  26. package/dist/cjs/spatial-ref.cjs.entry.js +21293 -0
  27. package/dist/collection/collection-manifest.json +2 -0
  28. package/dist/collection/components/card-manager/card-manager.js +1 -1
  29. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +15 -0
  30. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +47 -6
  31. package/dist/collection/components/edit-card/edit-card.css +0 -12
  32. package/dist/collection/components/floor-filter/floor-filter.css +19 -0
  33. package/dist/collection/components/floor-filter/floor-filter.js +163 -0
  34. package/dist/collection/components/info-card/info-card.js +3 -2
  35. package/dist/collection/components/layer-table/layer-table.css +8 -0
  36. package/dist/collection/components/layer-table/layer-table.js +18 -2
  37. package/dist/collection/components/map-card/map-card.js +19 -1
  38. package/dist/collection/components/map-picker/map-picker.css +0 -4
  39. package/dist/collection/components/map-picker/map-picker.js +1 -1
  40. package/dist/collection/components/map-tools/map-tools.js +54 -1
  41. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.css +1 -7
  42. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +37 -291
  43. package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.e2e.js +24 -12
  44. package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.spec.js +32 -128
  45. package/dist/collection/components/spatial-ref/spatial-ref.css +20 -0
  46. package/dist/collection/components/spatial-ref/spatial-ref.js +445 -0
  47. package/dist/collection/components/spatial-ref/test/spatial-ref.e2e.js +71 -0
  48. package/dist/collection/components/spatial-ref/test/spatial-ref.spec.js +158 -0
  49. package/dist/collection/demos/crowdsource-manager.html +4 -0
  50. package/dist/collection/demos/solution-spatial-ref.html +9 -16
  51. package/dist/collection/demos/spatial-ref.html +53 -0
  52. package/dist/collection/utils/{templates.e2e.js → test/templates.e2e.js} +2 -2
  53. package/dist/collection/utils/{templates.e2e.ts → test/templates.e2e.ts} +2 -2
  54. package/dist/components/card-manager2.js +1 -1
  55. package/dist/components/crowdsource-manager.js +86 -73
  56. package/dist/components/edit-card2.js +1 -1
  57. package/dist/components/floor-filter.d.ts +11 -0
  58. package/dist/components/floor-filter.js +11 -0
  59. package/dist/components/floor-filter2.js +115 -0
  60. package/dist/components/info-card2.js +3 -2
  61. package/dist/components/layer-table2.js +5 -3
  62. package/dist/components/map-card2.js +45 -37
  63. package/dist/components/map-picker2.js +2 -2
  64. package/dist/components/map-tools2.js +52 -11
  65. package/dist/components/solution-configuration.js +79 -72
  66. package/dist/components/solution-resource-item2.js +2 -1
  67. package/dist/components/solution-resource.js +1836 -0
  68. package/dist/components/solution-spatial-ref2.js +41 -21277
  69. package/dist/components/solution-store.js +2 -1830
  70. package/dist/components/spatial-ref.d.ts +11 -0
  71. package/dist/components/spatial-ref.js +11 -0
  72. package/dist/components/spatial-ref2.js +21374 -0
  73. package/dist/esm/{basemap-gallery_6.entry.js → basemap-gallery_7.entry.js} +124 -4
  74. package/dist/esm/{calcite-tree_3.entry.js → calcite-checkbox_3.entry.js} +125 -321
  75. package/dist/esm/calcite-shell-panel_14.entry.js +2 -1
  76. package/dist/esm/card-manager_3.entry.js +8 -5
  77. package/dist/{collection/components/layer-table/test/layer-table.e2e.js → esm/common-e4a8e353.js} +15 -9
  78. package/dist/esm/crowdsource-manager.entry.js +12 -7
  79. package/dist/esm/edit-card_2.entry.js +4 -3
  80. package/dist/esm/loader.js +1 -1
  81. package/dist/esm/polyfills/core-js.js +11 -0
  82. package/dist/esm/polyfills/dom.js +79 -0
  83. package/dist/esm/polyfills/es5-html-element.js +1 -0
  84. package/dist/esm/polyfills/index.js +34 -0
  85. package/dist/esm/polyfills/system.js +6 -0
  86. package/dist/esm/solution-configuration.entry.js +2 -1
  87. package/dist/esm/solution-contents_3.entry.js +20 -21255
  88. package/dist/esm/solution-item-icon.entry.js +323 -0
  89. package/dist/esm/{solution-store-b29d50f7.js → solution-resource-be35d35b.js} +1 -1697
  90. package/dist/esm/solution-store-e734626a.js +1704 -0
  91. package/dist/esm/solutions-components.js +1 -1
  92. package/dist/esm/spatial-ref.entry.js +21289 -0
  93. package/dist/solutions-components/demos/crowdsource-manager.html +4 -0
  94. package/dist/solutions-components/demos/solution-spatial-ref.html +9 -16
  95. package/dist/solutions-components/demos/spatial-ref.html +53 -0
  96. package/dist/solutions-components/{p-64d29ba2.entry.js → p-0bc27ba7.entry.js} +2 -2
  97. package/dist/{collection/components/map-card/test/map-card.e2e.js → solutions-components/p-1b228f97.js} +2 -10
  98. package/dist/solutions-components/p-5b8c8942.entry.js +21 -0
  99. package/dist/solutions-components/p-63c6fc29.entry.js +6 -0
  100. package/dist/solutions-components/p-64945b43.entry.js +18 -0
  101. package/dist/solutions-components/p-770bff06.entry.js +6 -0
  102. package/dist/solutions-components/p-7741dbab.entry.js +6 -0
  103. package/dist/solutions-components/p-80465067.entry.js +6 -0
  104. package/dist/solutions-components/p-846df994.entry.js +6 -0
  105. package/dist/solutions-components/p-b3f8d2cb.js +192 -0
  106. package/dist/solutions-components/p-c26d8b36.entry.js +6 -0
  107. package/dist/solutions-components/{p-4d942b0f.entry.js → p-f35147d5.entry.js} +1 -1
  108. package/dist/solutions-components/p-ff0d7712.js +44 -0
  109. package/dist/solutions-components/solutions-components.esm.js +1 -1
  110. package/dist/solutions-components/utils/{templates.e2e.ts → test/templates.e2e.ts} +2 -2
  111. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +9 -1
  112. package/dist/types/components/floor-filter/floor-filter.d.ts +61 -0
  113. package/dist/types/components/layer-table/layer-table.d.ts +4 -0
  114. package/dist/types/components/map-card/map-card.d.ts +4 -0
  115. package/dist/types/components/map-tools/map-tools.d.ts +24 -0
  116. package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +11 -93
  117. package/dist/types/components/spatial-ref/spatial-ref.d.ts +142 -0
  118. package/dist/types/components.d.ts +123 -16
  119. package/dist/types/preact.d.ts +8 -1
  120. package/package.json +6 -6
  121. package/dist/cjs/calcite-checkbox.cjs.entry.js +0 -136
  122. package/dist/collection/components/basemap-gallery/test/basemap-gallery.spec.js +0 -37
  123. package/dist/collection/components/buffer-tools/test/buffer-tools.e2e.js +0 -29
  124. package/dist/collection/components/buffer-tools/test/buffer-tools.spec.js +0 -160
  125. package/dist/collection/components/card-manager/test/card-manager.e2e.js +0 -29
  126. package/dist/collection/components/card-manager/test/card-manager.spec.js +0 -37
  127. package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.e2e.js +0 -29
  128. package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.spec.js +0 -37
  129. package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.e2e.js +0 -29
  130. package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.spec.js +0 -37
  131. package/dist/collection/components/deduct-calculator/test/deduct-calculator.e2e.js +0 -29
  132. package/dist/collection/components/deduct-calculator/test/deduct-calculator.spec.js +0 -37
  133. package/dist/collection/components/edit-card/test/edit-card.e2e.js +0 -14
  134. package/dist/collection/components/edit-card/test/edit-card.spec.js +0 -22
  135. package/dist/collection/components/info-card/test/info-card.e2e.js +0 -29
  136. package/dist/collection/components/info-card/test/info-card.spec.js +0 -37
  137. package/dist/collection/components/json-editor/test/json-editor.e2e.js +0 -36
  138. package/dist/collection/components/json-editor/test/json-editor.spec.js +0 -65
  139. package/dist/collection/components/layer-table/test/layer-table.spec.js +0 -37
  140. package/dist/collection/components/layout-manager/test/layout-manager.e2e.js +0 -29
  141. package/dist/collection/components/layout-manager/test/layout-manager.spec.js +0 -37
  142. package/dist/collection/components/list-item/test/list-item.e2e.js +0 -29
  143. package/dist/collection/components/list-item/test/list-item.spec.js +0 -37
  144. package/dist/collection/components/map-card/test/map-card.spec.js +0 -37
  145. package/dist/collection/components/map-draw-tools/test/map-draw-tools.e2e.js +0 -29
  146. package/dist/collection/components/map-draw-tools/test/map-draw-tools.spec.js +0 -37
  147. package/dist/collection/components/map-fullscreen/test/map-fullscreen.e2e.js +0 -29
  148. package/dist/collection/components/map-fullscreen/test/map-fullscreen.spec.js +0 -37
  149. package/dist/collection/components/map-layer-picker/test/map-layer-picker.e2e.js +0 -29
  150. package/dist/collection/components/map-layer-picker/test/map-layer-picker.spec.js +0 -114
  151. package/dist/collection/components/map-legend/test/map-legend.e2e.js +0 -14
  152. package/dist/collection/components/map-legend/test/map-legend.spec.js +0 -22
  153. package/dist/collection/components/map-picker/test/map-picker.e2e.js +0 -29
  154. package/dist/collection/components/map-picker/test/map-picker.spec.js +0 -37
  155. package/dist/collection/components/map-search/test/map-search.e2e.js +0 -29
  156. package/dist/collection/components/map-search/test/map-search.spec.js +0 -37
  157. package/dist/collection/components/map-select-tools/test/map-select-tools.e2e.js +0 -29
  158. package/dist/collection/components/map-select-tools/test/map-select-tools.spec.js +0 -366
  159. package/dist/collection/components/map-tools/test/map-tools.e2e.js +0 -29
  160. package/dist/collection/components/map-tools/test/map-tools.spec.js +0 -37
  161. package/dist/collection/components/pci-calculator/test/pci-calculator.e2e.js +0 -29
  162. package/dist/collection/components/pci-calculator/test/pci-calculator.spec.js +0 -37
  163. package/dist/collection/components/pdf-download/test/pdf-download.e2e.js +0 -76
  164. package/dist/collection/components/pdf-download/test/pdf-download.spec.js +0 -107
  165. package/dist/collection/components/public-notification/test/public-notification.spec.js +0 -161
  166. package/dist/collection/components/refine-selection/test/refine-selection.e2e.js +0 -14
  167. package/dist/collection/components/refine-selection/test/refine-selection.spec.js +0 -22
  168. package/dist/collection/components/solution-configuration/test/solution-configuration.e2e.js +0 -36
  169. package/dist/collection/components/solution-configuration/test/solution-configuration.spec.js +0 -119
  170. package/dist/collection/components/solution-contents/test/solution-contents.e2e.js +0 -94
  171. package/dist/collection/components/solution-contents/test/solution-contents.spec.js +0 -143
  172. package/dist/collection/components/solution-item/test/solution-item.e2e.js +0 -36
  173. package/dist/collection/components/solution-item/test/solution-item.spec.js +0 -77
  174. package/dist/collection/components/solution-item-details/test/solution-item-details.e2e.js +0 -36
  175. package/dist/collection/components/solution-item-details/test/solution-item-details.spec.js +0 -142
  176. package/dist/collection/components/solution-item-icon/test/solution-item-icon.e2e.js +0 -29
  177. package/dist/collection/components/solution-item-icon/test/solution-item-icon.spec.js +0 -39
  178. package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.e2e.js +0 -36
  179. package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.spec.js +0 -54
  180. package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.e2e.js +0 -36
  181. package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.spec.js +0 -65
  182. package/dist/collection/components/solution-resource-item/test/solution-resource-item.e2e.js +0 -36
  183. package/dist/collection/components/solution-resource-item/test/solution-resource-item.spec.js +0 -55
  184. package/dist/collection/components/solution-template-data/test/solution-template-data.e2e.js +0 -36
  185. package/dist/collection/components/solution-template-data/test/solution-template-data.spec.js +0 -60
  186. package/dist/collection/components/solution-variables/test/solution-variables.e2e.js +0 -36
  187. package/dist/collection/components/solution-variables/test/solution-variables.spec.js +0 -131
  188. package/dist/esm/calcite-checkbox.entry.js +0 -132
  189. package/dist/solutions-components/p-17d176b5.js +0 -230
  190. package/dist/solutions-components/p-1d9a5198.entry.js +0 -37
  191. package/dist/solutions-components/p-3707d9bd.entry.js +0 -6
  192. package/dist/solutions-components/p-41bbccbc.entry.js +0 -6
  193. package/dist/solutions-components/p-4f2fce86.entry.js +0 -6
  194. package/dist/solutions-components/p-5ffaaaf4.entry.js +0 -6
  195. package/dist/solutions-components/p-736e76fb.entry.js +0 -17
  196. package/dist/solutions-components/p-dda517b9.entry.js +0 -6
  197. /package/dist/collection/components/{solution-spatial-ref → spatial-ref}/spatialreferences.js +0 -0
  198. /package/dist/types/components/{solution-spatial-ref → spatial-ref}/spatialreferences.d.ts +0 -0
@@ -6,39 +6,40 @@
6
6
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
7
7
  import { g as getLocaleComponentStrings } from './locale.js';
8
8
  import { a as ELayoutMode } from './interfaces.js';
9
- import { d as defineCustomElement$H } from './basemap-gallery2.js';
10
- import { d as defineCustomElement$G } from './action.js';
11
- import { d as defineCustomElement$F } from './action-bar.js';
12
- import { d as defineCustomElement$E } from './action-group.js';
13
- import { d as defineCustomElement$D } from './action-menu.js';
14
- import { d as defineCustomElement$C } from './alert.js';
15
- import { d as defineCustomElement$B } from './button.js';
16
- import { d as defineCustomElement$A } from './chip.js';
17
- import { d as defineCustomElement$z } from './combobox.js';
18
- import { d as defineCustomElement$y } from './combobox-item.js';
19
- import { d as defineCustomElement$x } from './dropdown.js';
20
- import { d as defineCustomElement$w } from './dropdown-group.js';
21
- import { d as defineCustomElement$v } from './dropdown-item.js';
22
- import { d as defineCustomElement$u } from './filter2.js';
23
- import { d as defineCustomElement$t } from './handle.js';
24
- import { d as defineCustomElement$s } from './icon.js';
25
- import { d as defineCustomElement$r } from './input.js';
26
- import { d as defineCustomElement$q } from './list.js';
27
- import { d as defineCustomElement$p } from './list-item2.js';
28
- import { d as defineCustomElement$o } from './loader.js';
29
- import { d as defineCustomElement$n } from './modal.js';
30
- import { d as defineCustomElement$m } from './notice.js';
31
- import { d as defineCustomElement$l } from './option.js';
32
- import { d as defineCustomElement$k } from './panel.js';
33
- import { d as defineCustomElement$j } from './popover.js';
34
- import { d as defineCustomElement$i } from './progress.js';
35
- import { d as defineCustomElement$h } from './scrim.js';
36
- import { d as defineCustomElement$g } from './select.js';
37
- import { d as defineCustomElement$f } from './shell.js';
38
- import { d as defineCustomElement$e } from './stack.js';
39
- import { d as defineCustomElement$d } from './tooltip.js';
40
- import { d as defineCustomElement$c } from './card-manager2.js';
41
- import { d as defineCustomElement$b } from './edit-card2.js';
9
+ import { d as defineCustomElement$I } from './basemap-gallery2.js';
10
+ import { d as defineCustomElement$H } from './action.js';
11
+ import { d as defineCustomElement$G } from './action-bar.js';
12
+ import { d as defineCustomElement$F } from './action-group.js';
13
+ import { d as defineCustomElement$E } from './action-menu.js';
14
+ import { d as defineCustomElement$D } from './alert.js';
15
+ import { d as defineCustomElement$C } from './button.js';
16
+ import { d as defineCustomElement$B } from './chip.js';
17
+ import { d as defineCustomElement$A } from './combobox.js';
18
+ import { d as defineCustomElement$z } from './combobox-item.js';
19
+ import { d as defineCustomElement$y } from './dropdown.js';
20
+ import { d as defineCustomElement$x } from './dropdown-group.js';
21
+ import { d as defineCustomElement$w } from './dropdown-item.js';
22
+ import { d as defineCustomElement$v } from './filter2.js';
23
+ import { d as defineCustomElement$u } from './handle.js';
24
+ import { d as defineCustomElement$t } from './icon.js';
25
+ import { d as defineCustomElement$s } from './input.js';
26
+ import { d as defineCustomElement$r } from './list.js';
27
+ import { d as defineCustomElement$q } from './list-item2.js';
28
+ import { d as defineCustomElement$p } from './loader.js';
29
+ import { d as defineCustomElement$o } from './modal.js';
30
+ import { d as defineCustomElement$n } from './notice.js';
31
+ import { d as defineCustomElement$m } from './option.js';
32
+ import { d as defineCustomElement$l } from './panel.js';
33
+ import { d as defineCustomElement$k } from './popover.js';
34
+ import { d as defineCustomElement$j } from './progress.js';
35
+ import { d as defineCustomElement$i } from './scrim.js';
36
+ import { d as defineCustomElement$h } from './select.js';
37
+ import { d as defineCustomElement$g } from './shell.js';
38
+ import { d as defineCustomElement$f } from './stack.js';
39
+ import { d as defineCustomElement$e } from './tooltip.js';
40
+ import { d as defineCustomElement$d } from './card-manager2.js';
41
+ import { d as defineCustomElement$c } from './edit-card2.js';
42
+ import { d as defineCustomElement$b } from './floor-filter2.js';
42
43
  import { d as defineCustomElement$a } from './info-card2.js';
43
44
  import { d as defineCustomElement$9 } from './layer-table2.js';
44
45
  import { d as defineCustomElement$8 } from './map-card2.js';
@@ -49,7 +50,7 @@ import { d as defineCustomElement$4 } from './map-picker2.js';
49
50
  import { d as defineCustomElement$3 } from './map-search2.js';
50
51
  import { d as defineCustomElement$2 } from './map-tools2.js';
51
52
 
52
- const crowdsourceManagerCss = ":host{display:block;--calcite-label-margin-bottom:0px}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-ui-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-3)}.position-relative{position:relative}.height-50{height:50%}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-50{height:calc(100% - 50px)}.display-none{display:none}.height-53{height:53px}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-49-px{height:49px}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}";
53
+ const crowdsourceManagerCss = ":host{display:block;--calcite-label-margin-bottom:0px}.padding-1-2{padding:0.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-ui-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-3)}.position-relative{position:relative}.height-50{height:50%}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-50{height:calc(100% - 50px)}.display-none{display:none}.height-53{height:53px}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-49-px{height:49px}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:0.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button{width:40px !important;height:40px !important}.esri-floor-filter__level-button{width:40px !important;height:40px !important}.esri-floor-filter__browse-button{width:40px !important;height:40px !important}";
53
54
 
54
55
  const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceManager extends HTMLElement {
55
56
  constructor() {
@@ -62,6 +63,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
62
63
  this._shouldSetMapView = false;
63
64
  this.classicGrid = false;
64
65
  this.enableAutoRefresh = true;
66
+ this.enableFloorFilter = true;
65
67
  this.enableFullscreen = true;
66
68
  this.enableInlineEdit = false;
67
69
  this.enableLegend = true;
@@ -75,6 +77,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
75
77
  this.mapInfos = [];
76
78
  this.onlyShowUpdatableLayers = true;
77
79
  this.searchConfiguration = undefined;
80
+ this.theme = "light";
78
81
  this.zoomAndScrollToSelected = false;
79
82
  this._expandPopup = false;
80
83
  this._translations = undefined;
@@ -263,7 +266,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
263
266
  */
264
267
  _getMapAndCard(layoutMode, panelOpen, hideMap) {
265
268
  const mapSizeClass = this._getMapSizeClass(layoutMode, panelOpen);
266
- return this.classicGrid ? (h("div", { class: `${mapSizeClass} overflow-hidden` }, this._getCardNode(layoutMode, hideMap), this._getMapNode(layoutMode, hideMap))) : (h("div", { class: `${mapSizeClass} overflow-hidden` }, this._getMapNode(layoutMode, hideMap), this._getPopupExpandNode(), this._getCardNode(layoutMode, hideMap)));
269
+ return this.classicGrid ? (h("div", { class: `${mapSizeClass} overflow-hidden` }, this._getCardNode(layoutMode, hideMap), this._getMapNode(layoutMode, hideMap))) : (h("div", { class: `${mapSizeClass} overflow-hidden` }, this._getMapNode(layoutMode, hideMap), this._getPopupExpandNode(layoutMode, hideMap)));
267
270
  }
268
271
  /**
269
272
  * Get the map node based for the current layout options
@@ -275,10 +278,11 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
275
278
  * @protected
276
279
  */
277
280
  _getMapNode(layoutMode, hideMap) {
281
+ var _a, _b;
278
282
  const mapDisplayClass = this.classicGrid && layoutMode === ELayoutMode.GRID ? "display-flex height-full width-1-2" :
279
283
  layoutMode === ELayoutMode.GRID && !hideMap ? "" : "display-none";
280
284
  const mapContainerClass = this.classicGrid && layoutMode === ELayoutMode.GRID ? "width-full" : this._expandPopup ? "height-50-px" : "adjusted-height-50";
281
- return (h("div", { class: `${mapContainerClass} overflow-hidden ${mapDisplayClass}` }, h("map-card", { basemapConfig: this.basemapConfig, class: "width-full", enableBasemap: this.enableBasemap, enableFullscreen: this.enableFullscreen, enableLegend: this.enableLegend, enableSearch: this.enableSearch, mapInfos: this.mapInfos.filter(mapInfo => mapInfo.visible !== false) })));
285
+ return (h("div", { class: `${mapContainerClass} overflow-hidden ${mapDisplayClass}` }, h("map-card", { basemapConfig: this.basemapConfig, class: "width-full", enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter && ((_b = (_a = this._mapView) === null || _a === void 0 ? void 0 : _a.map) === null || _b === void 0 ? void 0 : _b.floorInfo), enableFullscreen: this.enableFullscreen, enableLegend: this.enableLegend, enableSearch: this.enableSearch, mapInfos: this.mapInfos.filter(mapInfo => mapInfo.visible !== false) })));
282
286
  }
283
287
  /**
284
288
  * Get the expand node for the popup information
@@ -286,11 +290,12 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
286
290
  * @returns the expand node
287
291
  * @protected
288
292
  */
289
- _getPopupExpandNode() {
293
+ _getPopupExpandNode(layoutMode, hideMap) {
290
294
  const icon = this._expandPopup ? "chevrons-down" : "chevrons-up";
291
295
  const id = "expand-popup";
292
296
  const tooltip = this._expandPopup ? this._translations.collapsePopup : this._translations.expandPopup;
293
- return (h("div", { class: "height-49-px calcite-mode-dark" }, h("calcite-panel", null, h("div", { class: "display-flex align-items-center", slot: "header-content" }, h("calcite-icon", { icon: "information", scale: "s" }), h("div", { class: "padding-inline-start-75" }, this._translations.information)), h("calcite-action", { class: "height-49-px", icon: icon, id: id, onClick: () => this._togglePopup(), slot: "header-actions-end" }), h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": id }, h("span", null, tooltip)))));
297
+ const themeClass = this.theme === "light" ? "calcite-mode-light" : "calcite-mode-dark";
298
+ return (h("div", { class: "calcite-mode-dark" }, h("calcite-panel", null, h("div", { class: "display-flex align-items-center", slot: "header-content" }, h("calcite-icon", { icon: "information", scale: "s" }), h("div", { class: "padding-inline-start-75" }, this._translations.information)), h("calcite-action", { class: "height-49-px", icon: icon, id: id, onClick: () => this._togglePopup(), slot: "header-actions-end" }), h("calcite-tooltip", { class: themeClass, label: "", placement: "bottom", "reference-element": id }, h("span", null, tooltip)), this._getCardNode(layoutMode, hideMap))));
294
299
  }
295
300
  /**
296
301
  * Toggle the popup information
@@ -311,10 +316,11 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
311
316
  */
312
317
  _getCardNode(layoutMode, hideMap) {
313
318
  const cardManagerHeight = this.classicGrid && layoutMode === ELayoutMode.GRID ? "" :
314
- layoutMode === ELayoutMode.GRID && !this._expandPopup && !hideMap ? "adjusted-height-50" : "adjusted-height-100";
319
+ layoutMode === ELayoutMode.GRID && !this._expandPopup && !hideMap ? "height-50" : "";
315
320
  const cardManagerContainer = this.classicGrid && layoutMode === ELayoutMode.GRID ?
316
321
  "width-full adjusted-height-100" : this._expandPopup ? "width-50 adjusted-height-100-50" : "width-50 height-full";
317
- return (h("div", { class: `${cardManagerContainer}` }, h("card-manager", { class: `${cardManagerHeight} width-full`, mapView: this === null || this === void 0 ? void 0 : this._mapView, zoomAndScrollToSelected: this.zoomAndScrollToSelected })));
322
+ const themeClass = this.theme === "light" ? "calcite-mode-light" : "calcite-mode-dark";
323
+ return (h("div", { class: `${cardManagerContainer} ${themeClass}` }, h("card-manager", { class: `${cardManagerHeight} width-full`, mapView: this === null || this === void 0 ? void 0 : this._mapView, zoomAndScrollToSelected: this.zoomAndScrollToSelected })));
318
324
  }
319
325
  /**
320
326
  * Get the table node based for the current layout
@@ -387,6 +393,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
387
393
  }, [0, "crowdsource-manager", {
388
394
  "classicGrid": [4, "classic-grid"],
389
395
  "enableAutoRefresh": [4, "enable-auto-refresh"],
396
+ "enableFloorFilter": [4, "enable-floor-filter"],
390
397
  "enableFullscreen": [4, "enable-fullscreen"],
391
398
  "enableInlineEdit": [4, "enable-inline-edit"],
392
399
  "enableLegend": [4, "enable-legend"],
@@ -400,6 +407,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
400
407
  "mapInfos": [16],
401
408
  "onlyShowUpdatableLayers": [4, "only-show-updatable-layers"],
402
409
  "searchConfiguration": [16],
410
+ "theme": [1],
403
411
  "zoomAndScrollToSelected": [4, "zoom-and-scroll-to-selected"],
404
412
  "_expandPopup": [32],
405
413
  "_translations": [32],
@@ -411,7 +419,7 @@ function defineCustomElement$1() {
411
419
  if (typeof customElements === "undefined") {
412
420
  return;
413
421
  }
414
- const components = ["crowdsource-manager", "basemap-gallery", "calcite-action", "calcite-action-bar", "calcite-action-group", "calcite-action-menu", "calcite-alert", "calcite-button", "calcite-chip", "calcite-combobox", "calcite-combobox-item", "calcite-dropdown", "calcite-dropdown-group", "calcite-dropdown-item", "calcite-filter", "calcite-handle", "calcite-icon", "calcite-input", "calcite-list", "calcite-list-item", "calcite-loader", "calcite-modal", "calcite-notice", "calcite-option", "calcite-panel", "calcite-popover", "calcite-progress", "calcite-scrim", "calcite-select", "calcite-shell", "calcite-stack", "calcite-tooltip", "card-manager", "edit-card", "info-card", "layer-table", "map-card", "map-fullscreen", "map-layer-picker", "map-legend", "map-picker", "map-search", "map-tools"];
422
+ const components = ["crowdsource-manager", "basemap-gallery", "calcite-action", "calcite-action-bar", "calcite-action-group", "calcite-action-menu", "calcite-alert", "calcite-button", "calcite-chip", "calcite-combobox", "calcite-combobox-item", "calcite-dropdown", "calcite-dropdown-group", "calcite-dropdown-item", "calcite-filter", "calcite-handle", "calcite-icon", "calcite-input", "calcite-list", "calcite-list-item", "calcite-loader", "calcite-modal", "calcite-notice", "calcite-option", "calcite-panel", "calcite-popover", "calcite-progress", "calcite-scrim", "calcite-select", "calcite-shell", "calcite-stack", "calcite-tooltip", "card-manager", "edit-card", "floor-filter", "info-card", "layer-table", "map-card", "map-fullscreen", "map-layer-picker", "map-legend", "map-picker", "map-search", "map-tools"];
415
423
  components.forEach(tagName => { switch (tagName) {
416
424
  case "crowdsource-manager":
417
425
  if (!customElements.get(tagName)) {
@@ -420,165 +428,170 @@ function defineCustomElement$1() {
420
428
  break;
421
429
  case "basemap-gallery":
422
430
  if (!customElements.get(tagName)) {
423
- defineCustomElement$H();
431
+ defineCustomElement$I();
424
432
  }
425
433
  break;
426
434
  case "calcite-action":
427
435
  if (!customElements.get(tagName)) {
428
- defineCustomElement$G();
436
+ defineCustomElement$H();
429
437
  }
430
438
  break;
431
439
  case "calcite-action-bar":
432
440
  if (!customElements.get(tagName)) {
433
- defineCustomElement$F();
441
+ defineCustomElement$G();
434
442
  }
435
443
  break;
436
444
  case "calcite-action-group":
437
445
  if (!customElements.get(tagName)) {
438
- defineCustomElement$E();
446
+ defineCustomElement$F();
439
447
  }
440
448
  break;
441
449
  case "calcite-action-menu":
442
450
  if (!customElements.get(tagName)) {
443
- defineCustomElement$D();
451
+ defineCustomElement$E();
444
452
  }
445
453
  break;
446
454
  case "calcite-alert":
447
455
  if (!customElements.get(tagName)) {
448
- defineCustomElement$C();
456
+ defineCustomElement$D();
449
457
  }
450
458
  break;
451
459
  case "calcite-button":
452
460
  if (!customElements.get(tagName)) {
453
- defineCustomElement$B();
461
+ defineCustomElement$C();
454
462
  }
455
463
  break;
456
464
  case "calcite-chip":
457
465
  if (!customElements.get(tagName)) {
458
- defineCustomElement$A();
466
+ defineCustomElement$B();
459
467
  }
460
468
  break;
461
469
  case "calcite-combobox":
462
470
  if (!customElements.get(tagName)) {
463
- defineCustomElement$z();
471
+ defineCustomElement$A();
464
472
  }
465
473
  break;
466
474
  case "calcite-combobox-item":
467
475
  if (!customElements.get(tagName)) {
468
- defineCustomElement$y();
476
+ defineCustomElement$z();
469
477
  }
470
478
  break;
471
479
  case "calcite-dropdown":
472
480
  if (!customElements.get(tagName)) {
473
- defineCustomElement$x();
481
+ defineCustomElement$y();
474
482
  }
475
483
  break;
476
484
  case "calcite-dropdown-group":
477
485
  if (!customElements.get(tagName)) {
478
- defineCustomElement$w();
486
+ defineCustomElement$x();
479
487
  }
480
488
  break;
481
489
  case "calcite-dropdown-item":
482
490
  if (!customElements.get(tagName)) {
483
- defineCustomElement$v();
491
+ defineCustomElement$w();
484
492
  }
485
493
  break;
486
494
  case "calcite-filter":
487
495
  if (!customElements.get(tagName)) {
488
- defineCustomElement$u();
496
+ defineCustomElement$v();
489
497
  }
490
498
  break;
491
499
  case "calcite-handle":
492
500
  if (!customElements.get(tagName)) {
493
- defineCustomElement$t();
501
+ defineCustomElement$u();
494
502
  }
495
503
  break;
496
504
  case "calcite-icon":
497
505
  if (!customElements.get(tagName)) {
498
- defineCustomElement$s();
506
+ defineCustomElement$t();
499
507
  }
500
508
  break;
501
509
  case "calcite-input":
502
510
  if (!customElements.get(tagName)) {
503
- defineCustomElement$r();
511
+ defineCustomElement$s();
504
512
  }
505
513
  break;
506
514
  case "calcite-list":
507
515
  if (!customElements.get(tagName)) {
508
- defineCustomElement$q();
516
+ defineCustomElement$r();
509
517
  }
510
518
  break;
511
519
  case "calcite-list-item":
512
520
  if (!customElements.get(tagName)) {
513
- defineCustomElement$p();
521
+ defineCustomElement$q();
514
522
  }
515
523
  break;
516
524
  case "calcite-loader":
517
525
  if (!customElements.get(tagName)) {
518
- defineCustomElement$o();
526
+ defineCustomElement$p();
519
527
  }
520
528
  break;
521
529
  case "calcite-modal":
522
530
  if (!customElements.get(tagName)) {
523
- defineCustomElement$n();
531
+ defineCustomElement$o();
524
532
  }
525
533
  break;
526
534
  case "calcite-notice":
527
535
  if (!customElements.get(tagName)) {
528
- defineCustomElement$m();
536
+ defineCustomElement$n();
529
537
  }
530
538
  break;
531
539
  case "calcite-option":
532
540
  if (!customElements.get(tagName)) {
533
- defineCustomElement$l();
541
+ defineCustomElement$m();
534
542
  }
535
543
  break;
536
544
  case "calcite-panel":
537
545
  if (!customElements.get(tagName)) {
538
- defineCustomElement$k();
546
+ defineCustomElement$l();
539
547
  }
540
548
  break;
541
549
  case "calcite-popover":
542
550
  if (!customElements.get(tagName)) {
543
- defineCustomElement$j();
551
+ defineCustomElement$k();
544
552
  }
545
553
  break;
546
554
  case "calcite-progress":
547
555
  if (!customElements.get(tagName)) {
548
- defineCustomElement$i();
556
+ defineCustomElement$j();
549
557
  }
550
558
  break;
551
559
  case "calcite-scrim":
552
560
  if (!customElements.get(tagName)) {
553
- defineCustomElement$h();
561
+ defineCustomElement$i();
554
562
  }
555
563
  break;
556
564
  case "calcite-select":
557
565
  if (!customElements.get(tagName)) {
558
- defineCustomElement$g();
566
+ defineCustomElement$h();
559
567
  }
560
568
  break;
561
569
  case "calcite-shell":
562
570
  if (!customElements.get(tagName)) {
563
- defineCustomElement$f();
571
+ defineCustomElement$g();
564
572
  }
565
573
  break;
566
574
  case "calcite-stack":
567
575
  if (!customElements.get(tagName)) {
568
- defineCustomElement$e();
576
+ defineCustomElement$f();
569
577
  }
570
578
  break;
571
579
  case "calcite-tooltip":
572
580
  if (!customElements.get(tagName)) {
573
- defineCustomElement$d();
581
+ defineCustomElement$e();
574
582
  }
575
583
  break;
576
584
  case "card-manager":
577
585
  if (!customElements.get(tagName)) {
578
- defineCustomElement$c();
586
+ defineCustomElement$d();
579
587
  }
580
588
  break;
581
589
  case "edit-card":
590
+ if (!customElements.get(tagName)) {
591
+ defineCustomElement$c();
592
+ }
593
+ break;
594
+ case "floor-filter":
582
595
  if (!customElements.get(tagName)) {
583
596
  defineCustomElement$b();
584
597
  }
@@ -9,7 +9,7 @@ import { g as getLocaleComponentStrings } from './locale.js';
9
9
  import { d as defineCustomElement$2 } from './icon.js';
10
10
  import { d as defineCustomElement$1 } from './notice.js';
11
11
 
12
- const editCardCss = ":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{--calcite-ui-background:none;padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-ui-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-ui-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}.esri-feature-relationship__list{border-top:1px solid var(--calcite-ui-border-3);border-bottom:1px solid var(--calcite-ui-border-3);margin-top:12px}.esri-feature-form__related-records_list{border-top:1px solid var(--calcite-ui-border-3);border-bottom:1px solid var(--calcite-ui-border-3);margin-top:12px}";
12
+ const editCardCss = ":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{--calcite-ui-background:none;padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-ui-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-ui-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}";
13
13
 
14
14
  const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLElement {
15
15
  constructor() {
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface FloorFilter extends Components.FloorFilter, HTMLElement {}
4
+ export const FloorFilter: {
5
+ prototype: FloorFilter;
6
+ new (): FloorFilter;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,11 @@
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 { F as FloorFilter$1, d as defineCustomElement$1 } from './floor-filter2.js';
7
+
8
+ const FloorFilter = FloorFilter$1;
9
+ const defineCustomElement = defineCustomElement$1;
10
+
11
+ export { FloorFilter, defineCustomElement };
@@ -0,0 +1,115 @@
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
+
9
+ const floorFilterCss = ":host{display:block}";
10
+
11
+ const FloorFilter = /*@__PURE__*/ proxyCustomElement(class FloorFilter extends HTMLElement {
12
+ constructor() {
13
+ super();
14
+ this.__registerHost();
15
+ this.__attachShadow();
16
+ this.floorFilterWidget = undefined;
17
+ this.mapView = undefined;
18
+ }
19
+ //--------------------------------------------------------------------------
20
+ //
21
+ // Watch handlers
22
+ //
23
+ //--------------------------------------------------------------------------
24
+ async mapViewWatchHandler() {
25
+ await this.mapView.when(() => {
26
+ this._initFloorFilter(this.mapView);
27
+ });
28
+ }
29
+ //--------------------------------------------------------------------------
30
+ //
31
+ // Methods (public)
32
+ //
33
+ //--------------------------------------------------------------------------
34
+ //--------------------------------------------------------------------------
35
+ //
36
+ // Events (public)
37
+ //
38
+ //--------------------------------------------------------------------------
39
+ //--------------------------------------------------------------------------
40
+ //
41
+ // Functions (lifecycle)
42
+ //
43
+ //--------------------------------------------------------------------------
44
+ /**
45
+ * StencilJS: Called once just after the component is first connected to the DOM.
46
+ */
47
+ async componentWillLoad() {
48
+ return this._initModules();
49
+ }
50
+ render() {
51
+ return (h(Host, null, h("div", { ref: (el) => { this._floorFilterElement = el; } })));
52
+ }
53
+ //--------------------------------------------------------------------------
54
+ //
55
+ // Functions (protected)
56
+ //
57
+ //--------------------------------------------------------------------------
58
+ /**
59
+ * Load esri javascript api modules
60
+ *
61
+ * @returns Promise resolving when function is done
62
+ *
63
+ * @protected
64
+ */
65
+ async _initModules() {
66
+ const [FloorFilter] = await loadModules([
67
+ "esri/widgets/FloorFilter"
68
+ ]);
69
+ this.FloorFilter = FloorFilter;
70
+ }
71
+ /**
72
+ * Initialize the floor filter or reset the current view if it already exists
73
+ *
74
+ * @returns void
75
+ *
76
+ * @protected
77
+ */
78
+ _initFloorFilter(view) {
79
+ if (view && this.FloorFilter) {
80
+ if (!this.floorFilterWidget) {
81
+ this.floorFilterWidget = new this.FloorFilter({
82
+ container: this._floorFilterElement,
83
+ view
84
+ });
85
+ }
86
+ else {
87
+ this.floorFilterWidget.view = view;
88
+ }
89
+ }
90
+ }
91
+ get el() { return this; }
92
+ static get watchers() { return {
93
+ "mapView": ["mapViewWatchHandler"]
94
+ }; }
95
+ static get style() { return floorFilterCss; }
96
+ }, [1, "floor-filter", {
97
+ "floorFilterWidget": [16],
98
+ "mapView": [16]
99
+ }]);
100
+ function defineCustomElement() {
101
+ if (typeof customElements === "undefined") {
102
+ return;
103
+ }
104
+ const components = ["floor-filter"];
105
+ components.forEach(tagName => { switch (tagName) {
106
+ case "floor-filter":
107
+ if (!customElements.get(tagName)) {
108
+ customElements.define(tagName, FloorFilter);
109
+ }
110
+ break;
111
+ } });
112
+ }
113
+ defineCustomElement();
114
+
115
+ export { FloorFilter as F, defineCustomElement as d };
@@ -102,12 +102,13 @@ const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLEle
102
102
  * Renders the component.
103
103
  */
104
104
  render() {
105
- var _a;
105
+ var _a, _b, _c;
106
106
  const loadingClass = this.isLoading ? "" : "display-none";
107
107
  const featureNodeClass = this.isLoading || this._editRecordOpen ? "display-none" : "position-absolute";
108
108
  const editClass = !this.isLoading && this._editRecordOpen ? "position-absolute" : "display-none";
109
109
  const editButtonClass = !this.isLoading && this._editRecordOpen ? "display-none" : "";
110
- return (h(Host, null, h("calcite-shell", null, h("calcite-loader", { class: loadingClass, label: this._translations.fetchingData }), h("div", { class: "esri-widget " + featureNodeClass, id: "features-node" }), h("div", { class: `${editButtonClass} width-100`, slot: "footer" }, h("div", { class: "display-flex top-border padding-1-2" }, h("calcite-button", { appearance: "solid", "icon-start": "pencil", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": "solutions-edit" }, h("span", null, this._translations.edit))), h("div", { class: "display-flex padding-1-2 button-container top-border" }, h("div", { class: "min-width-100" }, h("calcite-button", { appearance: "outline", id: "solutions-back", onClick: () => this._back(), width: "full" }, this._translations.back), h("calcite-tooltip", { label: "", placement: "top", "reference-element": "solutions-back" }, h("span", null, this._translations.back))), h("div", null, this._getCount()), h("div", { class: "min-width-100" }, h("calcite-button", { appearance: "outline", id: "solutions-next", onClick: () => this._next(), width: "full" }, this._translations.next), h("calcite-tooltip", { label: "", placement: "top", "reference-element": "solutions-next" }, h("span", null, this._translations.next))))), h("edit-card", { class: editClass, graphicIndex: (_a = this._features) === null || _a === void 0 ? void 0 : _a.selectedFeatureIndex, graphics: this.graphics, mapView: this.mapView, open: this._editRecordOpen }), h("calcite-alert", { icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { slot: "title" }, this._translations.editDisabled), h("div", { slot: "message" }, this._translations.enableEditing)))));
110
+ const nextBackDisabled = ((_b = (_a = this._features) === null || _a === void 0 ? void 0 : _a.features) === null || _b === void 0 ? void 0 : _b.length) < 2;
111
+ return (h(Host, null, h("calcite-shell", null, h("calcite-loader", { class: loadingClass, label: this._translations.fetchingData }), h("div", { class: "esri-widget " + featureNodeClass, id: "features-node" }), h("div", { class: `${editButtonClass} width-100`, slot: "footer" }, h("div", { class: "display-flex top-border padding-1-2" }, h("calcite-button", { appearance: "solid", "icon-start": "pencil", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": "solutions-edit" }, h("span", null, this._translations.edit))), h("div", { class: "display-flex padding-1-2 button-container top-border" }, h("div", { class: "min-width-100" }, h("calcite-button", { appearance: "outline", disabled: nextBackDisabled, id: "solutions-back", onClick: () => this._back(), width: "full" }, this._translations.back), h("calcite-tooltip", { label: "", placement: "top", "reference-element": "solutions-back" }, h("span", null, this._translations.back))), h("div", null, this._getCount()), h("div", { class: "min-width-100" }, h("calcite-button", { appearance: "outline", disabled: nextBackDisabled, id: "solutions-next", onClick: () => this._next(), width: "full" }, this._translations.next), h("calcite-tooltip", { label: "", placement: "top", "reference-element": "solutions-next" }, h("span", null, this._translations.next))))), h("edit-card", { class: editClass, graphicIndex: (_c = this._features) === null || _c === void 0 ? void 0 : _c.selectedFeatureIndex, graphics: this.graphics, mapView: this.mapView, open: this._editRecordOpen }), h("calcite-alert", { icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { slot: "title" }, this._translations.editDisabled), h("div", { slot: "message" }, this._translations.enableEditing)))));
111
112
  }
112
113
  //--------------------------------------------------------------------------
113
114
  //
@@ -34,13 +34,14 @@ import { d as defineCustomElement$3 } from './shell.js';
34
34
  import { d as defineCustomElement$2 } from './tooltip.js';
35
35
  import { d as defineCustomElement$1 } from './map-layer-picker2.js';
36
36
 
37
- const layerTableCss = ":host{display:block}.height-full{height:100%}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.border-end{border-inline-end:1px solid var(--calcite-ui-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.bottom-left{position:absolute;left:0;bottom:0}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0}.background{background-color:var(--calcite-ui-background)}.text-color{color:var(--calcite-ui-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-ui-danger)}";
37
+ const layerTableCss = ":host{display:block}.height-full{height:100%}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.border-end{border-inline-end:1px solid var(--calcite-ui-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.bottom-left{position:absolute;left:0;bottom:0}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0}.background{background-color:var(--calcite-ui-background)}.text-color{color:var(--calcite-ui-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-ui-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{padding:var(--lumo-space-xs) var(--lumo-space-m) !important}";
38
38
 
39
39
  const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTMLElement {
40
40
  constructor() {
41
41
  super();
42
42
  this.__registerHost();
43
43
  this.featureSelectionChange = createEvent(this, "featureSelectionChange", 7);
44
+ this.openFilterOptions = createEvent(this, "openFilterOptions", 7);
44
45
  /**
45
46
  * number[]: A list of all IDs for the current layer
46
47
  */
@@ -219,9 +220,10 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
219
220
  * @returns The dom node that contains the controls
220
221
  */
221
222
  _getTableControlRow(slot) {
223
+ var _a;
222
224
  const featuresSelected = this._selectedIndexes.length > 0;
223
225
  const id = "more-table-options";
224
- return (h("div", { class: "display-flex table-border height-51", slot: slot }, h("calcite-action-bar", { expandDisabled: true, expanded: true, layout: "horizontal" }, h("div", { class: "border-end" }, h("map-layer-picker", { appearance: "transparent", mapView: this.mapView, onLayerSelectionChange: (evt) => this._layerSelectionChanged(evt), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", type: "dropdown" })), this._getAction("zoom-to-object", this._translations.zoom, () => this._zoom(), !featuresSelected), this._getAction("filter", this._translations.filters, () => this._filter(), false), this._deleteEnabled ? this._getDangerAction("trash", this._translations.delete, () => this._delete(), !featuresSelected) : undefined, this._getAction("erase", this._translations.clearSelection, () => this._clearSelection(), !featuresSelected)), h("calcite-dropdown", { disabled: this._layer === undefined }, h("calcite-action", { appearance: "solid", id: id, label: "", slot: "trigger", text: "" }, h("calcite-button", { appearance: "transparent", iconEnd: "chevron-down", kind: "neutral" }, this._translations.more)), h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": id }, h("span", null, this._translations.moreOptions)), h("calcite-dropdown-group", { "selection-mode": "none" }, h("calcite-dropdown-item", { iconStart: "list-check-all", onClick: () => this._selectAll() }, this._translations.selectAll), h("calcite-dropdown-item", { iconStart: "selected-items-filter", onClick: () => this._toggleShowSelected() }, this._showOnlySelected ? this._translations.showAll :
226
+ return (h("div", { class: "display-flex table-border height-51", slot: slot }, h("calcite-action-bar", { expandDisabled: true, expanded: true, layout: "horizontal" }, h("div", { class: "border-end" }, h("map-layer-picker", { appearance: "transparent", mapView: this.mapView, onLayerSelectionChange: (evt) => this._layerSelectionChanged(evt), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", type: "dropdown" })), this._getAction("zoom-to-object", this._translations.zoom, () => this._zoom(), !featuresSelected), ((_a = this.mapInfo) === null || _a === void 0 ? void 0 : _a.filters) ? this._getAction("filter", this._translations.filters, () => this._filter(), false) : undefined, this._deleteEnabled ? this._getDangerAction("trash", this._translations.delete, () => this._delete(), !featuresSelected) : undefined, this._getAction("erase", this._translations.clearSelection, () => this._clearSelection(), !featuresSelected)), h("calcite-dropdown", { disabled: this._layer === undefined }, h("calcite-action", { appearance: "solid", id: id, label: "", slot: "trigger", text: "" }, h("calcite-button", { appearance: "transparent", iconEnd: "chevron-down", kind: "neutral" }, this._translations.more)), h("calcite-tooltip", { label: "", placement: "bottom", "reference-element": id }, h("span", null, this._translations.moreOptions)), h("calcite-dropdown-group", { "selection-mode": "none" }, h("calcite-dropdown-item", { iconStart: "list-check-all", onClick: () => this._selectAll() }, this._translations.selectAll), h("calcite-dropdown-item", { iconStart: "selected-items-filter", onClick: () => this._toggleShowSelected() }, this._showOnlySelected ? this._translations.showAll :
225
227
  this._translations.showSelected), h("calcite-dropdown-item", { iconStart: "compare", onClick: () => this._switchSelected() }, this._translations.switchSelected), h("calcite-dropdown-item", { iconStart: "refresh", onClick: () => this._refresh() }, this._translations.refresh), h("calcite-dropdown-item", { iconStart: "export", onClick: () => void this._exportToCSV() }, this._translations.exportCSV)))));
226
228
  }
227
229
  /**
@@ -472,7 +474,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
472
474
  * @returns void
473
475
  */
474
476
  _filter() {
475
- alert("do whatever this button is supposed to do");
477
+ this.openFilterOptions.emit();
476
478
  }
477
479
  /**
478
480
  * Select all rows that are not currently selectd