@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
@@ -5,24 +5,25 @@
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
7
7
  import { l as loadModules } from './loadModules.js';
8
- import { d as defineCustomElement$n } from './basemap-gallery2.js';
9
- import { d as defineCustomElement$m } from './action.js';
10
- import { d as defineCustomElement$l } from './action-bar.js';
11
- import { d as defineCustomElement$k } from './action-group.js';
12
- import { d as defineCustomElement$j } from './action-menu.js';
13
- import { d as defineCustomElement$i } from './button.js';
14
- import { d as defineCustomElement$h } from './filter2.js';
15
- import { d as defineCustomElement$g } from './handle.js';
16
- import { d as defineCustomElement$f } from './icon.js';
17
- import { d as defineCustomElement$e } from './input.js';
18
- import { d as defineCustomElement$d } from './list.js';
19
- import { d as defineCustomElement$c } from './list-item2.js';
20
- import { d as defineCustomElement$b } from './loader.js';
21
- import { d as defineCustomElement$a } from './popover.js';
22
- import { d as defineCustomElement$9 } from './progress.js';
23
- import { d as defineCustomElement$8 } from './scrim.js';
24
- import { d as defineCustomElement$7 } from './stack.js';
25
- import { d as defineCustomElement$6 } from './tooltip.js';
8
+ import { d as defineCustomElement$o } from './basemap-gallery2.js';
9
+ import { d as defineCustomElement$n } from './action.js';
10
+ import { d as defineCustomElement$m } from './action-bar.js';
11
+ import { d as defineCustomElement$l } from './action-group.js';
12
+ import { d as defineCustomElement$k } from './action-menu.js';
13
+ import { d as defineCustomElement$j } from './button.js';
14
+ import { d as defineCustomElement$i } from './filter2.js';
15
+ import { d as defineCustomElement$h } from './handle.js';
16
+ import { d as defineCustomElement$g } from './icon.js';
17
+ import { d as defineCustomElement$f } from './input.js';
18
+ import { d as defineCustomElement$e } from './list.js';
19
+ import { d as defineCustomElement$d } from './list-item2.js';
20
+ import { d as defineCustomElement$c } from './loader.js';
21
+ import { d as defineCustomElement$b } from './popover.js';
22
+ import { d as defineCustomElement$a } from './progress.js';
23
+ import { d as defineCustomElement$9 } from './scrim.js';
24
+ import { d as defineCustomElement$8 } from './stack.js';
25
+ import { d as defineCustomElement$7 } from './tooltip.js';
26
+ import { d as defineCustomElement$6 } from './floor-filter2.js';
26
27
  import { d as defineCustomElement$5 } from './map-fullscreen2.js';
27
28
  import { d as defineCustomElement$4 } from './map-legend2.js';
28
29
  import { d as defineCustomElement$3 } from './map-picker2.js';
@@ -42,6 +43,7 @@ const MapCard = /*@__PURE__*/ proxyCustomElement(class MapCard extends HTMLEleme
42
43
  */
43
44
  this._loadedId = "";
44
45
  this.enableLegend = undefined;
46
+ this.enableFloorFilter = undefined;
45
47
  this.enableFullscreen = undefined;
46
48
  this.enableSearch = undefined;
47
49
  this.enableBasemap = undefined;
@@ -72,7 +74,7 @@ const MapCard = /*@__PURE__*/ proxyCustomElement(class MapCard extends HTMLEleme
72
74
  * Renders the component.
73
75
  */
74
76
  render() {
75
- return (h(Host, null, h("map-picker", { mapInfos: this.mapInfos }), h("div", { class: "map-height", ref: (el) => (this._mapDiv = el) }), h("map-tools", { basemapConfig: this.basemapConfig, class: "box-shadow", enableBasemap: this.enableBasemap, enableFullscreen: this.enableFullscreen, enableLegend: this.enableLegend, enableSearch: this.enableSearch, mapView: this.mapView, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration })));
77
+ return (h(Host, null, h("map-picker", { mapInfos: this.mapInfos }), h("div", { class: "map-height", ref: (el) => (this._mapDiv = el) }), h("map-tools", { basemapConfig: this.basemapConfig, class: "box-shadow", enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableLegend: this.enableLegend, enableSearch: this.enableSearch, mapView: this.mapView, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration })));
76
78
  }
77
79
  //--------------------------------------------------------------------------
78
80
  //
@@ -140,6 +142,7 @@ const MapCard = /*@__PURE__*/ proxyCustomElement(class MapCard extends HTMLEleme
140
142
  static get style() { return mapCardCss; }
141
143
  }, [0, "map-card", {
142
144
  "enableLegend": [4, "enable-legend"],
145
+ "enableFloorFilter": [4, "enable-floor-filter"],
143
146
  "enableFullscreen": [4, "enable-fullscreen"],
144
147
  "enableSearch": [4, "enable-search"],
145
148
  "enableBasemap": [4, "enable-basemap"],
@@ -153,7 +156,7 @@ function defineCustomElement() {
153
156
  if (typeof customElements === "undefined") {
154
157
  return;
155
158
  }
156
- const components = ["map-card", "basemap-gallery", "calcite-action", "calcite-action-bar", "calcite-action-group", "calcite-action-menu", "calcite-button", "calcite-filter", "calcite-handle", "calcite-icon", "calcite-input", "calcite-list", "calcite-list-item", "calcite-loader", "calcite-popover", "calcite-progress", "calcite-scrim", "calcite-stack", "calcite-tooltip", "map-fullscreen", "map-legend", "map-picker", "map-search", "map-tools"];
159
+ const components = ["map-card", "basemap-gallery", "calcite-action", "calcite-action-bar", "calcite-action-group", "calcite-action-menu", "calcite-button", "calcite-filter", "calcite-handle", "calcite-icon", "calcite-input", "calcite-list", "calcite-list-item", "calcite-loader", "calcite-popover", "calcite-progress", "calcite-scrim", "calcite-stack", "calcite-tooltip", "floor-filter", "map-fullscreen", "map-legend", "map-picker", "map-search", "map-tools"];
157
160
  components.forEach(tagName => { switch (tagName) {
158
161
  case "map-card":
159
162
  if (!customElements.get(tagName)) {
@@ -162,90 +165,95 @@ function defineCustomElement() {
162
165
  break;
163
166
  case "basemap-gallery":
164
167
  if (!customElements.get(tagName)) {
165
- defineCustomElement$n();
168
+ defineCustomElement$o();
166
169
  }
167
170
  break;
168
171
  case "calcite-action":
169
172
  if (!customElements.get(tagName)) {
170
- defineCustomElement$m();
173
+ defineCustomElement$n();
171
174
  }
172
175
  break;
173
176
  case "calcite-action-bar":
174
177
  if (!customElements.get(tagName)) {
175
- defineCustomElement$l();
178
+ defineCustomElement$m();
176
179
  }
177
180
  break;
178
181
  case "calcite-action-group":
179
182
  if (!customElements.get(tagName)) {
180
- defineCustomElement$k();
183
+ defineCustomElement$l();
181
184
  }
182
185
  break;
183
186
  case "calcite-action-menu":
184
187
  if (!customElements.get(tagName)) {
185
- defineCustomElement$j();
188
+ defineCustomElement$k();
186
189
  }
187
190
  break;
188
191
  case "calcite-button":
189
192
  if (!customElements.get(tagName)) {
190
- defineCustomElement$i();
193
+ defineCustomElement$j();
191
194
  }
192
195
  break;
193
196
  case "calcite-filter":
194
197
  if (!customElements.get(tagName)) {
195
- defineCustomElement$h();
198
+ defineCustomElement$i();
196
199
  }
197
200
  break;
198
201
  case "calcite-handle":
199
202
  if (!customElements.get(tagName)) {
200
- defineCustomElement$g();
203
+ defineCustomElement$h();
201
204
  }
202
205
  break;
203
206
  case "calcite-icon":
204
207
  if (!customElements.get(tagName)) {
205
- defineCustomElement$f();
208
+ defineCustomElement$g();
206
209
  }
207
210
  break;
208
211
  case "calcite-input":
209
212
  if (!customElements.get(tagName)) {
210
- defineCustomElement$e();
213
+ defineCustomElement$f();
211
214
  }
212
215
  break;
213
216
  case "calcite-list":
214
217
  if (!customElements.get(tagName)) {
215
- defineCustomElement$d();
218
+ defineCustomElement$e();
216
219
  }
217
220
  break;
218
221
  case "calcite-list-item":
219
222
  if (!customElements.get(tagName)) {
220
- defineCustomElement$c();
223
+ defineCustomElement$d();
221
224
  }
222
225
  break;
223
226
  case "calcite-loader":
224
227
  if (!customElements.get(tagName)) {
225
- defineCustomElement$b();
228
+ defineCustomElement$c();
226
229
  }
227
230
  break;
228
231
  case "calcite-popover":
229
232
  if (!customElements.get(tagName)) {
230
- defineCustomElement$a();
233
+ defineCustomElement$b();
231
234
  }
232
235
  break;
233
236
  case "calcite-progress":
234
237
  if (!customElements.get(tagName)) {
235
- defineCustomElement$9();
238
+ defineCustomElement$a();
236
239
  }
237
240
  break;
238
241
  case "calcite-scrim":
239
242
  if (!customElements.get(tagName)) {
240
- defineCustomElement$8();
243
+ defineCustomElement$9();
241
244
  }
242
245
  break;
243
246
  case "calcite-stack":
244
247
  if (!customElements.get(tagName)) {
245
- defineCustomElement$7();
248
+ defineCustomElement$8();
246
249
  }
247
250
  break;
248
251
  case "calcite-tooltip":
252
+ if (!customElements.get(tagName)) {
253
+ defineCustomElement$7();
254
+ }
255
+ break;
256
+ case "floor-filter":
249
257
  if (!customElements.get(tagName)) {
250
258
  defineCustomElement$6();
251
259
  }
@@ -23,7 +23,7 @@ import { d as defineCustomElement$3 } from './scrim.js';
23
23
  import { d as defineCustomElement$2 } from './stack.js';
24
24
  import { d as defineCustomElement$1 } from './tooltip.js';
25
25
 
26
- const mapPickerCss = ":host{display:block}.width-full{width:100%}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-ui-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.action-bar-color{background-color:var(--calcite-ui-border-3) !important}.align-center{align-items:center}";
26
+ const mapPickerCss = ":host{display:block}.width-full{width:100%}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-ui-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}";
27
27
 
28
28
  const MapPicker = /*@__PURE__*/ proxyCustomElement(class MapPicker extends HTMLElement {
29
29
  constructor() {
@@ -125,7 +125,7 @@ const MapPicker = /*@__PURE__*/ proxyCustomElement(class MapPicker extends HTMLE
125
125
  * @protected
126
126
  */
127
127
  _getToolbar() {
128
- return (h("div", { class: "display-flex" }, h("calcite-action-bar", { class: "action-bar-color border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: "header" }, this._getMapPicker())));
128
+ return (h("div", { class: "display-flex" }, h("calcite-action-bar", { class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: "header" }, this._getMapPicker())));
129
129
  }
130
130
  /**
131
131
  * Get a pick list for all maps in mapInfos
@@ -5,11 +5,12 @@
5
5
  */
6
6
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
7
7
  import { g as getLocaleComponentStrings } from './locale.js';
8
- import { d as defineCustomElement$8 } from './basemap-gallery2.js';
9
- import { d as defineCustomElement$7 } from './action.js';
10
- import { d as defineCustomElement$6 } from './icon.js';
11
- import { d as defineCustomElement$5 } from './loader.js';
12
- import { d as defineCustomElement$4 } from './tooltip.js';
8
+ import { d as defineCustomElement$9 } from './basemap-gallery2.js';
9
+ import { d as defineCustomElement$8 } from './action.js';
10
+ import { d as defineCustomElement$7 } from './icon.js';
11
+ import { d as defineCustomElement$6 } from './loader.js';
12
+ import { d as defineCustomElement$5 } from './tooltip.js';
13
+ import { d as defineCustomElement$4 } from './floor-filter2.js';
13
14
  import { d as defineCustomElement$3 } from './map-fullscreen2.js';
14
15
  import { d as defineCustomElement$2 } from './map-legend2.js';
15
16
  import { d as defineCustomElement$1 } from './map-search2.js';
@@ -22,6 +23,7 @@ const MapTools = /*@__PURE__*/ proxyCustomElement(class MapTools extends HTMLEle
22
23
  this.__registerHost();
23
24
  this.__attachShadow();
24
25
  this.enableLegend = undefined;
26
+ this.enableFloorFilter = undefined;
25
27
  this.enableFullscreen = undefined;
26
28
  this.enableSearch = undefined;
27
29
  this.enableBasemap = undefined;
@@ -32,6 +34,7 @@ const MapTools = /*@__PURE__*/ proxyCustomElement(class MapTools extends HTMLEle
32
34
  this._translations = undefined;
33
35
  this._showTools = true;
34
36
  this._showBasemapWidget = false;
37
+ this._showFloorFilter = false;
35
38
  this._showFullscreen = false;
36
39
  this._showLegendWidget = false;
37
40
  this._showSearchWidget = false;
@@ -58,6 +61,21 @@ const MapTools = /*@__PURE__*/ proxyCustomElement(class MapTools extends HTMLEle
58
61
  /**
59
62
  * When the _showBasemapWidget property is true display the basemap gallery
60
63
  */
64
+ async _showFloorFilterWatchHandler(v) {
65
+ const widget = this._floorFilterElement.floorFilterWidget;
66
+ if (v) {
67
+ this.mapView.ui.add(widget, {
68
+ position: "top-right",
69
+ index: 1
70
+ });
71
+ }
72
+ else {
73
+ this.mapView.ui.remove(widget);
74
+ }
75
+ }
76
+ /**
77
+ * When the _showFullscreen property is true the app will consume the full screen
78
+ */
61
79
  async _showFullscreenWatchHandler(v) {
62
80
  const fs = this._fullscreenElement.fullscreenWidget;
63
81
  if (v) {
@@ -125,6 +143,7 @@ const MapTools = /*@__PURE__*/ proxyCustomElement(class MapTools extends HTMLEle
125
143
  const searchClass = this._showSearchWidget ? "" : "display-none";
126
144
  const basemapClass = this._showBasemapWidget ? "" : "display-none";
127
145
  const legendClass = this._showLegendWidget ? "" : "display-none";
146
+ const floorFilterClass = this._showFloorFilter ? "" : "display-none";
128
147
  const fullscreenClass = this._showFullscreen ? "" : "display-none";
129
148
  const fullscreenIcon = this._showFullscreen ? "full-screen-exit" : "full-screen";
130
149
  const fullscreenTip = this._showFullscreen ? this._translations.exitFullscreen : this._translations.enterFullscreen;
@@ -138,7 +157,9 @@ const MapTools = /*@__PURE__*/ proxyCustomElement(class MapTools extends HTMLEle
138
157
  this._getActionGroup(fullscreenIcon, false, fullscreenTip, () => this._expand()) :
139
158
  undefined, this.enableBasemap ?
140
159
  this._getActionGroup("basemap", false, this._translations.basemap, () => this._toggleBasemapPicker()) :
141
- undefined)), h("basemap-gallery", { basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, searchConfiguration: this.searchConfiguration }), h("map-legend", { class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { class: fullscreenClass, mapView: this.mapView, ref: (el) => { this._fullscreenElement = el; } })));
160
+ undefined, this.enableFloorFilter ?
161
+ this._getActionGroup("urban-model", false, this._translations.floorFilter, () => this._toggleFloorFilter()) :
162
+ undefined)), h("basemap-gallery", { basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, searchConfiguration: this.searchConfiguration }), h("map-legend", { class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { class: fullscreenClass, mapView: this.mapView, ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { class: floorFilterClass, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
142
163
  }
143
164
  //--------------------------------------------------------------------------
144
165
  //
@@ -181,6 +202,17 @@ const MapTools = /*@__PURE__*/ proxyCustomElement(class MapTools extends HTMLEle
181
202
  this._showBasemapWidget = !this._showBasemapWidget;
182
203
  this._showTools = false;
183
204
  }
205
+ /**
206
+ * Show/Hide the floor filter
207
+ *
208
+ * @returns void
209
+ *
210
+ * @protected
211
+ */
212
+ _toggleFloorFilter() {
213
+ this._showFloorFilter = !this._showFloorFilter;
214
+ this._showTools = false;
215
+ }
184
216
  /**
185
217
  * Enter/Exit fullscreen mode
186
218
  *
@@ -203,6 +235,7 @@ const MapTools = /*@__PURE__*/ proxyCustomElement(class MapTools extends HTMLEle
203
235
  this._showBasemapWidget = false;
204
236
  this._showSearchWidget = false;
205
237
  this._showLegendWidget = false;
238
+ this._showFloorFilter = false;
206
239
  }
207
240
  this._showTools = !this._showTools;
208
241
  }
@@ -219,6 +252,7 @@ const MapTools = /*@__PURE__*/ proxyCustomElement(class MapTools extends HTMLEle
219
252
  get el() { return this; }
220
253
  static get watchers() { return {
221
254
  "_showBasemapWidget": ["_showBasemapWidgetWatchHandler"],
255
+ "_showFloorFilter": ["_showFloorFilterWatchHandler"],
222
256
  "_showFullscreen": ["_showFullscreenWatchHandler"],
223
257
  "_showLegendWidget": ["_showLegendWidgetWatchHandler"],
224
258
  "_showSearchWidget": ["_showSearchWidgetWatchHandler"]
@@ -226,6 +260,7 @@ const MapTools = /*@__PURE__*/ proxyCustomElement(class MapTools extends HTMLEle
226
260
  static get style() { return mapToolsCss; }
227
261
  }, [1, "map-tools", {
228
262
  "enableLegend": [4, "enable-legend"],
263
+ "enableFloorFilter": [4, "enable-floor-filter"],
229
264
  "enableFullscreen": [4, "enable-fullscreen"],
230
265
  "enableSearch": [4, "enable-search"],
231
266
  "enableBasemap": [4, "enable-basemap"],
@@ -236,6 +271,7 @@ const MapTools = /*@__PURE__*/ proxyCustomElement(class MapTools extends HTMLEle
236
271
  "_translations": [32],
237
272
  "_showTools": [32],
238
273
  "_showBasemapWidget": [32],
274
+ "_showFloorFilter": [32],
239
275
  "_showFullscreen": [32],
240
276
  "_showLegendWidget": [32],
241
277
  "_showSearchWidget": [32]
@@ -244,7 +280,7 @@ function defineCustomElement() {
244
280
  if (typeof customElements === "undefined") {
245
281
  return;
246
282
  }
247
- const components = ["map-tools", "basemap-gallery", "calcite-action", "calcite-icon", "calcite-loader", "calcite-tooltip", "map-fullscreen", "map-legend", "map-search"];
283
+ const components = ["map-tools", "basemap-gallery", "calcite-action", "calcite-icon", "calcite-loader", "calcite-tooltip", "floor-filter", "map-fullscreen", "map-legend", "map-search"];
248
284
  components.forEach(tagName => { switch (tagName) {
249
285
  case "map-tools":
250
286
  if (!customElements.get(tagName)) {
@@ -253,25 +289,30 @@ function defineCustomElement() {
253
289
  break;
254
290
  case "basemap-gallery":
255
291
  if (!customElements.get(tagName)) {
256
- defineCustomElement$8();
292
+ defineCustomElement$9();
257
293
  }
258
294
  break;
259
295
  case "calcite-action":
260
296
  if (!customElements.get(tagName)) {
261
- defineCustomElement$7();
297
+ defineCustomElement$8();
262
298
  }
263
299
  break;
264
300
  case "calcite-icon":
265
301
  if (!customElements.get(tagName)) {
266
- defineCustomElement$6();
302
+ defineCustomElement$7();
267
303
  }
268
304
  break;
269
305
  case "calcite-loader":
270
306
  if (!customElements.get(tagName)) {
271
- defineCustomElement$5();
307
+ defineCustomElement$6();
272
308
  }
273
309
  break;
274
310
  case "calcite-tooltip":
311
+ if (!customElements.get(tagName)) {
312
+ defineCustomElement$5();
313
+ }
314
+ break;
315
+ case "floor-filter":
275
316
  if (!customElements.get(tagName)) {
276
317
  defineCustomElement$4();
277
318
  }