@esri/solutions-components 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (531) hide show
  1. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +16 -6
  2. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +1 -1
  3. package/dist/cjs/solution-configuration.cjs.entry.js +1095 -4
  4. package/dist/cjs/solution-configuration.cjs.entry.js.map +1 -1
  5. package/dist/cjs/solution-contents_3.cjs.entry.js +3 -1
  6. package/dist/cjs/solution-contents_3.cjs.entry.js.map +1 -1
  7. package/dist/cjs/{solution-store-f0547fe7.js → solution-store-893499a5.js} +8 -1
  8. package/dist/cjs/solution-store-893499a5.js.map +1 -0
  9. package/dist/collection/components/solution-configuration/solution-configuration.js +14 -11
  10. package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -1
  11. package/dist/collection/components/solution-item/solution-item.js +2 -0
  12. package/dist/collection/components/solution-item/solution-item.js.map +1 -1
  13. package/dist/collection/components/solution-item-details/solution-item-details.js +15 -5
  14. package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -1
  15. package/dist/collection/utils/solution-store.js +2 -0
  16. package/dist/collection/utils/solution-store.js.map +1 -1
  17. package/dist/collection/utils/solution-store.ts +2 -0
  18. package/dist/esm/calcite-shell-panel_14.entry.js +16 -6
  19. package/dist/esm/calcite-shell-panel_14.entry.js.map +1 -1
  20. package/dist/esm/solution-configuration.entry.js +1095 -4
  21. package/dist/esm/solution-configuration.entry.js.map +1 -1
  22. package/dist/esm/solution-contents_3.entry.js +3 -1
  23. package/dist/esm/solution-contents_3.entry.js.map +1 -1
  24. package/dist/esm/{solution-store-c1f6173a.js → solution-store-0c58c852.js} +4 -2
  25. package/dist/esm/solution-store-0c58c852.js.map +1 -0
  26. package/dist/solutions-components/{p-065830b8.js → p-659edb14.js} +4 -2
  27. package/dist/solutions-components/p-659edb14.js.map +1 -0
  28. package/dist/solutions-components/{p-ee9be0ef.entry.js → p-77c75f3a.entry.js} +4 -2
  29. package/dist/solutions-components/p-77c75f3a.entry.js.map +1 -0
  30. package/dist/solutions-components/p-90629c1d.entry.js +1986 -0
  31. package/dist/solutions-components/p-90629c1d.entry.js.map +1 -0
  32. package/dist/solutions-components/{p-0e7a0839.entry.js → p-984cb687.entry.js} +17 -7
  33. package/dist/solutions-components/p-984cb687.entry.js.map +1 -0
  34. package/dist/solutions-components/solutions-components.esm.js +1 -1
  35. package/dist/solutions-components/utils/solution-store.ts +2 -0
  36. package/dist/solutions-components_commit.txt +9 -7
  37. package/dist/types/components/solution-item-details/solution-item-details.d.ts +2 -1
  38. package/package.json +1 -1
  39. package/dist/cjs/solution-store-f0547fe7.js.map +0 -1
  40. package/dist/components/ExpandToggle.js +0 -112
  41. package/dist/components/ExpandToggle.js.map +0 -1
  42. package/dist/components/Heading.js +0 -24
  43. package/dist/components/Heading.js.map +0 -1
  44. package/dist/components/_commonjsHelpers.js +0 -24
  45. package/dist/components/_commonjsHelpers.js.map +0 -1
  46. package/dist/components/action-bar.js +0 -278
  47. package/dist/components/action-bar.js.map +0 -1
  48. package/dist/components/action-group.js +0 -151
  49. package/dist/components/action-group.js.map +0 -1
  50. package/dist/components/action-menu.js +0 -358
  51. package/dist/components/action-menu.js.map +0 -1
  52. package/dist/components/action.js +0 -216
  53. package/dist/components/action.js.map +0 -1
  54. package/dist/components/array.js +0 -17
  55. package/dist/components/array.js.map +0 -1
  56. package/dist/components/buffer-tools.d.ts +0 -11
  57. package/dist/components/buffer-tools.js +0 -13
  58. package/dist/components/buffer-tools.js.map +0 -1
  59. package/dist/components/buffer-tools2.js +0 -256
  60. package/dist/components/buffer-tools2.js.map +0 -1
  61. package/dist/components/button.js +0 -265
  62. package/dist/components/button.js.map +0 -1
  63. package/dist/components/calcite-accordion-item.js +0 -246
  64. package/dist/components/calcite-accordion-item.js.map +0 -1
  65. package/dist/components/calcite-accordion.js +0 -182
  66. package/dist/components/calcite-accordion.js.map +0 -1
  67. package/dist/components/calcite-action-bar.js +0 -13
  68. package/dist/components/calcite-action-bar.js.map +0 -1
  69. package/dist/components/calcite-action-group.js +0 -13
  70. package/dist/components/calcite-action-group.js.map +0 -1
  71. package/dist/components/calcite-action-menu.js +0 -13
  72. package/dist/components/calcite-action-menu.js.map +0 -1
  73. package/dist/components/calcite-action-pad.js +0 -199
  74. package/dist/components/calcite-action-pad.js.map +0 -1
  75. package/dist/components/calcite-action.js +0 -13
  76. package/dist/components/calcite-action.js.map +0 -1
  77. package/dist/components/calcite-alert.js +0 -299
  78. package/dist/components/calcite-alert.js.map +0 -1
  79. package/dist/components/calcite-avatar.js +0 -184
  80. package/dist/components/calcite-avatar.js.map +0 -1
  81. package/dist/components/calcite-block-section.js +0 -157
  82. package/dist/components/calcite-block-section.js.map +0 -1
  83. package/dist/components/calcite-block.js +0 -277
  84. package/dist/components/calcite-block.js.map +0 -1
  85. package/dist/components/calcite-button.js +0 -13
  86. package/dist/components/calcite-button.js.map +0 -1
  87. package/dist/components/calcite-card.js +0 -189
  88. package/dist/components/calcite-card.js.map +0 -1
  89. package/dist/components/calcite-checkbox.js +0 -13
  90. package/dist/components/calcite-checkbox.js.map +0 -1
  91. package/dist/components/calcite-chip.js +0 -13
  92. package/dist/components/calcite-chip.js.map +0 -1
  93. package/dist/components/calcite-color-picker-hex-input.js +0 -13
  94. package/dist/components/calcite-color-picker-hex-input.js.map +0 -1
  95. package/dist/components/calcite-color-picker-swatch.js +0 -13
  96. package/dist/components/calcite-color-picker-swatch.js.map +0 -1
  97. package/dist/components/calcite-color-picker.js +0 -1038
  98. package/dist/components/calcite-color-picker.js.map +0 -1
  99. package/dist/components/calcite-combobox-item-group.js +0 -77
  100. package/dist/components/calcite-combobox-item-group.js.map +0 -1
  101. package/dist/components/calcite-combobox-item.js +0 -13
  102. package/dist/components/calcite-combobox-item.js.map +0 -1
  103. package/dist/components/calcite-combobox.js +0 -13
  104. package/dist/components/calcite-combobox.js.map +0 -1
  105. package/dist/components/calcite-date-picker-day.js +0 -13
  106. package/dist/components/calcite-date-picker-day.js.map +0 -1
  107. package/dist/components/calcite-date-picker-month-header.js +0 -13
  108. package/dist/components/calcite-date-picker-month-header.js.map +0 -1
  109. package/dist/components/calcite-date-picker-month.js +0 -13
  110. package/dist/components/calcite-date-picker-month.js.map +0 -1
  111. package/dist/components/calcite-date-picker.js +0 -13
  112. package/dist/components/calcite-date-picker.js.map +0 -1
  113. package/dist/components/calcite-dropdown-group.js +0 -101
  114. package/dist/components/calcite-dropdown-group.js.map +0 -1
  115. package/dist/components/calcite-dropdown-item.js +0 -237
  116. package/dist/components/calcite-dropdown-item.js.map +0 -1
  117. package/dist/components/calcite-dropdown.js +0 -13
  118. package/dist/components/calcite-dropdown.js.map +0 -1
  119. package/dist/components/calcite-fab.js +0 -146
  120. package/dist/components/calcite-fab.js.map +0 -1
  121. package/dist/components/calcite-filter.js +0 -197
  122. package/dist/components/calcite-filter.js.map +0 -1
  123. package/dist/components/calcite-flow-item.js +0 -245
  124. package/dist/components/calcite-flow-item.js.map +0 -1
  125. package/dist/components/calcite-flow.js +0 -149
  126. package/dist/components/calcite-flow.js.map +0 -1
  127. package/dist/components/calcite-graph.js +0 -13
  128. package/dist/components/calcite-graph.js.map +0 -1
  129. package/dist/components/calcite-handle.js +0 -13
  130. package/dist/components/calcite-handle.js.map +0 -1
  131. package/dist/components/calcite-icon.js +0 -13
  132. package/dist/components/calcite-icon.js.map +0 -1
  133. package/dist/components/calcite-inline-editable.js +0 -296
  134. package/dist/components/calcite-inline-editable.js.map +0 -1
  135. package/dist/components/calcite-input-date-picker.js +0 -715
  136. package/dist/components/calcite-input-date-picker.js.map +0 -1
  137. package/dist/components/calcite-input-message.js +0 -13
  138. package/dist/components/calcite-input-message.js.map +0 -1
  139. package/dist/components/calcite-input-number.js +0 -639
  140. package/dist/components/calcite-input-number.js.map +0 -1
  141. package/dist/components/calcite-input-text.js +0 -402
  142. package/dist/components/calcite-input-text.js.map +0 -1
  143. package/dist/components/calcite-input-time-picker.js +0 -436
  144. package/dist/components/calcite-input-time-picker.js.map +0 -1
  145. package/dist/components/calcite-input.js +0 -13
  146. package/dist/components/calcite-input.js.map +0 -1
  147. package/dist/components/calcite-label.js +0 -13
  148. package/dist/components/calcite-label.js.map +0 -1
  149. package/dist/components/calcite-link.js +0 -13
  150. package/dist/components/calcite-link.js.map +0 -1
  151. package/dist/components/calcite-list-item-group.js +0 -67
  152. package/dist/components/calcite-list-item-group.js.map +0 -1
  153. package/dist/components/calcite-list-item.js +0 -13
  154. package/dist/components/calcite-list-item.js.map +0 -1
  155. package/dist/components/calcite-list.js +0 -13
  156. package/dist/components/calcite-list.js.map +0 -1
  157. package/dist/components/calcite-loader.js +0 -13
  158. package/dist/components/calcite-loader.js.map +0 -1
  159. package/dist/components/calcite-modal.js +0 -500
  160. package/dist/components/calcite-modal.js.map +0 -1
  161. package/dist/components/calcite-notice.js +0 -13
  162. package/dist/components/calcite-notice.js.map +0 -1
  163. package/dist/components/calcite-option-group.js +0 -66
  164. package/dist/components/calcite-option-group.js.map +0 -1
  165. package/dist/components/calcite-option.js +0 -13
  166. package/dist/components/calcite-option.js.map +0 -1
  167. package/dist/components/calcite-pagination.js +0 -260
  168. package/dist/components/calcite-pagination.js.map +0 -1
  169. package/dist/components/calcite-panel.js +0 -13
  170. package/dist/components/calcite-panel.js.map +0 -1
  171. package/dist/components/calcite-pick-list-group.js +0 -76
  172. package/dist/components/calcite-pick-list-group.js.map +0 -1
  173. package/dist/components/calcite-pick-list-item.js +0 -13
  174. package/dist/components/calcite-pick-list-item.js.map +0 -1
  175. package/dist/components/calcite-pick-list.js +0 -175
  176. package/dist/components/calcite-pick-list.js.map +0 -1
  177. package/dist/components/calcite-popover-manager.js +0 -96
  178. package/dist/components/calcite-popover-manager.js.map +0 -1
  179. package/dist/components/calcite-popover.js +0 -13
  180. package/dist/components/calcite-popover.js.map +0 -1
  181. package/dist/components/calcite-progress.js +0 -13
  182. package/dist/components/calcite-progress.js.map +0 -1
  183. package/dist/components/calcite-radio-button-group.js +0 -134
  184. package/dist/components/calcite-radio-button-group.js.map +0 -1
  185. package/dist/components/calcite-radio-button.js +0 -312
  186. package/dist/components/calcite-radio-button.js.map +0 -1
  187. package/dist/components/calcite-radio-group-item.js +0 -13
  188. package/dist/components/calcite-radio-group-item.js.map +0 -1
  189. package/dist/components/calcite-radio-group.js +0 -13
  190. package/dist/components/calcite-radio-group.js.map +0 -1
  191. package/dist/components/calcite-rating.js +0 -203
  192. package/dist/components/calcite-rating.js.map +0 -1
  193. package/dist/components/calcite-scrim.js +0 -13
  194. package/dist/components/calcite-scrim.js.map +0 -1
  195. package/dist/components/calcite-select.js +0 -13
  196. package/dist/components/calcite-select.js.map +0 -1
  197. package/dist/components/calcite-shell-center-row.js +0 -102
  198. package/dist/components/calcite-shell-center-row.js.map +0 -1
  199. package/dist/components/calcite-shell-panel.js +0 -13
  200. package/dist/components/calcite-shell-panel.js.map +0 -1
  201. package/dist/components/calcite-shell.js +0 -13
  202. package/dist/components/calcite-shell.js.map +0 -1
  203. package/dist/components/calcite-slider.js +0 -13
  204. package/dist/components/calcite-slider.js.map +0 -1
  205. package/dist/components/calcite-sortable-list.js +0 -204
  206. package/dist/components/calcite-sortable-list.js.map +0 -1
  207. package/dist/components/calcite-split-button.js +0 -170
  208. package/dist/components/calcite-split-button.js.map +0 -1
  209. package/dist/components/calcite-stepper-item.js +0 -273
  210. package/dist/components/calcite-stepper-item.js.map +0 -1
  211. package/dist/components/calcite-stepper.js +0 -258
  212. package/dist/components/calcite-stepper.js.map +0 -1
  213. package/dist/components/calcite-switch.js +0 -13
  214. package/dist/components/calcite-switch.js.map +0 -1
  215. package/dist/components/calcite-tab-nav.js +0 -13
  216. package/dist/components/calcite-tab-nav.js.map +0 -1
  217. package/dist/components/calcite-tab-title.js +0 -13
  218. package/dist/components/calcite-tab-title.js.map +0 -1
  219. package/dist/components/calcite-tab.js +0 -13
  220. package/dist/components/calcite-tab.js.map +0 -1
  221. package/dist/components/calcite-tabs.js +0 -13
  222. package/dist/components/calcite-tabs.js.map +0 -1
  223. package/dist/components/calcite-tile-select-group.js +0 -67
  224. package/dist/components/calcite-tile-select-group.js.map +0 -1
  225. package/dist/components/calcite-tile-select.js +0 -268
  226. package/dist/components/calcite-tile-select.js.map +0 -1
  227. package/dist/components/calcite-tile.js +0 -13
  228. package/dist/components/calcite-tile.js.map +0 -1
  229. package/dist/components/calcite-time-picker.js +0 -13
  230. package/dist/components/calcite-time-picker.js.map +0 -1
  231. package/dist/components/calcite-tip-group.js +0 -43
  232. package/dist/components/calcite-tip-group.js.map +0 -1
  233. package/dist/components/calcite-tip-manager.js +0 -225
  234. package/dist/components/calcite-tip-manager.js.map +0 -1
  235. package/dist/components/calcite-tip.js +0 -164
  236. package/dist/components/calcite-tip.js.map +0 -1
  237. package/dist/components/calcite-tooltip-manager.js +0 -59
  238. package/dist/components/calcite-tooltip-manager.js.map +0 -1
  239. package/dist/components/calcite-tooltip.js +0 -13
  240. package/dist/components/calcite-tooltip.js.map +0 -1
  241. package/dist/components/calcite-tree-item.js +0 -13
  242. package/dist/components/calcite-tree-item.js.map +0 -1
  243. package/dist/components/calcite-tree.js +0 -13
  244. package/dist/components/calcite-tree.js.map +0 -1
  245. package/dist/components/calcite-value-list-item.js +0 -13
  246. package/dist/components/calcite-value-list-item.js.map +0 -1
  247. package/dist/components/calcite-value-list.js +0 -13
  248. package/dist/components/calcite-value-list.js.map +0 -1
  249. package/dist/components/check-list.d.ts +0 -11
  250. package/dist/components/check-list.js +0 -13
  251. package/dist/components/check-list.js.map +0 -1
  252. package/dist/components/check-list2.js +0 -128
  253. package/dist/components/check-list2.js.map +0 -1
  254. package/dist/components/checkbox.js +0 -167
  255. package/dist/components/checkbox.js.map +0 -1
  256. package/dist/components/chip.js +0 -172
  257. package/dist/components/chip.js.map +0 -1
  258. package/dist/components/color-picker-hex-input.js +0 -365
  259. package/dist/components/color-picker-hex-input.js.map +0 -1
  260. package/dist/components/color-picker-swatch.js +0 -2036
  261. package/dist/components/color-picker-swatch.js.map +0 -1
  262. package/dist/components/combobox-item.js +0 -184
  263. package/dist/components/combobox-item.js.map +0 -1
  264. package/dist/components/combobox.js +0 -914
  265. package/dist/components/combobox.js.map +0 -1
  266. package/dist/components/conditionalSlot.js +0 -52
  267. package/dist/components/conditionalSlot.js.map +0 -1
  268. package/dist/components/config-buffer-tools.d.ts +0 -11
  269. package/dist/components/config-buffer-tools.js +0 -185
  270. package/dist/components/config-buffer-tools.js.map +0 -1
  271. package/dist/components/config-draw-tools.d.ts +0 -11
  272. package/dist/components/config-draw-tools.js +0 -124
  273. package/dist/components/config-draw-tools.js.map +0 -1
  274. package/dist/components/config-layer-picker.d.ts +0 -11
  275. package/dist/components/config-layer-picker.js +0 -148
  276. package/dist/components/config-layer-picker.js.map +0 -1
  277. package/dist/components/config-pdf-download.d.ts +0 -11
  278. package/dist/components/config-pdf-download.js +0 -157
  279. package/dist/components/config-pdf-download.js.map +0 -1
  280. package/dist/components/date-picker-day.js +0 -113
  281. package/dist/components/date-picker-day.js.map +0 -1
  282. package/dist/components/date-picker-month-header.js +0 -226
  283. package/dist/components/date-picker-month-header.js.map +0 -1
  284. package/dist/components/date-picker-month.js +0 -346
  285. package/dist/components/date-picker-month.js.map +0 -1
  286. package/dist/components/date-picker.js +0 -577
  287. package/dist/components/date-picker.js.map +0 -1
  288. package/dist/components/date.js +0 -182
  289. package/dist/components/date.js.map +0 -1
  290. package/dist/components/debounce.js +0 -489
  291. package/dist/components/debounce.js.map +0 -1
  292. package/dist/components/dom.js +0 -233
  293. package/dist/components/dom.js.map +0 -1
  294. package/dist/components/dropdown.js +0 -507
  295. package/dist/components/dropdown.js.map +0 -1
  296. package/dist/components/filter.js +0 -765
  297. package/dist/components/filter.js.map +0 -1
  298. package/dist/components/floating-ui.js +0 -1787
  299. package/dist/components/floating-ui.js.map +0 -1
  300. package/dist/components/form.js +0 -230
  301. package/dist/components/form.js.map +0 -1
  302. package/dist/components/graph.js +0 -256
  303. package/dist/components/graph.js.map +0 -1
  304. package/dist/components/guid.js +0 -26
  305. package/dist/components/guid.js.map +0 -1
  306. package/dist/components/handle.js +0 -121
  307. package/dist/components/handle.js.map +0 -1
  308. package/dist/components/icon.js +0 -204
  309. package/dist/components/icon.js.map +0 -1
  310. package/dist/components/index.d.ts +0 -48
  311. package/dist/components/index.js +0 -190
  312. package/dist/components/index.js.map +0 -1
  313. package/dist/components/index2.js +0 -201
  314. package/dist/components/index2.js.map +0 -1
  315. package/dist/components/input-message.js +0 -103
  316. package/dist/components/input-message.js.map +0 -1
  317. package/dist/components/input.js +0 -742
  318. package/dist/components/input.js.map +0 -1
  319. package/dist/components/interactive.js +0 -53
  320. package/dist/components/interactive.js.map +0 -1
  321. package/dist/components/interfaces.js +0 -21
  322. package/dist/components/interfaces.js.map +0 -1
  323. package/dist/components/interfaces2.js +0 -23
  324. package/dist/components/interfaces2.js.map +0 -1
  325. package/dist/components/interfaces3.js +0 -72
  326. package/dist/components/interfaces3.js.map +0 -1
  327. package/dist/components/json-editor.d.ts +0 -11
  328. package/dist/components/json-editor.js +0 -13
  329. package/dist/components/json-editor.js.map +0 -1
  330. package/dist/components/json-editor2.js +0 -443
  331. package/dist/components/json-editor2.js.map +0 -1
  332. package/dist/components/key.js +0 -18
  333. package/dist/components/key.js.map +0 -1
  334. package/dist/components/label.js +0 -108
  335. package/dist/components/label.js.map +0 -1
  336. package/dist/components/label2.js +0 -133
  337. package/dist/components/label2.js.map +0 -1
  338. package/dist/components/labelFormats.js +0 -212
  339. package/dist/components/labelFormats.js.map +0 -1
  340. package/dist/components/link.js +0 -125
  341. package/dist/components/link.js.map +0 -1
  342. package/dist/components/list-item.js +0 -151
  343. package/dist/components/list-item.js.map +0 -1
  344. package/dist/components/list.js +0 -85
  345. package/dist/components/list.js.map +0 -1
  346. package/dist/components/loadModules.js +0 -30
  347. package/dist/components/loadModules.js.map +0 -1
  348. package/dist/components/loader.js +0 -118
  349. package/dist/components/loader.js.map +0 -1
  350. package/dist/components/locale.js +0 -414
  351. package/dist/components/locale.js.map +0 -1
  352. package/dist/components/locale2.js +0 -415
  353. package/dist/components/locale2.js.map +0 -1
  354. package/dist/components/map-draw-tools.d.ts +0 -11
  355. package/dist/components/map-draw-tools.js +0 -13
  356. package/dist/components/map-draw-tools.js.map +0 -1
  357. package/dist/components/map-draw-tools2.js +0 -230
  358. package/dist/components/map-draw-tools2.js.map +0 -1
  359. package/dist/components/map-layer-picker.d.ts +0 -11
  360. package/dist/components/map-layer-picker.js +0 -13
  361. package/dist/components/map-layer-picker.js.map +0 -1
  362. package/dist/components/map-layer-picker2.js +0 -190
  363. package/dist/components/map-layer-picker2.js.map +0 -1
  364. package/dist/components/map-search.d.ts +0 -11
  365. package/dist/components/map-search.js +0 -157
  366. package/dist/components/map-search.js.map +0 -1
  367. package/dist/components/map-select-tools.d.ts +0 -11
  368. package/dist/components/map-select-tools.js +0 -13
  369. package/dist/components/map-select-tools.js.map +0 -1
  370. package/dist/components/map-select-tools2.js +0 -555
  371. package/dist/components/map-select-tools2.js.map +0 -1
  372. package/dist/components/mapViewUtils.js +0 -131
  373. package/dist/components/mapViewUtils.js.map +0 -1
  374. package/dist/components/math.js +0 -26
  375. package/dist/components/math.js.map +0 -1
  376. package/dist/components/nonChromiumPlatformUtils.js +0 -505
  377. package/dist/components/nonChromiumPlatformUtils.js.map +0 -1
  378. package/dist/components/notice.js +0 -194
  379. package/dist/components/notice.js.map +0 -1
  380. package/dist/components/observers.js +0 -58
  381. package/dist/components/observers.js.map +0 -1
  382. package/dist/components/openCloseComponent.js +0 -58
  383. package/dist/components/openCloseComponent.js.map +0 -1
  384. package/dist/components/option.js +0 -111
  385. package/dist/components/option.js.map +0 -1
  386. package/dist/components/panel.js +0 -461
  387. package/dist/components/panel.js.map +0 -1
  388. package/dist/components/pdf-download.d.ts +0 -11
  389. package/dist/components/pdf-download.js +0 -13
  390. package/dist/components/pdf-download.js.map +0 -1
  391. package/dist/components/pdf-download2.js +0 -243
  392. package/dist/components/pdf-download2.js.map +0 -1
  393. package/dist/components/pick-list-item.js +0 -257
  394. package/dist/components/pick-list-item.js.map +0 -1
  395. package/dist/components/popover.js +0 -502
  396. package/dist/components/popover.js.map +0 -1
  397. package/dist/components/progress.js +0 -62
  398. package/dist/components/progress.js.map +0 -1
  399. package/dist/components/public-notification.d.ts +0 -11
  400. package/dist/components/public-notification.js +0 -784
  401. package/dist/components/public-notification.js.map +0 -1
  402. package/dist/components/publicNotificationStore.js +0 -40
  403. package/dist/components/publicNotificationStore.js.map +0 -1
  404. package/dist/components/queryUtils.js +0 -163
  405. package/dist/components/queryUtils.js.map +0 -1
  406. package/dist/components/radio-group-item.js +0 -103
  407. package/dist/components/radio-group-item.js.map +0 -1
  408. package/dist/components/radio-group.js +0 -237
  409. package/dist/components/radio-group.js.map +0 -1
  410. package/dist/components/refine-selection-tools.d.ts +0 -11
  411. package/dist/components/refine-selection-tools.js +0 -13
  412. package/dist/components/refine-selection-tools.js.map +0 -1
  413. package/dist/components/refine-selection-tools2.js +0 -500
  414. package/dist/components/refine-selection-tools2.js.map +0 -1
  415. package/dist/components/refine-selection.d.ts +0 -11
  416. package/dist/components/refine-selection.js +0 -13
  417. package/dist/components/refine-selection.js.map +0 -1
  418. package/dist/components/refine-selection2.js +0 -369
  419. package/dist/components/refine-selection2.js.map +0 -1
  420. package/dist/components/resources.js +0 -26
  421. package/dist/components/resources.js.map +0 -1
  422. package/dist/components/resources2.js +0 -23
  423. package/dist/components/resources2.js.map +0 -1
  424. package/dist/components/resources3.js +0 -40
  425. package/dist/components/resources3.js.map +0 -1
  426. package/dist/components/scrim.js +0 -85
  427. package/dist/components/scrim.js.map +0 -1
  428. package/dist/components/select.js +0 -261
  429. package/dist/components/select.js.map +0 -1
  430. package/dist/components/shared-list-render.js +0 -321
  431. package/dist/components/shared-list-render.js.map +0 -1
  432. package/dist/components/shell-panel.js +0 -283
  433. package/dist/components/shell-panel.js.map +0 -1
  434. package/dist/components/shell.js +0 -123
  435. package/dist/components/shell.js.map +0 -1
  436. package/dist/components/slider.js +0 -898
  437. package/dist/components/slider.js.map +0 -1
  438. package/dist/components/solution-configuration.d.ts +0 -11
  439. package/dist/components/solution-configuration.js +0 -1141
  440. package/dist/components/solution-configuration.js.map +0 -1
  441. package/dist/components/solution-contents.d.ts +0 -11
  442. package/dist/components/solution-contents.js +0 -13
  443. package/dist/components/solution-contents.js.map +0 -1
  444. package/dist/components/solution-contents2.js +0 -130
  445. package/dist/components/solution-contents2.js.map +0 -1
  446. package/dist/components/solution-item-details.d.ts +0 -11
  447. package/dist/components/solution-item-details.js +0 -13
  448. package/dist/components/solution-item-details.js.map +0 -1
  449. package/dist/components/solution-item-details2.js +0 -236
  450. package/dist/components/solution-item-details2.js.map +0 -1
  451. package/dist/components/solution-item-icon.d.ts +0 -11
  452. package/dist/components/solution-item-icon.js +0 -13
  453. package/dist/components/solution-item-icon.js.map +0 -1
  454. package/dist/components/solution-item-icon2.js +0 -344
  455. package/dist/components/solution-item-icon2.js.map +0 -1
  456. package/dist/components/solution-item-sharing.d.ts +0 -11
  457. package/dist/components/solution-item-sharing.js +0 -13
  458. package/dist/components/solution-item-sharing.js.map +0 -1
  459. package/dist/components/solution-item-sharing2.js +0 -169
  460. package/dist/components/solution-item-sharing2.js.map +0 -1
  461. package/dist/components/solution-item.d.ts +0 -11
  462. package/dist/components/solution-item.js +0 -13
  463. package/dist/components/solution-item.js.map +0 -1
  464. package/dist/components/solution-item2.js +0 -317
  465. package/dist/components/solution-item2.js.map +0 -1
  466. package/dist/components/solution-organization-variables.d.ts +0 -11
  467. package/dist/components/solution-organization-variables.js +0 -13
  468. package/dist/components/solution-organization-variables.js.map +0 -1
  469. package/dist/components/solution-organization-variables2.js +0 -134
  470. package/dist/components/solution-organization-variables2.js.map +0 -1
  471. package/dist/components/solution-resource-item.d.ts +0 -11
  472. package/dist/components/solution-resource-item.js +0 -13
  473. package/dist/components/solution-resource-item.js.map +0 -1
  474. package/dist/components/solution-resource-item2.js +0 -358
  475. package/dist/components/solution-resource-item2.js.map +0 -1
  476. package/dist/components/solution-spatial-ref.d.ts +0 -11
  477. package/dist/components/solution-spatial-ref.js +0 -13
  478. package/dist/components/solution-spatial-ref.js.map +0 -1
  479. package/dist/components/solution-spatial-ref2.js +0 -21448
  480. package/dist/components/solution-spatial-ref2.js.map +0 -1
  481. package/dist/components/solution-store.js +0 -4094
  482. package/dist/components/solution-store.js.map +0 -1
  483. package/dist/components/solution-template-data.d.ts +0 -11
  484. package/dist/components/solution-template-data.js +0 -13
  485. package/dist/components/solution-template-data.js.map +0 -1
  486. package/dist/components/solution-template-data2.js +0 -235
  487. package/dist/components/solution-template-data2.js.map +0 -1
  488. package/dist/components/solution-variables.d.ts +0 -11
  489. package/dist/components/solution-variables.js +0 -13
  490. package/dist/components/solution-variables.js.map +0 -1
  491. package/dist/components/solution-variables2.js +0 -152
  492. package/dist/components/solution-variables2.js.map +0 -1
  493. package/dist/components/sortable.esm.js +0 -3028
  494. package/dist/components/sortable.esm.js.map +0 -1
  495. package/dist/components/store-manager.d.ts +0 -11
  496. package/dist/components/store-manager.js +0 -85
  497. package/dist/components/store-manager.js.map +0 -1
  498. package/dist/components/switch.js +0 -141
  499. package/dist/components/switch.js.map +0 -1
  500. package/dist/components/tab-nav.js +0 -243
  501. package/dist/components/tab-nav.js.map +0 -1
  502. package/dist/components/tab-title.js +0 -278
  503. package/dist/components/tab-title.js.map +0 -1
  504. package/dist/components/tab.js +0 -156
  505. package/dist/components/tab.js.map +0 -1
  506. package/dist/components/tabs.js +0 -190
  507. package/dist/components/tabs.js.map +0 -1
  508. package/dist/components/tile.js +0 -131
  509. package/dist/components/tile.js.map +0 -1
  510. package/dist/components/time-picker.js +0 -945
  511. package/dist/components/time-picker.js.map +0 -1
  512. package/dist/components/tooltip.js +0 -401
  513. package/dist/components/tooltip.js.map +0 -1
  514. package/dist/components/tree-item.js +0 -296
  515. package/dist/components/tree-item.js.map +0 -1
  516. package/dist/components/tree.js +0 -329
  517. package/dist/components/tree.js.map +0 -1
  518. package/dist/components/utils.js +0 -121
  519. package/dist/components/utils.js.map +0 -1
  520. package/dist/components/utils2.js +0 -53
  521. package/dist/components/utils2.js.map +0 -1
  522. package/dist/components/value-list-item.js +0 -206
  523. package/dist/components/value-list-item.js.map +0 -1
  524. package/dist/components/value-list.js +0 -335
  525. package/dist/components/value-list.js.map +0 -1
  526. package/dist/esm/solution-store-c1f6173a.js.map +0 -1
  527. package/dist/solutions-components/p-065830b8.js.map +0 -1
  528. package/dist/solutions-components/p-0e7a0839.entry.js.map +0 -1
  529. package/dist/solutions-components/p-401541a5.entry.js +0 -895
  530. package/dist/solutions-components/p-401541a5.entry.js.map +0 -1
  531. package/dist/solutions-components/p-ee9be0ef.entry.js.map +0 -1
@@ -1,502 +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 { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
7
- import { b as defaultOffsetDistance, f as filterComputedPlacements, c as connectFloatingUI, u as updateAfterClose, a as disconnectFloatingUI, r as reposition, F as FloatingCSS } from './floating-ui.js';
8
- import { g as guid } from './guid.js';
9
- import { i as isPrimaryPointerButton, t as toAriaBoolean, q as queryElementRoots } from './dom.js';
10
- import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent.js';
11
- import { H as Heading } from './Heading.js';
12
- import { i as isActivationKey } from './key.js';
13
- import { d as defineCustomElement$3 } from './action.js';
14
- import { d as defineCustomElement$2 } from './icon.js';
15
- import { d as defineCustomElement$1 } from './loader.js';
16
-
17
- /*!
18
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
19
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
20
- * v1.0.0-beta.97
21
- */
22
- const CSS = {
23
- container: "container",
24
- arrow: "arrow",
25
- imageContainer: "image-container",
26
- closeButtonContainer: "close-button-container",
27
- closeButton: "close-button",
28
- content: "content",
29
- hasHeader: "has-header",
30
- header: "header",
31
- headerContent: "header-content",
32
- heading: "heading"
33
- };
34
- const TEXT = {
35
- close: "Close"
36
- };
37
- const defaultPopoverPlacement = "auto";
38
- const ARIA_CONTROLS = "aria-controls";
39
- const ARIA_EXPANDED = "aria-expanded";
40
- const HEADING_LEVEL = 2;
41
-
42
- /*!
43
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
44
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
45
- * v1.0.0-beta.97
46
- */
47
- class PopoverManager {
48
- constructor() {
49
- // --------------------------------------------------------------------------
50
- //
51
- // Private Properties
52
- //
53
- // --------------------------------------------------------------------------
54
- this.registeredElements = new Map();
55
- this.registeredElementCount = 0;
56
- // --------------------------------------------------------------------------
57
- //
58
- // Private Methods
59
- //
60
- // --------------------------------------------------------------------------
61
- this.queryPopover = (composedPath) => {
62
- const { registeredElements } = this;
63
- const registeredElement = composedPath.find((pathEl) => registeredElements.has(pathEl));
64
- return registeredElements.get(registeredElement);
65
- };
66
- this.togglePopovers = (event) => {
67
- const composedPath = event.composedPath();
68
- const togglePopover = this.queryPopover(composedPath);
69
- if (togglePopover && !togglePopover.triggerDisabled) {
70
- togglePopover.toggle();
71
- }
72
- Array.from(this.registeredElements.values())
73
- .filter((popover) => popover !== togglePopover && popover.autoClose && popover.open && !composedPath.includes(popover))
74
- .forEach((popover) => popover.toggle(false));
75
- };
76
- this.keyHandler = (event) => {
77
- if (event.defaultPrevented || !isActivationKey(event.key)) {
78
- return;
79
- }
80
- this.togglePopovers(event);
81
- };
82
- this.clickHandler = (event) => {
83
- if (isPrimaryPointerButton(event)) {
84
- this.togglePopovers(event);
85
- }
86
- };
87
- }
88
- // --------------------------------------------------------------------------
89
- //
90
- // Public Methods
91
- //
92
- // --------------------------------------------------------------------------
93
- registerElement(referenceEl, popover) {
94
- this.registeredElementCount++;
95
- this.registeredElements.set(referenceEl, popover);
96
- if (this.registeredElementCount === 1) {
97
- this.addListeners();
98
- }
99
- }
100
- unregisterElement(referenceEl) {
101
- if (this.registeredElements.delete(referenceEl)) {
102
- this.registeredElementCount--;
103
- }
104
- if (this.registeredElementCount === 0) {
105
- this.removeListeners();
106
- }
107
- }
108
- addListeners() {
109
- document.addEventListener("pointerdown", this.clickHandler, { capture: true });
110
- document.addEventListener("keydown", this.keyHandler, { capture: true });
111
- }
112
- removeListeners() {
113
- document.removeEventListener("pointerdown", this.clickHandler, { capture: true });
114
- document.removeEventListener("keydown", this.keyHandler, { capture: true });
115
- }
116
- }
117
-
118
- const popoverCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block;position:absolute;z-index:900}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.arrow,.arrow::before{position:absolute;inline-size:8px;block-size:8px;z-index:-1}.arrow::before{content:\"\";--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);transform:rotate(45deg);background:var(--calcite-ui-foreground-1)}:host([data-placement^=top]) .arrow{inset-block-end:-4px}:host([data-placement^=bottom]) .arrow{inset-block-start:-4px}:host([data-placement^=left]) .arrow{direction:ltr;inset-inline-end:-4px}:host([data-placement^=right]) .arrow{direction:ltr;inset-inline-start:-4px}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3)}.heading{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1)}.container.has-header{flex-direction:column}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}";
119
-
120
- const manager = new PopoverManager();
121
- const Popover = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
122
- constructor() {
123
- super();
124
- this.__registerHost();
125
- this.__attachShadow();
126
- this.calcitePopoverBeforeClose = createEvent(this, "calcitePopoverBeforeClose", 6);
127
- this.calcitePopoverClose = createEvent(this, "calcitePopoverClose", 6);
128
- this.calcitePopoverBeforeOpen = createEvent(this, "calcitePopoverBeforeOpen", 6);
129
- this.calcitePopoverOpen = createEvent(this, "calcitePopoverOpen", 6);
130
- // --------------------------------------------------------------------------
131
- //
132
- // Properties
133
- //
134
- // --------------------------------------------------------------------------
135
- /**
136
- * When `true`, clicking outside of the component automatically closes open `calcite-popover`s.
137
- */
138
- this.autoClose = false;
139
- /**
140
- * When `true`, a close button is added to the component.
141
- *
142
- * @deprecated use dismissible instead.
143
- */
144
- this.closeButton = false;
145
- /**
146
- * When `true`, a close button is added to the component.
147
- *
148
- * @deprecated use `closable` instead.
149
- */
150
- this.dismissible = false;
151
- /** When `true`, display a close button within the component. */
152
- this.closable = false;
153
- /**
154
- * When `true`, prevents flipping the component's placement when overlapping its `referenceElement`.
155
- */
156
- this.disableFlip = false;
157
- /**
158
- * When `true`, removes the caret pointer.
159
- */
160
- this.disablePointer = false;
161
- /**
162
- * Offsets the position of the component away from the `referenceElement`.
163
- *
164
- * @default 6
165
- */
166
- this.offsetDistance = defaultOffsetDistance;
167
- /**
168
- * Offsets the position of the component along the `referenceElement`.
169
- */
170
- this.offsetSkidding = 0;
171
- /**
172
- * When `true`, displays and positions the component.
173
- */
174
- this.open = false;
175
- /**
176
- * Determines the type of positioning to use for the overlaid content.
177
- *
178
- * Using `"absolute"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.
179
- *
180
- * `"fixed"` value should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
181
- *
182
- */
183
- this.overlayPositioning = "absolute";
184
- /**
185
- * Determines where the component will be positioned relative to the `referenceElement`.
186
- *
187
- * @see [LogicalPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts#L25)
188
- */
189
- this.placement = defaultPopoverPlacement;
190
- /**
191
- * When `true`, disables automatically toggling the component when its `referenceElement` has been triggered.
192
- *
193
- * This property can be set to `true` to manage when the component is open.
194
- */
195
- this.triggerDisabled = false;
196
- /**
197
- * Accessible name for the component's close button.
198
- *
199
- * @default "Close"
200
- */
201
- this.intlClose = TEXT.close;
202
- this.guid = `calcite-popover-${guid()}`;
203
- this.openTransitionProp = "opacity";
204
- this.hasLoaded = false;
205
- // --------------------------------------------------------------------------
206
- //
207
- // Private Methods
208
- //
209
- // --------------------------------------------------------------------------
210
- this.setTransitionEl = (el) => {
211
- this.transitionEl = el;
212
- connectOpenCloseComponent(this);
213
- };
214
- this.setFilteredPlacements = () => {
215
- const { el, flipPlacements } = this;
216
- this.filteredFlipPlacements = flipPlacements
217
- ? filterComputedPlacements(flipPlacements, el)
218
- : null;
219
- };
220
- this.setUpReferenceElement = (warn = true) => {
221
- this.removeReferences();
222
- this.effectiveReferenceElement = this.getReferenceElement();
223
- connectFloatingUI(this, this.effectiveReferenceElement, this.el);
224
- const { el, referenceElement, effectiveReferenceElement } = this;
225
- if (warn && referenceElement && !effectiveReferenceElement) {
226
- console.warn(`${el.tagName}: reference-element id "${referenceElement}" was not found.`, {
227
- el
228
- });
229
- }
230
- this.addReferences();
231
- };
232
- this.getId = () => {
233
- return this.el.id || this.guid;
234
- };
235
- this.setExpandedAttr = () => {
236
- const { effectiveReferenceElement, open } = this;
237
- if (!effectiveReferenceElement) {
238
- return;
239
- }
240
- if ("setAttribute" in effectiveReferenceElement) {
241
- effectiveReferenceElement.setAttribute(ARIA_EXPANDED, toAriaBoolean(open));
242
- }
243
- };
244
- this.addReferences = () => {
245
- const { effectiveReferenceElement } = this;
246
- if (!effectiveReferenceElement) {
247
- return;
248
- }
249
- const id = this.getId();
250
- if ("setAttribute" in effectiveReferenceElement) {
251
- effectiveReferenceElement.setAttribute(ARIA_CONTROLS, id);
252
- }
253
- manager.registerElement(effectiveReferenceElement, this.el);
254
- this.setExpandedAttr();
255
- };
256
- this.removeReferences = () => {
257
- const { effectiveReferenceElement } = this;
258
- if (!effectiveReferenceElement) {
259
- return;
260
- }
261
- if ("removeAttribute" in effectiveReferenceElement) {
262
- effectiveReferenceElement.removeAttribute(ARIA_CONTROLS);
263
- effectiveReferenceElement.removeAttribute(ARIA_EXPANDED);
264
- }
265
- manager.unregisterElement(effectiveReferenceElement);
266
- };
267
- this.hide = () => {
268
- this.open = false;
269
- };
270
- this.storeArrowEl = (el) => {
271
- this.arrowEl = el;
272
- this.reposition(true);
273
- };
274
- }
275
- handleDismissible(value) {
276
- this.closable = value;
277
- }
278
- handleClosable(value) {
279
- this.dismissible = value;
280
- }
281
- flipPlacementsHandler() {
282
- this.setFilteredPlacements();
283
- this.reposition(true);
284
- }
285
- offsetDistanceOffsetHandler() {
286
- this.reposition(true);
287
- }
288
- offsetSkiddingHandler() {
289
- this.reposition(true);
290
- }
291
- openHandler(value) {
292
- if (value) {
293
- this.reposition(true);
294
- }
295
- else {
296
- updateAfterClose(this.el);
297
- }
298
- this.setExpandedAttr();
299
- }
300
- overlayPositioningHandler() {
301
- this.reposition(true);
302
- }
303
- placementHandler() {
304
- this.reposition(true);
305
- }
306
- referenceElementHandler() {
307
- this.setUpReferenceElement();
308
- this.reposition(true);
309
- }
310
- // --------------------------------------------------------------------------
311
- //
312
- // Lifecycle
313
- //
314
- // --------------------------------------------------------------------------
315
- connectedCallback() {
316
- this.setFilteredPlacements();
317
- connectOpenCloseComponent(this);
318
- const closable = this.closable || this.dismissible;
319
- if (closable) {
320
- this.handleDismissible(closable);
321
- }
322
- if (closable) {
323
- this.handleClosable(closable);
324
- }
325
- this.setUpReferenceElement(this.hasLoaded);
326
- }
327
- componentDidLoad() {
328
- if (this.referenceElement && !this.effectiveReferenceElement) {
329
- this.setUpReferenceElement();
330
- }
331
- this.reposition();
332
- this.hasLoaded = true;
333
- }
334
- disconnectedCallback() {
335
- this.removeReferences();
336
- disconnectFloatingUI(this, this.effectiveReferenceElement, this.el);
337
- disconnectOpenCloseComponent(this);
338
- }
339
- // --------------------------------------------------------------------------
340
- //
341
- // Public Methods
342
- //
343
- // --------------------------------------------------------------------------
344
- /**
345
- * Updates the position of the component.
346
- *
347
- * @param delayed
348
- */
349
- async reposition(delayed = false) {
350
- const { el, effectiveReferenceElement, placement, overlayPositioning, disableFlip, filteredFlipPlacements, offsetDistance, offsetSkidding, arrowEl } = this;
351
- return reposition(this, {
352
- floatingEl: el,
353
- referenceEl: effectiveReferenceElement,
354
- overlayPositioning,
355
- placement,
356
- disableFlip,
357
- flipPlacements: filteredFlipPlacements,
358
- offsetDistance,
359
- offsetSkidding,
360
- includeArrow: !this.disablePointer,
361
- arrowEl,
362
- type: "popover"
363
- }, delayed);
364
- }
365
- /**
366
- * Sets focus on the component.
367
- *
368
- * @param focusId
369
- */
370
- async setFocus(focusId) {
371
- var _a;
372
- const { closeButtonEl } = this;
373
- if (focusId === "close-button" && closeButtonEl) {
374
- forceUpdate(closeButtonEl);
375
- closeButtonEl.setFocus();
376
- return;
377
- }
378
- (_a = this.el) === null || _a === void 0 ? void 0 : _a.focus();
379
- }
380
- /**
381
- * Toggles the component's open property.
382
- *
383
- * @param value
384
- */
385
- async toggle(value = !this.open) {
386
- this.open = value;
387
- }
388
- getReferenceElement() {
389
- const { referenceElement, el } = this;
390
- return ((typeof referenceElement === "string"
391
- ? queryElementRoots(el, { id: referenceElement })
392
- : referenceElement) || null);
393
- }
394
- onBeforeOpen() {
395
- this.calcitePopoverBeforeOpen.emit();
396
- }
397
- onOpen() {
398
- this.calcitePopoverOpen.emit();
399
- }
400
- onBeforeClose() {
401
- this.calcitePopoverBeforeClose.emit();
402
- }
403
- onClose() {
404
- this.calcitePopoverClose.emit();
405
- }
406
- // --------------------------------------------------------------------------
407
- //
408
- // Render Methods
409
- //
410
- // --------------------------------------------------------------------------
411
- renderCloseButton() {
412
- const { closeButton, intlClose, heading, closable } = this;
413
- return closable || closeButton ? (h("div", { class: CSS.closeButtonContainer }, h("calcite-action", { class: CSS.closeButton, onClick: this.hide, ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl), scale: heading ? "s" : "m", text: intlClose }, h("calcite-icon", { icon: "x", scale: heading ? "s" : "m" })))) : null;
414
- }
415
- renderHeader() {
416
- const { heading, headingLevel } = this;
417
- const headingNode = heading ? (h(Heading, { class: CSS.heading, level: headingLevel || HEADING_LEVEL }, heading)) : null;
418
- return headingNode ? (h("div", { class: CSS.header }, headingNode, this.renderCloseButton())) : null;
419
- }
420
- render() {
421
- const { effectiveReferenceElement, heading, label, open, disablePointer } = this;
422
- const displayed = effectiveReferenceElement && open;
423
- const hidden = !displayed;
424
- const arrowNode = !disablePointer ? h("div", { class: CSS.arrow, ref: this.storeArrowEl }) : null;
425
- return (h(Host, { "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "aria-live": "polite", "calcite-hydrated-hidden": hidden, id: this.getId(), role: "dialog" }, h("div", { class: {
426
- [FloatingCSS.animation]: true,
427
- [FloatingCSS.animationActive]: displayed
428
- }, ref: this.setTransitionEl }, arrowNode, h("div", { class: {
429
- [CSS.hasHeader]: !!heading,
430
- [CSS.container]: true
431
- } }, this.renderHeader(), h("div", { class: CSS.content }, h("slot", null)), !heading ? this.renderCloseButton() : null))));
432
- }
433
- get el() { return this; }
434
- static get watchers() { return {
435
- "dismissible": ["handleDismissible"],
436
- "closable": ["handleClosable"],
437
- "flipPlacements": ["flipPlacementsHandler"],
438
- "offsetDistance": ["offsetDistanceOffsetHandler"],
439
- "offsetSkidding": ["offsetSkiddingHandler"],
440
- "open": ["openHandler"],
441
- "overlayPositioning": ["overlayPositioningHandler"],
442
- "placement": ["placementHandler"],
443
- "referenceElement": ["referenceElementHandler"]
444
- }; }
445
- static get style() { return popoverCss; }
446
- }, [1, "calcite-popover", {
447
- "autoClose": [516, "auto-close"],
448
- "closeButton": [516, "close-button"],
449
- "dismissible": [1540],
450
- "closable": [1540],
451
- "disableFlip": [516, "disable-flip"],
452
- "disablePointer": [516, "disable-pointer"],
453
- "flipPlacements": [16],
454
- "heading": [1],
455
- "headingLevel": [514, "heading-level"],
456
- "label": [1],
457
- "offsetDistance": [514, "offset-distance"],
458
- "offsetSkidding": [514, "offset-skidding"],
459
- "open": [1540],
460
- "overlayPositioning": [513, "overlay-positioning"],
461
- "placement": [513],
462
- "referenceElement": [1, "reference-element"],
463
- "triggerDisabled": [516, "trigger-disabled"],
464
- "intlClose": [1, "intl-close"],
465
- "effectiveReferenceElement": [32],
466
- "reposition": [64],
467
- "setFocus": [64],
468
- "toggle": [64]
469
- }]);
470
- function defineCustomElement() {
471
- if (typeof customElements === "undefined") {
472
- return;
473
- }
474
- const components = ["calcite-popover", "calcite-action", "calcite-icon", "calcite-loader"];
475
- components.forEach(tagName => { switch (tagName) {
476
- case "calcite-popover":
477
- if (!customElements.get(tagName)) {
478
- customElements.define(tagName, Popover);
479
- }
480
- break;
481
- case "calcite-action":
482
- if (!customElements.get(tagName)) {
483
- defineCustomElement$3();
484
- }
485
- break;
486
- case "calcite-icon":
487
- if (!customElements.get(tagName)) {
488
- defineCustomElement$2();
489
- }
490
- break;
491
- case "calcite-loader":
492
- if (!customElements.get(tagName)) {
493
- defineCustomElement$1();
494
- }
495
- break;
496
- } });
497
- }
498
- defineCustomElement();
499
-
500
- export { Popover as P, defineCustomElement as d };
501
-
502
- //# sourceMappingURL=popover.js.map
@@ -1 +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E,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,GAAG,IAAI,CAAC;IAClG,QAAQ,CAAC,CAAC,IAAI,EAAE,EAAE,aAAa,EAAE,aAAa,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,yBAAyB,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE;QACzL,CAAC,WAAW,CAAC,SAAS,GAAG,IAAI;QAC7B,CAAC,WAAW,CAAC,eAAe,GAAG,SAAS;OACzC,EAAE,GAAG,EAAE,IAAI,CAAC,eAAe,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE;QAC3D,CAAC,GAAG,CAAC,SAAS,GAAG,CAAC,CAAC,OAAO;QAC1B,CAAC,GAAG,CAAC,SAAS,GAAG,IAAI;OACtB,EAAE,EAAE,IAAI,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,EAAE,CAAC,OAAO,GAAG,IAAI,CAAC,iBAAiB,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,EAAE;GAC/H;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/popover/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/popover/PopoverManager.js","./node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css?tag=calcite-popover&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/popover/popover.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nexport const CSS = {\n container: \"container\",\n arrow: \"arrow\",\n imageContainer: \"image-container\",\n closeButtonContainer: \"close-button-container\",\n closeButton: \"close-button\",\n content: \"content\",\n hasHeader: \"has-header\",\n header: \"header\",\n headerContent: \"header-content\",\n heading: \"heading\"\n};\nexport const TEXT = {\n close: \"Close\"\n};\nexport const defaultPopoverPlacement = \"auto\";\nexport const ARIA_CONTROLS = \"aria-controls\";\nexport const ARIA_EXPANDED = \"aria-expanded\";\nexport const HEADING_LEVEL = 2;\n","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { isPrimaryPointerButton } from \"../../utils/dom\";\nimport { isActivationKey } from \"../../utils/key\";\nexport default class PopoverManager {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Private Properties\n //\n // --------------------------------------------------------------------------\n this.registeredElements = new Map();\n this.registeredElementCount = 0;\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.queryPopover = (composedPath) => {\n const { registeredElements } = this;\n const registeredElement = composedPath.find((pathEl) => registeredElements.has(pathEl));\n return registeredElements.get(registeredElement);\n };\n this.togglePopovers = (event) => {\n const composedPath = event.composedPath();\n const togglePopover = this.queryPopover(composedPath);\n if (togglePopover && !togglePopover.triggerDisabled) {\n togglePopover.toggle();\n }\n Array.from(this.registeredElements.values())\n .filter((popover) => popover !== togglePopover && popover.autoClose && popover.open && !composedPath.includes(popover))\n .forEach((popover) => popover.toggle(false));\n };\n this.keyHandler = (event) => {\n if (event.defaultPrevented || !isActivationKey(event.key)) {\n return;\n }\n this.togglePopovers(event);\n };\n this.clickHandler = (event) => {\n if (isPrimaryPointerButton(event)) {\n this.togglePopovers(event);\n }\n };\n }\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n registerElement(referenceEl, popover) {\n this.registeredElementCount++;\n this.registeredElements.set(referenceEl, popover);\n if (this.registeredElementCount === 1) {\n this.addListeners();\n }\n }\n unregisterElement(referenceEl) {\n if (this.registeredElements.delete(referenceEl)) {\n this.registeredElementCount--;\n }\n if (this.registeredElementCount === 0) {\n this.removeListeners();\n }\n }\n addListeners() {\n document.addEventListener(\"pointerdown\", this.clickHandler, { capture: true });\n document.addEventListener(\"keydown\", this.keyHandler, { capture: true });\n }\n removeListeners() {\n document.removeEventListener(\"pointerdown\", this.clickHandler, { capture: true });\n document.removeEventListener(\"keydown\", this.keyHandler, { capture: true });\n }\n}\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n display: block;\n position: absolute;\n z-index: 900;\n}\n\n.calcite-floating-ui-anim {\n position: relative;\n transition: var(--calcite-floating-ui-transition);\n visibility: hidden;\n transition-property: transform, visibility, opacity;\n opacity: 0;\n box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);\n z-index: 1;\n border-radius: 0.25rem;\n}\n\n:host([data-placement^=bottom]) .calcite-floating-ui-anim {\n transform: translateY(-5px);\n}\n\n:host([data-placement^=top]) .calcite-floating-ui-anim {\n transform: translateY(5px);\n}\n\n:host([data-placement^=left]) .calcite-floating-ui-anim {\n transform: translateX(5px);\n}\n\n:host([data-placement^=right]) .calcite-floating-ui-anim {\n transform: translateX(-5px);\n}\n\n:host([data-placement]) .calcite-floating-ui-anim--active {\n opacity: 1;\n visibility: visible;\n transform: translate(0);\n}\n\n:host([calcite-hydrated-hidden]) {\n visibility: hidden !important;\n pointer-events: none;\n}\n\n.arrow,\n.arrow::before {\n position: absolute;\n inline-size: 8px;\n block-size: 8px;\n z-index: -1;\n}\n\n.arrow::before {\n content: \"\";\n --tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);\n --tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n transform: rotate(45deg);\n background: var(--calcite-ui-foreground-1);\n}\n\n:host([data-placement^=top]) .arrow {\n inset-block-end: -4px;\n}\n\n:host([data-placement^=bottom]) .arrow {\n inset-block-start: -4px;\n}\n\n:host([data-placement^=left]) .arrow {\n direction: ltr;\n inset-inline-end: -4px;\n}\n\n:host([data-placement^=right]) .arrow {\n direction: ltr;\n inset-inline-start: -4px;\n}\n\n:host {\n pointer-events: none;\n}\n\n:host([open]) {\n pointer-events: initial;\n}\n\n.calcite-floating-ui-anim {\n border-radius: 0.25rem;\n border-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n background-color: var(--calcite-ui-foreground-1);\n}\n\n.arrow::before {\n outline: 1px solid var(--calcite-ui-border-3);\n}\n\n.header {\n display: flex;\n flex: 1 1 auto;\n align-items: stretch;\n justify-content: flex-start;\n border-width: 0px;\n border-block-end-width: 1px;\n border-style: solid;\n background-color: var(--calcite-ui-foreground-1);\n border-block-end-color: var(--calcite-ui-border-3);\n}\n\n.heading {\n margin: 0px;\n display: block;\n flex: 1 1 auto;\n align-self: center;\n white-space: normal;\n padding-inline: 1rem;\n padding-block: 0.75rem;\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n font-weight: var(--calcite-font-weight-medium);\n color: var(--calcite-ui-text-1);\n word-wrap: break-word;\n word-break: break-word;\n}\n\n.container {\n position: relative;\n display: flex;\n block-size: 100%;\n flex-direction: row;\n flex-wrap: nowrap;\n border-radius: 0.25rem;\n background-color: var(--calcite-ui-foreground-1);\n color: var(--calcite-ui-text-1);\n}\n.container.has-header {\n flex-direction: column;\n}\n\n.content {\n display: flex;\n block-size: 100%;\n inline-size: 100%;\n flex-direction: column;\n flex-wrap: nowrap;\n align-self: center;\n word-wrap: break-word;\n word-break: break-word;\n}\n\n.close-button-container {\n display: flex;\n overflow: hidden;\n flex: 0 0 auto;\n border-start-end-radius: 0.25rem;\n border-end-end-radius: 0.25rem;\n}\n\n::slotted(calcite-panel), \n::slotted(calcite-flow) {\n block-size: 100%;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { forceUpdate, Host, h } from \"@stencil/core\";\nimport { CSS, ARIA_CONTROLS, ARIA_EXPANDED, HEADING_LEVEL, TEXT, defaultPopoverPlacement } from \"./resources\";\nimport { FloatingCSS, connectFloatingUI, disconnectFloatingUI, defaultOffsetDistance, filterComputedPlacements, reposition, updateAfterClose } from \"../../utils/floating-ui\";\nimport { guid } from \"../../utils/guid\";\nimport { queryElementRoots, toAriaBoolean } from \"../../utils/dom\";\nimport { connectOpenCloseComponent, disconnectOpenCloseComponent } from \"../../utils/openCloseComponent\";\nimport { Heading } from \"../functional/Heading\";\nimport PopoverManager from \"./PopoverManager\";\nconst manager = new PopoverManager();\n/**\n * @slot - A slot for adding custom content.\n */\nexport class Popover {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * When `true`, clicking outside of the component automatically closes open `calcite-popover`s.\n */\n this.autoClose = false;\n /**\n * When `true`, a close button is added to the component.\n *\n * @deprecated use dismissible instead.\n */\n this.closeButton = false;\n /**\n * When `true`, a close button is added to the component.\n *\n * @deprecated use `closable` instead.\n */\n this.dismissible = false;\n /** When `true`, display a close button within the component. */\n this.closable = false;\n /**\n * When `true`, prevents flipping the component's placement when overlapping its `referenceElement`.\n */\n this.disableFlip = false;\n /**\n * When `true`, removes the caret pointer.\n */\n this.disablePointer = false;\n /**\n * Offsets the position of the component away from the `referenceElement`.\n *\n * @default 6\n */\n this.offsetDistance = defaultOffsetDistance;\n /**\n * Offsets the position of the component along the `referenceElement`.\n */\n this.offsetSkidding = 0;\n /**\n * When `true`, displays and positions the component.\n */\n this.open = false;\n /**\n * Determines the type of positioning to use for the overlaid content.\n *\n * Using `\"absolute\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\n *\n * `\"fixed\"` value should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\"fixed\"`.\n *\n */\n this.overlayPositioning = \"absolute\";\n /**\n * Determines where the component will be positioned relative to the `referenceElement`.\n *\n * @see [LogicalPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts#L25)\n */\n this.placement = defaultPopoverPlacement;\n /**\n * When `true`, disables automatically toggling the component when its `referenceElement` has been triggered.\n *\n * This property can be set to `true` to manage when the component is open.\n */\n this.triggerDisabled = false;\n /**\n * Accessible name for the component's close button.\n *\n * @default \"Close\"\n */\n this.intlClose = TEXT.close;\n this.guid = `calcite-popover-${guid()}`;\n this.openTransitionProp = \"opacity\";\n this.hasLoaded = false;\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.setTransitionEl = (el) => {\n this.transitionEl = el;\n connectOpenCloseComponent(this);\n };\n this.setFilteredPlacements = () => {\n const { el, flipPlacements } = this;\n this.filteredFlipPlacements = flipPlacements\n ? filterComputedPlacements(flipPlacements, el)\n : null;\n };\n this.setUpReferenceElement = (warn = true) => {\n this.removeReferences();\n this.effectiveReferenceElement = this.getReferenceElement();\n connectFloatingUI(this, this.effectiveReferenceElement, this.el);\n const { el, referenceElement, effectiveReferenceElement } = this;\n if (warn && referenceElement && !effectiveReferenceElement) {\n console.warn(`${el.tagName}: reference-element id \"${referenceElement}\" was not found.`, {\n el\n });\n }\n this.addReferences();\n };\n this.getId = () => {\n return this.el.id || this.guid;\n };\n this.setExpandedAttr = () => {\n const { effectiveReferenceElement, open } = this;\n if (!effectiveReferenceElement) {\n return;\n }\n if (\"setAttribute\" in effectiveReferenceElement) {\n effectiveReferenceElement.setAttribute(ARIA_EXPANDED, toAriaBoolean(open));\n }\n };\n this.addReferences = () => {\n const { effectiveReferenceElement } = this;\n if (!effectiveReferenceElement) {\n return;\n }\n const id = this.getId();\n if (\"setAttribute\" in effectiveReferenceElement) {\n effectiveReferenceElement.setAttribute(ARIA_CONTROLS, id);\n }\n manager.registerElement(effectiveReferenceElement, this.el);\n this.setExpandedAttr();\n };\n this.removeReferences = () => {\n const { effectiveReferenceElement } = this;\n if (!effectiveReferenceElement) {\n return;\n }\n if (\"removeAttribute\" in effectiveReferenceElement) {\n effectiveReferenceElement.removeAttribute(ARIA_CONTROLS);\n effectiveReferenceElement.removeAttribute(ARIA_EXPANDED);\n }\n manager.unregisterElement(effectiveReferenceElement);\n };\n this.hide = () => {\n this.open = false;\n };\n this.storeArrowEl = (el) => {\n this.arrowEl = el;\n this.reposition(true);\n };\n }\n handleDismissible(value) {\n this.closable = value;\n }\n handleClosable(value) {\n this.dismissible = value;\n }\n flipPlacementsHandler() {\n this.setFilteredPlacements();\n this.reposition(true);\n }\n offsetDistanceOffsetHandler() {\n this.reposition(true);\n }\n offsetSkiddingHandler() {\n this.reposition(true);\n }\n openHandler(value) {\n if (value) {\n this.reposition(true);\n }\n else {\n updateAfterClose(this.el);\n }\n this.setExpandedAttr();\n }\n overlayPositioningHandler() {\n this.reposition(true);\n }\n placementHandler() {\n this.reposition(true);\n }\n referenceElementHandler() {\n this.setUpReferenceElement();\n this.reposition(true);\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n this.setFilteredPlacements();\n connectOpenCloseComponent(this);\n const closable = this.closable || this.dismissible;\n if (closable) {\n this.handleDismissible(closable);\n }\n if (closable) {\n this.handleClosable(closable);\n }\n this.setUpReferenceElement(this.hasLoaded);\n }\n componentDidLoad() {\n if (this.referenceElement && !this.effectiveReferenceElement) {\n this.setUpReferenceElement();\n }\n this.reposition();\n this.hasLoaded = true;\n }\n disconnectedCallback() {\n this.removeReferences();\n disconnectFloatingUI(this, this.effectiveReferenceElement, this.el);\n disconnectOpenCloseComponent(this);\n }\n // --------------------------------------------------------------------------\n //\n // Public Methods\n //\n // --------------------------------------------------------------------------\n /**\n * Updates the position of the component.\n *\n * @param delayed\n */\n async reposition(delayed = false) {\n const { el, effectiveReferenceElement, placement, overlayPositioning, disableFlip, filteredFlipPlacements, offsetDistance, offsetSkidding, arrowEl } = this;\n return reposition(this, {\n floatingEl: el,\n referenceEl: effectiveReferenceElement,\n overlayPositioning,\n placement,\n disableFlip,\n flipPlacements: filteredFlipPlacements,\n offsetDistance,\n offsetSkidding,\n includeArrow: !this.disablePointer,\n arrowEl,\n type: \"popover\"\n }, delayed);\n }\n /**\n * Sets focus on the component.\n *\n * @param focusId\n */\n async setFocus(focusId) {\n var _a;\n const { closeButtonEl } = this;\n if (focusId === \"close-button\" && closeButtonEl) {\n forceUpdate(closeButtonEl);\n closeButtonEl.setFocus();\n return;\n }\n (_a = this.el) === null || _a === void 0 ? void 0 : _a.focus();\n }\n /**\n * Toggles the component's open property.\n *\n * @param value\n */\n async toggle(value = !this.open) {\n this.open = value;\n }\n getReferenceElement() {\n const { referenceElement, el } = this;\n return ((typeof referenceElement === \"string\"\n ? queryElementRoots(el, { id: referenceElement })\n : referenceElement) || null);\n }\n onBeforeOpen() {\n this.calcitePopoverBeforeOpen.emit();\n }\n onOpen() {\n this.calcitePopoverOpen.emit();\n }\n onBeforeClose() {\n this.calcitePopoverBeforeClose.emit();\n }\n onClose() {\n this.calcitePopoverClose.emit();\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderCloseButton() {\n const { closeButton, intlClose, heading, closable } = this;\n return closable || closeButton ? (h(\"div\", { class: CSS.closeButtonContainer }, h(\"calcite-action\", { class: CSS.closeButton, onClick: this.hide, ref: (closeButtonEl) => (this.closeButtonEl = closeButtonEl), scale: heading ? \"s\" : \"m\", text: intlClose }, h(\"calcite-icon\", { icon: \"x\", scale: heading ? \"s\" : \"m\" })))) : null;\n }\n renderHeader() {\n const { heading, headingLevel } = this;\n const headingNode = heading ? (h(Heading, { class: CSS.heading, level: headingLevel || HEADING_LEVEL }, heading)) : null;\n return headingNode ? (h(\"div\", { class: CSS.header }, headingNode, this.renderCloseButton())) : null;\n }\n render() {\n const { effectiveReferenceElement, heading, label, open, disablePointer } = this;\n const displayed = effectiveReferenceElement && open;\n const hidden = !displayed;\n const arrowNode = !disablePointer ? h(\"div\", { class: CSS.arrow, ref: this.storeArrowEl }) : null;\n return (h(Host, { \"aria-hidden\": toAriaBoolean(hidden), \"aria-label\": label, \"aria-live\": \"polite\", \"calcite-hydrated-hidden\": hidden, id: this.getId(), role: \"dialog\" }, h(\"div\", { class: {\n [FloatingCSS.animation]: true,\n [FloatingCSS.animationActive]: displayed\n }, ref: this.setTransitionEl }, arrowNode, h(\"div\", { class: {\n [CSS.hasHeader]: !!heading,\n [CSS.container]: true\n } }, this.renderHeader(), h(\"div\", { class: CSS.content }, h(\"slot\", null)), !heading ? this.renderCloseButton() : null))));\n }\n static get is() { return \"calcite-popover\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"popover.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"popover.css\"]\n };\n }\n static get properties() {\n return {\n \"autoClose\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, clicking outside of the component automatically closes open `calcite-popover`s.\"\n },\n \"attribute\": \"auto-close\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"closeButton\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use dismissible instead.\"\n }],\n \"text\": \"When `true`, a close button is added to the component.\"\n },\n \"attribute\": \"close-button\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"dismissible\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `closable` instead.\"\n }],\n \"text\": \"When `true`, a close button is added to the component.\"\n },\n \"attribute\": \"dismissible\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"closable\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, display a close button within the component.\"\n },\n \"attribute\": \"closable\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"disableFlip\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, prevents flipping the component's placement when overlapping its `referenceElement`.\"\n },\n \"attribute\": \"disable-flip\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"disablePointer\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, removes the caret pointer.\"\n },\n \"attribute\": \"disable-pointer\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"flipPlacements\": {\n \"type\": \"unknown\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"EffectivePlacement[]\",\n \"resolved\": \"Placement[]\",\n \"references\": {\n \"EffectivePlacement\": {\n \"location\": \"import\",\n \"path\": \"../../utils/floating-ui\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Defines the available placements that can be used when a flip occurs.\"\n }\n },\n \"heading\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The component header text.\"\n },\n \"attribute\": \"heading\",\n \"reflect\": false\n },\n \"headingLevel\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HeadingLevel\",\n \"resolved\": \"1 | 2 | 3 | 4 | 5 | 6\",\n \"references\": {\n \"HeadingLevel\": {\n \"location\": \"import\",\n \"path\": \"../functional/Heading\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the number at which section headings should start.\"\n },\n \"attribute\": \"heading-level\",\n \"reflect\": true\n },\n \"label\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for the component.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"offsetDistance\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"6\"\n }],\n \"text\": \"Offsets the position of the component away from the `referenceElement`.\"\n },\n \"attribute\": \"offset-distance\",\n \"reflect\": true,\n \"defaultValue\": \"defaultOffsetDistance\"\n },\n \"offsetSkidding\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"number\",\n \"resolved\": \"number\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Offsets the position of the component along the `referenceElement`.\"\n },\n \"attribute\": \"offset-skidding\",\n \"reflect\": true,\n \"defaultValue\": \"0\"\n },\n \"open\": {\n \"type\": \"boolean\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, displays and positions the component.\"\n },\n \"attribute\": \"open\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"overlayPositioning\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"OverlayPositioning\",\n \"resolved\": \"\\\"absolute\\\" | \\\"fixed\\\"\",\n \"references\": {\n \"OverlayPositioning\": {\n \"location\": \"import\",\n \"path\": \"../../utils/floating-ui\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Determines the type of positioning to use for the overlaid content.\\n\\nUsing `\\\"absolute\\\"` will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout.\\n\\n`\\\"fixed\\\"` value should be used to escape an overflowing parent container, or when the reference element's `position` CSS property is `\\\"fixed\\\"`.\"\n },\n \"attribute\": \"overlay-positioning\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"absolute\\\"\"\n },\n \"placement\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"LogicalPlacement\",\n \"resolved\": \"Placement | VariationPlacement | AutoPlacement | DeprecatedPlacement\",\n \"references\": {\n \"LogicalPlacement\": {\n \"location\": \"import\",\n \"path\": \"../../utils/floating-ui\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"see\",\n \"text\": \"[LogicalPlacement](https://github.com/Esri/calcite-components/blob/master/src/utils/floating-ui.ts#L25)\"\n }],\n \"text\": \"Determines where the component will be positioned relative to the `referenceElement`.\"\n },\n \"attribute\": \"placement\",\n \"reflect\": true,\n \"defaultValue\": \"defaultPopoverPlacement\"\n },\n \"referenceElement\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ReferenceElement | string\",\n \"resolved\": \"Element | VirtualElement | string\",\n \"references\": {\n \"ReferenceElement\": {\n \"location\": \"import\",\n \"path\": \"../../utils/floating-ui\"\n }\n }\n },\n \"required\": true,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The `referenceElement` used to position the component according to its `placement` value. Setting to an `HTMLElement` is preferred so the component does not need to query the DOM. However, a string `id` of the reference element can also be used.\"\n },\n \"attribute\": \"reference-element\",\n \"reflect\": false\n },\n \"triggerDisabled\": {\n \"type\": \"boolean\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"boolean\",\n \"resolved\": \"boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"When `true`, disables automatically toggling the component when its `referenceElement` has been triggered.\\n\\nThis property can be set to `true` to manage when the component is open.\"\n },\n \"attribute\": \"trigger-disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"intlClose\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [{\n \"name\": \"default\",\n \"text\": \"\\\"Close\\\"\"\n }],\n \"text\": \"Accessible name for the component's close button.\"\n },\n \"attribute\": \"intl-close\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.close\"\n }\n };\n }\n static get states() {\n return {\n \"effectiveReferenceElement\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"calcitePopoverBeforeClose\",\n \"name\": \"calcitePopoverBeforeClose\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the component is requested to be closed and before the closing transition begins.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calcitePopoverClose\",\n \"name\": \"calcitePopoverClose\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the component is closed and animation is complete.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calcitePopoverBeforeOpen\",\n \"name\": \"calcitePopoverBeforeOpen\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the component is added to the DOM but not rendered, and before the opening transition begins.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calcitePopoverOpen\",\n \"name\": \"calcitePopoverOpen\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fires when the component is open and animation is complete.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"reposition\": {\n \"complexType\": {\n \"signature\": \"(delayed?: boolean) => Promise<void>\",\n \"parameters\": [{\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"delayed\"\n }],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Updates the position of the component.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"delayed\"\n }]\n }\n },\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"(focusId?: \\\"close-button\\\") => Promise<void>\",\n \"parameters\": [{\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"focusId\"\n }],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Sets focus on the component.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"focusId\"\n }]\n }\n },\n \"toggle\": {\n \"complexType\": {\n \"signature\": \"(value?: boolean) => Promise<void>\",\n \"parameters\": [{\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"value\"\n }],\n \"text\": \"\"\n }],\n \"references\": {\n \"Promise\": {\n \"location\": \"global\"\n }\n },\n \"return\": \"Promise<void>\"\n },\n \"docs\": {\n \"text\": \"Toggles the component's open property.\",\n \"tags\": [{\n \"name\": \"param\",\n \"text\": \"value\"\n }]\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"dismissible\",\n \"methodName\": \"handleDismissible\"\n }, {\n \"propName\": \"closable\",\n \"methodName\": \"handleClosable\"\n }, {\n \"propName\": \"flipPlacements\",\n \"methodName\": \"flipPlacementsHandler\"\n }, {\n \"propName\": \"offsetDistance\",\n \"methodName\": \"offsetDistanceOffsetHandler\"\n }, {\n \"propName\": \"offsetSkidding\",\n \"methodName\": \"offsetSkiddingHandler\"\n }, {\n \"propName\": \"open\",\n \"methodName\": \"openHandler\"\n }, {\n \"propName\": \"overlayPositioning\",\n \"methodName\": \"overlayPositioningHandler\"\n }, {\n \"propName\": \"placement\",\n \"methodName\": \"placementHandler\"\n }, {\n \"propName\": \"referenceElement\",\n \"methodName\": \"referenceElementHandler\"\n }];\n }\n}\n"],"version":3}