@esri/solutions-components 0.7.7 → 0.7.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (260) hide show
  1. package/dist/assets/t9n/layer-table/resources.json +1 -0
  2. package/dist/assets/t9n/layer-table/resources_en.json +1 -0
  3. package/dist/cjs/basemap-gallery_7.cjs.entry.js +3 -3
  4. package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
  5. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +1 -1
  6. package/dist/cjs/calcite-alert_3.cjs.entry.js +2 -2
  7. package/dist/cjs/calcite-combobox_6.cjs.entry.js +16 -7
  8. package/dist/cjs/calcite-input-date-picker_3.cjs.entry.js +16 -9
  9. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +6 -6
  10. package/dist/cjs/card-manager_3.cjs.entry.js +44 -7
  11. package/dist/cjs/crowdsource-manager.cjs.entry.js +13 -2
  12. package/dist/cjs/{helpers-ff831524.js → helpers-a0719076.js} +1 -1
  13. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +10 -10
  14. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +2 -2
  15. package/dist/cjs/instant-apps-export.cjs.entry.js +4 -4
  16. package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
  17. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
  18. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +4 -4
  19. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +7 -7
  20. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +6 -6
  21. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
  22. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +3 -3
  23. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  24. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
  25. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +7 -7
  26. package/dist/cjs/instant-apps-measurement.cjs.entry.js +4 -4
  27. package/dist/cjs/instant-apps-popover.cjs.entry.js +3 -3
  28. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +3 -3
  29. package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
  30. package/dist/cjs/{languageSwitcher-cae609d9.js → languageSwitcher-7de41e17.js} +1 -1
  31. package/dist/cjs/layout-manager.cjs.entry.js +1 -1
  32. package/dist/cjs/{loadModules-1d0f0316.js → loadModules-51c30ab9.js} +1 -1
  33. package/dist/cjs/loader.cjs.js +1 -1
  34. package/dist/cjs/{locale-56c3447b.js → locale-9b9d0e94.js} +1 -1
  35. package/dist/cjs/map-select-tools_3.cjs.entry.js +2 -2
  36. package/dist/cjs/public-notification.cjs.entry.js +2 -2
  37. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  38. package/dist/cjs/solutions-components.cjs.js +1 -1
  39. package/dist/cjs/{utils-41eb3a01.js → utils-35b31785.js} +1 -1
  40. package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +5 -5
  41. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +20 -2
  42. package/dist/collection/components/edit-card/edit-card.css +3 -3
  43. package/dist/collection/components/info-card/info-card.css +2 -2
  44. package/dist/collection/components/json-editor/json-editor.css +3 -123
  45. package/dist/collection/components/layer-table/layer-table.css +9 -12
  46. package/dist/collection/components/layer-table/layer-table.js +43 -6
  47. package/dist/collection/components/layout-manager/layout-manager.css +73 -73
  48. package/dist/collection/components/map-draw-tools/map-draw-tools.css +1 -1
  49. package/dist/collection/components/map-layer-picker/map-layer-picker.css +6 -3
  50. package/dist/collection/components/map-layer-picker/map-layer-picker.js +70 -6
  51. package/dist/collection/components/map-picker/map-picker.css +3 -3
  52. package/dist/collection/components/map-search/map-search.css +24 -24
  53. package/dist/collection/components/map-select-tools/map-select-tools.css +5 -5
  54. package/dist/collection/components/map-tools/map-tools.css +1 -1
  55. package/dist/collection/components/public-notification/public-notification.css +11 -11
  56. package/dist/collection/components/public-notification/public-notification.js +1 -1
  57. package/dist/collection/components/refine-selection/refine-selection.css +2 -2
  58. package/dist/collection/components/solution-item-details/solution-item-details.css +0 -148
  59. package/dist/collection/components/solution-item-icon/solution-item-icon.css +2 -124
  60. package/dist/collection/components/solution-item-sharing/solution-item-sharing.css +5 -125
  61. package/dist/collection/components/solution-organization-variables/solution-organization-variables.css +6 -126
  62. package/dist/collection/components/solution-resource-item/solution-resource-item.css +6 -126
  63. package/dist/collection/components/solution-variables/solution-variables.css +9 -129
  64. package/dist/collection/demos/browse-solutions.html +2 -0
  65. package/dist/collection/demos/buffer-tools.html +1 -1
  66. package/dist/collection/demos/card-manager.html +2 -2
  67. package/dist/collection/demos/crowdsource-manager.html +3 -3
  68. package/dist/collection/demos/crowdsource-reporter.html +5 -5
  69. package/dist/collection/demos/deduct-calculator.html +1 -1
  70. package/dist/collection/demos/info-card.html +2 -2
  71. package/dist/collection/demos/layer-table.html +2 -2
  72. package/dist/collection/demos/list-item.html +2 -2
  73. package/dist/collection/demos/map-card.html +2 -2
  74. package/dist/collection/demos/map-draw-tools.html +1 -1
  75. package/dist/collection/demos/map-layer-picker.html +1 -1
  76. package/dist/collection/demos/map-select-tools.html +1 -1
  77. package/dist/collection/demos/new-public-notification.html +5 -5
  78. package/dist/collection/demos/pci-calculator.html +1 -1
  79. package/dist/collection/utils/interfaces.ts +5 -0
  80. package/dist/components/crowdsource-manager.js +16 -4
  81. package/dist/components/edit-card2.js +1 -1
  82. package/dist/components/info-card2.js +1 -1
  83. package/dist/components/instant-apps-ckeditor-wrapper2.js +2 -2
  84. package/dist/components/instant-apps-control-panel.js +1 -1
  85. package/dist/components/instant-apps-export.js +2 -2
  86. package/dist/components/instant-apps-filter-list2.js +4 -2
  87. package/dist/components/instant-apps-header2.js +2 -2
  88. package/dist/components/instant-apps-interactive-legend-classic2.js +1 -1
  89. package/dist/components/instant-apps-interactive-legend-count2.js +1 -1
  90. package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +5 -5
  91. package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +1 -1
  92. package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +1 -1
  93. package/dist/components/instant-apps-interactive-legend-layer-element2.js +1 -1
  94. package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +1 -1
  95. package/dist/components/instant-apps-interactive-legend-relationship2.js +1 -1
  96. package/dist/components/instant-apps-interactive-legend.js +1 -1
  97. package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
  98. package/dist/components/instant-apps-landing-page.js +1 -1
  99. package/dist/components/instant-apps-language-switcher.js +4 -4
  100. package/dist/components/instant-apps-language-translator-item2.js +4 -4
  101. package/dist/components/instant-apps-language-translator-search2.js +1 -1
  102. package/dist/components/instant-apps-language-translator2.js +3 -3
  103. package/dist/components/instant-apps-measurement.js +2 -2
  104. package/dist/components/instant-apps-popover.js +1 -1
  105. package/dist/components/instant-apps-scoreboard.js +1 -1
  106. package/dist/components/instant-apps-social-share2.js +11 -5
  107. package/dist/components/instant-apps-splash.js +1 -1
  108. package/dist/components/json-editor2.js +1 -1
  109. package/dist/components/layer-table2.js +44 -7
  110. package/dist/components/layout-manager.js +1 -1
  111. package/dist/components/loadModules2.js +1 -1
  112. package/dist/components/map-draw-tools2.js +1 -1
  113. package/dist/components/map-layer-picker2.js +18 -7
  114. package/dist/components/map-picker2.js +1 -1
  115. package/dist/components/map-search2.js +1 -1
  116. package/dist/components/map-select-tools2.js +1 -1
  117. package/dist/components/map-tools2.js +1 -1
  118. package/dist/components/public-notification.js +2 -2
  119. package/dist/components/refine-selection2.js +1 -1
  120. package/dist/components/solution-item-details2.js +1 -1
  121. package/dist/components/solution-item-icon2.js +1 -1
  122. package/dist/components/solution-item-sharing2.js +1 -1
  123. package/dist/components/solution-organization-variables2.js +1 -1
  124. package/dist/components/solution-resource-item2.js +1 -1
  125. package/dist/components/solution-variables2.js +1 -1
  126. package/dist/esm/basemap-gallery_7.entry.js +3 -3
  127. package/dist/esm/buffer-tools_3.entry.js +1 -1
  128. package/dist/esm/calcite-action-pad_2.entry.js +1 -1
  129. package/dist/esm/calcite-alert_3.entry.js +2 -2
  130. package/dist/esm/calcite-combobox_6.entry.js +16 -7
  131. package/dist/esm/calcite-input-date-picker_3.entry.js +16 -9
  132. package/dist/esm/calcite-shell-panel_14.entry.js +6 -6
  133. package/dist/esm/card-manager_3.entry.js +44 -7
  134. package/dist/esm/crowdsource-manager.entry.js +13 -2
  135. package/dist/esm/{helpers-e8282221.js → helpers-078591d2.js} +1 -1
  136. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +10 -10
  137. package/dist/esm/instant-apps-control-panel.entry.js +2 -2
  138. package/dist/esm/instant-apps-export.entry.js +4 -4
  139. package/dist/esm/instant-apps-header.entry.js +2 -2
  140. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
  141. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +4 -4
  142. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +7 -7
  143. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +6 -6
  144. package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
  145. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +3 -3
  146. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  147. package/dist/esm/instant-apps-language-switcher.entry.js +8 -8
  148. package/dist/esm/instant-apps-language-translator.entry.js +7 -7
  149. package/dist/esm/instant-apps-measurement.entry.js +4 -4
  150. package/dist/esm/instant-apps-popover.entry.js +3 -3
  151. package/dist/esm/instant-apps-scoreboard.entry.js +3 -3
  152. package/dist/esm/instant-apps-splash.entry.js +3 -3
  153. package/dist/esm/{languageSwitcher-75765d90.js → languageSwitcher-62232826.js} +1 -1
  154. package/dist/esm/layout-manager.entry.js +1 -1
  155. package/dist/esm/{loadModules-037feea8.js → loadModules-b677d6d7.js} +1 -1
  156. package/dist/esm/loader.js +1 -1
  157. package/dist/esm/{locale-53d724b5.js → locale-89b49505.js} +1 -1
  158. package/dist/esm/map-select-tools_3.entry.js +2 -2
  159. package/dist/esm/public-notification.entry.js +2 -2
  160. package/dist/esm/solution-item-icon.entry.js +1 -1
  161. package/dist/esm/solutions-components.js +1 -1
  162. package/dist/esm/{utils-06bace50.js → utils-b1bd777e.js} +1 -1
  163. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +20 -20
  164. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +3 -3
  165. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +3 -3
  166. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-classic/instant-apps-interactive-legend-classic.css +4 -4
  167. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-count/instant-apps-interactive-legend-count.css +1 -1
  168. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element-caption/instant-apps-interactive-legend-group-legend-element-caption.css +5 -7
  169. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element-caption/instant-apps-interactive-legend-layer-element-caption.css +5 -7
  170. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element-caption/instant-apps-interactive-legend-legend-element-caption.css +4 -5
  171. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-relationship/instant-apps-interactive-legend-relationship.css +1 -1
  172. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend.css +2 -2
  173. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-keyboard-shortcuts/instant-apps-keyboard-shortcuts.css +4 -4
  174. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +6 -6
  175. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-switcher/instant-apps-language-switcher.css +4 -4
  176. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-item/instant-apps-language-translator-item.css +7 -7
  177. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-search/instant-apps-language-translator-search.css +2 -2
  178. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +2 -2
  179. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement.css +2 -2
  180. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popover/instant-apps-popover.css +3 -3
  181. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-scoreboard/instant-apps-scoreboard.css +4 -4
  182. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-social-share/instant-apps-social-share.css +6 -6
  183. package/dist/solutions-components/demos/browse-solutions.html +2 -0
  184. package/dist/solutions-components/demos/buffer-tools.html +1 -1
  185. package/dist/solutions-components/demos/card-manager.html +2 -2
  186. package/dist/solutions-components/demos/crowdsource-manager.html +3 -3
  187. package/dist/solutions-components/demos/crowdsource-reporter.html +5 -5
  188. package/dist/solutions-components/demos/deduct-calculator.html +1 -1
  189. package/dist/solutions-components/demos/info-card.html +2 -2
  190. package/dist/solutions-components/demos/layer-table.html +2 -2
  191. package/dist/solutions-components/demos/list-item.html +2 -2
  192. package/dist/solutions-components/demos/map-card.html +2 -2
  193. package/dist/solutions-components/demos/map-draw-tools.html +1 -1
  194. package/dist/solutions-components/demos/map-layer-picker.html +1 -1
  195. package/dist/solutions-components/demos/map-select-tools.html +1 -1
  196. package/dist/solutions-components/demos/new-public-notification.html +5 -5
  197. package/dist/solutions-components/demos/pci-calculator.html +1 -1
  198. package/dist/solutions-components/{p-bab0aa05.js → p-00f9774c.js} +1 -1
  199. package/dist/solutions-components/p-14097810.entry.js +6 -0
  200. package/dist/solutions-components/{p-019f0baa.entry.js → p-166d5bcc.entry.js} +1 -1
  201. package/dist/solutions-components/p-3bf0115f.entry.js +6 -0
  202. package/dist/solutions-components/{p-796ce3a2.entry.js → p-3ea18af7.entry.js} +1 -1
  203. package/dist/solutions-components/p-60d212df.entry.js +6 -0
  204. package/dist/solutions-components/{p-bd3f4aa6.entry.js → p-627c19b5.entry.js} +1 -1
  205. package/dist/solutions-components/{p-84034340.js → p-62e92138.js} +1 -1
  206. package/dist/solutions-components/{p-149d80ad.js → p-68434a63.js} +1 -1
  207. package/dist/solutions-components/{p-b2a9bae3.entry.js → p-75f7bfe3.entry.js} +1 -1
  208. package/dist/solutions-components/{p-188483e2.entry.js → p-789f606f.entry.js} +1 -1
  209. package/dist/solutions-components/{p-a7a06d6a.js → p-83225907.js} +1 -1
  210. package/dist/solutions-components/{p-c3fa8a3d.entry.js → p-95ebc2e5.entry.js} +1 -1
  211. package/dist/solutions-components/p-98fe7b5d.entry.js +6 -0
  212. package/dist/solutions-components/p-99ca7674.entry.js +6 -0
  213. package/dist/solutions-components/p-a0b8cecf.entry.js +6 -0
  214. package/dist/solutions-components/{p-7eec285c.entry.js → p-a5d924a9.entry.js} +1 -1
  215. package/dist/solutions-components/{p-0ad0b29a.js → p-a8a0187d.js} +1 -1
  216. package/dist/solutions-components/{p-8c7d5880.entry.js → p-a9bbd352.entry.js} +1 -1
  217. package/dist/solutions-components/p-a9f21aaf.entry.js +6 -0
  218. package/dist/solutions-components/{p-a2467088.entry.js → p-b42bde59.entry.js} +1 -1
  219. package/dist/solutions-components/p-baf82bab.entry.js +6 -0
  220. package/dist/solutions-components/p-c504529e.entry.js +6 -0
  221. package/dist/solutions-components/p-c556ed60.entry.js +6 -0
  222. package/dist/solutions-components/p-c99843aa.entry.js +6 -0
  223. package/dist/solutions-components/p-c9b4d52f.entry.js +6 -0
  224. package/dist/solutions-components/p-cc774829.entry.js +6 -0
  225. package/dist/solutions-components/p-ced4e208.entry.js +6 -0
  226. package/dist/solutions-components/{p-9e92fd19.entry.js → p-d78f13cb.entry.js} +1 -1
  227. package/dist/solutions-components/{p-10e99d5d.entry.js → p-d8b3d156.entry.js} +1 -1
  228. package/dist/solutions-components/p-db3ca38d.entry.js +17 -0
  229. package/dist/solutions-components/p-dcd6e7b9.entry.js +6 -0
  230. package/dist/solutions-components/{p-811313d1.entry.js → p-dd48cc25.entry.js} +1 -1
  231. package/dist/solutions-components/p-e8011829.entry.js +47 -0
  232. package/dist/solutions-components/p-f7870ec1.entry.js +6 -0
  233. package/dist/solutions-components/solutions-components.css +1 -7
  234. package/dist/solutions-components/solutions-components.esm.js +1 -1
  235. package/dist/solutions-components/utils/interfaces.ts +5 -0
  236. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +8 -0
  237. package/dist/types/components/layer-table/layer-table.d.ts +14 -0
  238. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +15 -1
  239. package/dist/types/components.d.ts +23 -2
  240. package/dist/types/preact.d.ts +3 -2
  241. package/dist/types/utils/interfaces.d.ts +4 -0
  242. package/package.json +2 -2
  243. package/dist/solutions-components/p-0103dee1.entry.js +0 -6
  244. package/dist/solutions-components/p-2f496e4c.entry.js +0 -6
  245. package/dist/solutions-components/p-3977568f.entry.js +0 -17
  246. package/dist/solutions-components/p-3c3c2587.entry.js +0 -6
  247. package/dist/solutions-components/p-4b3ebd24.entry.js +0 -6
  248. package/dist/solutions-components/p-59407d94.entry.js +0 -6
  249. package/dist/solutions-components/p-7283bfe4.entry.js +0 -6
  250. package/dist/solutions-components/p-74a89c71.entry.js +0 -6
  251. package/dist/solutions-components/p-81c5c5f2.entry.js +0 -6
  252. package/dist/solutions-components/p-847193e7.entry.js +0 -6
  253. package/dist/solutions-components/p-9270f6da.entry.js +0 -6
  254. package/dist/solutions-components/p-a1c924c0.entry.js +0 -47
  255. package/dist/solutions-components/p-a44f1e85.entry.js +0 -6
  256. package/dist/solutions-components/p-abab359e.entry.js +0 -6
  257. package/dist/solutions-components/p-ad5f374e.entry.js +0 -6
  258. package/dist/solutions-components/p-afd9d486.entry.js +0 -6
  259. package/dist/solutions-components/p-f4742b64.entry.js +0 -6
  260. package/dist/solutions-components/p-f7042c6a.entry.js +0 -6
@@ -5,7 +5,7 @@
5
5
  */
6
6
  'use strict';
7
7
 
8
- const locale = require('./locale-56c3447b.js');
8
+ const locale = require('./locale-9b9d0e94.js');
9
9
  const index = require('./index-22bb61da.js');
10
10
 
11
11
  exports.EInputType = void 0;
@@ -17,7 +17,7 @@
17
17
  :host {
18
18
  display: block;
19
19
  --calcite-label-margin-bottom: 0px;
20
- --solutions-theme-foreground-color: var(--calcite-ui-foreground-1);
20
+ --solutions-theme-foreground-color: var(--calcite-color-foreground-1);
21
21
  }
22
22
 
23
23
  .padding-1-2 {
@@ -78,16 +78,16 @@
78
78
  }
79
79
 
80
80
  .border {
81
- border: 1px solid var(--calcite-ui-border-3);
81
+ border: 1px solid var(--calcite-color-border-3);
82
82
  }
83
83
 
84
84
  .border-bottom {
85
- border-bottom: 1px solid var(--calcite-ui-border-3);
85
+ border-bottom: 1px solid var(--calcite-color-border-3);
86
86
  }
87
87
 
88
88
  .border-sides {
89
- border-left: 1px solid var(--calcite-ui-border-3);
90
- border-right: 1px solid var(--calcite-ui-border-3);
89
+ border-left: 1px solid var(--calcite-color-border-3);
90
+ border-right: 1px solid var(--calcite-color-border-3);
91
91
  }
92
92
 
93
93
  .position-relative {
@@ -62,6 +62,7 @@ export class CrowdsourceManager {
62
62
  this._layoutMode = ELayoutMode.GRID;
63
63
  this._mapView = undefined;
64
64
  this._panelOpen = true;
65
+ this._tableOnly = false;
65
66
  }
66
67
  //--------------------------------------------------------------------------
67
68
  //
@@ -111,6 +112,16 @@ export class CrowdsourceManager {
111
112
  // Events (public)
112
113
  //
113
114
  //--------------------------------------------------------------------------
115
+ /**
116
+ * Listen for idsFound event to be fired so we can know that all layer ids have been fetched
117
+ */
118
+ async idsFound(evt) {
119
+ const ids = evt.detail;
120
+ this._tableOnly = ids.tableIds.length > 0 && ids.layerIds.length === 0;
121
+ if (this._tableOnly) {
122
+ this._expandPopup = true;
123
+ }
124
+ }
114
125
  /**
115
126
  * Listen for layoutChanged event to be fired so we can adjust the layout
116
127
  */
@@ -308,7 +319,7 @@ export class CrowdsourceManager {
308
319
  const tooltip = this._expandPopup ? this._translations.collapsePopup : this._translations.expandPopup;
309
320
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
310
321
  const popupNodeClass = !this._expandPopup ? "height-full" : ((_a = this.mapInfos) === null || _a === void 0 ? void 0 : _a.length) === 1 ? "position-absolute-0" : "position-absolute-50";
311
- return (h("div", { class: "calcite-mode-dark " + popupNodeClass }, 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", { icon: icon, id: id, onClick: () => this._togglePopup(), slot: "header-actions-end", text: "" }), h("calcite-tooltip", { class: themeClass, label: "", placement: "bottom", "reference-element": id }, h("span", null, tooltip)), this._getCardNode())));
322
+ return (h("div", { class: "calcite-mode-dark " + popupNodeClass }, 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", { disabled: this._tableOnly, icon: icon, id: id, onClick: () => this._togglePopup(), slot: "header-actions-end", text: "" }), !this._tableOnly ? h("calcite-tooltip", { class: themeClass, label: "", placement: "bottom", "reference-element": id }, h("span", null, tooltip)) : undefined, this._getCardNode())));
312
323
  }
313
324
  /**
314
325
  * Toggle the popup information
@@ -982,7 +993,8 @@ export class CrowdsourceManager {
982
993
  "_translations": {},
983
994
  "_layoutMode": {},
984
995
  "_mapView": {},
985
- "_panelOpen": {}
996
+ "_panelOpen": {},
997
+ "_tableOnly": {}
986
998
  };
987
999
  }
988
1000
  static get elementRef() { return "el"; }
@@ -1006,6 +1018,12 @@ export class CrowdsourceManager {
1006
1018
  }
1007
1019
  static get listeners() {
1008
1020
  return [{
1021
+ "name": "idsFound",
1022
+ "method": "idsFound",
1023
+ "target": "window",
1024
+ "capture": false,
1025
+ "passive": false
1026
+ }, {
1009
1027
  "name": "layoutChanged",
1010
1028
  "method": "layoutChanged",
1011
1029
  "target": "window",
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  #feature-form {
38
- --calcite-ui-background: none;
38
+ --calcite-color-background: none;
39
39
  padding-top: 0px;
40
40
  }
41
41
 
@@ -50,11 +50,11 @@
50
50
  .esri-editor__prompt--danger {
51
51
  position: relative !important;
52
52
  width: 100% !important;
53
- background-color: var(--calcite-ui-foreground-1) !important;
53
+ background-color: var(--calcite-color-foreground-1) !important;
54
54
  }
55
55
 
56
56
  .esri-feature__content-node {
57
- background-color: var(--calcite-ui-foreground-1) !important;
57
+ background-color: var(--calcite-color-foreground-1) !important;
58
58
  }
59
59
 
60
60
  .esri-editor__panel-toolbar {
@@ -50,7 +50,7 @@
50
50
  }
51
51
 
52
52
  .top-border {
53
- border-top: 1px solid var(--calcite-ui-border-1);
53
+ border-top: 1px solid var(--calcite-color-border-1);
54
54
  }
55
55
 
56
56
  .min-width-100 {
@@ -63,6 +63,6 @@
63
63
 
64
64
  .esri-features__container {
65
65
  padding: 0.5rem !important;
66
- background-color: var(--calcite-ui-foreground-1) !important;
66
+ background-color: var(--calcite-color-foreground-1) !important;
67
67
  height: 100% !important;
68
68
  }
@@ -15,126 +15,6 @@
15
15
  */
16
16
  :host {
17
17
  display: block;
18
- box-sizing: border-box;
19
- margin-left: 0.75rem;
20
- margin-right: 0.75rem;
21
- min-width: 0;
22
- flex-grow: 0;
23
- flex-shrink: 1;
24
- }
25
- :host-group-1-up > .block {
26
- flex-basis: calc(100% - 1.5rem);
27
- width: calc(100% - 1.5rem);
28
- }
29
- :host-group-2-up > .block {
30
- flex-basis: calc(50% - 1.5rem);
31
- width: calc(50% - 1.5rem);
32
- }
33
- :host-group-3-up > .block {
34
- flex-basis: calc(33.33333% - 1.5rem);
35
- width: calc(33.33333% - 1.5rem);
36
- }
37
- :host-group-4-up > .block {
38
- flex-basis: calc(25% - 1.5rem);
39
- width: calc(25% - 1.5rem);
40
- }
41
- :host-group-5-up > .block {
42
- flex-basis: calc(20% - 1.5rem);
43
- width: calc(20% - 1.5rem);
44
- }
45
- :host-group-6-up > .block {
46
- flex-basis: calc(16.66666% - 1.5rem);
47
- width: calc(16.66666% - 1.5rem);
48
- }
49
- :host-group-7-up > .block {
50
- flex-basis: calc(14.2857% - 1.5rem);
51
- width: calc(14.2857% - 1.5rem);
52
- }
53
- :host-group-8-up > .block {
54
- flex-basis: calc(12.5% - 1.5rem);
55
- width: calc(12.5% - 1.5rem);
56
- }
57
- .tablet-block-group-1-up > :host {
58
- flex-basis: calc(100% - 1.5rem);
59
- width: calc(100% - 1.5rem);
60
- }
61
- .tablet-block-group-2-up > :host {
62
- flex-basis: calc(50% - 1.5rem);
63
- width: calc(50% - 1.5rem);
64
- }
65
- .tablet-block-group-3-up > :host {
66
- flex-basis: calc(33.33333% - 1.5rem);
67
- width: calc(33.33333% - 1.5rem);
68
- }
69
- .tablet-block-group-4-up > :host {
70
- flex-basis: calc(25% - 1.5rem);
71
- width: calc(25% - 1.5rem);
72
- }
73
- .tablet-block-group-5-up > :host {
74
- flex-basis: calc(20% - 1.5rem);
75
- width: calc(20% - 1.5rem);
76
- }
77
- .tablet-block-group-6-up > :host {
78
- flex-basis: calc(16.66666% - 1.5rem);
79
- width: calc(16.66666% - 1.5rem);
80
- }
81
- .tablet-block-group-7-up > :host {
82
- flex-basis: calc(14.2857% - 1.5rem);
83
- width: calc(14.2857% - 1.5rem);
84
- }
85
- .tablet-block-group-8-up > :host {
86
- flex-basis: calc(12.5% - 1.5rem);
87
- width: calc(12.5% - 1.5rem);
88
- }
89
- .phone-block-group-1-up > :host {
90
- flex-basis: calc(100% - 1.5rem);
91
- width: calc(100% - 1.5rem);
92
- }
93
- .phone-block-group-2-up > :host {
94
- flex-basis: calc(50% - 1.5rem);
95
- width: calc(50% - 1.5rem);
96
- }
97
- .phone-block-group-3-up > :host {
98
- flex-basis: calc(33.33333% - 1.5rem);
99
- width: calc(33.33333% - 1.5rem);
100
- }
101
- .phone-block-group-4-up > :host {
102
- flex-basis: calc(25% - 1.5rem);
103
- width: calc(25% - 1.5rem);
104
- }
105
- .phone-block-group-5-up > :host {
106
- flex-basis: calc(20% - 1.5rem);
107
- width: calc(20% - 1.5rem);
108
- }
109
- .phone-block-group-6-up > :host {
110
- flex-basis: calc(16.66666% - 1.5rem);
111
- width: calc(16.66666% - 1.5rem);
112
- }
113
- .phone-block-group-7-up > :host {
114
- flex-basis: calc(14.2857% - 1.5rem);
115
- width: calc(14.2857% - 1.5rem);
116
- }
117
- .phone-block-group-8-up > :host {
118
- flex-basis: calc(12.5% - 1.5rem);
119
- width: calc(12.5% - 1.5rem);
120
- }
121
- .code-face :host {
122
- letter-spacing: 0em;
123
- font-family: "Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;
124
- font-weight: 400;
125
- font-style: normal;
126
- }
127
- .code-face :host b, .code-face :host strong {
128
- font-weight: 400;
129
- }
130
- .code-italic :host {
131
- letter-spacing: 0em;
132
- font-family: "Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;
133
- font-weight: 400;
134
- font-style: italic;
135
- }
136
- .code-italic :host b, .code-italic :host strong {
137
- font-weight: 400;
138
18
  }
139
19
 
140
20
  .editor-container {
@@ -229,8 +109,8 @@ html[dir=rtl] .editor-buttons {
229
109
  margin: 0px;
230
110
  height: 100%;
231
111
  width: 100%;
232
- padding: 0px;
233
112
  overflow: hidden;
113
+ padding: 0px;
234
114
  max-height: 100% !important;
235
115
  }
236
116
 
@@ -241,8 +121,8 @@ html[dir=rtl] .editor-buttons {
241
121
  margin: 0px;
242
122
  height: 100%;
243
123
  width: 50%;
244
- padding: 0px;
245
124
  overflow: hidden;
125
+ padding: 0px;
246
126
  max-height: 100% !important;
247
127
  }
248
128
 
@@ -253,7 +133,7 @@ html[dir=rtl] .editor-buttons {
253
133
  margin: 0px;
254
134
  height: 100%;
255
135
  width: 50%;
256
- padding: 0px;
257
136
  overflow: hidden;
137
+ padding: 0px;
258
138
  max-height: 100% !important;
259
139
  }
@@ -35,15 +35,15 @@
35
35
  }
36
36
 
37
37
  .table-border {
38
- border: 1px solid var(--calcite-ui-border-2);
38
+ border: 1px solid var(--calcite-color-border-2);
39
39
  }
40
40
 
41
41
  .border-end {
42
- border-inline-end: 1px solid var(--calcite-ui-border-2);
42
+ border-inline-end: 1px solid var(--calcite-color-border-2);
43
43
  }
44
44
 
45
45
  .border-bottom {
46
- border-bottom: 1px solid var(--calcite-ui-border-2);
46
+ border-bottom: 1px solid var(--calcite-color-border-2);
47
47
  }
48
48
 
49
49
  .padding-5 {
@@ -81,11 +81,11 @@ html[dir="rtl"] .bottom-left {
81
81
  }
82
82
 
83
83
  .background {
84
- background-color: var(--calcite-ui-background);
84
+ background-color: var(--calcite-color-background);
85
85
  }
86
86
 
87
87
  .text-color {
88
- color: var(--calcite-ui-text-1);
88
+ color: var(--calcite-color-text-1);
89
89
  }
90
90
 
91
91
  .align-center {
@@ -93,7 +93,7 @@ html[dir="rtl"] .bottom-left {
93
93
  }
94
94
 
95
95
  .danger-color {
96
- color: var(--calcite-ui-danger);
96
+ color: var(--calcite-color-status-danger);
97
97
  }
98
98
 
99
99
  .esri-feature-table vaadin-grid {
@@ -101,16 +101,13 @@ html[dir="rtl"] .bottom-left {
101
101
  }
102
102
 
103
103
  vaadin-grid-cell-content {
104
- padding: var(--lumo-space-xs) var(--lumo-space-m) !important;
105
104
  font-size: 14px !important;
105
+ color: var(--calcite-color-text-3) !important;
106
106
  }
107
107
 
108
108
  .share-action {
109
109
  position: absolute;
110
110
  right: 0;
111
- margin-top: 4px;
112
- margin-inline-end: 4px;
113
- margin-bottom: 4px;
114
111
  }
115
112
 
116
113
  html[dir="rtl"] .share-action {
@@ -122,11 +119,11 @@ html[dir="rtl"] .share-action {
122
119
  -webkit-user-select: none;
123
120
  -moz-user-select: none;
124
121
  user-select: none;
125
- opacity: var(--calcite-ui-opacity-disabled);
122
+ opacity: var(--calcite-opacity-disabled);
126
123
  pointer-events: none;
127
124
  }
128
125
 
129
126
  .instant-app-share {
130
- height: 42px !important;
127
+ height: 50px !important;
131
128
  display: inline-flex;
132
129
  }
@@ -297,7 +297,7 @@ export class LayerTable {
297
297
  * @returns The dom node that contains the controls
298
298
  */
299
299
  _getActionBar() {
300
- return (h("calcite-action-bar", { expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, h("div", { class: "border-end", id: "solutions-map-layer-picker-container" }, h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, mapView: this.mapView, onLayerSelectionChange: (evt) => this._layerSelectionChanged(evt), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", showSingleLayerAsLabel: true, showTables: true, type: "dropdown" })), this._getActions()));
300
+ return (h("calcite-action-bar", { expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, h("div", { class: "border-end", id: "solutions-map-layer-picker-container" }, h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, mapView: this.mapView, onLayerSelectionChange: (evt) => this._layerSelectionChanged(evt), onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", showSingleLayerAsLabel: true, showTables: true, type: "dropdown" })), this._getActions()));
301
301
  }
302
302
  /**
303
303
  * Get the actions that are used for various interactions with the table
@@ -630,7 +630,7 @@ export class LayerTable {
630
630
  * @returns VNode The node representing the DOM element that will contain the action
631
631
  */
632
632
  _getShare(icon) {
633
- return (h("div", { class: "share-action", id: this._getId(icon) }, h("instant-apps-social-share", { autoUpdateShareUrl: false, class: "instant-app-share", embed: this.shareIncludeEmbed, popoverButtonIconScale: "s", ref: el => this._shareNode = el, scale: "m", shareButtonColor: "neutral", socialMedia: this.shareIncludeSocial, view: this.mapView }), this._getToolTip("bottom", icon, this._translations.share)));
633
+ return (h("div", { class: "share-action", id: this._getId(icon) }, h("instant-apps-social-share", { autoUpdateShareUrl: false, class: "instant-app-share", embed: this.shareIncludeEmbed, popoverButtonIconScale: "s", ref: el => this._shareNode = el, scale: "m", shareButtonColor: "neutral", shareButtonType: "action", socialMedia: this.shareIncludeSocial, view: this.mapView }), this._getToolTip("bottom", icon, this._translations.share)));
634
634
  }
635
635
  /**
636
636
  * Called each time the values that are used for custom url params change
@@ -1009,9 +1009,9 @@ export class LayerTable {
1009
1009
  * @returns void
1010
1010
  */
1011
1011
  _initLayerExpressions() {
1012
- var _a;
1013
- const layerExpressions = (_a = this.mapInfo.filterConfig) === null || _a === void 0 ? void 0 : _a.layerExpressions;
1014
- this._layerExpressions = layerExpressions.filter((exp) => exp.id === this._layer.id);
1012
+ var _a, _b;
1013
+ const layerExpressions = (_b = (_a = this.mapInfo) === null || _a === void 0 ? void 0 : _a.filterConfig) === null || _b === void 0 ? void 0 : _b.layerExpressions;
1014
+ this._layerExpressions = layerExpressions ? layerExpressions.filter((exp) => exp.id === this._layer.id) : [];
1015
1015
  }
1016
1016
  /**
1017
1017
  * Select all rows that are not currently selectd
@@ -1114,6 +1114,7 @@ export class LayerTable {
1114
1114
  fieldInfos.some(fieldInfo => {
1115
1115
  if (fieldInfo.name === columnTemplate.fieldName) {
1116
1116
  columnTemplate.label = fieldInfo.alias;
1117
+ columnTemplate.menuConfig = this._getMenuConfig(fieldInfo.name);
1117
1118
  return true;
1118
1119
  }
1119
1120
  });
@@ -1122,12 +1123,48 @@ export class LayerTable {
1122
1123
  return {
1123
1124
  type: "field",
1124
1125
  fieldName: fieldInfo.name,
1125
- label: fieldInfo.alias
1126
+ label: fieldInfo.alias,
1127
+ menuConfig: this._getMenuConfig(fieldInfo.name)
1126
1128
  };
1127
1129
  });
1128
1130
  }
1129
1131
  return columnTemplates;
1130
1132
  }
1133
+ /**
1134
+ * Get the menu config that adds the ability to hide the current column
1135
+ *
1136
+ * @returns void
1137
+ * @protected
1138
+ */
1139
+ _getMenuConfig(name) {
1140
+ return {
1141
+ items: [
1142
+ {
1143
+ label: this._translations.hideField,
1144
+ iconClass: "esri-icon-non-visible",
1145
+ autoCloseMenu: true,
1146
+ clickFunction: () => {
1147
+ this._handleHideClick(name);
1148
+ }
1149
+ }
1150
+ ]
1151
+ };
1152
+ }
1153
+ /**
1154
+ * Hide the table column for the provided name
1155
+ *
1156
+ * @returns void
1157
+ * @protected
1158
+ */
1159
+ _handleHideClick(name) {
1160
+ this._columnsInfo[name] = false;
1161
+ this._table.hideColumn(name);
1162
+ this._table.tableTemplate.columnTemplates.forEach((columnTemplate) => {
1163
+ if (columnTemplate.fieldName === name) {
1164
+ columnTemplate.visible = false;
1165
+ }
1166
+ });
1167
+ }
1131
1168
  /**
1132
1169
  * Fetches the component's translations
1133
1170
  *
@@ -1,73 +1,73 @@
1
- /** @license
2
- * Copyright 2023 Esri
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
- :host {
18
- display: block;
19
- }
20
-
21
- .action-center {
22
- -webkit-box-align: center;
23
- -webkit-align-items: center;
24
- -ms-grid-row-align: center;
25
- align-items: center;
26
- align-content: center;
27
- justify-content: center;
28
- }
29
-
30
- .display-flex {
31
- display: flex;
32
- }
33
-
34
- .icon-color {
35
- --calcite-ui-icon-color: var(--calcite-ui-brand);
36
- }
37
-
38
- .icon {
39
- cursor: pointer;
40
- }
41
-
42
- .tooltip-message {
43
- padding: 5px 8px;
44
- font-weight: var(--calcite-font-weight-normal);
45
- color: var(--calcite-ui-text-2);
46
- }
47
-
48
- .header-text {
49
- font-size: var(--calcite-font-size-0);
50
- font-weight: var(--calcite-font-weight-medium);
51
- padding-inline: 0.75rem;
52
- padding-block: 0.875rem;
53
- line-height: 1.25rem;
54
- }
55
-
56
- .img-background {
57
- background-repeat: no-repeat;
58
- background-size: 100% 100%;
59
- width: 38px;
60
- height: 26px;
61
- }
62
-
63
- .grid-background {
64
- background-image: url('../../assets/data/images/grid.png');
65
- }
66
-
67
- .horizontal-background {
68
- background-image: url('../../assets/data/images/horizontal.png');
69
- }
70
-
71
- .vertical-background {
72
- background-image: url('../../assets/data/images/vertical.png');
73
- }
1
+ /** @license
2
+ * Copyright 2023 Esri
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ :host {
18
+ display: block;
19
+ }
20
+
21
+ .action-center {
22
+ -webkit-box-align: center;
23
+ -webkit-align-items: center;
24
+ -ms-grid-row-align: center;
25
+ align-items: center;
26
+ align-content: center;
27
+ justify-content: center;
28
+ }
29
+
30
+ .display-flex {
31
+ display: flex;
32
+ }
33
+
34
+ .icon-color {
35
+ --calcite-color-icon-color: var(--calcite-color-brand);
36
+ }
37
+
38
+ .icon {
39
+ cursor: pointer;
40
+ }
41
+
42
+ .tooltip-message {
43
+ padding: 5px 8px;
44
+ font-weight: var(--calcite-font-weight-normal);
45
+ color: var(--calcite-color-text-2);
46
+ }
47
+
48
+ .header-text {
49
+ font-size: var(--calcite-font-size-0);
50
+ font-weight: var(--calcite-font-weight-medium);
51
+ padding-inline: 0.75rem;
52
+ padding-block: 0.875rem;
53
+ line-height: 1.25rem;
54
+ }
55
+
56
+ .img-background {
57
+ background-repeat: no-repeat;
58
+ background-size: 100% 100%;
59
+ width: 38px;
60
+ height: 26px;
61
+ }
62
+
63
+ .grid-background {
64
+ background-image: url('../../assets/data/images/grid.png');
65
+ }
66
+
67
+ .horizontal-background {
68
+ background-image: url('../../assets/data/images/horizontal.png');
69
+ }
70
+
71
+ .vertical-background {
72
+ background-image: url('../../assets/data/images/vertical.png');
73
+ }
@@ -19,7 +19,7 @@
19
19
  }
20
20
 
21
21
  .border {
22
- outline: 1px solid var(--calcite-ui-border-input);
22
+ outline: 1px solid var(--calcite-color-border-input);
23
23
  }
24
24
 
25
25
  .div-visible {
@@ -20,14 +20,13 @@
20
20
 
21
21
  .map-layer-picker-container {
22
22
  width: 100%;
23
- height: 100%;
23
+ align-items: center;
24
24
  }
25
25
 
26
26
  .map-layer-picker {
27
27
  position: relative;
28
28
  width: 100%;
29
29
  display: inline-block;
30
- height: 100%;
31
30
  }
32
31
 
33
32
  .padding-bottom-1 {
@@ -52,7 +51,7 @@
52
51
  -webkit-user-select: none;
53
52
  -moz-user-select: none;
54
53
  user-select: none;
55
- opacity: var(--calcite-ui-opacity-disabled);
54
+ opacity: var(--calcite-opacity-disabled);
56
55
  pointer-events: none;
57
56
  }
58
57
 
@@ -71,3 +70,7 @@
71
70
  .padding-start-1 {
72
71
  padding-inline-start: 1rem;
73
72
  }
73
+
74
+ .cursor-default {
75
+ cursor: default;
76
+ }