@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 t,c as i,g as s,h as e,H as h}from"./p-4e6eb06e.js";import{g as a,l as o}from"./p-f4aadb3b.js";import{g as l,q as n,e as c,f as r,i as d,j as p,c as b}from"./p-d572627c.js";import{d as f}from"./p-ff9e28d1.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-7530a02f.js";import"./p-d0d020a5.js";import"./p-9bb44f57.js";const u=class{constructor(s){t(this,s),this.createWorkFlowStarted=i(this,"createWorkFlowStarted",7),this.backFromCreateWorkFlow=i(this,"backFromCreateWorkFlow",7),this.featureOrRecordSubmitted=i(this,"featureOrRecordSubmitted",7),this.customInfoText=void 0,this.enableEditGeometry=!1,this.isMobile=void 0,this.layer=void 0,this.locale=void 0,this.mapView=void 0,this.zoomAndScrollToSelected=void 0,this.selectedFeaturesIds=void 0,this.enableCreateFeatures=!0,this.selectingFeatureFromMap=void 0,this._cardLoading=!1,this._graphics=void 0,this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._translations=void 0}get el(){return s(this)}_isFeatureCreated=!1;_createFeature;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}createWorkFlowStarted;backFromCreateWorkFlow;featureOrRecordSubmitted;async featureSelectionChange(t){this._showCreateFeatureComponent&&!this._isFeatureCreated&&this._backFromCreateFeature();const i=t.detail;this._graphics=await this._getFeaturesByIds(i)}async layerSelectionChange(t){this._showCreateFeatureComponent&&this._backFromCreateFeature();const i=t.detail[0];this.layer=await l(this.mapView,i)}async componentWillLoad(){await this._getTranslations(),this.selectedFeaturesIds?.length>0&&(this._graphics=await this._getFeaturesByIds(this.selectedFeaturesIds))}render(){const t=this._graphics?.length>0?"":"display-none",i=0===this._graphics?.length&&this._showCreateFeatureComponent?"":"display-none",s=this._graphics?.length>0||this._showCreateFeatureComponent?"display-none":"",a=this.layer?.isTable,o=a?this._translations.createRecord:this._translations.createFeature,l=this.customInfoText?this.customInfoText:this.selectingFeatureFromMap?this._translations.selectFeaturesFromMapToStart:this._translations.selectFeaturesToStart,n=this.enableCreateFeatures&&this.layer?.capabilities?.operations?.supportsAdd;return e(h,{key:"1dc448368b85b83ccc2f76f59cff83559d1d1285"},e("div",{key:"7c058f7a4ca2db84f0ad35efba90a1485e5c7989",class:"overflow-auto height-full"},e("calcite-shell",{key:"1388666d3d11efee37efc1524011594237cccc35",class:"position-relative "+t},e("div",{key:"3f93c4de344e49eec16e447bc1ca44cb280f84cc",class:"position-static z-index-500"},e("info-card",{key:"c5b8cafef2595b8ae85725d583caebf9754ce1fb",enableEditGeometry:this.enableEditGeometry,graphics:this._graphics,isLoading:this._cardLoading,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView}))),e("calcite-shell",{key:"bfa2f41e657f390335545f46ab744d4d980c3926",class:"position-relative "+s},e("calcite-flow-item",{key:"bf19ce4b69b52c5652629f38859e03a0a99f8374"},e("calcite-panel",{key:"1ea46998a73ad636ad2a956e72181a0570edd5d0"},e("div",{key:"d853f429c30daa5abcfe6576b7242fa48251ae53",class:"padding-1"},e("calcite-notice",{key:"dffa52ec3fa7a22494b6dadd7b1c6d512e25c192",icon:this.selectingFeatureFromMap?"map":"table",iconFlipRtl:!0,open:!0},e("div",{key:"728b56c9281dfe09d1604882635a53803c5f4253",slot:"message"},l))),!this.isMobile&&n&&e("calcite-button",{key:"260042d84c529d5508630bca7bdb39db1c2408cb",disabled:!this.layer,onClick:()=>this._createFeatureBtnClicked(),slot:"footer",width:"full"},a?this._translations.createRecord:this._translations.createFeature)))),e("calcite-shell",{key:"c30cbc2dc6e70319440bf9ed7c3d7f7ede38c3a1",class:"position-relative "+i},e("calcite-flow-item",{key:"901c5a407a8418c34ee72c4dd4b16443c3766819"},e("calcite-panel",{key:"a6faf502cd08060a42582cbd95d7354b1e192a43",heading:o},e("calcite-action",{key:"23e9c295f7476f935055c30227774e173315194d",class:"back-button hydrated",icon:"chevron-left",onClick:this._backFromCreateFeature.bind(this),scale:"s",slot:"header-actions-start",text:""}),this.getEditorComponent(),this._showSubmitBtn&&e("calcite-button",{key:"3ee5c310e5fad8aa5d6abd8ae1347c46d3ada1be",appearance:"solid",class:"footer-top-button footer-button",onClick:()=>{this._createFeature.submit()},slot:"footer",width:"full"},this._translations.create))))))}getEditorComponent(){return e("div",null,this._showCreateFeatureComponent&&e("create-feature",{customizeSubmit:!0,locale:this.locale,mapView:this.mapView,onDrawComplete:()=>{this._showSubmitBtn=!0},onEditingAttachment:t=>{this._showSubmitBtn=!t.detail},onProgressStatus:()=>{setTimeout((()=>{this._isFeatureCreated=!1}),2e3)},onSuccess:this._featureCreated.bind(this),ref:t=>this._createFeature=t,selectedLayerId:this.layer?.id,showGuidingMsgWhileDrawing:!1}))}async _getFeaturesByIds(t){return(t.length>0?await n(t,this.layer,[],!0,this.mapView.spatialReference):[]).sort(((i,s)=>t.indexOf(i.getObjectId())-t.indexOf(s.getObjectId())))}_createFeatureBtnClicked(){this._showCreateFeatureComponent=!0,this.createWorkFlowStarted.emit()}async _backFromCreateFeature(){this._createFeature&&(this._showCreateFeatureComponent=!1,this.backFromCreateWorkFlow.emit()),this._showSubmitBtn=!1}_featureCreated(){this._showCreateFeatureComponent=!1,this._showSubmitBtn=!1,this._isFeatureCreated=!0,this.featureOrRecordSubmitted.emit(),setTimeout((()=>{this._showCreateFeatureComponent=!0}),50)}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};u.style=":host{display:block !important}.display-flex{display:flex}.display-none{display:none}.w-100{width:100%}.padding-bottom-1{padding-bottom:1rem}.padding-1{padding:1rem}.position-relative{position:relative}.focus-margin{margin:1px 1px 0px 1px}.overflow-auto{overflow:auto}.height-full{height:100%}.position-static{position:static !important}.z-index-500{z-index:500 !important}card-manager{display:block}";const m=class{constructor(s){t(this,s),this.featureSelectionChange=i(this,"featureSelectionChange",7),this.toggleFilter=i(this,"toggleFilter",7),this.showDelete=i(this,"showDelete",7),this.appLayout=void 0,this.defaultGlobalId=void 0,this.defaultLayerId=void 0,this.defaultOid=void 0,this.enableAutoRefresh=void 0,this.enableColumnReorder=!0,this.enableCSV=void 0,this.enableInlineEdit=void 0,this.enableShare=void 0,this.isMobile=void 0,this.locale=void 0,this.mapHidden=void 0,this.mapInfo=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.selectedIds=[],this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.showNewestFirst=void 0,this.zoomAndScrollToSelected=void 0,this.zoomToScale=void 0,this.createFilterModal=!0,this._allIds=[],this._controlsThatFit=void 0,this._csvExporting=!1,this._fetchingData=!1,this._filterActive=!1,this._filterOpen=!1,this._layer=void 0,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=void 0,this._translations=void 0,this._fullTextSearchInfo=void 0,this._searchPlaceHolder="",this._size=0}get el(){return s(this)}FeatureTable;TableTemplate;_columnsInfo;_ctrlIsPressed=!1;_currentId;_editEnabled;_defaultFilterHonored=!1;_defaultGlobalIdHonored=!1;_defaultOidHonored=!1;_defaultVisibleToolSizeInfos;_definitionExpression;_deleteEnabled;_filterList;_floorExpression;_floorField;_floorFacility;_floorLevel;_floorSite;_layerExpressions;_loaded=!1;_mapClickHandle;_observerSet=!1;_previousCurrentId;reactiveUtils;_refreshHandle;_resizeObserver;_selectAllElement;_selectionFromMap=!1;_shareNode;_shiftIsPressed=!1;_showHideDropdown;_skipOnChange=!1;_moreDropdown;_table;_tableNode;_timeout;_toolbar;_toolbarSizeInfos;_searchExpression;_tempSelectedIds;appLayoutWatchHandler(){this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}enableCSVWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}mapHiddenWatchHandler(){this._toolInfos?.length>0&&this._initToolInfos()}isMobileWatchHandler(){this._toolInfos||this.isMobile||this._initToolInfos()}async mapInfoWatchHandler(){this._resetColumnTemplates(),this.createFilterModal&&this._initLayerExpressions(),this._initToolInfos(),this._updateToolbar(),await this._sortTable()}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression=void 0,this._searchExpression=void 0,this._updateShareUrl(),this._mapClickHandle=this.reactiveUtils.on((()=>this.mapView),"click",(t=>{this._mapClicked(t)})))}async _layerWatchHandler(){this._fetchingData=!0,await(this._layer?.when((async()=>{this._definitionExpression=this._layer.definitionExpression,this._floorField=this._layer.floorInfo?.floorField,this._updateFloorDefinitionExpression(),await this._resetTable(),this.createFilterModal&&this._initLayerExpressions(),this._updateShareUrl(),this._fetchingData=!1})))}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0]))}async filterReset(){await this._handleFilterListReset()}async filterUpdate(t){await this._handleFilterUpdate(t)}async closeFilter(){await this._closeFilter()}async refresh(){this._table&&await this._refresh()}featureSelectionChange;toggleFilter;showDelete;async selectionChanged(t){const i=t.detail.selectedFeature[0],s=i.getObjectId(),e=this._table;if(e.rowHighlightIds.length&&e.rowHighlightIds.removeAll(),e.rowHighlightIds.add(s),this.zoomAndScrollToSelected){const t=this._table.viewModel.getObjectIdIndex(s);this._table.scrollToIndex(t);const e=i.layer;let h;this.mapView.allLayerViews.toArray().some((t=>{if(t.layer.title===e.title&&"feature"===t.layer.type)return h=t,!0})),h&&await c([s],h,this.mapView,!0,void 0,this.zoomToScale)}}async layerSelectionChange(t){await this._layerSelectionChanged(t)}async editsComplete(t){const i=t.detail;"delete"!==i&&"add"!==i||(this._allIds=await r(this._layer)),await this._refresh()}async facilityChanged(t){this._floorFacility=t.detail,this._updateFloorDefinitionExpression()}async levelChanged(t){this._floorLevel=t.detail,this._updateFloorDefinitionExpression()}async siteChanged(t){this._floorSite=t.detail,this._updateFloorDefinitionExpression()}noLayersFound(){this._layer=void 0,this._allIds=[],this._clearSelection()}clearSelection(){this._clearSelection()}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._onResize())))}render(){const t=this._fetchingData?"display-none":"",i=this._fetchingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),o=this.isMobile?"height-full":"height-full-adjusted",l=this._canShowFullTextSearch();return this._validateActiveActions(),e(h,{key:"ade26bd309af37b5b9f9bdc355f1cf6c575fa89a"},e("calcite-shell",{key:"95668ae72cde1a3600e17a0d138ba8b810a4c525"},this._getTableControlRow("header"),e("div",{key:"488eabfc4666c0d81aacbac523e7ba20288a4701",class:`width-full ${o}`},e("calcite-panel",{key:"75d01c41afbb872f57472adc76045431163c0cab",class:"height-full width-full"},l&&e("div",{key:"b6062ca6e5702fc835777a6fe6ecec7a66926bc0",class:"search-container"},e("calcite-input",{key:"eade11ccb0d7b6d5aed838dbb6b2eaec4286d8c6",class:"search",clearable:!0,icon:"search",onCalciteInputChange:t=>{this._searchTextChanged(t)},placeholder:this._searchPlaceHolder,title:this._searchPlaceHolder,type:"search"})),e("calcite-loader",{key:"889c97b23074f5be4b045199cf48632720d6c598",class:i,label:this._translations.fetchingData,scale:"l"}),e("div",{key:"4ac0bfdaf07c38ff57008bade29b4b90b11f437d",class:t,ref:this.onTableNodeCreate}))),this.isMobile?void 0:e("div",{class:"bottom-left text-color height-19"},this._translations.recordsSelected.replace("{{total}}",s).replace("{{selected}}",a))),this.createFilterModal&&this._filterModal())}_deleteDialog;async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0)}componentDidRender(){document.onclick=t=>this._handleDocumentClick(t),document.onkeydown=t=>this._handleKeyDown(t),document.onkeyup=t=>this._handleKeyUp(t),this._updateToolbar()}async _initModules(){const[t,i,s]=await o(["esri/widgets/FeatureTable","esri/core/reactiveUtils","esri/widgets/FeatureTable/support/TableTemplate"]);this.FeatureTable=t,this.reactiveUtils=i,this.TableTemplate=s}async _searchTextChanged(t){this._fullTextSearchInfo.forEach((i=>{i.searchTerm=t.target.value})),this._searchFullText()}async _searchFullText(){let t=[],i=!1;this._showOnlySelected?(t=this._tempSelectedIds,i=!0):(this._clearSelection(),this._tempSelectedIds=[]),this._searchExpression&&this._clearSearchDefinitionExpression();let s=[];if(this._fullTextSearchInfo.length&&this._fullTextSearchInfo[0].searchTerm){const e=this._layer.createQuery();e.fullText=this._fullTextSearchInfo,s=await this._layer.queryObjectIds(e),i&&t?.length&&(s=s.filter((i=>t.includes(i)))),await this._updateSearchDefinitionExpression(s?.length?s:[-1])}i&&s?.length&&(this._showOnlySelected=!0,this._table.highlightIds.addMany(s.reverse())),await new Promise((t=>setTimeout(t,800))),await this._updateAllIds()}_clearSearchDefinitionExpression(){const t=this._layer.definitionExpression;this._searchExpression&&t?.indexOf(this._searchExpression)>-1&&(this._layer.definitionExpression=t?.indexOf(" AND ("+this._searchExpression)>-1?t.replace(` AND (${this._searchExpression})`,""):t.replace(this._searchExpression,"")),this._searchExpression=void 0}async _updateSearchDefinitionExpression(t){const i=this._layer.definitionExpression;if(t?.length){const s=`objectId in(${t})`;this._layer.definitionExpression=i?.indexOf(this._searchExpression)>-1?i.replace(this._searchExpression,s):i?`${i} AND (${s})`:s,this._searchExpression=s}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return((this._layer?.capabilities)?.query)?.supportsFullTextSearch&&this._layer.indexes.items.filter((t=>"FullText"==t.indexType)).length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],((this._layer?.capabilities)?.query)?.supportsFullTextSearch){const t=this._layer.indexes?.filter((t=>"FullText"==t.indexType));if(t?.length){const i=[];t.forEach((t=>{i.push(...t.fields.split(","))}));const s=[];i.forEach((t=>{const i=this._layer.getField(t.trim());s.push(i.alias)})),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{fields}}",s.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_onResize(){this._updateToolbar()}_getTableControlRow(t){const i=this._canShowFullTextSearch()?"border-bottom":"";return e("div",{class:`display-flex height-51-px ${i}`,ref:t=>this._toolbar=t,slot:t},this._getActionBar(),this.isMobile?void 0:this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile?this._getShare("share"):void 0)}_getActionBar(){const t=this.isMobile?"width-full":"",i=this.isMobile?"border-top":"";return e("calcite-action-bar",{class:t,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("div",{class:`border-end ${t} ${i}`,id:"solutions-map-layer-picker-container"},e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",scale:"l",selectedIds:this._layer?[this._layer?.id]:[],showSingleLayerAsLabel:!0,showTables:!0,type:"dropdown"})),this.isMobile?void 0:this._getActions())}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(i.isDanger?this._getDangerAction(i.icon,i.label,i.func,i.disabled):i.isSublist?e("calcite-dropdown",{closeOnSelectDisabled:!0,id:this._getId(i.icon),onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._showHideDropdown=t},this._getAction(i.active,this._showHideOpen?"chevron-down":i.icon,i.indicator,i.label,i.func,i.disabled,i.loading,"trigger"),this._showHideOpen?this._getFieldlist():void 0):this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getFieldlist(){return this._columnsInfo?e("calcite-dropdown-group",{"selection-mode":"multiple"},Object.keys(this._columnsInfo).map((t=>{const i=this._columnsInfo[t];return e("calcite-dropdown-item",{id:`layer-table-${t.toLowerCase().replaceAll(" ","")}`,label:t,onClick:t=>{const i=t.target;this._columnsInfo[i.label]=i.selected,i.selected?this._table.showColumn(i.label):this._table.hideColumn(i.label)},selected:i},t)}))):void 0}_validateEnabledActions(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","trash","erase","selected-items-filter"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_validateActiveActions(){const t=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&("filter"===i.icon&&(i.indicator=this._filterActive),"list-check-all"===i.icon&&(i.active=this._selectAllActive),"selected-items-filter"===i.icon&&(i.active=this._showOnlySelected))}))}_initToolInfos(){const t=this._featuresSelected(),i=this.selectedIds.length>1&&this._layer?.capabilities?.operations?.supportsUpdate&&!1,s=this._featuresEmpty(),e=this._hasFilterExpressions();this._translations&&(this._toolInfos=[this.mapHidden?void 0:{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},e?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.createFilterModal?this._toggleFilter():this.toggleFilter.emit(),disabled:!1,isOverflow:!1}:void 0,i?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!i,isOverflow:!1}:void 0,this._deleteEnabled?{active:void 0,icon:"trash",indicator:void 0,label:this._translations.delete,func:()=>this._showDelete(),disabled:!t,isDanger:!0,isOverflow:!1}:void 0,{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this._clearSelection(),disabled:!t,isOverflow:!1},{active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!t,isOverflow:!1},{active:!1,icon:"list-check-all",indicator:!1,func:()=>this._selectAll(),label:this._translations.selectAll,disabled:s,isOverflow:!1},{active:!1,icon:"compare",indicator:!1,func:()=>this._switchSelected(),label:this._translations.switchSelected,disabled:s,isOverflow:!1},{active:!1,icon:"refresh",indicator:!1,func:()=>this._refresh(),label:this._translations.refresh,disabled:!1,isOverflow:!1},this.enableCSV?{active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,loading:this._csvExporting,disabled:s,isOverflow:!1}:void 0,{active:!1,icon:this._showHideOpen?"chevron-down":"chevron-right",indicator:!1,func:()=>this._toggleShowHide(),label:this._translations.showHideColumns,disabled:!1,isOverflow:!1,isSublist:!0}],this._defaultVisibleToolSizeInfos=void 0)}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){const t=`${this._floorField} = '${this._floorLevel}'`,i=this._layer.definitionExpression;this._layer.definitionExpression=i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):i?`${i} AND (${t})`:t,this._floorExpression=t}}_featuresSelected(){return this.selectedIds.length>0}_featuresEmpty(){return 0===this._allIds.length}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this._layer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this._layer.id))),t?.length>0}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this._layer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:`${t.disabled?"disabled":""} ${"trash"===t.icon?"delete-red":""}`,selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.isSublist&&this._showHideOpen?"chevron-down":t.loading?"":t.icon,id:`layer-table-${t.icon}`,onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label))))),this._showHideOpen?this._getFieldlist():void 0):void 0}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_getAction(t,i,s,h,a,o,l,n){const c=void 0===this._layer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:`layer-table-${i}`,indicator:s,label:h,loading:l,onClick:a,text:h,textEnabled:!0}),this._getToolTip("bottom",i,h))}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>this._shareNode=t,scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this.mapInfo?.id?i.searchParams.set("webmap",this.mapInfo.id):i.searchParams.delete("webmap"),this._layer?.id?i.searchParams.set("layer",this._layer.id):i.searchParams.delete("layer"),this.selectedIds?.length>0?i.searchParams.set("oid",this.selectedIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":i},e("span",null,s)):void 0}_getId(t){return`solutions-action-${t}`}_getDangerAction(t,i,s,h){const a=void 0===this._layer||h;return e("div",{class:"display-flex",id:this._getId(t)},e("calcite-action",{appearance:"solid",compact:!0,disabled:a,id:t,onClick:s,text:""},e("calcite-button",{appearance:"transparent",iconStart:t,kind:"danger"},i)),this._getToolTip("bottom",t,i))}_getIds(){return this._table?.highlightIds?.toArray()}onTableNodeCreate=t=>{this._tableNode=t};async _getTable(t,i){this._layer&&(await this._layer.when((()=>{this._table=new this.FeatureTable({autoRefreshEnabled:this.enableAutoRefresh,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,highlightEnabled:!0,multiSortEnabled:!1,visibleElements:{columnDescriptions:!1,header:!1,menu:!1},tableTemplate:{columnTemplates:i},container:t})})),await this._table.when((()=>{this._table.highlightIds.on("change",(t=>{this._handleOnChange(t)}));const t=this.reactiveUtils.watch((()=>this._table.size),(t=>{this._size=t}));this._table.viewModel.addHandles(t)})))}async _handleOnChange(t){const i=[...this._table.highlightIds.toArray()];if(this._skipOnChange)this._skipOnChange=!1;else{if(!this._ctrlIsPressed&&!this._shiftIsPressed||this._selectionFromMap&&this._shiftIsPressed)if(this.selectedIds.length>0){this._skipOnChange=!0;const s=this.selectedIds.length>1&&1===t.removed.length?t.removed:i.filter((t=>this.selectedIds.indexOf(t)<0));this._tempSelectedIds=s.length?[...s]:[...this.selectedIds],this._clearSelection(),this.selectedIds=[...s],s.length>0?this._table.highlightIds.add(s[0]):this._skipOnChange=!1}else this.selectedIds=i.reverse(),this._tempSelectedIds=[...this.selectedIds];else if(this._ctrlIsPressed)this.selectedIds=i.reverse(),this._tempSelectedIds=[...this.selectedIds];else if(this._shiftIsPressed&&i?.length>0)if(this._skipOnChange=!0,this._previousCurrentId=this._currentId,this._currentId=[...i].reverse()[0],1===i.length)this._skipOnChange=!1;else if(this._previousCurrentId!==this._currentId){const t=this._table.activeSortOrders.reduce(((t,i)=>(t.push(`${i.fieldName} ${i.direction}`),t)),[]),s=await d(0,this._layer,[],t);let e=!1;const h=this._table.viewModel.getObjectIdIndex(this._previousCurrentId),a=this._table.viewModel.getObjectIdIndex(this._currentId);this._skipOnChange=(h<a?h:a)+1!==(a>h?a:h);const o=s.reduce(((t,i)=>{const s=i;return s===this._currentId||s===this._previousCurrentId?(e=!e,t.indexOf(s)<0&&t.push(s)):e&&t.indexOf(s)<0&&t.push(s),t}),[]),l=h<a?o.reverse():o;this.selectedIds=[...new Set([...l,...this.selectedIds])],this._tempSelectedIds=[...this.selectedIds],this._table.highlightIds.addMany(this.selectedIds.filter((t=>i.indexOf(t)<0)))}this._finishOnChange()}this._currentId=[...this._table.highlightIds.toArray()].reverse()[0],this._selectionFromMap=!1}_finishOnChange(){this._showOnlySelected&&(this._featuresSelected()?this._table.filterBySelection():this._toggleShowSelected()),this.featureSelectionChange.emit(this.selectedIds)}_resetColumnTemplates(){const t=this._getColumnTemplates(this._layer?.id,this._layer?.fields),i=t?.some(((t,i)=>JSON.stringify(this._table?.tableTemplate.columnTemplates[i])!==JSON.stringify(t)));if(this._table&&t&&(i||!this._columnsInfo)){this._table.tableTemplate=new this.TableTemplate({columnTemplates:t});const i=t.map((t=>t.fieldName));this._initColumnsInfo(i)}}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await r(this._layer),this._table)this._table.view=this.mapView,this._table.layer=this._layer;else{const t=this._getColumnTemplates(this._layer.id,this._layer?.fields);await this._getTable(this._tableNode,t)}await this._initLayerRefresh(),this._checkEditEnabled(),this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,await this._table.when(),setTimeout((()=>{this._loaded||(console.log(`table.state: ${this._table.state}`),this.finishLoading())}),1e3),await this.reactiveUtils.once((()=>"loaded"===this._table.state)).then((async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table.highlightIds.removeAll(),this._table.clearSelectionFilter(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),this._initToolInfos(),this._updateToolbar()}catch(t){console.log(t)}}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._refreshHandle=this._layer.on("refresh",(t=>{t.dataChanged&&(this._skipOnChange=!0,this._updateAllIds())}))}async _updateAllIds(){this._allIds=await r(this._layer),this.selectedIds=this.selectedIds.filter((t=>this._allIds.indexOf(t)>-1)),await this._refresh()}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=void 0,this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId?.length>0&&this._table){const t=await p(this.defaultGlobalId,this._layer),i=t?.length>0?t.map((t=>t.getObjectId())):void 0;i&&await this._selectDefaultFeature(i),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=void 0,this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(t){const i=this._table?.columns.reduce(((i,s)=>((!t||t?.indexOf(s.name)>-1)&&(i[s.name]=!s.hidden),i)),{}),s=this._table?.columns.map((t=>t.name));(t?t.filter((t=>s.indexOf(t)<0)):[]).forEach((t=>{i[t]=!0})),this._columnsInfo=t?t.reduce(((t,s)=>(t[s]=i[s],t)),{}):i}async _selectDefaultFeature(t){t.length>0&&this._table.highlightIds.addMany(t)}_checkEditEnabled(){this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._deleteEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsDelete}async _sortTable(){let t,i=this._layer?.objectIdField,s="desc";this.mapInfo?.layerOptions?.layers?.length>0&&this._layer?.id&&(t=this.mapInfo.layerOptions.layers.filter((t=>t.id===this._layer.id)),t&&t.length>0&&(t=t[0],t.sortField&&t.fields?.includes(t.sortField)&&(i=t.sortField),s=t?.sortOrder?t.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when((()=>{this._table.sortColumn(i,s)})))}_forceShowHide(){this._showHideDropdown&&(this._showHideDropdown.open=this._showHideOpen),this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_closeShowHide(){this._showHideOpen=!1}_handleDocumentClick(t){const i=t.target?.id;i.startsWith("layer-table-")?this._moreDropdown.open=!0:this._showHideOpen&&Object.keys(this._columnsInfo).indexOf(i)<0&&"chevron-right"!==i&&(this._closeShowHide(),this._moreDropdown&&(this._moreDropdown.open=!1),this._showHideDropdown&&(this._showHideDropdown.open=!1))}_handleKeyDown(t){this._ctrlIsPressed=t.ctrlKey,this._shiftIsPressed=t.shiftKey}_handleKeyUp(t){this._ctrlIsPressed=t.ctrlKey,this._shiftIsPressed=t.shiftKey}_filterModal(){return e("calcite-modal",{"aria-labelledby":"modal-title",class:"modal",kind:"brand",onCalciteModalClose:()=>{this._closeFilter()},open:this._filterOpen,widthScale:"s"},e("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},this._translations?.filter?.replace("{{title}}",this._layer?.title)),e("div",{slot:"content"},e("instant-apps-filter-list",{autoUpdateUrl:!1,closeBtn:!0,closeBtnOnClick:async()=>this._closeFilter(),comboboxOverlayPositioning:"fixed",layerExpressions:this._layerExpressions,onFilterListReset:()=>{this._handleFilterListReset()},onFilterUpdate:()=>{this._handleFilterUpdate(this._filterList.filterCount>0)},ref:t=>this._filterList=t,view:this.mapView,zoomBtn:!1})))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(t){const i=this._layer.definitionExpression;if(this._floorExpression){const t=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=i&&this._floorField&&i.indexOf(`${this._floorField} = '`)>-1?i.replace(t,this._floorExpression):i?`${i} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=t,this._updateShareUrl(),await this._searchFullText()}async _closeFilter(){this._filterOpen&&(this._allIds=await r(this._layer),this._filterOpen=!1)}async _mapClicked(t){const i={include:this._layer},s=await this.mapView.hitTest(t.screenPoint,i);s.results.length>0?(s.results.forEach((t=>{const i=t.graphic.getObjectId();this._table.highlightIds.indexOf(i)<0&&(this._selectionFromMap=!0,this._table.highlightIds.add(i))})),this._showOnlySelected&&this._table.filterBySelection()):this._clearSelection()}_selectAll(){const t=this._allIds;this._table.highlightIds.removeAll(),this._skipOnChange=!0,this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange(),this._selectAllActive=!0}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._showOnlySelected?this._table.filterBySelection():this._table.clearSelectionFilter()}_clearSelection(){this.selectedIds=[],this._table?.highlightIds.removeAll(),this._table?.rowHighlightIds.removeAll(),this._finishOnChange()}_toggleFilter(){this._filterOpen=!this._filterOpen}_initLayerExpressions(){const t=this.mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=t?t.filter((t=>t.id===this._layer?.id)):[],this._filterList.layerExpressions=this._layerExpressions,this._filterActive=this._layerExpressions.filter((t=>t.expressions.filter((t=>t.active)).length>0)).length>0}_switchSelected(){const t=[...this.selectedIds];this._table.highlightIds.removeAll();const i=this._allIds.reduce(((i,s)=>(t.indexOf(s)<0&&i.push(s),i)),[]).sort(((t,i)=>t-i));this._skipOnChange=!0,this._table.highlightIds.addMany(i),this.selectedIds=i,this._finishOnChange()}async _exportToCSV(){const t={},i=this._table.highlightIds.toArray();t[this._layer.id]={selectionSetNames:[this._layer.title],ids:i,layer:this._layer};const s=this._table.columns.toArray().reduce(((t,i)=>(i.hidden||t.push(i.name.toLocaleLowerCase()),t)),[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,await f(null,t,!1,!1,!0,s,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}_updateToolInfoLoading(t,i){this._toolInfos.some((s=>{if(s?.icon===t)return s.loading=i,!0}))}async _refresh(){await this._table.refresh(),this._allIds=await r(this._layer),this.featureSelectionChange.emit(this.selectedIds)}async _zoom(){if(this._layer){const t=await b(this.mapView,this._layer.id);await c(this.selectedIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _layerSelectionChanged(t){const i=t.detail[0];if(i!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0;const t=await l(this.mapView,i);t&&await t.when((()=>{this._layer=t,this._getFullTextSearchInfo()}))}this._fetchingData=!1}_getColumnTemplates(t,i){let s;this.mapInfo?.layerOptions?.layers.some((i=>{if(i.id===t)return s=i,!0}));const e=s?.fields&&s?.fieldOrder?s.fieldOrder.filter((t=>s.fields.indexOf(t)>-1)):void 0;let h;return i&&(h=s&&s?.fields?i.reduce(((t,i)=>{if(s.fields.indexOf(i.name)>-1){const s={type:"field",fieldName:i.name,label:i.alias,menuConfig:this._getMenuConfig(i.name)};t.push(s)}return t}),[]).sort(this._sortFields.bind(this,s?.fieldOrder)):i.map((t=>({type:"field",fieldName:t.name,label:t.alias,menuConfig:this._getMenuConfig(t.name)})))),e?h?.sort(this._sortFields.bind(this,e)):h}_sortFields(t,i,s){return t?.indexOf(i.fieldName)-t.indexOf(s.fieldName)}_getMenuConfig(t){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(t)}}]}}_handleHideClick(t){this._columnsInfo[t]=!1,this._table.hideColumn(t),this._table.tableTemplate.columnTemplates.forEach((i=>{i.fieldName===t&&(i.visible=!1)}))}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],defaultOid:["defaultOidWatchHandler"],defaultGlobalId:["defaultGlobalIdWatchHandler"],enableCSV:["enableCSVWatchHandler"],enableInlineEdit:["enableInlineEditWatchHandler"],enableShare:["enableShareWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"],locale:["localeWatchHandler"],mapHidden:["mapHiddenWatchHandler"],isMobile:["isMobileWatchHandler"],mapInfo:["mapInfoWatchHandler"],mapView:["mapViewWatchHandler"],_layer:["_layerWatchHandler"],selectedIds:["selectedIdsWatchHandler"]}}};function v(t){return function(t){return-1!==t?.indexOf("http://")}(t)?t.replace(/^http:\/\//,"https://"):t}m.style=':host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir="rtl"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir="rtl"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-foreground-1) !important}.search{--calcite-color-border-input:var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color:var(--calcite-color-status-danger);--calcite-color-text-1:var(--calcite-color-status-danger);--calcite-color-text-3:var(--calcite-color-status-danger)}';const w=class{constructor(s){t(this,s),this.mapChanged=i(this,"mapChanged",7),this.beforeMapChanged=i(this,"beforeMapChanged",7),this.toggleFilter=i(this,"toggleFilter",7),this.clearSelection=i(this,"clearSelection",7),this.appLayout=void 0,this.appProxies=void 0,this.defaultWebmapId="",this.defaultLayerId=void 0,this.enableHome=void 0,this.enableLegend=void 0,this.enableFloorFilter=void 0,this.enableFullscreen=void 0,this.enableShare=!1,this.enableSingleExpand=!0,this.enableSearch=void 0,this.enableBasemap=void 0,this.basemapConfig=void 0,this.hidden=void 0,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.locale=void 0,this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.mapView=void 0,this.stackTools=!0,this.theme=void 0,this.toolOrder=void 0,this.isMapLayout=void 0,this.shareIncludeEmbed=void 0,this.shareIncludeSocial=void 0,this.selectedFeaturesIds=void 0,this.selectedLayer=void 0,this.zoomToScale=void 0,this.onlyShowUpdatableLayers=void 0,this.isMobile=void 0,this.mapInfo=void 0,this._translations=void 0,this._searchConfiguration=void 0,this._webMapInfo=void 0,this._showHideOpen=!1,this._toolInfos=void 0,this._controlsThatFit=void 0}get el(){return s(this)}esriConfig;Home;MapView;WebMap;_defaultWebmapHonored=!1;_homeWidget;_loadedId="";_mapDiv;_mapPicker;_mapTools;_moreDropdown;_mapListExpanded=!1;_filterActive=!1;_definitionExpression;_mapLayerPicker;_resizeObserver;_shareNode;_showHideDropdown;_toolbar;_timeout;_toolbarSizeInfos;_defaultVisibleToolSizeInfos;_observerSet=!1;appLayoutWatchHandler(){this._updateShareUrl()}enableHomeWatchHandler(){this._initHome()}enableShareWatchHandler(){this._toolbar&&this._updateToolbar()}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await(this.selectedLayer?.when((async()=>{this._definitionExpression=this.selectedLayer.definitionExpression})))}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}_controlsThatFitWatchHandler(){const t=this._controlsThatFit?this._controlsThatFit.reduce(((t,i)=>(t.push(i.id),t)),[]):[];this._toolInfos=this._toolInfos?.map((i=>{if(i&&this._controlsThatFit){const s=this._getId(i.icon);return i.isOverflow=t.indexOf(s)<0,i}}))}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(t){this._filterActive=t,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.updateLayer()}mapChanged;beforeMapChanged;toggleFilter;clearSelection;async mapInfoChange(t){await this._loadMap(t.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout((()=>{this._initToolInfos()}),50)}async componentWillLoad(){await this._getTranslations(),await this._initModules(),this._initToolInfos(),this._resizeObserver||(this._resizeObserver=new ResizeObserver((()=>this._updateToolbar())))}render(){const t=this.isMapLayout?"display-flex height-49-px":"",i=this.hidden?"visibility-hidden-1":"",s="dark"===this.theme?"calcite-mode-dark":"calcite-mode-light",a=this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full",o=this.isMapLayout?"":"display-none";return this._validateActiveActions(),e(h,{key:"5861d407b8529c6834d5d05450693d1fff2b71ee"},e("div",{key:"01e028e8a00fc66d5eaa8eb7f85b58d579c3e7ff",class:`${t} width-full`,ref:t=>this._toolbar=t},this._getActionBar(),!this.isMobile&&this.isMapLayout&&this._getDropdown("more-table-options"),this.enableShare&&!this.isMobile&&this.isMapLayout?this._getShare("share"):void 0),e("calcite-progress",{key:"6a0b7a2a734f3631b8c8a712acaf60a9e95c6c16",class:o,value:0}),e("div",{key:"74cebf9c194bfc5b72be3b397821f586a5923fa4",class:`${a} ${i}`,ref:t=>this._mapDiv=t}),e("map-tools",{key:"6c87207eecaacf61c594f1036af38c0548ea1767",basemapConfig:this.basemapConfig,class:`box-shadow ${s}`,enableBasemap:this.enableBasemap,enableFloorFilter:this.enableFloorFilter,enableFullscreen:this.enableFullscreen,enableHome:this.enableHome,enableLegend:this.enableLegend,enableSearch:this.enableSearch,enableSingleExpand:this.enableSingleExpand,homeZoomToolsSize:this.homeZoomToolsSize,locale:this.locale,mapView:this.mapView,mapWidgetsSize:this.mapWidgetsSize,position:this.mapWidgetsPosition,ref:t=>this._mapTools=t,searchConfiguration:this._searchConfiguration,stackTools:this.stackTools,toolOrder:this.toolOrder}))}async componentDidRender(){this.isMapLayout&&this._updateToolbar(),document.onclick=t=>this._handleDocumentClick(t)}async componentDidLoad(){this.isMobile||this._observerSet||(this._resizeObserver.observe(this._toolbar),this._observerSet=!0),this._updateShareUrl()}async _initModules(){const[t,i,s,e]=await o(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=t,this.MapView=i,this.Home=s,this.esriConfig=e}async _loadMap(t){const i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter((t=>t.id===this.defaultWebmapId)),e=JSON.stringify(t)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!t?.id&&this.mapInfos.length>0?this.mapInfos[0]:t;const h=this._webMapInfo.id,a=i&&t?.id===this.defaultWebmapId;if(this._loadedId!==h&&!i||a){const t=new this.WebMap({portalItem:{id:h}});this.appProxies&&(await t.load(),await(o=t,l=this.esriConfig,n=this.appProxies,n&&n.forEach((t=>{o.allLayers.forEach((i=>{i&&i.url===t.sourceUrl&&(i.url=v(t.proxyUrl),i.portalItem&&i.portalItem.when((()=>{i.portalItem.url=v(t.proxyUrl)})),l.request?.interceptors?.push({urls:t.sourceUrl,before:i=>{i.url&&i.url===t.sourceUrl&&(i.url=v(t.proxyUrl))}}))}))})),o)),this.mapView=new this.MapView({container:this._mapDiv,map:t,resizeAlign:"center"}),this._loadedId=h,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),await this.mapView.when((()=>{this._initHome(),this.mapView.ui.add(this._mapTools,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=!!a||this._defaultWebmapHonored,this.mapChanged.emit({id:h,mapView:this.mapView})}))}else i?(this._defaultWebmapHonored=!0,this._mapPicker.setMapByID(h)):e&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:h,mapView:this.mapView}));var o,l,n;this._updateShareUrl()}_updateToolbar(){this._timeout&&clearTimeout(this._timeout),!this.isMobile&&this._toolbar&&this._toolInfos&&(this._timeout=setTimeout((()=>{clearTimeout(this._timeout),this._setToolbarSizeInfos();const t=this._toolbar.offsetWidth;let i=this._toolbarSizeInfos.reduce(((t,i)=>t+i.width),0);const s=["solutions-more","solutions-map-layer-picker-container","map-picker","solutions-action-share"];if(i>t){if(this._toolbarSizeInfos.length>0){const e=[...this._toolbarSizeInfos].reverse().reduce(((e,h)=>(s.indexOf(h.id)<0&&(i>t?i-=h.width:e.push(h)),e)),[]).reverse();this._setControlsThatFit(e,s)}}else if(this._defaultVisibleToolSizeInfos){const e=this._toolbarSizeInfos.reduce(((t,i)=>(t.push(i.id),t)),[]);let h=!1;const a=[...this._defaultVisibleToolSizeInfos].reduce(((a,o)=>(!h&&s.indexOf(o.id)<0&&(e.indexOf(o.id)>-1||i+o.width<=t)?(e.indexOf(o.id)<0&&(i+=o.width),a.push(o)):s.indexOf(o.id)<0&&i+o.width>t&&(h=!0),a)),[]);this._setControlsThatFit(a,s)}}),250))}_setControlsThatFit(t,i){let s=JSON.stringify(t)!==JSON.stringify(this._controlsThatFit);const e=document.getElementById("solutions-action-bar");e?.childNodes?.forEach((t=>{i.indexOf(t.id)<0&&!s&&(s=this._controlsThatFit.map((t=>t.id)).indexOf(t.id)<0)})),s&&(this._controlsThatFit=[...t])}_setToolbarSizeInfos(){let t=!1;this._toolbarSizeInfos=[],this._toolbar.childNodes.forEach(((i,s)=>{0===s?i.childNodes.forEach((i=>{this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0)})):i.referenceElement||(this._toolbarSizeInfos.push({id:i.id,width:i.offsetWidth}),t||(t=i.offsetWidth>0))})),t&&!this._defaultVisibleToolSizeInfos&&(this._defaultVisibleToolSizeInfos=[...this._toolbarSizeInfos])}_getActionBar(){const t=this.mapInfos?.length>1?"":"display-none",i=this.isMapLayout?"display-flex":"display-block",s=this.isMobile?"border-top":"",h=this.isMapLayout?"":"display-none";return e("calcite-action-bar",{class:i,expandDisabled:!0,expanded:!0,id:this._getId("bar"),layout:"horizontal"},e("map-picker",{class:t,isMapLayout:this.isMapLayout,locale:this.locale,mapInfos:this.mapInfos,ref:t=>this._mapPicker=t}),e("div",{class:`mapView-header display-flex ${h}`},e("div",{class:`border-end ${i} ${s}`,id:"solutions-map-layer-picker-container"},this.mapView&&e("map-layer-picker",{appearance:"transparent",defaultLayerId:this.defaultLayerId,display:"inline-flex",height:50,isMobile:this.isMobile,locale:this.locale,mapView:this.mapView,onlyShowUpdatableLayers:this.onlyShowUpdatableLayers,placeholderIcon:"layers",ref:t=>this._mapLayerPicker=t,scale:"l",selectedIds:this.selectedLayer?[this.selectedLayer.id]:[],showSingleLayerAsLabel:!0,showTables:!0,showTablesDisabled:!0,type:"dropdown"}))),!this.isMobile&&this.isMapLayout?this._getActions():void 0)}_getDropdown(t){const i=this._getDropdownItems();return i.length>0?e("calcite-dropdown",{closeOnSelectDisabled:!0,disabled:void 0===this.selectedLayer,id:"solutions-more",onCalciteDropdownBeforeClose:()=>this._forceShowHide(),ref:t=>this._moreDropdown=t},e("calcite-action",{appearance:"solid",id:t,label:"",onClick:()=>this._closeShowHide(),slot:"trigger",text:""},e("calcite-button",{appearance:"transparent",iconEnd:"chevron-down",kind:"neutral"},this._translations.more)),e("calcite-dropdown-group",{"selection-mode":"none"},i.map((t=>e("calcite-dropdown-group",{class:t.disabled?"disabled":"",selectionMode:"none"},e("calcite-dropdown-item",{disabled:t.loading,iconStart:t.icon,id:"solutions-subset-list",onClick:t.func},t.loading?e("div",{class:"display-flex"},e("calcite-loader",{inline:!0,label:t.label,scale:"m"}),t.label):t.label)))))):void 0}_getShare(t){return e("div",{class:"share-action",id:this._getId(t)},e("instant-apps-social-share",{autoUpdateShareUrl:!1,class:"instant-app-share",embed:this.shareIncludeEmbed,popoverButtonIconScale:"s",ref:t=>{this._shareNode=t,this._updateShareUrl()},scale:"m",shareButtonColor:"neutral",shareButtonType:"action",socialMedia:this.shareIncludeSocial,view:this.mapView}),this._getToolTip("bottom",t,this._translations.share))}_updateShareUrl(){const t=this._shareNode?.shareUrl;if(!t)return;const i=new URL(t);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),i.searchParams.set("applayout",this.appLayout),this._shareNode.shareUrl=i.href}_closeShowHide(){this._showHideOpen=!1}_getDropdownItems(){return this._toolInfos?.filter((t=>t&&t.isOverflow))}_initToolInfos(){const t=this.selectedFeaturesIds?.length>0,i=this._hasFilterExpressions(),s=this.selectedFeaturesIds?.length>1&&!1;this._translations&&(this._toolInfos=[{active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!t,isOverflow:!1},i?{active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1,isOverflow:!1}:void 0,s?{active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>alert(this._translations.editMultiple),disabled:!s,isOverflow:!1}:void 0,{active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer.refresh(),disabled:!1,isOverflow:!1},{active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!t,isOverflow:!1}],this._defaultVisibleToolSizeInfos=void 0)}_validateActiveActions(){const t=["filter"];this._toolInfos?.forEach((i=>{i&&t.indexOf(i.icon)>-1&&"filter"===i.icon&&(i.indicator=this._filterActive)}))}_validateEnabledActions(){const t=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1&&this.selectedLayer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach((e=>{e&&s.indexOf(e.icon)>-1&&(e.disabled="pencil"===e.icon?!i:!t)}))}_initHome(){if(this.enableHome){this._homeWidget=new this.Home({view:this.mapView}),this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});const t="s"===this.homeZoomToolsSize?"32px":"m"===this.homeZoomToolsSize?"40px":"48px";this._homeWidget.domNode.style.height=t,this._homeWidget.domNode.style.width=t}else this._homeWidget&&this.mapView.ui.remove(this._homeWidget)}_toggleShowHide(){this._showHideOpen=!this._showHideOpen}_forceShowHide(){this._moreDropdown&&(this._moreDropdown.open=this._showHideOpen)}_handleDocumentClick(t){const i=t.target?.id;"solutions-subset-list"===i?this._moreDropdown.open=!0:this._showHideOpen&&"solutions-subset-list"!==i&&"solutions-more"!==i&&"chevron-down"!==i&&this._moreDropdown&&(this._showHideOpen=!1,this._moreDropdown.open=!1),"MAP-PICKER"===t.target.tagName&&(this._mapListExpanded=!this._mapListExpanded,this._mapPicker.toggle(this._mapListExpanded)),"MAP-PICKER"!==t.target.tagName&&(this._mapListExpanded=!1,this._mapPicker.close())}async _zoom(){if(this.selectedLayer){const t=await b(this.mapView,this.selectedLayer.id);await c(this.selectedFeaturesIds,t,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let t;return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(t=this.mapInfo.filterConfig.layerExpressions.filter((t=>t.id===this.selectedLayer.id))),t?.length>0}_getActions(){const t=this._getActionItems();return t?.reduce(((t,i)=>(i&&!i.isOverflow&&t.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),t)),[])}_getToolTip(t,i,s){return document.getElementById(i)?e("calcite-tooltip",{placement:t,"reference-element":"map-"+i},e("span",null,s)):void 0}_getActionItems(){return this._toolInfos?.filter((t=>t&&!t.isOverflow))}_getAction(t,i,s,h,a,o,l,n){const c=void 0===this.selectedLayer||o;return e("div",{class:"display-flex",id:this._getId(i),slot:n},e("calcite-action",{active:t,appearance:"solid",disabled:c,icon:i,id:"map-"+i,indicator:s,label:h,loading:l,onClick:a,text:h,textEnabled:!0}),this._getToolTip("bottom",i,h))}_getId(t){return`solutions-action-${t}`}async _getTranslations(){const t=await a(this.el);this._translations=t[0]}static get watchers(){return{appLayout:["appLayoutWatchHandler"],enableHome:["enableHomeWatchHandler"],enableShare:["enableShareWatchHandler"],locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],selectedLayer:["selectedLayerWatchHandler"],selectedFeaturesIds:["selectedFeaturesIdsWatchHandler"],_controlsThatFit:["_controlsThatFitWatchHandler"]}}};w.style=":host{display:block;--calcite-label-margin-bottom:0;--calcite-block-padding:0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none !important}.visibility-hidden-1{visibility:hidden;height:1px;}.display-none{display:none}.display-block{display:block}";export{u as card_manager,m as layer_table,w as map_card}
@@ -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,h as n,g as t,H as s}from"./p-4e6eb06e.js";import{l as a}from"./p-d001e961.js";import{g as o}from"./p-5104cc98.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const e="instant-apps-sign-in__entry-button",r=class{constructor(n){i(this,n),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=void 0,this.landingPage=void 0,this.isSignedIn=void 0,this.user=void 0,this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.showIndicator=!0,this.closeLandingPage=void 0,this.signInDropdownItems=void 0,this.ready=!1,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){o(this),await this.initSignIn()}render(){const i=this.ready?this.renderContent():null;return n(s,{key:"c8ef9d8b827f4d7f137cb051209a77450d6ab48c"},i)}renderContent(){return"landingPage"===this.type?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return n("div",{class:"instant-apps-sign-in__container"},this.isSignedIn?this.renderSignInDropdown():this.renderSignInButton())}renderSignInDropdown(){var i,t,s,a,o,e,r,l,c,p,d,h,g,u,v,_;const m=this.showIndicator?"instant-apps-sign-in__indicator":"";return n("calcite-dropdown",{placement:"bottom-end",scale:"navigation"===this.type?"m":"s"},"navigation"===this.type?n("calcite-navigation-user",{class:m,slot:"trigger",thumbnail:null===(i=this.user)||void 0===i?void 0:i.thumbnailUrl,"full-name":null===(t=this.user)||void 0===t?void 0:t.fullName,username:null===(s=this.user)||void 0===s?void 0:s.username,"user-id":null!==(o=null===(a=this.user)||void 0===a?void 0:a.id)&&void 0!==o?o:null===(r=null===(e=this.user)||void 0===e?void 0:e.sourceJSON)||void 0===r?void 0:r.id,textDisabled:!0}):n("button",{slot:"trigger"},n("calcite-avatar",{class:m,thumbnail:null===(l=this.user)||void 0===l?void 0:l.thumbnailUrl,"full-name":null===(c=this.user)||void 0===c?void 0:c.fullName,username:null===(p=this.user)||void 0===p?void 0:p.username,"user-id":null!==(h=null===(d=this.user)||void 0===d?void 0:d.id)&&void 0!==h?h:null===(u=null===(g=this.user)||void 0===g?void 0:g.sourceJSON)||void 0===u?void 0:u.id})),n("slot",{name:"sign-in-dropdown-top"}),n("calcite-dropdown-group",{"selection-mode":"none"},null===(v=this.signInDropdownItems)||void 0===v?void 0:v.map((i=>n("calcite-dropdown-item",{onClick:i.onClick},i.label))),n("calcite-dropdown-item",{onClick:this.signOut.bind(this)},null===(_=this.messages)||void 0===_?void 0:_.signOut)))}renderSignInButton(){var i;const t="navigation"===this.type?"transparent":"solid";return n("calcite-button",{class:"navigation"===this.type?"instant-apps-sign-in__sign-in-btn":"",onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:t},null===(i=this.messages)||void 0===i?void 0:i.signIn)}renderLandingPageSignIn(){var i,t;return n("div",{class:"instant-apps-sign-in__entry-button-container"},n("calcite-button",{class:e,scale:"l",onClick:this.landingPageSignIn.bind(this)},null===(i=this.messages)||void 0===i?void 0:i.signIn),n("calcite-button",{class:e,scale:"l",appearance:"outline-fill",onClick:this.guestOnClick.bind(this)},null===(t=this.messages)||void 0===t?void 0:t.continueAsGuest))}async initSignIn(){if(null==this.portal||null==this.oauthappid)return;const[i,n,t]=await a(["esri/identity/OAuthInfo","esri/identity/IdentityManager","esri/core/reactiveUtils"]);this.idManager=n,this.info=new i({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await t.whenOnce((()=>this.portal.user)),this.user=this.portal.user)}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){var i;null===(i=this.portal.credential)||void 0===i||i.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;const n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),null!=this.closeLandingPage&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():null!=this.closeLandingPage&&this.closeLandingPage()}async checkSignInStatus(){try{const i=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=i,!0}catch(i){return this.portal.credential=null,!1}}setSignInLocalStorage(){const i=new Date;localStorage.setItem("signing-in",i.getTime().toString()),setTimeout((()=>{localStorage.removeItem("signing-in")}),2e3)}get el(){return t(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};r.style=':host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}';export{r as instant_apps_sign_in}
@@ -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 t,h as e,H as a,g as o}from"./p-4e6eb06e.js";import{c as n,d as s}from"./p-7cc8e95a.js";import{o as r,s as l,f as c,u as d}from"./p-26ba0cc7.js";import{d as h,a as m,c as p,u as b}from"./p-d9e9fe80.js";import{s as f,a as u,c as g}from"./p-7f68e6a4.js";import{c as v}from"./p-85c3237c.js";import{o as x}from"./p-93d03bf0.js";import{c as k,d as z}from"./p-177b4cbc.js";import{s as y,c as w,d as C,u as j}from"./p-cb8d90d1.js";import{g as $,c as M}from"./p-ae019e19.js";import{l as O}from"./p-b138a65e.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-7eee9aa8.js";import"./p-08c18450.js";import"./p-ec51378a.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 D="modal",F="header",B="container",L="container--open",S="container--embedded",T="content",E="content--no-footer",H="modal--opening-idle",q="modal--opening-active",A="modal--closing-idle",V="modal--closing-active",W="content",_="back",G="secondary",I="primary";let J=0,K="";O.deprecated("component",{name:"modal",removalVersion:4,suggested:"dialog"});const N=class{constructor(e){i(this,e),this.calciteModalBeforeClose=t(this,"calciteModalBeforeClose",6),this.calciteModalClose=t(this,"calciteModalClose",6),this.calciteModalBeforeOpen=t(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=t(this,"calciteModalOpen",6),this.ignoreOpenChange=!1,this.mutationObserver=v("mutation",(()=>this.handleMutationObserver())),this.cssVarObserver=v("mutation",(()=>{this.updateSizeCssVars()})),this.openTransitionProp="opacity",this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleCloseClick=()=>{this.open=!1},this.handleOutsideClose=()=>{this.outsideCloseDisabled||(this.open=!1)},this.closeModal=async()=>{if(this.beforeClose)try{await this.beforeClose(this.el)}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}J--,this.opened=!1,this.removeOverflowHiddenClass()},this.handleMutationObserver=()=>{this.updateFooterVisibility(),this.updateFocusTrapElements()},this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,[_,I,G])},this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")},this.contentTopSlotChangeHandler=i=>{this.hasContentTop=l(i)},this.contentBottomSlotChangeHandler=i=>{this.hasContentBottom=l(i)},this.open=!1,this.opened=!1,this.beforeClose=void 0,this.closeButtonDisabled=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.docked=void 0,this.embedded=!1,this.escapeDisabled=!1,this.scale="m",this.widthScale="m",this.fullscreen=void 0,this.kind=void 0,this.messages=void 0,this.messageOverrides=void 0,this.cssWidth=void 0,this.cssHeight=void 0,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(i){this.open&&(i?h(this):m(this))}onMessagesChange(){}async componentWillLoad(){await y(this),f(this),this.open&&this.openModal()}componentDidLoad(){u(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.cssVarObserver?.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars(),this.updateFooterVisibility(),n(this),k(this),w(this),p(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.cssVarObserver?.disconnect(),s(this),h(this),z(this),C(this),this.embedded=!1}render(){return e(a,{key:"f92cd77f4a5ad4a245ca50fe2b2bfcf9966d4ca8","aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},e("div",{key:"a9d348a67842162f1bc17ec8422c07963aed412d",class:{[B]:!0,[L]:this.opened,[S]:this.embedded}},e("calcite-scrim",{key:"7dc3bc9220fc375522a6d390b633f9573bfa6c67",class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),e("div",{key:"40782ba2b6d3f086c884ace3529110e873009504",class:{[D]:!0},ref:this.setTransitionEl},e("div",{key:"ea3a72ab0a0e5abae6e766d0b7b2cfce54667e86",class:F},this.renderCloseButton(),e("header",{key:"abe5c28d11fc6241cd6ac40adef4d94529eb9d5c",class:"title"},e("slot",{key:"3d1d6ed6c0249472a00fba4128a861e6a6eae4dd",name:F}))),this.renderContentTop(),e("div",{key:"0e65dfbd175e490586518d1a4c34b9eb1dde1f01",class:{[T]:!0,[E]:!this.hasFooter},ref:i=>this.modalContent=i},e("slot",{key:"d5f3b08e61e8e47f64fd13bc6eb7f7ed6a07b7c8",name:W})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?e("div",{class:"footer",key:"footer"},e("span",{class:"back"},e("slot",{name:_})),e("span",{class:"secondary"},e("slot",{name:G})),e("span",{class:"primary"},e("slot",{name:I}))):null}renderContentTop(){return e("div",{class:"content-top",hidden:!this.hasContentTop},e("slot",{name:"content-top",onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return e("div",{class:"content-bottom",hidden:!this.hasContentBottom},e("slot",{name:"content-bottom",onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return this.closeButtonDisabled?null:e("button",{"aria-label":this.messages.close,class:"close",key:"button",onClick:this.handleCloseClick,ref:i=>this.closeButtonEl=i,title:this.messages.close},e("calcite-icon",{icon:"x",scale:$(this.scale)}))}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return e("style",null,`.${B} {\n ${this.docked&&this.cssWidth?"align-items: center !important;":""}\n }\n .${D} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${B} {\n ${this.docked?"align-items: flex-end !important;":""}\n }\n .${D} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${this.docked?"":"block-size: 100% !important;"}\n ${this.docked?"":"border-radius: 0 !important;"}\n ${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}\n }\n }\n `)}effectiveLocaleChange(){j(this,this.effectiveLocale)}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.open=!1,i.preventDefault())}async setFocus(){await g(this),c(this.el)}async updateFocusTrapElements(){b(this)}async scrollContent(i=0,t=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:i,left:t,behavior:"smooth"}):(this.modalContent.scrollTop=i,this.modalContent.scrollLeft=t))}onBeforeOpen(){this.transitionEl.classList.add(q),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(H,q),this.calciteModalOpen.emit(),m(this)}onBeforeClose(){this.transitionEl.classList.add(V),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(A,V),this.calciteModalClose.emit(),h(this)}toggleModal(i){this.ignoreOpenChange||(i?this.openModal():this.closeModal())}handleOpenedChange(i){this.transitionEl.classList.add(i?H:A),x(this)}async openModal(){await M(this.el),this.el.addEventListener("calciteModalOpen",this.openEnd),this.opened=!0;const i=r(this.el,"header"),t=r(this.el,W);this.titleId=d(i),this.contentId=d(t),this.embedded||(0===J&&(K=document.documentElement.style.overflow),J++,document.documentElement.style.setProperty("overflow","hidden"))}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",K)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"],opened:["handleOpenedChange"]}}};N.style=":host{--calcite-modal-scrim-background:rgba(0, 0, 0, 0.85);position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-color-transparent-scrim));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);opacity:0;--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);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([opened]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;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;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-color-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width-scale=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width-scale=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=s][docked]) .container{align-items:flex-end}}:host([width-scale=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width-scale=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=m][docked]) .container{align-items:flex-end}}:host([width-scale=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width-scale=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([opened][fullscreen]) .header,:host([opened][fullscreen]) .footer,:host([opened][fullscreen]) .content-top,:host([opened][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-color-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-color-status-danger)}:host([kind=info]) .modal{border-color:var(--calcite-color-status-info)}:host([kind=success]) .modal{border-color:var(--calcite-color-status-success)}:host([kind=warning]) .modal{border-color:var(--calcite-color-status-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container--embedded{position:absolute;pointer-events:auto}.container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{N as calcite_modal}
@@ -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 u}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";function t(u,t,i,a){var e={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"päivä",dd:"%d päivää",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_neljä_viisi_kuusi_seitsemän_kahdeksan_yhdeksän".split("_")},m={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"päivän",dd:"%d päivän",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_neljän_viiden_kuuden_seitsemän_kahdeksan_yhdeksän".split("_")},s=a&&!t?m:e;return s[i].replace("%d",u<10?s.numbers[u]:u)}var i={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),ordinal:function(u){return u+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s päästä",past:"%s sitten",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};u.locale(i,null,!0);export{i 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{d as _}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 m={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(_){return _+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(_){return _<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};_.locale(m,null,!0);export{m as default}
@@ -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,h as i,g as s,c as e,F as a}from"./p-4e6eb06e.js";import{c as h}from"./p-85c3237c.js";import{c,s as n,a as o}from"./p-7f68e6a4.js";import{l as r,g as l,f as d}from"./p-f4aadb3b.js";import{b as f,d as p,a as m,c as b}from"./p-d572627c.js";import"./p-08c18450.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.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 y="frame",u="frame--advancing",g="frame--retreating",w=class{constructor(i){t(this,i),this.itemMutationObserver=h("mutation",(()=>this.updateFlowProps())),this.getFlowDirection=(t,i)=>t&&i>1||t>1?i<t?"retreating":"advancing":null,this.updateFlowProps=()=>{const{customItemSelectors:t,el:i,items:s}=this,e=Array.from(i.querySelectorAll("calcite-flow-item"+(t?`,${t}`:""))).filter((t=>t.closest("calcite-flow")===i)),a=s.length,h=e.length,c=e[h-1],n=e[h-2];if(h&&c&&e.forEach((t=>{t.showBackButton=t===c&&h>1,t.hidden=t!==c})),n&&(n.menuOpen=!1),this.items=e,a!==h){const t=this.getFlowDirection(a,h);this.itemCount=h,this.flowDirection=t}},this.customItemSelectors=void 0,this.flowDirection=null,this.itemCount=0,this.items=[]}async back(){const{items:t}=this,i=t[t.length-1];if(!i)return;const s=i.beforeBack?i.beforeBack:()=>Promise.resolve();try{await s.call(i)}catch(t){return}return i.remove(),i}async setFocus(){await c(this);const{items:t}=this,i=t[t.length-1];return i?.setFocus()}connectedCallback(){this.itemMutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateFlowProps()}async componentWillLoad(){n(this)}componentDidLoad(){o(this)}disconnectedCallback(){this.itemMutationObserver?.disconnect()}async handleItemBackClick(t){if(!t.defaultPrevented)return await this.back(),this.setFocus()}render(){const{flowDirection:t}=this;return i("div",{key:"01fbee965d48cb54fa5bd1b53a3435538df84332",class:{[y]:!0,[u]:"advancing"===t,[g]:"retreating"===t}},i("slot",{key:"495880eceeb04387dd1352aa00337f037ab0636c"}))}get el(){return s(this)}};w.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{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0px}:host ::slotted(calcite-flow-item),:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{animation:calcite-frame-retreat var(--calcite-animation-timing)}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}";const k=class{constructor(i){t(this,i),this.success=e(this,"success",7),this.fail=e(this,"fail",7),this.isActionPending=e(this,"isActionPending",7),this.formReady=e(this,"formReady",7),this.locale=void 0,this.mapView=void 0,this.table=void 0,this.selectedFeature=void 0,this.customizeSubmit=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=void 0}get el(){return s(this)}Editor;_editor;reactiveUtils;_container;_addingAttachment;_isSubmitBtnClicked=!1;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await r(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){const t=this._editorLoading?"":"display-none";return i(a,{key:"48fffd1e9dd429d339d9a72e35f5c31561fc076f"},this.showGuidingMsg&&i("calcite-notice",{key:"9a6f700c135bb7593e4338981a30531e3d9fba8a",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},i("div",{key:"7044e923a9fab833a7a6fe0bb97fa688d7e6eecc",slot:"message"},this._translations.provideDetailsMsg)),i("calcite-loader",{key:"15599ae77e451d220689c13098a31c5788714306",class:t,label:"",scale:"s"}))}async componentDidLoad(){await this.init()}disconnectedCallback(){this._editor&&this._editor.destroy()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this._editor=new this.Editor({view:this.mapView,visibleElements:{snappingControls:!1},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),h=i.templates[0],c={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(c),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let h=s.keyField;const c=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=c.name,{[h]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};k.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";const v=class{constructor(i){t(this,i),this.loadingStatus=e(this,"loadingStatus",7),this.commentSelect=e(this,"commentSelect",7),this.addComment=e(this,"addComment",7),this.likeOrDislikeClicked=e(this,"likeOrDislikeClicked",7),this.featureSelectionChange=e(this,"featureSelectionChange",7),this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.locale=void 0,this.showUserImageInCommentsList=!1,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=void 0,this._updating=!1}get el(){return s(this)}_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;addComment;likeOrDislikeClicked;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return i("calcite-panel",{key:"be7bebe9da698d963a2602fcacb95ac7206ac1e9","full-height":!0},i("info-card",{key:"1e069f52d59d42f3e2b88463ea7c536c65a0a6b5",allowEditing:!1,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,locale:this.locale,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&i("div",{key:"d53f5a1726e4c6299ffd04e266d84005181645f6",class:"buttons-container"},this._commentsAvailable&&i("calcite-button",{key:"4c2616cc9e0107258f5313b66ae96fa31fe582c5",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&i("calcite-button",{key:"7c87aa085df04a8b58625097c2ce70e5853b82f9",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&i("calcite-button",{key:"59eb48b91fc2a394cafdcbeeebf5baafae9a8c9b",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&i("feature-list",{key:"f34ee203202944666c40e14bdfdc59265414fbe1",class:"height-full",locale:this.locale,mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await r(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){if(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=await f(this.mapView);let s=null,e=null;if(t.relationships.some((a=>{const h=i.filter((i=>t.url===i.url&&i.layerId===a.relatedTableId));if(h&&h.length>0)return s=h[0],e=a.id,!0})),this.relatedTableId=s?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],a=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:e}),h=await t.queryRelatedFeatures(a).catch((t=>{console.error(t)})),c=[];h[i]&&h[i].features.forEach((t=>{c.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=c,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((h=>{this._validFieldTypes.indexOf(h.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(h.name===e&&this.reportingOptions[t.id].like?i=!0:h.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const h=new this.Graphic;h.attributes=s;const c={updateFeatures:[h]};await e.applyEdits(c).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};v.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}";const L=class{constructor(i){t(this,i),this.layerSelect=e(this,"layerSelect",7),this.layersListLoaded=e(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.locale=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this._getTranslations()}async componentDidLoad(){await this.setLayers()}render(){return i(a,{key:"a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e"},this._isLoading&&i("calcite-loader",{key:"544a134bccc29048ca80b996844cc944bcd97a24",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&i("calcite-notice",{key:"7557f91c8c3349c120c043ea59458b4c834dce2e",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},i("div",{key:"ea8b20f8c7da5053641cfad56e3395ae3c6286f5",slot:"title"},this._translations.error),i("div",{key:"38aaed7b456aba0b1dd70183be03e9133834dfb4",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&i("calcite-list",{key:"817de422b8387cafb7f9a17515cf9b3c13998522","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async setLayers(){this.mapView&&(this._isLoading=!0,await this.initLayerHash(),this._isLoading=!1)}async initLayerHash(){const t=[];this._layerItemsHash=await p(this.mapView,!0);const i=await m(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await b(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await d(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const s=this._layerItemsHash[t].formattedFeatureCount;return i("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},i("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==s&&""!==s&&i("div",{class:this.showNextIcon?"":"feature-count",slot:"content-end"},"("+s+")"),this.showNextIcon&&i("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};L.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";export{w as calcite_flow,k as create_related_feature,v as feature_details,L as layer_list}
@@ -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{h as n,j as t,k as e,l as r,m as o,d as i,n as u}from"./p-26ba0cc7.js";import{f as a}from"./p-7eee9aa8.js";
7
- /*!
8
- * focus-trap 7.6.0
9
- * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
10
- */function c(n,t,e){return(t=function(n){var t=function(n){if("object"!=typeof n||!n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var e=t.call(n,"string");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"==typeof t?t:t+""}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function s(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function f(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?s(Object(e),!0).forEach((function(t){c(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):s(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}var v=function(n){return"Tab"===(null==n?void 0:n.key)||9===(null==n?void 0:n.keyCode)},l=function(n){return v(n)&&!n.shiftKey},d=function(n){return v(n)&&n.shiftKey},b=function(n){return setTimeout(n,0)},p=function(n,t){var e=-1;return n.every((function(n,r){return!t(n)||(e=r,!1)})),e},w=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return"function"==typeof n?n.apply(void 0,e):n},h=function(n){return n.target.shadowRoot&&"function"==typeof n.composedPath?n.composedPath()[0]:n.target},m=[];
11
- /*!
12
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
13
- * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
14
- * v2.13.2
15
- */
16
- function y(c,s){const{el:y}=c,k=s?.focusTrapEl||y;if(!k)return;const F={clickOutsideDeactivates:!0,escapeDeactivates:!1,fallbackFocus:k,setReturnFocus:n=>(i(n),!1),...s?.focusTrapOptions,document:y.ownerDocument,tabbableOptions:u,trapStack:a};var O,j,D,T,E,g,N,P,A,x,B,R,C,S,I,G,K,M,U,Y,L,q,z,H,J;c.focusTrap=(O=k,T=(null==(j=F)?void 0:j.document)||document,E=(null==j?void 0:j.trapStack)||m,g=f({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:l,isKeyBackward:d},j),N={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},P=function(n,t,e){return n&&void 0!==n[t]?n[t]:g[e||t]},A=function(n,t){var e="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return N.containerGroups.findIndex((function(t){var r=t.container,o=t.tabbableNodes;return r.contains(n)||(null==e?void 0:e.includes(r))||o.find((function(t){return t===n}))}))},x=function(n){var t=g[n];if("function"==typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var i=t;if("string"==typeof t&&!(i=T.querySelector(t)))throw new Error("`".concat(n,"` as selector refers to no known node"));return i},B=function(){var t=x("initialFocus");if(!1===t)return!1;if(void 0===t||!n(t,g.tabbableOptions))if(A(T.activeElement)>=0)t=T.activeElement;else{var e=N.tabbableGroups[0];t=e&&e.firstTabbableNode||x("fallbackFocus")}if(!t)throw new Error("Your focus-trap needs to have at least one focusable element");return t},R=function(){if(N.containerGroups=N.containers.map((function(n){var i=t(n,g.tabbableOptions),u=e(n,g.tabbableOptions),a=i.length>0?i[0]:void 0,c=i.length>0?i[i.length-1]:void 0,s=u.find((function(n){return r(n)})),f=u.slice().reverse().find((function(n){return r(n)})),v=!!i.find((function(n){return o(n)>0}));return{container:n,tabbableNodes:i,focusableNodes:u,posTabIndexesFound:v,firstTabbableNode:a,lastTabbableNode:c,firstDomTabbableNode:s,lastDomTabbableNode:f,nextTabbableNode:function(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=i.indexOf(n);return e<0?t?u.slice(u.indexOf(n)+1).find((function(n){return r(n)})):u.slice(0,u.indexOf(n)).reverse().find((function(n){return r(n)})):i[e+(t?1:-1)]}}})),N.tabbableGroups=N.containerGroups.filter((function(n){return n.tabbableNodes.length>0})),N.tabbableGroups.length<=0&&!x("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(N.containerGroups.find((function(n){return n.posTabIndexesFound}))&&N.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},C=function(n){var t=n.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?C(t.shadowRoot):t},S=function(n){!1!==n&&n!==C(document)&&(n&&n.focus?(n.focus({preventScroll:!!g.preventScroll}),N.mostRecentlyFocusedNode=n,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(n)&&n.select()):S(B()))},I=function(n){var t=x("setReturnFocus",n);return t||!1!==t&&n},G=function(t){var e=t.target,i=t.event,u=t.isBackward,a=void 0!==u&&u;e=e||h(i),R();var c=null;if(N.tabbableGroups.length>0){var s=A(e,i),f=s>=0?N.containerGroups[s]:void 0;if(s<0)c=a?N.tabbableGroups[N.tabbableGroups.length-1].lastTabbableNode:N.tabbableGroups[0].firstTabbableNode;else if(a){var l=p(N.tabbableGroups,(function(n){return e===n.firstTabbableNode}));if(l<0&&(f.container===e||n(e,g.tabbableOptions)&&!r(e,g.tabbableOptions)&&!f.nextTabbableNode(e,!1))&&(l=s),l>=0){var d=N.tabbableGroups[0===l?N.tabbableGroups.length-1:l-1];c=o(e)>=0?d.lastTabbableNode:d.lastDomTabbableNode}else v(i)||(c=f.nextTabbableNode(e,!1))}else{var b=p(N.tabbableGroups,(function(n){return e===n.lastTabbableNode}));if(b<0&&(f.container===e||n(e,g.tabbableOptions)&&!r(e,g.tabbableOptions)&&!f.nextTabbableNode(e))&&(b=s),b>=0){var w=N.tabbableGroups[b===N.tabbableGroups.length-1?0:b+1];c=o(e)>=0?w.firstTabbableNode:w.firstDomTabbableNode}else v(i)||(c=f.nextTabbableNode(e))}}else c=x("fallbackFocus");return c},K=function(n){var t=h(n);A(t,n)>=0||(w(g.clickOutsideDeactivates,n)?D.deactivate({returnFocus:g.returnFocusOnDeactivate}):w(g.allowOutsideClick,n)||n.preventDefault())},M=function(n){var t=h(n),e=A(t,n)>=0;if(e||t instanceof Document)e&&(N.mostRecentlyFocusedNode=t);else{var r;n.stopImmediatePropagation();var i=!0;if(N.mostRecentlyFocusedNode)if(o(N.mostRecentlyFocusedNode)>0){var u=A(N.mostRecentlyFocusedNode),a=N.containerGroups[u].tabbableNodes;if(a.length>0){var c=a.findIndex((function(n){return n===N.mostRecentlyFocusedNode}));c>=0&&(g.isKeyForward(N.recentNavEvent)?c+1<a.length&&(r=a[c+1],i=!1):c-1>=0&&(r=a[c-1],i=!1))}}else N.containerGroups.some((function(n){return n.tabbableNodes.some((function(n){return o(n)>0}))}))||(i=!1);else i=!1;i&&(r=G({target:N.mostRecentlyFocusedNode,isBackward:g.isKeyBackward(N.recentNavEvent)})),S(r||N.mostRecentlyFocusedNode||B())}N.recentNavEvent=void 0},U=function(n){(g.isKeyForward(n)||g.isKeyBackward(n))&&function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];N.recentNavEvent=n;var e=G({event:n,isBackward:t});e&&(v(n)&&n.preventDefault(),S(e))}(n,g.isKeyBackward(n))},Y=function(n){var t;"Escape"!==(null==(t=n)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===w(g.escapeDeactivates,n)||(n.preventDefault(),D.deactivate())},L=function(n){var t=h(n);A(t,n)>=0||w(g.clickOutsideDeactivates,n)||w(g.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},q=function(){if(N.active)return function(n,t){if(n.length>0){var e=n[n.length-1];e!==t&&e.pause()}var r=n.indexOf(t);-1===r||n.splice(r,1),n.push(t)}(E,D),N.delayInitialFocusTimer=g.delayInitialFocus?b((function(){S(B())})):S(B()),T.addEventListener("focusin",M,!0),T.addEventListener("mousedown",K,{capture:!0,passive:!1}),T.addEventListener("touchstart",K,{capture:!0,passive:!1}),T.addEventListener("click",L,{capture:!0,passive:!1}),T.addEventListener("keydown",U,{capture:!0,passive:!1}),T.addEventListener("keydown",Y),D},z=function(){if(N.active)return T.removeEventListener("focusin",M,!0),T.removeEventListener("mousedown",K,!0),T.removeEventListener("touchstart",K,!0),T.removeEventListener("click",L,!0),T.removeEventListener("keydown",U,!0),T.removeEventListener("keydown",Y),D},H="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(n){n.some((function(n){return Array.from(n.removedNodes).some((function(n){return n===N.mostRecentlyFocusedNode}))}))&&S(B())})):void 0,J=function(){H&&(H.disconnect(),N.active&&!N.paused&&N.containers.map((function(n){H.observe(n,{subtree:!0,childList:!0})})))},(D={get active(){return N.active},get paused(){return N.paused},activate:function(n){if(N.active)return this;var t=P(n,"onActivate"),e=P(n,"onPostActivate"),r=P(n,"checkCanFocusTrap");r||R(),N.active=!0,N.paused=!1,N.nodeFocusedBeforeActivation=T.activeElement,null==t||t();var o=function(){r&&R(),q(),J(),null==e||e()};return r?(r(N.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(n){if(!N.active)return this;var t=f({onDeactivate:g.onDeactivate,onPostDeactivate:g.onPostDeactivate,checkCanReturnFocus:g.checkCanReturnFocus},n);clearTimeout(N.delayInitialFocusTimer),N.delayInitialFocusTimer=void 0,z(),N.active=!1,N.paused=!1,J(),function(n,t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),n.length>0&&n[n.length-1].unpause()}(E,D);var e=P(t,"onDeactivate"),r=P(t,"onPostDeactivate"),o=P(t,"checkCanReturnFocus"),i=P(t,"returnFocus","returnFocusOnDeactivate");null==e||e();var u=function(){b((function(){i&&S(I(N.nodeFocusedBeforeActivation)),null==r||r()}))};return i&&o?(o(I(N.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(n){if(N.paused||!N.active)return this;var t=P(n,"onPause"),e=P(n,"onPostPause");return N.paused=!0,null==t||t(),z(),J(),null==e||e(),this},unpause:function(n){if(!N.paused||!N.active)return this;var t=P(n,"onUnpause"),e=P(n,"onPostUnpause");return N.paused=!1,null==t||t(),R(),q(),J(),null==e||e(),this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return N.containers=t.map((function(n){return"string"==typeof n?T.querySelector(n):n})),N.active&&R(),J(),this}}).updateContainerElements(O),D)}function k(n,t){n.focusTrapDisabled||n.focusTrap?.activate(t)}function F(n,t){n.focusTrap?.deactivate(t)}function O(n){n.focusTrap?.updateContainerElements(n.el)}export{k as a,y as c,F as d,O as u}
@@ -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 r={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var r=e%10;return"["+e+(1===r||2===r?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};e.locale(r,null,!0);export{r 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{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 a={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var a=["th","st","nd","rd"],r=e%100;return"["+e+(a[(r-20)%10]||a[r]||a[0])+"]"}};e.locale(a,null,!0);export{a 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 e,H as i,g as a}from"./p-4e6eb06e.js";import{g as s}from"./p-5104cc98.js";import"./p-d001e961.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";class n{constructor(){this.pages=[],this.headerText="",this.pages=[]}setPages(t){this.pages=t,this.setDefaultHeaderText()}setDefaultHeaderText(){this.headerText=this.pages.length?this.pages[0].title:""}}const o=class{constructor(e){t(this,e),this._viewModel=new n,this.header=!0,this.data=void 0,this.messages=void 0,this.headerText=void 0}watchPropHandler(t){this._setContent(t)}watchStateHandler(t){this._viewModel.headerText=t}componentWillLoad(){this._setContent(null==this?void 0:this.data)}componentDidLoad(){s(this)}render(){const t=this._renderAppGuidePages(this._viewModel.pages),a=this._renderAppGuideHeader();return e(i,{key:"a6969274bbb9e917869c4c09910ef04b2d40c49a"},e("calcite-panel",{key:"f203f430978eed0db5aa0058ae53bd811ba0fdfe",scale:"s"},a,e("calcite-carousel",{key:"afd572b169f27b03616e568b9146cb2e52f04cae",onCalciteCarouselChange:()=>this._updateHeaderText(),ref:t=>this._carouselRef=t,"arrow-type":this._getArrowType()},t)))}_setContent(t){this._viewModel.setPages(t),this.headerText=this._viewModel.headerText}_updateHeaderText(){var t;const{_viewModel:e,_carouselRef:i,messages:a}=this,s=Array.from(i.childNodes).indexOf(i.selectedItem),n=null==e?void 0:e.pages,o=null!==(t=null==n?void 0:n[s])&&void 0!==t?t:n[0];this.headerText=(null==o?void 0:o.title)||(null==a?void 0:a.headerText)}_getArrowType(){return this._viewModel.pages.length>2?"inline":"none"}_renderAppGuideHeader(){const{messages:t,header:i,headerText:a}=this;return i&&(null==t?void 0:t.headerText)?e("span",{slot:"header-content"},a||(null==t?void 0:t.headerText)," ",e("calcite-icon",{icon:"lightbulb",scale:"s"})):null}_renderAppGuidePages(t){return t.map(((t,i)=>{const{content:a,type:s}=t;return e("calcite-carousel-item",{key:`page_${i}`},e("div",{class:"instant-apps-app-guide__content-wrapper"},this._renderContentItems(a,s)))}))}_renderContentItems(t,i){return"list"===i?e("ol",{class:"instant-apps-app-guide__content-list"},t.map(((t,i)=>e("li",{key:`content-list-item-${i}`,class:"instant-apps-app-guide__content-list--item"},t)))):t.map(((t,i)=>e("p",{key:`content-paragraph-${i}`},t)))}get el(){return a(this)}static get watchers(){return{data:["watchPropHandler"],headerText:["watchStateHandler"]}}};o.style=":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:-moz-fit-content;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:0.5rem;padding-inline:0.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}";export{o as instant_apps_app_guide}
@@ -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{e,f as t}from"./p-4e6eb06e.js";const s=e=>!("isConnected"in e)||e.isConnected,n=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(s))})(...t)}),2e3)}})(),o=e=>"function"==typeof e?e():e,r=(s,r)=>{const c=((e,t=((e,t)=>e!==t))=>{const s=o(e);let n=new Map(Object.entries(null!=s?s:{}));const r={dispose:[],get:[],set:[],reset:[]},c=()=>{var t;n=new Map(Object.entries(null!==(t=o(e))&&void 0!==t?t:{})),r.reset.forEach((e=>e()))},u=e=>(r.get.forEach((t=>t(e))),n.get(e)),i=(e,s)=>{const o=n.get(e);t(s,o,e)&&(n.set(e,s),r.set.forEach((t=>t(e,s,o))))},p="undefined"==typeof Proxy?{}:new Proxy(s,{get:(e,t)=>u(t),ownKeys:()=>Array.from(n.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>n.has(t),set:(e,t,s)=>(i(t,s),!0)}),a=(e,t)=>(r[e].push(t),()=>{((e,t)=>{const s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)})(r[e],t)});return{state:p,get:u,set:i,on:a,onChange:(t,s)=>{const n=a("set",((e,n)=>{e===t&&s(n)})),r=a("reset",(()=>s(o(e)[t])));return()=>{n(),r()}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(a("set",t.set)),t.get&&e.push(a("get",t.get)),t.reset&&e.push(a("reset",t.reset)),t.dispose&&e.push(a("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{r.dispose.forEach((e=>e())),c()},reset:c,forceUpdate:e=>{const t=n.get(e);r.set.forEach((s=>s(e,t,t)))}}})(s,r);return c.use((()=>{if("function"!=typeof e)return{};const s=new Map;return{dispose:()=>s.clear(),get:t=>{const n=e();n&&((e,t,s)=>{const n=e.get(t);n?n.includes(s)||n.push(s):e.set(t,[s])})(s,t,n)},set:e=>{const o=s.get(e);o&&s.set(e,o.filter(t)),n(s)},reset:()=>{s.forEach((e=>e.forEach(t))),n(s)}}})()),c};export{r as c}
@@ -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 o,g as i}from"./p-4e6eb06e.js";import{c as n,d as s}from"./p-7cc8e95a.js";import{z as c,o as a}from"./p-26ba0cc7.js";import{s as l,a as r,c as d}from"./p-7f68e6a4.js";import{c as h,d as p}from"./p-177b4cbc.js";import{c as g,d as m,s as f,u as b}from"./p-cb8d90d1.js";import{K as k}from"./p-55d38454.js";import{o as v}from"./p-93d03bf0.js";import{g as u}from"./p-ae019e19.js";import"./p-85c3237c.js";import"./p-08c18450.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-ec51378a.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 x="actions-end",w=class{constructor(o){e(this,o),this.calciteNoticeBeforeClose=t(this,"calciteNoticeBeforeClose",6),this.calciteNoticeBeforeOpen=t(this,"calciteNoticeBeforeOpen",6),this.calciteNoticeClose=t(this,"calciteNoticeClose",6),this.calciteNoticeOpen=t(this,"calciteNoticeOpen",6),this.setTransitionEl=e=>{this.transitionEl=e},this.close=()=>{this.open=!1},this.openTransitionProp="opacity",this.open=!1,this.kind="brand",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){v(this)}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=c(k,this.icon,this.kind)}connectedCallback(){n(this),h(this),g(this)}disconnectedCallback(){s(this),p(this),m(this)}async componentWillLoad(){l(this),this.requestedIcon=c(k,this.icon,this.kind),await f(this),this.open&&v(this)}componentDidLoad(){r(this)}render(){const{el:e}=this,t=o("button",{key:"52f9306ebe945398929f68fe66615359836ba2d8","aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:e=>this.closeButton=e},o("calcite-icon",{key:"f3601ac9547c73219661eebc7e7470db5dee7b52",icon:"x",scale:u(this.scale)})),i=a(e,x);return o("div",{key:"3f8117ff7cdd08c92ce804ef4ac8af83003156a4",class:"container",ref:this.setTransitionEl},this.requestedIcon?o("div",{class:"notice-icon"},o("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:u(this.scale)})):null,o("div",{key:"1b614ee86618bd5ce6e8834b466baf7d2564b5a1",class:"notice-content"},o("slot",{key:"19467ed9718a78c7530c2a08c727028d565dee7b",name:"title"}),o("slot",{key:"191e71caf2f2147c62fd6b73602e41d95dc27558",name:"message"}),o("slot",{key:"d4fbf2b8aaa980cd24c5be89c6c8a36d091658f3",name:"link"})),i?o("div",{class:"actions-end"},o("slot",{name:x})):null,this.closable?t:null)}async setFocus(){await d(this);const e=this.el.querySelector("calcite-link");if(this.closeButton||e)return e?e.setFocus():void(this.closeButton&&this.closeButton.focus())}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}effectiveLocaleChange(){b(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return i(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};w.style=":host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;background-color:var(--calcite-color-foreground-1);opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity, max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-inline-start:var(--calcite-border-width-md) solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);overflow:visible}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.notice-close:active{background-color:var(--calcite-color-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-color:var(--calcite-color-status-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-color:var(--calcite-color-status-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-color-status-warning)}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_notice}
@@ -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 i,f as e,h as o,H as s,g as a}from"./p-4e6eb06e.js";import{g as c}from"./p-c8ad7a15.js";import{g as r,d as n,t as d}from"./p-26ba0cc7.js";import{c as h,d as l,H as p}from"./p-9c5d5171.js";import{g as b}from"./p-eed08718.js";import{u,I as f}from"./p-770a5a64.js";import{c as m,d as v,g as k}from"./p-9ce8e34f.js";import{c as x,s as g,a as w}from"./p-7f68e6a4.js";import"./p-51ab623a.js";import"./p-ae019e19.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 y=class{constructor(e){t(this,e),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",6),this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isFocusable=()=>{const t=this.queryButtons(),i=t.find((t=>!t.disabled)),e=t.find((t=>t.checked));return i===this.el&&!e},this.check=()=>{this.disabled||(this.focused=!0,this.setFocus(),this.checked||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))},this.clickHandler=()=>{this.disabled||this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const{key:i}=t,{el:e}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return this.check(),void t.preventDefault();let o=i;"rtl"===r(e)&&("ArrowRight"===i&&(o="ArrowLeft"),"ArrowLeft"===i&&(o="ArrowRight"));const s=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name));let a=0;const n=s.length;switch(s.some(((t,i)=>{if(t.checked)return a=i,!0})),o){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(s,c(Math.max(a-1,-1),n));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(s,c(a+1,n));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())},this.checked=!1,this.disabled=!1,this.focused=!1,this.form=void 0,this.guid=void 0,this.hovered=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}handleHiddenChange(){this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}disabledChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await x(this),this.disabled||n(this.containerEl)}syncHiddenFormInput(t){t.type="radio"}onLabelClick(t){if(this.disabled||this.el.hidden)return;const i=t.currentTarget,e=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);e&&(e.focused=!0,this.setFocus(),e.checked||(this.uncheckOtherRadioButtonsInGroup(),e.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if(t?.length>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid&&!t.disabled)).forEach((t=>{e(t)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${b()}`,this.name&&this.checkLastRadioButton(),m(this),h(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentWillLoad(){g(this)}componentDidLoad(){w(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){v(this),l(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentDidRender(){u(this)}render(){const t=this.getTabIndex();return o(s,{key:"45fcb686faaafd7fa14c61ae37c7e56394a2f75d",onClick:this.clickHandler,onKeyDown:this.handleKeyDown},o(f,{key:"3172c8e34562872615f7ff91f3cef82042b14c32",disabled:this.disabled},o("div",{key:"c33c5c4c5bdd1a8fdd821491bf9bf179e19eeef5","aria-checked":d(this.checked),"aria-label":k(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},o("div",{key:"88bc96d9b946384bf96aefa2dcdf5f6ca39ae7a2",class:"radio"})),o(p,{key:"0851a97b89e6f09ae9634c6417a9950ea3ba1ef6",component:this})))}get el(){return a(this)}static get watchers(){return{hidden:["handleHiddenChange"],checked:["checkedChanged"],disabled:["disabledChanged"],name:["nameChanged"]}}};y.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;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-color-foreground-1);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;box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([focused]) .radio{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([disabled]) .radio{cursor:default;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}';export{y as calcite_radio_button}
@@ -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 i,g as o}from"./p-4e6eb06e.js";import{g as n}from"./p-5104cc98.js";import"./p-d001e961.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const e=class{constructor(i){t(this,i),this.popoverTitle=void 0,this.subtitle=void 0,this.content=void 0,this.imgSrc=void 0,this.imgAlt=void 0,this.mediaSrc=void 0,this.index=void 0,this.referenceElement=void 0,this.parent=void 0,this.placement="trailing-start",this.refId=void 0,this.pagination=!1,this.disableAction=!1,this.popoverAction=void 0,this.messages=void 0,this.messageOverrides=void 0}async componentDidLoad(){n(this,this.messageOverrides)}componentDidUpdate(){this.popoverEl.referenceElement=this.referenceElement}render(){var t,o,n,e,a;return i("calcite-popover",{key:"19a392c5daebebf9aab291173df40f53e8fd9c87",ref:t=>this.popoverEl=t,heading:this.popoverTitle,"auto-close":!0,placement:this.placement,messageOverrides:{close:null===(t=this.messages)||void 0===t?void 0:t.close},"trigger-disabled":!0,"ref-id":this.refId,closable:!0,referenceElement:this.referenceElement,label:this.popoverTitle},i("div",{key:"e7b7453dbfcd60f0b78fee35ba4392e4ee854092",class:"instant-apps-popover__content"+(this.disableAction?" instant-apps-popover--action-disabled":"")},this.disableAction?null:i("calcite-action",{key:"popover-action",class:"instant-apps-popover__action",onClick:this.popoverAction,icon:"rtl"===document.dir?"chevron-right":"chevron-left",compact:!0,"text-enabled":!0,text:(null===(o=this.messageOverrides)||void 0===o?void 0:o.popoverAction)?this.messageOverrides.popoverAction:this.messages.back}),i("section",{key:"502e168445d4518c31d01e8a92b9c6b40212b34a"},i("span",{key:"7f5227a9a17d1fdbdcebded50374325c9bf5dcc9",id:"subtitle"},this.subtitle),i("p",{key:"37234d37274863d17a693fc1a525441a1f7e9832"},this.content),this.imgSrc?i("img",{key:`iac-popover-img-${this.refId}`,class:"instant-apps-popover__img",src:this.imgSrc,alt:this.imgAlt?this.imgAlt:""}):null),this.pagination?i("div",{key:`iac-popover-footer-${this.index}`,class:"instant-apps-popover__footer"},i("span",null,this.index+1," ",null===(n=this.messages)||void 0===n?void 0:n.of," ",null===(a=null===(e=this.parent)||void 0===e?void 0:e.instantAppsPopovers)||void 0===a?void 0:a.size),this.renderPagination()):null))}renderPagination(){var t,o;const{index:n,messages:e,parent:a}=this,s=n===(null===(o=null===(t=this.parent)||void 0===t?void 0:t.instantAppsPopovers)||void 0===o?void 0:o.size)-1;return i("div",{key:"pagination-button-container",class:"instant-apps-popover__button-container"},0===n?null:i("calcite-button",{key:"prev",onClick:()=>null==a?void 0:a.previous(),appearance:"outline",kind:"neutral"},null==e?void 0:e.back),i("calcite-button",{key:"next",onClick:()=>{s?null==a||a.done():null==a||a.next()}},s?null==e?void 0:e.done:null==e?void 0:e.next))}get el(){return o(this)}};e.style=":host{display:block}.instant-apps-popover__content{display:flex;flex-direction:column;padding:0 5% 5% 5%;max-width:35vw;font-family:var(--calcite-sans-family);font-size:0.875rem}.instant-apps-popover__content .instant-apps-popover__action{align-self:flex-start;--calcite-color-foreground-2:transparent}.instant-apps-popover__content span{display:inline-block;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);margin:0 0 10px 0;font-family:var(--calcite-sans-family)}.instant-apps-popover__content p{line-height:19.12px;margin:0;margin-bottom:10px;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.instant-apps-popover__content .instant-apps-popover__footer span{margin-bottom:0;font-weight:normal;font-size:0.875rem;font-family:var(--calcite-sans-family)}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:first-child{--calcite-color-foreground-3:transparent}.instant-apps-popover__content .instant-apps-popover__footer calcite-button:last-child{margin-left:5px}.instant-apps-popover__content .instant-apps-popover__img{width:100%;margin-bottom:10px}.instant-apps-popover__content.instant-apps-popover--action-disabled{padding:5%}.instant-apps-popover__content.instant-apps-popover--action-disabled #subtitle{margin:0 0 10px 0}";export{e as instant_apps_popover}
@@ -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 _}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 p="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),m="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),r=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function t(_,p,m){var r,t;return"m"===m?p?"хвилина":"хвилину":"h"===m?p?"година":"годину":_+" "+(r=+_,t={ss:p?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:p?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:p?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[m].split("_"),r%10==1&&r%100!=11?t[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?t[1]:t[2])}var e=function(_,t){return r.test(t)?p[_.month()]:m[_.month()]};e.s=m,e.f=p;var s={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:e,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:t,mm:t,h:t,hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}};_.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{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 r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function t(e,t,a){var i=r[a];return Array.isArray(i)&&(i=i[t?0:1]),i.replace("%d",e)}var a={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(a,null,!0);export{a as default}
@@ -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 s}from"./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 a=({scale:a,status:e,id:i,icon:t,message:c})=>s("div",{class:"validation-container"},s("calcite-input-message",{"aria-live":"polite",icon:t,id:i,scale:a,status:e},c));export{a as V}