@esri/solutions-components 0.8.36 → 0.8.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1183) hide show
  1. package/dist/assets/t9n/layer-list/resources_ar.json +1 -1
  2. package/dist/assets/t9n/layer-list/resources_bg.json +1 -1
  3. package/dist/assets/t9n/layer-list/resources_bs.json +1 -1
  4. package/dist/assets/t9n/layer-list/resources_ca.json +1 -1
  5. package/dist/assets/t9n/layer-list/resources_cs.json +1 -1
  6. package/dist/assets/t9n/layer-list/resources_da.json +1 -1
  7. package/dist/assets/t9n/layer-list/resources_de.json +1 -1
  8. package/dist/assets/t9n/layer-list/resources_el.json +1 -1
  9. package/dist/assets/t9n/layer-list/resources_es.json +1 -1
  10. package/dist/assets/t9n/layer-list/resources_et.json +1 -1
  11. package/dist/assets/t9n/layer-list/resources_fi.json +1 -1
  12. package/dist/assets/t9n/layer-list/resources_fr.json +1 -1
  13. package/dist/assets/t9n/layer-list/resources_he.json +1 -1
  14. package/dist/assets/t9n/layer-list/resources_hr.json +1 -1
  15. package/dist/assets/t9n/layer-list/resources_hu.json +1 -1
  16. package/dist/assets/t9n/layer-list/resources_id.json +1 -1
  17. package/dist/assets/t9n/layer-list/resources_it.json +1 -1
  18. package/dist/assets/t9n/layer-list/resources_ja.json +1 -1
  19. package/dist/assets/t9n/layer-list/resources_ko.json +1 -1
  20. package/dist/assets/t9n/layer-list/resources_lt.json +1 -1
  21. package/dist/assets/t9n/layer-list/resources_lv.json +1 -1
  22. package/dist/assets/t9n/layer-list/resources_nb.json +1 -1
  23. package/dist/assets/t9n/layer-list/resources_nl.json +1 -1
  24. package/dist/assets/t9n/layer-list/resources_pl.json +1 -1
  25. package/dist/assets/t9n/layer-list/resources_pt-BR.json +1 -1
  26. package/dist/assets/t9n/layer-list/resources_pt-PT.json +1 -1
  27. package/dist/assets/t9n/layer-list/resources_ro.json +1 -1
  28. package/dist/assets/t9n/layer-list/resources_ru.json +1 -1
  29. package/dist/assets/t9n/layer-list/resources_sk.json +1 -1
  30. package/dist/assets/t9n/layer-list/resources_sl.json +1 -1
  31. package/dist/assets/t9n/layer-list/resources_sr.json +1 -1
  32. package/dist/assets/t9n/layer-list/resources_sv.json +1 -1
  33. package/dist/assets/t9n/layer-list/resources_th.json +1 -1
  34. package/dist/assets/t9n/layer-list/resources_tr.json +1 -1
  35. package/dist/assets/t9n/layer-list/resources_uk.json +1 -1
  36. package/dist/assets/t9n/layer-list/resources_vi.json +1 -1
  37. package/dist/assets/t9n/layer-list/resources_zh-CN.json +1 -1
  38. package/dist/assets/t9n/layer-list/resources_zh-HK.json +1 -1
  39. package/dist/assets/t9n/layer-list/resources_zh-TW.json +1 -1
  40. package/dist/cjs/ExpandToggle-1ff416a1.js +118 -0
  41. package/dist/cjs/FloatingArrow-ba8caba2.js +50 -0
  42. package/dist/cjs/Heading-f1f9e2dd.js +25 -0
  43. package/dist/cjs/Validation-425b2de4.js +20 -0
  44. package/dist/cjs/ar-a2f57db2.js +105 -0
  45. package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
  46. package/dist/cjs/basemap-gallery_7.cjs.entry.js +10 -2
  47. package/dist/cjs/bg-cb903045.js +83 -0
  48. package/dist/cjs/breakpoints-7d21666f.js +17 -0
  49. package/dist/cjs/browser-d12b6cd5.js +25 -0
  50. package/dist/cjs/bs-3690f22d.js +52 -0
  51. package/dist/cjs/buffer-tools_3.cjs.entry.js +4 -4
  52. package/dist/cjs/ca-fec18921.js +72 -0
  53. package/dist/cjs/calcite-accordion-item.cjs.entry.js +4 -4
  54. package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
  55. package/dist/cjs/calcite-action-bar.cjs.entry.js +7 -7
  56. package/dist/cjs/calcite-action-group.cjs.entry.js +6 -6
  57. package/dist/cjs/calcite-action-menu_3.cjs.entry.js +9 -9
  58. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +10 -10
  59. package/dist/cjs/calcite-action_2.cjs.entry.js +7 -7
  60. package/dist/cjs/calcite-alert_4.cjs.entry.js +12 -12
  61. package/dist/cjs/calcite-avatar_2.cjs.entry.js +2 -2
  62. package/dist/cjs/calcite-block-section.cjs.entry.js +5 -5
  63. package/dist/cjs/calcite-block_5.cjs.entry.js +54 -53
  64. package/dist/cjs/calcite-button.cjs.entry.js +9 -9
  65. package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
  66. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  67. package/dist/cjs/calcite-carousel-item.cjs.entry.js +1 -1
  68. package/dist/cjs/calcite-carousel.cjs.entry.js +7 -7
  69. package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
  70. package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
  71. package/dist/cjs/calcite-chip_2.cjs.entry.js +10 -10
  72. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
  73. package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
  74. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +2 -2
  75. package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
  76. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
  77. package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +6 -6
  78. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +8 -8
  79. package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
  80. package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
  81. package/dist/cjs/calcite-flow_6.cjs.entry.js +19 -24
  82. package/dist/cjs/calcite-icon.cjs.entry.js +2 -2
  83. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  84. package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
  85. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  86. package/dist/cjs/calcite-input-time-picker-686f45e7.js +1864 -0
  87. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +12 -12
  88. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
  89. package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
  90. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  91. package/dist/cjs/calcite-link.cjs.entry.js +4 -4
  92. package/dist/cjs/calcite-list-item-group.cjs.entry.js +3 -3
  93. package/dist/cjs/calcite-menu-item.cjs.entry.js +5 -5
  94. package/dist/cjs/calcite-menu.cjs.entry.js +5 -5
  95. package/dist/cjs/calcite-meter.cjs.entry.js +5 -5
  96. package/dist/cjs/calcite-modal.cjs.entry.js +7 -7
  97. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
  98. package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
  99. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  100. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  101. package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
  102. package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
  103. package/dist/cjs/calcite-panel_2.cjs.entry.js +9 -9
  104. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +4 -4
  105. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +8 -8
  106. package/dist/cjs/calcite-pick-list.cjs.entry.js +6 -6
  107. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  108. package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
  109. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  110. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +7 -7
  111. package/dist/cjs/calcite-sheet.cjs.entry.js +4 -4
  112. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +3 -3
  113. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +15 -15
  114. package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
  115. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  116. package/dist/cjs/calcite-stepper-item.cjs.entry.js +8 -8
  117. package/dist/cjs/calcite-stepper.cjs.entry.js +4 -4
  118. package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
  119. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
  120. package/dist/cjs/calcite-table-row.cjs.entry.js +3 -3
  121. package/dist/cjs/calcite-table.cjs.entry.js +6 -6
  122. package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
  123. package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
  124. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
  125. package/dist/cjs/calcite-tile-select.cjs.entry.js +4 -4
  126. package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
  127. package/dist/cjs/calcite-time-picker.cjs.entry.js +6 -6
  128. package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
  129. package/dist/cjs/calcite-tip-manager.cjs.entry.js +5 -5
  130. package/dist/cjs/calcite-tip.cjs.entry.js +6 -6
  131. package/dist/cjs/calcite-tooltip.cjs.entry.js +4 -4
  132. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  133. package/dist/cjs/card-manager_3.cjs.entry.js +6 -6
  134. package/dist/cjs/common-03600219.js +38 -0
  135. package/dist/cjs/conditionalSlot-349d1b3a.js +54 -0
  136. package/dist/cjs/consent-manager.cjs.entry.js +10 -1031
  137. package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
  138. package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
  139. package/dist/cjs/cs-b061b441.js +148 -0
  140. package/dist/cjs/da-e3c379ae.js +67 -0
  141. package/dist/cjs/date-874bf94e.js +261 -0
  142. package/dist/cjs/de-65d2876f.js +92 -0
  143. package/dist/cjs/de-at-16b7b50e.js +91 -0
  144. package/dist/cjs/de-ch-11dcd113.js +91 -0
  145. package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
  146. package/dist/cjs/downloadUtils-839a1425.js +3165 -0
  147. package/dist/cjs/el-321d43b5.js +67 -0
  148. package/dist/cjs/en-au-c48e6b73.js +67 -0
  149. package/dist/cjs/en-ca-9cc0e8f7.js +66 -0
  150. package/dist/cjs/en-gb-8ced841b.js +70 -0
  151. package/dist/cjs/es-aca5e6b4.js +67 -0
  152. package/dist/cjs/es-mx-b69f0ebb.js +66 -0
  153. package/dist/cjs/et-7e29340d.js +93 -0
  154. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  155. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  156. package/dist/cjs/feature-list.cjs.entry.js +7 -7
  157. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  158. package/dist/cjs/fi-f215f4d1.js +116 -0
  159. package/dist/cjs/floating-ui-beb70d3c.js +2295 -0
  160. package/dist/cjs/form-71a108a7.js +381 -0
  161. package/dist/cjs/fr-0daba4be.js +69 -0
  162. package/dist/cjs/fr-ch-76f752e9.js +67 -0
  163. package/dist/cjs/he-32860a76.js +106 -0
  164. package/dist/cjs/helpers-7cee3150.js +940 -0
  165. package/dist/cjs/hi-c5639f76.js +66 -0
  166. package/dist/cjs/hr-eb700fd5.js +81 -0
  167. package/dist/cjs/hu-e30e3d3a.js +89 -0
  168. package/dist/cjs/id-a3e96e5b.js +67 -0
  169. package/dist/cjs/index-97020c9d.js +201 -0
  170. package/dist/cjs/index-ff18be0d.js +1739 -0
  171. package/dist/cjs/index.es-dd4d4842.js +11317 -0
  172. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +8 -8
  173. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
  174. package/dist/cjs/instant-apps-create.cjs.entry.js +52 -50
  175. package/dist/cjs/instant-apps-export.cjs.entry.js +6 -6
  176. package/dist/cjs/instant-apps-header.cjs.entry.js +6 -6
  177. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +142 -141
  178. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +6 -6
  179. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +7 -7
  180. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +11 -11
  181. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +6 -6
  182. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
  183. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +12 -12
  184. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
  185. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
  186. package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
  187. package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
  188. package/dist/cjs/instant-apps-popovers.cjs.entry.js +2 -2
  189. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
  190. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +7 -7
  191. package/dist/cjs/instant-apps-splash.cjs.entry.js +11 -11
  192. package/dist/cjs/interactive-7e5c7df4.js +154 -0
  193. package/dist/cjs/it-acd3cf54.js +67 -0
  194. package/dist/cjs/it-ch-c78435e7.js +67 -0
  195. package/dist/cjs/ja-ede2132a.js +73 -0
  196. package/dist/cjs/ko-fcd96551.js +73 -0
  197. package/dist/cjs/languageSwitcher-1154d55d.js +60 -0
  198. package/dist/cjs/languageUtil-d23251cd.js +69 -0
  199. package/dist/cjs/layout-manager.cjs.entry.js +2 -2
  200. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  201. package/dist/cjs/loadModules-4189814e.js +23 -0
  202. package/dist/cjs/loadable-5d538ba2.js +94 -0
  203. package/dist/cjs/loader.cjs.js +2 -2
  204. package/dist/cjs/locale-62f4cef2.js +91 -0
  205. package/dist/cjs/locale-6973733d.js +161 -0
  206. package/dist/cjs/locale-d2a1066a.js +584 -0
  207. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  208. package/dist/cjs/lt-a30330ef.js +98 -0
  209. package/dist/cjs/lv-ac3b6560.js +67 -0
  210. package/dist/cjs/map-select-tools_3.cjs.entry.js +14 -12
  211. package/dist/cjs/mapViewUtils-78b14528.js +510 -0
  212. package/dist/cjs/mk-a3053dea.js +67 -0
  213. package/dist/cjs/mode-3478ba36.js +19 -0
  214. package/dist/cjs/nb-7ab0bac1.js +68 -0
  215. package/dist/cjs/nl-7fa437ef.js +68 -0
  216. package/dist/cjs/observers-2a59d471.js +55 -0
  217. package/dist/cjs/openCloseComponent-e752f2a5.js +92 -0
  218. package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
  219. package/dist/cjs/pciUtils-f1adcf64.js +847 -0
  220. package/dist/cjs/pl-ea95b104.js +115 -0
  221. package/dist/cjs/popupUtils-bae7f923.js +111 -0
  222. package/dist/cjs/pt-472083c2.js +68 -0
  223. package/dist/cjs/pt-br-5f18543e.js +66 -0
  224. package/dist/cjs/public-notification.cjs.entry.js +33 -20
  225. package/dist/cjs/publicNotificationStore-691f6f30.js +47 -0
  226. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  227. package/dist/cjs/restHelpersGet-afc74285.js +919 -0
  228. package/dist/cjs/ro-e8b3d65c.js +67 -0
  229. package/dist/cjs/ru-becefd01.js +127 -0
  230. package/dist/cjs/share-item.cjs.entry.js +1 -1
  231. package/dist/cjs/shared-list-render-6491aae1.js +365 -0
  232. package/dist/cjs/sk-2f5fd4e0.js +149 -0
  233. package/dist/cjs/sl-3ae17da6.js +169 -0
  234. package/dist/cjs/solution-configuration.cjs.entry.js +6 -6
  235. package/dist/cjs/solution-contents_3.cjs.entry.js +7 -7
  236. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  237. package/dist/cjs/solution-resource-ffe3c333.js +145 -0
  238. package/dist/cjs/solution-store-c8bada29.js +1344 -0
  239. package/dist/cjs/solutions-components.cjs.js +3 -3
  240. package/dist/cjs/spatial-ref.cjs.entry.js +4 -4
  241. package/dist/cjs/sr-7d6b8d1b.js +102 -0
  242. package/dist/cjs/store-manager.cjs.entry.js +1 -1
  243. package/dist/cjs/styles-ef2b1e04.js +13 -0
  244. package/dist/cjs/sv-9c51da5c.js +72 -0
  245. package/dist/cjs/t9n-ef615628.js +100 -0
  246. package/dist/cjs/th-fec0a074.js +66 -0
  247. package/dist/cjs/time-089ab043.js +289 -0
  248. package/dist/cjs/tr-8d7c18a1.js +67 -0
  249. package/dist/cjs/uk-46a61312.js +105 -0
  250. package/dist/cjs/utils-1de4eaa0.js +130 -0
  251. package/dist/cjs/utils-d237cb85.js +65 -0
  252. package/dist/cjs/vi-4114aa90.js +71 -0
  253. package/dist/cjs/zh-cn-30aca6fe.js +95 -0
  254. package/dist/cjs/zh-hk-5971eb67.js +72 -0
  255. package/dist/cjs/zh-tw-5fb5e7a9.js +93 -0
  256. package/dist/collection/collection-manifest.json +1 -1
  257. package/dist/collection/components/consent-manager/consent-manager.js +1 -0
  258. package/dist/collection/components/feature-details/feature-details.js +10 -15
  259. package/dist/collection/components/floor-filter/floor-filter.js +8 -0
  260. package/dist/collection/components/map-select-tools/map-select-tools.js +21 -3
  261. package/dist/collection/components/public-notification/public-notification.js +42 -12
  262. package/dist/collection/components/refine-selection/refine-selection.js +19 -1
  263. package/dist/collection/utils/mapViewUtils.js +2 -0
  264. package/dist/collection/utils/mapViewUtils.ts +2 -0
  265. package/dist/collection/utils/pciUtils.js +1 -1
  266. package/dist/collection/utils/pciUtils.ts +2 -2
  267. package/dist/components/breakpoints.js +5 -5
  268. package/dist/components/button.js +1 -1
  269. package/dist/components/calcite-accordion-item.js +1 -1
  270. package/dist/components/calcite-navigation-logo.js +1 -1
  271. package/dist/components/calcite-stepper-item.js +1 -1
  272. package/dist/components/combobox-item.js +1 -1
  273. package/dist/components/consent-manager.js +7 -1029
  274. package/dist/components/deduct-calculator2.js +1 -1
  275. package/dist/components/dropdown-item.js +1 -1
  276. package/dist/components/feature-details2.js +10 -15
  277. package/dist/components/floor-filter2.js +8 -0
  278. package/dist/components/helpers.js +723 -691
  279. package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
  280. package/dist/components/instant-apps-control-panel.js +1 -1
  281. package/dist/components/instant-apps-create.js +47 -45
  282. package/dist/components/instant-apps-export.js +1 -1
  283. package/dist/components/instant-apps-filter-list2.js +24 -24
  284. package/dist/components/instant-apps-header2.js +2 -2
  285. package/dist/components/instant-apps-interactive-legend-classic2.js +139 -138
  286. package/dist/components/instant-apps-interactive-legend-count2.js +1 -1
  287. package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +3 -3
  288. package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +2 -2
  289. package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +2 -2
  290. package/dist/components/instant-apps-interactive-legend-layer-element2.js +2 -2
  291. package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +1 -1
  292. package/dist/components/instant-apps-interactive-legend-legend-element2.js +2 -2
  293. package/dist/components/instant-apps-interactive-legend-relationship2.js +2 -2
  294. package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
  295. package/dist/components/instant-apps-landing-page.js +10 -10
  296. package/dist/components/instant-apps-language-switcher.js +1 -1
  297. package/dist/components/instant-apps-language-translator-search2.js +1 -1
  298. package/dist/components/instant-apps-language-translator2.js +44 -44
  299. package/dist/components/instant-apps-measurement-tool2.js +2 -2
  300. package/dist/components/instant-apps-measurement.js +1 -1
  301. package/dist/components/instant-apps-popover.js +1 -1
  302. package/dist/components/instant-apps-popovers.js +1 -1
  303. package/dist/components/instant-apps-scoreboard.js +1 -1
  304. package/dist/components/instant-apps-sign-in2.js +3 -3
  305. package/dist/components/instant-apps-social-share2.js +12 -11
  306. package/dist/components/instant-apps-splash.js +7 -7
  307. package/dist/components/languageUtil.js +43 -43
  308. package/dist/components/loadModules2.js +3 -3
  309. package/dist/components/locale3.js +58 -58
  310. package/dist/components/map-select-tools2.js +5 -3
  311. package/dist/components/mapViewUtils.js +2 -0
  312. package/dist/components/mode.js +6 -6
  313. package/dist/components/public-notification.js +26 -12
  314. package/dist/components/refine-selection2.js +3 -1
  315. package/dist/components/restHelpersGet.js +329 -382
  316. package/dist/components/solution-resource.js +107 -107
  317. package/dist/components/solution-store.js +482 -482
  318. package/dist/components/store.js +66 -66
  319. package/dist/components/styles.js +1 -1
  320. package/dist/components/tab-title.js +1 -1
  321. package/dist/components/tree-item.js +1 -1
  322. package/dist/components/utils4.js +80 -80
  323. package/dist/esm/ExpandToggle-12c73c9f.js +110 -0
  324. package/dist/esm/FloatingArrow-5585c8f7.js +48 -0
  325. package/dist/esm/Heading-63031c74.js +22 -0
  326. package/dist/esm/Validation-6712b322.js +18 -0
  327. package/dist/esm/ar-19d4f5c7.js +103 -0
  328. package/dist/esm/arcgis-login.entry.js +1 -1
  329. package/dist/esm/basemap-gallery_7.entry.js +11 -3
  330. package/dist/esm/bg-63235b1a.js +81 -0
  331. package/dist/esm/breakpoints-3afa0fd9.js +15 -0
  332. package/dist/esm/browser-e76c94f7.js +23 -0
  333. package/dist/esm/bs-a1b74ac8.js +50 -0
  334. package/dist/esm/buffer-tools_3.entry.js +5 -5
  335. package/dist/esm/ca-b29c38ed.js +70 -0
  336. package/dist/esm/calcite-accordion-item.entry.js +4 -4
  337. package/dist/esm/calcite-accordion.entry.js +2 -2
  338. package/dist/esm/calcite-action-bar.entry.js +7 -7
  339. package/dist/esm/calcite-action-group.entry.js +6 -6
  340. package/dist/esm/calcite-action-menu_3.entry.js +9 -9
  341. package/dist/esm/calcite-action-pad_2.entry.js +11 -11
  342. package/dist/esm/calcite-action_2.entry.js +7 -7
  343. package/dist/esm/calcite-alert_4.entry.js +13 -13
  344. package/dist/esm/calcite-avatar_2.entry.js +2 -2
  345. package/dist/esm/calcite-block-section.entry.js +5 -5
  346. package/dist/esm/calcite-block_5.entry.js +55 -54
  347. package/dist/esm/calcite-button.entry.js +9 -9
  348. package/dist/esm/calcite-card-group.entry.js +4 -4
  349. package/dist/esm/calcite-card.entry.js +7 -7
  350. package/dist/esm/calcite-carousel-item.entry.js +1 -1
  351. package/dist/esm/calcite-carousel.entry.js +7 -7
  352. package/dist/esm/calcite-checkbox.entry.js +5 -5
  353. package/dist/esm/calcite-chip-group.entry.js +4 -4
  354. package/dist/esm/calcite-chip_2.entry.js +10 -10
  355. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
  356. package/dist/esm/calcite-color-picker.entry.js +7 -7
  357. package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
  358. package/dist/esm/calcite-combobox_3.entry.js +12 -12
  359. package/dist/esm/calcite-date-picker-day_3.entry.js +8 -8
  360. package/dist/esm/calcite-dropdown-group_2.entry.js +7 -7
  361. package/dist/esm/calcite-dropdown_2.entry.js +8 -8
  362. package/dist/esm/calcite-fab.entry.js +4 -4
  363. package/dist/esm/calcite-filter_5.entry.js +7 -7
  364. package/dist/esm/calcite-flow_6.entry.js +20 -25
  365. package/dist/esm/calcite-icon.entry.js +2 -2
  366. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  367. package/dist/esm/calcite-input-number.entry.js +9 -9
  368. package/dist/esm/calcite-input-text.entry.js +9 -9
  369. package/dist/esm/calcite-input-time-picker-7d1c6e48.js +1861 -0
  370. package/dist/esm/calcite-input-time-picker.entry.js +12 -12
  371. package/dist/esm/calcite-input-time-zone.entry.js +8 -8
  372. package/dist/esm/calcite-input_2.entry.js +9 -9
  373. package/dist/esm/calcite-label.entry.js +1 -1
  374. package/dist/esm/calcite-link.entry.js +4 -4
  375. package/dist/esm/calcite-list-item-group.entry.js +3 -3
  376. package/dist/esm/calcite-menu-item.entry.js +5 -5
  377. package/dist/esm/calcite-menu.entry.js +5 -5
  378. package/dist/esm/calcite-meter.entry.js +5 -5
  379. package/dist/esm/calcite-modal.entry.js +7 -7
  380. package/dist/esm/calcite-navigation-logo.entry.js +4 -4
  381. package/dist/esm/calcite-navigation.entry.js +2 -2
  382. package/dist/esm/calcite-notice.entry.js +7 -7
  383. package/dist/esm/calcite-option-group.entry.js +1 -1
  384. package/dist/esm/calcite-option_2.entry.js +7 -7
  385. package/dist/esm/calcite-pagination.entry.js +5 -5
  386. package/dist/esm/calcite-panel_2.entry.js +9 -9
  387. package/dist/esm/calcite-pick-list-group.entry.js +4 -4
  388. package/dist/esm/calcite-pick-list-item.entry.js +8 -8
  389. package/dist/esm/calcite-pick-list.entry.js +6 -6
  390. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  391. package/dist/esm/calcite-radio-button.entry.js +5 -5
  392. package/dist/esm/calcite-rating.entry.js +8 -8
  393. package/dist/esm/calcite-segmented-control_2.entry.js +7 -7
  394. package/dist/esm/calcite-sheet.entry.js +4 -4
  395. package/dist/esm/calcite-shell-center-row.entry.js +3 -3
  396. package/dist/esm/calcite-shell-panel_14.entry.js +16 -16
  397. package/dist/esm/calcite-sortable-list.entry.js +4 -4
  398. package/dist/esm/calcite-split-button.entry.js +4 -4
  399. package/dist/esm/calcite-stepper-item.entry.js +8 -8
  400. package/dist/esm/calcite-stepper.entry.js +4 -4
  401. package/dist/esm/calcite-switch.entry.js +5 -5
  402. package/dist/esm/calcite-table-cell_2.entry.js +7 -7
  403. package/dist/esm/calcite-table-row.entry.js +3 -3
  404. package/dist/esm/calcite-table.entry.js +6 -6
  405. package/dist/esm/calcite-text-area.entry.js +9 -9
  406. package/dist/esm/calcite-tile-group.entry.js +4 -4
  407. package/dist/esm/calcite-tile-select-group.entry.js +3 -3
  408. package/dist/esm/calcite-tile-select.entry.js +4 -4
  409. package/dist/esm/calcite-tile.entry.js +4 -4
  410. package/dist/esm/calcite-time-picker.entry.js +6 -6
  411. package/dist/esm/calcite-tip-group.entry.js +1 -1
  412. package/dist/esm/calcite-tip-manager.entry.js +5 -5
  413. package/dist/esm/calcite-tip.entry.js +6 -6
  414. package/dist/esm/calcite-tooltip.entry.js +4 -4
  415. package/dist/esm/calcite-tree_2.entry.js +6 -6
  416. package/dist/esm/card-manager_3.entry.js +7 -7
  417. package/dist/esm/common-8697fccd.js +36 -0
  418. package/dist/esm/conditionalSlot-56bdb202.js +51 -0
  419. package/dist/esm/consent-manager.entry.js +10 -1031
  420. package/dist/esm/crowdsource-manager.entry.js +4 -4
  421. package/dist/esm/crowdsource-reporter.entry.js +4 -4
  422. package/dist/esm/cs-da7231d6.js +146 -0
  423. package/dist/esm/da-7e105037.js +65 -0
  424. package/dist/esm/date-93ae46b9.js +245 -0
  425. package/dist/esm/de-at-1d9434bb.js +89 -0
  426. package/dist/esm/de-b5646b5d.js +90 -0
  427. package/dist/esm/de-ch-7beada93.js +89 -0
  428. package/dist/esm/deduct-calculator.entry.js +2 -2
  429. package/dist/esm/downloadUtils-97acca92.js +3158 -0
  430. package/dist/esm/el-0f4bf89b.js +65 -0
  431. package/dist/esm/en-au-5c144cef.js +65 -0
  432. package/dist/esm/en-ca-1160089a.js +64 -0
  433. package/dist/esm/en-gb-ae98fc58.js +68 -0
  434. package/dist/esm/es-88e1743a.js +65 -0
  435. package/dist/esm/es-mx-020dfaaa.js +64 -0
  436. package/dist/esm/esri-loader-3080dcc0.js +311 -0
  437. package/dist/esm/et-84f63ef8.js +91 -0
  438. package/dist/esm/feature-comments.entry.js +1 -1
  439. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  440. package/dist/esm/feature-list.entry.js +8 -8
  441. package/dist/esm/features-flow-item.entry.js +1 -1
  442. package/dist/esm/fi-1016ee6e.js +114 -0
  443. package/dist/esm/floating-ui-f086572c.js +2287 -0
  444. package/dist/esm/form-8fd73cbd.js +372 -0
  445. package/dist/esm/fr-0e7ffd73.js +67 -0
  446. package/dist/esm/fr-ch-e18bae2c.js +65 -0
  447. package/dist/esm/he-0cebe004.js +104 -0
  448. package/dist/esm/helpers-7c88b974.js +913 -0
  449. package/dist/esm/hi-cded031d.js +64 -0
  450. package/dist/esm/hr-5643b2ab.js +79 -0
  451. package/dist/esm/html2canvas-fd387d87.js +7845 -0
  452. package/dist/esm/hu-6d605858.js +87 -0
  453. package/dist/esm/id-7d804c46.js +65 -0
  454. package/dist/esm/index-83b693bc.js +1705 -0
  455. package/dist/esm/index-d97f4f15.js +199 -0
  456. package/dist/esm/index.es-ee5497bc.js +11230 -0
  457. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +9 -9
  458. package/dist/esm/instant-apps-control-panel.entry.js +4 -4
  459. package/dist/esm/instant-apps-create.entry.js +53 -51
  460. package/dist/esm/instant-apps-export.entry.js +7 -7
  461. package/dist/esm/instant-apps-header.entry.js +7 -7
  462. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +143 -142
  463. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +7 -7
  464. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +8 -8
  465. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +12 -12
  466. package/dist/esm/instant-apps-interactive-legend.entry.js +7 -7
  467. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +6 -6
  468. package/dist/esm/instant-apps-landing-page.entry.js +12 -12
  469. package/dist/esm/instant-apps-language-switcher.entry.js +9 -9
  470. package/dist/esm/instant-apps-language-translator.entry.js +9 -9
  471. package/dist/esm/instant-apps-measurement.entry.js +6 -6
  472. package/dist/esm/instant-apps-popover.entry.js +6 -6
  473. package/dist/esm/instant-apps-popovers.entry.js +2 -2
  474. package/dist/esm/instant-apps-scoreboard.entry.js +7 -7
  475. package/dist/esm/instant-apps-sign-in.entry.js +8 -8
  476. package/dist/esm/instant-apps-splash.entry.js +12 -12
  477. package/dist/esm/interactive-3b9600a6.js +149 -0
  478. package/dist/esm/it-849be361.js +65 -0
  479. package/dist/esm/it-ch-453fa26d.js +65 -0
  480. package/dist/esm/ja-edff1441.js +71 -0
  481. package/dist/esm/ko-dc103450.js +71 -0
  482. package/dist/esm/languageSwitcher-0f693a04.js +57 -0
  483. package/dist/esm/languageUtil-de206286.js +66 -0
  484. package/dist/esm/layout-manager.entry.js +3 -3
  485. package/dist/esm/list-flow-item.entry.js +1 -1
  486. package/dist/esm/loadModules-43119ac8.js +21 -0
  487. package/dist/esm/loadable-b765a6f6.js +89 -0
  488. package/dist/esm/loader.js +3 -3
  489. package/dist/esm/locale-42369411.js +156 -0
  490. package/dist/esm/locale-70630b7c.js +86 -0
  491. package/dist/esm/locale-a4cbae12.js +571 -0
  492. package/dist/esm/location-flow-item.entry.js +1 -1
  493. package/dist/esm/lt-270cc811.js +96 -0
  494. package/dist/esm/lv-c877043c.js +65 -0
  495. package/dist/esm/map-select-tools_3.entry.js +15 -13
  496. package/dist/esm/mapViewUtils-e3de60cc.js +492 -0
  497. package/dist/esm/mk-a816a702.js +65 -0
  498. package/dist/esm/mode-8c5f5dc9.js +17 -0
  499. package/dist/esm/nb-e9c09b70.js +66 -0
  500. package/dist/esm/nl-56e70f3b.js +66 -0
  501. package/dist/esm/observers-fcb1c07b.js +53 -0
  502. package/dist/esm/openCloseComponent-bbe76c58.js +90 -0
  503. package/dist/esm/pci-calculator.entry.js +2 -2
  504. package/dist/esm/pciUtils-986ddad9.js +844 -0
  505. package/dist/esm/pl-687b559a.js +113 -0
  506. package/dist/esm/popupUtils-98ad70f3.js +109 -0
  507. package/dist/esm/pt-8b05fed2.js +66 -0
  508. package/dist/esm/pt-br-85bdf812.js +64 -0
  509. package/dist/esm/public-notification.entry.js +34 -21
  510. package/dist/esm/publicNotificationStore-08faccff.js +45 -0
  511. package/dist/esm/purify-caded4cd.js +1714 -0
  512. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  513. package/dist/esm/restHelpersGet-dab84057.js +906 -0
  514. package/dist/esm/ro-0975d6bb.js +65 -0
  515. package/dist/esm/ru-24b83704.js +125 -0
  516. package/dist/esm/share-item.entry.js +1 -1
  517. package/dist/esm/shared-list-render-07a20fc5.js +343 -0
  518. package/dist/esm/sk-8179af4d.js +147 -0
  519. package/dist/esm/sl-e6922692.js +167 -0
  520. package/dist/esm/solution-configuration.entry.js +7 -7
  521. package/dist/esm/solution-contents_3.entry.js +8 -8
  522. package/dist/esm/solution-item-icon.entry.js +1 -1
  523. package/dist/esm/solution-resource-a2fff3bf.js +142 -0
  524. package/dist/esm/solution-store-30a19a45.js +1342 -0
  525. package/dist/esm/solutions-components.js +4 -4
  526. package/dist/esm/spatial-ref.entry.js +5 -5
  527. package/dist/esm/sr-1d30e69e.js +100 -0
  528. package/dist/esm/store-manager.entry.js +1 -1
  529. package/dist/esm/styles-b3492d9f.js +11 -0
  530. package/dist/esm/sv-ea3c4b80.js +70 -0
  531. package/dist/esm/t9n-dd2a98fc.js +95 -0
  532. package/dist/esm/th-0f1b35bc.js +64 -0
  533. package/dist/esm/time-bc97792f.js +274 -0
  534. package/dist/esm/tr-eb4e860e.js +65 -0
  535. package/dist/esm/uk-f3ebd952.js +103 -0
  536. package/dist/esm/utils-9bb48951.js +121 -0
  537. package/dist/esm/utils-bf012a3f.js +54 -0
  538. package/dist/esm/vi-872e449d.js +69 -0
  539. package/dist/esm/zh-cn-8c5a3222.js +93 -0
  540. package/dist/esm/zh-hk-247683c2.js +70 -0
  541. package/dist/esm/zh-tw-76a429e9.js +91 -0
  542. package/dist/loader/cdn.js +1 -2
  543. package/dist/loader/index.cjs.js +1 -2
  544. package/dist/loader/index.es2017.js +1 -2
  545. package/dist/loader/index.js +1 -2
  546. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +1 -2
  547. package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +2 -4
  548. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +2 -4
  549. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +4 -8
  550. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +1 -2
  551. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +1 -2
  552. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +1 -2
  553. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +1 -4
  554. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +5 -0
  555. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +1 -6
  556. package/dist/solutions-components/p-01ba6099.js +6 -0
  557. package/dist/solutions-components/p-03178c37.js +6 -0
  558. package/dist/solutions-components/p-046acd6b.entry.js +6 -0
  559. package/dist/solutions-components/p-0a053ed7.js +6 -0
  560. package/dist/solutions-components/p-0ab0b1ad.entry.js +11 -0
  561. package/dist/solutions-components/p-0e8ad7d1.entry.js +11 -0
  562. package/dist/solutions-components/p-11094d76.entry.js +29 -0
  563. package/dist/solutions-components/p-11b4cd1a.entry.js +6 -0
  564. package/dist/solutions-components/p-123fcb43.entry.js +6 -0
  565. package/dist/solutions-components/p-12b84e3b.entry.js +36 -0
  566. package/dist/solutions-components/p-132b1138.entry.js +21 -0
  567. package/dist/solutions-components/p-13b513ed.entry.js +11 -0
  568. package/dist/solutions-components/p-15e08453.js +6 -0
  569. package/dist/solutions-components/p-17feaae0.entry.js +17 -0
  570. package/dist/solutions-components/p-1983d6e8.js +6 -0
  571. package/dist/solutions-components/p-1a8f7075.entry.js +6 -0
  572. package/dist/solutions-components/p-1b4149b8.entry.js +11 -0
  573. package/dist/solutions-components/p-1cc7fcd0.entry.js +11 -0
  574. package/dist/solutions-components/p-1ceaab98.entry.js +11 -0
  575. package/dist/solutions-components/p-1d369231.js +21 -0
  576. package/dist/solutions-components/p-1fd9cd5f.entry.js +6 -0
  577. package/dist/solutions-components/p-20a567b0.entry.js +6 -0
  578. package/dist/solutions-components/p-21965dcd.entry.js +11 -0
  579. package/dist/solutions-components/p-2305749d.entry.js +17 -0
  580. package/dist/solutions-components/p-24634430.entry.js +11 -0
  581. package/dist/solutions-components/p-2599399f.entry.js +6 -0
  582. package/dist/solutions-components/p-27c68097.js +11 -0
  583. package/dist/solutions-components/p-27e4dc8a.entry.js +11 -0
  584. package/dist/solutions-components/p-28fd26ed.js +6 -0
  585. package/dist/solutions-components/p-293d376c.js +6 -0
  586. package/dist/solutions-components/p-29c60f3d.entry.js +11 -0
  587. package/dist/solutions-components/p-2a2e4578.entry.js +6 -0
  588. package/dist/solutions-components/p-2a7111ad.entry.js +6 -0
  589. package/dist/solutions-components/p-2a990146.entry.js +6 -0
  590. package/dist/solutions-components/p-2b4e50ed.js +6 -0
  591. package/dist/solutions-components/p-2d99bd61.js +6 -0
  592. package/dist/solutions-components/p-2e401f51.js +6 -0
  593. package/dist/solutions-components/p-2e64dc3b.entry.js +6 -0
  594. package/dist/solutions-components/p-3102119d.entry.js +11 -0
  595. package/dist/solutions-components/p-3137377f.entry.js +11 -0
  596. package/dist/solutions-components/p-34722455.entry.js +6 -0
  597. package/dist/solutions-components/p-36f5dee9.entry.js +6 -0
  598. package/dist/solutions-components/p-37e2754a.js +6 -0
  599. package/dist/solutions-components/p-398ff315.js +11 -0
  600. package/dist/solutions-components/p-3a50fe57.entry.js +17 -0
  601. package/dist/solutions-components/p-3ac77bd5.entry.js +11 -0
  602. package/dist/solutions-components/p-3acc8a71.entry.js +6 -0
  603. package/dist/solutions-components/p-3b1f45b4.entry.js +12 -0
  604. package/dist/solutions-components/p-3b931fc5.entry.js +6 -0
  605. package/dist/solutions-components/p-3eb49703.js +489 -0
  606. package/dist/solutions-components/p-42ea2581.js +6 -0
  607. package/dist/solutions-components/p-44043ef6.entry.js +11 -0
  608. package/dist/solutions-components/p-44bfa87d.js +11 -0
  609. package/dist/solutions-components/p-45db29e2.js +6 -0
  610. package/dist/solutions-components/p-465fbfc2.js +6 -0
  611. package/dist/solutions-components/p-4691b6ad.entry.js +11 -0
  612. package/dist/solutions-components/p-49250010.js +6 -0
  613. package/dist/solutions-components/p-4b80b699.entry.js +6 -0
  614. package/dist/solutions-components/p-4b85c3dc.js +6 -0
  615. package/dist/solutions-components/p-4e92c1ba.entry.js +17 -0
  616. package/dist/solutions-components/p-4fbd1a02.js +6 -0
  617. package/dist/solutions-components/p-50aa0e5a.js +6 -0
  618. package/dist/solutions-components/p-52bcd209.entry.js +6 -0
  619. package/dist/solutions-components/p-52bdaec9.entry.js +6 -0
  620. package/dist/solutions-components/p-5443995c.entry.js +11 -0
  621. package/dist/solutions-components/p-55730588.js +6 -0
  622. package/dist/solutions-components/p-57961ae0.entry.js +6 -0
  623. package/dist/solutions-components/p-57a03a95.js +17 -0
  624. package/dist/solutions-components/p-59f016a1.js +61 -0
  625. package/dist/solutions-components/p-5b2d9899.entry.js +6 -0
  626. package/dist/solutions-components/p-5bd6a732.entry.js +6 -0
  627. package/dist/solutions-components/p-5db64297.entry.js +11 -0
  628. package/dist/solutions-components/p-5eb6219c.js +11 -0
  629. package/dist/solutions-components/p-5ed5626f.entry.js +6 -0
  630. package/dist/solutions-components/p-5ed825c4.js +6 -0
  631. package/dist/solutions-components/p-5f1fdaf9.js +11 -0
  632. package/dist/solutions-components/p-5fb4ddc2.entry.js +6 -0
  633. package/dist/solutions-components/p-61dcdc62.js +6 -0
  634. package/dist/solutions-components/p-622f33ee.entry.js +6 -0
  635. package/dist/solutions-components/p-64ee17c6.entry.js +6 -0
  636. package/dist/solutions-components/p-652140aa.entry.js +6 -0
  637. package/dist/solutions-components/p-6809e050.entry.js +11 -0
  638. package/dist/solutions-components/p-69cfc738.entry.js +6 -0
  639. package/dist/solutions-components/p-69db1e2c.js +6 -0
  640. package/dist/solutions-components/p-6acf6c8f.js +7 -0
  641. package/dist/solutions-components/p-6bf91f6e.js +6 -0
  642. package/dist/solutions-components/p-6c7e34c1.entry.js +47 -0
  643. package/dist/solutions-components/p-6d0404a6.entry.js +6 -0
  644. package/dist/solutions-components/p-6d51c6bf.js +6 -0
  645. package/dist/solutions-components/p-6df9b158.entry.js +11 -0
  646. package/dist/solutions-components/p-716a0878.js +11 -0
  647. package/dist/solutions-components/p-71c212e6.entry.js +12 -0
  648. package/dist/solutions-components/p-71ed8170.entry.js +11 -0
  649. package/dist/solutions-components/p-727b8bf8.entry.js +11 -0
  650. package/dist/solutions-components/p-7388563d.js +6 -0
  651. package/dist/solutions-components/p-747d4b59.js +21 -0
  652. package/dist/solutions-components/p-74dbad36.js +6 -0
  653. package/dist/solutions-components/p-7638ce3d.js +6 -0
  654. package/dist/solutions-components/p-76f51550.entry.js +11 -0
  655. package/dist/solutions-components/p-7773d8ea.js +6 -0
  656. package/dist/solutions-components/p-7822e93b.js +16 -0
  657. package/dist/solutions-components/p-789eb1c2.entry.js +6 -0
  658. package/dist/solutions-components/p-7996f123.js +50 -0
  659. package/dist/solutions-components/p-79c7ff2b.entry.js +24 -0
  660. package/dist/solutions-components/p-7a2f1801.entry.js +6 -0
  661. package/dist/solutions-components/p-7a646a97.js +6 -0
  662. package/dist/solutions-components/p-7afca6b4.js +26 -0
  663. package/dist/solutions-components/p-7dcf6b16.entry.js +6 -0
  664. package/dist/solutions-components/p-7efcfb47.js +6 -0
  665. package/dist/solutions-components/p-7f4bc6d2.entry.js +6 -0
  666. package/dist/solutions-components/p-7fe77355.js +6 -0
  667. package/dist/solutions-components/p-7fea6d8a.js +6 -0
  668. package/dist/solutions-components/p-8008449b.entry.js +16 -0
  669. package/dist/solutions-components/p-813d004f.js +16 -0
  670. package/dist/solutions-components/p-8241b179.entry.js +17 -0
  671. package/dist/solutions-components/p-8413a2ae.entry.js +6 -0
  672. package/dist/solutions-components/p-853d952d.entry.js +6 -0
  673. package/dist/solutions-components/p-89f6ff72.js +6 -0
  674. package/dist/solutions-components/p-8a4f9e8d.entry.js +11 -0
  675. package/dist/solutions-components/p-8babc507.entry.js +6 -0
  676. package/dist/solutions-components/p-8c6d9b5a.js +6 -0
  677. package/dist/solutions-components/p-8dcc5305.entry.js +12 -0
  678. package/dist/solutions-components/p-8ed6ce4d.js +11 -0
  679. package/dist/solutions-components/p-9088fa3a.js +6 -0
  680. package/dist/solutions-components/p-90e3ce7f.js +6 -0
  681. package/dist/solutions-components/p-9271710d.js +6 -0
  682. package/dist/solutions-components/p-9377260c.js +6 -0
  683. package/dist/solutions-components/p-941e55f0.entry.js +6 -0
  684. package/dist/solutions-components/p-946ee345.js +145 -0
  685. package/dist/solutions-components/p-97421bb9.js +6 -0
  686. package/dist/solutions-components/p-9808250d.entry.js +6 -0
  687. package/dist/solutions-components/p-9a7e00b8.js +6 -0
  688. package/dist/solutions-components/p-9b38e6a0.entry.js +6 -0
  689. package/dist/solutions-components/p-9c1fbf73.entry.js +6 -0
  690. package/dist/solutions-components/p-9c6c056a.js +12 -0
  691. package/dist/solutions-components/p-9d82f0e3.entry.js +6 -0
  692. package/dist/solutions-components/p-9dd1049f.entry.js +11 -0
  693. package/dist/solutions-components/p-9e77f5c7.js +11 -0
  694. package/dist/solutions-components/p-9fa1855f.entry.js +6 -0
  695. package/dist/solutions-components/p-a146dcbe.entry.js +6 -0
  696. package/dist/solutions-components/p-a204dcff.entry.js +11 -0
  697. package/dist/solutions-components/p-a2390bee.entry.js +6 -0
  698. package/dist/solutions-components/p-a805c11f.entry.js +6 -0
  699. package/dist/solutions-components/p-a89e61f4.js +11 -0
  700. package/dist/solutions-components/p-aa967a48.entry.js +6 -0
  701. package/dist/solutions-components/p-ab8039f5.js +6 -0
  702. package/dist/solutions-components/p-acef743f.entry.js +11 -0
  703. package/dist/solutions-components/p-ada34f83.js +6 -0
  704. package/dist/solutions-components/p-af1c9389.entry.js +6 -0
  705. package/dist/solutions-components/p-afd2b67b.entry.js +23 -0
  706. package/dist/solutions-components/p-b1a4c444.entry.js +6 -0
  707. package/dist/solutions-components/p-b1abf15c.entry.js +29 -0
  708. package/dist/solutions-components/p-b25e8339.js +6 -0
  709. package/dist/solutions-components/p-b2ba3c28.entry.js +11 -0
  710. package/dist/solutions-components/p-b2f11718.entry.js +11 -0
  711. package/dist/solutions-components/p-b4230022.entry.js +11 -0
  712. package/dist/solutions-components/p-b442aa02.entry.js +17 -0
  713. package/dist/solutions-components/p-b592fbc6.entry.js +11 -0
  714. package/dist/solutions-components/p-b5c88983.js +6 -0
  715. package/dist/solutions-components/p-b64cc55e.js +11 -0
  716. package/dist/solutions-components/p-b77b6c26.js +6 -0
  717. package/dist/solutions-components/p-b7d060b0.entry.js +6 -0
  718. package/dist/solutions-components/p-b8d4452e.entry.js +11 -0
  719. package/dist/solutions-components/p-ba569f8b.js +11 -0
  720. package/dist/solutions-components/p-bac8a4cd.js +6 -0
  721. package/dist/solutions-components/p-bd459df3.entry.js +11 -0
  722. package/dist/solutions-components/p-bf27cd5f.js +6 -0
  723. package/dist/solutions-components/p-c27bb7cf.entry.js +11 -0
  724. package/dist/solutions-components/p-c32d79e2.entry.js +22 -0
  725. package/dist/solutions-components/p-c4160bf7.js +6 -0
  726. package/dist/solutions-components/p-c4ddb206.js +21 -0
  727. package/dist/solutions-components/p-c554abce.entry.js +11 -0
  728. package/dist/solutions-components/p-c63a8225.entry.js +6 -0
  729. package/dist/solutions-components/p-c8935707.entry.js +11 -0
  730. package/dist/solutions-components/p-c96bde1d.js +6 -0
  731. package/dist/solutions-components/p-c9b22653.js +36 -0
  732. package/dist/solutions-components/p-cb6165e9.entry.js +16 -0
  733. package/dist/solutions-components/p-cc07069d.entry.js +11 -0
  734. package/dist/solutions-components/p-cc388a08.js +11 -0
  735. package/dist/solutions-components/p-cc9fdd5f.entry.js +6 -0
  736. package/dist/solutions-components/p-cf0eeb0a.entry.js +6 -0
  737. package/dist/solutions-components/p-d029b513.js +6 -0
  738. package/dist/solutions-components/p-d11d941c.js +6 -0
  739. package/dist/solutions-components/p-d27ab863.js +37 -0
  740. package/dist/solutions-components/p-d31a139f.entry.js +11 -0
  741. package/dist/solutions-components/p-d36fb1b5.entry.js +6 -0
  742. package/dist/solutions-components/p-d6f3fc2c.entry.js +11 -0
  743. package/dist/solutions-components/p-d9e190a4.entry.js +6 -0
  744. package/dist/solutions-components/p-da75df88.entry.js +6 -0
  745. package/dist/solutions-components/p-de279d51.entry.js +6 -0
  746. package/dist/solutions-components/p-de4cf79a.entry.js +11 -0
  747. package/dist/solutions-components/p-df0a1d4b.js +11 -0
  748. package/dist/solutions-components/p-dff78ae3.entry.js +11 -0
  749. package/dist/solutions-components/p-e0277e0b.entry.js +6 -0
  750. package/dist/solutions-components/p-e11a4728.entry.js +6 -0
  751. package/dist/solutions-components/p-e528c321.js +6 -0
  752. package/dist/solutions-components/p-e6c9e6af.js +11 -0
  753. package/dist/solutions-components/p-e6e4071e.entry.js +17 -0
  754. package/dist/solutions-components/p-e7ed87eb.entry.js +11 -0
  755. package/dist/solutions-components/p-e89c05d6.entry.js +6 -0
  756. package/dist/solutions-components/p-ec0c2611.entry.js +11 -0
  757. package/dist/solutions-components/p-ee309d0b.js +6 -0
  758. package/dist/solutions-components/p-ee7f7c24.js +6 -0
  759. package/dist/solutions-components/p-ef54f211.js +6 -0
  760. package/dist/solutions-components/p-ef930f76.entry.js +11 -0
  761. package/dist/solutions-components/p-f163a137.js +6 -0
  762. package/dist/solutions-components/p-f1ae51dc.js +21 -0
  763. package/dist/solutions-components/p-f480b275.js +6 -0
  764. package/dist/solutions-components/p-f539a342.entry.js +11 -0
  765. package/dist/solutions-components/p-f8c45269.entry.js +6 -0
  766. package/dist/solutions-components/p-fa1ceaf9.js +7 -0
  767. package/dist/solutions-components/p-fb7b9bd3.entry.js +6 -0
  768. package/dist/solutions-components/p-fc9a49db.js +6 -0
  769. package/dist/solutions-components/solutions-components.esm.js +1 -1
  770. package/dist/solutions-components/utils/mapViewUtils.ts +2 -0
  771. package/dist/solutions-components/utils/pciUtils.ts +2 -2
  772. package/dist/types/components/floor-filter/floor-filter.d.ts +4 -0
  773. package/dist/types/components/map-select-tools/map-select-tools.d.ts +4 -0
  774. package/dist/types/components/public-notification/public-notification.d.ts +4 -0
  775. package/dist/types/components/refine-selection/refine-selection.d.ts +4 -0
  776. package/dist/types/components.d.ts +24 -0
  777. package/dist/types/stencil-public-runtime.d.ts +3 -8
  778. package/package.json +41 -40
  779. package/dist/cjs/ExpandToggle-249fdc45.js +0 -118
  780. package/dist/cjs/FloatingArrow-28abf7c7.js +0 -50
  781. package/dist/cjs/Heading-1f831135.js +0 -25
  782. package/dist/cjs/Validation-eb9afded.js +0 -20
  783. package/dist/cjs/ar-1013e0a6.js +0 -105
  784. package/dist/cjs/bg-7013971e.js +0 -83
  785. package/dist/cjs/breakpoints-fcd0f2a0.js +0 -17
  786. package/dist/cjs/browser-a96d0614.js +0 -25
  787. package/dist/cjs/bs-97bd61eb.js +0 -52
  788. package/dist/cjs/ca-2a76034c.js +0 -72
  789. package/dist/cjs/calcite-input-time-picker-ebdc5205.js +0 -1864
  790. package/dist/cjs/common-6d2c14c6.js +0 -38
  791. package/dist/cjs/conditionalSlot-93779916.js +0 -54
  792. package/dist/cjs/cs-b189af7b.js +0 -148
  793. package/dist/cjs/da-ebb3b688.js +0 -67
  794. package/dist/cjs/date-456675b2.js +0 -261
  795. package/dist/cjs/de-01ac3f09.js +0 -92
  796. package/dist/cjs/de-at-1437180c.js +0 -91
  797. package/dist/cjs/de-ch-b9a068a3.js +0 -91
  798. package/dist/cjs/downloadUtils-83bf79ba.js +0 -3165
  799. package/dist/cjs/el-7ce5c99d.js +0 -67
  800. package/dist/cjs/en-au-c3ca3a9f.js +0 -67
  801. package/dist/cjs/en-ca-34007cde.js +0 -66
  802. package/dist/cjs/en-gb-2db136a2.js +0 -70
  803. package/dist/cjs/es-f00ce3f0.js +0 -67
  804. package/dist/cjs/es-mx-503b9e1a.js +0 -66
  805. package/dist/cjs/et-556f49fd.js +0 -93
  806. package/dist/cjs/fi-47ef7686.js +0 -116
  807. package/dist/cjs/floating-ui-06d961ad.js +0 -2295
  808. package/dist/cjs/form-a27f759c.js +0 -381
  809. package/dist/cjs/fr-5ba5763a.js +0 -69
  810. package/dist/cjs/fr-ch-9b02cb30.js +0 -67
  811. package/dist/cjs/he-07cce409.js +0 -106
  812. package/dist/cjs/helpers-618a3f7d.js +0 -907
  813. package/dist/cjs/hi-7b691fb6.js +0 -66
  814. package/dist/cjs/hr-ebd3ae66.js +0 -81
  815. package/dist/cjs/hu-b177f75e.js +0 -89
  816. package/dist/cjs/id-ffab63fb.js +0 -67
  817. package/dist/cjs/index-79b35510.js +0 -1682
  818. package/dist/cjs/index-c078ea5f.js +0 -201
  819. package/dist/cjs/index.es-4e523f8b.js +0 -11317
  820. package/dist/cjs/interactive-f08f0369.js +0 -154
  821. package/dist/cjs/it-8646ff2a.js +0 -67
  822. package/dist/cjs/it-ch-6c949267.js +0 -67
  823. package/dist/cjs/ja-cf48eff1.js +0 -73
  824. package/dist/cjs/ko-294e5fae.js +0 -73
  825. package/dist/cjs/languageSwitcher-b9a1485c.js +0 -60
  826. package/dist/cjs/languageUtil-da436671.js +0 -69
  827. package/dist/cjs/loadModules-b28900c2.js +0 -23
  828. package/dist/cjs/loadable-b374ef4b.js +0 -94
  829. package/dist/cjs/locale-3fd260e3.js +0 -91
  830. package/dist/cjs/locale-48d76c59.js +0 -161
  831. package/dist/cjs/locale-5efdf085.js +0 -584
  832. package/dist/cjs/lt-a592829c.js +0 -98
  833. package/dist/cjs/lv-39a6d278.js +0 -67
  834. package/dist/cjs/mapViewUtils-911698e5.js +0 -508
  835. package/dist/cjs/mk-afea13c6.js +0 -67
  836. package/dist/cjs/mode-d6c12b38.js +0 -19
  837. package/dist/cjs/nb-b7cf648c.js +0 -68
  838. package/dist/cjs/nl-72021978.js +0 -68
  839. package/dist/cjs/observers-4fa351d9.js +0 -55
  840. package/dist/cjs/openCloseComponent-6a283ac3.js +0 -92
  841. package/dist/cjs/pciUtils-a238f3a1.js +0 -847
  842. package/dist/cjs/pl-82312f6a.js +0 -115
  843. package/dist/cjs/popupUtils-9ca69f8c.js +0 -111
  844. package/dist/cjs/pt-42d95816.js +0 -68
  845. package/dist/cjs/pt-br-b0b546fc.js +0 -66
  846. package/dist/cjs/publicNotificationStore-3bfbbed3.js +0 -47
  847. package/dist/cjs/restHelpersGet-dbaa28df.js +0 -972
  848. package/dist/cjs/ro-e7948270.js +0 -67
  849. package/dist/cjs/ru-3526e86f.js +0 -127
  850. package/dist/cjs/shared-list-render-b6b23d9e.js +0 -365
  851. package/dist/cjs/sk-0f35900e.js +0 -149
  852. package/dist/cjs/sl-abc6455f.js +0 -169
  853. package/dist/cjs/solution-resource-a577e84f.js +0 -145
  854. package/dist/cjs/solution-store-8ba2ab4b.js +0 -1344
  855. package/dist/cjs/sr-fe2d4b5b.js +0 -102
  856. package/dist/cjs/styles-c9e1375a.js +0 -13
  857. package/dist/cjs/sv-6503d7e1.js +0 -72
  858. package/dist/cjs/t9n-9d199056.js +0 -100
  859. package/dist/cjs/th-9600cb11.js +0 -66
  860. package/dist/cjs/time-d250cbf5.js +0 -289
  861. package/dist/cjs/tr-faae7cc6.js +0 -67
  862. package/dist/cjs/uk-5e626d2b.js +0 -105
  863. package/dist/cjs/utils-e3996e43.js +0 -65
  864. package/dist/cjs/utils-f3710824.js +0 -130
  865. package/dist/cjs/vi-74653398.js +0 -71
  866. package/dist/cjs/zh-cn-b53af030.js +0 -95
  867. package/dist/cjs/zh-hk-96b751d5.js +0 -72
  868. package/dist/cjs/zh-tw-50d1a248.js +0 -93
  869. package/dist/esm/ExpandToggle-73432b0a.js +0 -110
  870. package/dist/esm/FloatingArrow-c3a62ec9.js +0 -48
  871. package/dist/esm/Heading-03b41bf8.js +0 -22
  872. package/dist/esm/Validation-59757032.js +0 -18
  873. package/dist/esm/ar-a0f8473e.js +0 -103
  874. package/dist/esm/bg-4a8059f0.js +0 -81
  875. package/dist/esm/breakpoints-f0f1417d.js +0 -15
  876. package/dist/esm/browser-9897260d.js +0 -23
  877. package/dist/esm/bs-3d9fa4b7.js +0 -50
  878. package/dist/esm/ca-a74ba459.js +0 -70
  879. package/dist/esm/calcite-input-time-picker-2cdb1664.js +0 -1861
  880. package/dist/esm/common-7f72122b.js +0 -36
  881. package/dist/esm/conditionalSlot-16953b0d.js +0 -51
  882. package/dist/esm/cs-cd3323d4.js +0 -146
  883. package/dist/esm/da-eccb7ace.js +0 -65
  884. package/dist/esm/date-562b6fba.js +0 -245
  885. package/dist/esm/de-269c8d62.js +0 -90
  886. package/dist/esm/de-at-742cc453.js +0 -89
  887. package/dist/esm/de-ch-b4ff8ebb.js +0 -89
  888. package/dist/esm/downloadUtils-571a502d.js +0 -3158
  889. package/dist/esm/el-e7e0181b.js +0 -65
  890. package/dist/esm/en-au-0f12d4ae.js +0 -65
  891. package/dist/esm/en-ca-d692f9a4.js +0 -64
  892. package/dist/esm/en-gb-e91744e9.js +0 -68
  893. package/dist/esm/es-867bace7.js +0 -65
  894. package/dist/esm/es-mx-cde6ed6f.js +0 -64
  895. package/dist/esm/esri-loader-2bf735ed.js +0 -311
  896. package/dist/esm/et-a2613f53.js +0 -91
  897. package/dist/esm/fi-07875b7a.js +0 -114
  898. package/dist/esm/floating-ui-9ee6fe17.js +0 -2287
  899. package/dist/esm/form-6d38f4ee.js +0 -372
  900. package/dist/esm/fr-669ba3b9.js +0 -67
  901. package/dist/esm/fr-ch-da569be6.js +0 -65
  902. package/dist/esm/he-6cbfe53b.js +0 -104
  903. package/dist/esm/helpers-61b05164.js +0 -881
  904. package/dist/esm/hi-913d1595.js +0 -64
  905. package/dist/esm/hr-8f581dc9.js +0 -79
  906. package/dist/esm/html2canvas-28c7de60.js +0 -7845
  907. package/dist/esm/hu-02bb4a04.js +0 -87
  908. package/dist/esm/id-306dcc93.js +0 -65
  909. package/dist/esm/index-ba5da2b0.js +0 -1648
  910. package/dist/esm/index-c06194fa.js +0 -199
  911. package/dist/esm/index.es-2f9f04c5.js +0 -11230
  912. package/dist/esm/interactive-52276a00.js +0 -149
  913. package/dist/esm/it-3f0c20a1.js +0 -65
  914. package/dist/esm/it-ch-fe18a6c5.js +0 -65
  915. package/dist/esm/ja-41455a15.js +0 -71
  916. package/dist/esm/ko-88a4fc75.js +0 -71
  917. package/dist/esm/languageSwitcher-d60f03b2.js +0 -57
  918. package/dist/esm/languageUtil-36f8f4ef.js +0 -66
  919. package/dist/esm/loadModules-496086ee.js +0 -21
  920. package/dist/esm/loadable-cca582a3.js +0 -89
  921. package/dist/esm/locale-353c1c36.js +0 -571
  922. package/dist/esm/locale-69333b8e.js +0 -86
  923. package/dist/esm/locale-a490c4f6.js +0 -156
  924. package/dist/esm/lt-5c1c3aa4.js +0 -96
  925. package/dist/esm/lv-acb76551.js +0 -65
  926. package/dist/esm/mapViewUtils-b8deb4ae.js +0 -490
  927. package/dist/esm/mk-b12a886b.js +0 -65
  928. package/dist/esm/mode-66911cb5.js +0 -17
  929. package/dist/esm/nb-50bbf4fa.js +0 -66
  930. package/dist/esm/nl-6dd1488e.js +0 -66
  931. package/dist/esm/observers-19e5cb73.js +0 -53
  932. package/dist/esm/openCloseComponent-04234cea.js +0 -90
  933. package/dist/esm/pciUtils-73d4b6b4.js +0 -844
  934. package/dist/esm/pl-f0ccb3a4.js +0 -113
  935. package/dist/esm/polyfills/core-js.js +0 -11
  936. package/dist/esm/polyfills/dom.js +0 -79
  937. package/dist/esm/polyfills/es5-html-element.js +0 -1
  938. package/dist/esm/polyfills/index.js +0 -34
  939. package/dist/esm/polyfills/system.js +0 -6
  940. package/dist/esm/popupUtils-8efd3cde.js +0 -109
  941. package/dist/esm/pt-3adf4f5e.js +0 -66
  942. package/dist/esm/pt-br-5ad78776.js +0 -64
  943. package/dist/esm/publicNotificationStore-74c7e9f4.js +0 -45
  944. package/dist/esm/purify-dbd0968e.js +0 -1714
  945. package/dist/esm/restHelpersGet-1bd54274.js +0 -959
  946. package/dist/esm/ro-ba24a126.js +0 -65
  947. package/dist/esm/ru-2feffc99.js +0 -125
  948. package/dist/esm/shared-list-render-aaa69039.js +0 -343
  949. package/dist/esm/sk-097e96ba.js +0 -147
  950. package/dist/esm/sl-27721fe2.js +0 -167
  951. package/dist/esm/solution-resource-0d0eb597.js +0 -142
  952. package/dist/esm/solution-store-997e0cb8.js +0 -1342
  953. package/dist/esm/sr-b421770e.js +0 -100
  954. package/dist/esm/styles-367380b5.js +0 -11
  955. package/dist/esm/sv-3bad8e53.js +0 -70
  956. package/dist/esm/t9n-165900a5.js +0 -95
  957. package/dist/esm/th-7cc88e5d.js +0 -64
  958. package/dist/esm/time-d605c462.js +0 -274
  959. package/dist/esm/tr-0a2743e1.js +0 -65
  960. package/dist/esm/uk-6d2572d0.js +0 -103
  961. package/dist/esm/utils-26baa5d3.js +0 -54
  962. package/dist/esm/utils-bd72a603.js +0 -121
  963. package/dist/esm/vi-e8feb97f.js +0 -69
  964. package/dist/esm/zh-cn-fdec5be5.js +0 -93
  965. package/dist/esm/zh-hk-07c60ac2.js +0 -70
  966. package/dist/esm/zh-tw-b1e4174b.js +0 -91
  967. package/dist/solutions-components/p-011892f2.entry.js +0 -11
  968. package/dist/solutions-components/p-022edd7a.entry.js +0 -11
  969. package/dist/solutions-components/p-02651dd3.entry.js +0 -11
  970. package/dist/solutions-components/p-04af53a2.js +0 -6
  971. package/dist/solutions-components/p-053be79f.entry.js +0 -12
  972. package/dist/solutions-components/p-061da95a.entry.js +0 -6
  973. package/dist/solutions-components/p-0669c156.entry.js +0 -17
  974. package/dist/solutions-components/p-06748b7a.entry.js +0 -6
  975. package/dist/solutions-components/p-070b98cd.entry.js +0 -17
  976. package/dist/solutions-components/p-0894d584.js +0 -6
  977. package/dist/solutions-components/p-0971d8ac.entry.js +0 -23
  978. package/dist/solutions-components/p-0a00df9e.entry.js +0 -6
  979. package/dist/solutions-components/p-0bb3b378.entry.js +0 -11
  980. package/dist/solutions-components/p-0c523112.js +0 -6
  981. package/dist/solutions-components/p-0ce36a4a.entry.js +0 -17
  982. package/dist/solutions-components/p-0d17246a.entry.js +0 -6
  983. package/dist/solutions-components/p-0fba267c.entry.js +0 -12
  984. package/dist/solutions-components/p-0fdcc10a.entry.js +0 -6
  985. package/dist/solutions-components/p-105d8256.js +0 -6
  986. package/dist/solutions-components/p-11881a54.js +0 -6
  987. package/dist/solutions-components/p-11e873c7.entry.js +0 -6
  988. package/dist/solutions-components/p-12c80030.js +0 -11
  989. package/dist/solutions-components/p-1506751c.entry.js +0 -11
  990. package/dist/solutions-components/p-17674f66.js +0 -6
  991. package/dist/solutions-components/p-177a139d.entry.js +0 -11
  992. package/dist/solutions-components/p-18b27561.entry.js +0 -11
  993. package/dist/solutions-components/p-19dbfe71.js +0 -6
  994. package/dist/solutions-components/p-1a3f82c5.entry.js +0 -11
  995. package/dist/solutions-components/p-1aa91fbf.entry.js +0 -6
  996. package/dist/solutions-components/p-1ae3b886.entry.js +0 -17
  997. package/dist/solutions-components/p-1e915546.entry.js +0 -47
  998. package/dist/solutions-components/p-229ec6a3.js +0 -11
  999. package/dist/solutions-components/p-238d8710.entry.js +0 -11
  1000. package/dist/solutions-components/p-23d35d76.js +0 -6
  1001. package/dist/solutions-components/p-2445cf51.js +0 -7
  1002. package/dist/solutions-components/p-2455bcb0.js +0 -21
  1003. package/dist/solutions-components/p-246b1648.entry.js +0 -12
  1004. package/dist/solutions-components/p-261880f7.entry.js +0 -11
  1005. package/dist/solutions-components/p-2665663a.entry.js +0 -6
  1006. package/dist/solutions-components/p-26eb1225.entry.js +0 -6
  1007. package/dist/solutions-components/p-2775f82b.js +0 -6
  1008. package/dist/solutions-components/p-27e9ea86.entry.js +0 -6
  1009. package/dist/solutions-components/p-287d2d49.entry.js +0 -11
  1010. package/dist/solutions-components/p-28d2ab1a.js +0 -6
  1011. package/dist/solutions-components/p-28e582b0.entry.js +0 -11
  1012. package/dist/solutions-components/p-2d90ec69.entry.js +0 -11
  1013. package/dist/solutions-components/p-2e625f11.js +0 -11
  1014. package/dist/solutions-components/p-302fccc1.entry.js +0 -6
  1015. package/dist/solutions-components/p-314dc933.entry.js +0 -6
  1016. package/dist/solutions-components/p-31ce0b61.entry.js +0 -11
  1017. package/dist/solutions-components/p-328fbf6d.js +0 -11
  1018. package/dist/solutions-components/p-334e6394.js +0 -37
  1019. package/dist/solutions-components/p-3365a6de.entry.js +0 -11
  1020. package/dist/solutions-components/p-34c5a71c.entry.js +0 -11
  1021. package/dist/solutions-components/p-370283a4.js +0 -6
  1022. package/dist/solutions-components/p-392be4a7.js +0 -6
  1023. package/dist/solutions-components/p-3b7e0d5a.js +0 -26
  1024. package/dist/solutions-components/p-3c24cda7.entry.js +0 -11
  1025. package/dist/solutions-components/p-3ce690d9.js +0 -6
  1026. package/dist/solutions-components/p-3da83eee.entry.js +0 -22
  1027. package/dist/solutions-components/p-3e33078e.entry.js +0 -11
  1028. package/dist/solutions-components/p-400a584e.js +0 -6
  1029. package/dist/solutions-components/p-415d519f.entry.js +0 -6
  1030. package/dist/solutions-components/p-420b8eb1.entry.js +0 -11
  1031. package/dist/solutions-components/p-4370de50.js +0 -6
  1032. package/dist/solutions-components/p-43d1b0bd.js +0 -11
  1033. package/dist/solutions-components/p-4870be89.entry.js +0 -6
  1034. package/dist/solutions-components/p-489be360.entry.js +0 -11
  1035. package/dist/solutions-components/p-490e4875.entry.js +0 -11
  1036. package/dist/solutions-components/p-4ac019d3.js +0 -6
  1037. package/dist/solutions-components/p-4ba6f8f0.js +0 -6
  1038. package/dist/solutions-components/p-4ca83bea.js +0 -6
  1039. package/dist/solutions-components/p-4e07c030.entry.js +0 -11
  1040. package/dist/solutions-components/p-502172da.entry.js +0 -17
  1041. package/dist/solutions-components/p-50741707.entry.js +0 -6
  1042. package/dist/solutions-components/p-51b5ac05.entry.js +0 -6
  1043. package/dist/solutions-components/p-51d5532f.entry.js +0 -6
  1044. package/dist/solutions-components/p-52dba022.js +0 -489
  1045. package/dist/solutions-components/p-530b73ce.js +0 -66
  1046. package/dist/solutions-components/p-533a9cca.entry.js +0 -11
  1047. package/dist/solutions-components/p-570a3777.js +0 -6
  1048. package/dist/solutions-components/p-57eeed77.js +0 -61
  1049. package/dist/solutions-components/p-5862de8d.entry.js +0 -6
  1050. package/dist/solutions-components/p-591175a6.js +0 -6
  1051. package/dist/solutions-components/p-5974ba05.js +0 -16
  1052. package/dist/solutions-components/p-5b654493.entry.js +0 -6
  1053. package/dist/solutions-components/p-5c5e3745.entry.js +0 -6
  1054. package/dist/solutions-components/p-5f873153.js +0 -6
  1055. package/dist/solutions-components/p-6085ab9c.js +0 -11
  1056. package/dist/solutions-components/p-614ebce7.js +0 -6
  1057. package/dist/solutions-components/p-616c3c0c.entry.js +0 -6
  1058. package/dist/solutions-components/p-628874a6.entry.js +0 -6
  1059. package/dist/solutions-components/p-62c34f96.entry.js +0 -11
  1060. package/dist/solutions-components/p-636c0ebf.entry.js +0 -29
  1061. package/dist/solutions-components/p-63e6cab2.entry.js +0 -11
  1062. package/dist/solutions-components/p-680a43bb.entry.js +0 -6
  1063. package/dist/solutions-components/p-6bdafe3f.js +0 -6
  1064. package/dist/solutions-components/p-6d753a3d.js +0 -7
  1065. package/dist/solutions-components/p-6e260ca3.entry.js +0 -6
  1066. package/dist/solutions-components/p-70ec2b39.entry.js +0 -6
  1067. package/dist/solutions-components/p-7348c869.entry.js +0 -6
  1068. package/dist/solutions-components/p-74a283fb.entry.js +0 -11
  1069. package/dist/solutions-components/p-76d70d3e.js +0 -6
  1070. package/dist/solutions-components/p-77cd573b.entry.js +0 -6
  1071. package/dist/solutions-components/p-7883b885.entry.js +0 -17
  1072. package/dist/solutions-components/p-790ab21b.js +0 -6
  1073. package/dist/solutions-components/p-798d20c2.entry.js +0 -11
  1074. package/dist/solutions-components/p-79e2e203.entry.js +0 -6
  1075. package/dist/solutions-components/p-7b13fafe.entry.js +0 -6
  1076. package/dist/solutions-components/p-7b17e929.entry.js +0 -6
  1077. package/dist/solutions-components/p-7fb072e0.entry.js +0 -11
  1078. package/dist/solutions-components/p-80b3eb6b.entry.js +0 -6
  1079. package/dist/solutions-components/p-80e8dac5.entry.js +0 -6
  1080. package/dist/solutions-components/p-814ad17b.js +0 -6
  1081. package/dist/solutions-components/p-820d8935.js +0 -11
  1082. package/dist/solutions-components/p-8294d644.js +0 -21
  1083. package/dist/solutions-components/p-82e085d0.js +0 -6
  1084. package/dist/solutions-components/p-84913712.js +0 -6
  1085. package/dist/solutions-components/p-865a9a2b.js +0 -6
  1086. package/dist/solutions-components/p-8674e740.js +0 -11
  1087. package/dist/solutions-components/p-86a8cf0e.js +0 -11
  1088. package/dist/solutions-components/p-8959c8fb.entry.js +0 -6
  1089. package/dist/solutions-components/p-896c9644.js +0 -36
  1090. package/dist/solutions-components/p-89a0889f.js +0 -21
  1091. package/dist/solutions-components/p-8f760a96.js +0 -11
  1092. package/dist/solutions-components/p-8fd36ce2.js +0 -6
  1093. package/dist/solutions-components/p-92eadd14.entry.js +0 -6
  1094. package/dist/solutions-components/p-937f5a14.js +0 -6
  1095. package/dist/solutions-components/p-96c901b4.entry.js +0 -6
  1096. package/dist/solutions-components/p-96e9c88b.js +0 -6
  1097. package/dist/solutions-components/p-972fd6e2.js +0 -11
  1098. package/dist/solutions-components/p-996a9b86.js +0 -6
  1099. package/dist/solutions-components/p-997ed04c.js +0 -6
  1100. package/dist/solutions-components/p-9cfc59dd.entry.js +0 -6
  1101. package/dist/solutions-components/p-9d495d2d.entry.js +0 -6
  1102. package/dist/solutions-components/p-9db9645e.js +0 -12
  1103. package/dist/solutions-components/p-9f11bcc0.js +0 -6
  1104. package/dist/solutions-components/p-9f27fdfb.js +0 -6
  1105. package/dist/solutions-components/p-9f635891.js +0 -17
  1106. package/dist/solutions-components/p-9fdd8168.entry.js +0 -11
  1107. package/dist/solutions-components/p-a008937e.entry.js +0 -6
  1108. package/dist/solutions-components/p-a24e5541.js +0 -6
  1109. package/dist/solutions-components/p-a25bbcc1.js +0 -11
  1110. package/dist/solutions-components/p-a520fedd.js +0 -6
  1111. package/dist/solutions-components/p-a5f1bbe9.js +0 -6
  1112. package/dist/solutions-components/p-a87405cb.entry.js +0 -11
  1113. package/dist/solutions-components/p-abd5ccf9.entry.js +0 -11
  1114. package/dist/solutions-components/p-ac77e72f.js +0 -6
  1115. package/dist/solutions-components/p-ad5e5e4d.entry.js +0 -11
  1116. package/dist/solutions-components/p-b0a4644b.js +0 -6
  1117. package/dist/solutions-components/p-b5bfe190.js +0 -16
  1118. package/dist/solutions-components/p-b5e4046b.entry.js +0 -6
  1119. package/dist/solutions-components/p-b965c059.entry.js +0 -16
  1120. package/dist/solutions-components/p-bb2e669d.entry.js +0 -6
  1121. package/dist/solutions-components/p-bb53e532.js +0 -6
  1122. package/dist/solutions-components/p-bc82830a.js +0 -6
  1123. package/dist/solutions-components/p-bda54b12.entry.js +0 -6
  1124. package/dist/solutions-components/p-bdcf99c0.js +0 -6
  1125. package/dist/solutions-components/p-bfd3d428.js +0 -11
  1126. package/dist/solutions-components/p-c02351ae.entry.js +0 -11
  1127. package/dist/solutions-components/p-c0c5c7a9.js +0 -6
  1128. package/dist/solutions-components/p-c1222f6b.entry.js +0 -6
  1129. package/dist/solutions-components/p-c151a297.entry.js +0 -6
  1130. package/dist/solutions-components/p-c4a44f66.js +0 -6
  1131. package/dist/solutions-components/p-c512fcfb.entry.js +0 -6
  1132. package/dist/solutions-components/p-c5becad1.entry.js +0 -6
  1133. package/dist/solutions-components/p-c6be0487.entry.js +0 -6
  1134. package/dist/solutions-components/p-c757c37b.js +0 -6
  1135. package/dist/solutions-components/p-c791e836.entry.js +0 -6
  1136. package/dist/solutions-components/p-c7f0e7a8.entry.js +0 -6
  1137. package/dist/solutions-components/p-c8260cf0.js +0 -145
  1138. package/dist/solutions-components/p-c9653aec.js +0 -6
  1139. package/dist/solutions-components/p-ca37a0ef.entry.js +0 -16
  1140. package/dist/solutions-components/p-cb20ba34.entry.js +0 -21
  1141. package/dist/solutions-components/p-cce71e60.entry.js +0 -11
  1142. package/dist/solutions-components/p-cd190ff9.js +0 -6
  1143. package/dist/solutions-components/p-cd91c3e7.entry.js +0 -29
  1144. package/dist/solutions-components/p-ceba37d3.entry.js +0 -11
  1145. package/dist/solutions-components/p-cf5d4ed0.entry.js +0 -11
  1146. package/dist/solutions-components/p-d0e73f95.entry.js +0 -11
  1147. package/dist/solutions-components/p-d0ebefa0.entry.js +0 -11
  1148. package/dist/solutions-components/p-d893cddf.entry.js +0 -11
  1149. package/dist/solutions-components/p-d8a15e32.entry.js +0 -6
  1150. package/dist/solutions-components/p-d8da6406.entry.js +0 -6
  1151. package/dist/solutions-components/p-da6b3c8a.entry.js +0 -6
  1152. package/dist/solutions-components/p-dcc5f283.entry.js +0 -6
  1153. package/dist/solutions-components/p-dd3e8920.entry.js +0 -6
  1154. package/dist/solutions-components/p-deb3adb8.js +0 -6
  1155. package/dist/solutions-components/p-e2400b0d.entry.js +0 -6
  1156. package/dist/solutions-components/p-e2c898f9.entry.js +0 -24
  1157. package/dist/solutions-components/p-e2efd3ac.entry.js +0 -11
  1158. package/dist/solutions-components/p-e64a3cc4.entry.js +0 -11
  1159. package/dist/solutions-components/p-e96d0b39.js +0 -6
  1160. package/dist/solutions-components/p-ead4a5f5.entry.js +0 -6
  1161. package/dist/solutions-components/p-ec843a3e.js +0 -6
  1162. package/dist/solutions-components/p-eda6994e.entry.js +0 -6
  1163. package/dist/solutions-components/p-edb1e0b4.entry.js +0 -17
  1164. package/dist/solutions-components/p-edcc1f23.entry.js +0 -36
  1165. package/dist/solutions-components/p-ee81a7c3.js +0 -6
  1166. package/dist/solutions-components/p-eeaed243.js +0 -11
  1167. package/dist/solutions-components/p-f1822d63.js +0 -6
  1168. package/dist/solutions-components/p-f22a4439.js +0 -21
  1169. package/dist/solutions-components/p-f2e68b62.entry.js +0 -6
  1170. package/dist/solutions-components/p-f4456214.js +0 -6
  1171. package/dist/solutions-components/p-f7b791a8.entry.js +0 -6
  1172. package/dist/solutions-components/p-f9475704.js +0 -6
  1173. package/dist/solutions-components/p-fac36b42.entry.js +0 -6
  1174. package/dist/solutions-components/p-fc6313ba.entry.js +0 -11
  1175. package/dist/solutions-components/p-fc79eaaf.js +0 -6
  1176. package/dist/solutions-components/p-fcb11407.entry.js +0 -11
  1177. package/dist/solutions-components/p-fd28754c.entry.js +0 -6
  1178. package/dist/solutions-components/p-fd6f2ba3.js +0 -6
  1179. package/dist/solutions-components/p-ff8f475a.entry.js +0 -11
  1180. /package/dist/solutions-components/{p-abea8ef5.js → p-04674a1e.js} +0 -0
  1181. /package/dist/solutions-components/{p-5aaa05ef.js → p-996c1ac5.js} +0 -0
  1182. /package/dist/solutions-components/{p-eeee7c7a.js → p-a42ff7fe.js} +0 -0
  1183. /package/dist/solutions-components/{p-c96eb2db.js → p-a9a72626.js} +0 -0
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,h as a,H as e,g as i}from"./p-fa1ceaf9.js";import{g as n}from"./p-49250010.js";import{l as r}from"./p-d029b513.js";import{g as s}from"./p-a9a72626.js";import"./p-89f6ff72.js";import"./p-c4160bf7.js";const o={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},c=new Map;function l(t){return c[t]||""}Object.keys(o).forEach((t=>{c[t]=`<svg viewBox="0 0 32 32" width="32" height="32" fill="${o[t].fill}"><path d="${o[t].path}"/></svg>`}));const p="instant-apps-create calcite-mode-light",h=class{constructor(a){t(this,a),this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.content=void 0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"],this.portal=void 0,this.baseClass=p,this.messages={},this.CreateOptionsLookup=void 0}contentChanged(){Object.keys(this.CreateOptionsLookup).forEach((t=>{this.CreateOptionsLookup[t].href=this.hrefLookup(t)}))}componentWillLoad(){return this.baseClass="dark"===s(this.el)?"instant-apps-create calcite-mode-dark":p,this.initializeModules(),n(this).then((()=>{this.initializePredefinedOptions()}))}disconnectedCallback(){var t,a;null===(t=this.handles)||void 0===t||t.removeAll(),null===(a=this.handles)||void 0===a||a.destroy(),this.handles=null}render(){const t="popover"===this.mode?this.renderPopover():this.renderPanel();return a(e,{key:"ee6a5076dce36a238288216de4cbd77d16347c15"},a("div",{key:"c22b60a05f5d0b430c76ab8edcf52577f1eecfaa",class:this.baseClass},t))}async initializeModules(){const[t]=await r(["esri/core/Handles"]);return this.handles=new t,Promise.resolve()}initializePredefinedOptions(){const{instantApps:t,instantAppsDesc:a,mapViewer:e,mapViewerDesc:i,arcgisStoryMaps:n,storyMapsDesc:r,experienceBuilder:s,experienceBuilderDesc:o,dashboards:c,dashboardsDesc:p}=this.messages;this.CreateOptionsLookup={"instant-apps":{title:t,subtitle:a,img:l("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:e,subtitle:i,img:l("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:n,subtitle:r,img:l("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:s,subtitle:o,img:l("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:c,subtitle:p,img:l("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){var a,e;const i=this.getBaseUrl(this.portal),n=this._getEnvironment(i),r=this.contentHref();switch(t){case"instant-apps":return`${i}/apps/instantgallery/index.html?${r}`;case"dashboards":return`${i}/apps/dashboards/new#id=${null===(e=null===(a=this.content)||void 0===a?void 0:a.portalItem)||void 0===e?void 0:e.id}`;case"map-viewer":return`${i}/apps/mapviewer/index.html?${r}`;case"story-maps":return`https://storymaps${"prod"===n?"":n}.arcgis.com/stories/new?${r}`;case"experience-builder":return`https://experience${"prod"===n?"":n}.arcgis.com/builder/page/template/?${r}`}return""}contentHref(){var t,a,e,i,n;return"Web Map"===(null===(a=null===(t=null==this?void 0:this.content)||void 0===t?void 0:t.portalItem)||void 0===a?void 0:a.type)?`webmap=${this.content.portalItem.id}`:"Web Scene"===(null===(i=null===(e=null==this?void 0:this.content)||void 0===e?void 0:e.portalItem)||void 0===i?void 0:i.type)?`webscene=${this.content.portalItem.id}`:"function"==typeof(null===(n=null==this?void 0:this.content)||void 0===n?void 0:n.fetchMembers)?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";const{customBaseUrl:a,portalHostname:e,urlKey:i}=t,{protocol:n}=location;return`${n}//${i?`${i}.${a}`:e}`}_getEnvironment(t){var a;let e=null;try{e=null===(a=new URL(t))||void 0===a?void 0:a.hostname}catch(t){}return null==e||-1===e.indexOf("arcgis.com")?"dev":(-1!==e.indexOf("devext")?"dev":-1!==e.indexOf("qaext")&&"qa")||"prod"}renderPopover(){var t,e;const i=this.renderPanel();return[a("calcite-popover",{referenceElement:"create-popover-btn",overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:t=>this.popoverEl=t,label:"Create panel"},i),a("calcite-action",{id:"create-popover-btn",alignment:"center",icon:this.popoverIcon,title:null===(t=this.messages)||void 0===t?void 0:t.create,text:null===(e=this.messages)||void 0===e?void 0:e.create})]}renderPanel(){const t=this.showHeader?this.renderHeader():null,e=this.renderOptions();return a("div",{class:"inline"===this.mode?"instant-apps-create__inline-container":"instant-apps-create__popover-container"},t,e)}renderHeader(){const{create:t,createSubheading:e}=this.messages;return a("div",{class:"instant-apps-create__header"},a("h3",null,t),a("p",null,e))}renderOptions(){return a("nav",null,this.options.map((t=>this.renderOption(t))))}renderOption(t){var e;"string"==typeof t&&(t=null===(e=null==this?void 0:this.CreateOptionsLookup)||void 0===e?void 0:e[t]);const{title:i,subtitle:n,img:r,href:s}=t||{};return a("a",{class:"instant-apps-create__option",href:s,target:"_blank"},a("span",{class:"instant-apps-create__option-icon",innerHTML:r}),a("span",{class:"instant-apps-create__option-text"},a("span",{class:"instant-apps-create__option-text-wrapper"},a("h3",{class:"instant-apps-create__option-title"},i),a("calcite-icon",{scale:"s",icon:"launch"})),a("p",{class:"instant-apps-create__option-subtitle"},n)))}get el(){return i(this)}static get watchers(){return{content:["contentChanged"]}}};h.style=":host{display:block;--instant-apps-create-action-background:var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-create-action-background-press:var(--calcite-color-foreground-3);--instant-apps-create-action-height:100%;--instant-apps-create-action-width:fit-content;--instant-apps-create-action-icon-color:var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-create-background:var(--calcite-color-foreground-1);--instant-apps-create-text-color:var(--calcite-color-text-1);--instant-apps-create-popover-width:450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1:var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1:var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 0.5rem 0;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:-moz-fit-content;height:fit-content;margin-bottom:0.5rem;cursor:pointer;--calcite-color-text-link:var(--calcite-color-text-1);align-items:stretch;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.instant-apps-create__option:first-of-type{margin-top:0.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:0.75rem;color:var(--calcite-color-text-2);padding:0.75rem 0 0 0.75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:0.25rem;color:rgb(126, 126, 126);--tw-translate-x:0px;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x:0.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}";export{h as instant_apps_create}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as i,h as t,H as s,g as e,c as h}from"./p-fa1ceaf9.js";import{g as a,l as o}from"./p-c9b22653.js";import{q as l,g as n,e as d,f as c,i as r,j as v,c as p}from"./p-996c1ac5.js";import{d as u}from"./p-3eb49703.js";import"./p-c4160bf7.js";import"./p-c1cf3ebc.js";import"./p-d27ab863.js";import"./p-a230b270.js";import"./p-7996f123.js";const b=class{constructor(t){i(this,t),this.isMobile=void 0,this.layer=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this._cardLoading=!1,this._graphics=void 0,this._translations=void 0}async featureSelectionChange(i){const t=i.detail;this._cardLoading=!0;const s=t.length>0?await l(t,this.layer,[],!1,this.mapView.spatialReference):[];this._graphics=s.sort(((i,s)=>t.indexOf(i.getObjectId())-t.indexOf(s.getObjectId()))),this._cardLoading=!1}async layerSelectionChange(i){const t=i.detail[0];this.layer=await n(this.mapView,t)}async componentWillLoad(){await this._getTranslations()}render(){var i,e;const h=(null===(i=this._graphics)||void 0===i?void 0:i.length)>0?"":"display-none",a=(null===(e=this._graphics)||void 0===e?void 0:e.length)>0?"display-none":"";return t(s,{key:"343554e5408de156f1973f6d1e3daa8f1ba90675"},t("div",{key:"1852562a795002314236052351cab7c29d36854e",class:"overflow-auto height-full"},t("calcite-shell",{key:"684f013e4397bc50743526357384f782a88a5cd3",class:"position-relative "+h},t("div",{key:"db6d9f4be5448b5596b22f2a4f49c6baefa88466"},t("info-card",{key:"be5cec81cae7ca00a5b57c8d9590541f78b67fbd",graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,mapView:this.mapView}))),t("calcite-shell",{key:"df34e0ae6978298130970c60d21203f52fa32e4b",class:"position-relative "+a},t("div",{key:"9525a95dd21745e211ebf888da44eca6a6c17721",class:"padding-1"},t("calcite-notice",{key:"ade0e0a2f09bbe7b7bda6fdb2ce65ba81121e633",icon:"table",open:!0},t("div",{key:"d6fce2d657e23738720e004177c510c3273017f4",slot:"message"},this._translations.selectFeaturesToStart))))))}async _getTranslations(){const i=await a(this.el);this._translations=i[0]}get el(){return e(this)}};b.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}card-manager{display:block}";const f=class{constructor(t){i(this,t),this.featureSelectionChange=h(this,"featureSelectionChange",7),this._ctrlIsPressed=!1,this._defaultFilterHonored=!1,this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._observerSet=!1,this._shiftIsPressed=!1,this._skipOnChange=!1,this.onTableNodeCreate=i=>{this._tableNode=i},this.defaultGlobalId=void 0,this.defaultLayerId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.isMobile=void 0,this.mapHidden=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.selectedIds=[],this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this.zoomToScale=void 0,this._allIds=[],this._controlsThatFit=void 0,this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._layer=void 0,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=void 0,this._translations=void 0}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}enableCSVWatchHandler(){var i;(null===(i=this._toolInfos)||void 0===i?void 0:i.length)>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}_controlsThatFitWatchHandler(){var i;const t=this._controlsThatFit?this._controlsThatFit.reduce(((i,t)=>(i.push(t.id),i)),[]):[];this._toolInfos=null===(i=this._toolInfos)||void 0===i?void 0:i.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}mapHiddenWatchHandler(){var i;(null===(i=this._toolInfos)||void 0===i?void 0:i.length)>0&&this._initToolInfos()}isMobileWatchHandler(){this._toolInfos||this.isMobile||this._initToolInfos()}async mapInfoWatchHandler(){this._resetColumnTemplates(),this._initLayerExpressions(),this._initToolInfos(),this._updateToolbar(),console.log("mapInfoWatchHandler"),await this._sortTable()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression=void 0,this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(i=>{this._mapClicked(i)})))}async _layerWatchHandler(){var i;this._fetchingData=!0,await(null===(i=this._layer)||void 0===i?void 0:i.when((async()=>{var i;this._definitionExpression=this._layer.definitionExpression,this._floorField=null===(i=this._layer.floorInfo)||void 0===i?void 0:i.floorField,this._updateFloorDefinitionExpression(),await this._resetTable(),this._initLayerExpressions(),this._updateShareUrl(),this._fetchingData=!1})))}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0]))}async selectionChanged(i){const t=i.detail.selectedFeature[0],s=t.getObjectId(),e=this._table;if(e.rowHighlightIds.length&&e.rowHighlightIds.removeAll(),e.rowHighlightIds.add(s),this.zoomAndScrollToSelected){const i=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(i);const e=t.layer;let h;this.mapView.allLayerViews.toArray().some((i=>{if(i.layer.title===e.title&&"feature"===i.layer.type)return h=i,!0})),h&&await d([s],h,this.mapView,!0,void 0,this.zoomToScale)}}async editsComplete(i){const t=i.detail;"delete"!==t&&"add"!==t||(this._allIds=await c(this._layer)),await this._refresh()}async facilityChanged(i){this._floorFacility=i.detail,this._updateFloorDefinitionExpression()}async levelChanged(i){this._floorLevel=i.detail,this._updateFloorDefinitionExpression()}async siteChanged(i){this._floorSite=i.detail,this._updateFloorDefinitionExpression()}noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._onResize())))}render(){const i=this._fetchingData?"display-none":"",e=this._fetchingData?"":"display-none",h=this._allIds.length.toString(),a=this.selectedIds.length.toString(),o=this.isMobile?"height-full":"height-full-adjusted";return this._validateActiveActions(),t(s,{key:"9692c6f764d078c22e1d6271deb3844ef65b1fca"},t("calcite-shell",{key:"a37b9fcfdd8450fea4a994738bf833c331bb168a"},this._getTableControlRow("header"),t("div",{key:"e0e82e0bb5441286d5cd3bdda3c55d77515fbcb0",class:`width-full ${o}`},t("calcite-panel",{key:"4890c168eba3db34a291121f633c0d69ab8a1517",class:"height-full width-full"},t("calcite-loader",{key:"19f85ec47a03731fe4c9ebb13d91cad66a8637fa",class:e,label:this._translations.fetchingData,scale:"l"}),t("div",{key:"53d1c8bce2e2d464a141fabfcf13ee41aaf02168",class:i,ref:this.onTableNodeCreate})),this.isMobile?void 0:t("div",{class:"bottom-left text-color height-19"},this._translations.recordsSelected.replace("{{total}}",h).replace("{{selected}}",a)))),this._filterModal())}async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0),document.onclick=i=>this._handleDocumentClick(i),document.onkeydown=i=>this._handleKeyDown(i),document.onkeyup=i=>this._handleKeyUp(i)}componentDidRender(){this._updateToolbar()}async _initModules(){const[i,t,s]=await o(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=i,this.reactiveUtils=t,this.TableTemplate=s}_onResize(){this._updateToolbar()}_getTableControlRow(i){return t("div",{class:"display-flex border-bottom height-51",ref:i=>this._toolbar=i,slot:i},this._getActionBar(),this.isMobile?void 0:this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile?this._getShare("share"):void 0)}_getActionBar(){const i=this.isMobile?"width-full":"",s=this.isMobile?"border-top":"";return t("calcite-action-bar",{class:i,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},t("div",{class:`border-end ${i} ${s}`,id:"solutions-map-layer-picker-container"},t("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChanged(i)},onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this.isMobile?void 0:this._getActions())}_getActions(){const i=this._getActionItems();return null==i?void 0:i.reduce(((i,s)=>(s&&!s.isOverflow&&i.push(s.isDanger?this._getDangerAction(s.icon,s.label,s.func,s.disabled):s.isSublist?t("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(s.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:i=>this._showHideDropdown=i},this._getAction(s.active,this._showHideOpen?"chevron-down":s.icon,s.indicator,s.label,s.func,s.disabled,s.loading,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(s.active,s.icon,s.indicator,s.label,s.func,s.disabled,s.loading)),i)),[])}_getFieldlist(){return this._columnsInfo?t("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((i=>t("calcite-dropdown-item",{id:i,onClick:i=>{const t=i.target;this._columnsInfo[t.id]=t.selected,t.selected?this._table.showColumn(t.id):this._table.hideColumn(t.id)},selected:this._columnsInfo[i]},i)))):void 0}_validateEnabledActions(){var i;const t=this._featuresSelected(),s=["zoom-to-object","trash","erase","selected-items-filter"];null===(i=this._toolInfos)||void 0===i||i.forEach((i=>{i&&s.indexOf(i.icon)>-1&&(i.disabled=!t)}))}_validateActiveActions(){var i;const t=["filter","list-check-all","selected-items-filter"];null===(i=this._toolInfos)||void 0===i||i.forEach((i=>{i&&t.indexOf(i.icon)>-1&&("filter"===i.icon&&(i.indicator=this._filterActive),"list-check-all"===i.icon&&(i.active=this._selectAllActive),"selected-items-filter"===i.icon&&(i.active=this._showOnlySelected))}))}_initToolInfos(){const i=this._featuresSelected(),t=this._featuresEmpty(),s=this._hasFilterExpressions();this._translations&&(this._toolInfos=[this.mapHidden?void 0:{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!i,isOverflow:!1},s?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1}:void 0,this._deleteEnabled?{active:void 0,icon:"trash",indicator:void 0,label:void 0,func:void 0,disabled:!i,isDanger:!0,isOverflow:!1}:void 0,{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this._clearSelection(),disabled:!i,isOverflow:!1},{active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!i,isOverflow:!1},{active:!1,icon:"list-check-all",indicator:!1,func:()=>this._selectAll(),label:this._translations.selectAll,disabled:t,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:()=>this._switchSelected(),label:this._translations.switchSelected,disabled:t,isOverflow:!1},{active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,loading:this._csvExporting,disabled:t,isOverflow:!1}:void 0,{active:!1,icon:this._showHideOpen?"chevron-down":"chevron-right",indicator:!1,func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0)}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){const i=`${this._floorField} = '${this._floorLevel}'`,t=this._layer.definitionExpression;this._layer.definitionExpression=(null==t?void 0:t.indexOf(this._floorExpression))>-1?t.replace(this._floorExpression,i):t?`${t} AND (${i})`:i,this._floorExpression=i}}_featuresSelected(){return this.selectedIds.length>0}_featuresEmpty(){return 0===this._allIds.length}_hasFilterExpressions(){var i,t,s;let e;return(null===(t=null===(i=this.mapInfo)||void 0===i?void 0:i.filterConfig)||void 0===t?void 0:t.layerExpressions)&&(null===(s=this._layer)||void 0===s?void 0:s.id)&&(e=this.mapInfo.filterConfig.layerExpressions.filter((i=>i.id===this._layer.id))),(null==e?void 0:e.length)>0}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const i=this._toolbar.offsetWidth;let t=this._toolbarSizeInfos.reduce(((i,t)=>i+t.width),0);const s=["solutions-more","solutions-map-layer-picker-container","solutions-action-share"];if(t>i){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(t>i?t-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((i,t)=>(i.push(t.id),i)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||t+o.width<=i)?(e.indexOf(o.id)<0&&(t+=o.width),a.push(o)):s.indexOf(o.id)<0&&t+o.width>i&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),250))}_setControlsThatFit(i,t){let s=JSON.stringify(i)!==JSON.stringify(this._controlsThatFit);document.getElementById("solutions-action-bar").childNodes.forEach((i=>{t.indexOf(i.id)<0&&!s&&(s=this._controlsThatFit.map((i=>i.id)).indexOf(i.id)<0)})),s&&(this._controlsThatFit=[...i])}_setToolbarSizeInfos(){let i=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((t,s)=>{0===s?t.childNodes.forEach((t=>{this._toolbarSizeInfos.push({id:t.id,width:t.offsetWidth}),i||(i=t.offsetWidth>0)})):t.referenceElement||(this._toolbarSizeInfos.push({id:t.id,width:t.offsetWidth}),i||(i=t.offsetWidth>0))})),i&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){var i;return null===(i=this._toolInfos)||void 0===i?void 0:i.filter((i=>i&&!i.isOverflow))}_getDropdown(i){const s=this._getDropdownItems();return s.length>0?t("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:i=>this._moreDropdown=i},t("calcite-action",{appearance:"solid",id:i,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},t("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),t("calcite-dropdown-group",{"selection-mode":"none"},s.map((i=>t("calcite-dropdown-group",{class:i.disabled?"disabled":"",selectionMode:i.disabled?"none":"single"},t("calcite-dropdown-item",{disabled:i.loading,iconStart:i.isSublist&&this._showHideOpen?"chevron-down":i.loading?"":i.icon,id:"solutions-subset-list",onClick:i.func},i.loading?t("div",{class:"display-flex"},t("calcite-loader",{inline:!0,label:i.label,scale:"m"}),i.label):i.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){var i;return null===(i=this._toolInfos)||void 0===i?void 0:i.filter((i=>i&&i.isOverflow))}_getAction(i,s,e,h,a,o,l,n){const d=void 0===this._layer||o;return t("div",{class:"display-flex",id:this._getId(s),slot:n},t("calcite-action",{active:i,appearance:"solid",disabled:d,icon:s,id:s,indicator:e,label:h,loading:l,onClick:a,text:h,textEnabled:!0}),this._getToolTip("bottom",s,h))}_getShare(i){return t("div",{class:"share-action",id:this._getId(i)},t("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:i=>this._shareNode=i,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",i,this._translations.share))}_updateShareUrl(){var i,t,s,e;const h=null===(i=this._shareNode)||void 0===i?void 0:i.shareUrl;if(!h)return;const a=new URL(h);(null===(t=this.mapInfo)||void 0===t?void 0:t.id)?a.searchParams.set("webmap",this.mapInfo.id):a.searchParams.delete("webmap"),(null===(s=this._layer)||void 0===s?void 0:s.id)?a.searchParams.set("layer",this._layer.id):a.searchParams.delete("layer"),(null===(e=this.selectedIds)||void 0===e?void 0:e.length)>0?a.searchParams.set("oid",this.selectedIds.join(",")):a.searchParams.delete("oid"),this._shareNode.shareUrl=a.href}_getToolTip(i,s,e){return document.getElementById(s)?t("calcite-tooltip",{placement:i,"reference-element":s},t("span",null,e)):void 0}_getId(i){return`solutions-action-${i}`}_getDangerAction(i,s,e,h){const a=void 0===this._layer||h;return t("div",{class:"display-flex",id:this._getId(i)},"trash"===i?t("delete-button",{buttonType:"action",class:"display-flex",disabled:a,icon:i,ids:this._getIds(),layer:this._layer}):t("calcite-action",{appearance:"solid",disabled:a,id:i,onClick:e,text:""},t("calcite-button",{appearance:"transparent",iconStart:i,kind:"danger"},s)),this._getToolTip("bottom",i,s))}_getIds(){return this._table.highlightIds.toArray()}async _getTable(i,t){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!0,multiSortEnabled:!1,visibleElements:{header:!1,menu:!1},tableTemplate:{columnTemplates:t},container:i})})),await this._table.when((()=>{this._table.highlightIds.on("change",(i=>{this._handleOnChange(i)}))})))}async _handleOnChange(i){const t=[...this._table.highlightIds.toArray()];if(this._skipOnChange)this._skipOnChange=!1;else{if(this._ctrlIsPressed||this._shiftIsPressed){if(this._ctrlIsPressed)this.selectedIds=t.reverse();else if(this._shiftIsPressed)if(this._skipOnChange=!0,this._previousCurrentId=this._currentId,this._currentId=[...t].reverse()[0],1===t.length)this._skipOnChange=!1;else if(this._previousCurrentId!==this._currentId){const i=this._table.activeSortOrders.reduce(((i,t)=>(i.push(`${t.fieldName} ${t.direction}`),i)),[]),s=await r(0,this._layer,[],i);let e=!1;const h=this._table.viewModel.getObjectIdIndex(this._previousCurrentId),a=this._table.viewModel.getObjectIdIndex(this._currentId);this._skipOnChange=(h<a?h:a)+1!==(a>h?a:h);const o=s.reduce(((i,t)=>{const s=t;return s===this._currentId||s===this._previousCurrentId?(e=!e,i.indexOf(s)<0&&i.push(s)):e&&i.indexOf(s)<0&&i.push(s),i}),[]),l=h<a?o.reverse():o;this.selectedIds=[...new Set([...l,...this.selectedIds])],this._table.highlightIds.addMany(this.selectedIds.filter((i=>t.indexOf(i)<0)))}}else if(this.selectedIds.length>0){this._skipOnChange=!0;const s=this.selectedIds.length>1&&1===i.removed.length?i.removed:t.filter((i=>this.selectedIds.indexOf(i)<0));this._clearSelection(),this.selectedIds=[...s],s.length>0?this._table.highlightIds.add(s[0]):this._skipOnChange=!1}else this.selectedIds=t.reverse();this._finishOnChange()}this._currentId=[...this._table.highlightIds.toArray()].reverse()[0]}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelection():this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}_resetColumnTemplates(){var i,t;const s=this._getColumnTemplates(null===(i=this._layer)||void 0===i?void 0:i.id,null===(t=this._layer)||void 0===t?void 0:t.fields),e=null==s?void 0:s.some(((i,t)=>{var s;return JSON.stringify(null===(s=this._table)||void 0===s?void 0:s.tableTemplate.columnTemplates[t])!==JSON.stringify(i)}));if(this._table&&s&&(e||!this._columnsInfo)){this._table.tableTemplate=new this.TableTemplate({columnTemplates:s});const i=s.map((i=>i.fieldName));this._initColumnsInfo(i)}}async _resetTable(){var i;if(this._clearSelection(),this._allIds=await c(this._layer),this._table)this._table.view=this.mapView,this._table.layer=this._layer;else{const t=this._getColumnTemplates(this._layer.id,null===(i=this._layer)||void 0===i?void 0:i.fields);await this._getTable(this._tableNode,t)}await this._initLayerRefresh(),this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this.reactiveUtils.once((()=>"loaded"===this._table.state)).then((async()=>{console.log("this._table.state === 'loaded'"),this._table.highlightIds.removeAll(),this._table.clearSelectionFilter(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),this._initToolInfos(),this._updateToolbar()}))}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._refreshHandle=this._layer.on("refresh",(i=>{i.dataChanged&&(this._skipOnChange=!0,this._updateAllIds())}))}async _updateAllIds(){this._allIds=await c(this._layer),this.selectedIds=this.selectedIds.filter((i=>this._allIds.indexOf(i)>-1)),await this._refresh()}async _handleDefaults(){var i,t;if(!this._defaultOidHonored&&(null===(i=this.defaultOid)||void 0===i?void 0:i.length)>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=void 0,this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&(null===(t=this.defaultGlobalId)||void 0===t?void 0:t.length)>0&&this._table){const i=await v(this.defaultGlobalId,this._layer),t=(null==i?void 0:i.length)>0?i.map((i=>i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=void 0,this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(i){var t,s;const e=null===(t=this._table)||void 0===t?void 0:t.columns.reduce(((t,s)=>((!i||(null==i?void 0:i.indexOf(s.name))>-1)&&(t[s.name]=!s.hidden),t)),{}),h=null===(s=this._table)||void 0===s?void 0:s.columns.map((i=>i.name));(i?i.filter((i=>h.indexOf(i)<0)):[]).forEach((i=>{e[i]=!0})),this._columnsInfo=i?i.reduce(((i,t)=>(i[t]=e[t],i)),{}):e}async _selectDefaultFeature(i){i.length>0&&this._table.highlightIds.addMany(i)}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){var i,t,s,e,h,a;let o,l=null===(i=this._layer)||void 0===i?void 0:i.objectIdField,n="desc";(null===(e=null===(s=null===(t=this.mapInfo)||void 0===t?void 0:t.layerOptions)||void 0===s?void 0:s.layers)||void 0===e?void 0:e.length)>0&&(null===(h=this._layer)||void 0===h?void 0:h.id)&&(o=this.mapInfo.layerOptions.layers.filter((i=>i.id===this._layer.id)),o&&o.length>0&&(o=o[0],o.sortField&&(null===(a=o.fields)||void 0===a?void 0:a.includes(o.sortField))&&(l=o.sortField),n=(null==o?void 0:o.sortOrder)?o.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when((()=>{console.log("sort on this._layer.when"),this._table.sortColumn(l,n)})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(i){var t;const s=null===(t=i.target)||void 0===t?void 0:t.id;this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(s)<0&&"solutions-subset-list"!==s&&"chevron-right"!==s&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_handleKeyDown(i){this._ctrlIsPressed=i.ctrlKey,this._shiftIsPressed=i.shiftKey}_handleKeyUp(i){this._ctrlIsPressed=i.ctrlKey,this._shiftIsPressed=i.shiftKey}_filterModal(){var i,s,e;return t("calcite-modal",{"aria-labelledby":"modal-title",class:"modal",kind:"brand",onCalciteModalClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},t("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},null===(s=null===(i=this._translations)||void 0===i?void 0:i.filter)||void 0===s?void 0:s.replace("{{title}}",null===(e=this._layer)||void 0===e?void 0:e.title)),t("div",{slot:"content"},t("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>this._handleFilterListReset(),onFilterUpdate:()=>this._handleFilterUpdate(),ref:i=>this._filterList=i,view:this.mapView,zoomBtn:!1})))}_handleFilterListReset(){this._filterActive=!1,this._updateShareUrl()}_handleFilterUpdate(){const i=this._layer.definitionExpression;if(this._floorExpression){const t=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=i&&this._floorField&&i.indexOf(`${this._floorField} = '`)>-1?i.replace(t,this._floorExpression):i?`${i} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=this._definitionExpression!==this._layer.definitionExpression&&(!this._floorExpression||this._layer.definitionExpression!==this._floorExpression),this._updateShareUrl()}async _closeFilter(){this._filterOpen&&(this._allIds=await c(this._layer),this._filterOpen=!1)}async _mapClicked(i){const t={include:this._layer},s=await this.mapView.hitTest(i.screenPoint,t);s.results.length>0?(s.results.forEach((i=>{const t=i.graphic.getObjectId();this._table.highlightIds.indexOf(t)<0&&this._table.highlightIds.add(t)})),this._showOnlySelected&&this._table.filterBySelection()):this._clearSelection()}_selectAll(){const i=this._allIds;this._table.highlightIds.removeAll(),this._skipOnChange=!0,this._table.highlightIds.addMany(i),this.selectedIds=i,this._finishOnChange(),this._selectAllActive=!0}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._showOnlySelected?this._table.filterBySelection():this._table.clearSelectionFilter()}_clearSelection(){var i,t;this.selectedIds=[],null===(i=this._table)||void 0===i||i.highlightIds.removeAll(),null===(t=this._table)||void 0===t||t.rowHighlightIds.removeAll(),this._finishOnChange()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){var i,t;const s=null===(t=null===(i=this.mapInfo)||void 0===i?void 0:i.filterConfig)||void 0===t?void 0:t.layerExpressions;this._layerExpressions=s?s.filter((i=>{var t;return i.id===(null===(t=this._layer)||void 0===t?void 0:t.id)})):[],this._filterList.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter((i=>i.expressions.filter((i=>i.active)).length>0)).length>0}_switchSelected(){const i=[...this.selectedIds];this._table.highlightIds.removeAll();const t=this._allIds.reduce(((t,s)=>(i.indexOf(s)<0&&t.push(s),t)),[]).sort(((i,t)=>i-t));this._skipOnChange=!0,this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()}async _exportToCSV(){const i={},t=this._table.highlightIds.toArray();i[this._layer.id]={selectionSetNames:[this._layer.title],ids:t,layer:this._layer};const s=this._table.columns.toArray().reduce(((i,t)=>(t.hidden||i.push(t.name.toLocaleLowerCase()),i)),[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,await u(null,i,!1,!1,!0,s,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(i,t){this._toolInfos.some((s=>{if((null==s?void 0:s.icon)===i)return s.loading=t,!0}))}async _refresh(){await this._table.refresh(),this.featureSelectionChange.emit(this.selectedIds)}async _zoom(){if(this._layer){const i=await p(this.mapView,this._layer.id);await d(this.selectedIds,i,this.mapView,!0,void 0,this.zoomToScale)}}async _layerSelectionChanged(i){var t;const s=i.detail[0];if(s!==(null===(t=this._layer)||void 0===t?void 0:t.id)||this._featuresEmpty()){this._fetchingData=!0;const i=await n(this.mapView,s);await i.when((()=>{this._layer=i}))}this._fetchingData=!1}_getColumnTemplates(i,t){var s,e;let h;null===(e=null===(s=this.mapInfo)||void 0===s?void 0:s.layerOptions)||void 0===e||e.layers.some((t=>{if(t.id===i)return h=t,!0}));const a=(null==h?void 0:h.fields)&&(null==h?void 0:h.fieldOrder)?h.fieldOrder.filter((i=>h.fields.indexOf(i)>-1)):void 0;let o;return t&&(o=h&&(null==h?void 0:h.fields)?t.reduce(((i,t)=>{if(h.fields.indexOf(t.name)>-1){const s={type:"field",fieldName:t.name,label:t.alias,menuConfig:this._getMenuConfig(t.name)};i.push(s)}return i}),[]).sort(this._sortFields.bind(this,null==h?void 0:h.fieldOrder)):t.map((i=>({type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)})))),a?null==o?void 0:o.sort(this._sortFields.bind(this,a)):o}_sortFields(i,t,s){return(null==i?void 0:i.indexOf(t.fieldName))-i.indexOf(s.fieldName)}_getMenuConfig(i){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(i)}}]}}_handleHideClick(i){this._columnsInfo[i]=!1,this._table.hideColumn(i),this._table.tableTemplate.columnTemplates.forEach((t=>{t.fieldName===i&&(t.visible=!1)}))}async _getTranslations(){const i=await a(this.el);this._translations=i[0]}get el(){return e(this)}static get watchers(){return{defaultOid:["defaultOidWatchHandler"],defaultGlobalId:["defaultGlobalIdWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],enableShare:["enableShareWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],mapHidden:["mapHiddenWatchHandler"],isMobile:["isMobileWatchHandler"],mapInfo:["mapInfoWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],selectedIds:["selectedIdsWatchHandler"]}}};f.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir="rtl"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}';const m=class{constructor(t){i(this,t),this.mapChanged=h(this,"mapChanged",7),this.beforeMapChanged=h(this,"beforeMapChanged",7),this._defaultWebmapHonored=!1,this._loadedId="",this.appProxies=void 0,this.defaultWebmapId="",this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableSingleExpand=!0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.mapView=void 0,this.stackTools=!0,this.theme=void 0,this.toolOrder=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0}enableHomeWatchHandler(){this._initHome()}async mapInfoChange(i){await this._loadMap(i.detail)}async componentWillLoad(){await this._initModules()}render(){var i,e;const h=this.hidden?"visibility-hidden-1":"",a="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",o=(null===(i=this.mapInfos)||void 0===i?void 0:i.length)>1?"":"display-none",l=(null===(e=this.mapInfos)||void 0===e?void 0:e.length)>1?"map-height":"height-full";return t(s,{key:"4f5c0cd408f92856ceb2ba281a02856064ef6a5a"},t("map-picker",{key:"f69742384dc5ba13bbf257592cc8c35de77590f0",class:o,mapInfos:this.mapInfos,ref:i=>this._mapPicker=i}),t("div",{key:"3ddddf3f674d49ae59fe627af1c67ec59718c9a3",class:`${l} ${h}`,ref:i=>this._mapDiv=i}),t("map-tools",{key:"6cb9518e74af0594ab6b657f0caec3598c250cb2",basemapConfig:this.basemapConfig,class:`box-shadow ${a}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableSingleExpand:this.enableSingleExpand,homeZoomToolsSize:this.homeZoomToolsSize,mapView:this.mapView,mapWidgetsSize:this.mapWidgetsSize,position:this.mapWidgetsPosition,ref:i=>this._mapTools=i,searchConfiguration:this._searchConfiguration,stackTools:this.stackTools,toolOrder:this.toolOrder}))}async _initModules(){const[i,t,s,e]=await o(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=i,this.MapView=t,this.Home=s,this.esriConfig=e}async _loadMap(i){var t;const s=!this._defaultWebmapHonored&&this.defaultWebmapId,e=null===(t=this.mapInfos)||void 0===t?void 0:t.filter((i=>i.id===this.defaultWebmapId)),h=JSON.stringify(i)!==JSON.stringify(this._webMapInfo);this._webMapInfo=s&&e?e[0]:!(null==i?void 0:i.id)&&this.mapInfos.length>0?this.mapInfos[0]:i;const a=this._webMapInfo.id,o=s&&(null==i?void 0:i.id)===this.defaultWebmapId;if(this._loadedId!==a&&!s||o){const i=new this.WebMap({portalItem:{id:a}});this.appProxies&&(await i.load(),await(l=i,n=this.esriConfig,d=this.appProxies,d&&d.forEach((i=>{l.allLayers.forEach((t=>{t&&t.url===i.sourceUrl&&(t.url=i.proxyUrl,t.portalItem&&t.portalItem.when((()=>{t.portalItem.url=i.proxyUrl})),n.request?.interceptors?.push({urls:i.sourceUrl,before:t=>{t.url&&t.url===i.sourceUrl&&(t.url=i.proxyUrl)}}))}))})),l)),this.mapView=new this.MapView({container:this._mapDiv,map:i,resizeAlign:"center"}),this._loadedId=a,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!o||this._defaultWebmapHonored,this.mapChanged.emit({id:a,mapView:this.mapView})}))}else s?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(a)):h&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:a,mapView:this.mapView}));var l,n,d}_initHome(){if(this.enableHome){this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});const i="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";this._homeWidget.domNode.style.height=i,this._homeWidget.domNode.style.width=i}else this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}get el(){return e(this)}static get watchers(){return{enableHome:["enableHomeWatchHandler"]}}};m.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 51px)}.height-full{height:100%}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}";export{b as card_manager,f as layer_table,m as map_card}
@@ -0,0 +1,12 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{h as n}from"./p-fa1ceaf9.js";import{g as t}from"./p-b64cc55e.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v2.8.2
11
+ */
12
+ const i=/firefox/i.test(t()),o=i?new WeakMap:null;function e(){const{disabled:n}=this;n||HTMLElement.prototype.click.call(this)}function c(n){const t=n.target;if(i&&!o.get(t))return;const{disabled:e}=t;e&&n.preventDefault()}const r=["mousedown","mouseup","click"];function u(n){const t=n.target;i&&!o.get(t)||t.disabled&&(n.stopImmediatePropagation(),n.preventDefault())}const s={capture:!0};function a(n){if(n.disabled)return n.el.setAttribute("aria-disabled","true"),n.el.contains(document.activeElement)&&document.activeElement.blur(),void f(n);l(n),n.el.removeAttribute("aria-disabled")}function f(n){if(n.el.click=e,i){const t=function(n){return n.el.parentElement||n.el}(n),i=o.get(n.el);return i!==t&&(p(i),o.set(n.el,t)),void d(o.get(n.el))}d(n.el)}function d(n){n&&(n.addEventListener("pointerdown",c,s),r.forEach((t=>n.addEventListener(t,u,s))))}function l(n){if(delete n.el.click,i)return p(o.get(n.el)),void o.delete(n.el);p(n.el)}function p(n){n&&(n.removeEventListener("pointerdown",c,s),r.forEach((t=>n.removeEventListener(t,u,s))))}function m(n){n.disabled&&i&&f(n)}function b(n){i&&l(n)}function v({disabled:t},i){return n("div",{class:"interaction-container",inert:t},...i)}export{v as I,m as c,b as d,a as u}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as s,g as e}from"./p-fa1ceaf9.js";const r=class{constructor(e){t(this,e),this.stateLoaded=s(this,"stateLoaded",7),this.value="",this.templates=[],this.authentication=void 0}connectedCallback(){this._initValueObserver()}render(){return null}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.some((t=>{const s=t.target[t.attributeName];if("attributes"===t.type&&"value"===t.attributeName&&s!==t.oldValue&&""!==s)return!0}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}get el(){return e(this)}};export{r as store_manager}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as e,c as t,h as o,g as i}from"./p-fa1ceaf9.js";import{c as n,d as s}from"./p-27c68097.js";import{y as a,g as c}from"./p-67b26725.js";import{s as l,a as r,c as d}from"./p-8ed6ce4d.js";import{c as h,d as f}from"./p-813d004f.js";import{c as g,d as p,s as m,u as b}from"./p-44bfa87d.js";import{K as k}from"./p-37e40c37.js";import{o as u}from"./p-ba569f8b.js";import{g as v}from"./p-e6e50975.js";import"./p-e6c9e6af.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-f50a294b.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v2.8.2
11
+ */const x="actions-end",w=class{constructor(o){e(this,o),this.calciteNoticeBeforeClose=t(this,"calciteNoticeBeforeClose",6),this.calciteNoticeBeforeOpen=t(this,"calciteNoticeBeforeOpen",6),this.calciteNoticeClose=t(this,"calciteNoticeClose",6),this.calciteNoticeOpen=t(this,"calciteNoticeOpen",6),this.setTransitionEl=e=>{this.transitionEl=e},this.close=()=>{this.open=!1},this.openTransitionProp="opacity",this.open=!1,this.kind="brand",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){u(this)}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=a(k,this.icon,this.kind)}connectedCallback(){n(this),h(this),g(this)}disconnectedCallback(){s(this),f(this),p(this)}async componentWillLoad(){l(this),this.requestedIcon=a(k,this.icon,this.kind),await m(this),this.open&&u(this)}componentDidLoad(){r(this)}render(){const{el:e}=this,t=o("button",{key:"d9a357639c0642a4d42f2f2355629f73df249d81","aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:e=>this.closeButton=e},o("calcite-icon",{key:"b4e41e831fec865817b05a5dce71a87fca960a27",icon:"x",scale:v(this.scale)})),i=c(e,x);return o("div",{key:"b43379f0a2af9bcf8996b9187aebaef9a4ddaee0",class:"container",ref:this.setTransitionEl},this.requestedIcon?o("div",{class:"notice-icon"},o("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:v(this.scale)})):null,o("div",{key:"49430154b557c731f7839ee5df9d99923a1a40be",class:"notice-content"},o("slot",{key:"7b79b569608fbe88a4ecdff6956880afecc0371e",name:"title"}),o("slot",{key:"4d829bfc1ecacd57d4141fac2f58c5ba7fd2401b",name:"message"}),o("slot",{key:"93ef84c9cef662ee0a4a16c779604cef85b2baa2",name:"link"})),i?o("div",{class:"actions-end"},o("slot",{name:x})):null,this.closable?t:null)}async setFocus(){await d(this);const e=this.el.querySelector("calcite-link");if(this.closeButton||e)return e?e.setFocus():void(this.closeButton&&this.closeButton.focus())}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}effectiveLocaleChange(){b(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return i(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};w.style=":host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-color-foreground-1);opacity:0;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.notice-close:active{background-color:var(--calcite-color-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-color:var(--calcite-color-status-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-color:var(--calcite-color-status-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-color-status-warning)}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_notice}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{h as t}from"./p-fa1ceaf9.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v2.8.2
11
+ */const e={width:12,height:6,strokeWidth:1},i=({floatingLayout:i,key:o,ref:r})=>{const{width:a,height:h,strokeWidth:s}=e,n=a/2,c="vertical"===i,d=`M0,0 H${a} L${a-n},${h} Q${n},${h} ${n},${h} Z`;return t("svg",{"aria-hidden":"true",class:"calcite-floating-ui-arrow",height:a,key:o,viewBox:`0 0 ${a} ${a+(c?0:s)}`,width:a+(c?s:0),ref:r},s>0&&t("path",{class:"calcite-floating-ui-arrow__stroke",d,fill:"none","stroke-width":s+1}),t("path",{d,stroke:"none"}))};export{i as F}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as e,f as t,h as i,g as n,c as s}from"./p-fa1ceaf9.js";import{g as a,m as l,s as o,i as c,a as d,z as r,n as p,l as h,o as v,u as g,p as u,q as f}from"./p-bf27cd5f.js";import{l as m}from"./p-d029b513.js";import"./p-8c6d9b5a.js";import"./p-c4160bf7.js";const y=class{constructor(t){e(this,t),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){var e;this.expanded=!!(null===(e=this.layerCaption)||void 0===e?void 0:e.expanded)}async componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0})}render(){return i("div",{key:"347429a5b44b2cbb215713a0ffa5cc9533adac89",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:"esri-legend__service esri-legend__group-layer"},i("instant-apps-interactive-legend-layer-element-caption",{key:"cf6409b157fe2a5baffd2577666a134a58ef7321",ref:e=>this.layerCaption=e,class:a(this.el),legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:this.isChild}),i("div",{key:"4c8700da38ae2ede931e9c397f1d23c22288f72e",class:"esri-legend__group-content "+(!1===this.expanded?"hide":"show")},i("slot",{key:"584858e5a6c140166588e73f372af42758bccaa7",name:"content"})))}get el(){return n(this)}};y.style=".sc-instant-apps-interactive-legend-group-legend-element-h{display:block}.sc-instant-apps-interactive-legend-group-legend-element-h .esri-legend__service.sc-instant-apps-interactive-legend-group-legend-element{margin:0;padding:0}.sc-instant-apps-interactive-legend-group-legend-element-h .hide.sc-instant-apps-interactive-legend-group-legend-element{display:none}";const b=class{constructor(t){e(this,t),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=void 0,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=this.layerCaption.expanded}componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0})}render(){var e,t;return i("div",{key:"56adcd33aa0f6b227c5082ad717faee2a33af287",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:"esri-legend__service"+(this.activeLayerInfo.parent?" esri-legend__group-layer-child":""),tabIndex:0},i("instant-apps-interactive-legend-layer-element-caption",{key:"b07bd777b0b5cf9e2b179fafda9035cfdf744744",ref:e=>this.layerCaption=e,legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:!!this.isChild,class:a(this.el)}),i("div",{key:"d6d93b431e5c431c99a277aaa904721c80432aa1",id:`${null===(t=null===(e=this.activeLayerInfo)||void 0===e?void 0:e.layer)||void 0===t?void 0:t.id}-legend-layer`,class:"esri-legend__layer"+(!1===this.expanded?" hide":" show")},i("slot",{key:"8d52728f213df6f2bcf5d580ecd5fa945caf439e",name:"content"})))}get el(){return n(this)}};b.style=".sc-instant-apps-interactive-legend-layer-element-h{display:block}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__service.sc-instant-apps-interactive-legend-layer-element{padding:0}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-layer-element{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-layer-element-h .hide.sc-instant-apps-interactive-legend-layer-element{display:none}";const _=class{constructor(t){e(this,t),this.activeLayerInfo=void 0,this.isSizeRamp=void 0,this.isChild=void 0,this.isColorRamp=void 0,this.isRelationshipRamp=void 0,this.isInteractive=void 0,this.zoomTo=void 0,this.legendElement=void 0,this.titleText=void 0,this.legendvm=void 0,this.legendElementIndex=void 0,this.messages=void 0,this.expanded=!0}legendLayerExpandUpdatedEmitted(){this.expanded=this.legendLayerCaption.expanded}render(){var e,t,n,s,a,c,d,r,p;const h=this.isChild?"esri-legend__layer-child-table":"esri-legend__layer-table",v=1===(null===(t=null===(e=this.legendElement)||void 0===e?void 0:e.infos)||void 0===t?void 0:t.length)&&!(null===(a=null===(s=null===(n=this.activeLayerInfo)||void 0===n?void 0:n.layer)||void 0===s?void 0:s.renderer)||void 0===a?void 0:a.field),g=!this.isSizeRamp&&this.isChild||this.isColorRamp?"":" esri-legend__layer-table--size-ramp",u=this.isInteractive?"":" instant-apps-interactive-legend__non-interactive",f=l(this.activeLayerInfo)?" instant-apps-interactive-legend__nested-unique-symbol":"";let m=!(!v||this.expanded||this.zoomTo)||this.expanded;return this.isRelationshipRamp&&(m=o.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id]),i("div",{key:"5c99e93f4795be0085f06b69b401e54730d41030",class:`${h}${g}${u}${f}`},i("div",{key:"56a99ba823ffb4263ca5b38ce3f2e619fff3932e",id:`${null===(d=null===(c=this.activeLayerInfo)||void 0===c?void 0:c.layer)||void 0===d?void 0:d.id}-legend-element-caption`,class:this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&v?"hide":"show"},i("instant-apps-interactive-legend-legend-element-caption",{key:"c138a76da1ac241049f1f74fc78dd3a26be5859f",ref:e=>this.legendLayerCaption=e,legendvm:this.legendvm,activeLayerInfo:this.activeLayerInfo,layer:this.activeLayerInfo.layer,titleText:this.titleText,legendElement:this.legendElement,legendElementIndex:this.legendElementIndex,zoomTo:this.zoomTo,isInteractive:this.isInteractive,messages:this.messages})),i("div",{key:"content",id:`${null===(p=null===(r=this.activeLayerInfo)||void 0===r?void 0:r.layer)||void 0===p?void 0:p.id}-legend-element-content-${this.legendElementIndex}`,class:!1===m?"hide":"show"},i("slot",{key:"d4b29e3591f026b880c4b859a47bcbc3e3b11ced",name:"content"})))}};_.style=".sc-instant-apps-interactive-legend-legend-element-h{display:block}.sc-instant-apps-interactive-legend-legend-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-legend-element,.sc-instant-apps-interactive-legend-legend-element-h .instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-legend-element{margin:0}.sc-instant-apps-interactive-legend-legend-element-h .hide.sc-instant-apps-interactive-legend-legend-element{display:none}";const L=class{constructor(t){e(this,t),this.showAllSelectedEvent=s(this,"showAllSelected",7),this.legendLayerExpandUpdatedEvent=s(this,"legendLayerExpandUpdated",7),this.legendvm=void 0,this.activeLayerInfo=void 0,this.layer=void 0,this.titleText=void 0,this.legendElementIndex=void 0,this.zoomTo=void 0,this.isInteractive=void 0,this.legendElement=void 0,this.expanded=!0,this.messages=void 0}render(){var e,t,n,s;const a=l(this.activeLayerInfo),o=p(this.activeLayerInfo),{expanded:c}=this;return a&&!this.titleText?null:i("div",{class:"esri-legend__layer-caption"},i("calcite-action",{onClick:this.toggleExpanded(),icon:!1===c?"chevron-up":"chevron-down",appearance:"transparent",text:!1===c?null===(e=this.messages)||void 0===e?void 0:e.expand:null===(t=this.messages)||void 0===t?void 0:t.collapse,label:!1===c?null===(n=this.messages)||void 0===n?void 0:n.expand:null===(s=this.messages)||void 0===s?void 0:s.collapse,scale:"s"}),this.isInteractive||o?this.renderLegendElementCaptionControls():null,this.titleText?i("span",{class:"instant-apps-interactive-legend__legend-layer-caption-text",title:this.titleText},this.titleText):null)}renderLegendElementCaptionControls(){var e,t,n,s,a,l,o,d,r,p;const h=this.titleText?"":" instant-apps-interactive-legend__layer-caption-btn-container--no-text",v=(null===(s=null===(n=null===(e=c.data)||void 0===e?void 0:e[null===(t=this.layer)||void 0===t?void 0:t.id])||void 0===n?void 0:n.categories)||void 0===s?void 0:s.size)>1?i("calcite-button",{key:"show-all-button",id:"showAll",onClick:this.handleShowAll(),"icon-start":"list-check-all",appearance:"outline",round:!0,label:null===(a=this.messages)||void 0===a?void 0:a.showAll}):null,g=i("calcite-button",{key:"zoom-to-button",id:"zoomTo",onClick:this.handleZoomTo(),"icon-start":"magnifying-glass-plus",appearance:"outline",round:!0,label:null===(l=this.messages)||void 0===l?void 0:l.zoomTo});return i("div",{key:"layer-caption-btn-container",class:`instant-apps-interactive-legend__layer-caption-btn-container${h}`},v,i("calcite-tooltip",{"reference-element":"showAll",placement:"top",label:null===(o=this.messages)||void 0===o?void 0:o.showAll},null===(d=this.messages)||void 0===d?void 0:d.showAll),this.zoomTo?[g,i("calcite-tooltip",{"reference-element":"zoomTo",placement:"top",label:null===(r=this.messages)||void 0===r?void 0:r.zoomTo},null===(p=this.messages)||void 0===p?void 0:p.zoomTo)]:null)}toggleExpanded(){return()=>{var e,t;this.expanded=!this.expanded,this.legendLayerExpandUpdatedEvent.emit(),(null===(t=null===(e=this.activeLayerInfo)||void 0===e?void 0:e.legendElements)||void 0===t?void 0:t.filter((e=>"relationship-ramp"===e.type))).length>0&&o.set("relationshipRampExpandStates",Object.assign(Object.assign({},c.relationshipRampExpandStates),{[this.activeLayerInfo.layer.id]:this.expanded}))}}handleZoomTo(){return()=>{const e=h(this.layer),t=d(e,this.legendElement);r(e,this.legendvm.view,t)}}handleShowAll(){return()=>{var e,t;const i=null===(e=c.data)||void 0===e?void 0:e[null===(t=this.layer)||void 0===t?void 0:t.id];d(i,this.legendElement)?(()=>{const e=v(i,this.legendElement.title);g({intLegendLayerData:e,layerId:this.layer.id})})():((()=>{const e=u(i);g({intLegendLayerData:e,layerId:this.layer.id})})(),this.showAllSelectedEvent.emit())}}get el(){return n(this)}};L.style=".sc-instant-apps-interactive-legend-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{white-space:nowrap}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption calcite-button.sc-instant-apps-interactive-legend-legend-element-caption{margin:2px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight);padding:var(--instant-apps-interactive-legend-ui-padding)}html[dir=rtl] .sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:unset;margin-right:20px}";const $=".esri-relationship-ramp--diamond__middle-column--ramp svg g",k=class{constructor(t){e(this,t),this.cellNodeCounter=0,this.filterMode=void 0,this.activeLayerInfo=void 0,this.legendElement=void 0,this.messages=void 0}applyInteractivity(){this.applyRelationshipRampInteractivity()}showAllSelectedEmitted(){const e=0===c.data[this.activeLayerInfo.layer.id].queryExpressions.length,t=this.relationshipRamp.querySelector($).children,i=t?Array.from(t):null;e&&(null==i||i.forEach((e=>{e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.classList.remove("esri-interactive-legend--selected-cell")})))}async componentWillLoad(){const[e]=await m(["esri/symbols/support/symbolUtils"]);this.symbolUtils=e}render(){var e,t;return i("div",{key:"a3427fc452afc75183a7249568914149089a7539",ref:e=>{if(!(null==e?void 0:e.querySelector("relationshipStyles"))){const t=document.createElement("style");t.id="relationshipStyles",t.innerHTML="\n rect:hover {\n cursor: pointer;\n opacity: 0.8;\n }\n ",null==e||e.appendChild(t)}}},i("span",{key:"e4cd263043d0adb199588487438596b4fdb2e51f",class:"instant-apps-interactive-legend-relationship__instructional-text"},null===(t=null===(e=this.messages)||void 0===e?void 0:e.relationship)||void 0===t?void 0:t.instructionalText),this.renderRelationshipRamp())}renderRelationshipRamp(){var e;const t=(null===(e=this.activeLayerInfo)||void 0===e?void 0:e.layer).renderer,n=this.symbolUtils.renderRelationshipRampPreviewHTML(t);return i("div",{ref:e=>{this.relationshipRamp=e,this.applyRelationshipRampInteractivity()},key:"relationship-ramp-diamond",innerHTML:`${null==n?void 0:n.outerHTML}`})}applyRelationshipRampInteractivity(){if(!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&c.data))return;let e=setInterval((()=>{const t=this.relationshipRamp.querySelector($);t&&(clearInterval(e),this.setupRelationshipDrawingStyle(t.children))}),10)}setupRelationshipDrawingStyle(e){const t=e?Array.from(e):null;if(!t)return;t.map(((e,t)=>{var i,n;const s=(null===(n=null===(i=this.activeLayerInfo)||void 0===i?void 0:i.layer)||void 0===n?void 0:n.renderer).uniqueValueInfos;if(s[t]){const i=s[t].symbol.color;s.forEach(((t,n)=>{const s=t.symbol.color;i.r===s.r&&i.g===s.g&&i.b===s.b&&i.a===s.a&&this.setCellAttributes(e,n)})),e.classList.add("esri-interactive-legend__svg-rect-element")}}));const i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){const i=this.activeLayerInfo.layer.renderer.uniqueValueInfos,n=this.generateIndexPattern(t);i[n]&&(e.setAttribute("data-color",`${i[n].symbol.color}`),e.setAttribute("data-cell-index",`${n}`),e.setAttribute("tabindex","0"))}generateIndexPattern(e){const{focus:t,numClasses:i}=this.legendElement;return"HL"===t?e:2===i?this.twoClasses(e,t):3===i?this.threeClasses(e,t):4===i?this.fourClasses(e,t):null}twoClasses(e,t){return"HH"===t||null===t?0===e||2===e?e+1:1===e||3===e?e-1:null:"LH"===t?0===e?e+3:1===e?e+1:2===e?e-1:3===e?e-3:4===e?e+0:null:"LL"===t?0===e||1===e?e+2:2===e||3===e?e-2:null:void 0}threeClasses(e,t){return"HH"===t||null===t?0===e||3===e||6===e?e+2:2===e||5===e||8===e?e-2:e:"LH"===t?0===e?e+8:1===e?e+6:2===e?e+4:3===e?e+2:5===e?e-2:6===e?e-4:7===e?e-6:8===e?e-8:e:"LL"===t?0===e||1===e||2===e?e+6:6===e||7===e||8===e?e-6:e:void 0}fourClasses(e,t){return"HH"===t||null===t?0===e||4===e||8===e||12===e?e+3:1===e||5===e||9===e||13===e?e+1:2===e||6===e||10===e||14===e?e-1:3===e||7===e||11===e||15===e?e-3:null:"LH"===t?0===e?e+15:1===e?e+13:2===e?e+11:3===e?e+9:4===e?e+7:5===e?e+5:6===e?e+3:7===e?e+1:8===e?e-1:9===e?e-3:10===e?e-5:11===e?e-7:12===e?e-9:13===e?e-11:14===e?e-13:15===e?e-15:null:"LL"===t?0===e||1===e||2===e||3===e?e+12:4===e||5===e||6===e||7===e?e+4:8===e||9===e||10===e||11===e?e-4:12===e||13===e||14===e||15===e?e-12:null:void 0}reorderCellNodes(e){const t=[];for(;this.cellNodeCounter<=e.length-1;)e.map((e=>{parseInt(e.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(e)})),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){const{focus:t,numClasses:i}=this.legendElement;"HH"===t||null===t?this.relationshipFocusIsHighHigh(e,i):"LL"===t?this.relationshipFocusIsLowLow(e,i):"LH"===t?this.relationshipFocusIsLowHigh(e,i):"HL"===t&&this.relationshipFocusIsHighLow(e,i),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let i=t-1;i>=0;i--)for(let n=t-1;n>=0;n--)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let i=0;i<t;i++)for(let n=0;n<t;n++)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let i=0;i<t;i++)for(let n=t-1;n>=0;n--)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let i=t-1;i>=0;i--)for(let n=0;n<t;n++)this.setDataAttributes(e,n,i,t),this.cellNodeCounter++}setDataAttributes(e,t,i,n){const s=e[this.cellNodeCounter];2===n?this.twoClassAttributes(s,t,i):3===n?this.threeClassAttributes(s,t,i):this.fourClassAttributes(s,t,i)}twoClassAttributes(e,t,i){const{legendElement:n}=this;"HL"===n.focus?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i)}threeClassAttributes(e,t,i){const{legendElement:n}=this;1===this.cellNodeCounter||3===this.cellNodeCounter||5===this.cellNodeCounter||7===this.cellNodeCounter?"HL"===n.focus?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):"HL"!==n.focus?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}fourClassAttributes(e,t,i){const{legendElement:n}=this,{focus:s}=n;1===this.cellNodeCounter||2===this.cellNodeCounter||4===this.cellNodeCounter||5===this.cellNodeCounter||7===this.cellNodeCounter||8===this.cellNodeCounter||10===this.cellNodeCounter||11===this.cellNodeCounter||13===this.cellNodeCounter||14===this.cellNodeCounter?"HL"===s?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):"HL"!==s?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}setDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${i}`),this.setDataCellFocus(e,t,i)}swapDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${i}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocus(e,i,t)}setDataCellFocus(e,t,i){const{numClasses:n}=this.legendElement;2===n?this.setDataCellFocusForTwoClasses(e,t,i):3===n?this.setDataCellFocusForThreeClasses(e,t,i):4===n&&this.setDataCellFocusForFourClasses(e,t,i)}setDataCellFocusForTwoClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","HL"):1===t&&1===i&&e.setAttribute("data-cell-focus","HH")}setDataCellFocusForThreeClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LM"):0===t&&2===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","ML"):1===t&&1===i?e.setAttribute("data-cell-focus","MM"):1===t&&2===i?e.setAttribute("data-cell-focus","MH"):2===t&&0===i?e.setAttribute("data-cell-focus","HL"):2===t&&1===i?e.setAttribute("data-cell-focus","HM"):2===t&&2===i&&e.setAttribute("data-cell-focus","HH")}setDataCellFocusForFourClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LM1"):0===t&&2===i?e.setAttribute("data-cell-focus","LM2"):0===t&&3===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","M1L"):1===t&&1===i?e.setAttribute("data-cell-focus","M1M1"):1===t&&2===i?e.setAttribute("data-cell-focus","M1M2"):1===t&&3===i?e.setAttribute("data-cell-focus","M1H"):2===t&&0===i?e.setAttribute("data-cell-focus","M2L"):2===t&&1===i?e.setAttribute("data-cell-focus","M2M1"):2===t&&2===i?e.setAttribute("data-cell-focus","M2M2"):2===t&&3===i?e.setAttribute("data-cell-focus","M2H"):3===t&&0===i?e.setAttribute("data-cell-focus","HL"):3===t&&1===i?e.setAttribute("data-cell-focus","HM1"):3===t&&2===i?e.setAttribute("data-cell-focus","HM2"):3===t&&3===i&&e.setAttribute("data-cell-focus","HH")}applyEventHandlers(){const e=document.querySelectorAll(".esri-interactive-legend__svg-rect-element");Array.from(e).map((e=>{const t=e.getAttribute("data-feature-i"),i=e.getAttribute("data-feature-j"),n=e.getAttribute("data-cell-focus");e.onclick=()=>{this.handleFilter(t,i,n),this.handleSelectedElement(e)},e.onkeydown=s=>{const{key:a}=s;("Enter"===a||"Space"===a)&&(this.handleFilter(t,i,n),this.handleSelectedElement(e))}}))}async handleFilter(e,t,i){var n,s,a,l,o;const d=this.activeLayerInfo.layer,{authoringInfo:r}=d.renderer,{field1:p,field2:h}=r,{queryExpressions:v,fLayerView:g}=c.data[this.activeLayerInfo.layer.id];if("relationship-ramp"===this.legendElement.type&&r&&p&&h){const c=this.generateExpressionParams(p,h,r,e,t,i),d=this.generateExpressionForRelationship(c);0===v.length?v[0]=d:-1===v.indexOf(d)?v.push(d):v.splice(v.indexOf(d),1);const u=v.join(" OR "),y=null!==(s=null===(n=null==g?void 0:g.filter)||void 0===n?void 0:n.timeExtent)&&void 0!==s?s:null,[b,_]=await m(["esri/layers/support/FeatureFilter","esri/layers/support/FeatureEffect"]);if("filter"===(null===(a=this.filterMode)||void 0===a?void 0:a.type))g.filter=new b({where:u,timeExtent:(null===(l=null==g?void 0:g.filter)||void 0===l?void 0:l.timeExtent)?g.filter.timeExtent:null});else if(null===(o=this.filterMode)||void 0===o?void 0:o.effect){const{includedEffect:e,excludedEffect:t}=this.filterMode.effect,i=await f(t,g,"excludedEffect"),n=await f(e,g,"includedEffect");g.featureEffect=new _({filter:new b({where:u,timeExtent:y}),includedEffect:n,excludedEffect:i})}}}generateExpressionParams(e,t,i,n,s,a){const l=[],o=e.field,c=t.field,d=e.classBreakInfos,r=t.classBreakInfos,p=i.field1.hasOwnProperty("normalizationField")?i.field1.normalizationField:null,h=i.field2.hasOwnProperty("normalizationField")?i.field2.normalizationField:null;return d.forEach(((e,t)=>{const i=[];r.forEach(((e,n)=>{i.push([d[t],r[n]])})),l.push(i)})),{data:l,i:n,j:s,field1:p?`(${o}/${p})`:`${o}`,field2:h?`(${c}/${h})`:`${c}`,focus:a}}generateExpressionForRelationship(e){const{focus:t,field1:i,field2:n,data:s,i:a,j:l}=e;return"LL"===t?`${i} >= ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} >= ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`:"LM"===t||"LM1"===t||"LM2"===t||"LH"===t?`${i} >= ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} > ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`:"ML"===t||"M1L"===t||"M2L"===t||"HL"===t?`${i} > ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} >= ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`:`${i} > ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} > ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`}handleSelectedElement(e){const t=e.classList;t.contains("esri-interactive-legend--selected-cell")?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),t.remove("esri-interactive-legend--selected-cell")):(t.add("esri-interactive-legend--selected-cell"),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"))}};k.style=".sc-instant-apps-interactive-legend-relationship-h{display:block}.sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark .sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{background-color:var(--calcite-color-brand);color:#151515}";export{y as instant_apps_interactive_legend_group_legend_element,b as instant_apps_interactive_legend_layer_element,_ as instant_apps_interactive_legend_legend_element,L as instant_apps_interactive_legend_legend_element_caption,k as instant_apps_interactive_legend_relationship}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as e,h as t,g as s}from"./p-fa1ceaf9.js";import{c as a,u as i,d as c,I as o}from"./p-9c6c056a.js";import"./p-b64cc55e.js";const d=class{constructor(t){e(this,t),this.disabled=!1,this.layout="horizontal"}connectedCallback(){a(this)}componentDidRender(){i(this)}disconnectedCallback(){c(this)}render(){return t(o,{key:"eb2fc818dec5f2f97b4e19c4aabb7a2c6ca37bc2",disabled:this.disabled},t("slot",{key:"4a421944031b9e192b4e51b02349be6ed9ed79ef"}))}get el(){return s(this)}};d.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-block-end:1px;margin-inline-end:1px}:host([layout=vertical]){flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";export{d as calcite_tile_select_group}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as e,h as i,g as n}from"./p-fa1ceaf9.js";import{g as o}from"./p-b85be429.js";import{c as a,d as c,u as l,I as s}from"./p-9c6c056a.js";import{c as r,s as d,a as h}from"./p-8ed6ce4d.js";import"./p-b64cc55e.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v2.8.2
11
+ */const u="description",p="description-only",b="heading",g="heading-only",f="icon",m="icon-only",v="input-alignment-end",x="input-alignment-start",k="input-enabled",y="large-visual",w="tile",z="tile--large-visual",C="width-auto",B="width-full",H=class{constructor(i){t(this,i),this.calciteTileSelectChange=e(this,"calciteTileSelectChange",6),this.guid=`calcite-tile-select-${o()}`,this.checked=!1,this.description=void 0,this.disabled=!1,this.heading=void 0,this.icon=void 0,this.iconFlipRtl=!1,this.name=void 0,this.inputEnabled=!1,this.inputAlignment="start",this.type="radio",this.value=void 0,this.width="auto",this.focused=!1}checkedChanged(t){this.input.checked=t}nameChanged(t){this.input.name=t}async setFocus(){var t;return await r(this),null===(t=this.input)||void 0===t?void 0:t.setFocus()}checkboxChangeHandler(t){const e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}checkboxFocusBlurHandler(t){t.target===this.input&&(this.focused=t.detail),t.stopPropagation()}radioButtonChangeHandler(t){const e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}radioButtonCheckedChangeHandler(t){const e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation()}radioButtonFocusBlurHandler(t){const e=t.target;e===this.input&&(this.focused=e.focused),t.stopPropagation()}clickHandler(t){this.disabled||["calcite-tile","calcite-tile-select"].includes(t.target.localName)&&this.input.click()}pointerEnterHandler(){if(this.disabled)return;const{localName:t}=this.input;"calcite-radio-button"!==t&&"calcite-checkbox"!==t||(this.input.hovered=!0)}pointerLeaveHandler(){if(this.disabled)return;const{localName:t}=this.input;"calcite-radio-button"!==t&&"calcite-checkbox"!==t||(this.input.hovered=!1)}connectedCallback(){this.renderInput(),a(this)}componentWillLoad(){d(this)}componentDidLoad(){h(this)}disconnectedCallback(){this.input.parentNode.removeChild(this.input),c(this)}componentDidRender(){l(this)}renderInput(){this.input="radio"===this.type?document.createElement("calcite-radio-button"):document.createElement("calcite-checkbox"),this.input.checked=this.checked,this.input.disabled=this.disabled,this.input.hidden=this.el.hidden,this.input.id=this.guid,this.input.label=this.heading||this.name||"",this.name&&(this.input.name=this.name),this.value&&(this.input.value=null!=this.value?this.value.toString():""),this.el.insertAdjacentElement("beforeend",this.input)}render(){const{checked:t,description:e,disabled:n,focused:o,heading:a,icon:c,inputAlignment:l,inputEnabled:r,width:d,iconFlipRtl:h}=this,H=a&&c&&!e,j=Boolean(c);return i(s,{key:"cb72da1fece66ab2a4c24aec61a924c81a3be406",disabled:n},i("div",{key:"f8abb79474c9939a05485a447fcd94754472eeaa",class:{checked:t,container:!0,[u]:Boolean(e),[p]:Boolean(!a&&!c&&e),disabled:n,focused:o,[b]:Boolean(a),[g]:a&&!c&&!e,[f]:j,[m]:!a&&c&&!e,[v]:"end"===l,[x]:"start"===l,[k]:r,[y]:H,[C]:"auto"===d,[B]:"full"===d}},i("div",{key:"cada0a6b11dc4a65f0ae444445d39ae7e058f589",class:{[w]:!0,[z]:H}},c&&i("div",{key:"d26d5b02a707cb453d26ffeb41f1baf4c7f861bf",class:{[f]:j}},i("calcite-icon",{key:"690d7789c359fc50dff1382dffa134f4d338afa5",flipRtl:h,icon:c,scale:"l"})),i("div",{key:"c01eb4ce2a7904987f6af65334f3418ed46be72d",class:"tile-content-container"},i("div",{key:"e6374efec4daf4330ea74e10f1490fa33a1231dd",class:"tile-content"},a&&i("div",{key:"5790d802a61bac534ffe8dd095b14fb42f612154",class:"tile-heading"},a),e&&i("div",{key:"7fca63ab5fe57d12d510bcc72a26fa8306628c57",class:"tile-description"},e)))),i("slot",{key:"6587a274607d033c86e7ece20004f755343f5f9d"})))}get el(){return n(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};H.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host .container{background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 1px var(--calcite-color-border-2);box-sizing:border-box;cursor:pointer;display:inline-block;block-size:100%;max-inline-size:300px;padding:0.75rem;position:relative;vertical-align:top;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host .container.checked{z-index:var(--calcite-z-index);box-shadow:0 0 0 1px var(--calcite-color-brand)}:host .container.heading-only{align-items:center}:host .container:not(.input-enabled) ::slotted(calcite-checkbox),:host .container:not(.input-enabled) ::slotted(calcite-radio-button){position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host .container.focused{outline-color:transparent}:host .container.focused:not(.disabled):not(.input-enabled){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n );outline-offset:-4px;box-shadow:0 0 0 1px var(--calcite-color-brand), inset 0 0 0 2px var(--calcite-color-foreground-1)}:host .container.input-enabled.input-alignment-start.width-auto.heading-only,:host .container.input-enabled.input-alignment-start.width-auto.icon-only,:host .container.input-enabled.input-alignment-start.width-auto.description-only,:host .container.input-enabled.input-alignment-start.width-auto.heading.description,:host .container.input-enabled.input-alignment-start.width-auto.icon.description,:host .container.input-enabled.input-alignment-start.width-auto.heading.icon.description{display:inline-grid;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-start.heading-only,:host .container.input-enabled.input-alignment-start.icon-only,:host .container.input-enabled.input-alignment-start.description-only,:host .container.input-enabled.input-alignment-start.heading.description,:host .container.input-enabled.input-alignment-start.icon.description,:host .container.input-enabled.input-alignment-start.heading.icon.description{gap:0.75rem}:host .container.input-enabled.input-alignment-start .tile{order:1}:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-start:0.75rem}:host .container.input-enabled.input-alignment-end.width-auto.heading-only,:host .container.input-enabled.input-alignment-end.width-auto.icon-only{display:inline-grid;grid-gap:0.75rem;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-end.heading-only,:host .container.input-enabled.input-alignment-end.icon-only{gap:0.75rem}:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.width-full{display:flex;max-inline-size:none}:host .container.width-full .tile{flex:1 1 auto}.tile{pointer-events:none;box-sizing:border-box;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-direction:column;gap:0.5rem;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.tile-content-container{display:flex;inline-size:100%;align-items:stretch;padding:0px;color:var(--calcite-color-text-2);outline-color:transparent}.tile-content{display:flex;flex:1 1 auto;flex-direction:column;gap:0.5rem;inline-size:10%}.tile-heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.tile-description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.tile--large-visual{display:grid;justify-content:center;text-align:center;min-block-size:12rem}.tile--large-visual .icon{align-self:flex-end}.tile--large-visual calcite-icon{block-size:64px;inline-size:64px}.tile--large-visual .tile-content-container{align-self:center}:host(:hover) .container:not(.input-enabled){box-shadow:0 0 0 1px var(--calcite-color-brand)}:host(:hover) .tile-heading,.checked .tile-heading{color:var(--calcite-color-text-1)}:host(:hover) .tile-description,.checked .tile-description{color:var(--calcite-color-text-2)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";export{H as calcite_tile_select}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as e,h as i,H as a,g as s}from"./p-fa1ceaf9.js";import{s as c}from"./p-946ee345.js";import{g as l}from"./p-c9b22653.js";import{n}from"./p-1d369231.js";import"./p-8c6d9b5a.js";import"./p-c1cf3ebc.js";import"./p-d27ab863.js";import"./p-c4160bf7.js";import"./p-a230b270.js";import"./p-7996f123.js";const r=class{constructor(i){t(this,i),this.solutionItemSelected=e(this,"solutionItemSelected",7),this.selectedItemId=void 0,this.templateHierarchy=[]}valueWatchHandler(t,e){t&&t!==e&&Array.isArray(t)&&t.length>0&&this._treeItemSelected(t[0].id)}componentWillLoad(){this.valueWatchHandler(this.templateHierarchy,[])}render(){return i(a,{key:"7546d1fe9d944520db9f8f81600fb7cf0655f1ab"},i("calcite-tree",{key:"94bea7616cd3bdbb9fbcaddd49bb394e11bcf88b"},this.renderHierarchy(this.templateHierarchy)))}renderHierarchy(t){return t.map((t=>{const e=this.selectedItemId&&this.selectedItemId===t.id;return t.dependencies&&t.dependencies.length>0?i("calcite-tree-item",{onClick:e=>this._treeItemSelected(t.id,e),selected:e},i("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),i("span",{class:"icon-text",title:t.title},t.title),i("calcite-tree",{slot:"children"},this.renderHierarchy(t.dependencies))):i("calcite-tree-item",{onClick:e=>this._treeItemSelected(t.id,e),selected:e},i("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),i("span",{class:"icon-text",title:t.title},t.title))}))}_treeItemSelected(t,e){var i;const a=null===(i=null==e?void 0:e.target)||void 0===i?void 0:i.closest("calcite-tree-item");a&&(a.expanded=!(null==a?void 0:a.expanded)),this.selectedItemId=t,this.solutionItemSelected.emit(t)}static get assetsDirs(){return["item-type-icons"]}get el(){return s(this)}static get watchers(){return{templateHierarchy:["valueWatchHandler"]}}};r.style=".icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const o=class{constructor(e){t(this,e),this.authentication=void 0,this.itemId="",this.solutionVariables="",this.organizationVariables="",this.itemType=void 0,this._translations=void 0}itemIdWatchHandler(){const t=c.getItemInfo(this.itemId);this.itemType=t.type}async componentWillLoad(){return this._getTranslations()}render(){return i(a,{key:"46215591e1f5c87fc30b116fbeeeef5e7eb29b19"},i("div",{key:"dbcb49c592eca9f30b44fb3e8a35d0433ed517d3",class:"configuration-container"},i("div",{key:"9f97e7c2a6a912f3d57d1bc840cab02d13860da2",class:"configuration"},this._showGroupTabs("Group"===this.itemType),this._showItemTabs("Group"!==this.itemType))))}_showGroupTabs(t){return i("calcite-tabs",{class:"config-tabs",style:{display:t?"inherit":"none"}},i("calcite-tab-nav",{slot:"tab-nav"},i("calcite-tab-title",null,this._translations.groupDetailsTab),i("calcite-tab-title",null,this._translations.sharingTab)),i("calcite-tab",{class:"config-tab",id:"group-tab",selected:!0},i("solution-item-details",{"item-id":this.itemId})),i("calcite-tab",{class:"config-tab",id:"share-tab"},i("solution-item-sharing",{"group-id":this.itemId})))}_showItemTabs(t){return i("calcite-tabs",{class:"config-tabs",style:{display:t?"inherit":"none"}},i("calcite-tab-nav",{slot:"tab-nav"},i("calcite-tab-title",null,this._translations.itemDetailsTab),i("calcite-tab-title",null,this._translations.dataTab),i("calcite-tab-title",null,this._translations.propertiesTab),i("calcite-tab-title",null,this._translations.resourcesTab)),i("calcite-tab",{class:"config-tab",selected:!0},i("solution-item-details",{"item-id":this.itemId})),i("calcite-tab",{class:"config-tab",id:"data-tab"},i("solution-template-data",{instanceid:"data","item-id":this.itemId,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),i("calcite-tab",{class:"config-tab",id:"props-tab"},i("solution-template-data",{instanceid:"properties","item-id":this.itemId,"organization-variables":this.organizationVariables,"solution-variables":this.solutionVariables})),i("calcite-tab",{class:"config-tab",id:"resources-tab"},i("solution-resource-item",{authentication:this.authentication,class:"solutions-resource-container","item-id":this.itemId})))}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};o.style=".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%;overflow-y:auto;height:inherit}";const d=class{constructor(i){t(this,i),this.featureServiceSpatialReferenceChange=e(this,"featureServiceSpatialReferenceChange",7),this.lockedSpatialReferenceChange=e(this,"lockedSpatialReferenceChange",7),this.defaultWkid=102100,this.loaded=!1,this.locked=!0,this.services=[],this.value=this.defaultWkid.toString(),this._srSearchText=void 0,this._translations=void 0}lockedChanged(t){t||this._setFeatureServiceDefaults(this.services),this.lockedSpatialReferenceChange.emit({locked:t})}componentWillLoad(){return this._getTranslations()}render(){return i(a,{key:"2a12d415e9408b646365ace8e3e82138be70f343"},i("div",{key:"f58d6782ac4065f67dd0205271b05d4c0c31d8dc",class:"spatial-ref"},i("div",{key:"5267f203f1c63c5e900b0ead8798f3561d225d42",class:"spatial-ref-desc"},i("calcite-label",{key:"1183f8ee9274be1980dc889ca52f5d0c6a6994af"},this._translations.paramDescription)),i("label",{key:"5367f57784a20501505b0e9cfdd345a8de3fce93",class:"switch-label"},i("calcite-switch",{key:"2d79a69e64f28b6e2aeed52b0b0aa4034ebb6c57",checked:!this.locked,class:"spatial-ref-switch",onCalciteSwitchChange:t=>this._updateLocked(t),scale:"m"}),this._translations.specifyParam),i("div",{key:"60ab36865749f4c59798bf51ff1b5264a3eeeefc",class:"spatial-ref-component",id:"spatialRefDefn"},i("calcite-label",{key:"bc0b446d1f7b0a62f49b579ac0e5f8da33531ed9"},this._translations.spatialReferenceInfo,i("label",{key:"5f2135d975e2254429c8d6a14fe2f2a91fdc3fb9",class:"spatial-ref-default"},i("spatial-ref",{key:"be7c105e3cebba4eed80c88e8b4d539affb67e0e",defaultWkid:this.defaultWkid,disabled:this.locked,value:this.value}))),this._getFeatureServices(this.services))))}spatialReferenceChange(t){this.value=t.detail.newValue}_updateLocked(t){this.locked=!t.target.checked,this._updateStore(),this.loaded||(t.target.checked&&this._setFeatureServiceDefaults(this.services),this.loaded=!0)}_setFeatureServiceDefaults(t){n(this.el.getElementsByClassName("spatial-ref-item-switch")).forEach((t=>t.checked=!0)),t.forEach((t=>this._updateEnabledServices({detail:{switched:!0}},t)))}_getFeatureServices(t){const e=c.getStoreInfo("spatialReferenceInfo"),a=t.filter((t=>Object.keys(e.services).some((e=>e===t))));return a&&a.length>0?i("div",null,i("label",{class:"spatial-ref-item-title"},this._translations.featureServicesHeading),a.map((t=>i("label",{class:"switch-label"},i("calcite-switch",{checked:e.services[t],class:"spatial-ref-item-switch",disabled:this.locked,onCalciteSwitchChange:e=>this._updateEnabledServices(e,t),scale:"m"}),t)))):null}_updateStore(){const t=c.getStoreInfo("spatialReferenceInfo");t.enabled=!this.locked,t.spatialReference=this.value,c.setStoreInfo("spatialReferenceInfo",t)}_updateEnabledServices(t,e){const i=c.getStoreInfo("spatialReferenceInfo");i.services[e]=t.target.checked,c.setStoreInfo("spatialReferenceInfo",i),this.featureServiceSpatialReferenceChange.emit({name:e,enabled:t.target.checked})}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{locked:["lockedChanged"]}}};d.style=".spatial-ref-switch{margin-inline-end:0.5rem}.spatial-ref-component{margin-top:0.625rem;margin-inline-start:2.5rem}#spatialRefDefn .sc-calcite-label-h label.sc-calcite-label{margin:0px;background-color:#CBC3E3}.spatial-ref-default{margin:0px}.spatial-ref-item-title{margin-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem}.spatial-ref-item-switch{margin-inline-end:0.5rem}.switch-label{margin:0.25rem;font-size:0.875rem;line-height:1.25rem}.disabled-div{pointer-events:none;opacity:0.4}.spatial-ref-desc{padding-bottom:0.5rem;padding-inline-start:0.25rem}";export{r as solution_contents,o as solution_item,d as solution_spatial_ref}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as i,h as n,g as t,H as a}from"./p-fa1ceaf9.js";import{l as s}from"./p-d029b513.js";import{g as e}from"./p-49250010.js";import"./p-c4160bf7.js";import"./p-89f6ff72.js";const o=class{constructor(n){i(this,n),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=void 0,this.landingPage=void 0,this.isSignedIn=void 0,this.user=void 0,this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.closeLandingPage=void 0,this.ready=!1,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){e(this),await this.initSignIn()}render(){const i=this.ready?this.renderContent():null;return n(a,{key:"f95d3a2f68deee074ea01d6cc2282be0415f1bf5"},i)}renderContent(){return"landingPage"===this.type?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return n("div",{class:"instant-apps-sign-in__container"},this.isSignedIn?this.renderSignInDropdown():this.renderSignInButton())}renderSignInDropdown(){var i,t,a,s,e,o,r;return n("calcite-dropdown",{placement:"bottom-end",scale:"navigation"===this.type?"m":"s"},"navigation"===this.type?n("calcite-navigation-user",{slot:"trigger",thumbnail:null===(i=this.user)||void 0===i?void 0:i.thumbnailUrl,"full-name":null===(t=this.user)||void 0===t?void 0:t.fullName,username:null===(a=this.user)||void 0===a?void 0:a.username,textDisabled:!0}):n("button",{slot:"trigger"},n("calcite-avatar",{thumbnail:null===(s=this.user)||void 0===s?void 0:s.thumbnailUrl,"full-name":null===(e=this.user)||void 0===e?void 0:e.fullName,username:null===(o=this.user)||void 0===o?void 0:o.username})),n("calcite-dropdown-group",{"selection-mode":"none"},n("calcite-dropdown-item",{onClick:this.signOut.bind(this)},null===(r=this.messages)||void 0===r?void 0:r.signOut)))}renderSignInButton(){var i;const t="navigation"===this.type?"transparent":"solid";return n("calcite-button",{class:"navigation"===this.type?"instant-apps-sign-in__sign-in-btn":"",onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:t},null===(i=this.messages)||void 0===i?void 0:i.signIn)}renderLandingPageSignIn(){var i,t;return n("div",{class:"instant-apps-sign-in__landing-page"},n("h1",null,this.titleText),n("h2",null,this.subtitleText),n("p",null,this.descriptionText),n("div",{class:"instant-apps-sign-in__landing-page-btns"},n("calcite-button",{onClick:this.landingPageSignIn.bind(this)},null===(i=this.messages)||void 0===i?void 0:i.signIn),n("calcite-button",{onClick:this.guestOnClick.bind(this),appearance:"outline"},null===(t=this.messages)||void 0===t?void 0:t.continueAsGuest)))}async initSignIn(){if(null==this.portal||null==this.oauthappid)return;const[i,n,t]=await s(["esri/identity/OAuthInfo","esri/identity/IdentityManager","esri/core/reactiveUtils"]);this.idManager=n,this.info=new i({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.watchCredential(),t.whenOnce((()=>this.portal.user)).then((()=>{this.user=this.portal.user,this.ready=!0}))}signIn(){this.landingPage&&this.setSignInLocalStorage(),this.idManager.getCredential(this.info.portalUrl+"/sharing",{oAuthPopupConfirmation:!1}).then((async()=>{await this.checkSignInStatus()}))}signOut(){this.idManager.destroyCredentials(),this.portal.authMode="anonymous",localStorage.removeItem("_AGO_SESSION_"),this.isSignedIn=!1,this.portal.credential=null}landingPageSignIn(){this.isSignedIn?null!=this.closeLandingPage&&this.closeLandingPage():(this.setSignInLocalStorage(),this.signIn())}guestOnClick(){this.signOut(),null!=this.closeLandingPage&&this.closeLandingPage()}checkSignInStatus(){return new Promise((i=>{this.idManager.checkSignInStatus(this.info.portalUrl+"/sharing").then((async n=>{this.portal.credential=n,i(!0)})).catch((()=>{this.portal.credential=null,i(!1)}))}))}watchCredential(){this.portal.addHandles(this.portal.watch("credential",(i=>{this.isSignedIn=null!=i})))}setSignInLocalStorage(){const i=new Date;localStorage.setItem("signing-in",i.getTime().toString()),setTimeout((()=>{localStorage.removeItem("signing-in")}),2e3)}get el(){return t(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};o.style=":host{display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__landing-page-btns{display:flex;justify-content:space-between;margin-top:40px}:host .instant-apps-sign-in__landing-page-btns calcite-button{width:calc(50% - 5px);--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-sign-in__landing-page-btns calcite-button:hover{filter:contrast(0.8)}@media screen and (max-width: 767px){:host .instant-apps-sign-in__landing-page-btns{flex-direction:column;width:100%;align-items:center;height:76px}:host .instant-apps-sign-in__landing-page-btns calcite-button{width:100%}}";export{o as instant_apps_sign_in}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{n,a as e,i as t,b as r}from"./p-813d004f.js";import{d as u}from"./p-ebf59857.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v2.8.2
11
+ */const i=5;function o(n,t,u=!0,i){const o={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:r(t)};return u&&(o.second="2-digit",i&&(o.fractionalSecondDigits=i)),e(n,o)}function a(n,e){if(null==n)return;const t=n.toString(),r=u(n);if(n<1&&r>0&&r<4){const n=t.replace("0.","");return e&&n.length!==e&&n.length<e?n.padEnd(e,"0"):n}return n>=0&&n<10?t.padStart(2,"0"):n>=10?t:void 0}function l(n){if(!p(n))return null;const{hour:e,minute:t,second:r,fractionalSecond:u}=D(n);let i=`${a(parseInt(e))}:${a(parseInt(t))}`;return r&&(i+=`:${a(parseInt(r))}`,u&&(i+=`.${u}`)),i}function c(n,e){return d("meridiem",o(n,e).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))?"12":"24"}function s(e,t){return n.numberFormatOptions={locale:e,numberingSystem:t},n.localize("1.1").split("")[1]}function f(n,e,t="latn"){return d(`${n}Suffix`,o(e,t).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))}function d(n,e){if(!n||!e)return null;if("hourSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"hour"===n))),t=e.indexOf(e.find((({type:n})=>"minute"===n))),r=e[n+1];return r&&"literal"===r.type&&t-n==2&&r.value?.trim()||null}if("minuteSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"minute"===n))),t=e.indexOf(e.find((({type:n})=>"second"===n))),r=e[n+1];return r&&"literal"===r.type&&t-n==2&&r.value?.trim()||null}if("secondSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"second"===n))),t=e[n+1];return t&&"literal"===t.type&&t.value?.trim()||null}return e.find((({type:e})=>"meridiem"==n?"dayPeriod"===e:e===n))?.value||null}function m(n){if(!t(n))return null;const e=parseInt(n);return e>=0&&e<=11?"AM":"PM"}function p(n){if(!n||n.startsWith(":")||n.endsWith(":"))return!1;const e=n.split(":");if(!(e.length>1&&e.length<4))return!1;const[r,u,i]=e,o=parseInt(e[0]),a=parseInt(e[1]),l=parseInt(e[2]),c=t(r)&&o>=0&&o<24,s=t(u)&&a>=0&&a<60,f=t(i)&&l>=0&&l<60;return!!(c&&s&&!i||c&&s&&f)||void 0}function S({value:e,part:r,locale:u,numberingSystem:i}){if("fractionalSecond"===r){const t=s(u,i);let r=null;if(e){n.numberFormatOptions={locale:u,numberingSystem:i};const o=n.localize("0");0===parseInt(e)?r="".padStart(e.length,o):(r=n.localize(`0.${e}`).replace(`${o}${t}`,""),r.length<e.length&&(r=r.padEnd(e.length,o)))}return r}if(!function(n,e){if("meridiem"===e)return"AM"===n||"PM"===n;if(!t(n))return!1;const r=Number(n);return"hour"===e?r>=0&&r<24:r>=0&&r<60}(e,r))return;const a=parseInt(e),l=new Date(Date.UTC(0,0,0,"hour"===r?a:"meridiem"===r?"AM"===e?0:12:0,"minute"===r?a:0,"second"===r?a:0));return l?d(r,o(u,i).formatToParts(l)):void 0}function I({value:n,locale:e,numberingSystem:t,includeSeconds:r=!0,fractionalSecondDigits:u}){if(!p(n))return null;const{hour:i,minute:a,second:l="0",fractionalSecond:c}=D(n),s=new Date(Date.UTC(0,0,0,parseInt(i),parseInt(a),parseInt(l),c&&parseInt((parseFloat(`0.${c}`)/.001).toFixed(3))));return o(e,t,r,u).format(s)||null}function h({value:n,locale:e,numberingSystem:t="latn"}){if(!p(n))return null;const{hour:r,minute:u,second:i="0",fractionalSecond:a}=D(n),l=new Date(Date.UTC(0,0,0,parseInt(r),parseInt(u),parseInt(i)));if(l){const n=o(e,t).formatToParts(l);return{localizedHour:d("hour",n),localizedHourSuffix:d("hourSuffix",n),localizedMinute:d("minute",n),localizedMinuteSuffix:d("minuteSuffix",n),localizedSecond:d("second",n),localizedDecimalSeparator:s(e,t),localizedFractionalSecond:S({value:a,part:"fractionalSecond",locale:e,numberingSystem:t}),localizedSecondSuffix:d("secondSuffix",n),localizedMeridiem:d("meridiem",n)}}return null}function y({value:n,locale:e,numberingSystem:t}){if(!p(n))return null;const{hour:r,minute:u,second:i="0"}=D(n),a=new Date(Date.UTC(0,0,0,parseInt(r),parseInt(u),parseInt(i)));return a?o(e,t).formatToParts(a):null}function D(n){if(p(n)){const[e,t,r]=n.split(":");let u=r,i=null;return r?.includes(".")&&([u,i]=r.split(".")),{fractionalSecond:i,hour:e,minute:t,second:u}}return{fractionalSecond:null,hour:null,minute:null,second:null}}function g(n,e=!0){if(!p(n))return"";const{hour:t,minute:r,second:u,fractionalSecond:i}=D(n);let o=`${a(parseInt(t))}:${a(parseInt(r))}`;return e&&(o+=`:${a(parseInt(e&&u||"0"))}`,i&&(o+=`.${i}`)),o}export{a,h as b,y as c,f as d,s as e,l as f,m as g,S as h,p as i,c as j,I as l,i as m,D as p,g as t}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as i,c,h as e,g as t}from"./p-fa1ceaf9.js";import{c as a}from"./p-e6c9e6af.js";const o=class{constructor(e){i(this,e),this.calciteInternalAccordionChange=c(this,"calciteInternalAccordionChange",6),this.mutationObserver=a("mutation",(()=>this.updateAccordionItems())),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple"}handlePropsChange(){this.updateAccordionItems()}connectedCallback(){var i;null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0}),this.updateAccordionItems()}disconnectedCallback(){var i;null===(i=this.mutationObserver)||void 0===i||i.disconnect()}render(){const i="transparent"===this.appearance;return e("div",{key:"56df7ef7175fd9af4459626fb0d09aab4061e97d",class:{"accordion--transparent":i,accordion:!i}},e("slot",{key:"a657cd0ddb7784909bb5a2df3648cda59d3e71e2"}))}updateActiveItemOnChange(i){this.calciteInternalAccordionChange.emit({requestedAccordionItem:i.detail.requestedAccordionItem}),i.stopPropagation()}updateAccordionItems(){this.el.querySelectorAll("calcite-accordion-item").forEach((i=>{i.iconPosition=this.iconPosition,i.iconType=this.iconType,i.scale=this.scale})),document.dispatchEvent(new CustomEvent("calciteInternalAccordionItemsSync"))}get el(){return t(this)}static get watchers(){return{iconPosition:["handlePropsChange"],iconType:["handlePropsChange"],scale:["handlePropsChange"],selectionMode:["handlePropsChange"]}}};o.style=":host([scale=s]){--calcite-accordion-item-spacing-unit:0.25rem;--calcite-accordion-icon-margin:0.5rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-accordion-item-spacing-unit:0.5rem;--calcite-accordion-icon-margin:0.75rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-accordion-item-spacing-unit:0.75rem;--calcite-accordion-icon-margin:1rem;--calcite-accordion-item-padding:var(--calcite-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem;--calcite-accordion-item-border:var(--calcite-color-border-2);--calcite-accordion-item-background:var(--calcite-color-foreground-1)}.accordion--transparent{--calcite-accordion-item-border:transparent;--calcite-accordion-item-background:transparent}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-2)}:host([hidden]){display:none}[hidden]{display:none}";export{o as calcite_accordion}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as s}from"./p-6d51c6bf.js";import"./p-fa1ceaf9.js";import"./p-716a0878.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-9c6c056a.js";import"./p-b64cc55e.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-8ed6ce4d.js";import"./p-813d004f.js";import"./p-e6c9e6af.js";import"./p-97f0e1b6.js";import"./p-a89e61f4.js";import"./p-ebf59857.js";import"./p-44bfa87d.js";import"./p-ba569f8b.js";import"./p-5f1fdaf9.js";var i="sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),m="sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),a=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,M=function(s,M){return a.test(M)?i[s.month()]:m[s.month()]};M.s=m,M.f=i;var e={name:"lt",weekdays:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),weekdaysShort:"sek_pir_ant_tre_ket_pen_šeš".split("_"),weekdaysMin:"s_p_a_t_k_pn_š".split("_"),months:M,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"už %s",past:"prieš %s",s:"kelias sekundes",m:"minutę",mm:"%d minutes",h:"valandą",hh:"%d valandas",d:"dieną",dd:"%d dienas",M:"mėnesį",MM:"%d mėnesius",y:"metus",yy:"%d metus"},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"}};s.locale(e,null,!0);export{e as default}
@@ -0,0 +1,11 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,f as e,h as s,H as o,g as n}from"./p-fa1ceaf9.js";import{g as a,y as l,a as r}from"./p-67b26725.js";import{s as c,c as d,i as h,d as p,H as u}from"./p-716a0878.js";import{c as b,d as f,u as m,I as v}from"./p-9c6c056a.js";import{c as g,d as x,g as k}from"./p-6127f49e.js";import{s as y,a as w,c as z}from"./p-8ed6ce4d.js";import{c as j,d as C}from"./p-813d004f.js";import{c as I}from"./p-e6c9e6af.js";import{C as L}from"./p-db50226e.js";import{u as E,c as M,d as D,s as A}from"./p-44bfa87d.js";import{g as T}from"./p-e6e50975.js";import{V as W}from"./p-5f1fdaf9.js";import{s as F}from"./p-8810ef92.js";import"./p-b85be429.js";import"./p-b64cc55e.js";import"./p-f50a294b.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
10
+ * v2.8.2
11
+ */const G="editing-enabled",H="inline-child",R="wrapper",V=class{constructor(e){t(this,e),this.calciteInternalInputTextFocus=i(this,"calciteInternalInputTextFocus",7),this.calciteInternalInputTextBlur=i(this,"calciteInternalInputTextBlur",7),this.calciteInputTextInput=i(this,"calciteInputTextInput",7),this.calciteInputTextChange=i(this,"calciteInputTextChange",7),this.previousValueOrigin="initial",this.mutationObserver=I("mutation",(()=>this.setDisabledAction())),this.userChangedValue=!1,this.keyDownHandler=t=>{this.readOnly||this.disabled||t.defaultPrevented||(this.isClearable&&"Escape"===t.key&&(this.clearInputTextValue(t),t.preventDefault()),"Enter"===t.key&&c(this)&&t.preventDefault())},this.clearInputTextValue=t=>{this.setValue({committing:!0,nativeEvent:t,origin:"user",value:""})},this.emitChangeIfUserModified=()=>{"user"===this.previousValueOrigin&&this.value!==this.previousEmittedValue&&(this.calciteInputTextChange.emit(),this.setPreviousEmittedValue(this.value))},this.inputTextBlurHandler=()=>{this.calciteInternalInputTextBlur.emit({element:this.childEl,value:this.value}),this.emitChangeIfUserModified()},this.clickHandler=t=>{if(this.disabled)return;const i=a(this.el,"action");t.target!==i&&this.setFocus()},this.inputTextFocusHandler=()=>{this.calciteInternalInputTextFocus.emit({element:this.childEl,value:this.value})},this.inputTextInputHandler=t=>{this.disabled||this.readOnly||this.setValue({nativeEvent:t,origin:"user",value:t.target.value})},this.inputTextKeyDownHandler=t=>{this.disabled||this.readOnly||"Enter"===t.key&&this.emitChangeIfUserModified()},this.onHiddenFormInputInput=t=>{t.target.name===this.name&&this.setValue({value:t.target.value,origin:"direct"}),this.setFocus(),t.stopPropagation()},this.setChildElRef=t=>{this.childEl=t},this.setInputValue=t=>{this.childEl&&(this.childEl.value=t)},this.setPreviousEmittedValue=t=>{this.previousEmittedValue=t},this.setPreviousValue=t=>{this.previousValue=t},this.setValue=({committing:t=!1,nativeEvent:i,origin:e,previousValue:s,value:o})=>{this.setPreviousValue(null!=s?s:this.value),this.previousValueOrigin=e,this.userChangedValue="user"===e&&o!==this.value,this.value=o,"direct"===e&&(this.setInputValue(o),this.setPreviousEmittedValue(o)),i&&(this.calciteInputTextInput.emit().defaultPrevented?this.value=this.previousValue:t&&this.emitChangeIfUserModified())},this.alignment="start",this.autofocus=void 0,this.clearable=!1,this.disabled=!1,this.enterKeyHint=void 0,this.form=void 0,this.icon=void 0,this.iconFlipRtl=!1,this.inputMode=void 0,this.label=void 0,this.loading=!1,this.maxLength=void 0,this.minLength=void 0,this.validationMessage=void 0,this.validationIcon=void 0,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.name=void 0,this.placeholder=void 0,this.prefixText=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.autocomplete=void 0,this.pattern=void 0,this.suffixText=void 0,this.editingEnabled=!1,this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0,this.slottedActionElDisabledInternally=!1}handleGlobalAttributesChanged(){e(this)}disabledWatcher(){this.setDisabledAction()}onMessagesChange(){}valueWatcher(t,i){this.userChangedValue||this.setValue({origin:"direct",previousValue:i,value:t||""}),this.userChangedValue=!1}updateRequestedIcon(){this.requestedIcon=l({},this.icon,"text")}get isClearable(){return this.clearable&&this.value.length>0}effectiveLocaleChange(){E(this,this.effectiveLocale)}connectedCallback(){var t;b(this),j(this),M(this),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),g(this),d(this),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0}),this.setDisabledAction(),this.el.addEventListener(h,this.onHiddenFormInputInput)}disconnectedCallback(){var t;f(this),x(this),p(this),C(this),D(this),null===(t=this.mutationObserver)||void 0===t||t.disconnect(),this.el.removeEventListener(h,this.onHiddenFormInputInput)}async componentWillLoad(){y(this),this.requestedIcon=l({},this.icon,"text"),await A(this),this.setPreviousEmittedValue(this.value),this.setPreviousValue(this.value)}componentDidLoad(){w(this)}componentDidRender(){m(this)}async setFocus(){var t;await z(this),null===(t=this.childEl)||void 0===t||t.focus()}async selectText(){var t;null===(t=this.childEl)||void 0===t||t.select()}onLabelClick(){this.setFocus()}syncHiddenFormInput(t){F("text",this,t)}setDisabledAction(){const t=a(this.el,"action");t&&(this.disabled?(null==t.getAttribute("disabled")&&(this.slottedActionElDisabledInternally=!0),t.setAttribute("disabled","")):this.slottedActionElDisabledInternally&&(t.removeAttribute("disabled"),this.slottedActionElDisabledInternally=!1))}render(){const t=r(this.el),i=s("div",{key:"3ec4d8fc6ae7436c6086ad86720f1c72d9de48dd",class:"loader"},s("calcite-progress",{key:"67595008bf888677b7d5d7c87552e1a50f4150aa",label:this.messages.loading,type:"indeterminate"})),e=s("button",{key:"bcecf1bbde5f7f4e406c1ab5086eea1acba8cb9c","aria-label":this.messages.clear,class:"clear-button",disabled:this.disabled||this.readOnly,onClick:this.clearInputTextValue,tabIndex:-1,type:"button"},s("calcite-icon",{key:"cd3290a3f64344e5cfe6b16dd1ffff1251499ad3",icon:"x",scale:T(this.scale)})),n=s("calcite-icon",{key:"8fe4f4cb00f59dac67ef7c7b9b48e5126cf38e31",class:"icon",flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:T(this.scale)}),a=s("div",{key:"dced1c574af69b545b8110601378cb469a116094",class:"prefix"},this.prefixText),l=s("div",{key:"91a3117072c6c0ef67df4c8784b1e81a002dbe73",class:"suffix"},this.suffixText),c=s("input",{key:"0c365313279ee7bd6ec9f5f9776262ea849e0402","aria-label":k(this),autocomplete:this.autocomplete,autofocus:!!this.el.autofocus||null,class:{[G]:this.editingEnabled,[H]:!!this.inlineEditableEl},defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.el.enterKeyHint||this.el.getAttribute("enterkeyhint"),inputMode:this.el.inputMode||this.el.getAttribute("inputmode"),maxLength:this.maxLength,minLength:this.minLength,name:this.name,onBlur:this.inputTextBlurHandler,onFocus:this.inputTextFocusHandler,onInput:this.inputTextInputHandler,onKeyDown:this.inputTextKeyDownHandler,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readOnly,required:!!this.required||null,tabIndex:this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null,type:"text",value:this.value,ref:this.setChildElRef});return s(o,{key:"16c5db61c7b866dbc617430a72da693c678088af",onClick:this.clickHandler,onKeyDown:this.keyDownHandler},s(v,{key:"a645d05104fd36be24d3b1c4a3f96ffe18742da5",disabled:this.disabled},s("div",{key:"6e51fa8c007842480459eeb1669fb48500908a31",class:{[R]:!0,[L.rtl]:"rtl"===t}},this.prefixText?a:null,s("div",{key:"c5e8d14f2f707e26c5f9d4bca5c3b17e6d2d3a00",class:"element-wrapper"},c,this.isClearable?e:null,this.requestedIcon?n:null,this.loading?i:null),s("div",{key:"3bc807289e5f477e96b191f858512ab6fe6bc6f2",class:"action-wrapper"},s("slot",{key:"bbcfcd54de5bcd90560109835b766f7747563951",name:"action"})),this.suffixText?l:null,s(u,{key:"ad29ed06d9124d489d2825599d0697a8c37fcd7b",component:this})),this.validationMessage&&"invalid"===this.status?s(W,{icon:this.validationIcon,message:this.validationMessage,scale:this.scale,status:this.status}):null))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{autofocus:["handleGlobalAttributesChanged"],enterkeyhint:["handleGlobalAttributesChanged"],inputmode:["handleGlobalAttributesChanged"],disabled:["disabledWatcher"],messageOverrides:["onMessagesChange"],value:["valueWatcher"],icon:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};V.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) input{padding-inline-start:0.5rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, 0.5rem)}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .prefix,:host([scale=s]) .suffix{padding-inline:0.5rem}:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input{padding-inline-start:0.75rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, 0.75rem)}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .prefix,:host([scale=m]) .suffix{padding-inline:0.75rem}:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input{padding-inline-start:1rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, 1rem)}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .prefix,:host([scale=l]) .suffix{padding-inline:1rem}:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}input{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-radius:0px;background-color:var(--calcite-color-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}input:-moz-placeholder-shown{text-overflow:ellipsis}input:placeholder-shown{text-overflow:ellipsis}input{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);color:var(--calcite-color-text-1)}input::placeholder,input:-ms-input-placeholder,input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1)}input[readonly]{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}input[readonly]:focus{color:var(--calcite-color-text-1)}calcite-icon{color:var(--calcite-color-text-3)}input{outline-color:transparent}input:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([status=invalid]) input{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);display:block;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}.clear-button{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-color-foreground-2);transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-color-text-1);transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-color-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-color-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-color-text-2)}.prefix{order:2;border-inline-end-width:0px}.suffix{order:5;border-inline-start-width:0px}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{background-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{V as calcite_input_text}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{d as e}from"./p-6d51c6bf.js";import"./p-fa1ceaf9.js";import"./p-716a0878.js";import"./p-67b26725.js";import"./p-b85be429.js";import"./p-db50226e.js";import"./p-9c6c056a.js";import"./p-b64cc55e.js";import"./p-f50a294b.js";import"./p-6127f49e.js";import"./p-e6e50975.js";import"./p-8ed6ce4d.js";import"./p-813d004f.js";import"./p-e6c9e6af.js";import"./p-97f0e1b6.js";import"./p-a89e61f4.js";import"./p-ebf59857.js";import"./p-44bfa87d.js";import"./p-ba569f8b.js";import"./p-5f1fdaf9.js";var s={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return e+(1===e||3===e?"r":2===e?"n":4===e?"t":"è")}};e.locale(s,null,!0);export{s as default}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Copyright 2022 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as a,h as n,H as s,g as e,F as i}from"./p-fa1ceaf9.js";import{d as r,i as o,e as l,s as c,f as p,E as u,l as g,h as d,c as h}from"./p-7fe77355.js";import"./p-49250010.js";import"./p-d029b513.js";import"./p-c4160bf7.js";import"./p-89f6ff72.js";import"./p-8c6d9b5a.js";const m="instant-apps-components__ckeditor-wrapper",v=class{constructor(n){t(this,n),this.isFocused=a(this,"isFocused",7),this.dataChanged=a(this,"dataChanged",7),this.value=void 0,this.editorInstance=void 0,this.config=void 0}updateValue(){this.value&&this.editorInstance.setData(this.value)}async componentDidLoad(){this.init()}componentDidUpdate(){this.editorInstance.setData(this.value)}render(){return n(s,{key:"a03e92def2da63461424d4487ee8a12cd8e0da81"},n("div",{key:"fee2876736ecbf3a231fd2c2bff3b7b382ba1341"}))}init(){this.applyStyles(),this.initEditor()}applyStyles(){if(document.getElementById(m))return;const t=document.createElement("style");t.id=m,t.innerHTML="\n .ck.ck-reset.ck-editor.ck-rounded-corners {\n margin-top: 10px !important;\n margin-left: 55px !important;\n }\n .ck-editor__editable {\n height: 70px !important;\n font-size: 0.875rem !important;\n line-height: \t1.375 !important;\n color: var(--calcite-color-text-1) !important;\n }\n\n .ck.ck-editor__editable_inline>:first-child,\n .ck.ck-editor__editable_inline>:last-child {\n --ck-spacing-large: 0.5rem !important;\n }\n\n .ck.ck-balloon-panel.ck-powered-by-balloon {\n --ck-z-modal: 700;\n z-index: 700;\n }\n\n .calcite-mode-dark .ck-editor__editable {\n color: var(--calcite-color-text-inverse) !important;\n }\n",document.head.prepend(t)}async initEditor(){const t=await this.createEditor();t&&(this.editorInstance=t,(this.value||""===this.value)&&t.setData(this.value),t.editing.view.document.on("change:isFocused",this.getEditorFocusedCallback(t)))}async createEditor(){try{let t;return t=this.config?await ClassicEditor.create(this.el,this.config):await ClassicEditor.create(this.el),this.editorInstance=t,Promise.resolve(t)}catch(t){return console.error(t),Promise.reject(null)}}getEditorFocusedCallback(t){return(a,n,s)=>{if(s)this.isFocused.emit();else{const a=t.getData();this.value!==a&&(this.value=a,this.dataChanged.emit(a))}}}get el(){return e(this)}static get watchers(){return{value:["updateValue"]}}};v.style=":host{display:block}";const _="instant-apps-language-translator-item",f={section:`${_}__section`,selected:`${_}__section--selected`,collapsed:`${_}__section--collapsed`,topRow:`${_}__top-row`,labelContainer:`${_}__label-container`,label:`${_}__label`,uiLocationPopoverContent:`${_}__ui-location-popover-content`,uiLocationItems:`${_}__ui-location-items`,uiLocationItem:`${_}__ui-location-item`,infoIcon:`${_}__info-icon`,infoButton:`${_}__info-button`,tip:`${_}__tip`,nestedInput:`${_}__nested-input`},b=class{constructor(n){t(this,n),this.translatorItemDataUpdated=a(this,"translatorItemDataUpdated",7),this.userInputs={},this.translatedInputs={},this.fieldName=void 0,this.translatedLanguageLabels=void 0,this.setting=void 0,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0}get isTextEditor(){return this.setting.type===r.TextEditor}get calciteMode(){return o()?l.Dark:l.Light}get hasNestedContent(){var t;return!!(null===(t=this.setting)||void 0===t?void 0:t.content)}get tipID(){return`${this.fieldName}goTo`}componentDidLoad(){this.isTextEditor&&c.onChange("uiData",(()=>this.handleEditorCollapse()))}render(){var t;return"content"in this.setting&&(null===(t=this.setting.content)||void 0===t?void 0:t.every((t=>{var a;return 0===(null===(a=null==t?void 0:t.content)||void 0===a?void 0:a.length)})))?n(i,null):n(s,{class:this.calciteMode},this.renderBase(),this.renderPopover())}renderBase(){return n("div",{class:_},this.renderUserLocaleSection(),this.renderTranslatedLanguageSection())}renderPopover(){const t=this.getTip();return n("calcite-popover",{referenceElement:this.tipID,label:"","auto-close":"true",placement:"trailing",closable:!0},n("span",{class:f.uiLocationPopoverContent},n("span",{class:f.uiLocationItems},this.getUILocation()),t?n("span",{class:f.tip},t):null))}renderUserLocaleSection(){const t=this.getUIDataItem(),a=null==t?void 0:t.userLocaleData,s=null==a?void 0:a.value,e=this.setting.id;return n("div",{class:`${f.section}${(null==t?void 0:t.selected)?` ${f.selected}`:""}`},this.renderItemHeader(p.User,null==a?void 0:a.label,e),this.handleInputRender(p.User,s,e))}renderTranslatedLanguageSection(){var t,a;const s=this.getUIDataItem(),e=this.setting.id,i=c.get("currentLanguage"),r=c.get("portalItemResourceT9n"),o=null===(t=this.translatedLanguageLabels)||void 0===t?void 0:t[this.fieldName],l=null===(a=null==r?void 0:r[i])||void 0===a?void 0:a[e];return n("div",{class:`${f.section}${(null==s?void 0:s.selected)?` ${f.selected}`:""}`},this.renderItemHeader(p.Translation,o,e),this.handleInputRender(p.Translation,l,e))}handleInputRender(t,a,n){const s=this.getUIDataItem();return(null==s?void 0:s.expanded)?this.hasNestedContent?this.renderNestedInputs(t):this.renderInput(t,a,n):null}renderNestedInputs(t,a){const n=null!=a?a:this.setting,{content:s}=n;return null==s?void 0:s.map((a=>a.hasOwnProperty("content")?this.renderNestedInputs(t,a):this.renderNestedInput(t,a)))}renderNestedInput(t,a){var s;const e=c.get("currentLanguage"),i=c.get("portalItemResourceT9n"),r=null==a?void 0:a.id,o=null==i?void 0:i[e],l=null==o?void 0:o[r],{label:u,value:g,id:d}=a,h=t===p.Translation?null===(s=this.translatedLanguageLabels)||void 0===s?void 0:s[d]:u,m=t===p.User?g:l;return n("div",{class:f.nestedInput},this.renderItemHeader(t,h,r,a),this.renderInput(t,m,r,a))}renderItemHeader(t,a,s,e){const i=!this.hasNestedContent||!!e;return n("div",{class:f.topRow},this.renderItemHeaderLabel(t,a,e),i?this.renderCopyButton(t,s):null)}renderItemHeaderLabel(t,a,s){const e=t===p.User&&!s;return n("div",{class:f.labelContainer},s?null:this.renderExpandCollapseButton(),n("calcite-icon",{icon:this.getIcon(s),scale:"s"}),n("span",{class:f.label},a),e?this.renderInfoButton():null)}renderExpandCollapseButton(){const t=this.getUIDataItem(),a=(null==t?void 0:t.expanded)?u.Expanded:u.Collapsed;return n("calcite-action",{onClick:this.handleExpand.bind(this,t),icon:a,scale:"s",appearance:"transparent",text:""})}renderInfoButton(){return n("button",{id:this.tipID,class:f.infoButton},n("calcite-icon",{class:f.infoIcon,icon:u.Popover,scale:"s"}))}renderCopyButton(t,a){return n("calcite-action",{class:this.calciteMode,onClick:this.copySelection.bind(this,t,a),slot:"action",icon:u.Copy,appearance:"transparent",text:""})}renderInput(t,a,n,s){const e=null!=s?s:this.setting;return"string"===e.type||"textarea"===e.type?t===p.User?this.renderUserLocaleInput(a,n):this.renderTranslatedLanguageInput(a,n):this.renderTextEditor(a,t,n)}renderUserLocaleInput(t,a){return n("calcite-input",{ref:t=>this.userInputs[a]=t,key:a,id:a,class:l.Light,"data-field-name":this.fieldName,value:t,onFocus:this.handleSelection,onCalciteInputChange:this.handleUserInputChange.bind(this)})}renderTranslatedLanguageInput(t,a){return n("calcite-input",{ref:t=>this.translatedInputs[a]=t,key:a,id:a,class:l.Light,"data-field-name":this.fieldName,value:t,onFocus:this.handleSelection,onCalciteInputChange:this.handleTranslatedInputChange.bind(this)})}renderTextEditor(t,a,s){return n("instant-apps-ckeditor-wrapper",{id:s,ref:this.setEditor.bind(this,a),onDataChanged:this.handleTextEditorDataChange.bind(this,a),onIsFocused:this.handleSelection,value:null!=t?t:"","data-field-name":this.fieldName,config:{toolbar:[]}})}getUIDataItem(){if(g.uiData)return g.uiData.get(this.fieldName)}updateT9nStore(t,a){const n=c.get("currentLanguage"),s=d(n,{[t]:a});c.set("portalItemResourceT9n",s)}handleExpand(){const t=this.getUIDataItem();t.expanded=!t.expanded;const a=new Map(g.uiData);a.set(this.fieldName,t),c.set("uiData",a)}handleEditorCollapse(){var t,a;const n=c.get("uiData"),s=null==n?void 0:n.get(this.fieldName);if(!(null==s?void 0:s.expanded)&&(null===(t=this.userEditorWrapper)||void 0===t?void 0:t.editorInstance)&&(null===(a=this.translatedEditorWrapper)||void 0===a?void 0:a.editorInstance)){const{userEditorWrapper:t,translatedEditorWrapper:a}=this,n=t.editorInstance.getData();t.value=n;const s=a.editorInstance.getData();a.value=s,t.editorInstance.destroy(),a.editorInstance.destroy()}}handleSelection(t){const a=new Map(g.uiData),n=h();n.forEach((t=>{(null==a?void 0:a.get(t)).selected=!1})),n.forEach((n=>{const s=null==t?void 0:t.target;n===(null==s?void 0:s.getAttribute("data-field-name"))&&((null==a?void 0:a.get(n)).selected=!0)})),c.set("uiData",a)}getUILocation(){const t=this.getUIDataItem(),{uiLocation:a,userLocaleData:s}=t,{section:e,subsection:i}=a,r=[e.label,i.label,s.label].filter((t=>!!t));return r.map(((t,a)=>n("span",{class:f.uiLocationItem},n("span",null,t),a!==r.length-1?n("calcite-icon",{icon:"chevron-right",scale:"s"}):null)))}getTip(){const t=this.getUIDataItem(),{tip:a}=t;return a}copySelection(t,a){this.setting.type===r.TextEditor?this.copyTextEditorContent(t):this.copyCalciteInputContent(a,t)}copyTextEditorContent(t){var a,n;const s=t===p.User?null===(a=this.userEditorWrapper)||void 0===a?void 0:a.editorInstance:null===(n=this.translatedEditorWrapper)||void 0===n?void 0:n.editorInstance;setTimeout((()=>{this.selectContent(s),setTimeout((()=>this.selectContent(s)),50)}),50),this.copyContent(s)}selectContent(t){t.editing.view.focus();const{model:a}=t,n=a.createRangeIn(a.document.getRoot());a.change((t=>t.setSelection(n)))}copyContent(t){const a=t.getData(),n=document.createElement("div");n.contentEditable="true",n.innerHTML=a,document.body.appendChild(n);const s=document.createRange();s.selectNodeContents(n);const e=window.getSelection();null==e||e.removeAllRanges(),null==e||e.addRange(s),document.execCommand("copy"),document.body.removeChild(n)}copyCalciteInputContent(t,a){const n=a===p.User?this.userInputs[t]:this.translatedInputs[t];n&&(n.selectText(),navigator.clipboard.writeText(n.value))}setEditor(t,a){t===p.User?this.userEditorWrapper=a:this.translatedEditorWrapper=a}async handleUserInputChange(t){c.set("saving",!0);try{const a=t.target,n=a.id,s=a.value;this.getUIDataItem().userLocaleData.value=s,await this.userLocaleInputOnChangeCallback(n,s),c.set("saving",!1)}catch(t){c.set("saving",!1)}}async handleUserTextEditorChange(t){c.set("saving",!0);try{const a=t.detail;this.getUIDataItem().userLocaleData.value=a,await this.userLocaleInputOnChangeCallback(this.fieldName,a),c.set("saving",!1)}catch(t){c.set("saving",!1)}}async handleTranslatedInputChange(t){c.set("saving",!0);try{const a=t.composedPath()[0],n=a.id;this.updateT9nStore(n,a.value);const{locale:s,resource:e}=this.getTranslatedLocaleCallbackData(),i=t.target.value;await this.translatedLocaleInputOnChangeCallback(n,i,s,e),setTimeout((()=>c.set("saving",!1)),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),c.set("saving",!1)}}async handleTranslatedTextEditorChange(t){c.set("saving",!0);try{const a=t.target.id;this.updateT9nStore(a,t.detail);const{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),e=t.detail;await this.translatedLocaleInputOnChangeCallback(a,e,n,s),setTimeout((()=>c.set("saving",!1)),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),c.set("saving",!1)}}handleTextEditorDataChange(t,a){t===p.User?this.handleUserTextEditorChange(a):this.handleTranslatedTextEditorChange(a)}getTranslatedLocaleCallbackData(){return{locale:c.get("currentLanguage"),resource:c.get("portalItemResource")}}getIcon(t){switch((null!=t?t:this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}};b.style=".sc-instant-apps-language-translator-item-h{display:block}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item.sc-instant-apps-language-translator-item{display:flex}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__top-row.sc-instant-apps-language-translator-item{display:flex;align-items:center;justify-content:space-between}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__label-container.sc-instant-apps-language-translator-item{display:flex;align-items:center}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__label.sc-instant-apps-language-translator-item{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item calcite-input.sc-instant-apps-language-translator-item{margin-top:10px;margin-left:55px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--last-item.sc-instant-apps-language-translator-item{border-bottom:none}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item{background-color:#f1faff}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item:first-child{margin-right:1%}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-popover-content.sc-instant-apps-language-translator-item{display:inline-block;padding:10px;max-width:400px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-items.sc-instant-apps-language-translator-item{display:flex}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-item.sc-instant-apps-language-translator-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__tip.sc-instant-apps-language-translator-item{display:inline-block;font-size:14px;line-height:22px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__info-icon.sc-instant-apps-language-translator-item{color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__info-button.sc-instant-apps-language-translator-item{border:0;background-color:transparent;cursor:pointer}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__nested-input.sc-instant-apps-language-translator-item{margin-left:60px;margin-top:8px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__nested-input.sc-instant-apps-language-translator-item calcite-input.sc-instant-apps-language-translator-item{margin-left:30px}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item{background-color:#f1faff;background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item calcite-action.sc-instant-apps-language-translator-item{--calcite-ui-icon-color:var(--calcite-color-text-inverse)}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item calcite-icon.sc-instant-apps-language-translator-item{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item{border-bottom:none}";const x="instant-apps-language-translator-search",k={base:x,input:`${x}__input`,suggestionList:`${x}__suggestion-list`,suggestionListItem:`${x}__suggestion-list-item`},y=class{constructor(n){t(this,n),this.suggestionSelected=a(this,"suggestionSelected",7),this.t9nPlaceholder=void 0,this.results=[]}render(){return n(s,{key:"b614ff54a5c434522e865a457dff001572588b01"},this.renderSearchInput(),this.renderSuggestions())}renderSearchInput(){return n("calcite-input",{ref:t=>this.searchInput=t,class:k.input,onCalciteInputInput:this.handleSearch.bind(this),type:"search",placeholder:this.t9nPlaceholder,icon:"search"})}renderSuggestions(){return this.results.length>0?this.renderSuggestionList():null}renderSuggestionList(){return n("ul",{class:k.suggestionList},this.results.map((t=>this.renderSuggestionListItem(t))))}renderSuggestionListItem(t){return n("li",{onClick:this.selectSuggestion.bind(this),class:k.suggestionListItem,"data-field-name":t.fieldName},t.userLocaleData.label)}handleSearch(t){var a,n;const s=null===(n=null===(a=t.target.value)||void 0===a?void 0:a.toLowerCase())||void 0===n?void 0:n.trim(),e=c.get("uiData"),i=h(),r=c.get("portalItemResourceT9n"),o=c.get("currentLanguage"),l=r[o],p=this.getSettingDataItems(i).filter(this.matchedResultsCallback(e,l,s,o));this.results=[...p.map((t=>Object.assign({fieldName:t},e.get(t))))]}matchedResultsCallback(t,a,n,s){return e=>{var i;const r=t.get(e),{label:o}=r.userLocaleData,{value:l}=r.userLocaleData,c=t.get("translatedLanguageLabels"),p=null===(i=null==c?void 0:c[s])||void 0===i?void 0:i[e],u=null==a?void 0:a[e],g=this.testUserInput(o,n),d=this.testUserInput(l,n),h=this.testUserInput(p,n),m=this.testUserInput(u,n);return g||d||h||m}}getSettingDataItems(t){return t.filter((t=>"locales"!==t&&"translatedLanguageLabels"!==t))}testUserInput(t,a){var n;return!!(null==t?void 0:t.trim())&&!!(null==a?void 0:a.trim())&&-1!==(null===(n=null==t?void 0:t.toLowerCase())||void 0===n?void 0:n.search(a))}selectSuggestion(t){const a=t.target.getAttribute("data-field-name");this.suggestionSelected.emit(a),this.resetSearchInput()}resetSearchInput(){this.searchInput.value="",this.results=[]}};y.style=".sc-instant-apps-language-translator-search-h{display:block;position:relative}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__input.sc-instant-apps-language-translator-search{width:235.5px}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list.sc-instant-apps-language-translator-search{position:absolute;margin:0;padding:0;width:100%;max-height:30vh;overflow:auto;border-left:none;background-color:var(--calcite-color-foreground-1);border:1px solid #c0c0c0;z-index:702}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search:first-child{border:none}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search{margin-top:0;padding:0.8em 1em;border-top:solid 1px rgba(110, 110, 110, 0.3);display:flex;flex-direction:column;cursor:pointer;word-break:break-word}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search:hover{background-color:var(--calcite-color-foreground-2)}";export{v as instant_apps_ckeditor_wrapper,b as instant_apps_language_translator_item,y as instant_apps_language_translator_search}