@esri/solutions-components 0.10.39 → 0.10.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (406) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +26 -6
  2. package/dist/cjs/buffer-tools_3.cjs.entry.js +23 -3
  3. package/dist/cjs/calcite-alert_5.cjs.entry.js +40 -5
  4. package/dist/cjs/calcite-block_5.cjs.entry.js +75 -65
  5. package/dist/cjs/calcite-combobox_3.cjs.entry.js +11 -1
  6. package/dist/cjs/calcite-flow_4.cjs.entry.js +33 -10
  7. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +119 -10
  8. package/dist/cjs/calcite-shell_3.cjs.entry.js +26 -4
  9. package/dist/cjs/card-manager_3.cjs.entry.js +41 -9
  10. package/dist/cjs/consent-manager.cjs.entry.js +12 -0
  11. package/dist/cjs/crowdsource-manager.cjs.entry.js +12 -13
  12. package/dist/cjs/crowdsource-reporter.cjs.entry.js +19 -9
  13. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  14. package/dist/cjs/feature-list.cjs.entry.js +13 -3
  15. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +1 -1
  16. package/dist/cjs/instant-apps-export.cjs.entry.js +5 -1
  17. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  18. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
  19. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +6 -6
  20. package/dist/cjs/loader.cjs.js +1 -1
  21. package/dist/cjs/map-select-tools_3.cjs.entry.js +38 -6
  22. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  23. package/dist/cjs/public-notification.cjs.entry.js +11 -2
  24. package/dist/cjs/share-item.cjs.entry.js +1 -1
  25. package/dist/cjs/solution-configuration.cjs.entry.js +20 -5
  26. package/dist/cjs/solution-contents_3.cjs.entry.js +37 -7
  27. package/dist/cjs/solution-item-accordion.cjs.entry.js +11 -1
  28. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  29. package/dist/cjs/solutions-components.cjs.js +1 -1
  30. package/dist/cjs/spatial-ref.cjs.entry.js +16 -1
  31. package/dist/collection/collection-manifest.json +0 -7
  32. package/dist/collection/components/buffer-tools/buffer-tools.js +30 -1
  33. package/dist/collection/components/card-manager/card-manager.js +34 -2
  34. package/dist/collection/components/consent-manager/consent-manager.js +32 -0
  35. package/dist/collection/components/create-feature/create-feature.js +31 -2
  36. package/dist/collection/components/create-related-feature/create-related-feature.js +30 -1
  37. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +20 -22
  38. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +38 -9
  39. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  40. package/dist/collection/components/delete-button/delete-button.js +31 -2
  41. package/dist/collection/components/delete-dialog/delete-dialog.js +33 -1
  42. package/dist/collection/components/edit-card/edit-card.js +30 -1
  43. package/dist/collection/components/feature-details/feature-details.js +24 -6
  44. package/dist/collection/components/feature-list/feature-list.js +32 -3
  45. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  46. package/dist/collection/components/info-card/info-card.js +36 -2
  47. package/dist/collection/components/json-editor/json-editor.js +38 -1
  48. package/dist/collection/components/layer-list/layer-list.js +35 -3
  49. package/dist/collection/components/layer-table/layer-table.js +34 -5
  50. package/dist/collection/components/map-card/map-card.js +31 -2
  51. package/dist/collection/components/map-draw-tools/map-draw-tools.js +30 -1
  52. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  53. package/dist/collection/components/map-layer-picker/map-layer-picker.js +30 -1
  54. package/dist/collection/components/map-legend/map-legend.js +1 -1
  55. package/dist/collection/components/map-picker/map-picker.js +30 -1
  56. package/dist/collection/components/map-search/map-search.js +1 -1
  57. package/dist/collection/components/map-select-tools/map-select-tools.js +15 -4
  58. package/dist/collection/components/map-tools/map-tools.js +30 -1
  59. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  60. package/dist/collection/components/pdf-download/pdf-download.js +33 -1
  61. package/dist/collection/components/public-notification/public-notification.js +13 -2
  62. package/dist/collection/components/refine-selection/refine-selection.js +15 -1
  63. package/dist/collection/components/share-item/share-item.js +1 -1
  64. package/dist/collection/components/solution-configuration/solution-configuration.js +38 -4
  65. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  66. package/dist/collection/components/solution-item/solution-item.js +37 -3
  67. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +30 -1
  68. package/dist/collection/components/solution-item-details/solution-item-details.js +38 -1
  69. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  70. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +35 -1
  71. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +35 -1
  72. package/dist/collection/components/solution-resource-item/solution-resource-item.js +35 -1
  73. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +35 -1
  74. package/dist/collection/components/solution-template-data/solution-template-data.js +35 -1
  75. package/dist/collection/components/solution-variables/solution-variables.js +35 -1
  76. package/dist/collection/components/spatial-ref/spatial-ref.js +35 -1
  77. package/dist/collection/demos/crowdsource-manager.html +0 -1
  78. package/dist/collection/demos/crowdsource-reporter.html +2 -2
  79. package/dist/components/buffer-tools2.js +15 -3
  80. package/dist/components/card-manager2.js +18 -3
  81. package/dist/components/consent-manager.js +15 -0
  82. package/dist/components/create-feature2.js +14 -2
  83. package/dist/components/create-related-feature2.js +13 -1
  84. package/dist/components/crowdsource-manager.js +14 -15
  85. package/dist/components/crowdsource-reporter.js +21 -9
  86. package/dist/components/deduct-calculator2.js +1 -1
  87. package/dist/components/delete-button2.js +16 -4
  88. package/dist/components/delete-dialog2.js +16 -1
  89. package/dist/components/edit-card2.js +13 -1
  90. package/dist/components/feature-details2.js +8 -6
  91. package/dist/components/feature-list2.js +15 -3
  92. package/dist/components/floor-filter2.js +1 -1
  93. package/dist/components/info-card2.js +19 -2
  94. package/dist/components/instant-apps-app-guide.js +1 -1
  95. package/dist/components/instant-apps-export.js +5 -1
  96. package/dist/components/instant-apps-filter-list2.js +75 -66
  97. package/dist/components/instant-apps-landing-page.js +1 -1
  98. package/dist/components/instant-apps-sign-in2.js +2 -2
  99. package/dist/components/instant-apps-time-filter.js +6 -6
  100. package/dist/components/json-editor2.js +21 -1
  101. package/dist/components/layer-list2.js +18 -3
  102. package/dist/components/layer-table2.js +17 -5
  103. package/dist/components/map-card2.js +14 -2
  104. package/dist/components/map-draw-tools2.js +13 -1
  105. package/dist/components/map-fullscreen2.js +1 -1
  106. package/dist/components/map-layer-picker2.js +13 -1
  107. package/dist/components/map-legend2.js +1 -1
  108. package/dist/components/map-picker2.js +13 -1
  109. package/dist/components/map-search2.js +1 -1
  110. package/dist/components/map-select-tools2.js +14 -4
  111. package/dist/components/map-tools2.js +13 -1
  112. package/dist/components/pci-calculator.js +1 -1
  113. package/dist/components/pdf-download2.js +16 -1
  114. package/dist/components/public-notification.js +12 -2
  115. package/dist/components/refine-selection2.js +14 -1
  116. package/dist/components/share-item.js +1 -1
  117. package/dist/components/solution-configuration.js +23 -6
  118. package/dist/components/solution-contents2.js +1 -1
  119. package/dist/components/solution-item-accordion.js +13 -1
  120. package/dist/components/solution-item-details2.js +22 -2
  121. package/dist/components/solution-item-icon2.js +1 -1
  122. package/dist/components/solution-item-sharing2.js +20 -3
  123. package/dist/components/solution-item2.js +22 -5
  124. package/dist/components/solution-organization-variables2.js +18 -1
  125. package/dist/components/solution-resource-item2.js +20 -3
  126. package/dist/components/solution-spatial-ref2.js +20 -3
  127. package/dist/components/solution-template-data2.js +20 -3
  128. package/dist/components/solution-variables2.js +18 -1
  129. package/dist/components/spatial-ref.js +18 -1
  130. package/dist/esm/basemap-gallery_7.entry.js +26 -6
  131. package/dist/esm/buffer-tools_3.entry.js +23 -3
  132. package/dist/esm/calcite-alert_5.entry.js +40 -5
  133. package/dist/esm/calcite-block_5.entry.js +75 -65
  134. package/dist/esm/calcite-combobox_3.entry.js +11 -1
  135. package/dist/esm/calcite-flow_4.entry.js +33 -10
  136. package/dist/esm/calcite-shell-panel_14.entry.js +119 -10
  137. package/dist/esm/calcite-shell_3.entry.js +26 -4
  138. package/dist/esm/card-manager_3.entry.js +41 -9
  139. package/dist/esm/consent-manager.entry.js +12 -0
  140. package/dist/esm/crowdsource-manager.entry.js +12 -13
  141. package/dist/esm/crowdsource-reporter.entry.js +19 -9
  142. package/dist/esm/deduct-calculator.entry.js +1 -1
  143. package/dist/esm/feature-list.entry.js +13 -3
  144. package/dist/esm/instant-apps-app-guide.entry.js +1 -1
  145. package/dist/esm/instant-apps-export.entry.js +5 -1
  146. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  147. package/dist/esm/instant-apps-sign-in.entry.js +2 -2
  148. package/dist/esm/instant-apps-time-filter.entry.js +6 -6
  149. package/dist/esm/loader.js +1 -1
  150. package/dist/esm/map-select-tools_3.entry.js +38 -6
  151. package/dist/esm/pci-calculator.entry.js +1 -1
  152. package/dist/esm/public-notification.entry.js +11 -2
  153. package/dist/esm/share-item.entry.js +1 -1
  154. package/dist/esm/solution-configuration.entry.js +20 -5
  155. package/dist/esm/solution-contents_3.entry.js +37 -7
  156. package/dist/esm/solution-item-accordion.entry.js +11 -1
  157. package/dist/esm/solution-item-icon.entry.js +1 -1
  158. package/dist/esm/solutions-components.js +1 -1
  159. package/dist/esm/spatial-ref.entry.js +16 -1
  160. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-app-guide/instant-apps-app-guide.css +1 -1
  161. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +43 -26
  162. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +6 -0
  163. package/dist/solutions-components/demos/crowdsource-manager.html +0 -1
  164. package/dist/solutions-components/demos/crowdsource-reporter.html +2 -2
  165. package/dist/solutions-components/p-0a2e5861.entry.js +6 -0
  166. package/dist/solutions-components/{p-739ce6f3.entry.js → p-2f784608.entry.js} +1 -1
  167. package/dist/solutions-components/{p-1c2d0e90.entry.js → p-3e44cfab.entry.js} +1 -1
  168. package/dist/solutions-components/{p-841816a1.entry.js → p-41314f33.entry.js} +7 -7
  169. package/dist/solutions-components/{p-18089a0b.entry.js → p-471d5c7f.entry.js} +2 -2
  170. package/dist/solutions-components/p-5001cc41.entry.js +6 -0
  171. package/dist/solutions-components/p-523dcf4b.entry.js +6 -0
  172. package/dist/solutions-components/p-561c0e02.entry.js +6 -0
  173. package/dist/solutions-components/p-56beff4c.entry.js +6 -0
  174. package/dist/solutions-components/p-592f2000.entry.js +6 -0
  175. package/dist/solutions-components/p-5cbf3eed.entry.js +6 -0
  176. package/dist/solutions-components/p-62d8796c.entry.js +17 -0
  177. package/dist/solutions-components/p-6d1922cc.entry.js +6 -0
  178. package/dist/solutions-components/p-80e81af7.entry.js +6 -0
  179. package/dist/solutions-components/{p-82ddf716.entry.js → p-8e2f4995.entry.js} +1 -1
  180. package/dist/solutions-components/p-8f8c7045.entry.js +6 -0
  181. package/dist/solutions-components/p-953afbb3.entry.js +29 -0
  182. package/dist/solutions-components/{p-bb8b1ee2.entry.js → p-a2cf9fdc.entry.js} +1 -1
  183. package/dist/solutions-components/p-a7f56b28.entry.js +6 -0
  184. package/dist/solutions-components/{p-6502d0f8.entry.js → p-b7fbaeb7.entry.js} +1 -1
  185. package/dist/solutions-components/p-cced387c.entry.js +6 -0
  186. package/dist/solutions-components/{p-a5d79c86.entry.js → p-ce53e33d.entry.js} +2 -2
  187. package/dist/solutions-components/{p-59ccd27c.entry.js → p-d51c07d2.entry.js} +1 -1
  188. package/dist/solutions-components/p-d75cf651.entry.js +11 -0
  189. package/dist/solutions-components/p-d7afbe8d.entry.js +11 -0
  190. package/dist/solutions-components/p-e1e21798.entry.js +12 -0
  191. package/dist/solutions-components/p-e4107150.entry.js +6 -0
  192. package/dist/solutions-components/p-e9026f9a.entry.js +6 -0
  193. package/dist/solutions-components/solutions-components.esm.js +1 -1
  194. package/dist/types/components/buffer-tools/buffer-tools.d.ts +8 -0
  195. package/dist/types/components/card-manager/card-manager.d.ts +8 -0
  196. package/dist/types/components/consent-manager/consent-manager.d.ts +8 -0
  197. package/dist/types/components/create-feature/create-feature.d.ts +8 -0
  198. package/dist/types/components/create-related-feature/create-related-feature.d.ts +8 -0
  199. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -4
  200. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +8 -0
  201. package/dist/types/components/deduct-calculator/deduct-calculator.d.ts +1 -1
  202. package/dist/types/components/delete-button/delete-button.d.ts +9 -1
  203. package/dist/types/components/delete-dialog/delete-dialog.d.ts +8 -0
  204. package/dist/types/components/edit-card/edit-card.d.ts +8 -0
  205. package/dist/types/components/feature-details/feature-details.d.ts +4 -0
  206. package/dist/types/components/feature-list/feature-list.d.ts +8 -0
  207. package/dist/types/components/info-card/info-card.d.ts +8 -0
  208. package/dist/types/components/json-editor/json-editor.d.ts +8 -0
  209. package/dist/types/components/layer-list/layer-list.d.ts +8 -0
  210. package/dist/types/components/layer-table/layer-table.d.ts +9 -1
  211. package/dist/types/components/map-card/map-card.d.ts +8 -0
  212. package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +8 -0
  213. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +8 -0
  214. package/dist/types/components/map-picker/map-picker.d.ts +8 -0
  215. package/dist/types/components/map-select-tools/map-select-tools.d.ts +4 -0
  216. package/dist/types/components/map-tools/map-tools.d.ts +8 -0
  217. package/dist/types/components/pdf-download/pdf-download.d.ts +8 -0
  218. package/dist/types/components/public-notification/public-notification.d.ts +4 -0
  219. package/dist/types/components/refine-selection/refine-selection.d.ts +4 -0
  220. package/dist/types/components/solution-configuration/solution-configuration.d.ts +8 -0
  221. package/dist/types/components/solution-item/solution-item.d.ts +8 -0
  222. package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +8 -0
  223. package/dist/types/components/solution-item-details/solution-item-details.d.ts +8 -0
  224. package/dist/types/components/solution-item-sharing/solution-item-sharing.d.ts +8 -0
  225. package/dist/types/components/solution-organization-variables/solution-organization-variables.d.ts +8 -0
  226. package/dist/types/components/solution-resource-item/solution-resource-item.d.ts +8 -0
  227. package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +8 -0
  228. package/dist/types/components/solution-template-data/solution-template-data.d.ts +8 -0
  229. package/dist/types/components/solution-variables/solution-variables.d.ts +8 -0
  230. package/dist/types/components/spatial-ref/spatial-ref.d.ts +8 -0
  231. package/dist/types/components.d.ts +266 -120
  232. package/dist/types/preact.d.ts +0 -16
  233. package/package.json +8 -8
  234. package/dist/cjs/feature-comments.cjs.entry.js +0 -61
  235. package/dist/cjs/feature-form-flow-item.cjs.entry.js +0 -61
  236. package/dist/cjs/features-flow-item.cjs.entry.js +0 -61
  237. package/dist/cjs/layout-manager.cjs.entry.js +0 -114
  238. package/dist/cjs/list-flow-item.cjs.entry.js +0 -61
  239. package/dist/cjs/location-flow-item.cjs.entry.js +0 -61
  240. package/dist/cjs/refine-results-flow-item.cjs.entry.js +0 -61
  241. package/dist/collection/assets/t9n/feature-comments/resources.json +0 -3
  242. package/dist/collection/assets/t9n/feature-comments/resources_en.json +0 -3
  243. package/dist/collection/assets/t9n/feature-form-flow-item/resources.json +0 -3
  244. package/dist/collection/assets/t9n/feature-form-flow-item/resources_en.json +0 -3
  245. package/dist/collection/assets/t9n/layout-manager/resources.json +0 -7
  246. package/dist/collection/assets/t9n/layout-manager/resources_ar.json +0 -7
  247. package/dist/collection/assets/t9n/layout-manager/resources_bg.json +0 -7
  248. package/dist/collection/assets/t9n/layout-manager/resources_bs.json +0 -7
  249. package/dist/collection/assets/t9n/layout-manager/resources_ca.json +0 -7
  250. package/dist/collection/assets/t9n/layout-manager/resources_cs.json +0 -7
  251. package/dist/collection/assets/t9n/layout-manager/resources_da.json +0 -7
  252. package/dist/collection/assets/t9n/layout-manager/resources_de.json +0 -7
  253. package/dist/collection/assets/t9n/layout-manager/resources_el.json +0 -7
  254. package/dist/collection/assets/t9n/layout-manager/resources_en.json +0 -7
  255. package/dist/collection/assets/t9n/layout-manager/resources_es.json +0 -7
  256. package/dist/collection/assets/t9n/layout-manager/resources_et.json +0 -7
  257. package/dist/collection/assets/t9n/layout-manager/resources_fi.json +0 -7
  258. package/dist/collection/assets/t9n/layout-manager/resources_fr.json +0 -7
  259. package/dist/collection/assets/t9n/layout-manager/resources_he.json +0 -7
  260. package/dist/collection/assets/t9n/layout-manager/resources_hr.json +0 -7
  261. package/dist/collection/assets/t9n/layout-manager/resources_hu.json +0 -7
  262. package/dist/collection/assets/t9n/layout-manager/resources_id.json +0 -7
  263. package/dist/collection/assets/t9n/layout-manager/resources_it.json +0 -7
  264. package/dist/collection/assets/t9n/layout-manager/resources_ja.json +0 -7
  265. package/dist/collection/assets/t9n/layout-manager/resources_ko.json +0 -7
  266. package/dist/collection/assets/t9n/layout-manager/resources_lt.json +0 -7
  267. package/dist/collection/assets/t9n/layout-manager/resources_lv.json +0 -7
  268. package/dist/collection/assets/t9n/layout-manager/resources_nb.json +0 -7
  269. package/dist/collection/assets/t9n/layout-manager/resources_nl.json +0 -7
  270. package/dist/collection/assets/t9n/layout-manager/resources_pl.json +0 -7
  271. package/dist/collection/assets/t9n/layout-manager/resources_pt-BR.json +0 -7
  272. package/dist/collection/assets/t9n/layout-manager/resources_pt-PT.json +0 -7
  273. package/dist/collection/assets/t9n/layout-manager/resources_ro.json +0 -7
  274. package/dist/collection/assets/t9n/layout-manager/resources_ru.json +0 -7
  275. package/dist/collection/assets/t9n/layout-manager/resources_sk.json +0 -7
  276. package/dist/collection/assets/t9n/layout-manager/resources_sl.json +0 -7
  277. package/dist/collection/assets/t9n/layout-manager/resources_sr.json +0 -7
  278. package/dist/collection/assets/t9n/layout-manager/resources_sv.json +0 -7
  279. package/dist/collection/assets/t9n/layout-manager/resources_th.json +0 -7
  280. package/dist/collection/assets/t9n/layout-manager/resources_tr.json +0 -7
  281. package/dist/collection/assets/t9n/layout-manager/resources_uk.json +0 -7
  282. package/dist/collection/assets/t9n/layout-manager/resources_vi.json +0 -7
  283. package/dist/collection/assets/t9n/layout-manager/resources_zh-CN.json +0 -7
  284. package/dist/collection/assets/t9n/layout-manager/resources_zh-HK.json +0 -7
  285. package/dist/collection/assets/t9n/layout-manager/resources_zh-TW.json +0 -7
  286. package/dist/collection/assets/t9n/list-flow-item/resources.json +0 -3
  287. package/dist/collection/assets/t9n/list-flow-item/resources_en.json +0 -3
  288. package/dist/collection/assets/t9n/location-flow-item/resources.json +0 -3
  289. package/dist/collection/assets/t9n/location-flow-item/resources_en.json +0 -3
  290. package/dist/collection/components/feature-comments/feature-comments.css +0 -19
  291. package/dist/collection/components/feature-comments/feature-comments.js +0 -80
  292. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.css +0 -19
  293. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +0 -80
  294. package/dist/collection/components/features-flow-item/features-flow-item.css +0 -19
  295. package/dist/collection/components/features-flow-item/features-flow-item.js +0 -80
  296. package/dist/collection/components/layout-manager/layout-manager.css +0 -73
  297. package/dist/collection/components/layout-manager/layout-manager.js +0 -161
  298. package/dist/collection/components/list-flow-item/list-flow-item.css +0 -19
  299. package/dist/collection/components/list-flow-item/list-flow-item.js +0 -80
  300. package/dist/collection/components/location-flow-item/location-flow-item.css +0 -19
  301. package/dist/collection/components/location-flow-item/location-flow-item.js +0 -80
  302. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.css +0 -19
  303. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +0 -80
  304. package/dist/components/feature-comments.d.ts +0 -11
  305. package/dist/components/feature-comments.js +0 -76
  306. package/dist/components/feature-form-flow-item.d.ts +0 -11
  307. package/dist/components/feature-form-flow-item.js +0 -76
  308. package/dist/components/features-flow-item.d.ts +0 -11
  309. package/dist/components/features-flow-item.js +0 -76
  310. package/dist/components/layout-manager.d.ts +0 -11
  311. package/dist/components/layout-manager.js +0 -159
  312. package/dist/components/list-flow-item.d.ts +0 -11
  313. package/dist/components/list-flow-item.js +0 -76
  314. package/dist/components/location-flow-item.d.ts +0 -11
  315. package/dist/components/location-flow-item.js +0 -76
  316. package/dist/components/refine-results-flow-item.d.ts +0 -11
  317. package/dist/components/refine-results-flow-item.js +0 -76
  318. package/dist/esm/feature-comments.entry.js +0 -57
  319. package/dist/esm/feature-form-flow-item.entry.js +0 -57
  320. package/dist/esm/features-flow-item.entry.js +0 -57
  321. package/dist/esm/layout-manager.entry.js +0 -110
  322. package/dist/esm/list-flow-item.entry.js +0 -57
  323. package/dist/esm/location-flow-item.entry.js +0 -57
  324. package/dist/esm/refine-results-flow-item.entry.js +0 -57
  325. package/dist/solutions-components/assets/t9n/feature-comments/resources.json +0 -3
  326. package/dist/solutions-components/assets/t9n/feature-comments/resources_en.json +0 -3
  327. package/dist/solutions-components/assets/t9n/feature-form-flow-item/resources.json +0 -3
  328. package/dist/solutions-components/assets/t9n/feature-form-flow-item/resources_en.json +0 -3
  329. package/dist/solutions-components/assets/t9n/layout-manager/resources.json +0 -7
  330. package/dist/solutions-components/assets/t9n/layout-manager/resources_ar.json +0 -7
  331. package/dist/solutions-components/assets/t9n/layout-manager/resources_bg.json +0 -7
  332. package/dist/solutions-components/assets/t9n/layout-manager/resources_bs.json +0 -7
  333. package/dist/solutions-components/assets/t9n/layout-manager/resources_ca.json +0 -7
  334. package/dist/solutions-components/assets/t9n/layout-manager/resources_cs.json +0 -7
  335. package/dist/solutions-components/assets/t9n/layout-manager/resources_da.json +0 -7
  336. package/dist/solutions-components/assets/t9n/layout-manager/resources_de.json +0 -7
  337. package/dist/solutions-components/assets/t9n/layout-manager/resources_el.json +0 -7
  338. package/dist/solutions-components/assets/t9n/layout-manager/resources_en.json +0 -7
  339. package/dist/solutions-components/assets/t9n/layout-manager/resources_es.json +0 -7
  340. package/dist/solutions-components/assets/t9n/layout-manager/resources_et.json +0 -7
  341. package/dist/solutions-components/assets/t9n/layout-manager/resources_fi.json +0 -7
  342. package/dist/solutions-components/assets/t9n/layout-manager/resources_fr.json +0 -7
  343. package/dist/solutions-components/assets/t9n/layout-manager/resources_he.json +0 -7
  344. package/dist/solutions-components/assets/t9n/layout-manager/resources_hr.json +0 -7
  345. package/dist/solutions-components/assets/t9n/layout-manager/resources_hu.json +0 -7
  346. package/dist/solutions-components/assets/t9n/layout-manager/resources_id.json +0 -7
  347. package/dist/solutions-components/assets/t9n/layout-manager/resources_it.json +0 -7
  348. package/dist/solutions-components/assets/t9n/layout-manager/resources_ja.json +0 -7
  349. package/dist/solutions-components/assets/t9n/layout-manager/resources_ko.json +0 -7
  350. package/dist/solutions-components/assets/t9n/layout-manager/resources_lt.json +0 -7
  351. package/dist/solutions-components/assets/t9n/layout-manager/resources_lv.json +0 -7
  352. package/dist/solutions-components/assets/t9n/layout-manager/resources_nb.json +0 -7
  353. package/dist/solutions-components/assets/t9n/layout-manager/resources_nl.json +0 -7
  354. package/dist/solutions-components/assets/t9n/layout-manager/resources_pl.json +0 -7
  355. package/dist/solutions-components/assets/t9n/layout-manager/resources_pt-BR.json +0 -7
  356. package/dist/solutions-components/assets/t9n/layout-manager/resources_pt-PT.json +0 -7
  357. package/dist/solutions-components/assets/t9n/layout-manager/resources_ro.json +0 -7
  358. package/dist/solutions-components/assets/t9n/layout-manager/resources_ru.json +0 -7
  359. package/dist/solutions-components/assets/t9n/layout-manager/resources_sk.json +0 -7
  360. package/dist/solutions-components/assets/t9n/layout-manager/resources_sl.json +0 -7
  361. package/dist/solutions-components/assets/t9n/layout-manager/resources_sr.json +0 -7
  362. package/dist/solutions-components/assets/t9n/layout-manager/resources_sv.json +0 -7
  363. package/dist/solutions-components/assets/t9n/layout-manager/resources_th.json +0 -7
  364. package/dist/solutions-components/assets/t9n/layout-manager/resources_tr.json +0 -7
  365. package/dist/solutions-components/assets/t9n/layout-manager/resources_uk.json +0 -7
  366. package/dist/solutions-components/assets/t9n/layout-manager/resources_vi.json +0 -7
  367. package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-CN.json +0 -7
  368. package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-HK.json +0 -7
  369. package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-TW.json +0 -7
  370. package/dist/solutions-components/assets/t9n/list-flow-item/resources.json +0 -3
  371. package/dist/solutions-components/assets/t9n/list-flow-item/resources_en.json +0 -3
  372. package/dist/solutions-components/assets/t9n/location-flow-item/resources.json +0 -3
  373. package/dist/solutions-components/assets/t9n/location-flow-item/resources_en.json +0 -3
  374. package/dist/solutions-components/p-04ab956c.entry.js +0 -6
  375. package/dist/solutions-components/p-06364211.entry.js +0 -6
  376. package/dist/solutions-components/p-1700f63a.entry.js +0 -6
  377. package/dist/solutions-components/p-1f07e21a.entry.js +0 -6
  378. package/dist/solutions-components/p-46416e11.entry.js +0 -6
  379. package/dist/solutions-components/p-5b3c0418.entry.js +0 -6
  380. package/dist/solutions-components/p-70c0050c.entry.js +0 -6
  381. package/dist/solutions-components/p-720de4db.entry.js +0 -6
  382. package/dist/solutions-components/p-74bcef23.entry.js +0 -11
  383. package/dist/solutions-components/p-750b3277.entry.js +0 -6
  384. package/dist/solutions-components/p-76154700.entry.js +0 -6
  385. package/dist/solutions-components/p-8779ee41.entry.js +0 -6
  386. package/dist/solutions-components/p-938bc915.entry.js +0 -6
  387. package/dist/solutions-components/p-9c4fef09.entry.js +0 -17
  388. package/dist/solutions-components/p-9d56f4b5.entry.js +0 -6
  389. package/dist/solutions-components/p-9da8a590.entry.js +0 -6
  390. package/dist/solutions-components/p-aac0c89c.entry.js +0 -6
  391. package/dist/solutions-components/p-be4c7ffd.entry.js +0 -6
  392. package/dist/solutions-components/p-ca3cbd29.entry.js +0 -6
  393. package/dist/solutions-components/p-d2612c30.entry.js +0 -6
  394. package/dist/solutions-components/p-df7de4b7.entry.js +0 -12
  395. package/dist/solutions-components/p-e1391389.entry.js +0 -29
  396. package/dist/solutions-components/p-e345f9c4.entry.js +0 -6
  397. package/dist/solutions-components/p-eadff42b.entry.js +0 -11
  398. package/dist/solutions-components/p-fa1c368c.entry.js +0 -6
  399. package/dist/solutions-components/p-ff3858c6.entry.js +0 -6
  400. package/dist/types/components/feature-comments/feature-comments.d.ts +0 -19
  401. package/dist/types/components/feature-form-flow-item/feature-form-flow-item.d.ts +0 -19
  402. package/dist/types/components/features-flow-item/features-flow-item.d.ts +0 -19
  403. package/dist/types/components/layout-manager/layout-manager.d.ts +0 -69
  404. package/dist/types/components/list-flow-item/list-flow-item.d.ts +0 -19
  405. package/dist/types/components/location-flow-item/location-flow-item.d.ts +0 -19
  406. package/dist/types/components/refine-results-flow-item/refine-results-flow-item.d.ts +0 -19
@@ -1514,6 +1514,7 @@ const InstantAppsFilterList = class {
1514
1514
  registerInstance(this, hostRef);
1515
1515
  this.filterListReset = createEvent(this, "filterListReset", 7);
1516
1516
  this.filterUpdate = createEvent(this, "filterUpdate", 7);
1517
+ this.isLayerExpUpdated = false;
1517
1518
  this.layerExpressions = undefined;
1518
1519
  this.autoUpdateUrl = false;
1519
1520
  this.closeBtn = false;
@@ -1534,7 +1535,6 @@ const InstantAppsFilterList = class {
1534
1535
  this.messages = undefined;
1535
1536
  this.baseClass = baseClassLight;
1536
1537
  this.disabled = true;
1537
- this.hasLayerExpression = false;
1538
1538
  this.initDefExpressions = undefined;
1539
1539
  this.initMapImageExpressions = undefined;
1540
1540
  this.initPointCloudFilters = undefined;
@@ -1543,11 +1543,9 @@ const InstantAppsFilterList = class {
1543
1543
  this.handleWhenView();
1544
1544
  }
1545
1545
  watchLayerExpressions() {
1546
- if (!this.hasLayerExpression) {
1547
- this.filterLayerExpressions = structuredClone(this.layerExpressions);
1548
- this.handleLayerExpressionsUpdate();
1549
- this.hasLayerExpression = true;
1550
- }
1546
+ this.resetAllFilters();
1547
+ this.filterLayerExpressions = structuredClone(this.layerExpressions);
1548
+ this.handleLayerExpressionsUpdate();
1551
1549
  }
1552
1550
  getFilterInitState() {
1553
1551
  return Promise.resolve({
@@ -1557,7 +1555,6 @@ const InstantAppsFilterList = class {
1557
1555
  });
1558
1556
  }
1559
1557
  forceReset() {
1560
- this.filterLayerExpressions = structuredClone(this.layerExpressions);
1561
1558
  this.handleResetFilter();
1562
1559
  return this.initExpressions();
1563
1560
  }
@@ -1572,28 +1569,28 @@ const InstantAppsFilterList = class {
1572
1569
  }
1573
1570
  return this.initExpressions();
1574
1571
  }
1572
+ connectedCallback() {
1573
+ var _a;
1574
+ if (this.layerExpressions == null && this.view == null)
1575
+ return;
1576
+ this.isLayerExpUpdated = true;
1577
+ this.filterLayerExpressions = structuredClone(this.layerExpressions);
1578
+ this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) ? undefined : true;
1579
+ this.handleLayerExpressionsUpdate();
1580
+ }
1575
1581
  async componentWillLoad() {
1576
1582
  var _a;
1577
1583
  this.baseClass = getMode(this.el) === 'dark' ? baseClassDark : baseClassLight;
1578
1584
  await this.initializeModules();
1579
1585
  getMessages(this);
1580
- this.hasLayerExpression = this.layerExpressions != null;
1586
+ if (this.isLayerExpUpdated)
1587
+ return;
1588
+ this.isLayerExpUpdated = true;
1581
1589
  this.filterLayerExpressions = this.layerExpressions != null ? structuredClone(this.layerExpressions) : [];
1582
1590
  this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) ? undefined : true;
1583
- this.reactiveUtils.whenOnce(() => this.view).then(() => this.handleLayerExpressionsUpdate());
1584
- }
1585
- componentShouldUpdate(newValue, _oldValue, name) {
1586
- if (name === 'view' && newValue != null) {
1587
- this.handleWhenView();
1588
- }
1589
- else if (name === 'layerExpressions') {
1590
- if (this.hasLayerExpression) {
1591
- this.resetAllFilters();
1592
- }
1593
- this.filterLayerExpressions = structuredClone(this.layerExpressions);
1594
- this.handleLayerExpressionsUpdate();
1595
- this.hasLayerExpression = true;
1596
- }
1591
+ if (this.view == null)
1592
+ return;
1593
+ this.handleLayerExpressionsUpdate();
1597
1594
  }
1598
1595
  componentWillRender() {
1599
1596
  var _a;
@@ -1601,21 +1598,21 @@ const InstantAppsFilterList = class {
1601
1598
  }
1602
1599
  disconnectedCallback() {
1603
1600
  if (this.resetFiltersOnDisconnect) {
1601
+ this.isLayerExpUpdated = false;
1604
1602
  this.filterLayerExpressions = structuredClone(this.layerExpressions);
1605
1603
  this.resetAllFilters();
1606
1604
  }
1607
1605
  }
1608
1606
  async initializeModules() {
1609
- const [intl, geometryJsonUtils, reactiveUtils] = await loadModules(['esri/intl', 'esri/geometry/support/jsonUtils', 'esri/core/reactiveUtils']);
1607
+ const [intl, geometryJsonUtils] = await loadModules(['esri/intl', 'esri/geometry/support/jsonUtils']);
1610
1608
  this.geometryJsonUtils = geometryJsonUtils;
1611
- this.reactiveUtils = reactiveUtils;
1612
1609
  this.locale = intl.getLocale();
1613
1610
  this.intl = intl;
1614
1611
  }
1615
1612
  render() {
1616
1613
  const filterConfig = this.loading ? this.renderLoading() : this.initFilterConfig();
1617
- const footer = this.renderFooter(this.closeBtn, this.resetBtn);
1618
- return (h(Host, { key: '80c4918bd3bdf65d541ed6cf4cf4843ab0f0df01' }, h("calcite-panel", { key: 'f1da101b071420df42da5eb8f5478d0719b40cec', class: this.baseClass, ref: el => (this.panelEl = el) }, h("slot", { key: '8ebdbf20767027459470fa85fe4238e69bc47ab8', slot: "header-content", name: "filter-header-content" }), h("slot", { key: '177f8db80aa842eeb200344cd7b398cd51ca23f3', slot: "header-actions-end", name: "filter-header-actions-end" }), h("div", { key: "filter-container", class: CSS$1.filterContainer }, filterConfig, footer))));
1614
+ const footer = this.renderFooter();
1615
+ return (h(Host, { key: '055d2a02c5118e59462af8759c6bf2f39304fd75' }, h("calcite-panel", { key: '0335c9b28101257551902737ef373543aebee1f6', class: this.baseClass, ref: el => (this.panelEl = el) }, h("slot", { key: '4b471e66583b3f2fd733688d65ce8d3b2acbeb66', slot: "header-content", name: "filter-header-content" }), h("slot", { key: 'f5832075687a6812b902643fd057587b438b38cf', slot: "header-actions-end", name: "filter-header-actions-end" }), h("div", { key: "filter-container", class: CSS$1.filterContainer }, filterConfig, footer))));
1619
1616
  }
1620
1617
  renderLoading() {
1621
1618
  return h("calcite-loader", { label: "Loading filters..." });
@@ -1684,10 +1681,11 @@ const InstantAppsFilterList = class {
1684
1681
  const check = min != null && max != null;
1685
1682
  return check ? (h("label", { class: CSS$1.filterUIItemContainer }, h("span", null, expression === null || expression === void 0 ? void 0 : expression.name), h("div", { class: CSS$1.dateInputContainer }, h("calcite-input-date-picker", { id: expression === null || expression === void 0 ? void 0 : expression.id.toString(), onCalciteInputDatePickerChange: this.handleDatePickerRangeChange.bind(this, expression, layerExpression), min: min, max: max, "overlay-positioning": "fixed", lang: (_c = this.locale) !== null && _c !== void 0 ? _c : 'en', layout: "vertical", value: value, range: true }), h("calcite-action", { onClick: this.handleResetDatePicker.bind(this, expression, layerExpression), icon: "reset", text: (_d = this.messages) === null || _d === void 0 ? void 0 : _d.resetDatePicker, scale: "s" })))) : null;
1686
1683
  }
1687
- renderFooter(closeBtn, resetBtn) {
1684
+ renderFooter() {
1688
1685
  var _a, _b, _c;
1689
1686
  const closeText = this.closeBtnText != null ? this.closeBtnText : (_a = this.messages) === null || _a === void 0 ? void 0 : _a.close;
1690
- return (h("div", { class: CSS$1.footer, slot: "footer" }, resetBtn ? (h("calcite-button", { appearance: "outline", width: "half", disabled: this.disabled, onClick: this.handleResetFilter.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.resetFilter)) : undefined, closeBtn ? (h("calcite-button", { appearance: "solid", width: "half", kind: "brand", onClick: (_c = this.closeBtnOnClick) === null || _c === void 0 ? void 0 : _c.bind(this) }, closeText)) : undefined));
1687
+ const btnWidth = this.closeBtn && this.resetBtn ? 'half' : 'full';
1688
+ return (h("div", { class: CSS$1.footer, slot: "footer" }, this.resetBtn ? (h("calcite-button", { appearance: "outline", width: btnWidth, disabled: this.disabled, onClick: this.handleResetFilter.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.resetFilter)) : undefined, this.closeBtn ? (h("calcite-button", { appearance: "solid", width: btnWidth, kind: "brand", onClick: (_c = this.closeBtnOnClick) === null || _c === void 0 ? void 0 : _c.bind(this) }, closeText)) : undefined));
1691
1689
  }
1692
1690
  renderZoomTo(layerExpression) {
1693
1691
  var _a;
@@ -1718,23 +1716,21 @@ const InstantAppsFilterList = class {
1718
1716
  }
1719
1717
  async initExpressions() {
1720
1718
  this.loading = true;
1721
- if (this.filterLayerExpressions == null)
1719
+ if (this.filterLayerExpressions == null || this.view == null)
1722
1720
  return;
1723
- const tmpLE = await this.processExpressions();
1721
+ await this.processExpressions();
1724
1722
  this.loading = false;
1725
- this.filterLayerExpressions = [...tmpLE];
1726
1723
  }
1727
1724
  async processExpressions() {
1728
1725
  var _a;
1729
1726
  if (!this.filterLayerExpressions)
1730
- return [];
1727
+ return;
1731
1728
  for (const layerExpression of this.filterLayerExpressions) {
1732
1729
  for (const expression of layerExpression.expressions || []) {
1733
1730
  expression.active = (_a = expression.active) !== null && _a !== void 0 ? _a : expression.definitionExpression != null;
1734
1731
  await this.setInitExpression(layerExpression, expression);
1735
1732
  }
1736
1733
  }
1737
- return this.filterLayerExpressions;
1738
1734
  }
1739
1735
  handleResetFilter() {
1740
1736
  var _a;
@@ -1804,6 +1800,8 @@ const InstantAppsFilterList = class {
1804
1800
  }
1805
1801
  resetAllFilters() {
1806
1802
  var _a, _b, _c, _d, _e;
1803
+ if (this.initDefExpressions == null)
1804
+ return;
1807
1805
  const allLayersAndTables = (_c = (_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.map) === null || _b === void 0 ? void 0 : _b.allLayers) === null || _c === void 0 ? void 0 : _c.concat((_e = (_d = this.view) === null || _d === void 0 ? void 0 : _d.map) === null || _e === void 0 ? void 0 : _e.allTables);
1808
1806
  allLayersAndTables === null || allLayersAndTables === void 0 ? void 0 : allLayersAndTables.forEach(layer => {
1809
1807
  var _a, _b;
@@ -1905,18 +1903,19 @@ const InstantAppsFilterList = class {
1905
1903
  }
1906
1904
  return false;
1907
1905
  }
1908
- updateCodedValueExpression(expression, layerField) {
1906
+ async updateCodedValueExpression(layerExpression, expression, layerField) {
1909
1907
  var _a, _b;
1910
1908
  if (!(layerField === null || layerField === void 0 ? void 0 : layerField.domain) || ((_a = layerField === null || layerField === void 0 ? void 0 : layerField.domain) === null || _a === void 0 ? void 0 : _a.type) !== 'coded-value') {
1911
1909
  return false;
1912
1910
  }
1911
+ const layer = this.findFilterLayer(layerExpression);
1912
+ await this.getFeatureAttributes(layer, expression);
1913
1913
  const domain = layerField.domain;
1914
1914
  const codedValuesMap = domain.codedValues.reduce((acc, { code, name }) => {
1915
1915
  acc[code] = name;
1916
1916
  return acc;
1917
1917
  }, {});
1918
1918
  expression.codedValues = codedValuesMap;
1919
- expression.fields = Object.keys(codedValuesMap);
1920
1919
  if ((_b = expression.selectedFields) === null || _b === void 0 ? void 0 : _b.length) {
1921
1920
  const selectedFieldsExpression = expression.selectedFields.map((field) => (typeof field === 'number' ? field : `'${handleSingleQuote(field)}'`)).join(',');
1922
1921
  expression.definitionExpression = `${expression.field} IN (${selectedFieldsExpression})`;
@@ -1985,7 +1984,7 @@ const InstantAppsFilterList = class {
1985
1984
  if (features === null || features === void 0 ? void 0 : features.length) {
1986
1985
  expression.fields = [...new Set(features)];
1987
1986
  if (expression.type === 'string') {
1988
- expression.fields = expression.fields.sort();
1987
+ expression.fields = expression.fields.sort((a, b) => a.localeCompare(b));
1989
1988
  }
1990
1989
  else if (expression.type === 'number') {
1991
1990
  expression.fields = expression.fields.sort((a, b) => a - b);
@@ -2014,8 +2013,15 @@ const InstantAppsFilterList = class {
2014
2013
  expression.fields.push(...features);
2015
2014
  }
2016
2015
  });
2017
- expression.fields = [...new Set(expression.fields)].sort();
2018
- this.filterLayerExpressions = [...this.filterLayerExpressions];
2016
+ if (expression.type === 'string') {
2017
+ expression.fields = [...new Set(expression.fields)].sort((a, b) => a.localeCompare(b));
2018
+ }
2019
+ else if (expression.type === 'number') {
2020
+ expression.fields = [...new Set(expression.fields)].sort((a, b) => a - b);
2021
+ }
2022
+ else {
2023
+ expression.fields = [...new Set(expression.fields)].sort();
2024
+ }
2019
2025
  });
2020
2026
  }
2021
2027
  async queryForFeatures(layer, query, field) {
@@ -2098,13 +2104,14 @@ const InstantAppsFilterList = class {
2098
2104
  case 'number':
2099
2105
  return await this.updateNumberExpression(layerExpression, expression);
2100
2106
  case 'date':
2101
- return this.updateDateExpressionBasedOnDisplayOption(layerExpression, expression);
2107
+ return await this.updateDateExpressionBasedOnDisplayOption(layerExpression, expression);
2102
2108
  case 'coded-value':
2103
- return this.updateCodedValueExpression(expression, layerField);
2109
+ return await this.updateCodedValueExpression(layerExpression, expression, layerField);
2104
2110
  case 'range':
2105
- return this.updateRangeExpressionBasedOnDisplayOption(layerExpression, expression, layerField);
2111
+ return await this.updateRangeExpressionBasedOnDisplayOption(layerExpression, expression, layerField);
2106
2112
  case 'checkbox':
2107
2113
  case null:
2114
+ case undefined:
2108
2115
  return (_a = expression.active) !== null && _a !== void 0 ? _a : false;
2109
2116
  default:
2110
2117
  return false;
@@ -2304,31 +2311,9 @@ const InstantAppsFilterList = class {
2304
2311
  this.handleLayerExpressionsUpdate();
2305
2312
  }
2306
2313
  async handleLayerExpressionsUpdate() {
2307
- if (this.view == null)
2308
- return;
2309
- const map = this.view.map;
2310
- this.initDefExpressions = {};
2311
- this.initPointCloudFilters = {};
2312
- this.initMapImageExpressions = {};
2313
- map.allLayers.concat(map.allTables).forEach(layer => {
2314
- if (!supportedTypes.includes(layer.type))
2315
- return;
2316
- const fl = layer;
2317
- if (fl.type === 'point-cloud') {
2318
- this.initPointCloudFilters[fl.id] = fl.filters;
2319
- }
2320
- else if (fl.type === 'map-image') {
2321
- this.initMapImageExpressions[fl.id] = fl.allSublayers.reduce((acc, sublayer) => {
2322
- acc[sublayer.id] = sublayer.definitionExpression;
2323
- return acc;
2324
- }, {});
2325
- }
2326
- else {
2327
- this.initDefExpressions[fl.id] = fl.definitionExpression;
2328
- }
2329
- });
2330
- this.initExpressions();
2314
+ this.updateInitExpressions();
2331
2315
  this.handleURLParams();
2316
+ this.initExpressions();
2332
2317
  }
2333
2318
  async handleZoomTo(layerExpression) {
2334
2319
  const zoomId = (layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId) ? `#zoom-to-${layerExpression.id}-${layerExpression.sublayerId}` : `#zoom-to-${layerExpression.id}`;
@@ -2499,6 +2484,31 @@ const InstantAppsFilterList = class {
2499
2484
  query.geometry = geometry;
2500
2485
  query.spatialRelationship = 'intersects';
2501
2486
  }
2487
+ updateInitExpressions() {
2488
+ if (this.view == null)
2489
+ return;
2490
+ const map = this.view.map;
2491
+ this.initDefExpressions = {};
2492
+ this.initPointCloudFilters = {};
2493
+ this.initMapImageExpressions = {};
2494
+ map.allLayers.concat(map.allTables).forEach(layer => {
2495
+ if (!supportedTypes.includes(layer.type))
2496
+ return;
2497
+ const fl = layer;
2498
+ if (fl.type === 'point-cloud') {
2499
+ this.initPointCloudFilters[fl.id] = fl.filters;
2500
+ }
2501
+ else if (fl.type === 'map-image') {
2502
+ this.initMapImageExpressions[fl.id] = fl.allSublayers.reduce((acc, sublayer) => {
2503
+ acc[sublayer.id] = sublayer.definitionExpression;
2504
+ return acc;
2505
+ }, {});
2506
+ }
2507
+ else {
2508
+ this.initDefExpressions[fl.id] = fl.definitionExpression;
2509
+ }
2510
+ });
2511
+ }
2502
2512
  get el() { return getElement(this); }
2503
2513
  static get watchers() { return {
2504
2514
  "view": ["watchViewHandler"],
@@ -1217,6 +1217,7 @@ const MapLayerPicker = class {
1217
1217
  this.enabledTableIds = [];
1218
1218
  this.height = undefined;
1219
1219
  this.isMobile = undefined;
1220
+ this.locale = undefined;
1220
1221
  this.mapView = undefined;
1221
1222
  this.onlyShowUpdatableLayers = undefined;
1222
1223
  this.placeholderIcon = "";
@@ -1260,6 +1261,14 @@ const MapLayerPicker = class {
1260
1261
  // Watch handlers
1261
1262
  //
1262
1263
  //--------------------------------------------------------------------------
1264
+ /**
1265
+ * Fetch translations when the locale is updated
1266
+ */
1267
+ async localeWatchHandler() {
1268
+ // to support url param and language switcher
1269
+ this.el.lang = this.locale;
1270
+ await this._getTranslations();
1271
+ }
1263
1272
  /**
1264
1273
  * Called each time the mapView prop is changed.
1265
1274
  */
@@ -1341,7 +1350,7 @@ const MapLayerPicker = class {
1341
1350
  const id = "map-layer-picker";
1342
1351
  let style = this.height > 0 ? { "height": `${this.height.toString()}px` } : {};
1343
1352
  style = { ...style, "display": this.display };
1344
- return (h(Host, { key: 'a876ec719aede5ec43af1b40f09e4c9e6b693f34' }, h("div", { key: '78e720facdf3c124208ff8dbde18a056234e63ac', class: "map-layer-picker-container", style: style }, h("div", { key: '6bb47ccb7c28565b140d79b6af6399a235e3ccf9', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
1353
+ return (h(Host, { key: '33b19dbf87019ad071242aaa688e49f35e2c2808' }, h("div", { key: '85e781782fc529acae68b1137f8ec1a317b452a0', class: "map-layer-picker-container", style: style }, h("div", { key: 'c257b179b56939d998650c676e835c9976d9fb21', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
1345
1354
  !this._hasMultipleLayers && this.showSingleLayerAsLabel ? this._getSingleLayerPlaceholder() :
1346
1355
  this.type === "combobox" ? this._getCombobox(id) :
1347
1356
  this.type === "select" ? this._getSelect(id) : this._getDropdown(id)))));
@@ -1592,6 +1601,7 @@ const MapLayerPicker = class {
1592
1601
  this._translations = messages[0];
1593
1602
  }
1594
1603
  static get watchers() { return {
1604
+ "locale": ["localeWatchHandler"],
1595
1605
  "mapView": ["mapViewWatchHandler"]
1596
1606
  }; }
1597
1607
  };
@@ -161,6 +161,7 @@ const CreateRelatedFeature = class {
161
161
  this.fail = createEvent(this, "fail", 7);
162
162
  this.isActionPending = createEvent(this, "isActionPending", 7);
163
163
  this.formReady = createEvent(this, "formReady", 7);
164
+ this.locale = undefined;
164
165
  this.mapView = undefined;
165
166
  this.table = undefined;
166
167
  this.selectedFeature = undefined;
@@ -206,6 +207,14 @@ const CreateRelatedFeature = class {
206
207
  // Watch handlers
207
208
  //
208
209
  //--------------------------------------------------------------------------
210
+ /**
211
+ * Fetch translations when the locale is updated
212
+ */
213
+ async localeWatchHandler() {
214
+ // to support url param and language switcher
215
+ this.el.lang = this.locale;
216
+ await this._getTranslations();
217
+ }
209
218
  /**
210
219
  * Called each time the mapView prop is changed.
211
220
  */
@@ -296,7 +305,7 @@ const CreateRelatedFeature = class {
296
305
  }
297
306
  render() {
298
307
  const loaderClass = this._editorLoading ? "" : "display-none";
299
- return (h(Fragment, { key: '641b4f6f51bce04b6263a1d7dc72a31839df970d' }, this.showGuidingMsg && h("calcite-notice", { key: '1a6e577bcc0632a7bc69dd411a692062a7ad176e', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { key: '55c5836314fcca69a259be3a36e34c527edcabf3', slot: "message" }, this._translations.provideDetailsMsg)), h("calcite-loader", { key: '18c5603a4a75c67a160a71caa15e94790f66d60b', class: loaderClass, label: "", scale: "s" })));
308
+ return (h(Fragment, { key: '48fffd1e9dd429d339d9a72e35f5c31561fc076f' }, this.showGuidingMsg && h("calcite-notice", { key: '9a6f700c135bb7593e4338981a30531e3d9fba8a', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { key: '7044e923a9fab833a7a6fe0bb97fa688d7e6eecc', slot: "message" }, this._translations.provideDetailsMsg)), h("calcite-loader", { key: '15599ae77e451d220689c13098a31c5788714306', class: loaderClass, label: "", scale: "s" })));
300
309
  }
301
310
  /**
302
311
  * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
@@ -483,6 +492,7 @@ const CreateRelatedFeature = class {
483
492
  this._translations = messages[0];
484
493
  }
485
494
  static get watchers() { return {
495
+ "locale": ["localeWatchHandler"],
486
496
  "mapView": ["mapViewWatchHandler"],
487
497
  "_editorLoading": ["_editorLoadingWatchHandler"]
488
498
  }; }
@@ -504,6 +514,7 @@ const FeatureDetails = class {
504
514
  this.graphics = undefined;
505
515
  this.reportingOptions = undefined;
506
516
  this.layerItemsHash = undefined;
517
+ this.locale = undefined;
507
518
  this.showUserImageInCommentsList = false;
508
519
  this._likeFieldAvailable = false;
509
520
  this._likeCount = 0;
@@ -652,12 +663,12 @@ const FeatureDetails = class {
652
663
  render() {
653
664
  //When related features found show comments list of only those features else comments list will be empty
654
665
  const commentsListWhereClause = this._relatedFeaturesOIDs?.length > 0 ? `objectId in(${this._relatedFeaturesOIDs})` : '1=0';
655
- return (h("calcite-panel", { key: 'e09b693348a5d446f6ea3c774af3c2fd14e66daf', "full-height": true }, h("info-card", { key: '4483a15e4e0bdd62c2c21bc4622d3bbddf3cd113', allowEditing: false, graphics: this.graphics, highlightEnabled: false, isLoading: false, isMobile: false, mapView: this.mapView, onSelectionChanged: (e) => { this.featureSelectionChange.emit(e.detail); }, paginationEnabled: false, position: "relative", ref: el => this._infoCard = el }), (this._likeFieldAvailable || this._dislikeFieldAvailable || this._commentsAvailable) &&
656
- h("div", { key: 'ac24bb5fd56a7561e78d90c3a1b10027cfab6b2b', class: "buttons-container" }, this._commentsAvailable &&
657
- h("calcite-button", { key: '676c5da52465f295212668f8db9b353e219070f2', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
658
- h("calcite-button", { key: 'b3fe54ea2fcf5361e6ec0a91bd52775d24408d77', appearance: "transparent", iconEnd: "thumbs-up", kind: this._isLikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onLikeButtonClick.bind(this), scale: 'm' }, this._likeCount ?? this._selectedGraphic.attributes[this._likeField] ?? 0), this._dislikeFieldAvailable &&
659
- h("calcite-button", { key: 'd83c9b9fdd287e07670ca9a5aeafd1a4cc38c0f8', appearance: "transparent", iconEnd: "thumbs-down", kind: this._isDislikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onDislikeButtonClick.bind(this), scale: 'm' }, this._disLikeCount ?? this._selectedGraphic.attributes[this._dislikeField] ?? 0)), this.relatedTableId && this._commentsAvailable &&
660
- h("feature-list", { key: '9d72181a778e08b632d802689a66fa21924cd5b3', class: "height-full", mapView: this.mapView, onFeatureSelect: (e) => { this.commentSelect.emit(e.detail); }, pageSize: 5, ref: el => this._commentsList = el, selectedLayerId: this.relatedTableId, showErrorWhenNoFeatures: false, showInitialLoading: false, showUserImageInList: this.showUserImageInCommentsList, textSize: "small", whereClause: commentsListWhereClause })));
666
+ return (h("calcite-panel", { key: 'be7bebe9da698d963a2602fcacb95ac7206ac1e9', "full-height": true }, h("info-card", { key: '1e069f52d59d42f3e2b88463ea7c536c65a0a6b5', allowEditing: false, graphics: this.graphics, highlightEnabled: false, isLoading: false, isMobile: false, locale: this.locale, mapView: this.mapView, onSelectionChanged: (e) => { this.featureSelectionChange.emit(e.detail); }, paginationEnabled: false, position: "relative", ref: el => this._infoCard = el }), (this._likeFieldAvailable || this._dislikeFieldAvailable || this._commentsAvailable) &&
667
+ h("div", { key: 'd53f5a1726e4c6299ffd04e266d84005181645f6', class: "buttons-container" }, this._commentsAvailable &&
668
+ h("calcite-button", { key: '4c2616cc9e0107258f5313b66ae96fa31fe582c5', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
669
+ h("calcite-button", { key: '7c87aa085df04a8b58625097c2ce70e5853b82f9', appearance: "transparent", iconEnd: "thumbs-up", kind: this._isLikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onLikeButtonClick.bind(this), scale: 'm' }, this._likeCount ?? this._selectedGraphic.attributes[this._likeField] ?? 0), this._dislikeFieldAvailable &&
670
+ h("calcite-button", { key: '59eb48b91fc2a394cafdcbeeebf5baafae9a8c9b', appearance: "transparent", iconEnd: "thumbs-down", kind: this._isDislikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onDislikeButtonClick.bind(this), scale: 'm' }, this._disLikeCount ?? this._selectedGraphic.attributes[this._dislikeField] ?? 0)), this.relatedTableId && this._commentsAvailable &&
671
+ h("feature-list", { key: 'f34ee203202944666c40e14bdfdc59265414fbe1', class: "height-full", locale: this.locale, mapView: this.mapView, onFeatureSelect: (e) => { this.commentSelect.emit(e.detail); }, pageSize: 5, ref: el => this._commentsList = el, selectedLayerId: this.relatedTableId, showErrorWhenNoFeatures: false, showInitialLoading: false, showUserImageInList: this.showUserImageInCommentsList, textSize: "small", whereClause: commentsListWhereClause })));
661
672
  }
662
673
  /**
663
674
  * Load esri javascript api modules
@@ -942,6 +953,7 @@ const LayerList = class {
942
953
  this.layersListLoaded = createEvent(this, "layersListLoaded", 7);
943
954
  this.mapView = undefined;
944
955
  this.layers = undefined;
956
+ this.locale = undefined;
945
957
  this.showFeatureCount = true;
946
958
  this.showNextIcon = false;
947
959
  this.applyLayerViewFilter = false;
@@ -965,6 +977,14 @@ const LayerList = class {
965
977
  // Watch handlers
966
978
  //
967
979
  //--------------------------------------------------------------------------
980
+ /**
981
+ * Fetch translations when the locale is updated
982
+ */
983
+ async localeWatchHandler() {
984
+ // to support url param and language switcher
985
+ this.el.lang = this.locale;
986
+ await this._getTranslations();
987
+ }
968
988
  //--------------------------------------------------------------------------
969
989
  //
970
990
  // Methods (public)
@@ -1013,9 +1033,9 @@ const LayerList = class {
1013
1033
  * Renders the component.
1014
1034
  */
1015
1035
  render() {
1016
- return (h(Fragment, { key: 'f8e0c21d4ff87d663a1e0f00f1d9ef1123091db9' }, this._isLoading && h("calcite-loader", { key: '42058be6b41126e58d33895bc237b174e55a16ed', label: "", scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
1017
- h("calcite-notice", { key: '89d9073a156f07379699cc5b67bf9ba54654cc68', class: "error-msg", icon: "layers-reference", kind: "danger", open: true }, h("div", { key: '730b8dcca79bd45a7a6eecb5030626d1dcd01238', slot: "title" }, this._translations.error), h("div", { key: '656e8276ffab75734909348f49f11492de1d5a8b', slot: "message" }, this._translations.noLayerToDisplayErrorMsg)), !this._isLoading && this.mapView &&
1018
- h("calcite-list", { key: '1d2206d3163b6c5ed8511e32ab296f0025889824', "selection-appearance": "border", "selection-mode": "none" }, this.renderLayerList())));
1036
+ return (h(Fragment, { key: 'a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e' }, this._isLoading && h("calcite-loader", { key: '544a134bccc29048ca80b996844cc944bcd97a24', label: "", scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
1037
+ h("calcite-notice", { key: '7557f91c8c3349c120c043ea59458b4c834dce2e', class: "error-msg", icon: "layers-reference", kind: "danger", open: true }, h("div", { key: 'ea8b20f8c7da5053641cfad56e3395ae3c6286f5', slot: "title" }, this._translations.error), h("div", { key: '38aaed7b456aba0b1dd70183be03e9133834dfb4', slot: "message" }, this._translations.noLayerToDisplayErrorMsg)), !this._isLoading && this.mapView &&
1038
+ h("calcite-list", { key: '817de422b8387cafb7f9a17515cf9b3c13998522', "selection-appearance": "border", "selection-mode": "none" }, this.renderLayerList())));
1019
1039
  }
1020
1040
  //--------------------------------------------------------------------------
1021
1041
  //
@@ -1141,6 +1161,9 @@ const LayerList = class {
1141
1161
  const messages = await getLocaleComponentStrings(this.el);
1142
1162
  this._translations = messages[0];
1143
1163
  }
1164
+ static get watchers() { return {
1165
+ "locale": ["localeWatchHandler"]
1166
+ }; }
1144
1167
  };
1145
1168
  LayerList.style = LayerListStyle0;
1146
1169