@esri/solutions-components 0.10.48 → 0.10.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1064) hide show
  1. package/dist/cjs/ExpandToggle-7cd6bc0d.js +115 -0
  2. package/dist/cjs/FloatingArrow-bf91ebb1.js +48 -0
  3. package/dist/cjs/Heading-ae667128.js +25 -0
  4. package/dist/cjs/IdentityManager-b7fa2f5f.js +4174 -0
  5. package/dist/cjs/Validation-a206c7a2.js +20 -0
  6. package/dist/cjs/app-globals-04574c64.js +67 -0
  7. package/dist/cjs/ar-c930d85d.js +106 -0
  8. package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
  9. package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
  10. package/dist/cjs/bg-a2001c61.js +84 -0
  11. package/dist/cjs/browser-040b13db.js +35 -0
  12. package/dist/cjs/bs-5576dc1b.js +53 -0
  13. package/dist/cjs/buffer-tools_3.cjs.entry.js +4 -4
  14. package/dist/cjs/ca-220471e9.js +73 -0
  15. package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -5
  16. package/dist/cjs/calcite-action-bar.cjs.entry.js +8 -8
  17. package/dist/cjs/calcite-action-group.cjs.entry.js +7 -7
  18. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +9 -9
  19. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +8 -8
  20. package/dist/cjs/calcite-action_2.cjs.entry.js +13 -13
  21. package/dist/cjs/calcite-alert_6.cjs.entry.js +11 -11
  22. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  23. package/dist/cjs/calcite-block-section.cjs.entry.js +6 -6
  24. package/dist/cjs/calcite-block_5.cjs.entry.js +17 -17
  25. package/dist/cjs/calcite-button-ac4b979a.js +281 -0
  26. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  27. package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
  28. package/dist/cjs/calcite-card.cjs.entry.js +7 -7
  29. package/dist/cjs/calcite-carousel_2.cjs.entry.js +7 -7
  30. package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
  31. package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
  32. package/dist/cjs/calcite-chip_2.cjs.entry.js +9 -9
  33. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +3 -3
  34. package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
  35. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +3 -3
  36. package/dist/cjs/calcite-combobox_3.cjs.entry.js +15 -15
  37. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
  38. package/dist/cjs/calcite-dialog-97f38598.js +5875 -0
  39. package/dist/cjs/calcite-dialog.cjs.entry.js +9 -9
  40. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +7 -7
  41. package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
  42. package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
  43. package/dist/cjs/calcite-flow_4.cjs.entry.js +5 -5
  44. package/dist/cjs/calcite-graph_2.cjs.entry.js +7 -7
  45. package/dist/cjs/calcite-icon_2.cjs.entry.js +4 -4
  46. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  47. package/dist/cjs/calcite-input-0ecf3d60.js +1000 -0
  48. package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
  49. package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
  50. package/dist/cjs/calcite-input-time-picker-4020e170.js +1870 -0
  51. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +13 -13
  52. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
  53. package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
  54. package/dist/cjs/calcite-label-8ca1fbce.js +110 -0
  55. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  56. package/dist/cjs/calcite-link.cjs.entry.js +4 -4
  57. package/dist/cjs/calcite-list-item-group.cjs.entry.js +2 -2
  58. package/dist/cjs/calcite-menu-item.cjs.entry.js +6 -6
  59. package/dist/cjs/calcite-menu.cjs.entry.js +6 -6
  60. package/dist/cjs/calcite-meter.cjs.entry.js +6 -6
  61. package/dist/cjs/calcite-modal.cjs.entry.js +11 -11
  62. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
  63. package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
  64. package/dist/cjs/calcite-navigation.cjs.entry.js +3 -3
  65. package/dist/cjs/calcite-notice-2e248d8d.js +260 -0
  66. package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
  67. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  68. package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
  69. package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
  70. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
  71. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +10 -10
  72. package/dist/cjs/calcite-pick-list.cjs.entry.js +8 -8
  73. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
  74. package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
  75. package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
  76. package/dist/cjs/calcite-scrim.cjs.entry.js +5 -5
  77. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +6 -6
  78. package/dist/cjs/calcite-sheet.cjs.entry.js +7 -7
  79. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
  80. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +14 -14
  81. package/dist/cjs/calcite-shell.cjs.entry.js +4 -4
  82. package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
  83. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  84. package/dist/cjs/calcite-stepper-item.cjs.entry.js +7 -7
  85. package/dist/cjs/calcite-stepper.cjs.entry.js +5 -5
  86. package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
  87. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
  88. package/dist/cjs/calcite-table-row.cjs.entry.js +2 -2
  89. package/dist/cjs/calcite-table.cjs.entry.js +6 -6
  90. package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
  91. package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
  92. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
  93. package/dist/cjs/calcite-tile-select.cjs.entry.js +6 -6
  94. package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
  95. package/dist/cjs/calcite-time-picker.cjs.entry.js +7 -7
  96. package/dist/cjs/calcite-tip-group.cjs.entry.js +3 -3
  97. package/dist/cjs/calcite-tip-manager.cjs.entry.js +8 -8
  98. package/dist/cjs/calcite-tip.cjs.entry.js +9 -9
  99. package/dist/cjs/calcite-tooltip.cjs.entry.js +5 -5
  100. package/dist/cjs/calcite-tree_2.cjs.entry.js +5 -5
  101. package/dist/cjs/card-manager_3.cjs.entry.js +3 -3
  102. package/dist/cjs/component-69260f95.js +1073 -0
  103. package/dist/cjs/conditionalSlot-489d0ef0.js +54 -0
  104. package/dist/cjs/config-164bf148.js +40 -0
  105. package/dist/cjs/consent-manager.cjs.entry.js +2 -2
  106. package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
  107. package/dist/cjs/crowdsource-reporter.cjs.entry.js +2 -2
  108. package/dist/cjs/cs-a049b34a.js +149 -0
  109. package/dist/cjs/da-d71057be.js +69 -0
  110. package/dist/cjs/date-831e93f2.js +264 -0
  111. package/dist/cjs/de-at-977ab186.js +92 -0
  112. package/dist/cjs/de-b1eb21d0.js +93 -0
  113. package/dist/cjs/de-ch-486d1e5d.js +92 -0
  114. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  115. package/dist/cjs/delete-dialog.cjs.entry.js +2 -2
  116. package/dist/cjs/downloadUtils-f50841bc.js +3240 -0
  117. package/dist/cjs/el-577ee36f.js +68 -0
  118. package/dist/cjs/en-au-e7c3a0f9.js +68 -0
  119. package/dist/cjs/en-ca-111580b6.js +67 -0
  120. package/dist/cjs/en-gb-b061a0ac.js +71 -0
  121. package/dist/cjs/es-ae90d3b8.js +68 -0
  122. package/dist/cjs/es-mx-620f2f82.js +67 -0
  123. package/dist/cjs/et-3b0bd1a9.js +94 -0
  124. package/dist/cjs/feature-list.cjs.entry.js +4 -4
  125. package/dist/cjs/fi-8708148b.js +117 -0
  126. package/dist/cjs/floating-ui-a1745c4c.js +2413 -0
  127. package/dist/cjs/focusTrapComponent-59e1194f.js +1013 -0
  128. package/dist/cjs/form-3666a51b.js +370 -0
  129. package/dist/cjs/form-a2adec8c.js +381 -0
  130. package/dist/cjs/fr-9a9d3ce3.js +70 -0
  131. package/dist/cjs/fr-ch-95662c01.js +68 -0
  132. package/dist/cjs/he-f973a740.js +107 -0
  133. package/dist/cjs/helpers-292a0709.js +940 -0
  134. package/dist/cjs/hi-f0b9cea5.js +67 -0
  135. package/dist/cjs/hr-4654706f.js +82 -0
  136. package/dist/cjs/hu-bc3d5588.js +90 -0
  137. package/dist/cjs/icon-96d27ae8.js +979 -0
  138. package/dist/cjs/id-1131b8da.js +68 -0
  139. package/dist/cjs/index-29826564.js +201 -0
  140. package/dist/cjs/index-92385c74.js +1772 -0
  141. package/dist/cjs/index.es-b8c8c931.js +11307 -0
  142. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
  143. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +4 -4
  144. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
  145. package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
  146. package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
  147. package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
  148. package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
  149. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
  150. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
  151. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
  152. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
  153. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
  154. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
  155. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  156. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +16 -20
  157. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +13 -13
  158. package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
  159. package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
  160. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  161. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
  162. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
  163. package/dist/cjs/instant-apps-splash.cjs.entry.js +2 -2
  164. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -59
  165. package/dist/cjs/interactive-9f715ff8.js +86 -0
  166. package/dist/cjs/interactive-c384fd9b.js +85 -0
  167. package/dist/cjs/it-7a8ec220.js +68 -0
  168. package/dist/cjs/it-ch-f9cb696d.js +68 -0
  169. package/dist/cjs/ja-45b4845d.js +74 -0
  170. package/dist/cjs/ko-61449645.js +74 -0
  171. package/dist/cjs/label-7f519bd9.js +186 -0
  172. package/dist/cjs/languageSwitcher-bca9ab2c.js +52 -0
  173. package/dist/cjs/loadable-9cb8a3cd.js +98 -0
  174. package/dist/cjs/loader-b9aa1d67.js +176 -0
  175. package/dist/cjs/loader.cjs.js +4 -4
  176. package/dist/cjs/locale-a0772a2b.js +605 -0
  177. package/dist/cjs/locale-afa30303.js +160 -0
  178. package/dist/cjs/locale-f6e0493d.js +1488 -0
  179. package/dist/cjs/logger-e5bdc044.js +61 -0
  180. package/dist/cjs/lt-2e727f9c.js +99 -0
  181. package/dist/cjs/lv-ed202e00.js +68 -0
  182. package/dist/cjs/map-select-tools_3.cjs.entry.js +7 -7
  183. package/dist/cjs/mk-418a9e03.js +68 -0
  184. package/dist/cjs/nb-333e1c58.js +69 -0
  185. package/dist/cjs/nl-da937865.js +69 -0
  186. package/dist/cjs/observers-ce262300.js +58 -0
  187. package/dist/cjs/openCloseComponent-214808b0.js +66 -0
  188. package/dist/cjs/openCloseComponent-c0b7af22.js +65 -0
  189. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  190. package/dist/cjs/pl-cbe57516.js +116 -0
  191. package/dist/cjs/popupUtils-2a425c37.js +121 -0
  192. package/dist/cjs/pt-b1ec4928.js +69 -0
  193. package/dist/cjs/pt-br-e395a325.js +67 -0
  194. package/dist/cjs/public-notification.cjs.entry.js +5 -5
  195. package/dist/cjs/publicNotificationStore-1d934df9.js +47 -0
  196. package/dist/cjs/request-9f87ab34.js +21 -0
  197. package/dist/cjs/ro-144b5f62.js +68 -0
  198. package/dist/cjs/ru-bf7d1a3e.js +128 -0
  199. package/dist/cjs/share-item.cjs.entry.js +1 -1
  200. package/dist/cjs/shared-list-render-0b452799.js +361 -0
  201. package/dist/cjs/sk-515227a5.js +150 -0
  202. package/dist/cjs/sl-f879b07d.js +170 -0
  203. package/dist/cjs/solution-configuration.cjs.entry.js +4 -4
  204. package/dist/cjs/solution-contents_3.cjs.entry.js +4 -4
  205. package/dist/cjs/solution-item-accordion.cjs.entry.js +2 -2
  206. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  207. package/dist/cjs/solution-store-f3257490.js +1354 -0
  208. package/dist/cjs/solutions-components.cjs.js +4 -4
  209. package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
  210. package/dist/cjs/sr-0510fba6.js +103 -0
  211. package/dist/cjs/store-manager.cjs.entry.js +3 -3
  212. package/dist/cjs/sv-c5fbe1ff.js +73 -0
  213. package/dist/cjs/t9n-e69b3d42.js +108 -0
  214. package/dist/cjs/th-8cafcb47.js +67 -0
  215. package/dist/cjs/time-ceec376d.js +301 -0
  216. package/dist/cjs/tr-7f905223.js +68 -0
  217. package/dist/cjs/uk-991e83da.js +106 -0
  218. package/dist/cjs/utils-d8dabd76.js +153 -0
  219. package/dist/cjs/utils-e60dc760.js +79 -0
  220. package/dist/cjs/vi-d5eababe.js +72 -0
  221. package/dist/cjs/zh-cn-e6bc2622.js +96 -0
  222. package/dist/cjs/zh-hk-30480131.js +94 -0
  223. package/dist/cjs/zh-tw-1f3b4cda.js +94 -0
  224. package/dist/collection/components/map-select-tools/map-select-tools.js +2 -2
  225. package/dist/components/IdentityManager.js +2487 -0
  226. package/dist/components/calcite-button2.js +273 -0
  227. package/dist/components/calcite-dialog2.js +5867 -0
  228. package/dist/components/calcite-input2.js +992 -0
  229. package/dist/components/calcite-label2.js +100 -0
  230. package/dist/components/calcite-notice2.js +251 -0
  231. package/dist/components/component2.js +1048 -0
  232. package/dist/components/form2.js +362 -0
  233. package/dist/components/icon2.js +960 -0
  234. package/dist/components/instant-apps-language-switcher.js +6 -10
  235. package/dist/components/instant-apps-language-translator2.js +2 -809
  236. package/dist/components/instant-apps-time-filter.js +3 -57
  237. package/dist/components/interactive2.js +83 -0
  238. package/dist/components/label3.js +179 -0
  239. package/dist/components/loader2.js +173 -0
  240. package/dist/components/locale3.js +1311 -3
  241. package/dist/components/map-select-tools2.js +2 -2
  242. package/dist/components/openCloseComponent2.js +64 -0
  243. package/dist/components/request.js +14 -0
  244. package/dist/esm/ExpandToggle-51a5210b.js +108 -0
  245. package/dist/esm/FloatingArrow-41be757a.js +46 -0
  246. package/dist/esm/Heading-62ae5a41.js +22 -0
  247. package/dist/esm/IdentityManager-28f1ebb3.js +4139 -0
  248. package/dist/esm/Validation-e4b3bd31.js +18 -0
  249. package/dist/esm/app-globals-9df1c281.js +65 -0
  250. package/dist/esm/ar-000d3816.js +104 -0
  251. package/dist/esm/arcgis-login.entry.js +1 -1
  252. package/dist/esm/basemap-gallery_7.entry.js +2 -2
  253. package/dist/esm/bg-50ceeb3e.js +82 -0
  254. package/dist/esm/browser-13cd5e9f.js +32 -0
  255. package/dist/esm/bs-8de5a54e.js +51 -0
  256. package/dist/esm/buffer-tools_3.entry.js +4 -4
  257. package/dist/esm/ca-3b560649.js +71 -0
  258. package/dist/esm/calcite-accordion_2.entry.js +5 -5
  259. package/dist/esm/calcite-action-bar.entry.js +8 -8
  260. package/dist/esm/calcite-action-group.entry.js +7 -7
  261. package/dist/esm/calcite-action-menu_2.entry.js +9 -9
  262. package/dist/esm/calcite-action-pad_2.entry.js +8 -8
  263. package/dist/esm/calcite-action_2.entry.js +13 -13
  264. package/dist/esm/calcite-alert_6.entry.js +11 -11
  265. package/dist/esm/calcite-avatar.entry.js +1 -1
  266. package/dist/esm/calcite-block-section.entry.js +6 -6
  267. package/dist/esm/calcite-block_5.entry.js +17 -17
  268. package/dist/esm/calcite-button-3501ac03.js +278 -0
  269. package/dist/esm/calcite-button.entry.js +8 -8
  270. package/dist/esm/calcite-card-group.entry.js +4 -4
  271. package/dist/esm/calcite-card.entry.js +7 -7
  272. package/dist/esm/calcite-carousel_2.entry.js +7 -7
  273. package/dist/esm/calcite-checkbox.entry.js +5 -5
  274. package/dist/esm/calcite-chip-group.entry.js +4 -4
  275. package/dist/esm/calcite-chip_2.entry.js +9 -9
  276. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +3 -3
  277. package/dist/esm/calcite-color-picker.entry.js +7 -7
  278. package/dist/esm/calcite-combobox-item-group.entry.js +3 -3
  279. package/dist/esm/calcite-combobox_3.entry.js +15 -15
  280. package/dist/esm/calcite-date-picker-day_3.entry.js +8 -8
  281. package/dist/esm/calcite-dialog-21f00586.js +5872 -0
  282. package/dist/esm/calcite-dialog.entry.js +9 -9
  283. package/dist/esm/calcite-dropdown_2.entry.js +7 -7
  284. package/dist/esm/calcite-fab.entry.js +4 -4
  285. package/dist/esm/calcite-filter_5.entry.js +7 -7
  286. package/dist/esm/calcite-flow_4.entry.js +5 -5
  287. package/dist/esm/calcite-graph_2.entry.js +7 -7
  288. package/dist/esm/calcite-icon_2.entry.js +4 -4
  289. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  290. package/dist/esm/calcite-input-355d3812.js +997 -0
  291. package/dist/esm/calcite-input-number.entry.js +9 -9
  292. package/dist/esm/calcite-input-text.entry.js +9 -9
  293. package/dist/esm/calcite-input-time-picker-0137aecc.js +1867 -0
  294. package/dist/esm/calcite-input-time-picker.entry.js +13 -13
  295. package/dist/esm/calcite-input-time-zone.entry.js +8 -8
  296. package/dist/esm/calcite-input_2.entry.js +9 -9
  297. package/dist/esm/calcite-label-ac4a2e81.js +107 -0
  298. package/dist/esm/calcite-label.entry.js +1 -1
  299. package/dist/esm/calcite-link.entry.js +4 -4
  300. package/dist/esm/calcite-list-item-group.entry.js +2 -2
  301. package/dist/esm/calcite-menu-item.entry.js +6 -6
  302. package/dist/esm/calcite-menu.entry.js +6 -6
  303. package/dist/esm/calcite-meter.entry.js +6 -6
  304. package/dist/esm/calcite-modal.entry.js +11 -11
  305. package/dist/esm/calcite-navigation-logo.entry.js +4 -4
  306. package/dist/esm/calcite-navigation-user.entry.js +3 -3
  307. package/dist/esm/calcite-navigation.entry.js +3 -3
  308. package/dist/esm/calcite-notice-56c3f190.js +257 -0
  309. package/dist/esm/calcite-notice.entry.js +8 -8
  310. package/dist/esm/calcite-option-group.entry.js +1 -1
  311. package/dist/esm/calcite-option_2.entry.js +7 -7
  312. package/dist/esm/calcite-pagination.entry.js +6 -6
  313. package/dist/esm/calcite-pick-list-group.entry.js +7 -7
  314. package/dist/esm/calcite-pick-list-item.entry.js +10 -10
  315. package/dist/esm/calcite-pick-list.entry.js +8 -8
  316. package/dist/esm/calcite-radio-button-group.entry.js +5 -5
  317. package/dist/esm/calcite-radio-button.entry.js +5 -5
  318. package/dist/esm/calcite-rating.entry.js +8 -8
  319. package/dist/esm/calcite-scrim.entry.js +5 -5
  320. package/dist/esm/calcite-segmented-control_2.entry.js +6 -6
  321. package/dist/esm/calcite-sheet.entry.js +7 -7
  322. package/dist/esm/calcite-shell-center-row.entry.js +6 -6
  323. package/dist/esm/calcite-shell-panel_14.entry.js +14 -14
  324. package/dist/esm/calcite-shell.entry.js +4 -4
  325. package/dist/esm/calcite-sortable-list.entry.js +4 -4
  326. package/dist/esm/calcite-split-button.entry.js +4 -4
  327. package/dist/esm/calcite-stepper-item.entry.js +7 -7
  328. package/dist/esm/calcite-stepper.entry.js +5 -5
  329. package/dist/esm/calcite-switch.entry.js +5 -5
  330. package/dist/esm/calcite-table-cell_2.entry.js +7 -7
  331. package/dist/esm/calcite-table-row.entry.js +2 -2
  332. package/dist/esm/calcite-table.entry.js +6 -6
  333. package/dist/esm/calcite-text-area.entry.js +9 -9
  334. package/dist/esm/calcite-tile-group.entry.js +4 -4
  335. package/dist/esm/calcite-tile-select-group.entry.js +4 -4
  336. package/dist/esm/calcite-tile-select.entry.js +6 -6
  337. package/dist/esm/calcite-tile.entry.js +4 -4
  338. package/dist/esm/calcite-time-picker.entry.js +7 -7
  339. package/dist/esm/calcite-tip-group.entry.js +3 -3
  340. package/dist/esm/calcite-tip-manager.entry.js +8 -8
  341. package/dist/esm/calcite-tip.entry.js +9 -9
  342. package/dist/esm/calcite-tooltip.entry.js +5 -5
  343. package/dist/esm/calcite-tree_2.entry.js +5 -5
  344. package/dist/esm/card-manager_3.entry.js +3 -3
  345. package/dist/esm/component-85f22c99.js +1048 -0
  346. package/dist/esm/conditionalSlot-3eb5090f.js +51 -0
  347. package/dist/esm/config-1d142af8.js +36 -0
  348. package/dist/esm/consent-manager.entry.js +2 -2
  349. package/dist/esm/crowdsource-manager.entry.js +2 -2
  350. package/dist/esm/crowdsource-reporter.entry.js +2 -2
  351. package/dist/esm/cs-5cdc1d3f.js +147 -0
  352. package/dist/esm/da-30365c90.js +67 -0
  353. package/dist/esm/date-ac9ec758.js +248 -0
  354. package/dist/esm/de-at-941b583e.js +90 -0
  355. package/dist/esm/de-b89def95.js +91 -0
  356. package/dist/esm/de-ch-568c0c8e.js +90 -0
  357. package/dist/esm/deduct-calculator.entry.js +1 -1
  358. package/dist/esm/delete-dialog.entry.js +2 -2
  359. package/dist/esm/downloadUtils-74a6bad9.js +3233 -0
  360. package/dist/esm/el-340bad09.js +66 -0
  361. package/dist/esm/en-au-b4bdb56c.js +66 -0
  362. package/dist/esm/en-ca-0a08923c.js +65 -0
  363. package/dist/esm/en-gb-f5381626.js +69 -0
  364. package/dist/esm/es-876b0a13.js +66 -0
  365. package/dist/esm/es-mx-955bc6a1.js +65 -0
  366. package/dist/esm/et-c76bc3b6.js +92 -0
  367. package/dist/esm/feature-list.entry.js +4 -4
  368. package/dist/esm/fi-52e100ba.js +115 -0
  369. package/dist/esm/floating-ui-5be07261.js +2404 -0
  370. package/dist/esm/focusTrapComponent-821ef6e1.js +1008 -0
  371. package/dist/esm/form-df6403ca.js +362 -0
  372. package/dist/esm/form-fbc745ea.js +372 -0
  373. package/dist/esm/fr-0699e247.js +68 -0
  374. package/dist/esm/fr-ch-c58b9b94.js +66 -0
  375. package/dist/esm/he-68c61be9.js +105 -0
  376. package/dist/esm/helpers-50d61130.js +913 -0
  377. package/dist/esm/hi-32cfce47.js +65 -0
  378. package/dist/esm/hr-962d1e56.js +80 -0
  379. package/dist/esm/hu-d13da86a.js +88 -0
  380. package/dist/esm/icon-3fb97c97.js +959 -0
  381. package/dist/esm/id-6de1980b.js +66 -0
  382. package/dist/esm/index-1b6f06f9.js +199 -0
  383. package/dist/esm/index-3eee2657.js +1736 -0
  384. package/dist/esm/index.es-3b04354a.js +11220 -0
  385. package/dist/esm/instant-apps-app-guide.entry.js +2 -2
  386. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +4 -4
  387. package/dist/esm/instant-apps-control-panel.entry.js +1 -1
  388. package/dist/esm/instant-apps-create.entry.js +2 -2
  389. package/dist/esm/instant-apps-export-views.entry.js +2 -2
  390. package/dist/esm/instant-apps-export.entry.js +2 -2
  391. package/dist/esm/instant-apps-header.entry.js +1 -1
  392. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
  393. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
  394. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
  395. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
  396. package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
  397. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
  398. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  399. package/dist/esm/instant-apps-language-switcher.entry.js +9 -13
  400. package/dist/esm/instant-apps-language-translator.entry.js +5 -5
  401. package/dist/esm/instant-apps-measurement.entry.js +2 -2
  402. package/dist/esm/instant-apps-popover.entry.js +2 -2
  403. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  404. package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
  405. package/dist/esm/instant-apps-sign-in.entry.js +2 -2
  406. package/dist/esm/instant-apps-splash.entry.js +2 -2
  407. package/dist/esm/instant-apps-time-filter.entry.js +3 -57
  408. package/dist/esm/interactive-62057336.js +82 -0
  409. package/dist/esm/interactive-8a35f349.js +83 -0
  410. package/dist/esm/it-cccb6e82.js +66 -0
  411. package/dist/esm/it-ch-9d87107f.js +66 -0
  412. package/dist/esm/ja-1401a8ec.js +72 -0
  413. package/dist/esm/ko-9f06170e.js +72 -0
  414. package/dist/esm/label-7f52ca53.js +179 -0
  415. package/dist/esm/languageSwitcher-d0ca5d6f.js +49 -0
  416. package/dist/esm/loadable-bbec26c5.js +93 -0
  417. package/dist/esm/loader-6a8f3dda.js +173 -0
  418. package/dist/esm/loader.js +5 -5
  419. package/dist/esm/locale-22b2e8b1.js +155 -0
  420. package/dist/esm/locale-92d419e3.js +1423 -0
  421. package/dist/esm/locale-9f52f113.js +591 -0
  422. package/dist/esm/logger-5eff868b.js +59 -0
  423. package/dist/esm/lt-61945627.js +97 -0
  424. package/dist/esm/lv-def8646d.js +66 -0
  425. package/dist/esm/map-select-tools_3.entry.js +7 -7
  426. package/dist/esm/mk-db09f1f6.js +66 -0
  427. package/dist/esm/nb-ea4966a3.js +67 -0
  428. package/dist/esm/nl-159f195e.js +67 -0
  429. package/dist/esm/observers-4e931eb6.js +56 -0
  430. package/dist/esm/openCloseComponent-2022c9ab.js +64 -0
  431. package/dist/esm/openCloseComponent-9ae0e1fe.js +63 -0
  432. package/dist/esm/pci-calculator.entry.js +1 -1
  433. package/dist/esm/pl-5514150f.js +114 -0
  434. package/dist/esm/popupUtils-685635b7.js +119 -0
  435. package/dist/esm/pt-91415524.js +67 -0
  436. package/dist/esm/pt-br-0f472af4.js +65 -0
  437. package/dist/esm/public-notification.entry.js +5 -5
  438. package/dist/esm/publicNotificationStore-836d3cb4.js +45 -0
  439. package/dist/esm/request-d71d6adf.js +19 -0
  440. package/dist/esm/ro-decfcb47.js +66 -0
  441. package/dist/esm/ru-84ce786d.js +126 -0
  442. package/dist/esm/share-item.entry.js +1 -1
  443. package/dist/esm/shared-list-render-4dbefca0.js +339 -0
  444. package/dist/esm/sk-4468c163.js +148 -0
  445. package/dist/esm/sl-404f285f.js +168 -0
  446. package/dist/esm/solution-configuration.entry.js +4 -4
  447. package/dist/esm/solution-contents_3.entry.js +4 -4
  448. package/dist/esm/solution-item-accordion.entry.js +2 -2
  449. package/dist/esm/solution-item-icon.entry.js +1 -1
  450. package/dist/esm/solution-store-5b79fffe.js +1352 -0
  451. package/dist/esm/solutions-components.js +5 -5
  452. package/dist/esm/spatial-ref.entry.js +2 -2
  453. package/dist/esm/sr-152d8bf8.js +101 -0
  454. package/dist/esm/store-manager.entry.js +3 -3
  455. package/dist/esm/sv-47115030.js +71 -0
  456. package/dist/esm/t9n-cbccd1ca.js +103 -0
  457. package/dist/esm/th-1c539f57.js +65 -0
  458. package/dist/esm/time-53cad131.js +286 -0
  459. package/dist/esm/tr-432df990.js +66 -0
  460. package/dist/esm/uk-46c024d3.js +104 -0
  461. package/dist/esm/utils-0e3d8992.js +142 -0
  462. package/dist/esm/utils-d55c5742.js +66 -0
  463. package/dist/esm/vi-2ad870b8.js +70 -0
  464. package/dist/esm/zh-cn-1955c2ce.js +94 -0
  465. package/dist/esm/zh-hk-b32fb4c1.js +92 -0
  466. package/dist/esm/zh-tw-67bdf163.js +92 -0
  467. package/dist/solutions-components/p-000848d5.js +6 -0
  468. package/dist/solutions-components/p-01021fdb.js +6 -0
  469. package/dist/solutions-components/p-02800894.entry.js +11 -0
  470. package/dist/solutions-components/p-03434d39.js +11 -0
  471. package/dist/solutions-components/p-060b853f.entry.js +6 -0
  472. package/dist/solutions-components/p-0bd7c945.js +6 -0
  473. package/dist/solutions-components/p-0c985f61.entry.js +6 -0
  474. package/dist/solutions-components/p-0ca3272e.entry.js +6 -0
  475. package/dist/solutions-components/p-0ebb1a18.js +11 -0
  476. package/dist/solutions-components/p-1092fdc9.entry.js +6 -0
  477. package/dist/solutions-components/p-1482f3cf.js +20 -0
  478. package/dist/solutions-components/p-16afbc95.entry.js +6 -0
  479. package/dist/solutions-components/p-18c10df7.entry.js +6 -0
  480. package/dist/solutions-components/p-194bcdd6.entry.js +12 -0
  481. package/dist/solutions-components/p-197cfd05.js +6 -0
  482. package/dist/solutions-components/p-1afc6682.js +6 -0
  483. package/dist/solutions-components/p-1c80d549.entry.js +17 -0
  484. package/dist/solutions-components/p-1cbec431.entry.js +6 -0
  485. package/dist/solutions-components/p-1e60d3ea.js +6 -0
  486. package/dist/solutions-components/p-23c2e69d.entry.js +11 -0
  487. package/dist/solutions-components/p-23d24056.entry.js +11 -0
  488. package/dist/solutions-components/p-25ebeb0c.entry.js +11 -0
  489. package/dist/solutions-components/p-25f84466.entry.js +11 -0
  490. package/dist/solutions-components/p-25fe9f3e.entry.js +6 -0
  491. package/dist/solutions-components/p-291faeb2.js +6 -0
  492. package/dist/solutions-components/p-2a6eba20.entry.js +11 -0
  493. package/dist/solutions-components/p-2b389ce5.entry.js +11 -0
  494. package/dist/solutions-components/p-2b77a660.entry.js +11 -0
  495. package/dist/solutions-components/p-2c78f92c.entry.js +11 -0
  496. package/dist/solutions-components/p-2e193975.entry.js +17 -0
  497. package/dist/solutions-components/p-32262047.entry.js +11 -0
  498. package/dist/solutions-components/p-36470f6b.js +6 -0
  499. package/dist/solutions-components/p-36552016.entry.js +12 -0
  500. package/dist/solutions-components/p-37ddeea3.js +488 -0
  501. package/dist/solutions-components/p-3812d485.entry.js +6 -0
  502. package/dist/solutions-components/p-3948268c.entry.js +6 -0
  503. package/dist/solutions-components/p-3b312dff.js +6 -0
  504. package/dist/solutions-components/p-3b451796.js +6 -0
  505. package/dist/solutions-components/p-3b54163f.js +11 -0
  506. package/dist/solutions-components/p-3b859054.js +16 -0
  507. package/dist/solutions-components/p-3cf3c658.entry.js +29 -0
  508. package/dist/solutions-components/p-3d6698a7.js +11 -0
  509. package/dist/solutions-components/p-3dfe5cdb.js +6 -0
  510. package/dist/solutions-components/p-3e4ac28d.entry.js +6 -0
  511. package/dist/solutions-components/p-3f0f6504.js +6 -0
  512. package/dist/solutions-components/p-3f18fb1f.js +11 -0
  513. package/dist/solutions-components/p-3f20a550.entry.js +6 -0
  514. package/dist/solutions-components/p-3fc70768.entry.js +6 -0
  515. package/dist/solutions-components/p-405118a8.entry.js +11 -0
  516. package/dist/solutions-components/p-412759ed.entry.js +11 -0
  517. package/dist/solutions-components/p-419df1ac.js +11 -0
  518. package/dist/solutions-components/p-46da7d9f.entry.js +6 -0
  519. package/dist/solutions-components/p-47fdc484.js +17 -0
  520. package/dist/solutions-components/p-4858ae16.js +6 -0
  521. package/dist/solutions-components/p-49888ae8.entry.js +11 -0
  522. package/dist/solutions-components/p-4a13d8d9.js +6 -0
  523. package/dist/solutions-components/p-4b1a9c65.js +6 -0
  524. package/dist/solutions-components/p-4d14be12.entry.js +11 -0
  525. package/dist/solutions-components/p-50721c04.js +16 -0
  526. package/dist/solutions-components/p-531c7fdb.js +11 -0
  527. package/dist/solutions-components/p-535335f2.js +6 -0
  528. package/dist/solutions-components/p-53bf0fe4.js +6 -0
  529. package/dist/solutions-components/p-544e3025.entry.js +11 -0
  530. package/dist/solutions-components/p-55a6c0d1.entry.js +6 -0
  531. package/dist/solutions-components/p-55b8fab3.entry.js +6 -0
  532. package/dist/solutions-components/p-564d285a.entry.js +6 -0
  533. package/dist/solutions-components/p-56b44bf7.entry.js +11 -0
  534. package/dist/solutions-components/p-57079c91.entry.js +6 -0
  535. package/dist/solutions-components/p-5732176e.entry.js +47 -0
  536. package/dist/solutions-components/p-57409415.js +17 -0
  537. package/dist/solutions-components/p-576843e9.js +11 -0
  538. package/dist/solutions-components/p-5773023c.entry.js +11 -0
  539. package/dist/solutions-components/p-5c20cdef.entry.js +11 -0
  540. package/dist/solutions-components/p-5d1ab17e.entry.js +21 -0
  541. package/dist/solutions-components/p-5dd95ca6.entry.js +20 -0
  542. package/dist/solutions-components/p-5f9afbb9.entry.js +17 -0
  543. package/dist/solutions-components/p-6155f4e7.js +6 -0
  544. package/dist/solutions-components/p-619b12c3.entry.js +17 -0
  545. package/dist/solutions-components/p-61bd743b.entry.js +22 -0
  546. package/dist/solutions-components/p-64860143.entry.js +11 -0
  547. package/dist/solutions-components/p-64a569da.entry.js +6 -0
  548. package/dist/solutions-components/p-6a1a4124.js +6 -0
  549. package/dist/solutions-components/p-6b8a94f0.entry.js +6 -0
  550. package/dist/solutions-components/p-6e842050.entry.js +11 -0
  551. package/dist/solutions-components/p-721bf278.js +6 -0
  552. package/dist/solutions-components/p-731eb030.js +11 -0
  553. package/dist/solutions-components/p-73db9e69.entry.js +11 -0
  554. package/dist/solutions-components/p-73e24177.js +6 -0
  555. package/dist/solutions-components/p-74b25167.entry.js +11 -0
  556. package/dist/solutions-components/p-760f833e.js +6 -0
  557. package/dist/solutions-components/p-7781048a.js +11 -0
  558. package/dist/solutions-components/p-779c8194.entry.js +6 -0
  559. package/dist/solutions-components/p-7a1177c0.entry.js +6 -0
  560. package/dist/solutions-components/p-7c7549b0.js +61 -0
  561. package/dist/solutions-components/p-7e574f00.js +11 -0
  562. package/dist/solutions-components/p-80913362.entry.js +11 -0
  563. package/dist/solutions-components/p-80e05130.entry.js +11 -0
  564. package/dist/solutions-components/p-81a2f4c3.entry.js +12 -0
  565. package/dist/solutions-components/p-81c41f7b.entry.js +11 -0
  566. package/dist/solutions-components/p-82ee3b26.js +7 -0
  567. package/dist/solutions-components/p-8354374d.entry.js +6 -0
  568. package/dist/solutions-components/p-844b7f82.entry.js +6 -0
  569. package/dist/solutions-components/p-8535b484.entry.js +17 -0
  570. package/dist/solutions-components/p-853db1b6.entry.js +6 -0
  571. package/dist/solutions-components/p-85c0d237.entry.js +11 -0
  572. package/dist/solutions-components/p-885b958c.entry.js +6 -0
  573. package/dist/solutions-components/p-88e8400a.entry.js +11 -0
  574. package/dist/solutions-components/p-899179d7.js +6 -0
  575. package/dist/solutions-components/p-8a9d2564.entry.js +11 -0
  576. package/dist/solutions-components/p-8b60e48a.entry.js +11 -0
  577. package/dist/solutions-components/p-8d028e6a.entry.js +11 -0
  578. package/dist/solutions-components/p-8f7a11c9.js +21 -0
  579. package/dist/solutions-components/p-90240f7f.entry.js +6 -0
  580. package/dist/solutions-components/p-917b535b.js +11 -0
  581. package/dist/solutions-components/p-926e65eb.js +6 -0
  582. package/dist/solutions-components/p-929b5bd1.entry.js +6 -0
  583. package/dist/solutions-components/p-92c8093d.entry.js +6 -0
  584. package/dist/solutions-components/p-934a6d75.js +6 -0
  585. package/dist/solutions-components/p-938fc0cf.entry.js +6 -0
  586. package/dist/solutions-components/p-94b818bb.js +11 -0
  587. package/dist/solutions-components/p-973ec320.js +36 -0
  588. package/dist/solutions-components/p-97b64bea.entry.js +11 -0
  589. package/dist/solutions-components/p-97e56ccc.js +6 -0
  590. package/dist/solutions-components/p-9b513db6.entry.js +16 -0
  591. package/dist/solutions-components/p-9c33a239.entry.js +6 -0
  592. package/dist/solutions-components/p-9cc10554.js +6 -0
  593. package/dist/solutions-components/p-9f38488c.js +6 -0
  594. package/dist/solutions-components/p-a104bc28.js +6 -0
  595. package/dist/solutions-components/p-a1e6cfd8.js +6 -0
  596. package/dist/solutions-components/p-a3633e71.entry.js +6 -0
  597. package/dist/solutions-components/p-a3bc6dd8.entry.js +29 -0
  598. package/dist/solutions-components/p-a412c674.js +11 -0
  599. package/dist/solutions-components/p-a4748493.entry.js +11 -0
  600. package/dist/solutions-components/p-a570536b.js +6 -0
  601. package/dist/solutions-components/p-a60d197e.entry.js +6 -0
  602. package/dist/solutions-components/p-a806b4cf.entry.js +17 -0
  603. package/dist/solutions-components/p-a927a4e4.entry.js +6 -0
  604. package/dist/solutions-components/p-aaa0d91b.entry.js +11 -0
  605. package/dist/solutions-components/p-ab2a12e4.entry.js +17 -0
  606. package/dist/solutions-components/p-abcf272c.entry.js +23 -0
  607. package/dist/solutions-components/p-ad536cdf.js +11 -0
  608. package/dist/solutions-components/p-aef6e1f5.js +6 -0
  609. package/dist/solutions-components/p-b13d3b66.js +6 -0
  610. package/dist/solutions-components/p-b2064f52.entry.js +6 -0
  611. package/dist/solutions-components/p-b209d4b9.js +6 -0
  612. package/dist/solutions-components/p-b2a1177d.entry.js +11 -0
  613. package/dist/solutions-components/p-b54b2fc6.js +31 -0
  614. package/dist/solutions-components/p-b56b9a89.js +11 -0
  615. package/dist/solutions-components/p-b5fe0c3e.entry.js +6 -0
  616. package/dist/solutions-components/p-b6ea0097.js +6 -0
  617. package/dist/solutions-components/p-b7b32972.entry.js +6 -0
  618. package/dist/solutions-components/p-b7b5e88d.entry.js +11 -0
  619. package/dist/solutions-components/p-b9afb782.entry.js +6 -0
  620. package/dist/solutions-components/p-b9b3b48a.entry.js +6 -0
  621. package/dist/solutions-components/p-ba62b5f4.js +16 -0
  622. package/dist/solutions-components/p-bb9e232f.js +6 -0
  623. package/dist/solutions-components/p-bba22752.js +6 -0
  624. package/dist/solutions-components/p-bc47653a.js +6 -0
  625. package/dist/solutions-components/p-bccc997c.js +6 -0
  626. package/dist/solutions-components/p-bd220980.js +21 -0
  627. package/dist/solutions-components/p-bd6a96db.js +6 -0
  628. package/dist/solutions-components/p-bded7c22.entry.js +6 -0
  629. package/dist/solutions-components/p-be28e2bf.js +6 -0
  630. package/dist/solutions-components/p-be7c3f1d.js +6 -0
  631. package/dist/solutions-components/p-c023fc82.js +6 -0
  632. package/dist/solutions-components/p-c1160ad0.entry.js +6 -0
  633. package/dist/solutions-components/p-c26b8546.entry.js +6 -0
  634. package/dist/solutions-components/p-c2ff1a82.js +6 -0
  635. package/dist/solutions-components/p-c323117d.js +16 -0
  636. package/dist/solutions-components/p-c5713c95.entry.js +11 -0
  637. package/dist/solutions-components/p-c8c16d43.js +11 -0
  638. package/dist/solutions-components/p-c9b5a34f.js +52 -0
  639. package/dist/solutions-components/p-ca26f8f8.js +6 -0
  640. package/dist/solutions-components/p-cb007d2f.js +6 -0
  641. package/dist/solutions-components/p-cc9e1367.entry.js +6 -0
  642. package/dist/solutions-components/p-cdadd82c.entry.js +17 -0
  643. package/dist/solutions-components/p-ce67bbbb.js +11 -0
  644. package/dist/solutions-components/p-cf46113c.js +6 -0
  645. package/dist/solutions-components/p-cfc2fae0.entry.js +17 -0
  646. package/dist/solutions-components/p-d21f3851.js +11 -0
  647. package/dist/solutions-components/p-d2c460b9.entry.js +11 -0
  648. package/dist/solutions-components/p-d4c44a94.js +6 -0
  649. package/dist/solutions-components/p-dca07fd3.js +143 -0
  650. package/dist/solutions-components/p-dcfe9514.entry.js +6 -0
  651. package/dist/solutions-components/p-dd0bee4a.entry.js +6 -0
  652. package/dist/solutions-components/p-de2fecc0.js +40 -0
  653. package/dist/solutions-components/p-de44364f.js +11 -0
  654. package/dist/solutions-components/p-decc356d.entry.js +11 -0
  655. package/dist/solutions-components/p-e043aae3.js +6 -0
  656. package/dist/solutions-components/p-e04831b9.js +6 -0
  657. package/dist/solutions-components/p-e06f90a2.entry.js +11 -0
  658. package/dist/solutions-components/p-e0e6d099.js +21 -0
  659. package/dist/solutions-components/p-e21cb40e.entry.js +11 -0
  660. package/dist/solutions-components/p-e33b7602.js +6 -0
  661. package/dist/solutions-components/p-e385cdcf.entry.js +11 -0
  662. package/dist/solutions-components/p-e3e89708.entry.js +11 -0
  663. package/dist/solutions-components/p-e4206773.entry.js +11 -0
  664. package/dist/solutions-components/p-e4c16e8f.entry.js +6 -0
  665. package/dist/solutions-components/p-e6b2432e.entry.js +6 -0
  666. package/dist/solutions-components/p-e76f93bc.js +11 -0
  667. package/dist/solutions-components/p-e82a84ac.entry.js +6 -0
  668. package/dist/solutions-components/p-eb1edf3e.entry.js +6 -0
  669. package/dist/solutions-components/p-ebac7396.entry.js +6 -0
  670. package/dist/solutions-components/p-ecabb824.entry.js +6 -0
  671. package/dist/solutions-components/p-ecfe49cf.entry.js +6 -0
  672. package/dist/solutions-components/p-ed50a65b.entry.js +17 -0
  673. package/dist/solutions-components/p-eda5e49e.entry.js +11 -0
  674. package/dist/solutions-components/p-ef51b934.js +6 -0
  675. package/dist/solutions-components/p-f22622b4.js +6 -0
  676. package/dist/solutions-components/p-f2340619.js +6 -0
  677. package/dist/solutions-components/p-f33c5883.entry.js +6 -0
  678. package/dist/solutions-components/p-f4eea8c2.js +67 -0
  679. package/dist/solutions-components/p-f7653a0b.js +6 -0
  680. package/dist/solutions-components/p-f876de3f.js +6 -0
  681. package/dist/solutions-components/p-f87f02a1.entry.js +6 -0
  682. package/dist/solutions-components/p-faaf42a3.entry.js +11 -0
  683. package/dist/solutions-components/p-fcd719b7.entry.js +22 -0
  684. package/dist/solutions-components/p-fd152d68.js +16 -0
  685. package/dist/solutions-components/p-fdf5a50e.entry.js +11 -0
  686. package/dist/solutions-components/p-fe43b510.js +17 -0
  687. package/dist/solutions-components/p-ff609816.entry.js +11 -0
  688. package/dist/solutions-components/solutions-components.esm.js +1 -1
  689. package/package.json +5 -5
  690. package/dist/cjs/ExpandToggle-c5e409ce.js +0 -115
  691. package/dist/cjs/FloatingArrow-c2b50d47.js +0 -48
  692. package/dist/cjs/Heading-3e2d46fd.js +0 -25
  693. package/dist/cjs/Validation-c065b988.js +0 -20
  694. package/dist/cjs/app-globals-09eb9eb5.js +0 -67
  695. package/dist/cjs/ar-0afb390b.js +0 -106
  696. package/dist/cjs/bg-b1be4ef3.js +0 -84
  697. package/dist/cjs/browser-0bedacf5.js +0 -35
  698. package/dist/cjs/bs-a314390f.js +0 -53
  699. package/dist/cjs/ca-b8e89e47.js +0 -73
  700. package/dist/cjs/calcite-input-time-picker-42ed419f.js +0 -1870
  701. package/dist/cjs/conditionalSlot-003e6975.js +0 -54
  702. package/dist/cjs/config-2282fdac.js +0 -40
  703. package/dist/cjs/constants-bed33322.js +0 -860
  704. package/dist/cjs/cs-f14626e8.js +0 -149
  705. package/dist/cjs/da-2fce32d4.js +0 -69
  706. package/dist/cjs/date-e763caec.js +0 -264
  707. package/dist/cjs/de-2c1fce6f.js +0 -93
  708. package/dist/cjs/de-at-94de293d.js +0 -92
  709. package/dist/cjs/de-ch-d42f4faf.js +0 -92
  710. package/dist/cjs/downloadUtils-76bc7e30.js +0 -3240
  711. package/dist/cjs/el-8092eeb9.js +0 -68
  712. package/dist/cjs/en-au-9bc4467f.js +0 -68
  713. package/dist/cjs/en-ca-d9140239.js +0 -67
  714. package/dist/cjs/en-gb-f5e2af8e.js +0 -71
  715. package/dist/cjs/es-4b6327d7.js +0 -68
  716. package/dist/cjs/es-mx-f729412a.js +0 -67
  717. package/dist/cjs/et-ec115eb3.js +0 -94
  718. package/dist/cjs/fi-95701850.js +0 -117
  719. package/dist/cjs/floating-ui-a8693586.js +0 -2413
  720. package/dist/cjs/focusTrapComponent-48fdd3f6.js +0 -1013
  721. package/dist/cjs/form-a36bd0e5.js +0 -381
  722. package/dist/cjs/fr-ch-a231f229.js +0 -68
  723. package/dist/cjs/fr-e22a2684.js +0 -70
  724. package/dist/cjs/he-d0070eb9.js +0 -107
  725. package/dist/cjs/helpers-0493759d.js +0 -940
  726. package/dist/cjs/hi-04615e27.js +0 -67
  727. package/dist/cjs/hr-27fefb6d.js +0 -82
  728. package/dist/cjs/hu-63da9819.js +0 -90
  729. package/dist/cjs/id-d4fe65cd.js +0 -68
  730. package/dist/cjs/index-2b13a4d5.js +0 -201
  731. package/dist/cjs/index-4b68e4b4.js +0 -1770
  732. package/dist/cjs/index.es-8336efed.js +0 -11307
  733. package/dist/cjs/interactive-7ccdd728.js +0 -85
  734. package/dist/cjs/it-418a53bf.js +0 -68
  735. package/dist/cjs/it-ch-7f4632ab.js +0 -68
  736. package/dist/cjs/ja-6c5d5c7d.js +0 -74
  737. package/dist/cjs/ko-e4154b91.js +0 -74
  738. package/dist/cjs/loadable-f3fe73a2.js +0 -98
  739. package/dist/cjs/locale-339b55f0.js +0 -160
  740. package/dist/cjs/locale-4b820602.js +0 -120
  741. package/dist/cjs/locale-7eb2f603.js +0 -605
  742. package/dist/cjs/logger-912d7f26.js +0 -61
  743. package/dist/cjs/lt-d6dae6fd.js +0 -99
  744. package/dist/cjs/lv-bcf9724a.js +0 -68
  745. package/dist/cjs/mk-171505d2.js +0 -68
  746. package/dist/cjs/nb-0dcee19c.js +0 -69
  747. package/dist/cjs/nl-dace5864.js +0 -69
  748. package/dist/cjs/observers-affd684f.js +0 -58
  749. package/dist/cjs/openCloseComponent-044883e4.js +0 -65
  750. package/dist/cjs/pl-7755a609.js +0 -116
  751. package/dist/cjs/popupUtils-bc762034.js +0 -121
  752. package/dist/cjs/pt-3121cc39.js +0 -69
  753. package/dist/cjs/pt-br-67b16e3a.js +0 -67
  754. package/dist/cjs/publicNotificationStore-570204c1.js +0 -47
  755. package/dist/cjs/ro-7f726306.js +0 -68
  756. package/dist/cjs/ru-fc11963d.js +0 -128
  757. package/dist/cjs/shared-list-render-3d6ec3ca.js +0 -361
  758. package/dist/cjs/sk-e85b9c15.js +0 -150
  759. package/dist/cjs/sl-9eb375c2.js +0 -170
  760. package/dist/cjs/solution-store-4de89072.js +0 -1354
  761. package/dist/cjs/sr-1d2513be.js +0 -103
  762. package/dist/cjs/sv-f7693c9f.js +0 -73
  763. package/dist/cjs/t9n-64df74f3.js +0 -108
  764. package/dist/cjs/th-0d2328bb.js +0 -67
  765. package/dist/cjs/time-513586eb.js +0 -301
  766. package/dist/cjs/tr-2c074411.js +0 -68
  767. package/dist/cjs/uk-5e16db67.js +0 -106
  768. package/dist/cjs/utils-3f10ea6b.js +0 -153
  769. package/dist/cjs/utils-d0049d76.js +0 -79
  770. package/dist/cjs/vi-2a4d8334.js +0 -72
  771. package/dist/cjs/zh-cn-126bcbc0.js +0 -96
  772. package/dist/cjs/zh-hk-aeeba861.js +0 -94
  773. package/dist/cjs/zh-tw-0cfb6e20.js +0 -94
  774. package/dist/esm/ExpandToggle-d2cde0b5.js +0 -108
  775. package/dist/esm/FloatingArrow-1ba04e83.js +0 -46
  776. package/dist/esm/Heading-82d9e017.js +0 -22
  777. package/dist/esm/Validation-594a63f5.js +0 -18
  778. package/dist/esm/app-globals-177bd1cd.js +0 -65
  779. package/dist/esm/ar-a85b5d05.js +0 -104
  780. package/dist/esm/bg-def28c6d.js +0 -82
  781. package/dist/esm/browser-e3f463e1.js +0 -32
  782. package/dist/esm/bs-86bb2bcb.js +0 -51
  783. package/dist/esm/ca-823e6ba8.js +0 -71
  784. package/dist/esm/calcite-input-time-picker-c45e1964.js +0 -1867
  785. package/dist/esm/conditionalSlot-720a3c33.js +0 -51
  786. package/dist/esm/config-3af0e436.js +0 -36
  787. package/dist/esm/constants-637a40f5.js +0 -856
  788. package/dist/esm/cs-87414fd8.js +0 -147
  789. package/dist/esm/da-f7060594.js +0 -67
  790. package/dist/esm/date-8f6c3f50.js +0 -248
  791. package/dist/esm/de-18aa2195.js +0 -91
  792. package/dist/esm/de-at-00f0ce55.js +0 -90
  793. package/dist/esm/de-ch-2bf886c0.js +0 -90
  794. package/dist/esm/downloadUtils-bc7a4ba1.js +0 -3233
  795. package/dist/esm/el-0c5df4ce.js +0 -66
  796. package/dist/esm/en-au-947d067e.js +0 -66
  797. package/dist/esm/en-ca-d80eb647.js +0 -65
  798. package/dist/esm/en-gb-78272f13.js +0 -69
  799. package/dist/esm/es-6b8b399b.js +0 -66
  800. package/dist/esm/es-mx-4f12df51.js +0 -65
  801. package/dist/esm/et-11aeba76.js +0 -92
  802. package/dist/esm/fi-c44d11d6.js +0 -115
  803. package/dist/esm/floating-ui-d21020a0.js +0 -2404
  804. package/dist/esm/focusTrapComponent-1ddc67c5.js +0 -1008
  805. package/dist/esm/form-e9b1ad9a.js +0 -372
  806. package/dist/esm/fr-cac28d20.js +0 -68
  807. package/dist/esm/fr-ch-a324bd02.js +0 -66
  808. package/dist/esm/he-eab95e66.js +0 -105
  809. package/dist/esm/helpers-91ca0f44.js +0 -913
  810. package/dist/esm/hi-cefe2a7e.js +0 -65
  811. package/dist/esm/hr-f863024d.js +0 -80
  812. package/dist/esm/hu-2921d1d5.js +0 -88
  813. package/dist/esm/id-4e25c1e7.js +0 -66
  814. package/dist/esm/index-39bc2e6d.js +0 -199
  815. package/dist/esm/index-904bc599.js +0 -1736
  816. package/dist/esm/index.es-0d189a34.js +0 -11220
  817. package/dist/esm/interactive-949b348f.js +0 -82
  818. package/dist/esm/it-1f2ce2fc.js +0 -66
  819. package/dist/esm/it-ch-fa4f6a28.js +0 -66
  820. package/dist/esm/ja-dd6ac9b5.js +0 -72
  821. package/dist/esm/ko-3c269b4f.js +0 -72
  822. package/dist/esm/loadable-421e634e.js +0 -93
  823. package/dist/esm/locale-0d06fca0.js +0 -155
  824. package/dist/esm/locale-77038bee.js +0 -115
  825. package/dist/esm/locale-a75d14ff.js +0 -591
  826. package/dist/esm/logger-5c7a2fec.js +0 -59
  827. package/dist/esm/lt-8f5fd3eb.js +0 -97
  828. package/dist/esm/lv-d1afc7ed.js +0 -66
  829. package/dist/esm/mk-794650fc.js +0 -66
  830. package/dist/esm/nb-800989aa.js +0 -67
  831. package/dist/esm/nl-634b9b85.js +0 -67
  832. package/dist/esm/observers-2d4fa9e3.js +0 -56
  833. package/dist/esm/openCloseComponent-4621d4ae.js +0 -63
  834. package/dist/esm/pl-45fb968c.js +0 -114
  835. package/dist/esm/popupUtils-03dc398a.js +0 -119
  836. package/dist/esm/pt-bd7887a6.js +0 -67
  837. package/dist/esm/pt-br-d9181dce.js +0 -65
  838. package/dist/esm/publicNotificationStore-8f6b0f93.js +0 -45
  839. package/dist/esm/ro-31fe0dcc.js +0 -66
  840. package/dist/esm/ru-e73bc075.js +0 -126
  841. package/dist/esm/shared-list-render-83bb7274.js +0 -339
  842. package/dist/esm/sk-e7e24146.js +0 -148
  843. package/dist/esm/sl-ad96d047.js +0 -168
  844. package/dist/esm/solution-store-ff13861b.js +0 -1352
  845. package/dist/esm/sr-785166a3.js +0 -101
  846. package/dist/esm/sv-9f422817.js +0 -71
  847. package/dist/esm/t9n-23649a4a.js +0 -103
  848. package/dist/esm/th-7e8b3dad.js +0 -65
  849. package/dist/esm/time-5ca488ba.js +0 -286
  850. package/dist/esm/tr-1b1dd6db.js +0 -66
  851. package/dist/esm/uk-13d0afbf.js +0 -104
  852. package/dist/esm/utils-0a78d3c9.js +0 -142
  853. package/dist/esm/utils-a564ca55.js +0 -66
  854. package/dist/esm/vi-82ec876c.js +0 -70
  855. package/dist/esm/zh-cn-c4181895.js +0 -94
  856. package/dist/esm/zh-hk-752cc263.js +0 -92
  857. package/dist/esm/zh-tw-e653ba6c.js +0 -92
  858. package/dist/solutions-components/p-053effee.entry.js +0 -6
  859. package/dist/solutions-components/p-05ae2b11.entry.js +0 -6
  860. package/dist/solutions-components/p-087c3740.entry.js +0 -6
  861. package/dist/solutions-components/p-08c18450.js +0 -11
  862. package/dist/solutions-components/p-09543b4e.js +0 -6
  863. package/dist/solutions-components/p-09d34b2b.entry.js +0 -11
  864. package/dist/solutions-components/p-0af967af.js +0 -6
  865. package/dist/solutions-components/p-0f8241d2.entry.js +0 -6
  866. package/dist/solutions-components/p-10a158fd.entry.js +0 -11
  867. package/dist/solutions-components/p-115af8e4.entry.js +0 -11
  868. package/dist/solutions-components/p-11c2426d.entry.js +0 -20
  869. package/dist/solutions-components/p-1336a071.entry.js +0 -6
  870. package/dist/solutions-components/p-1588fad8.entry.js +0 -6
  871. package/dist/solutions-components/p-177b4cbc.js +0 -16
  872. package/dist/solutions-components/p-184b270d.entry.js +0 -11
  873. package/dist/solutions-components/p-191f30e1.entry.js +0 -11
  874. package/dist/solutions-components/p-19e89591.entry.js +0 -12
  875. package/dist/solutions-components/p-1afc5947.entry.js +0 -11
  876. package/dist/solutions-components/p-1b1ff60a.entry.js +0 -6
  877. package/dist/solutions-components/p-1e8af7ed.js +0 -6
  878. package/dist/solutions-components/p-1f65aed7.js +0 -6
  879. package/dist/solutions-components/p-1fafdc23.entry.js +0 -11
  880. package/dist/solutions-components/p-20ed3f7f.entry.js +0 -11
  881. package/dist/solutions-components/p-2105e658.entry.js +0 -6
  882. package/dist/solutions-components/p-25f30972.entry.js +0 -11
  883. package/dist/solutions-components/p-2714a658.entry.js +0 -6
  884. package/dist/solutions-components/p-2714ede8.entry.js +0 -16
  885. package/dist/solutions-components/p-274aa753.entry.js +0 -6
  886. package/dist/solutions-components/p-294cd25c.js +0 -6
  887. package/dist/solutions-components/p-2b9f9f7d.js +0 -16
  888. package/dist/solutions-components/p-2d9072d8.entry.js +0 -11
  889. package/dist/solutions-components/p-2e0aea4e.entry.js +0 -11
  890. package/dist/solutions-components/p-2e42f34c.js +0 -6
  891. package/dist/solutions-components/p-2f1ef41d.entry.js +0 -6
  892. package/dist/solutions-components/p-2f784608.entry.js +0 -6
  893. package/dist/solutions-components/p-351c7cbf.entry.js +0 -6
  894. package/dist/solutions-components/p-368902f1.entry.js +0 -6
  895. package/dist/solutions-components/p-39e21b70.js +0 -6
  896. package/dist/solutions-components/p-3aee989b.js +0 -11
  897. package/dist/solutions-components/p-3af39767.entry.js +0 -6
  898. package/dist/solutions-components/p-3ba388b6.entry.js +0 -17
  899. package/dist/solutions-components/p-3d999f0f.entry.js +0 -6
  900. package/dist/solutions-components/p-3e44cfab.entry.js +0 -6
  901. package/dist/solutions-components/p-3e87c19c.js +0 -6
  902. package/dist/solutions-components/p-3f9ec755.js +0 -6
  903. package/dist/solutions-components/p-3fe6c230.entry.js +0 -6
  904. package/dist/solutions-components/p-41503b16.entry.js +0 -6
  905. package/dist/solutions-components/p-4416d650.entry.js +0 -17
  906. package/dist/solutions-components/p-443be7fe.js +0 -6
  907. package/dist/solutions-components/p-44dc3dec.entry.js +0 -6
  908. package/dist/solutions-components/p-4695cfab.js +0 -6
  909. package/dist/solutions-components/p-499489c5.entry.js +0 -6
  910. package/dist/solutions-components/p-49df6eb3.entry.js +0 -11
  911. package/dist/solutions-components/p-4a665563.js +0 -6
  912. package/dist/solutions-components/p-4b15f4a4.entry.js +0 -11
  913. package/dist/solutions-components/p-4b47caf1.entry.js +0 -11
  914. package/dist/solutions-components/p-4d6e359e.entry.js +0 -11
  915. package/dist/solutions-components/p-4e3a18b1.js +0 -6
  916. package/dist/solutions-components/p-4e6eb06e.js +0 -7
  917. package/dist/solutions-components/p-4ff35ed4.js +0 -6
  918. package/dist/solutions-components/p-5104cc98.js +0 -6
  919. package/dist/solutions-components/p-51c6e6fe.js +0 -21
  920. package/dist/solutions-components/p-545a48dc.entry.js +0 -11
  921. package/dist/solutions-components/p-55bbfdbc.entry.js +0 -6
  922. package/dist/solutions-components/p-5804e6e1.entry.js +0 -22
  923. package/dist/solutions-components/p-58cff07f.entry.js +0 -11
  924. package/dist/solutions-components/p-592ab45c.js +0 -6
  925. package/dist/solutions-components/p-592f2000.entry.js +0 -6
  926. package/dist/solutions-components/p-5b5b78c0.js +0 -6
  927. package/dist/solutions-components/p-614a66c4.entry.js +0 -11
  928. package/dist/solutions-components/p-6166d8b4.js +0 -16
  929. package/dist/solutions-components/p-61cc2efe.js +0 -6
  930. package/dist/solutions-components/p-62c10928.entry.js +0 -6
  931. package/dist/solutions-components/p-63d334b2.entry.js +0 -6
  932. package/dist/solutions-components/p-677db47a.js +0 -6
  933. package/dist/solutions-components/p-68375137.js +0 -6
  934. package/dist/solutions-components/p-6a3f2249.entry.js +0 -6
  935. package/dist/solutions-components/p-6acd19c5.entry.js +0 -12
  936. package/dist/solutions-components/p-6b5b52c1.entry.js +0 -21
  937. package/dist/solutions-components/p-6cad2a22.js +0 -6
  938. package/dist/solutions-components/p-6f606cdb.js +0 -61
  939. package/dist/solutions-components/p-7059fc40.js +0 -6
  940. package/dist/solutions-components/p-70eba636.entry.js +0 -6
  941. package/dist/solutions-components/p-71f31d39.js +0 -6
  942. package/dist/solutions-components/p-74720d2b.js +0 -6
  943. package/dist/solutions-components/p-764ff506.entry.js +0 -11
  944. package/dist/solutions-components/p-76a1236d.entry.js +0 -6
  945. package/dist/solutions-components/p-770a5a64.js +0 -11
  946. package/dist/solutions-components/p-77865541.entry.js +0 -11
  947. package/dist/solutions-components/p-78b6d3fe.entry.js +0 -6
  948. package/dist/solutions-components/p-78df7603.entry.js +0 -11
  949. package/dist/solutions-components/p-78e09c03.js +0 -6
  950. package/dist/solutions-components/p-7a7951bd.entry.js +0 -11
  951. package/dist/solutions-components/p-7bcfe068.entry.js +0 -6
  952. package/dist/solutions-components/p-7cc8e95a.js +0 -11
  953. package/dist/solutions-components/p-7d5d1b0a.js +0 -11
  954. package/dist/solutions-components/p-7eee9aa8.js +0 -11
  955. package/dist/solutions-components/p-7f68e6a4.js +0 -11
  956. package/dist/solutions-components/p-7fb51464.entry.js +0 -17
  957. package/dist/solutions-components/p-80ff858b.js +0 -6
  958. package/dist/solutions-components/p-8304ce4b.js +0 -17
  959. package/dist/solutions-components/p-85c068fd.js +0 -6
  960. package/dist/solutions-components/p-85c3237c.js +0 -11
  961. package/dist/solutions-components/p-860099d5.js +0 -6
  962. package/dist/solutions-components/p-86a5caf8.js +0 -6
  963. package/dist/solutions-components/p-86db882f.js +0 -6
  964. package/dist/solutions-components/p-872986ce.entry.js +0 -11
  965. package/dist/solutions-components/p-8a2ccb1e.js +0 -6
  966. package/dist/solutions-components/p-8cb9ecf6.js +0 -6
  967. package/dist/solutions-components/p-8d811472.js +0 -6
  968. package/dist/solutions-components/p-8dc9d5b6.entry.js +0 -6
  969. package/dist/solutions-components/p-8f8c7045.entry.js +0 -6
  970. package/dist/solutions-components/p-8ff43000.entry.js +0 -11
  971. package/dist/solutions-components/p-91a83986.entry.js +0 -47
  972. package/dist/solutions-components/p-928f0b5e.entry.js +0 -6
  973. package/dist/solutions-components/p-93d03bf0.js +0 -11
  974. package/dist/solutions-components/p-94e51621.entry.js +0 -6
  975. package/dist/solutions-components/p-977c099e.js +0 -11
  976. package/dist/solutions-components/p-9c25ee2c.entry.js +0 -6
  977. package/dist/solutions-components/p-9c5d5171.js +0 -11
  978. package/dist/solutions-components/p-9d86dd68.js +0 -6
  979. package/dist/solutions-components/p-9d9e0e74.entry.js +0 -6
  980. package/dist/solutions-components/p-9e8d7c1d.entry.js +0 -17
  981. package/dist/solutions-components/p-9e996faa.js +0 -6
  982. package/dist/solutions-components/p-a1473254.entry.js +0 -11
  983. package/dist/solutions-components/p-a1ed15b8.entry.js +0 -11
  984. package/dist/solutions-components/p-a329f05c.entry.js +0 -6
  985. package/dist/solutions-components/p-a52fa87b.entry.js +0 -11
  986. package/dist/solutions-components/p-a5f6a4b9.entry.js +0 -23
  987. package/dist/solutions-components/p-a6790373.entry.js +0 -11
  988. package/dist/solutions-components/p-a693aa25.entry.js +0 -17
  989. package/dist/solutions-components/p-a7d249d9.js +0 -6
  990. package/dist/solutions-components/p-a7d4b1a4.js +0 -6
  991. package/dist/solutions-components/p-ac9c4111.entry.js +0 -12
  992. package/dist/solutions-components/p-acc4d847.entry.js +0 -11
  993. package/dist/solutions-components/p-adabe68e.entry.js +0 -6
  994. package/dist/solutions-components/p-ae5ea416.entry.js +0 -6
  995. package/dist/solutions-components/p-b138a65e.js +0 -11
  996. package/dist/solutions-components/p-b49e1a78.js +0 -6
  997. package/dist/solutions-components/p-b5a5da41.entry.js +0 -17
  998. package/dist/solutions-components/p-b6d50640.entry.js +0 -6
  999. package/dist/solutions-components/p-b8d1b57a.entry.js +0 -6
  1000. package/dist/solutions-components/p-b90978d2.js +0 -6
  1001. package/dist/solutions-components/p-b95968fa.entry.js +0 -6
  1002. package/dist/solutions-components/p-bab47a85.entry.js +0 -29
  1003. package/dist/solutions-components/p-bd35725f.js +0 -6
  1004. package/dist/solutions-components/p-be6cd650.entry.js +0 -11
  1005. package/dist/solutions-components/p-c0ceb17a.js +0 -6
  1006. package/dist/solutions-components/p-c2ceb29c.js +0 -6
  1007. package/dist/solutions-components/p-c350eacb.js +0 -143
  1008. package/dist/solutions-components/p-c399f2b8.entry.js +0 -6
  1009. package/dist/solutions-components/p-c604728b.js +0 -6
  1010. package/dist/solutions-components/p-c63451e1.entry.js +0 -11
  1011. package/dist/solutions-components/p-c7f86f73.entry.js +0 -6
  1012. package/dist/solutions-components/p-c8e22575.entry.js +0 -22
  1013. package/dist/solutions-components/p-c9422007.js +0 -6
  1014. package/dist/solutions-components/p-c9715704.entry.js +0 -11
  1015. package/dist/solutions-components/p-cb8d90d1.js +0 -11
  1016. package/dist/solutions-components/p-cc6f6e41.entry.js +0 -17
  1017. package/dist/solutions-components/p-cd482a33.js +0 -21
  1018. package/dist/solutions-components/p-cdc63710.entry.js +0 -11
  1019. package/dist/solutions-components/p-ce7b0b1a.entry.js +0 -11
  1020. package/dist/solutions-components/p-cf2947f6.entry.js +0 -11
  1021. package/dist/solutions-components/p-d02fb95c.entry.js +0 -17
  1022. package/dist/solutions-components/p-d031cf50.entry.js +0 -11
  1023. package/dist/solutions-components/p-d0ebd10d.js +0 -6
  1024. package/dist/solutions-components/p-d154b5a1.entry.js +0 -11
  1025. package/dist/solutions-components/p-d1b2484b.entry.js +0 -17
  1026. package/dist/solutions-components/p-d2c2a105.entry.js +0 -11
  1027. package/dist/solutions-components/p-d2f8d8a8.entry.js +0 -6
  1028. package/dist/solutions-components/p-d37a68f7.entry.js +0 -6
  1029. package/dist/solutions-components/p-d390df76.entry.js +0 -11
  1030. package/dist/solutions-components/p-d3e1cc81.js +0 -6
  1031. package/dist/solutions-components/p-d851b11e.js +0 -6
  1032. package/dist/solutions-components/p-d9d25da8.entry.js +0 -11
  1033. package/dist/solutions-components/p-d9e9fe80.js +0 -16
  1034. package/dist/solutions-components/p-d9f3778e.js +0 -6
  1035. package/dist/solutions-components/p-daae2ae7.js +0 -6
  1036. package/dist/solutions-components/p-db7d5db8.entry.js +0 -6
  1037. package/dist/solutions-components/p-dc9d4be3.js +0 -6
  1038. package/dist/solutions-components/p-ddb37cba.entry.js +0 -11
  1039. package/dist/solutions-components/p-df062602.entry.js +0 -11
  1040. package/dist/solutions-components/p-e29e57db.entry.js +0 -6
  1041. package/dist/solutions-components/p-e2fd2e29.js +0 -6
  1042. package/dist/solutions-components/p-e3111b70.js +0 -6
  1043. package/dist/solutions-components/p-e37e117f.js +0 -11
  1044. package/dist/solutions-components/p-e4be63b6.entry.js +0 -11
  1045. package/dist/solutions-components/p-e4e7add2.js +0 -11
  1046. package/dist/solutions-components/p-e625aa69.entry.js +0 -6
  1047. package/dist/solutions-components/p-e93a531c.entry.js +0 -11
  1048. package/dist/solutions-components/p-e9a0d2f3.entry.js +0 -6
  1049. package/dist/solutions-components/p-e9fcc194.entry.js +0 -6
  1050. package/dist/solutions-components/p-ee487e75.entry.js +0 -11
  1051. package/dist/solutions-components/p-ef773a13.js +0 -11
  1052. package/dist/solutions-components/p-f09744aa.entry.js +0 -6
  1053. package/dist/solutions-components/p-f3119757.entry.js +0 -11
  1054. package/dist/solutions-components/p-f4aadb3b.js +0 -36
  1055. package/dist/solutions-components/p-f5789e08.entry.js +0 -29
  1056. package/dist/solutions-components/p-f57978f3.entry.js +0 -6
  1057. package/dist/solutions-components/p-f6cc1cf8.entry.js +0 -17
  1058. package/dist/solutions-components/p-f845da58.js +0 -6
  1059. package/dist/solutions-components/p-fbf63d14.entry.js +0 -6
  1060. package/dist/solutions-components/p-fc7c88c8.js +0 -6
  1061. package/dist/solutions-components/p-fd019d15.js +0 -11
  1062. package/dist/solutions-components/p-fd40d066.js +0 -6
  1063. package/dist/solutions-components/p-febf9f75.entry.js +0 -11
  1064. package/dist/solutions-components/p-ff9e28d1.js +0 -488
@@ -1,6 +0,0 @@
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 a,h as t,F as s}from"./p-4e6eb06e.js";const d=class{constructor(t){e(this,t),this.calciteInternalOptionGroupChange=a(this,"calciteInternalOptionGroupChange",6),this.disabled=!1,this.label=void 0}handlePropChange(){this.calciteInternalOptionGroupChange.emit()}render(){return t(s,{key:"174fcf908d37aba0972b1f408938a6ce909e45ff"},t("div",{key:"49ac7e0b58d14a8d07322c7c68670d9c5863c291"},this.label),t("slot",{key:"07d24a3a1edf192733bcb3fcdf279f121df482ed"}))}static get watchers(){return{disabled:["handlePropChange"],label:["handlePropChange"]}}};d.style=":host{display:block}:host([hidden]){display:none}[hidden]{display:none}";export{d as calcite_option_group}
@@ -1,6 +0,0 @@
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 s,H as i,g as a}from"./p-4e6eb06e.js";import{b as c,d as o}from"./p-26ba0cc7.js";import{u as r,I as n}from"./p-770a5a64.js";import{a as d,s as h,b as l}from"./p-7f68e6a4.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-08c18450.js";const p=class{constructor(s){e(this,s),this.calciteCardGroupSelect=t(this,"calciteCardGroupSelect",6),this.items=[],this.udpateItemsOnSelectionModeChange=()=>{this.updateSlottedItems(this.slotRefEl),this.updateSelectedItems()},this.updateItemsOnSlotChange=e=>{this.updateSlottedItems(e.target),this.updateSelectedItems()},this.updateSlottedItems=e=>{this.items=e.assignedElements({flatten:!0}).filter((e=>e?.matches("calcite-card")))},this.updateSelectedItems=()=>{this.items.forEach((e=>{e.selectionMode=this.selectionMode})),this.setSelectedItems(!1)},this.setSelectedItems=(e,t)=>{t&&this.items.forEach((e=>{const s=t===e;switch(this.selectionMode){case"multiple":s&&(e.selected=!e.selected);break;case"single":e.selected=!!s&&!e.selected;break;case"single-persist":e.selected=!!s}})),this.selectedItems=this.items.filter((e=>e.selected)),e&&"none"!==this.selectionMode&&!this.disabled&&this.calciteCardGroupSelect.emit()},this.disabled=!1,this.label=void 0,this.selectionMode="none",this.selectedItems=[]}onSelectionModeChange(){this.udpateItemsOnSelectionModeChange()}componentDidRender(){r(this)}componentDidLoad(){d(this)}async componentWillLoad(){h(this)}calciteInternalCardKeyEventListener(e){if(e.composedPath().includes(this.el)){const t=this.items.filter((e=>!e.disabled));switch(e.detail.key){case"ArrowRight":c(t,e.target,"next");break;case"ArrowLeft":c(t,e.target,"previous");break;case"Home":c(t,e.target,"first");break;case"End":c(t,e.target,"last")}}}calciteCardSelectListener(e){e.composedPath().includes(this.el)&&!e.target.selectable&&this.setSelectedItems(!0,e.target)}async setFocus(){await l(this),this.disabled||o(this.items[0])}render(){return s(i,{key:"2aa2152806418f305065d23ec9779668086f10c9"},s(n,{key:"64717db7b05788f5448b898ab9bfc2a553ed6ac9",disabled:this.disabled},s("div",{key:"f6725d6c8942a0c69aed287bee24d79fd42c7e89","aria-label":this.label,class:"container",role:"none"===this.selectionMode||"multiple"===this.selectionMode?"group":"radiogroup"},s("slot",{key:"a88d6f133fdceafba10ceb9517428b3c7ee8cffb",onSlotchange:this.updateItemsOnSlotChange,ref:e=>this.slotRefEl=e}))))}get el(){return a(this)}static get watchers(){return{selectionMode:["onSelectionModeChange"]}}};p.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}.container{display:flex;flex-wrap:wrap;gap:var(--calcite-card-group-space, var(--calcite-card-group-gap, var(--calcite-size-md)))}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";export{p as calcite_card_group}
@@ -1,11 +0,0 @@
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"./p-4e6eb06e.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.13.2
11
- */const n=()=>"undefined"!=typeof navigator&&"undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document;function o(){if(!n())return"";const o=navigator.userAgentData;return o?.brands?o.brands.map((({brand:n,version:o})=>`${n}/${o}`)).join(" "):navigator.userAgent}export{o as g,n as i}
@@ -1,6 +0,0 @@
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{l}from"./p-d001e961.js";import{c as n}from"./p-dc9d4be3.js";async function o(n,o,i){const[u]=await l(["esri/layers/effects/jsonUtils"]),{toJSON:v,fromJSON:d}=u,t=null==o?void 0:o.layer;if(!n)return(null==t?void 0:t.effect)?t.effect:(null==t?void 0:t.featureEffect)?"includedEffect"===i?t.featureEffect.includedEffect:t.featureEffect.excludedEffect:null;const e=v(n);let r;r=t.featureEffect?"includedEffect"===i?t.featureEffect.includedEffect:t.featureEffect.excludedEffect:t.effect;const a=r?v(r):null;if(!a)return d(e);let s=[...a];return e&&e.forEach((l=>{s.forEach((n=>{const{value:o}=n;if(o)o.forEach(((i,u)=>{i.type===l.type?o[u]=l:!n.value.find((l=>l.type===e[0].type))&&(n.value=[...n.value,...e])}));else{const o=!s.find((l=>l.type===n.type));!s.find((n=>n.type===l.type))&&(s=[...s,l]),o&&(s=[...s,n])}}))})),d(s)}const i=n({data:{},relationshipRampExpandStates:{},compact:!1}),u=i.state,v=i;async function d(l,n,o){var i,u,v,d,t,e,r,a,s;try{const c="group"===(null===(i=null==n?void 0:n.layer)||void 0===i?void 0:i.type),f=null===(v=null===(u=null==n?void 0:n.layer)||void 0===u?void 0:u.layers)||void 0===v?void 0:v.some((l=>l.visible)),$=null===(t=null===(d=null==n?void 0:n.layer)||void 0===d?void 0:d.layers)||void 0===t?void 0:t.every((l=>!(null==l?void 0:l.legendEnabled)));await o.whenOnce((()=>"ready"===(null==l?void 0:l.state))),!c||c&&f?c&&$?await o.whenOnce((()=>{var l;return null===(l=null==n?void 0:n.layer)||void 0===l?void 0:l.loaded})):await o.whenOnce((()=>null==n?void 0:n.ready)):await o.whenOnce((()=>null==n?void 0:n.legendElements));const y=null===(e=null==n?void 0:n.legendElements)||void 0===e?void 0:e[0],m=new Map,p=n.layer,N=await l.view.whenLayerView(p);await o.whenOnce((()=>!1===(null==N?void 0:N.updating)));const O=null===(r=p.renderer)||void 0===r?void 0:r.field;return void 0!==y&&(null===(a=null==y?void 0:y.infos)||void 0===a||a.forEach((l=>{var n;if("symbol-table"===l.type){const n=[];l.infos.forEach((l=>{n.push({count:null,selected:!1,legendElementInfo:l})})),m.set(l.title,{count:null,selected:!1,legendElementInfo:l,nestedInfos:n})}else m.set(null!==(n=l.label)&&void 0!==n?n:p.id,{count:null,selected:!1,legendElementInfo:l})}))),Promise.resolve({activeLayerInfo:n,title:null===(s=null==N?void 0:N.layer)||void 0===s?void 0:s.title,categories:m,field:O,queryExpressions:[],totalCount:null,fLayerView:N,legendElement:y})}catch(l){return Promise.resolve(null)}}async function t(l,n){const o={},i=[];l.activeLayerInfos.forEach(function(l,n,o){return i=>{var u;const v=null===(u=null==i?void 0:i.layer)||void 0===u?void 0:u.type;if("feature"===v||"group"===v){const u=d(n,i,o).then((l=>l));u&&l.push(u);const v=i=>{const u=d(n,i,o).then((l=>l));u&&l.push(u)};i.children.forEach((l=>{var n;v(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{var n;v(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{v(l)}))}))}))}}}(i,l,n));try{return(await Promise.all(i)).forEach((l=>{var n,i;return o[null===(i=null===(n=null==l?void 0:l.activeLayerInfo)||void 0===n?void 0:n.layer)||void 0===i?void 0:i.id]=l})),Promise.resolve(o)}catch(l){return Promise.reject(null)}}function e(l){return Array.from(l).map((l=>l[1]))}function r(l,n,o,i,u){var v,d,t;return i?null===(v=null==i?void 0:i.nestedInfos)||void 0===v?void 0:v[u]:null===(d=null==l?void 0:l.categories)||void 0===d?void 0:d.get(null!==(t=null==o?void 0:o.label)&&void 0!==t?t:null==n?void 0:n.id)}function a(l){var n;return null===(n=null==u?void 0:u.data)||void 0===n?void 0:n[null==l?void 0:l.id]}async function s(n,i,u,v,d){var t,e,r,a,s;const[$,m]=await l(["esri/layers/support/FeatureFilter","esri/layers/support/FeatureEffect"]),{queryExpressions:p,fLayerView:N}=n;!function(l,n,o,i){var u,v,d,t;const{field:e,legendElement:r,categories:a,fLayerView:s}=l,$=null==l?void 0:l.queryExpressions;i&&Array.from(l.categories).map((l=>l[1])).forEach((l=>{var n,o;(null===(n=l.nestedInfos)||void 0===n?void 0:n.every((l=>!l.selected)))&&(null===(o=l.nestedInfos)||void 0===o||o.forEach((l=>{const n=e?`${e} = '${l.legendElementInfo.value}'`:null,o=n?$.indexOf(n):-1;n&&-1!==o&&$.splice(o,1)})))}));const m=null==r?void 0:r.infos,p=y(s);let N=p?c(n,s):f(n,e,o,r,m,"");const O=a?i?null===(v=null===(u=a.get(i.title))||void 0===u?void 0:u.nestedInfos)||void 0===v?void 0:v[o]:a.get(null!==(d=n.label)&&void 0!==d?d:null===(t=null==s?void 0:s.layer)||void 0===t?void 0:t.id):null;O&&(O.selected=!(null==O?void 0:O.selected));const A=m&&1===m.length,w=$.indexOf(N);if(p){const l=$.indexOf(N);0===$.length||-1===l?($&&"1=0"===$[0]&&$.splice(0,1),$.push(N)):$&&1===$.length&&N===$[0]?$[0]="1=0":$&&1===$.length||$&&1===$.length&&N!==$[0]&&"1=0"===$[0]?$[0]=N:$&&1===$.length&&N===$[0]&&"1=0"===$[0]?$[0]=null:$.splice(l,1),$.join(" OR ")}else 0===$.length||-1===w?($&&"1=0"===$[0]&&$.splice(0,1),$.push(N)):$&&1===$.length&&N===$[0]&&!A?$[0]="1=0":$&&1===$.length&&!A||$&&1===$.length&&N!==$[0]&&"1=0"===$[0]&&!A?$[0]=N:$&&1===$.length&&N===$[0]&&"1=0"===$[0]&&!A?$[0]=null:$.splice(w,1);if(i){const n=[];Array.from(l.categories).map((l=>l[1])).forEach((l=>{var o,i;(null===(o=l.nestedInfos)||void 0===o?void 0:o.every((l=>!l.selected)))&&(null===(i=l.nestedInfos)||void 0===i||i.forEach((l=>{e&&`${e} = '${l.legendElementInfo.value}'`&&n.push(`${e} = '${l.legendElementInfo.value}'`)})))})),n.forEach((l=>{-1===$.indexOf(l)&&$.push(l)}))}}(n,i,u,d);const O=p.every((l=>l&&l.includes("<>")))?" AND ":" OR ",A=p.join(O),w=null!==(s=null!==(e=null===(t=null==N?void 0:N.filter)||void 0===t?void 0:t.timeExtent)&&void 0!==e?e:null===(a=null===(r=null==N?void 0:N.featureEffect)||void 0===r?void 0:r.filter)||void 0===a?void 0:a.timeExtent)&&void 0!==s?s:null,{type:E}=v;if("filter"===E)N.filter=new $({where:A,timeExtent:w});else if(v.effect){const{includedEffect:l,excludedEffect:n}=v.effect,i=await o(n,N,"excludedEffect"),u=await o(l,N,"includedEffect");N.featureEffect=new m({filter:new $({where:A,timeExtent:w}),includedEffect:u,excludedEffect:i})}return Promise.resolve()}function c(l,n){const o=n?n.layer.renderer.authoringInfo:null,i=o?o.fields:null,u=[];if(!i)return"";if(l.hasOwnProperty("value"))return i.forEach((n=>{l.value!==n&&u.push(`(${l.value} > ${n} OR (${n} IS NULL AND ${l.value} IS NOT NULL AND (${l.value} > 0 OR ${l.value} < 0)))`)})),u.join(" AND ");{const l=[];i.forEach((n=>{l.push(`${n} = 0`)}));const n=[];if(i.length>2){i.forEach((l=>{i.forEach((o=>{if(l===o)return;const u=[];i.forEach((n=>{l!==n&&o!==n&&u.push(`${l} = ${o} AND (${l} > ${n} OR ${l} >= ${n})`)})),n.push(`(${u.join(" AND ")})`)}))}));const o=[];return i.forEach((l=>{o.push(`${l} IS NULL`)})),`(${l.join(" AND ")}) OR (${n.join(" OR ")}) OR (${o.join(" AND ")})`}{const n=[];i.forEach((o=>{i.forEach((i=>{o!==i&&(n.push(`${o} = ${i}`),n.push(`(${l.join(" AND ")})`))}))}));const o=[];return i.forEach((l=>{i.forEach((n=>{l!==n&&o.push(`(${l} = 0 AND ${n} IS NULL) OR (${l} IS NULL AND ${n} IS NULL)`)}))})),`(${n.join(" OR ")}) OR (${o.join(" OR ")})`}}}function f(l,n,o,i,u,v){const{value:d}=l;if("symbol-table"===(null==i?void 0:i.type)){if(!l.hasOwnProperty("value")||Array.isArray(l.value)&&1===(null==u?void 0:u.length)){if((null==u?void 0:u[0].hasOwnProperty("value"))&&Array.isArray(null==u?void 0:u[0].value)&&(null==u?void 0:u[(null==u?void 0:u.length)-2])&&(null==u?void 0:u[(null==u?void 0:u.length)-2].hasOwnProperty("value"))&&Array.isArray(null==u?void 0:u[(null==u?void 0:u.length)-2].value))return v?`((${n}/${v}) > ${null==u?void 0:u[0].value[1]}) OR ((${n}/${v}) < ${null==u?void 0:u[(null==u?void 0:u.length)-2].value[0]}) OR ${v} = 0 OR ${v} IS NULL`:`${n} > ${null==u?void 0:u[0].value[1]} OR ${n} < ${null==u?void 0:u[(null==u?void 0:u.length)-2].value[0]} OR ${n} IS NULL`;if(1===(null==u?void 0:u.length))return"1=0";{const l=[];null==u||u.forEach((o=>{if(null==o?void 0:o.value){const{value:i}=o,u=-1!==i.indexOf("'")?i.split("'").join("''"):null,v=u?`${n} <> '${u}'`:isNaN(i)||"string"==typeof i&&!i.trim()?`${n} <> '${i}'`:`${n} <> ${i} AND ${n} <> '${i}'`;l.push(v)}}));const o=l.join(" AND ");return n&&o?`${o} OR ${n} IS NULL`:""}}{const i=-1!==d.indexOf("'")?d.split("'").join("''"):null,t=Array.isArray(l.value),e=(null==u?void 0:u.length)-1===o,r=!(null==u?void 0:u[(null==u?void 0:u.length)-1].hasOwnProperty("value")),a=o===(null==u?void 0:u.length)-2;return t?v?e||r&&a?`(${n}/${v}) >= ${d[0]} AND (${n}/${v}) <= ${l.value[1]}`:`(${n}/${v}) > ${d[0]} AND (${n}/${v}) <= ${l.value[1]}`:e||r&&a?`${n} >= ${d[0]} AND ${n} <= ${d[1]}`:`${n} > ${d[0]} AND ${n} <= ${d[1]}`:1===(null==u?void 0:u.length)&&n?isNaN(d)||!d.trim().length?`${n} <> '${d}'`:`${n} <> ${d} OR ${n} <> '${d}'`:i?`${n} = '${i}'`:isNaN(d)||!d.trim().length?`${n} = '${d}'`:`${n} = ${d} OR ${n} = '${d}'`}}return""}function $(l){return Array.isArray(l)?l.every((l=>!l.selected)):l&&Array.from(l.categories.entries()).every((l=>!l[1].selected))&&"1=0"!==l.queryExpressions[0]}function y(l){var n,o,i;return"predominance"===(null===(i=null===(o=null===(n=null==l?void 0:l.layer)||void 0===n?void 0:n.renderer)||void 0===o?void 0:o.authoringInfo)||void 0===i?void 0:i.type)}function m(l){var n;return"relationship-ramp"===(null===(n=null==l?void 0:l.legendElements[1])||void 0===n?void 0:n.type)}function p(l,n,o){var i,u,v,d,t,e,r,a,s,c,f,$,m,p,N,O,A,w,E;const b=l.layer,R=null===(i=null==b?void 0:b.renderer)||void 0===i?void 0:i.field,L=null==n?void 0:n.type,D=null==l?void 0:l.layerView,I=null===(v=null===(u=null==D?void 0:D.layer)||void 0===u?void 0:u.renderer)||void 0===v?void 0:v.classBreakInfos,x=(null===(t=null===(d=null==D?void 0:D.layer)||void 0===d?void 0:d.renderer)||void 0===t?void 0:t.uniqueValueInfos)&&R,g="size-ramp"===L,h="color-ramp"===L,P="opacity-ramp"===L,S="heatmap-ramp"===L,U=D&&I&&I.length>1,z=null===(a=null===(r=null===(e=null==D?void 0:D.layer)||void 0===e?void 0:e.renderer)||void 0===r?void 0:r.authoringInfo)||void 0===a?void 0:a.type,F="class-breaks-color"===z,k="class-breaks-size"===z,q=1===(null===(s=null==n?void 0:n.infos)||void 0===s?void 0:s.length)&&!R,V="relationship"===z&&"size-ramp"!==(null==n?void 0:n.type)&&"symbol-table"!==(null==n?void 0:n.type),C="feature"===(null===(c=null==l?void 0:l.layer)||void 0===c?void 0:c.type),J=C&&R&&!h&&!g&&U,T=!(!C||!R||h||g||U),M=!!(T||y(D)&&!g||F&&R||k&&R||q&&!R&&null!==R||V||x),B=(null===(f=null==l?void 0:l.layer)||void 0===f?void 0:f.featureReduction)&&"size-ramp"===(null===(m=null===($=null==l?void 0:l.legendElements)||void 0===$?void 0:$[o])||void 0===m?void 0:m.type),G="symbol-table"===(null==n?void 0:n.type)&&1===(null===(p=null==n?void 0:n.infos)||void 0===p?void 0:p.length),H=!(null==l?void 0:l.legendElements.every((l=>"color-ramp"!==l.type))),K=!(null==l?void 0:l.legendElements.every((l=>"size-ramp"!==l.type))),Q=G&&H,W=G&&K,X=null===(N=null==n?void 0:n.infos)||void 0===N?void 0:N.every((l=>"number"==typeof l.value)),Y="symbol-table"===(null===(A=null===(O=null==l?void 0:l.legendElements)||void 0===O?void 0:O[0])||void 0===A?void 0:A.type)&&"color-ramp"===(null===(E=null===(w=null==l?void 0:l.legendElements)||void 0===w?void 0:w[1])||void 0===E?void 0:E.type),Z="dot-density"===z,_=j(null==l?void 0:l.layer,R);return!(!C||B||P||S||Q||W||X||Y||Z||!_)&&(I?J||M:T||M)}function N(l){var n,o,i,u,v;return l.queryExpressions=[],(null===(o=null===(n=null==l?void 0:l.fLayerView)||void 0===n?void 0:n.filter)||void 0===o?void 0:o.where)&&(l.fLayerView.filter.where=""),(null===(v=null===(u=null===(i=null==l?void 0:l.fLayerView)||void 0===i?void 0:i.featureEffect)||void 0===u?void 0:u.filter)||void 0===v?void 0:v.where)&&(l.fLayerView.featureEffect=null),l.categories.forEach((l=>{l.selected=!1})),l}function O(l,n){var o,i,u,v,d,t,e,r,a,s,c;const f=l.categories.get(n);null===(o=null==f?void 0:f.nestedInfos)||void 0===o||o.forEach((n=>{const o=l.queryExpressions.indexOf(`${l.field} = '${n.legendElementInfo.value}'`);-1!==o&&l.queryExpressions.splice(o,1),n.selected=!1}));const $=[],y=Array.from(l.categories).map((l=>l[1]));y.forEach((n=>{var o,i;(null===(o=n.nestedInfos)||void 0===o?void 0:o.every((l=>!l.selected)))&&(null===(i=n.nestedInfos)||void 0===i||i.forEach((n=>{$.push(`${l.field} = '${n.legendElementInfo.value}'`)})))})),$.forEach((n=>{-1===l.queryExpressions.indexOf(n)&&l.queryExpressions.push(n)}));let m=l.queryExpressions.join(" OR ");const p=y.every((l=>{var n;return null===(n=l.nestedInfos)||void 0===n?void 0:n.every((l=>!l.selected))}));return p?((null===(u=null===(i=null==l?void 0:l.fLayerView)||void 0===i?void 0:i.filter)||void 0===u?void 0:u.where)&&(l.fLayerView.filter.where=""),(null===(t=null===(d=null===(v=null==l?void 0:l.fLayerView)||void 0===v?void 0:v.featureEffect)||void 0===d?void 0:d.filter)||void 0===t?void 0:t.where)&&(l.fLayerView.featureEffect=null),l.queryExpressions=[]):((null===(r=null===(e=null==l?void 0:l.fLayerView)||void 0===e?void 0:e.filter)||void 0===r?void 0:r.where)&&(l.fLayerView.filter.where=m),(null===(c=null===(s=null===(a=null==l?void 0:l.fLayerView)||void 0===a?void 0:a.featureEffect)||void 0===s?void 0:s.filter)||void 0===c?void 0:c.where)&&(l.fLayerView.featureEffect.filter.where=m)),l}async function A(l,n,o){var i,u;const v=l.fLayerView.createQuery();if(o)if(o.nestedInfos.every((l=>!l.selected))){const n=o.nestedInfos.map((n=>`${l.field} = '${n.legendElementInfo.value}'`)).join(" OR ");v.where=n}else{const n=o.nestedInfos.filter((l=>l.selected)).map((n=>`${l.field} = '${n.legendElementInfo.value}'`)).join(" OR ");v.where=n}else{const n=l.queryExpressions.join(" OR ");v.where=n}try{const{extent:o}=await(null===(u=null===(i=null==l?void 0:l.fLayerView)||void 0===i?void 0:i.layer)||void 0===u?void 0:u.queryExtent(v));await n.goTo(o)}catch(l){}}function w(l){return l.map((l=>null==l?void 0:l.count)).reduce(((l,n)=>l+n))}function E(l){return l.map((l=>{var n;return null===(n=null==l?void 0:l.nestedInfos)||void 0===n?void 0:n.map((l=>l.count)).reduce(((l,n)=>l+n))})).reduce(((l,n)=>l+n))}async function b(l,n,o,i,u,v,d,t){var e,r,a;if(!n)return;if(!j(null==n?void 0:n.layer,o))return;const s="feature"===(null===(e=null==n?void 0:n.layer)||void 0===e?void 0:e.type)?n.createQuery():null,$=y(n)?c(i,n):i.type?f(d,o,t,i,i.infos):f(i,o,u,v,v.infos);s&&$&&(s.where="1=0"===$?"1=1":$,s.geometry=l);try{const l=s?await n.queryFeatureCount(s):null;return Promise.resolve({[null!==(r=i.label)&&void 0!==r?r:null===(a=null==n?void 0:n.layer)||void 0===a?void 0:a.id]:l})}catch(l){console.error("FAILURE AT 'getInfoCount': ",l)}return Promise.resolve(null)}async function R(l,n){let o=Object.assign({},n);const{activeLayerInfos:i}=l;let u={};const v={};i.forEach((async o=>{var i,u,d,t;const e=o.legendElements[0],r=null===(u=n[null===(i=null==o?void 0:o.layer)||void 0===i?void 0:i.id])||void 0===u?void 0:u.fLayerView,a=null===(d=o.layer.renderer)||void 0===d?void 0:d.field,s=[];v[o.layer.id]=[],null===(t=null==e?void 0:e.infos)||void 0===t||t.forEach(((n,i)=>{var u;const d=null===(u=e.infos)||void 0===u?void 0:u.every((l=>"symbol-table"===l.type));if(d){const u=[];n.infos.forEach(((o,v)=>{const d=b(l.view.extent,r,a,n,i,e,o,v);u.push(d)})),v[o.layer.id].push(u)}else s.push(b(l.view.extent,r,a,n,i,e)),v[o.layer.id]=s}));const c=o=>{var i,u,d,t;const e=[],r=o.legendElements[0],a=null===(u=n[null===(i=null==o?void 0:o.layer)||void 0===i?void 0:i.id])||void 0===u?void 0:u.fLayerView,s=null===(d=o.layer.renderer)||void 0===d?void 0:d.field;null===(t=null==r?void 0:r.infos)||void 0===t||t.forEach(((n,o)=>e.push(b(l.view.extent,a,s,n,o,r)))),v[o.layer.id]=e};o.children.forEach((async l=>{var n;c(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{var n;c(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{c(l)}))}))}))}));for(const l in v){let n=u[l];n||(n=u[l]={});const o=await Promise.all(v[l]);if(o.every((l=>Array.isArray(l)))){const i=await Promise.all(o.map((async l=>(await Promise.all(l)).map((l=>l&&Object.values(l)[0])))));n[l]=i,u[l]=Object.assign({},n[l])}else{const i={};o.forEach((l=>{if(!l)return;const n=Object.keys(l)[0];i[n]=l[n]})),l&&(n[l]=i),u[l]=Object.assign({},n[l])}}return i.forEach((l=>{var o;const i=n[l.layer.id],v=l.layer.id;null===(o=null==i?void 0:i.categories)||void 0===o||o.forEach(((n,o)=>{var d;const t=Array.from(null==i?void 0:i.categories).findIndex((l=>l[0]===o));if(null==n?void 0:n.nestedInfos)null==n||n.nestedInfos.forEach(((n,o)=>{var i,v,d;const e=null===(d=null===(v=null==u?void 0:u[null===(i=null==l?void 0:l.layer)||void 0===i?void 0:i.id])||void 0===v?void 0:v[t])||void 0===d?void 0:d[o];n.count=isNaN(e)?null:e}));else{const l=null===(d=null==u?void 0:u[v])||void 0===d?void 0:d[o];n.count=isNaN(l)?null:l}}));const d=l=>{var o;const i=l.layer.id,v=n[i];null===(o=null==v?void 0:v.categories)||void 0===o||o.forEach(((l,n)=>{var o;const v=null===(o=null==u?void 0:u[i])||void 0===o?void 0:o[n];l.count=v}))};l.children.forEach((l=>{var n;d(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{var n;d(l),(null===(n=null==l?void 0:l.children)||void 0===n?void 0:n.length)>0&&l.children.forEach((l=>{d(l)}))}))}))})),Promise.resolve(o)}function L(l,n){var o;return null===(o=null==l?void 0:l.nestedInfos)||void 0===o?void 0:o[n]}function D(l){return Array.from(l).map((l=>l[1])).every((l=>!!(null==l?void 0:l.nestedInfos)))}function I(l){var n,o,i,u;return!!(null===(u=null===(i=null===(o=null===(n=null==l?void 0:l.legendElements)||void 0===n?void 0:n[0])||void 0===o?void 0:o.infos)||void 0===i?void 0:i.every)||void 0===u?void 0:u.call(i,(l=>"symbol-table"===(null==l?void 0:l.type))))}function x(l,n){var o;return null===(o=null==l?void 0:l.categories)||void 0===o?void 0:o.get(null==n?void 0:n.title)}function g(l){const n="calcite-mode-",o=`${n}light`,i=`${n}dark`;return l.classList.contains(i)?i:o}function h(l){if(l.layerId&&l.intLegendLayerData){const n=l.layerId,o=l.intLegendLayerData,i=Object.assign(Object.assign({},u.data),{[n]:o});v.set("data",i)}}function P(n,i){const{type:u}=n;"filter"===u?function(l){var n,o;null===(o=null===(n=null==l?void 0:l.allLayerViews)||void 0===n?void 0:n.filter((l=>{var n;return"feature"===(null===(n=null==l?void 0:l.layer)||void 0===n?void 0:n.type)})))||void 0===o||o.forEach((l=>{const n=S(l);l.filter=n,l.set("featureEffect",null)}))}(i):"effect"===u&&function(n,i){var u;null===(u=null==i?void 0:i.allLayerViews)||void 0===u||u.filter((l=>{var n;return"feature"===(null===(n=null==l?void 0:l.layer)||void 0===n?void 0:n.type)})).forEach((async i=>{if((null==n?void 0:n.effect)&&i){const[u]=await l(["esri/layers/support/FeatureEffect"]),{includedEffect:v,excludedEffect:d}=n.effect,t=await o(d,i,"excludedEffect"),e=await o(v,i,"includedEffect"),r=S(i);i.featureEffect=new u({filter:r,includedEffect:e,excludedEffect:t}),i.set("filter",null)}}))}(n,i)}function S(l){var n;return(null==l?void 0:l.filter)||(null===(n=null==l?void 0:l.featureEffect)||void 0===n?void 0:n.filter)}function j(l,n){const o=null==l?void 0:l.fields,i=o&&o.map((l=>l.name));return!n||i&&i.includes(n)}function U(l){const n=[];return l.forEach((l=>z(l,n))),n}function z(l,n){n.push(l),l.children&&l.children.length>0&&l.children.forEach((l=>{z(l,n)}))}export{x as a,r as b,$ as c,R as d,t as e,U as f,g,P as h,u as i,d as j,s as k,a as l,I as m,m as n,O as o,N as p,o as q,e as r,v as s,D as t,h as u,p as v,E as w,w as x,L as y,A as z}
@@ -1,11 +0,0 @@
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 s,g as a}from"./p-4e6eb06e.js";import{c as n,d as o}from"./p-9ce8e34f.js";import{u as h,I as r}from"./p-770a5a64.js";import{a as c,c as l,d}from"./p-177b4cbc.js";import{u as m,c as u,d as p,s as b}from"./p-cb8d90d1.js";import{c as f,s as g,a as y}from"./p-7f68e6a4.js";import{c as v,d as C,a as w,H as I}from"./p-9c5d5171.js";import"./p-26ba0cc7.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-ae019e19.js";import"./p-ec51378a.js";import"./p-85c3237c.js";import"./p-08c18450.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.13.2
11
- */function j(t){return t.replace(":15",".25").replace(":30",".5").replace(":45",".75").replace("−","-")}async function T(t){if("offset"===t)return t=>t;const{normalize:e}=await import("./p-997afdca.js");return e}function Z(t,e){return e[t]||function(t){return t.split("/").pop()}(t)}function x(t,e){return t[e]||e}function D(t){return t.replace(/_/g," ")}function k(t,e,i=Date.now()){return c(e,{timeZone:t,timeZoneName:"shortOffset"}).formatToParts(i).find((({type:t})=>"timeZoneName"===t)).value}function L(t,e,i){return null==i?null:function(t){return void 0!==t[0].items?t.flatMap((t=>t.items)):t}(t).find((t=>t[e]==i))}const B=class{constructor(i){t(this,i),this.calciteInputTimeZoneBeforeClose=e(this,"calciteInputTimeZoneBeforeClose",6),this.calciteInputTimeZoneBeforeOpen=e(this,"calciteInputTimeZoneBeforeOpen",6),this.calciteInputTimeZoneChange=e(this,"calciteInputTimeZoneChange",6),this.calciteInputTimeZoneClose=e(this,"calciteInputTimeZoneClose",6),this.calciteInputTimeZoneOpen=e(this,"calciteInputTimeZoneOpen",6),this.setComboboxRef=t=>{this.comboboxEl=t},this.onComboboxBeforeClose=t=>{t.stopPropagation(),this.overrideSelectedLabelForRegion(!1),this.calciteInputTimeZoneBeforeClose.emit()},this.onComboboxBeforeOpen=t=>{t.stopPropagation(),this.overrideSelectedLabelForRegion(!0),this.calciteInputTimeZoneBeforeOpen.emit()},this.onComboboxChange=t=>{t.stopPropagation();const e=t.target.selectedItems[0];if(!e)return this.value=null,this.selectedTimeZoneItem=null,void this.calciteInputTimeZoneChange.emit();const i=this.findTimeZoneItemByLabel(e.getAttribute("data-label")),s=`${i.value}`;this.value===s&&i.label===this.selectedTimeZoneItem.label||(this.value=s,this.selectedTimeZoneItem=i,this.calciteInputTimeZoneChange.emit())},this.onComboboxClose=t=>{t.stopPropagation(),this.open=!1,this.calciteInputTimeZoneClose.emit()},this.onComboboxOpen=t=>{this.open=!0,t.stopPropagation(),this.calciteInputTimeZoneOpen.emit()},this.clearable=!1,this.disabled=!1,this.form=void 0,this.maxItems=0,this.messages=void 0,this.messageOverrides=void 0,this.mode="offset",this.offsetStyle="user",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.open=!1,this.overlayPositioning="absolute",this.referenceDate=void 0,this.required=!1,this.scale="m",this.status="idle",this.value=void 0,this.readOnly=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}handleTimeZoneItemPropsChange(){this.timeZoneItems&&(this.updateTimeZoneItems(),this.updateTimeZoneSelection())}openChanged(){this.comboboxEl.open=this.open}handleValueChange(t,e){if(!(t=this.normalizeValue(t)))return this.clearable?(this.value=t,void(this.selectedTimeZoneItem=null)):(this.value=e,void(this.selectedTimeZoneItem=this.findTimeZoneItem(e)));const i=this.findTimeZoneItem(t);i?this.selectedTimeZoneItem=i:this.value=e}async setFocus(){await f(this),await this.comboboxEl.setFocus()}effectiveLocaleWatcher(){m(this,this.effectiveLocale)}onLabelClick(){this.setFocus()}overrideSelectedLabelForRegion(t){if("region"!==this.mode||!this.selectedTimeZoneItem)return;const{label:e,metadata:i}=this.selectedTimeZoneItem;var s,a;this.comboboxEl.selectedItems[0].textLabel=!i.country||t?e:(s=i.country,(a=this.messages).timeZoneRegionLabel.replace("{city}",e).replace("{country}",x(a,s)))}findTimeZoneItem(t){return L(this.timeZoneItems,"value",t)}findTimeZoneItemByLabel(t){return L(this.timeZoneItems,"label",t)}async updateTimeZoneItems(){this.timeZoneItems=await this.createTimeZoneItems()}async updateTimeZoneSelection(){if(""===this.value&&this.clearable)return void(this.selectedTimeZoneItem=null);const t="offset"===this.mode?-1*(new Date).getTimezoneOffset():(new Intl.DateTimeFormat).resolvedOptions().timeZone;this.selectedTimeZoneItem=this.findTimeZoneItem(this.value??t)||this.findTimeZoneItem(t)}async createTimeZoneItems(){return this.effectiveLocale&&this.messages?async function(t,e,i,s,a){if("name"===i){const{groupByName:t}=await import("./p-d4f7a87c.js");return(await t()).map((({label:t})=>({label:D(t),value:t,metadata:{filterValue:t}}))).filter((t=>!!t)).sort()}const n="user"===a?t:"utc"===a?"fr":"en-GB",o=s.getTime();if("region"===i){const[{groupByRegion:t},{getCountry:i,global:s}]=await Promise.all([import("./p-725a961a.js"),import("./p-1b59cd94.js")]);return(await t()).map((({label:t,tzs:a})=>(a.sort(((t,i)=>{const s=Z(t,e),a=Z(i,e),n="Etc/GMT";if(t.startsWith(n)&&i.startsWith(n)){const e=t.substring(7),s=i.substring(7),a=""===e?0:parseInt(e);return(""===s?0:parseInt(s))-a}return s.localeCompare(a)})),{label:x(e,t),items:a.map((a=>{const h=j(k(a,n,o)),r=Z(a,e),c=t===s?`${Z(s,e)} Etc`:D(a),l=i(a),d=x(e,l);return{label:r,value:a,metadata:{country:d===r?void 0:d,filterValue:c,offset:h}}}))}))).sort(((t,e)=>t.label===s?-1:e.label===s?1:t.label.localeCompare(e.label)))}const[{groupByOffset:h},{DateEngine:r}]=await Promise.all([import("./p-1b3684d7.js"),import("./p-fc17754b.js")]),c=await h({dateEngine:new r,groupDateRange:1,startDate:new Date(o).toISOString()}),l=new Intl.ListFormat(t,{style:"long",type:"conjunction"}),d=["Factory","Etc/UTC"];return c.forEach((t=>{const e=[];let i=0;t.tzs.forEach(((t,s)=>{d.includes(t)&&i++,e[s]=i})),t.tzs=t.tzs.filter((t=>!d.includes(t))),t.labelTzIdx=t.labelTzIdx.map((t=>t-e[t])).filter((e=>e>=0&&e<t.tzs.length))})),c.map((({labelTzIdx:t,tzs:i})=>{const s=i[0],a=j(k(s,n,o)),h=function(t,e){const i=k(t,"en-US",e).replace("GMT","");return""===i?0:60*Number(j(i))}(s,o),r=t.map((t=>Z(i[t],e))),c=function(t,e,i){return t.timeZoneLabel.replace("{offset}",e).replace("{cities}",i)}(e,a,l.format(r));return{label:c,value:h,metadata:{filterValue:i.map((t=>D(t)))}}})).filter((t=>!!t)).sort(((t,e)=>t.value-e.value))}(this.effectiveLocale,this.messages,this.mode,this.referenceDate instanceof Date?this.referenceDate:new Date(this.referenceDate??Date.now()),this.offsetStyle):[]}connectedCallback(){v(this),n(this),l(this),u(this)}disconnectedCallback(){C(this),o(this),d(this),p(this)}normalizeValue(t){return(t=null===t?"":t)?this.normalizer(t):t}async componentWillLoad(){g(this);const[,t]=await Promise.all([b(this),T(this.mode)]);this.normalizer=t,await this.updateTimeZoneItems(),this.value=this.normalizeValue(this.value),await this.updateTimeZoneSelection();const e=this.selectedTimeZoneItem?`${this.selectedTimeZoneItem.value}`:null;w(this,e),this.value=e}componentDidLoad(){y(this),this.openChanged()}componentDidRender(){h(this),this.overrideSelectedLabelForRegion(this.open)}render(){return i(s,{key:"b94fb2d93cdcaf0c44bbd2a0c7deaf59701078bf"},i(r,{key:"45246bbab441e9daf0e372832e74d7660039c770",disabled:this.disabled},i("calcite-combobox",{key:"294e44d8ab01079651c417f7808348e584f135b7",clearDisabled:!this.clearable,disabled:this.disabled,label:this.messages.chooseTimeZone,lang:this.effectiveLocale,maxItems:this.maxItems,onCalciteComboboxBeforeClose:this.onComboboxBeforeClose,onCalciteComboboxBeforeOpen:this.onComboboxBeforeOpen,onCalciteComboboxChange:this.onComboboxChange,onCalciteComboboxClose:this.onComboboxClose,onCalciteComboboxOpen:this.onComboboxOpen,overlayPositioning:this.overlayPositioning,placeholder:"name"===this.mode?this.messages.namePlaceholder:"offset"===this.mode?this.messages.offsetPlaceholder:this.messages.regionPlaceholder,placeholderIcon:"search",readOnly:this.readOnly,ref:this.setComboboxRef,scale:this.scale,selectionMode:this.clearable?"single":"single-persist",status:this.status,"validation-icon":this.validationIcon,"validation-message":this.validationMessage},this.renderItems()),i(I,{key:"0b7a0694166f1d5b36b780d3436dad15d466bc3c",component:this})))}renderItems(){return"region"===this.mode?this.renderRegionItems():this.timeZoneItems.map((t=>{const e=this.selectedTimeZoneItem===t,{label:s,metadata:a,value:n}=t;return i("calcite-combobox-item",{"data-label":s,key:s,metadata:a,selected:e,textLabel:s,value:n})}))}renderRegionItems(){return this.timeZoneItems.flatMap((({label:t,items:e})=>i("calcite-combobox-item-group",{key:t,label:t},e.map((t=>{const e=this.selectedTimeZoneItem===t,{label:s,metadata:a,value:n}=t;return i("calcite-combobox-item",{"data-label":s,description:a.country,key:s,metadata:a,selected:e,textLabel:s,value:n},i("span",{class:"offset",slot:"content-end"},a.offset))})))))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],messages:["handleTimeZoneItemPropsChange"],mode:["handleTimeZoneItemPropsChange"],referenceDate:["handleTimeZoneItemPropsChange"],open:["openChanged"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};B.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}.offset{white-space:nowrap}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::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}";export{B as calcite_input_time_zone}
@@ -1,6 +0,0 @@
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-80ff858b.js";import"./p-4e6eb06e.js";import"./p-9c5d5171.js";import"./p-26ba0cc7.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-770a5a64.js";import"./p-ec51378a.js";import"./p-9ce8e34f.js";import"./p-ae019e19.js";import"./p-7f68e6a4.js";import"./p-08c18450.js";import"./p-177b4cbc.js";import"./p-85c3237c.js";import"./p-d9e9fe80.js";import"./p-7eee9aa8.js";import"./p-fd019d15.js";import"./p-bd7be7a7.js";import"./p-cb8d90d1.js";import"./p-e37e117f.js";import"./p-a71250ea.js";var s={name:"lv",weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),weekStart:1,weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},relativeTime:{future:"pēc %s",past:"pirms %s",s:"dažām sekundēm",m:"minūtes",mm:"%d minūtēm",h:"stundas",hh:"%d stundām",d:"dienas",dd:"%d dienām",M:"mēneša",MM:"%d mēnešiem",y:"gada",yy:"%d gadiem"}};e.locale(s,null,!0);export{s as default}
@@ -1,6 +0,0 @@
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 o,g as e}from"./p-4e6eb06e.js";import{c as a,d as s}from"./p-7cc8e95a.js";import{c as i,s as c,a as n}from"./p-7f68e6a4.js";import{c as r,d as l}from"./p-177b4cbc.js";import{u as d,c as p,d as h,s as u}from"./p-cb8d90d1.js";import{S as m}from"./p-70e78995.js";import{s as g}from"./p-26ba0cc7.js";import{S as f,I as b,C as v}from"./p-ee3c41d6.js";import"./p-85c3237c.js";import"./p-08c18450.js";import"./p-ec51378a.js";import"./p-eed08718.js";import"./p-51ab623a.js";const x=class{constructor(o){t(this,o),this.setMenuOpen=t=>{this.menuOpen=!!t.target.open},this.handleMenuActionsSlotChange=t=>{this.hasMenuActions=g(t)},this.expanded=!1,this.label=void 0,this.layout="vertical",this.columns=void 0,this.menuOpen=!1,this.overlayPositioning="absolute",this.scale=void 0,this.menuFlipPlacements=void 0,this.menuPlacement=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.hasMenuActions=!1}expandedHandler(){this.menuOpen=!1}onMessagesChange(){}effectiveLocaleChange(){d(this,this.effectiveLocale)}async setFocus(){await i(this),this.el.focus()}connectedCallback(){r(this),p(this),a(this)}disconnectedCallback(){l(this),h(this),s(this)}async componentWillLoad(){c(this),await u(this)}componentDidLoad(){n(this)}renderMenu(){const{expanded:t,menuOpen:e,scale:a,layout:s,messages:i,overlayPositioning:c,hasMenuActions:n,menuFlipPlacements:r,menuPlacement:l}=this;return o("calcite-action-menu",{expanded:t,flipPlacements:r??("horizontal"===s?["top","bottom"]:["left","right"]),hidden:!n,label:i.more,onCalciteActionMenuOpen:this.setMenuOpen,open:e,overlayPositioning:c,placement:l??("horizontal"===s?"bottom-start":"leading-start"),scale:a},o("calcite-action",{icon:b.menu,scale:a,slot:m.trigger,text:i.more,textEnabled:t}),o("slot",{name:f.menuActions,onSlotchange:this.handleMenuActionsSlotChange}),o("slot",{name:f.menuTooltip,slot:m.tooltip}))}render(){return o("div",{key:"8143606c5745053f15140f34ff5ea375a683325f","aria-label":this.label,class:v.container,role:"group"},o("slot",{key:"e8c2821b9ce2e9d0293478989fc31d24f043f9c3"}),this.renderMenu())}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expanded:["expandedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};x.style=':host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:flex;flex-direction:column;padding:0px;background-color:transparent;border-color:var(--calcite-action-group-border-color, var(--calcite-color-border-3));border-style:solid;border-width:0}.container{display:flex;flex-grow:1;flex-direction:column}:host([columns="1"]){--calcite-internal-action-group-columns:1}:host([columns="2"]){--calcite-internal-action-group-columns:2}:host([columns="3"]){--calcite-internal-action-group-columns:3}:host([columns="4"]){--calcite-internal-action-group-columns:4}:host([columns="5"]){--calcite-internal-action-group-columns:5}:host([columns="6"]){--calcite-internal-action-group-columns:6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;background-color:transparent;grid-template-columns:repeat(var(--calcite-action-group-columns, var(--calcite-internal-action-group-columns, 3)), auto);gap:var(--calcite-action-group-gap, 1px);padding:var(--calcite-action-group-gap, 1px)}:host([hidden]){display:none}[hidden]{display:none}';export{x as calcite_action_group}
@@ -1,11 +0,0 @@
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 as e,h as t,H as a,g as n}from"./p-4e6eb06e.js";import{u as s,g as o,f as c}from"./p-26ba0cc7.js";import{d as l,a as h,c as r,u as d}from"./p-d9e9fe80.js";import{s as p,a as m,c as b}from"./p-7f68e6a4.js";import{c as x}from"./p-85c3237c.js";import{o as v}from"./p-93d03bf0.js";import{C as g}from"./p-51ab623a.js";import"./p-eed08718.js";import"./p-7eee9aa8.js";import"./p-08c18450.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.13.2
11
- */const w="container",f="container--open",y="content",u="container--embedded",k=class{constructor(t){i(this,t),this.calciteSheetBeforeClose=e(this,"calciteSheetBeforeClose",6),this.calciteSheetClose=e(this,"calciteSheetClose",6),this.calciteSheetBeforeOpen=e(this,"calciteSheetBeforeOpen",6),this.calciteSheetOpen=e(this,"calciteSheetOpen",6),this.openTransitionProp="opacity",this.ignoreOpenChange=!1,this.mutationObserver=x("mutation",(()=>this.handleMutationObserver())),this.setContentId=i=>{this.contentId=s(i)},this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteSheetOpen",this.openEnd)},this.handleOutsideClose=()=>{this.outsideCloseDisabled||(this.open=!1)},this.closeSheet=async()=>{if(this.beforeClose)try{await this.beforeClose(this.el)}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}this.opened=!1,this.removeOverflowHiddenClass()},this.beforeClose=void 0,this.displayMode="overlay",this.embedded=!1,this.escapeDisabled=!1,this.heightScale="m",this.focusTrapDisabled=!1,this.label=void 0,this.open=!1,this.opened=!1,this.outsideCloseDisabled=!1,this.position="inline-start",this.widthScale="m"}handleFocusTrapDisabled(i){this.open&&(i?l(this):h(this))}toggleSheet(i){this.ignoreOpenChange||(i?this.openSheet():this.closeSheet())}handleOpenedChange(){v(this)}async componentWillLoad(){p(this),this.open&&requestAnimationFrame((()=>this.openSheet()))}componentDidLoad(){m(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),r(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),l(this),this.embedded=!1}render(){const i=o(this.el);return t(a,{key:"145f45b21fa18a08af4ef4e920d536a7e6431175","aria-describedby":this.contentId,"aria-label":this.label,"aria-modal":"true",role:"dialog"},t("div",{key:"796deb8baa890ad7e8f42d2e0a3be22269e450a2",class:{[w]:!0,[f]:this.opened,[u]:this.embedded,[g.rtl]:"rtl"===i},ref:this.setTransitionEl},t("calcite-scrim",{key:"c4d45b89ee32da639d1feb88289d2b0957474414",class:"scrim",onClick:this.handleOutsideClose}),t("div",{key:"ad764ed7812ca7172b5f4aacf4229ae28e06d315",class:{[y]:!0},ref:this.setContentId},t("slot",{key:"dab54df7b8cae4bc8434935e1b55204896ed45df"}))))}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.open=!1,i.preventDefault())}async setFocus(){await b(this),c(this.el)}async updateFocusTrapElements(){d(this)}onBeforeOpen(){this.calciteSheetBeforeOpen.emit()}onOpen(){this.calciteSheetOpen.emit(),h(this)}onBeforeClose(){this.calciteSheetBeforeClose.emit()}onClose(){this.calciteSheetClose.emit(),l(this)}openSheet(){this.el.addEventListener("calciteSheetOpen",this.openEnd),this.opened=!0,this.embedded||(this.initialOverflowCSS=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden"))}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",this.initialOverflowCSS)}handleMutationObserver(){this.updateFocusTrapElements()}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],open:["toggleSheet"],opened:["handleOpenedChange"]}}};k.style=":host{position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;visibility:hidden !important;--calcite-sheet-scrim-background-internal:rgba(0, 0, 0, 0.85);--calcite-scrim-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08), 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl{--calcite-scrim-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04)}.container{visibility:hidden;position:fixed;z-index:var(--calcite-z-index-overlay);display:flex;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;transition:visibility 0ms linear var(--calcite-internal-animation-timing-medium), opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([position=inline-start]) .container{justify-content:flex-start;inset-block:0;inset-inline:0 auto;--calcite-sheet-hidden-position-internal:translate3d(-1rem, 0, 0)}:host([position=inline-end]) .container{justify-content:flex-end;inset-block:0;inset-inline:auto 0;--calcite-sheet-hidden-position-internal:translate3d(1rem, 0, 0)}:host([position=block-start]) .container{align-items:flex-start;inset-block:0 auto;inset-inline:0;--calcite-sheet-hidden-position-internal:translate3d(0, -1rem, 0)}:host([position=block-end]) .container{align-items:flex-end;inset-block:auto 0;inset-inline:0;--calcite-sheet-hidden-position-internal:translate3d(0, 1rem, 0)}:host([display-mode=float]) .content{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([display-mode=overlay][position=inline-start]) .container{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .container{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .container{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .container{box-shadow:var(--calcite-scrim-shadow-block-end-internal)}:host([position^=inline]) .container,:host([position^=inline]) .content{inline-size:var(--calcite-sheet-width-internal);max-inline-size:var(--calcite-sheet-max-width-internal);min-inline-size:var(--calcite-sheet-min-width-internal)}:host([position^=block]) .container,:host([position^=block]) .content{block-size:var(--calcite-sheet-height-internal);max-block-size:var(--calcite-sheet-max-height-internal);min-block-size:var(--calcite-sheet-min-height-internal)}:host([display-mode=float][position^=inline]) .container{block-size:calc(100% - 1.5rem);max-block-size:calc(100% - 1.5rem);min-block-size:calc(100% - 1.5rem)}:host([display-mode=float][position^=block]) .container{inline-size:calc(100% - 1.5rem);max-inline-size:calc(100% - 1.5rem);min-inline-size:calc(100% - 1.5rem)}:host([position^=inline][width-scale=s]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 15vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 360px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 260px)}:host([position^=inline][width-scale=m]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 25vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 420px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 300px)}:host([position^=inline][width-scale=l]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 45vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 680px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 340px)}:host([position^=block][height-scale=s]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 160px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 30vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 30vh)}:host([position^=block][height-scale=m]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 200px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 45vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 50vh)}:host([position^=block][height-scale=l]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 240px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 60vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 70vh)}.scrim{--calcite-scrim-background:var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}:host([opened]){visibility:visible !important}.content{position:relative;z-index:var(--calcite-z-index-modal);box-sizing:border-box;display:block;max-inline-size:100%;overflow-y:hidden;padding:0px;background-color:var(--calcite-color-foreground-1);max-block-size:100%;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-medium), opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88);transform:var(--calcite-sheet-hidden-position-internal)}.container--open .content{transform:translate3d(0, 0, 0)}:host([display-mode=float]) .content,:host([display-mode=float]) .container{border-radius:0.25rem}:host([display-mode=float]) .container{padding:0.75rem}.container--open{visibility:visible;opacity:1;transition-delay:0ms}.container--open .content{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}:host([position=inline-start]) .content,:host([position=inline-end]) .content{block-size:100%}:host([position=block-start]) .content,:host([position=block-end]) .content{inline-size:100%}:host([position]) .container--embedded{pointer-events:auto;position:absolute;inline-size:100%;max-inline-size:100%;min-inline-size:100%;block-size:100%;max-block-size:100%;min-block-size:100%}:host([position]) .container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{k as calcite_sheet}
@@ -1,11 +0,0 @@
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 i,g as s}from"./p-4e6eb06e.js";import{u as a,I as c}from"./p-770a5a64.js";import{c as n}from"./p-85c3237c.js";import{b as o}from"./p-26ba0cc7.js";import"./p-08c18450.js";import"./p-eed08718.js";import"./p-51ab623a.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.13.2
11
- */const r=class{constructor(i){e(this,i),this.calciteTileGroupSelect=t(this,"calciteTileGroupSelect",6),this.items=[],this.getSlottedTiles=()=>this.slotEl?.assignedElements({flatten:!0}).filter((e=>e?.matches("calcite-tile"))),this.mutationObserver=n("mutation",(()=>this.updateTiles())),this.selectItem=e=>{e&&(this.items?.forEach((t=>{const i=e===t;switch(this.selectionMode){case"multiple":i&&(t.selected=!t.selected);break;case"single":t.selected=i&&!t.selected;break;case"single-persist":t.selected=!!i}})),this.updateSelectedItems(),this.calciteTileGroupSelect.emit())},this.setSlotEl=e=>{this.slotEl=e},this.updateSelectedItems=()=>{const e=this.items?.filter((e=>e.selected));("single"===this.selectionMode||"single-persist"===this.selectionMode)&&e?.length>1?(this.selectedItems=[e.pop()],this.items?.forEach((e=>{-1===this.selectedItems.indexOf(e)&&(e.selected=!1)}))):this.selectedItems=e??[]},this.updateTiles=()=>{this.items=this.getSlottedTiles(),this.items?.forEach((e=>{e.alignment=this.alignment,e.interactive=!0,e.layout=this.layout,e.scale=this.scale,e.selectionAppearance=this.selectionAppearance,e.selectionMode=this.selectionMode})),this.updateSelectedItems()},this.alignment="start",this.disabled=!1,this.label=void 0,this.layout="horizontal",this.scale="m",this.selectedItems=[],this.selectionAppearance="icon",this.selectionMode="none"}scaleWatcher(){this.updateTiles()}handleSelectionModeOrAppearanceChange(){this.updateTiles()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0}),this.updateTiles()}componentDidRender(){a(this)}disconnectedCallback(){this.mutationObserver?.disconnect()}calciteInternalTileKeyEventListener(e){if(e.composedPath().includes(this.el)){e.preventDefault(),e.stopPropagation();const t=this.items?.filter((e=>!e.disabled));switch(e.detail.key){case"ArrowDown":case"ArrowRight":o(t,e.detail.target,"next");break;case"ArrowUp":case"ArrowLeft":o(t,e.detail.target,"previous");break;case"Home":o(t,e.detail.target,"first");break;case"End":o(t,e.detail.target,"last")}}}calciteTileSelectHandler(e){e.composedPath().includes(this.el)&&this.selectItem(e.target)}render(){return i(c,{key:"b6652c98d563b78b3eda1dfffb61efdbbfbbae58",disabled:this.disabled},i("div",{key:"e708dc17cf003fd7799f3f510f2dd76bb236a418","aria-label":this.label,class:"container",role:"none"===this.selectionMode||"multiple"===this.selectionMode?"group":"radiogroup"},i("slot",{key:"e3fa46a38e975d2c45371fc9b5c1a89d271143e3",onSlotchange:this.updateTiles,ref:this.setSlotEl})))}get el(){return s(this)}static get watchers(){return{scale:["scaleWatcher"],selectionMode:["handleSelectionModeOrAppearanceChange"],selectionAppearance:["handleSelectionModeOrAppearanceChange"]}}};r.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{box-sizing:border-box;display:inline-block}:host ::slotted(calcite-tile){margin-block-end:var(--calcite-spacing-px);margin-inline-end:var(--calcite-spacing-px)}.container{display:grid;grid-auto-rows:minmax(auto, 1fr)}:host([scale=s]) .container{grid-template-columns:repeat(auto-fit, minmax(100px, 1fr))}:host([scale=m]) .container{grid-template-columns:repeat(auto-fit, minmax(140px, 1fr))}:host([scale=l]) .container{grid-template-columns:repeat(auto-fit, minmax(160px, 1fr))}:host([layout=vertical]) .container{display:flex;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{r as calcite_tile_group}
@@ -1,20 +0,0 @@
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{g as t,r as e,h as i,H as n}from"./p-4e6eb06e.js";import{g as s,a as r,b as o}from"./p-e9d3365f.js";import{s as a}from"./p-c350eacb.js";import"./p-d0d020a5.js";import"./p-7530a02f.js";import{g as h}from"./p-f4aadb3b.js";import{r as c,N as u,c as l,e as f,A as d}from"./p-9bb44f57.js";import"./p-80cb7c73.js";import"./p-dc9d4be3.js";import"./p-d4056c1c.js";import"./p-0a24ad5f.js";
7
- /*! *****************************************************************************
8
- Copyright (c) Microsoft Corporation.
9
-
10
- Permission to use, copy, modify, and/or distribute this software for any
11
- purpose with or without fee is hereby granted.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
- PERFORMANCE OF THIS SOFTWARE.
20
- ***************************************************************************** */var p=function(){return p=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var s in e=arguments[i])Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t},p.apply(this,arguments)};function w(t,e){var i=e;return i.rawResponse=!1,c(t,i).then((function(t){var e={token:t.access_token,username:t.username,expires:new Date(Date.now()+(1e3*t.expires_in-1e3)),ssl:!0===t.ssl};return t.refresh_token&&(e.refreshToken=t.refresh_token),e}))}function m(t,e){var i=e;return i.params.referer="undefined"!=typeof window&&window.location&&window.location.host?window.location.host:u,c(t,i)}var g=/^https?:\/\/(\S+)\.arcgis\.com.+/;function v(t){return g.test(t)}function b(t){if(!g.test(t))return null;var e=t.match(g)[1].split(".").pop();return e.includes("dev")?"dev":e.includes("qa")?"qa":"production"}var k=function(){function t(t){if(this.clientId=t.clientId,this._refreshToken=t.refreshToken,this._refreshTokenExpires=t.refreshTokenExpires,this.username=t.username,this.password=t.password,this._token=t.token,this._tokenExpires=t.tokenExpires,this.portal=t.portal?l(t.portal):"https://www.arcgis.com/sharing/rest",this.ssl=t.ssl,this.provider=t.provider||"arcgis",this.tokenDuration=t.tokenDuration||20160,this.redirectUri=t.redirectUri,this.refreshTokenTTL=t.refreshTokenTTL||20160,this.server=t.server,this.federatedServers={},this.trustedDomains=[],t.server){var e=this.getServerRootUrl(t.server);this.federatedServers[e]={token:t.token,expires:t.tokenExpires}}this._pendingTokenRequests={}}return Object.defineProperty(t.prototype,"token",{get:function(){return this._token},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tokenExpires",{get:function(){return this._tokenExpires},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refreshToken",{get:function(){return this._refreshToken},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refreshTokenExpires",{get:function(){return this._refreshTokenExpires},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trustedServers",{get:function(){return console.log("DEPRECATED: use federatedServers instead"),this.federatedServers},enumerable:!1,configurable:!0}),t.beginOAuth2=function(e,i){void 0===i&&(i=window),e.duration&&console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");var n,s=p({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",state:e.clientId,locale:""},e),r=s.portal,o=s.provider,a=s.clientId,h=s.expiration,c=s.redirectUri,u=s.popup,l=s.popupWindowFeatures,w=s.state,m=s.locale,g=s.params;if(n="arcgis"===o?r+"/oauth2/authorize?client_id="+a+"&response_type=token&expiration="+(e.duration||h)+"&redirect_uri="+encodeURIComponent(c)+"&state="+w+"&locale="+m:r+"/oauth2/social/authorize?client_id="+a+"&socialLoginProviderName="+o+"&autoAccountCreateForSocial=true&response_type=token&expiration="+(e.duration||h)+"&redirect_uri="+encodeURIComponent(c)+"&state="+w+"&locale="+m,g&&(n=n+"&"+f(g)),u){var v,b=((v={promise:null,resolve:null,reject:null}).promise=new Promise((function(t,e){v.resolve=t,v.reject=e})),v);return i["__ESRI_REST_AUTH_HANDLER_"+a]=function(e,i){if(e){var n=JSON.parse(e);b.reject(new d(n.errorMessage,n.error))}else if(i){var s=JSON.parse(i);b.resolve(new t({clientId:a,portal:r,ssl:s.ssl,token:s.token,tokenExpires:new Date(s.expires),username:s.username}))}},i.open(n,"oauth-window",l),b.promise}i.location.href=n},t.completeOAuth2=function(e,i){void 0===i&&(i=window);var n=p({portal:"https://www.arcgis.com/sharing/rest",popup:!0},e),s=n.portal,r=n.clientId,o=n.popup;function a(e,n){try{var a=void 0,h="__ESRI_REST_AUTH_HANDLER_"+r;if(o&&(i.opener?i.opener.parent&&i.opener.parent[h]?a=i.opener.parent[h]:i.opener&&i.opener[h]&&(a=i.opener[h]):i!==i.parent&&i.parent&&i.parent[h]&&(a=i.parent[h]),a))return a(e?JSON.stringify(e):void 0,JSON.stringify(n)),void i.close()}catch(t){throw new d('Unable to complete authentication. It\'s possible you specified popup based oAuth2 but no handler from "beginOAuth2()" present. This generally happens because the "popup" option differs between "beginOAuth2()" and "completeOAuth2()".')}if(e)throw new d(e.errorMessage,e.error);return new t({clientId:r,portal:s,ssl:n.ssl,token:n.token,tokenExpires:n.expires,username:n.username})}var h=i.location.hash.replace(/^#/,"").split("&").reduce((function(t,e){var i=function(t){var e=t.split("="),i=e[1];return{key:decodeURIComponent(e[0]),value:decodeURIComponent(i)}}(e);return t[i.key]=i.value,t}),{});if(!h.access_token){var c=void 0,u="Unknown error";return h.error&&(c=h.error,u=h.error_description),a({error:c,errorMessage:u})}return a(void 0,{token:h.access_token,expires:new Date(Date.now()+1e3*parseInt(h.expires_in,10)-6e4),ssl:"true"===h.ssl,username:h.username})},t.fromParent=function(e,i){var n;return!i&&window&&(i=window),new Promise((function(s,r){i.addEventListener("message",n=function(e){if(e.source===i.parent&&e.data)try{return s(t.parentMessageHandler(e))}catch(t){return r(t)}},!1),i.parent.postMessage({type:"arcgis:auth:requestCredential"},e)})).then((function(t){return i.removeEventListener("message",n,!1),t}))},t.authorize=function(t,e){t.duration&&console.log("DEPRECATED: 'duration' is deprecated - use 'expiration' instead");var i=p({portal:"https://arcgis.com/sharing/rest",expiration:20160},t);e.writeHead(301,{Location:i.portal+"/oauth2/authorize?client_id="+i.clientId+"&expiration="+(t.duration||i.expiration)+"&response_type=code&redirect_uri="+encodeURIComponent(i.redirectUri)}),e.end()},t.exchangeAuthorizationCode=function(e,i){var n=p({portal:"https://www.arcgis.com/sharing/rest",refreshTokenTTL:20160},e),s=n.portal,r=n.clientId,o=n.redirectUri,a=n.refreshTokenTTL;return w(s+"/oauth2/token",{params:{grant_type:"authorization_code",client_id:r,redirect_uri:o,code:i}}).then((function(e){return new t({clientId:r,portal:s,ssl:e.ssl,redirectUri:o,refreshToken:e.refreshToken,refreshTokenTTL:a,refreshTokenExpires:new Date(Date.now()+60*(a-1)*1e3),token:e.token,tokenExpires:e.expires,username:e.username})}))},t.deserialize=function(e){var i=JSON.parse(e);return new t({clientId:i.clientId,refreshToken:i.refreshToken,refreshTokenExpires:new Date(i.refreshTokenExpires),username:i.username,password:i.password,token:i.token,tokenExpires:new Date(i.tokenExpires),portal:i.portal,ssl:i.ssl,tokenDuration:i.tokenDuration,redirectUri:i.redirectUri,refreshTokenTTL:i.refreshTokenTTL})},t.fromCredential=function(e){var i=void 0===e.ssl||e.ssl,n=e.expires||Date.now()+72e5;return new t({portal:e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest",ssl:i,token:e.token,username:e.userId,tokenExpires:new Date(n)})},t.parentMessageHandler=function(e){if("arcgis:auth:credential"===e.data.type)return t.fromCredential(e.data.credential);if("arcgis:auth:error"===e.data.type){var i=new Error(e.data.error.message);throw i.name=e.data.error.name,i}throw new Error("Unknown message type.")},t.prototype.toCredential=function(){return{expires:this.tokenExpires.getTime(),server:this.portal,ssl:this.ssl,token:this.token,userId:this.username}},t.prototype.getUser=function(t){var e=this;if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);var i=this.portal+"/community/self",n=p(p({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingUserRequest=c(i,n).then((function(t){return e._user=t,e._pendingUserRequest=null,t})),this._pendingUserRequest},t.prototype.getPortal=function(t){var e=this;if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);var i=this.portal+"/portals/self",n=p(p({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingPortalRequest=c(i,n).then((function(t){return e._portalInfo=t,e._pendingPortalRequest=null,t})),this._pendingPortalRequest},t.prototype.getUsername=function(){return this.username?Promise.resolve(this.username):this._user?Promise.resolve(this._user.username):this.getUser().then((function(t){return t.username}))},t.prototype.getToken=function(t,e){return n=t,s=v(i=this.portal),r=v(n),o=b(i),a=b(n),s&&r&&o===a||new RegExp(this.portal,"i").test(t)?this.getFreshToken(e):this.getTokenForServer(t,e);var i,n,s,r,o,a},t.prototype.validateAppAccess=function(t){return this.getToken(this.portal).then((function(e){return function(t,e,i){return void 0===i&&(i="https://www.arcgis.com/sharing/rest"),c(i+"/oauth2/validateAppAccess",{method:"POST",params:{f:"json",client_id:e,token:t}})}(e,t)}))},t.prototype.toJSON=function(){return{clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,refreshTokenTTL:this.refreshTokenTTL}},t.prototype.serialize=function(){return JSON.stringify(this)},t.prototype.enablePostMessageAuth=function(t,e){!e&&window&&(e=window),this._hostHandler=this.createPostMessageHandler(t),e.addEventListener("message",this._hostHandler,!1)},t.prototype.disablePostMessageAuth=function(t){!t&&window&&(t=window),t.removeEventListener("message",this._hostHandler,!1)},t.prototype.refreshSession=function(t){return this._user=null,this.username&&this.password?this.refreshWithUsernameAndPassword(t):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new d("Unable to refresh token."))},t.prototype.getServerRootUrl=function(t){var e=l(t).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/)[0].match(/(https?:\/\/)(.+)/),i=e[1],n=e[2].split("/"),s=n[0],r=n.slice(1);return""+i+s.toLowerCase()+"/"+r.join("/")},t.prototype.getDomainCredentials=function(t){return this.trustedDomains&&this.trustedDomains.length&&this.trustedDomains.some((function(e){return t.startsWith(e)}))?"include":"same-origin"},t.prototype.createPostMessageHandler=function(t){var e=this;return function(i){var n=t.indexOf(i.origin)>-1,s="arcgis:auth:requestCredential"===i.data.type,r=e.tokenExpires.getTime()>Date.now();if(n&&s){var o={};if(r){var a=e.toCredential();a.server=a.server.replace("/sharing/rest",""),o={type:"arcgis:auth:credential",credential:a}}else o={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Session token was expired, and not returned to the child application"}};i.source.postMessage(o,i.origin)}}},t.prototype.getTokenForServer=function(t,e){var i=this,n=this.getServerRootUrl(t),s=this.federatedServers[n];return s&&s.expires&&s.expires.getTime()>Date.now()?Promise.resolve(s.token):(this._pendingTokenRequests[n]||(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then((function(){return c(n+"/rest/info",{credentials:i.getDomainCredentials(t)}).then((function(s){if(s.owningSystemUrl){if(r=s.owningSystemUrl,o=l(function(t){if(!g.test(t))return t;switch(b(t)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}(i.portal)).replace(/https?:\/\//,""),a=l(r).replace(/https?:\/\//,""),new RegExp(a,"i").test(o))return c(s.owningSystemUrl+"/sharing/rest/info",e);throw new d(t+" is not federated with "+i.portal+".","NOT_FEDERATED")}var r,o,a;if(s.authInfo&&void 0!==i.federatedServers[n])return Promise.resolve({authInfo:s.authInfo});throw new d(t+" is not federated with any portal and is not explicitly trusted.","NOT_FEDERATED")})).then((function(t){return t.authInfo.tokenServicesUrl})).then((function(e){return i.token&&i.tokenExpires.getTime()>Date.now()?m(e,{params:{token:i.token,serverUrl:t,expiration:i.tokenDuration,client:"referer"}}):m(e,{params:{username:i.username,password:i.password,expiration:i.tokenDuration,client:"referer"}}).then((function(t){return i._token=t.token,i._tokenExpires=new Date(t.expires),t}))})).then((function(t){return i.federatedServers[n]={expires:new Date(t.expires),token:t.token},delete i._pendingTokenRequests[n],t.token}))}))),this._pendingTokenRequests[n])},t.prototype.getFreshToken=function(t){var e=this;return this.token&&!this.tokenExpires||this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshSession(t).then((function(t){return e._pendingTokenRequests[e.portal]=null,t.token}))),this._pendingTokenRequests[this.portal])},t.prototype.refreshWithUsernameAndPassword=function(t){var e=this,i=p({params:{username:this.username,password:this.password,expiration:this.tokenDuration}},t);return m(this.portal+"/generateToken",i).then((function(t){return e._token=t.token,e._tokenExpires=new Date(t.expires),e}))},t.prototype.refreshWithRefreshToken=function(t){var e=this;if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()<Date.now())return this.refreshRefreshToken(t);var i=p({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},t);return w(this.portal+"/oauth2/token",i).then((function(t){return e._token=t.token,e._tokenExpires=t.expires,e}))},t.prototype.refreshRefreshToken=function(t){var e=this,i=p({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},t);return w(this.portal+"/oauth2/token",i).then((function(t){return e._token=t.token,e._tokenExpires=t.expires,e._refreshToken=t.refreshToken,e._refreshTokenExpires=new Date(Date.now()+60*(e.refreshTokenTTL-1)*1e3),e}))},t.prototype.fetchAuthorizedDomains=function(){var t=this;return this.server||!this.portal?Promise.resolve(this):this.getPortal().then((function(e){return e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(t.trustedDomains=e.authorizedCrossOriginDomains.filter((function(t){return!t.startsWith("http://")})).map((function(t){return t.startsWith("https://")?t:"https://"+t}))),t}))},t}();const y=class{get el(){return t(this)}async serializedAuthenticationWatchHandler(){this.authentication=this.serializedAuthentication?k.deserialize(this.serializedAuthentication):new k({})}async valueWatchHandler(){await this._loadSolution(this.solutionItemId)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}constructor(t){e(this,t),this.authentication=new k({}),this.locale=void 0,this.serializedAuthentication="",this.solutionItemId="",this.showLoading=!1,this._currentEditItemId="",this._organizationVariables="",this._solutionContentsComponent=void 0,this._solutionIsLoaded=!1,this._solutionVariables="",this._templateHierarchy=[],this._translations=void 0,this._treeOpen=!0,this.serializedAuthentication&&(this.authentication=k.deserialize(this.serializedAuthentication)),this._loadSolution(this.solutionItemId),window.addEventListener("solutionStoreHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges=t.detail,this._solutionEditorHasChanges,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasChanges",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges=t.detail,this._solutionEditorHasErrors)})),window.addEventListener("solutionEditorHasErrors",(t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges,this._solutionEditorHasErrors=t.detail)}))}async componentWillLoad(){return this._getTranslations()}render(){const t=a.getStoreInfo("spatialReferenceInfo"),e=a.getStoreInfo("featureServices").length>0,o=a.getStoreInfo("solutionData");return this._solutionVariables=JSON.stringify(s(o.templates,this._translations)),this._organizationVariables=JSON.stringify(r(this._translations)),i(n,{key:"809b0a719774c3b51ad151982f297b287691d0cc"},this._solutionIsLoaded?null:i("calcite-loader",{label:""}),i("div",{key:"2544740bc686d7fe363bed2db65cdbe43bf4d5bd",class:"configuration-container"},i("div",{key:"408a760b71313eb7e9eac8f6a678dc91e4638d6c",class:"configuration"},i("calcite-tabs",{key:"dd7305e5a4e9fa71a4ed3b1847fed522db9aab93",class:"config-tabs"},i("calcite-tab-nav",{key:"86ed45d74d5ec71424c55647c3d2be6b26ecff64",slot:"tab-nav"},i("calcite-tab-title",{key:"5c994072f82dad7c7a96dad36588590ee878bfe7"},this._translations.definitionTab),e?i("calcite-tab-title",null,this._translations.spatialReferenceTab):null),i("calcite-tab",{key:"cbbcb55de04b43bd373adac942980c11532af4d5",class:"config-tab",selected:!0},i("div",{key:"23fa5d4811faeeb74af221d1c1ed10a49c9c6ef5",class:"config-solution"},i("div",{key:"b633743e464284e99dca1f80c93bf1ff5cb18870",class:this._treeOpen?"config-inventory":"config-inventory-hide"},i("solution-contents",{id:"configInventory",key:`${this.solutionItemId}-contents`,ref:t=>this._solutionContentsComponent=t})),i("calcite-button",{key:"e415661d2902e809c6ce805e5e0ed26b6f4c29c0",appearance:"transparent",class:"collapse-btn","icon-start":this._treeOpen?"chevrons-left":"chevrons-right",id:"collapse-vars",onClick:()=>this._toggleTree(),scale:"s",title:this._treeOpen?this._translations.collapse:this._translations.expand}),i("div",{key:"a3968cb69c45376a0cbf2127e1c5126b4f34af54",class:"config-item"},i("solution-item",{authentication:this.authentication,"item-id":this._currentEditItemId,key:`${this.solutionItemId}-item`,locale:this.locale,"organization-variables":this._organizationVariables,"solution-item-id":this.solutionItemId,"solution-variables":this._solutionVariables})))),e?i("calcite-tab",{class:"config-tab"},i("div",{class:"config-solution"},i("solution-spatial-ref",{enableDefault:!!t.default,enabled:t?.enabled,featureServices:a.getStoreInfo("featureServices").map((t=>t.name)),id:"configure-solution-spatial-ref",key:`${this.solutionItemId}-spatial-ref`,locale:this.locale}))):null))))}_solutionStoreHasChanges=!1;_solutionEditorHasChanges=!1;_solutionEditorHasErrors=!1;_canSave=!1;_solutionItemSelected(t){this._currentEditItemId=t.detail}async getSpatialReferenceInfo(){return Promise.resolve(a.getStoreInfo("spatialReferenceInfo"))}async saveSolution(){this._solutionIsLoaded=!1,await a.saveSolution(),this._solutionIsLoaded=!0,this.solutionItemId=null}async unloadSolution(){this.solutionItemId=null}_initProps(){const t=a.getStoreInfo("solutionData");let e;this._templateHierarchy=[...o(t.templates)],this._solutionContentsComponent&&(this._solutionContentsComponent.templateHierarchy=this._templateHierarchy),this._templateHierarchy.length>0&&(e=a.getItemInfo(this._templateHierarchy[0].id)),this._currentEditItemId=e?e.itemId:""}async _loadSolution(t){return t?(this._solutionIsLoaded=!1,await a.loadSolution(t,this.authentication),this._initProps(),this._solutionIsLoaded=!0):this._reset(),Promise.resolve()}_reset(){this._currentEditItemId="",this._organizationVariables="",this._solutionVariables="",this._templateHierarchy=[]}_toggleTree(){this._treeOpen=!this._treeOpen}_updateSaveability(t,e,i){const n=(t||e)&&!i;this._canSave!==n&&window.dispatchEvent(new CustomEvent("solutionCanSave",{detail:n,bubbles:!0,cancelable:!1,composed:!0})),this._canSave=n}async _getTranslations(){const t=await h(this.el);this._translations=t[0]}static get watchers(){return{serializedAuthentication:["serializedAuthenticationWatchHandler"],solutionItemId:["valueWatchHandler"],locale:["localeWatchHandler"]}}};y.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%}.config-solution{position:absolute;top:3.5rem;right:-1px;bottom:-1px;left:-1px;display:flex;padding:0.5rem}.config-inventory{display:inline;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-inventory-hide{display:none;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-item{position:relative;display:inline;flex-grow:1;overflow-y:auto;margin-inline-start:0.5rem}solution-contents{position:relative;height:100%}solution-item{position:relative;height:100%}solution-spatial-ref{position:relative;height:100%;width:100%;overflow-y:auto}";export{y as solution_configuration}
@@ -1,6 +0,0 @@
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 as t,g as e,h as s,H as a}from"./p-4e6eb06e.js";import{a as h,l,g as n}from"./p-f4aadb3b.js";import{e as o,h as r,k as c,l as d,c as p,m as b,n as f,o as g}from"./p-d572627c.js";import{a as y,e as m,f as u}from"./p-80cb7c73.js";import{s as w}from"./p-51c6e6fe.js";import{d as v,a as _}from"./p-ff9e28d1.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-dc9d4be3.js";import"./p-7530a02f.js";import"./p-d0d020a5.js";import"./p-9bb44f57.js";const S=class{constructor(e){i(this,e),this.selectionSetChange=t(this,"selectionSetChange",7),this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=void 0,this.enabledLayerIds=[],this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.defaultBufferDistance=void 0,this.defaultBufferUnit=void 0,this.geometries=[],this.isUpdate=!1,this.layerViews=[],this.locale=void 0,this.mapView=void 0,this.noResultText=void 0,this.searchConfiguration=void 0,this.selectionSet=void 0,this.selectionLayerIds=[],this.selectLayerView=void 0,this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this.searchDistanceEnabled=!1,this.useLayerFeaturesEnabled=!1,this._numSelected=0,this._searchTerm=void 0,this._selectionLoading=!1,this._translations=void 0}get el(){return e(this)}_esriRequest;FeatureLayer;Graphic;GraphicsLayer;Search;_geometryEngine;_bufferGeometry;_bufferGraphicsLayer;_bufferTools;_distance;_drawTools;_labelName;_selectLayers;_searchElement;_searchResult;_searchWidget;_selectedIds=[];_selectionLabel="";_skipGeomOIDs;_sketchGraphic;_graphics=[];_unit;_workflowType;_featuresCollection={};async watchGeometriesHandler(i,t){if(i!==t){const t=0===i.length;if(await this._clearResults(t,t),i.length>0)return this._highlightWithOIDsOrGeoms()}}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(i,t){i&&i!==t&&await this._init()}async watchSearchConfigurationHandler(i,t){JSON.stringify(i)!==JSON.stringify(t)&&await this._initSearchWidget()}async clearSelection(){return this._clearResults(!0,!0)}async getSelection(){return/\S+/gm.test(this._selectionLabel)||await this._updateLabel(),{id:this.isUpdate?this.selectionSet.id:Date.now(),searchResult:this._searchResult,buffer:this._bufferGeometry,distance:this._bufferTools?.distance,download:!0,unit:this._bufferTools?.unit,label:this._selectionLabel,selectedIds:this._selectedIds,layerView:this.selectLayerView,geometries:this.geometries,graphics:this._graphics,selectLayers:this.layerViews,skipGeomOIDs:this._skipGeomOIDs,searchDistanceEnabled:this.searchDistanceEnabled,workflowType:this._workflowType,useLayerFeaturesEnabled:this.useLayerFeaturesEnabled,sketchGraphic:this._sketchGraphic}}selectionSetChange;searchConfigurationChangeChanged(i){this.searchConfiguration=i.detail}async distanceChanged(i){await this._distanceChanged(i.detail)}async unitChanged(i){i.detail.newValue!==i.detail.oldValue&&(this._unit=i.detail.newValue,await this._updateLabel())}async componentWillLoad(){await this._getTranslations(),await this._initModules()}async componentDidLoad(){await this._init()}render(){const i=this.enableSketchTools?"":"display-none",t=this.enableSketchTools?"padding-top-1":"";return s(a,{key:"1c312d53b800ca401726c653e12465e92abf0eef"},this._getMapLayerPicker(),s("div",{key:"2da9eb5316656769ec2f80dfa5fbdc190c62b1cb",class:"border-bottom"}),s("div",{key:"b21d332e5da0aa8cfb34fdab7a1075bfbd5efb42",class:"padding-top-sides-1"},s("div",{key:"2dd59511d4f07cc2cd43b5b5c2a8037303d21546",class:"search-widget",ref:i=>{this._searchElement=i}}),s("div",{key:"1149bcd2f36171b82f6902fbf89bb0400383fdde",class:t},s("map-draw-tools",{key:"2d3b1b91a108bf2bb2db463e7ffd4574f4a36dac",active:!0,class:i,editGraphicsEnabled:!this.useLayerFeaturesEnabled,graphics:this._graphics,locale:this.locale,mapView:this.mapView,onSketchGraphicsChange:i=>{this._sketchGraphicsChanged(i)},pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,ref:i=>{this._drawTools=i}})),this.enableSearchDistance?this._getBufferOptions():void 0,this.enableLayerFeatures?this._getUseLayerFeaturesOptions():void 0,this._getNumSelected()),s("div",{key:"d4068bef106e1f4226b1f9c104a626fe0a0f6700",class:"border-bottom"}),this._getNameInput())}_getBufferOptions(){this.enableSearchDistanceOnLoad&&(this.searchDistanceEnabled=!0,this.enableSearchDistanceOnLoad=!1);const i=this.searchDistanceEnabled?"search-distance":"div-not-visible",t="number"==typeof this.selectionSet?.distance?this.selectionSet.distance:this.defaultBufferDistance;return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.searchDistance,s("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"search-distance-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"search-distance-icon"},s("span",{class:"tooltip-message"},this._translations.useSearchDistanceTootip)),s("calcite-switch",{checked:this.searchDistanceEnabled,onCalciteSwitchChange:()=>this.searchDistanceEnabled=!this.searchDistanceEnabled})),s("div",{class:i},s("buffer-tools",{disabled:!this.searchDistanceEnabled,distance:t,geometries:this.geometries,locale:this.locale,onBufferComplete:i=>{this._bufferComplete(i)},ref:i=>this._bufferTools=i,unit:this.selectionSet?.unit||this.defaultBufferUnit})))}_getUseLayerFeaturesOptions(){this.enableLayerFeaturesOnLoad&&(this.useLayerFeaturesEnabled=!0,this.enableLayerFeaturesOnLoad=!1);const i=this.useLayerFeaturesEnabled?"div-visible":"div-not-visible";return s("div",null,s("div",{class:"padding-top-1 display-flex"},s("calcite-label",{class:"label-margin-0 w-100",layout:"inline-space-between"},s("div",{class:"tooltip-container"},this._translations.useLayerFeatures,s("calcite-icon",{class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"use-layer-features-icon",scale:"s"}))),s("calcite-popover",{closable:!0,label:"",referenceElement:"use-layer-features-icon"},s("span",{class:"tooltip-message"},this._translations.useLayerFeaturesTooltip)),s("calcite-switch",{checked:this.useLayerFeaturesEnabled,onCalciteSwitchChange:()=>{this._useLayerFeaturesEnabledChanged()}})),s("div",{class:i+" padding-top-1"},s("map-layer-picker",{enabledLayerIds:this.selectionLayerIds,locale:this.locale,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},selectedIds:this.layerViews.map((i=>i.layer.id)),showTables:!1})))}_getNumSelected(){const i=h(this.el),t=i&&"en"===i?`${this._translations.selectionLoading}...`:this._translations.selectionLoading;return s("div",{class:"padding-top-1 padding-bottom-1",style:{"align-items":"end",display:"flex"}},this._selectionLoading?s("div",null,s("calcite-loader",{class:"info-blue",inline:!0,label:t,scale:"m",type:"indeterminate"})):s("calcite-icon",{class:"info-blue padding-end-1-2",icon:"feature-layer",scale:"s"}),s("calcite-input-message",{class:"info-blue",scale:"m"},this._selectionLoading?t:this.noResultText&&0===this._numSelected?this.noResultText:this._translations.selectedFeatures.replace("{{n}}",this._numSelected.toString())))}_getNameInput(){return s("div",{class:"padding-sides-1 padding-top-1 "+(this.customLabelEnabled?"":"display-none")},s("calcite-label",{class:"font-bold"},this._translations.listName,s("calcite-input",{onInput:()=>{this._selectionLabel=this._labelName.value},placeholder:this._translations.listNamePlaceholder,ref:i=>{this._labelName=i},value:this._selectionLabel||""})))}_getMapLayerPicker(){return s("div",{class:"display-flex padding-sides-1 padding-bottom-1"},s("calcite-label",{class:"font-bold width-full label-margin-0"},this._translations.inputLayer,s("map-layer-picker",{enabledLayerIds:this.enabledLayerIds,locale:this.locale,mapView:this.mapView,onLayerSelectionChange:i=>{this._inputLayerSelectionChange(i)},selectedIds:this.selectLayerView?[this.selectLayerView.layer.id]:this.selectionSet?[this.selectionSet.layerView.layer.id]:[],showTables:!1})))}async _initModules(){const[i,t,e,s,a,h]=await l(["esri/request","esri/layers/GraphicsLayer","esri/Graphic","esri/widgets/Search","esri/geometry/geometryEngine","esri/layers/FeatureLayer"]);this._esriRequest=i,this.GraphicsLayer=t,this.Graphic=e,this.Search=s,this._geometryEngine=a,this.FeatureLayer=h}async _init(){this._initGraphicsLayer(),await this._initSelectionSet(),await this._initSearchWidget()}async _initSelectionSet(){this.selectionSet&&(this._searchTerm=this.selectionSet.searchResult?.name,this._searchResult=this.selectionSet.searchResult,this._selectLayers=this.selectionSet.selectLayers,this._selectedIds=this.selectionSet.selectedIds,this._skipGeomOIDs=this.selectionSet.skipGeomOIDs,this.searchDistanceEnabled=this.selectionSet.searchDistanceEnabled,this.useLayerFeaturesEnabled=this.selectionSet.useLayerFeaturesEnabled,this._distance=this.selectionSet.searchDistanceEnabled?this.selectionSet.distance:0,this._unit=this.selectionSet.unit,this._workflowType=this.selectionSet.workflowType,this.selectLayerView=this.selectionSet.layerView,this._sketchGraphic=this.selectionSet.sketchGraphic,this.geometries=[...this.selectionSet?.geometries||[]],this._graphics=this.geometries.map((i=>new this.Graphic({geometry:i,symbol:"point"===i.type?this.sketchPointSymbol:"polyline"===i.type?this.sketchLineSymbol:this.sketchPolygonSymbol}))),this._selectionLabel=this.selectionSet?.label,this.useLayerFeaturesEnabled||await(this._drawTools?.updateGraphics()),await o(this.selectionSet.selectedIds,this.selectionSet.layerView,this.mapView,!1))}async _initSearchWidget(){if(this.mapView&&this._searchElement){const i=this._getSearchConfig(this.searchConfiguration,this.mapView),t={view:this.mapView,container:this._searchElement,searchTerm:this._searchTerm,...i};this._searchWidget=new this.Search(t),this._searchWidget.popupEnabled=!1,this._searchWidget.resultGraphicEnabled=!1,this._searchWidget.on("search-clear",(()=>{const i=this._searchClearLabel();this._clearResults(!1,i)})),this._searchWidget.on("select-result",(i=>{this._selectResult(i.result)})),await this._searchWidget.when((()=>{this._searchWidget.allPlaceholder=this.searchConfiguration?.allPlaceholder&&"find address or place"!==this.searchConfiguration.allPlaceholder.toLowerCase()?this.searchConfiguration.allPlaceholder:this._translations.placeholder}))}}async _selectResult(i){if(i){this._searchResult=i;const t=i.feature,e=t?.layer,s=this.selectLayerView.layer,a=t?.getObjectId();let h,l;e.sourceJSON?.isView&&(h=await this._getViewSourceUrl(e.url)),s.sourceJSON?.isView&&(l=await this._getViewSourceUrl(s.url));const n=e?.url?.toLowerCase(),o=h?.toLowerCase(),r=s?.url?.toLowerCase(),c=l?.toLowerCase(),d=n&&r&&(n===r||n===c||o===r||o===c)&&!isNaN(a),p=d?[a]:void 0;this._workflowType=y.SEARCH,this._updateLabel();const b=[i.feature];this._updateSelection(b,d,p),this._drawTools.graphics=b,this._searchWidget.resultGraphic.visible=!1}else{const i=this._searchClearLabel();this._clearResults(!1,i)}}async _getViewSourceUrl(i){let t="";const e=`${i}/sources?f=json`;try{const i=await this._esriRequest(e,{query:{f:"json"}});1===i?.data?.services?.length&&(t=i.data.services[0].url)}catch(i){console.log(i)}return t}_searchClearLabel(){return this._searchResult?.name&&this._labelName.value.indexOf(this._searchResult.name)>-1}_getSearchConfig(i,t){const e=i?.sources;return e?.length>0?(i={...i,includeDefaultSources:!1},e.forEach((i=>{if(i.hasOwnProperty("layer")){const e=i,s=e.layer?.id,a=s?t.map.findLayerById(s):null,h=e?.layer?.url;a?e.layer=a:h&&(e.layer=new this.FeatureLayer(h))}})),e?.forEach((i=>{if(i.hasOwnProperty("locator")){const t=i;"ArcGIS World Geocoding Service"===t?.name&&(t.outFields=t.outFields||["Addr_type","Match_addr","StAddr","City"],t.singleLineFieldName="SingleLine"),t.url=t.url,delete t.url}}))):i={...i,includeDefaultSources:!0},i}_initGraphicsLayer(){const i=this._translations.bufferLayer;if(this.mapView){const t=this.mapView.map.layers.findIndex((t=>t.title===i));if(t>-1)this._bufferGraphicsLayer=this.mapView.map.layers.getItemAt(t);else{this._bufferGraphicsLayer=new this.GraphicsLayer({title:i,listMode:"hide"}),w.managedLayers[i]="buffer";const t=this.mapView.map.layers.findIndex((i=>i.title===this._translations.sketchLayer));t>-1?this.mapView.map.layers.add(this._bufferGraphicsLayer,t):this.mapView.map.layers.add(this._bufferGraphicsLayer)}}}async _sketchGraphicsChanged(i,t=!1){const e=i.detail.graphics;if(e.length>0&&e[0])if(t||(this._sketchGraphic=e[0]),this._workflowType=this.useLayerFeaturesEnabled?y.SELECT:y.SKETCH,this._workflowType===y.SKETCH&&await this._drawTools.updateGraphics(),await this._updateLabel(),this._clearSearchWidget(),this.useLayerFeaturesEnabled&&!t){const i=Array.isArray(e)?e.map((i=>i.geometry)):this.geometries;await this._selectLayerFeatures(i[0])}else{const t=e.reduce(((i,t)=>(t?.layer?.objectIdField?i.push(t.attributes[t.layer.objectIdField]):t.getObjectId&&i.push(t.getObjectId()),i)),[]),s=i.detail.useOIDs&&t.length>0;this._updateSelection(e,s,t),s&&await this._highlightFeatures(t)}else await this._clearResults(!0,!0)}async _highlightWithOIDsOrGeoms(){return this._skipGeomOIDs?.length>0?(this._selectedIds=this._skipGeomOIDs,this._highlightFeatures(this._selectedIds)):this._geomQuery(this.geometries)}async _highlightFeatures(i){w.removeHandles(),i.length>0&&w.highlightHandles.push(await r(i,this.selectLayerView,this.mapView)),this._numSelected=i.length,this.selectionSetChange.emit(i.length)}async _selectFeatures(i){this._selectionLoading=!0,this._selectedIds=await c(i,this.selectLayerView.layer),this._selectionLoading=!1,this._drawTools.graphics=this._graphics,await this._highlightFeatures(this._selectedIds)}async _bufferComplete(i){this._bufferGeometry=Array.isArray(i.detail)?i.detail[0]:i.detail;let t=this._bufferTools.distance,e=0;if(this._bufferGeometry){const i=new this.Graphic({geometry:this._bufferGeometry,symbol:{type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}}});this._bufferGraphicsLayer.removeAll(),this._bufferGraphicsLayer.add(i),await this._selectFeatures([this._bufferGeometry]),await this.mapView.goTo(i.geometry.extent),e=t,t=0}else this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),await this._highlightWithOIDsOrGeoms();await this._distanceChanged({oldValue:t,newValue:e})}_geomQuery(i){const t=d(i,this._geometryEngine);return this._selectFeatures(t)}async _clearResults(i=!0,t=!1){this._selectedIds=[],this._distance=void 0,this._unit=void 0,t&&(this._selectionLabel="",this._labelName&&(this._labelName.value="")),this._bufferGraphicsLayer&&this._bufferGraphicsLayer.removeAll(),i&&this._searchWidget&&this._clearSearchWidget(),w.removeHandles(),this._drawTools?.clear&&(this._graphics=[],await this._drawTools.clear()),this._numSelected=this._selectedIds.length,this.selectionSetChange.emit(this._numSelected)}_clearSearchWidget(){this._searchWidget.clear(),this._searchResult=void 0}_updateSelection(i,t,e){this._selectedIds=t&&e?e:this._selectedIds,this._skipGeomOIDs=t?e:void 0,this.geometries=Array.isArray(i)?i.map((i=>i.geometry)):this.geometries,this._graphics=i}async _updateLabel(){if(this.enableSearchDistance){const i=this._selectionLabel.indexOf(this._translations.sketch)>-1,t=this._selectionLabel.indexOf(this._translations.select)>-1,e=this._selectionLabel.indexOf(this._searchResult?.name)>-1,s=this._workflowType===y.SEARCH?this._searchResult?.name:this._workflowType===y.SELECT?this._translations.select:this._translations.sketch,a=this._unit?this._unit:this._bufferTools.unit,h=await this._bufferTools.getTranslatedUnit(a),l=isNaN(this._distance)?this._bufferTools.distance:this._distance;this._selectionLabel=i||t||e||!this._selectionLabel?`${s} ${l} ${h}`:this._selectionLabel,this._labelName.value=this._selectionLabel}}async _layerSelectionChange(i){if(Array.isArray(i.detail)&&i.detail.length>0){const t=i.detail.map((i=>p(this.mapView,i)));return Promise.all(t).then((i=>{this.layerViews=i,this._featuresCollection={},this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}))}}async _inputLayerSelectionChange(i){const t=i?.detail?.length>0?i.detail[0]:"";this.selectLayerView&&t===this.selectLayerView.layer.id||(this.selectLayerView=await p(this.mapView,t),await this._updateLabel(),this._bufferGeometry?await this._selectFeatures([this._bufferGeometry]):await this._highlightWithOIDsOrGeoms())}async _distanceChanged(i){i.newValue!==i.oldValue&&(this._distance=i.newValue,await this._updateLabel())}async _selectLayerFeatures(i){this._selectionLoading=!0;const t=this.layerViews.map((t=>(this._featuresCollection[t.layer.id]=[],b(0,t.layer,i,this._featuresCollection))));return Promise.all(t).then((async i=>{this._selectionLoading=!1;let t=[];i.forEach((i=>{Object.keys(i).forEach((e=>{t=t.concat(i[e])}))}));let e=!1;t.forEach((i=>{const t=i.geometry;i.symbol="point"===t.type?this.sketchPointSymbol:"polyline"===t.type?this.sketchLineSymbol:"polygon"===t.type?this.sketchPolygonSymbol:void 0,e=i?.layer?.hasOwnProperty("objectIdField")||i.hasOwnProperty("getObjectId")}));const s=this.layerViews[0].layer,a=this.selectLayerView.layer,h=e&&s.url===a.url&&a.layerId===s.layerId;await this._sketchGraphicsChanged({detail:{graphics:t,useOIDs:h}},!0)}))}_useLayerFeaturesEnabledChanged(){this.useLayerFeaturesEnabled=!this.useLayerFeaturesEnabled,this._sketchGraphic&&this._sketchGraphicsChanged({detail:{graphics:[this._sketchGraphic],useOIDs:!1}})}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}static get watchers(){return{geometries:["watchGeometriesHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],searchConfiguration:["watchSearchConfigurationHandler"]}}};S.style=':host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.padding-top-1{padding-top:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-color-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:"1rem" !important}.end-border{border-inline-end:1px solid var(--calcite-color-border-2)}.search-distance{display:flex;padding-top:1rem}.font-bold{font:bold}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.tooltip-container{display:flex}.padding-start-1-2{padding-inline-start:0.5rem}.icon{--calcite-color-icon-color:var(--calcite-color-brand)}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}';const L=Object.freeze({__proto__:null,default:[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}]}),k=class{constructor(t){i(this,t),this.defaultNumLabelsPerPage=void 0,this.disabled=!1,this.locale=void 0,this._translations=void 0}get el(){return e(this)}_labelInfoElement;_intl;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async downloadCSV(i,t,e,s=!0){return v(i,t,!0,e,s)}async downloadPDF(i,t,e=!1,s="",a=""){return _(i,t,this._labelInfoElement.selectedOption?.value,e,s,a)}async componentWillLoad(){await this._getTranslations(),await this._initModules()}render(){return s(a,{key:"b3912d0709a26b249bf1dcaf77ff61036392c611"},s("calcite-select",{key:"ad6170eb7c52519940e8e93a8e552d660a9203f2",disabled:this.disabled,label:"",ref:i=>{this._labelInfoElement=i}}))}componentDidLoad(){this._renderOptions()}async _initModules(){const[i]=await l(["esri/intl"]);this._intl=i}_getLabelSizeText(i){const t="&lrm;"+i.descriptionPDF.labelWidthDisplay+" x "+i.descriptionPDF.labelHeightDisplay+"&rlm;";return this._translations.pdfLabel.replace("{{n}}",i.descriptionPDF.labelsPerPageDisplay).replace("{{labelSize}}",t)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}_renderOptions(){(L.default||L).sort(((i,t)=>{const e=parseInt(i.descriptionPDF.labelsPerPageDisplay,10),s=parseInt(t.descriptionPDF.labelsPerPageDisplay,10);return e<s?-1:e>s?1:0})).forEach(((i,t)=>{const e=document.createElement("calcite-option");e.value=i,e.innerHTML=this._getLabelSizeText(i),this._labelInfoElement.appendChild(e),(this.defaultNumLabelsPerPage?parseInt(i.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:0===t)&&(e.selected=!0,this._labelInfoElement.selectedOption=e)}))}static get watchers(){return{locale:["localeWatchHandler"]}}};k.style=":host{display:block}";const P=class{constructor(e){i(this,e),this.selectionLoadingChange=t(this,"selectionLoadingChange",7),this.selectionSetsChanged=t(this,"selectionSetsChanged",7),this.addresseeLayer=void 0,this.enabledLayerIds=[],this.locale=void 0,this.mapView=void 0,this.selectionSets=[],this.sketchLineSymbol=void 0,this.sketchPointSymbol=void 0,this.sketchPolygonSymbol=void 0,this._translations=void 0,this._selectionMode=m.ADD,this._refineLayer=void 0}get el(){return e(this)}_addEnabled=!0;_drawTools;_refineSets=[];_enabledLayerIds=[];_layerPicker;_featuresCollection={};_refineSelectionSet;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}selectionLoadingChange;selectionSetsChanged;async componentWillLoad(){await this._getTranslations(),this._enabledLayerIds=this._getEnabledLayerIds(),await this._setRefineSet(this._enabledLayerIds[0])}render(){return s(a,{key:"efa77aec940afdb80051b36300a492ac5764a413"},s("div",{key:"ac59062ad6b3bb15727d1d88ac99ba983c7a2ff9",class:(this._enabledLayerIds.length>1?"display-block":"display-none")+" padding-top-sides-1"},s("div",{key:"27599ce74e9f7d6133f6cbfa40db4acfa8c00eeb",class:"display-flex"},s("calcite-label",{key:"b8acd5160effc68b7ee03a85ba8d6d2a5966c3e8",class:"font-bold width-full label-margin-0"},s("div",{key:"b2185de868b979281984019dbea9cf58a8bdef59",class:"display-flex"},this._translations.inputLayer,s("calcite-icon",{key:"3bd42d1897e3d4374c9affeb20a4af09866645b4",class:"padding-start-1-2 icon",flipRtl:!("he"===this.locale?.toLowerCase()),icon:"question",id:"refine-input-layer",scale:"s"})),s("map-layer-picker",{key:"3c7202cb44db02ff2650aa2075af55a51f180018",enabledLayerIds:this._enabledLayerIds,locale:this.locale,mapView:this.mapView,onLayerSelectionChange:i=>{this._layerSelectionChange(i)},ref:i=>{this._layerPicker=i},selectedIds:[this._refineLayer.layer.id],showTables:!1})),s("calcite-popover",{key:"d70f7e4ad2926d05b05a2e74a4f69ae1bffb8cea",closable:!0,label:"",referenceElement:"refine-input-layer"},s("span",{key:"bd70416a30a863e8cf96ac34c0b90cb420955344",class:"tooltip-message"},this._translations.inputLayerTip)))),s("div",{key:"084b833c369a39179d28d1bbe07710fad7d47933",class:"padding-1"},s("div",{key:"42056204fd2d97c1d2ab5fa9300b5d8bd903bb8a",class:"padding-bottom-1"},s("calcite-segmented-control",{key:"6baa72a792c4785338ccfb462c019fa945bf1002",class:"w-100",width:"full"},s("calcite-segmented-control-item",{key:"e31ce029fcd48521aac0d7cb09426fc6afb0d536",checked:this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(m.ADD),value:m.ADD},s("span",{key:"63fa738b401c7d2e1d55ea63faa5d2fc9496feae",class:"font-weight-500"},this._translations.add)),s("calcite-segmented-control-item",{key:"77510ca6a043780cf6bd4eb835b0f88a51d4b2f1",checked:!this._addEnabled,class:"w-50 word-wrap-anywhere",onClick:()=>this._setSelectionMode(m.REMOVE),value:m.REMOVE},s("span",{key:"3ae3c0b4fd72d7f8cb72a8e013528f1f2539bed1",class:"font-weight-500"},this._translations.remove)))),s("div",{key:"41a3bea7ebbc8f2e62d842804d8081aae112d703"},s("map-draw-tools",{key:"1bd98c62b98e196c9ec907059c6728790aa872fc",active:!0,drawMode:u.REFINE,locale:this.locale,mapView:this.mapView,onDrawRedo:()=>this._redo(),onDrawUndo:()=>this._undo(),onSketchGraphicsChange:i=>this._sketchGraphicsChanged(i),pointSymbol:this.sketchPointSymbol,polygonSymbol:this.sketchPolygonSymbol,polylineSymbol:this.sketchLineSymbol,redoEnabled:this._refineSelectionSet?.redoStack.length>0,ref:i=>{this._drawTools=i},undoEnabled:this._refineSelectionSet?.undoStack.length>0})),s("br",{key:"ccdeef335f78d4eca3ebacd0fafb468db8c9ee7f"}),s("calcite-list",{key:"d2831ba128c37412ee91d51bc73d58ae0d3f0979",class:"list-border"},this._getRefineSelectionSetList())))}_layerSelectionChange(i){this._setRefineSet(i.detail[0])}_setSelectionMode(i){this._selectionMode=i}_sketchGraphicsChanged(i){const t=i.detail?.graphics[0].geometry;this._selectFeatures(t)}_getEnabledLayerIds(){return this.selectionSets.reduce(((i,t)=>{const e=t?.layerView?.layer.id;return e&&i.indexOf(e)<0?i.push(e):t.workflowType===y.REFINE&&Object.keys(t.refineInfos).forEach((t=>{i.indexOf(t)<0&&i.push(t)})),i}),[])}async _setRefineSet(i){this.selectionSets.some((t=>{if(t.workflowType===y.REFINE)return this._refineSelectionSet=t,Object.keys(t.refineInfos).indexOf(i)>-1}))||await this._initRefineSet(i,this._refineSelectionSet),this._refineLayer=this._refineSelectionSet.refineInfos[i].layerView}async _initRefineSet(i,t){const e={};e[i]={addIds:[],removeIds:[],layerView:await p(this.mapView,i)},t?t.refineInfos={...t.refineInfos,...e}:(this._refineSelectionSet={id:Date.now(),searchResult:void 0,buffer:void 0,distance:0,download:!0,unit:"feet",label:"Refine",selectedIds:[],layerView:void 0,geometries:[],graphics:[],selectLayers:[],workflowType:y.REFINE,searchDistanceEnabled:!1,useLayerFeaturesEnabled:!1,refineInfos:e,redoStack:[],undoStack:[],sketchGraphic:void 0},this.selectionSets.push(this._refineSelectionSet))}_undo(){const i=this._refineSelectionSet.undoStack.pop();this._updateIds(i.ids,i.mode===m.ADD?m.REMOVE:m.ADD,this._refineSelectionSet.redoStack,i.layerView)}_redo(){const i=this._refineSelectionSet.redoStack.pop();this._updateIds(i.ids,i.mode===m.ADD?m.REMOVE:m.ADD,this._refineSelectionSet.undoStack,i.layerView)}_getRefineSelectionSetList(){const i=this._getTotal(this.selectionSets);let t;this.selectionSets.some((i=>{if(i.workflowType===y.REFINE)return t=i,!0}));let e=0,a=0;return Object.keys(t.refineInfos).forEach((i=>{e+=t.refineInfos[i].addIds.length,a+=t.refineInfos[i].removeIds.length})),[s("calcite-list-item",{label:this._translations.featuresAdded.replace("{{n}}",e.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.featuresRemoved.replace("{{n}}",a.toString()),"non-interactive":!0}),s("calcite-list-item",{label:this._translations.totalSelected.replace("{{n}}",i.toString()),"non-interactive":!0})]}_getTotal(i){const t=f(i);return Object.keys(t).reduce(((i,e)=>i+t[e].ids.length),0)}async _getTranslations(){const i=await n(this.el);this._translations=i[0]}async _selectFeatures(i){this.selectionLoadingChange.emit(!0),this._featuresCollection[this._refineLayer?.layer.id]=[];const t=await b(0,this._refineLayer?.layer,i,this._featuresCollection);this.selectionLoadingChange.emit(!1);let e=[];Object.keys(t).forEach((i=>{i===this._refineLayer?.layer.id&&(e=e.concat(t[i]))}));const s=Array.isArray(e)?e.map((i=>i.attributes[i?.layer?.objectIdField])):[];await this._updateIds(s,this._selectionMode,this._refineSelectionSet.undoStack,this._refineLayer),this._drawTools.clear()}async _highlightFeatures(){this._clearHighlight(),w.highlightHandles=await g(this.selectionSets)}_clearHighlight(){w.removeHandles()}async _updateIds(i,t,e,s){let a=!1;const h=this._refineSelectionSet.refineInfos,l=s.layer.id,n={};n[l]={addIds:[],removeIds:[],layerView:s};const o=Object.keys(h).indexOf(l)>-1?h[l]:n[l];if(t===m.ADD)o.addIds=[...new Set([...i,...o.addIds])],o.addIds.length>0&&e.push({ids:i,mode:t,layerView:s}),o.removeIds.length>0&&(o.removeIds=o.removeIds.filter((t=>i.indexOf(t)<0)));else{const h=this.selectionSets.reduce(((t,e)=>(i.forEach((i=>{e.workflowType!==y.REFINE?e.selectedIds.indexOf(i)>-1&&t.push(i):Object.keys(e.refineInfos).some((a=>{const h=e.refineInfos[a];if(h.layerView.layer.id===s.layer.id&&h.addIds.indexOf(i)>-1)return t.push(i),!0}))})),t)),[]);o.removeIds=[...new Set([...h,...o.removeIds])],o.addIds=o.addIds.filter((i=>h.indexOf(i)<0)),o.removeIds.length>0&&e.push({ids:h,mode:t,layerView:s}),this.selectionSets=this.selectionSets.reduce(((i,t)=>(t.workflowType!==y.REFINE&&t.layerView.layer.id===s.layer.id?(t.selectedIds=t.selectedIds.filter((i=>o.removeIds.indexOf(i)<0)),t.selectedIds.length>0?i.push(t):a=!0):i.push(t),i)),[])}this._refineSelectionSet.refineInfos[l]=o,this.selectionSets=[...this.selectionSets],a&&this.selectionSetsChanged.emit(this.selectionSets),await this._highlightFeatures()}static get watchers(){return{locale:["localeWatchHandler"]}}};P.style=':host{display:block}.div-visible{display:inherit}.div-not-visible{display:none !important}.padding-top-1-2{padding-top:.5rem}.main-label{display:flex;float:left}html[dir="rtl"] .main-label{display:flex;float:right}.border{outline:1px solid var(--calcite-color-border-input)}.margin-top-1{margin-top:1rem}.esri-sketch{display:flex;flex-flow:column wrap}.esri-widget{box-sizing:border-box;color:#323232;font-size:14px;font-family:"Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;line-height:1.3em;background-color:var(--calcite-color-foreground-1)}.esri-sketch__panel{align-items:center;display:flex;flex-flow:row nowrap;padding:0}*/ .esri-sketch__tool-section{border-right:1px solid rgba(110, 110, 110, .3)}.esri-sketch__section{align-items:center;display:flex;flex-flow:row nowrap;padding:0 7px;margin:6px 0;border-right:1px solid rgba(110, 110, 110, .3)}.display-flex{display:flex}.font-bold{font-weight:bold}.width-full{width:100%}.label-margin-0{--calcite-label-margin-bottom:0}.padding-start-1-2{padding-inline-start:0.5rem}.font-weight-500{font-weight:500}.word-wrap-anywhere{word-wrap:anywhere}';export{S as map_select_tools,k as pdf_download,P as refine_selection}
@@ -1,6 +0,0 @@
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-4e6eb06e.js";import{s as r}from"./p-c350eacb.js";import{c as i,d as a}from"./p-e9d3365f.js";import"./p-dc9d4be3.js";import"./p-80cb7c73.js";import"./p-d0d020a5.js";import"./p-d4056c1c.js";import"./p-7530a02f.js";import"./p-9bb44f57.js";const o=class{constructor(e){t(this,e),this.stateLoaded=s(this,"stateLoaded",7),this.value="",this.templates=[],this.authentication=void 0}get el(){return e(this)}connectedCallback(){this._handleValueChange(this.value),this._initValueObserver()}render(){return null}stateLoaded;async getStoreInfo(t){return Promise.resolve(r.getStoreInfo(t))}_valueObserver;_handleValueChange(t){if(""!==t){const s=JSON.parse(t);r.setStoreInfo("solutionData",s);const e=i(s.templates);r.setStoreInfo("featureServices",e),r.setStoreInfo("spatialReferenceInfo",a(e,s)),this.templates=s.templates,this.stateLoaded.emit(r)}}_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)return this._handleValueChange(s),!0}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}};export{o as store_manager}
@@ -1,16 +0,0 @@
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{c as t,a as n}from"./p-26ba0cc7.js";import{n as e}from"./p-ec51378a.js";import{c as s}from"./p-85c3237c.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.13.2
11
- */const r=new RegExp("\\.(0+)?$"),i=new RegExp("0+$");class u{constructor(t){if(t instanceof u)return t;const[n,e]=function(t){const n=t.split(/[eE]/);if(1===n.length)return t;const e=+t;if(Number.isSafeInteger(e))return`${e}`;const s="-"===t.charAt(0),i=+n[1],u=n[0].split("."),a=(s?u[0].substring(1):u[0])||"",c=u[1]||"",h=i>0?`${a}${((t,n)=>{const e=n>t.length?`${t}${"0".repeat(n-t.length)}`:t;return`${e.slice(0,n)}.${e.slice(n)}`})(c,i)}`:`${((t,n)=>{const e=Math.abs(n)-t.length,s=e>0?`${"0".repeat(e)}${t}`:t;return`${s.slice(0,n)}.${s.slice(n)}`})(a,i)}${c}`;return`${s?"-":""}${"."===h.charAt(0)?"0":""}${h.replace(r,"").replace(o,"")}`}(t).split(".").concat("");this.value=BigInt(n+e.padEnd(u.DECIMALS,"0").slice(0,u.DECIMALS))+BigInt(u.ROUNDED&&e[u.DECIMALS]>="5"),this.isNegative="-"===t.charAt(0)}getIntegersAndDecimals(){const t=this.value.toString().replace("-","").padStart(u.DECIMALS+1,"0");return{integers:t.slice(0,-u.DECIMALS),decimals:t.slice(-u.DECIMALS).replace(i,"")}}toString(){const{integers:t,decimals:n}=this.getIntegersAndDecimals();return`${this.isNegative?"-":""}${t}${n.length?"."+n:""}`}formatToParts(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals(),s=t.numberFormatter.formatToParts(BigInt(n));return this.isNegative&&s.unshift({type:"minusSign",value:t.minusSign}),e.length&&(s.push({type:"decimal",value:t.decimal}),e.split("").forEach((t=>s.push({type:"fraction",value:t})))),s}format(t){const{integers:n,decimals:e}=this.getIntegersAndDecimals();return`${this.isNegative?t.minusSign:""}${t.numberFormatter.format(BigInt(n))}${e.length?`${t.decimal}${e.split("").map((n=>t.numberFormatter.format(Number(n)))).join("")}`:""}`}add(t){return u.fromBigInt(this.value+new u(t).value)}subtract(t){return u.fromBigInt(this.value-new u(t).value)}multiply(t){return u._divRound(this.value*new u(t).value,u.SHIFT)}divide(t){return u._divRound(this.value*u.SHIFT,new u(t).value)}}function a(t){return!(!t||isNaN(Number(t)))}function c(t){return t&&(n=t,e.some((t=>n.includes(t))))?m(t,(t=>{let n=!1;const s=t.split("").filter(((t,s)=>t.match(/\./g)&&!n?(n=!0,!0):!(!t.match(/-/g)||0!==s)||e.includes(t))).join("");return a(s)?new u(s).toString():""})):"";var n}u.DECIMALS=100,u.ROUNDED=!0,u.SHIFT=BigInt("1"+"0".repeat(u.DECIMALS)),u._divRound=(t,n)=>u.fromBigInt(t/n+(u.ROUNDED?t*BigInt(2)/n%BigInt(2):BigInt(0))),u.fromBigInt=t=>Object.assign(Object.create(u.prototype),{value:t,isNegative:t<BigInt(0)});const o=/^([-0])0+(?=\d)/,h=/(?!^\.)\.$/,g=/(?!^-)-/g,l=/^-\b0\b\.?0*$/,$=/0*$/,f=t=>m(t,(t=>{const n=t.replace(g,"").replace(h,"").replace(o,"$1");return a(n)?l.test(n)?n:function(t){const n=t.split(".")[1],e=new u(t).toString(),[s,r]=e.split(".");return n&&r!==n?`${s}.${n}`:e}(n):t}));function m(t,n){if(!t)return t;const e=t.toLowerCase().indexOf("e")+1;return e?t.replace(/[eE]*$/g,"").substring(0,e).concat(t.slice(e).replace(/[eE]/g,"")).split(/[eE]/).map(((t,e)=>n(1===e?t.replace(/\./g,""):t))).join("e").replace(/^e/,"1e"):n(t)}function p(t,n,e){const s=n.split(".")[1];if(s){const r=s.match($)[0];if(r&&e.delocalize(t).length!==n.length&&-1===s.indexOf("e")){const n=e.decimal;return(t=t.includes(n)?t:`${t}${n}`).padEnd(t.length+r.length,e.localize("0"))}}return t}
12
- /*!
13
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
14
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
15
- * v2.13.2
16
- */const b="en",d=["ar","bg","bs","ca","cs","da","de","el",b,"es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","no","nl","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],w=["ar","bg","bs","ca","cs","da","de","de-AT","de-CH","el",b,"en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","no","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],v=["arab","arabext","latn"],I=t=>v.includes(t),B=(new Intl.NumberFormat).resolvedOptions().numberingSystem,E="arab"!==B&&I(B)?B:"latn",N=t=>I(t)?t:E;function C(t,n="cldr"){const e="cldr"===n?w:d;return t?e.includes(t)?t:"nb"===(t=t.toLowerCase())?"no":"t9n"===n&&"pt"===t?"pt-BR":(t.includes("-")&&(t=t.replace(/(\w+)-(\w+)/,((t,n,e)=>`${n}-${e.toUpperCase()}`)),e.includes(t)||(t=t.split("-")[0])),"zh"===t?"zh-CN":e.includes(t)?t:(console.warn(`Translations for the "${t}" locale are not available and will fall back to the default, English (en).`),b)):b}function j(t){switch(t){case"it-CH":return"de-CH";case"bs":return"bs-Cyrl";default:return t}}const x=new Set;function R(t){!function(t){t.effectiveLocale=function(t){return t.el.lang||n(t.el,"[lang]")?.lang||document.documentElement.lang||b}(t)}(t),0===x.size&&k?.observe(document.documentElement,{attributes:!0,attributeFilter:["lang"],subtree:!0}),x.add(t)}function S(t){x.delete(t),0===x.size&&k.disconnect()}const k=s("mutation",(e=>{e.forEach((e=>{const s=e.target;x.forEach((e=>{if(!t(s,e.el))return;const r=n(e.el,"[lang]");if(!r)return void(e.effectiveLocale=b);const i=r.lang;e.effectiveLocale=r.hasAttribute("lang")&&""===i?b:i}))}))}));class z{constructor(){this.delocalize=t=>this._numberFormatOptions?m(t,(t=>t.replace(new RegExp(`[${this._minusSign}]`,"g"),"-").replace(new RegExp(`[${this._group}]`,"g"),"").replace(new RegExp(`[${this._decimal}]`,"g"),".").replace(new RegExp(`[${this._digits.join("")}]`,"g"),this._getDigitIndex))):t,this.localize=t=>this._numberFormatOptions?m(t,(t=>a(t.trim())?new u(t.trim()).format(this).replace(new RegExp(`[${this._actualGroup}]`,"g"),this._group):t)):t}get group(){return this._group}get decimal(){return this._decimal}get minusSign(){return this._minusSign}get digits(){return this._digits}get numberFormatter(){return this._numberFormatter}get numberFormatOptions(){return this._numberFormatOptions}set numberFormatOptions(t){if(t.locale=C(t?.locale),t.numberingSystem=N(t?.numberingSystem),!this._numberFormatOptions&&t.locale===b&&t.numberingSystem===E&&2===Object.keys(t).length||JSON.stringify(this._numberFormatOptions)===JSON.stringify(t))return;this._numberFormatOptions=t,this._numberFormatter=new Intl.NumberFormat(this._numberFormatOptions.locale,this._numberFormatOptions),this._digits=[...new Intl.NumberFormat(this._numberFormatOptions.locale,{useGrouping:!1,numberingSystem:this._numberFormatOptions.numberingSystem}).format(9876543210)].reverse();const n=new Map(this._digits.map(((t,n)=>[t,n]))),e=new Intl.NumberFormat(this._numberFormatOptions.locale,{numberingSystem:this._numberFormatOptions.numberingSystem}).formatToParts(-12345678.9);this._actualGroup=e.find((t=>"group"===t.type)).value,this._group=0===this._actualGroup.trim().length||" "==this._actualGroup?" ":this._actualGroup,this._decimal=e.find((t=>"decimal"===t.type)).value,this._minusSign=e.find((t=>"minusSign"===t.type)).value,this._getDigitIndex=t=>n.get(t)}}const O=new z;let y,H;function T(t,n){t=C(t),y||(y=new Map),H!==t&&(y.clear(),H=t);const e=function(t={}){return Object.entries(t).sort((([t],[n])=>t.localeCompare(n))).map((t=>`${t[0]}-${t[1]}`)).flat().join(":")}(n),s=y.get(e);if(s)return s;const r=new Intl.DateTimeFormat(t,n);return y.set(e,r),r}export{u as B,z as N,T as a,N as b,R as c,S as d,p as e,j as f,C as g,a as i,O as n,c as p,f as s}
@@ -1,11 +0,0 @@
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,r as i,c as e,H as s,g as a}from"./p-4e6eb06e.js";import{d as o}from"./p-e3196917.js";import{f as n,e as l}from"./p-12833b70.js";import{D as c,E as h,t as r}from"./p-26ba0cc7.js";import{a as d,f as p,c as b,r as m,b as u,F as g}from"./p-7d5d1b0a.js";import{s as f,c as v,a as x,d as y,H as w}from"./p-9c5d5171.js";import{g as C}from"./p-eed08718.js";import{u as k,I}from"./p-770a5a64.js";import{c as z,d as j,g as S}from"./p-9ce8e34f.js";import{b as H,c as $,s as D,a as E}from"./p-7f68e6a4.js";import{c as L,d as A}from"./p-177b4cbc.js";import{c as _}from"./p-85c3237c.js";import{o as O}from"./p-93d03bf0.js";import{D as P}from"./p-51ab623a.js";import{c as F,s as M,d as W,u as T}from"./p-cb8d90d1.js";import{g as V,c as B}from"./p-ae019e19.js";import{V as G}from"./p-e37e117f.js";import{i as R,h as N,C as U,b as q,c as J,d as K,e as Q,f as X,j as Y,I as Z}from"./p-8304ce4b.js";import{d as tt}from"./p-c8d3207e.js";import{C as it}from"./p-d1a979b8.js";import{g as et}from"./p-f4aadb3b.js";import{g as st,d as at,p as ot}from"./p-d572627c.js";import{s as nt}from"./p-51c6e6fe.js";import"./p-08c18450.js";import"./p-ec51378a.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-dc9d4be3.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.13.2
11
- */const lt="x-button",ct=({disabled:i,key:e,label:s,scale:a})=>t("button",{"aria-label":s,class:lt,disabled:i,key:e,tabIndex:-1,type:"button"},t("calcite-icon",{icon:"x",scale:V(a)})),ht="combobox-item-",rt="combobox-chip-",dt="combobox-label-",pt="combobox-listbox-",bt="combobox-input-",mt=class{constructor(t){i(this,t),this.calciteComboboxChange=e(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=e(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipClose=e(this,"calciteComboboxChipClose",6),this.calciteComboboxBeforeClose=e(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=e(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=e(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=e(this,"calciteComboboxOpen",6),this.placement=d,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=_("mutation",(()=>this.updateItems())),this.resizeObserver=_("resize",(()=>{this.setMaxScrollerHeight(),this.refreshSelectionDisplay()})),this.guid=C(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?p(i,t):null},this.getValue=()=>{const t=this.selectedItems.map((t=>t?.value?.toString()));return t?.length?t.length>1?t:t[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keyDownHandler=t=>{if(this.readOnly)return;const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.filterText?(this.addCustomChip(this.filterText,!0),t.preventDefault()):this.open?(this.open=!1,t.preventDefault()):!this.allowCustomValues&&this.filterText&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1));break;case"ArrowLeft":-1===this.activeChipIndex&&0!==this.textInput.selectionStart||(this.previousChip(),t.preventDefault());break;case"ArrowRight":-1!==this.activeChipIndex&&(this.nextChip(),t.preventDefault());break;case"ArrowUp":this.filteredItems.length&&(t.preventDefault(),this.open&&this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView());break;case"ArrowDown":this.filteredItems.length&&(t.preventDefault(),this.open?this.shiftActiveItemIndex(1):(this.open=!0,this.ensureRecentSelectedItemIsActive()),this.comboboxInViewport()||this.el.scrollIntoView());break;case" ":this.textInput.value||t.defaultPrevented||(this.open||(this.open=!0,this.shiftActiveItemIndex(1)),t.preventDefault());break;case"Home":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(this.filteredItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.clearDisabled||this.open||this.clearValue(),this.open=!1,t.preventDefault();break;case"Enter":if(this.open&&this.activeItemIndex>-1){const i=this.filteredItems[this.activeItemIndex];this.toggleSelection(i,!i.selected),t.preventDefault()}else this.activeChipIndex>-1?(this.removeActiveChip(),t.preventDefault()):this.allowCustomValues&&this.filterText?(this.addCustomChip(this.filterText,!0),t.preventDefault()):t.defaultPrevented||f(this)&&t.preventDefault();break;case"Delete":case"Backspace":if("single"===this.selectionDisplay||"fit"===this.selectionDisplay&&this.selectedHiddenChipsCount>0)return;this.activeChipIndex>-1?(t.preventDefault(),this.removeActiveChip()):!this.filterText&&this.isMulti()&&(t.preventDefault(),this.removeLastChip())}},this.setMaxScrollerHeight=async()=>{const{listContainerEl:t,open:i,referenceEl:e}=this;if(!t||!i)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();t.style.maxHeight=s>0?`${s}px`:"",t.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=t=>{this.open=!1;const i=this.items.find((i=>i===t));i&&this.toggleSelection(i,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=t=>{if(this.readOnly)return;const i=t.composedPath();return i.some((t=>"CALCITE-CHIP"===t.tagName))?(this.open=!1,void t.preventDefault()):i.some((t=>t.classList?.contains(lt)))?(this.clearValue(),void t.preventDefault()):(this.open=!this.open,void this.ensureRecentSelectedItemIsActive())},this.refreshSelectionDisplay=async()=>{if(await H(this),R(this.selectionMode))return;if(!this.textInput)return;const{allSelectedIndicatorChipEl:t,chipContainerEl:i,selectionDisplay:e,placeholder:s,selectedIndicatorChipEl:a,textInput:n}=this,l=parseInt(getComputedStyle(i).gap.replace("px","")),r=c(i),{fontSize:d,fontFamily:p}=getComputedStyle(n),b=(h(s,`${d} ${p}`)||parseInt(o))+l,m=c(t),u=c(a),g=Math.max(m,u);if(this.setCompactSelectionDisplay({chipContainerElGap:l,chipContainerElWidth:r,inputWidth:b,largestSelectedIndicatorChipWidth:g}),"fit"===e){const t=Array.from(this.el.shadowRoot.querySelectorAll("calcite-chip")).filter((t=>t.closable)),i=Math.round(r-((this.selectedHiddenChipsCount>0?u:0)+l+b+l));this.refreshChipDisplay({availableHorizontalChipElSpace:i,chipContainerElGap:l,chipEls:t}),this.setVisibleAndHiddenChips(t)}},this.setFloatingEl=t=>{this.floatingEl=t,b(this,this.referenceEl,this.floatingEl)},this.setContainerEl=t=>{this.resizeObserver.observe(t),this.listContainerEl=t,this.transitionEl=t},this.setChipContainerEl=t=>{this.resizeObserver.observe(t),this.chipContainerEl=t},this.setReferenceEl=t=>{this.referenceEl=t,b(this,this.referenceEl,this.floatingEl)},this.setAllSelectedIndicatorChipEl=t=>{this.allSelectedIndicatorChipEl=t},this.setSelectedIndicatorChipEl=t=>{this.selectedIndicatorChipEl=t},this.inputHandler=t=>{this.filterText=t.target.value},this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>t.tagName===Y?i===t.label:e===t.value&&i===t.textLabel));return tt(((i,e=!1,s=!0)=>{const a=n(this.data,i),o=this.getItemsAndGroups(),c=""===i;o.forEach((i=>{if(c)return void(i.hidden=!1);const e=!t(i,a);i.hidden=e;const[s,o]=i.ancestors;(t(s,a)||t(o,a))&&(i.hidden=!1),e||i.ancestors.forEach((t=>t.hidden=!1))})),this.filterTextMatchPattern=this.filterText&&new RegExp(`(${l(this.filterText)})`,"i"),this.filteredItems=this.getFilteredItems(),this.filteredItems.forEach((t=>{t.filterTextMatchPattern=this.filterTextMatchPattern})),e&&(this.open=this.filterText.trim().length>0&&this.filteredItems.length>0),s&&this.calciteComboboxFilterChange.emit()}),P.filter)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=tt(this.internalComboboxChangeEvent,0),this.getSelectedItems=()=>{if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&("ancestors"!==this.selectionMode||!N(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t),s=this.selectedItems.indexOf(i);return e>-1&&s>-1?e-s:s-e}))},this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.filteredItems=this.getFilteredItems(),this.needsIcon=this.getNeedsIcon(),this.items.forEach((t=>{t.selectionMode=this.selectionMode,t.scale=this.scale})),this.allowCustomValues||this.setMaxScrollerHeight(),this.groupItems.forEach(((t,i,e)=>{0===i&&(t.afterEmptyGroup=!1);const s=e[i+1];s&&(s.afterEmptyGroup=0===t.children.length)}))},this.scrollToActiveItem=()=>{const t=this.filteredItems[this.activeItemIndex];if(!t)return;const i=this.calculateScrollerHeight(t),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<t.offsetTop+i?this.listContainerEl.scrollTop=t.offsetTop-e+i:t.offsetTop<s&&(this.listContainerEl.scrollTop=t.offsetTop)},this.comboboxFocusHandler=()=>{this.disabled||this.textInput?.focus()},this.clearDisabled=!1,this.filterText="",this.selectionDisplay="all",this.open=!1,this.disabled=!1,this.form=void 0,this.label=void 0,this.placeholder=void 0,this.placeholderIcon=void 0,this.placeholderIconFlipRtl=!1,this.maxItems=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.allowCustomValues=void 0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multiple",this.scale="m",this.status="idle",this.value=null,this.flipPlacements=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedItems=[],this.filteredItems=[],this.readOnly=!1,this.items=[],this.groupItems=[],this.needsIcon=void 0,this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.compactSelectionDisplay=!1,this.selectedHiddenChipsCount=0,this.selectedVisibleChipsCount=0,this.effectiveLocale=void 0,this.defaultMessages=void 0}filterTextChange(t){this.updateActiveItemIndex(-1),this.filterItems(t,!0)}openHandler(){O(this),this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(t){t||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();Array.isArray(t)?i.forEach((i=>i.selected=t.includes(i.value))):i.forEach(t?i=>i.selected=t===i.value:t=>t.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}async documentClickHandler(t){this.disabled||t.composedPath().includes(this.el)||(await B(this.el),!this.allowCustomValues&&this.filterText&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1)),this.allowCustomValues&&this.filterText.trim().length&&this.addCustomChip(this.filterText),this.open=!1)}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag)return;const i=t.target,e=this.filteredItems.indexOf(i);this.updateActiveItemIndex(e),this.toggleSelection(i,i.selected)}calciteInternalComboboxItemChangeHandler(t){t.stopPropagation(),this.updateItems()}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:o}=this;return m(this,{floatingEl:i,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:o,type:"menu"},t)}async setFocus(){await $(this),this.textInput?.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){L(this),F(this),z(this),v(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateItems(),this.setFilteredPlacements(),this.open&&(this.openHandler(),O(this)),b(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){D(this),this.updateItems(),await M(this),this.filterItems(this.filterText,!1,!1)}componentDidLoad(){x(this,this.getValue()),b(this,this.referenceEl,this.floatingEl),E(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),k(this)}componentDidUpdate(){this.refreshSelectionDisplay()}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),j(this),y(this),u(this,this.referenceEl,this.floatingEl),A(this),W(this)}effectiveLocaleChange(){T(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=!0,this.items.forEach((t=>t.selected=!1)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=[],this.emitComboboxChange(),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems(""),this.setFocus()}clearInputValue(){this.textInput.value="",this.filterText=""}comboboxInViewport(){const t=this.el.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.scrollToActiveItem(),this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}ensureRecentSelectedItemIsActive(){const{selectedItems:t}=this,i=0===t.length?0:this.items.indexOf(t[t.length-1]);this.updateActiveItemIndex(i)}hideChip(t){t.classList.add(U.chipInvisible)}showChip(t){t.classList.remove(U.chipInvisible)}refreshChipDisplay({chipEls:t,availableHorizontalChipElSpace:i,chipContainerElGap:e}){t.forEach((t=>{if(t.selected){const s=c(t);if(s&&s<i)return i-=s+e,void this.showChip(t)}else this.hideChip(t);this.hideChip(t)}))}setCompactSelectionDisplay({chipContainerElGap:t,chipContainerElWidth:i,inputWidth:e,largestSelectedIndicatorChipWidth:s}){const a=Math.round(s+t+e);(!this.maxCompactBreakpoint||this.maxCompactBreakpoint<a)&&(this.maxCompactBreakpoint=a),this.compactSelectionDisplay=i<this.maxCompactBreakpoint}setVisibleAndHiddenChips(t){let i=0;t.forEach((t=>{t.selected&&!t.classList.contains(U.chipInvisible)&&i++})),i!==this.selectedVisibleChipsCount&&(this.selectedVisibleChipsCount=i);const e=this.getSelectedItems().length-i;e!==this.selectedHiddenChipsCount&&(this.selectedHiddenChipsCount=e)}getMaxScrollerHeight(){const t=this.getItemsAndGroups().filter((t=>!t.hidden)),{maxItems:i}=this;let e=0,s=0;return t.length>i&&t.forEach((t=>{if(e<i){const i=this.calculateScrollerHeight(t);i>0&&(s+=i,e++)}})),s}calculateScrollerHeight(t){if(t)return t.getBoundingClientRect().height-Array.from(t.querySelectorAll(q)).reduce(((t,i)=>t+i.getBoundingClientRect().height),0)}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(t,i){!t||"single-persist"===this.selectionMode&&t.selected&&t.value===this.value&&!i||(this.isMulti()?(t.selected=i,this.updateAncestors(t),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===t&&i)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=J(t)),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(t){if("ancestors"!==this.selectionMode)return;const i=K(t),e=Q(t);t.selected?i.forEach((t=>{t.selected=!0})):(e.forEach((t=>t.selected=!1)),[...i].forEach((t=>{N(t)||(t.selected=!1)})))}getFilteredItems(){return""===this.filterText?this.items:this.items.filter((t=>!t.hidden))}getData(){return this.items.map((t=>({description:t.description,filterDisabled:t.filterDisabled,label:t.textLabel,metadata:t.metadata,shortHeading:t.shortHeading,value:t.value})))}getNeedsIcon(){return R(this.selectionMode)&&this.items.some((t=>t.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.filterText=""}getItems(){return Array.from(this.el.querySelectorAll(X)).filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(Y))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement("calcite-combobox-item");e.value=t,e.textLabel=t,e.selected=!0,this.el.prepend(e),this.resetText(),i&&this.setFocus(),this.updateItems(),this.filterItems(""),this.open=!0,this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){const t=this.activeChipIndex;this.activeChipIndex=-1===t?this.selectedItems.length-1:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){const t=this.activeChipIndex+1;t>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){const t=this.selectedItems[this.activeChipIndex]?.guid,i=t?this.referenceEl.querySelector(`#${rt}${t}`):null;i?.setFocus()}shiftActiveItemIndex(t){const{length:i}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+i+t)%i),this.scrollToActiveItem()}updateActiveItemIndex(t){this.activeItemIndex=t;let i=null;this.filteredItems.forEach(((e,s)=>{s===t?(e.active=!0,i=`${ht}${e.guid}`):e.active=!1})),this.activeDescendant=i,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isAllSelected(){return this.getItems().length===this.getSelectedItems().length}isMulti(){return!R(this.selectionMode)}renderChips(){const{activeChipIndex:i,readOnly:e,scale:s,selectionMode:a,messages:o}=this;return this.selectedItems.map(((n,l)=>{const c={chip:!0,"chip--active":i===l},h=[...K(n)].reverse(),r=J(n),d=[...h,n].map((t=>J(t))),p="ancestors"!==a?r:d.join(" / ");return t("calcite-chip",{appearance:e?"outline":"solid",class:c,closable:!e,"data-test-id":`chip-${l}`,icon:n.icon,iconFlipRtl:n.iconFlipRtl,id:n.guid?`${rt}${n.guid}`:null,key:r,messageOverrides:{dismissLabel:o.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(n),onFocusin:()=>this.activeChipIndex=l,scale:s,selected:n.selected,tabindex:i===l?0:-1,title:p,value:n.value},p)}))}renderAllSelectedIndicatorChip(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s,setAllSelectedIndicatorChipEl:a}=this,o=this.messages.allSelected;return t("calcite-chip",{class:{chip:!0,[U.chipInvisible]:!(this.isAllSelected()&&!s&&!i)},ref:a,scale:e,title:o,value:""},o)}renderAllSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s}=this,a=this.messages.all||"All";return t("calcite-chip",{class:{chip:!0,[U.chipInvisible]:!(this.isAllSelected()&&!s&&i)},scale:e,title:a,value:""},a)}renderSelectedIndicatorChip(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:a,selectedHiddenChipsCount:o,selectedVisibleChipsCount:n,setSelectedIndicatorChipEl:l}=this;let c,h;if(i)c=!0;else if("single"===e){const t=s().length;c=!(!this.isAllSelected()&&t>0),h=`${t} ${this.messages.selected}`}else"fit"===e&&(c=!!(this.isAllSelected()&&0===n||0===o),h=n>0?`+${o}`:`${o} ${this.messages.selected}`);return t("calcite-chip",{class:{chip:!0,[U.chipInvisible]:c},ref:l,scale:a,title:h,value:""},h)}renderSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:a,selectedHiddenChipsCount:o}=this;let n,l;if(i){const t=s().length;this.isAllSelected()?n=!0:"fit"===e?(n=!(o>0),l=`${o||0}`):"single"===e&&(n=!(t>0),l=`${t}`)}else n=!0;return t("calcite-chip",{class:{chip:!0,[U.chipInvisible]:n},scale:a,title:l,value:""},l)}get showingInlineIcon(){const{placeholderIcon:t,selectionMode:i,selectedItems:e,open:s}=this,a=e[0],o=a?.icon,n=R(i);return!s&&a?!!o&&n:!!t&&(!a||n)}renderInput(){const{guid:i,disabled:e,placeholder:s,selectionMode:a,selectedItems:o,open:n}=this,l=R(a),c=o[0],h=!n&&l&&!!c&&!this.filterText;return t("span",{class:{"input-wrap":!0,"input-wrap--single":l}},h&&t("span",{class:{label:!0,"label--icon":!!c?.icon},key:"label"},J(c)),t("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${pt}${i}`,"aria-errormessage":Z.validationMessage,"aria-expanded":r(n),"aria-haspopup":"listbox","aria-invalid":r("invalid"===this.status),"aria-label":S(this),"aria-owns":`${pt}${i}`,class:{[U.input]:!0,"input--single":!0,[U.inputHidden]:h,"input--icon":this.showingInlineIcon&&!!this.placeholderIcon},"data-test-id":"input",disabled:e,id:`${bt}${i}`,key:"input",onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:s,readOnly:this.readOnly,ref:t=>this.textInput=t,role:"combobox",tabindex:-1===this.activeChipIndex?0:-1,type:"text",value:this.filterText}))}renderListBoxOptions(){return this.filteredItems.map((i=>t("li",{"aria-selected":r(i.selected),id:i.guid?`${ht}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:i,setContainerEl:e,open:s}=this;return t("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":s},ref:i},t("div",{class:{[U.listContainer]:!0,[g.animation]:!0,[g.animationActive]:s},ref:e},t("ul",{class:{list:!0,"list--hide":!s}},t("slot",null))))}renderSelectedOrPlaceholderIcon(){const{open:i,placeholderIcon:e,placeholderIconFlipRtl:s,selectedItems:a}=this,o=a[0],n=o?.icon,l=e&&(i||!o);return this.showingInlineIcon&&t("span",{class:"icon-start",key:"selected-placeholder-icon"},t("calcite-icon",{class:{[U.selectedIcon]:!l,[U.placeholderIcon]:l},flipRtl:l?s:o.iconFlipRtl,icon:l?e:n,scale:V(this.scale)}))}renderChevronIcon(){const{open:i}=this;return t("span",{class:"icon-end",key:"chevron"},t("calcite-icon",{class:U.icon,icon:i?"chevron-up":"chevron-down",scale:V(this.scale)}))}render(){const{selectionDisplay:i,guid:e,label:a,open:o,readOnly:n}=this,l=R(this.selectionMode),c="all"===i,h="single"===i,r=!l&&"fit"===i,d=!this.clearDisabled&&this.value?.length>0;return t(s,{key:"f1671f542a84291771bcd4096557300397e67138",onClick:this.comboboxFocusHandler},t(I,{key:"d176f33343ad19474922e3274f28deae9c0a4fd9",disabled:this.disabled},t("div",{key:"f93285d693a11fb8cec1ed8d1b93b2f66c7ab2dd","aria-live":"polite",class:{wrapper:!0,"wrapper--single":l||!this.selectedItems.length,"wrapper--active":o},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},this.renderSelectedOrPlaceholderIcon(),t("div",{class:{"grid-input":!0,[U.selectionDisplayFit]:r,[U.selectionDisplaySingle]:h},key:"grid",ref:this.setChipContainerEl},!l&&!h&&this.renderChips(),!l&&!c&&[this.renderSelectedIndicatorChip(),this.renderSelectedIndicatorChipCompact(),this.renderAllSelectedIndicatorChip(),this.renderAllSelectedIndicatorChipCompact()],t("label",{key:"a5cf9dddce6a299fb7a42721f6c5e02ae754ea6e",class:"screen-readers-only",htmlFor:`${bt}${e}`,id:`${dt}${e}`},a),this.renderInput()),!n&&d?t(ct,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,!n&&this.renderChevronIcon()),t("ul",{key:"6c0673c3b470c0a2a84b25cb8a90074db7548741","aria-labelledby":`${dt}${e}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${pt}${e}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),t(w,{key:"140469ee4ef16d89edb506b133b4316e8a9d7277",component:this}),this.validationMessage&&"invalid"===this.status?t(G,{icon:this.validationIcon,id:Z.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{filterText:["filterTextChange"],open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],selectionMode:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],effectiveLocale:["effectiveLocaleChange"]}}};mt.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{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-color-text-3);outline-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;border-radius:50%;border-color:transparent;background-color:var(--calcite-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.wrapper:hover .icon{color:var(--calcite-color-text-1)}:host(:focus-within) .wrapper,.wrapper--active{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([read-only]) .wrapper{background-color:var(--calcite-color-background)}:host([read-only]) .label{font-weight:var(--calcite-font-weight-medium)}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{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 )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s);margin-inline-end:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:-moz-placeholder-shown{text-overflow:ellipsis}.input:placeholder-shown{text-overflow:ellipsis}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.placeholder-icon{color:var(--calcite-color-text-3)}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;cursor:pointer;align-items:center}.icon-end{flex:none}.icon-end .icon{color:var(--calcite-color-text-3)}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset, left, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block:0;left:0}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{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}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width, 100%)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}calcite-chip{--calcite-animation-timing:0}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);max-inline-size:100%}.chip--active{background-color:var(--calcite-color-foreground-3)}.chip--invisible{visibility:hidden;position:absolute}.item{display:block}.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}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";const ut=class{constructor(t){i(this,t),this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6),this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((t=>t.selectionMode=this.selectionMode))},this.mutationObserver=_("mutation",(()=>this.updateItems())),this.groupTitle=void 0,this.scale="m",this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){this.updateItems(),this.mutationObserver?.observe(this.el,{childList:!0})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const i=this.groupTitle?t("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,e=this.groupPosition>0?t("div",{class:"dropdown-separator",role:"separator"}):null;return t(s,{key:"f41943751aefdb17d4f5d5bd8778c219cfd01a00","aria-label":this.groupTitle,role:"group"},t("div",{key:"87b78040b93c06081ca8282a785d466ed8fcf334",class:{[it.container]:!0}},e,i,t("slot",{key:"f635a5bdbe439315eba6292a4858cbd8519d23d1"})))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};ut.style=":host{position:relative;display:block}.container{text-align:start}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-color-border-3)}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .dropdown-title{padding:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .dropdown-title{padding:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .dropdown-title{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}";const gt=class{constructor(t){i(this,t),this.idsFound=e(this,"idsFound",7),this.noLayersFound=e(this,"noLayersFound",7),this.layerSelectionChange=e(this,"layerSelectionChange",7),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.locale=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showTablesDisabled=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}get el(){return a(this)}defaultLayerHonored=!1;_layerElement;_layerNameHash;_tableNameHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async updateLayer(){this._setSelectedLayer(this.ids[0])}idsFound;noLayersFound;layerSelectionChange;async componentWillLoad(){await this._getTranslations(),await this._setLayers()}async componentWillRender(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];if(t!==this.selectedIds[0])this._setSelectedLayer(t);else{const t=await st(this.mapView,this.selectedIds[0]);this.selectedName=t?.title}}}render(){const i="map-layer-picker";let e=this.height>0?{height:`${this.height.toString()}px`}:{};return e={...e,display:this.display},t(s,{key:"47d80c20f364f6d4f1a247f7f84d25ca4ff5cd7b"},t("div",{key:"16ecc0c3dad51b0707304e003861e419796f3fba",class:"map-layer-picker-container",style:e},t("div",{key:"56a3d93b9f91afd753952a0e86fe9ee426c529f5",class:"map-layer-picker",style:e},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(i):"select"===this.type?this._getSelect(i):this._getDropdown(i):this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return t("div",null,t("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},t("div",{slot:"message"},this._translations.noLayersFound)),t("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},t("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){const i=this._getItemTypeIcon();return t("div",{class:"layer-picker-label-container cursor-default"},t("calcite-icon",{icon:i,scale:"s"}),t("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(i){return t("calcite-select",{id:i,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(i){return t("calcite-combobox",{clearDisabled:!0,id:i,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(i){return t("calcite-dropdown",{class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(i),t("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(i){return t("calcite-action",{id:i,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){const i=this._getItemTypeIcon();return t("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:i,kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},t("div",null,this.selectedName))}_getItemTypeIcon(){let t="layers";if(this.selectedIds.length>0){const i=this.selectedIds[0];t=Object.keys(this._layerNameHash).indexOf(i)>-1?"layers":"table"}return t}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(i,e){const s="layer"===e?this._layerNameHash[i]:this._tableNameHash[i],a=!!this.onlyShowUpdatableLayers&&!s.supportsUpdate,o=s.name,n=this.selectedIds.indexOf(i)>-1;return"combobox"===this.type?t("calcite-combobox-item",{disabled:a,selected:n,textLabel:o,value:i}):"select"===this.type?t("calcite-option",{disabled:a,label:o,selected:n,value:i}):t("calcite-dropdown-group",{class:a?"disabled":"",selectionMode:a?"none":"single"},t("calcite-dropdown-item",{disabled:"table"===e&&this.showTablesDisabled,"icon-start":e,onClick:a?void 0:()=>{this._setSelectedLayer(i)},selected:n},o))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),this.selectedName=i?.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds)}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>!(this.enabledLayerIds?.length>0)||this.enabledLayerIds.reverse().indexOf(t)>-1)),...i.reverse().filter((t=>!(this.enabledTableIds?.length>0)||this.enabledTableIds.reverse().indexOf(t)>-1))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await at(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await ot(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){const i=this._layerNameHash[t]?.name;return i&&Object.keys(nt.managedLayers).indexOf(i)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){const i=this._tableNameHash[t]?.name,e=i&&this.showTables;return e?nt.managedTables.indexOf(i)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):e}_layerSelectionChange(){const t=Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value];JSON.stringify(t)!==JSON.stringify([""])&&(this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds))}async _getTranslations(){const t=await et(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"]}}};gt.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{mt as calcite_combobox,ut as calcite_dropdown_group,gt as map_layer_picker}
@@ -1,11 +0,0 @@
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-4e6eb06e.js";import{g as o}from"./p-eed08718.js";import{u as a,I as c}from"./p-770a5a64.js";import{c as l,s,a as r}from"./p-7f68e6a4.js";import{l as d}from"./p-b138a65e.js";import"./p-08c18450.js";import"./p-7eee9aa8.js";
7
- /*!
8
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
10
- * v2.13.2
11
- */const h="description",u="description-only",p="heading",b="heading-only",g="icon",m="icon-only",f="input-alignment-end",v="input-alignment-start",x="input-enabled",k="large-visual",y="tile",w="tile--large-visual",z="width-auto",C="width-full";d.deprecated("component",{name:"tile-select",removalVersion:4,suggested:["tile","tile-group"]});const B=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(){return await l(this),this.input?.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()}componentWillLoad(){s(this)}componentDidLoad(){r(this)}disconnectedCallback(){this.input.parentNode.removeChild(this.input)}componentDidRender(){a(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:l,inputAlignment:s,inputEnabled:r,width:d,iconFlipRtl:B}=this,j=a&&l&&!e,H=Boolean(l);return i(c,{key:"b4fb6d82534b03b51abeb0837e82f0eebf03e882",disabled:n},i("div",{key:"b600dccfa114222d765c7937e0a01646c59ef5e9",class:{checked:t,container:!0,[h]:Boolean(e),[u]:Boolean(!a&&!l&&e),disabled:n,focused:o,[p]:Boolean(a),[b]:a&&!l&&!e,[g]:H,[m]:!a&&l&&!e,[f]:"end"===s,[v]:"start"===s,[x]:r,[k]:j,[z]:"auto"===d,[C]:"full"===d}},i("div",{key:"3beecb159a117c775e541fd658e7a3b8426c10c7",class:{[y]:!0,[w]:j}},l&&i("div",{key:"b1be68fded421b3196c0ab1af79f64df378a8def",class:{[g]:H}},i("calcite-icon",{key:"515fb12c5d3d436fcf41f0029a79f2a613d4c36d",flipRtl:B,icon:l,scale:"l"})),i("div",{key:"b1e4da0dcdf03bcd4690664e95bd83231af5d4a7",class:"tile-content-container"},i("div",{key:"439d258883fb6223b36fca919bdeb4eb5a586286",class:"tile-content"},a&&i("div",{key:"84292dd16f68a95f562cfc0cfc8a8f33e922f5bd",class:"tile-heading"},a),e&&i("div",{key:"7d6eb7bb116c6f98656348cca96efa1b446347ee",class:"tile-description"},e)))),i("slot",{key:"2fe8ada0d56e69984b02b47bb08e5b66d551ae47"})))}get el(){return n(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};B.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{B as calcite_tile_select}