@esri/solutions-components 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of @esri/solutions-components might be problematic. Click here for more details.

Files changed (892) hide show
  1. package/README.md +6 -5
  2. package/dist/cjs/CalciteExpandToggle-3e4e3b6c.js +0 -2
  3. package/dist/cjs/CalciteHeading-d765addc.js +0 -2
  4. package/dist/cjs/_commonjsHelpers-84e109b5.js +26 -0
  5. package/dist/cjs/array-cd6c0c32.js +0 -2
  6. package/dist/cjs/calcite-accordion-item.cjs.entry.js +0 -2
  7. package/dist/cjs/calcite-accordion.cjs.entry.js +0 -2
  8. package/dist/cjs/calcite-action-bar.cjs.entry.js +0 -2
  9. package/dist/cjs/calcite-action-group.cjs.entry.js +0 -2
  10. package/dist/cjs/calcite-action-menu_3.cjs.entry.js +0 -2
  11. package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -2
  12. package/dist/cjs/calcite-action.cjs.entry.js +0 -2
  13. package/dist/cjs/calcite-alert.cjs.entry.js +0 -2
  14. package/dist/cjs/calcite-avatar.cjs.entry.js +0 -2
  15. package/dist/cjs/calcite-block-section.cjs.entry.js +0 -2
  16. package/dist/cjs/calcite-block.cjs.entry.js +0 -2
  17. package/dist/cjs/calcite-button.cjs.entry.js +0 -2
  18. package/dist/cjs/calcite-card.cjs.entry.js +0 -2
  19. package/dist/cjs/calcite-checkbox_4.cjs.entry.js +0 -2
  20. package/dist/cjs/calcite-chip.cjs.entry.js +0 -2
  21. package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +3 -4
  22. package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +2 -3
  23. package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -4
  24. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +0 -2
  25. package/dist/cjs/calcite-combobox-item.cjs.entry.js +0 -2
  26. package/dist/cjs/calcite-combobox.cjs.entry.js +0 -2
  27. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +0 -2
  28. package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -2
  29. package/dist/cjs/calcite-dropdown-group.cjs.entry.js +0 -2
  30. package/dist/cjs/calcite-dropdown-item.cjs.entry.js +0 -2
  31. package/dist/cjs/calcite-dropdown.cjs.entry.js +0 -2
  32. package/dist/cjs/calcite-fab.cjs.entry.js +0 -2
  33. package/dist/cjs/calcite-filter.cjs.entry.js +0 -2
  34. package/dist/cjs/calcite-flow.cjs.entry.js +0 -2
  35. package/dist/cjs/calcite-graph.cjs.entry.js +0 -2
  36. package/dist/cjs/calcite-handle.cjs.entry.js +0 -2
  37. package/dist/cjs/calcite-icon.cjs.entry.js +0 -2
  38. package/dist/cjs/calcite-inline-editable.cjs.entry.js +0 -2
  39. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -2
  40. package/dist/cjs/calcite-input-message.cjs.entry.js +0 -2
  41. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +0 -2
  42. package/dist/cjs/calcite-input_2.cjs.entry.js +0 -2
  43. package/dist/cjs/calcite-label.cjs.entry.js +0 -2
  44. package/dist/cjs/calcite-link.cjs.entry.js +0 -2
  45. package/dist/cjs/calcite-list-item-group.cjs.entry.js +0 -2
  46. package/dist/cjs/calcite-list-item.cjs.entry.js +0 -2
  47. package/dist/cjs/calcite-list.cjs.entry.js +0 -2
  48. package/dist/cjs/calcite-loader.cjs.entry.js +0 -2
  49. package/dist/cjs/calcite-modal.cjs.entry.js +0 -2
  50. package/dist/cjs/calcite-notice.cjs.entry.js +0 -2
  51. package/dist/cjs/calcite-option-group.cjs.entry.js +0 -2
  52. package/dist/cjs/calcite-option.cjs.entry.js +0 -2
  53. package/dist/cjs/calcite-pagination.cjs.entry.js +0 -2
  54. package/dist/cjs/calcite-panel_14.cjs.entry.js +41 -8
  55. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +0 -2
  56. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +0 -2
  57. package/dist/cjs/calcite-pick-list.cjs.entry.js +0 -2
  58. package/dist/cjs/calcite-popover-manager.cjs.entry.js +0 -2
  59. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +0 -2
  60. package/dist/cjs/calcite-radio-button.cjs.entry.js +0 -2
  61. package/dist/cjs/calcite-radio-group-item.cjs.entry.js +0 -2
  62. package/dist/cjs/calcite-radio-group.cjs.entry.js +0 -2
  63. package/dist/cjs/calcite-radio.cjs.entry.js +0 -2
  64. package/dist/cjs/calcite-rating.cjs.entry.js +0 -2
  65. package/dist/cjs/calcite-scrim.cjs.entry.js +0 -2
  66. package/dist/cjs/calcite-select.cjs.entry.js +0 -2
  67. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +0 -2
  68. package/dist/cjs/calcite-slider.cjs.entry.js +0 -2
  69. package/dist/cjs/calcite-sortable-list.cjs.entry.js +0 -2
  70. package/dist/cjs/calcite-split-button.cjs.entry.js +0 -2
  71. package/dist/cjs/calcite-stepper-item.cjs.entry.js +0 -2
  72. package/dist/cjs/calcite-stepper.cjs.entry.js +0 -2
  73. package/dist/cjs/calcite-switch.cjs.entry.js +0 -2
  74. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +0 -2
  75. package/dist/cjs/calcite-tile-select.cjs.entry.js +0 -2
  76. package/dist/cjs/calcite-tile.cjs.entry.js +0 -2
  77. package/dist/cjs/calcite-time-picker.cjs.entry.js +0 -2
  78. package/dist/cjs/calcite-tip-group.cjs.entry.js +0 -2
  79. package/dist/cjs/calcite-tip-manager.cjs.entry.js +0 -2
  80. package/dist/cjs/calcite-tip.cjs.entry.js +0 -2
  81. package/dist/cjs/calcite-tooltip.cjs.entry.js +0 -2
  82. package/dist/cjs/calcite-value-list-item.cjs.entry.js +0 -2
  83. package/dist/cjs/calcite-value-list.cjs.entry.js +0 -2
  84. package/dist/cjs/common-a4edb52d.js +216 -0
  85. package/dist/cjs/date-0554c4d1.js +0 -2
  86. package/dist/cjs/debounce-df22462b.js +0 -2
  87. package/dist/cjs/dom-62511f59.js +0 -2
  88. package/dist/cjs/editStore-36fc36e6.js +2024 -0
  89. package/dist/cjs/forIn-6a1c2f6d.js +0 -2
  90. package/dist/cjs/form-0b5b2d4e.js +0 -2
  91. package/dist/cjs/generalHelpers-cee7d0da.js +168 -0
  92. package/dist/cjs/guid-c6be9504.js +0 -2
  93. package/dist/cjs/{index-706750dc.js → index-69e74dd7.js} +5 -19
  94. package/dist/cjs/index-81c17948.js +0 -2
  95. package/dist/cjs/index.cjs.js +0 -2
  96. package/dist/cjs/interfaces-5ba2c1a7.js +0 -2
  97. package/dist/cjs/key-2a6290c8.js +0 -2
  98. package/dist/cjs/label-46482470.js +0 -2
  99. package/dist/cjs/loader.cjs.js +1 -3
  100. package/dist/cjs/locale-0db34680.js +0 -2
  101. package/dist/cjs/math-71f8de66.js +0 -2
  102. package/dist/cjs/number-697ce34c.js +0 -2
  103. package/dist/cjs/observers-88bbd6ef.js +0 -2
  104. package/dist/cjs/popper-8c8dc960.js +0 -2
  105. package/dist/cjs/request-6905140c.js +550 -0
  106. package/dist/cjs/resources-20f88094.js +0 -2
  107. package/dist/cjs/resources-27c22d8a.js +0 -2
  108. package/dist/cjs/{resources-369e7421.js → resources-2a401414.js} +1 -3
  109. package/dist/cjs/resources-46af0638.js +0 -2
  110. package/dist/cjs/resources-509951f9.js +0 -2
  111. package/dist/cjs/resources-5b7958e4.js +0 -2
  112. package/dist/cjs/resources-a265534b.js +0 -2
  113. package/dist/cjs/resources-e231446d.js +0 -2
  114. package/dist/cjs/resources-ef6c71a1.js +0 -2
  115. package/dist/cjs/shared-list-render-63d3ea89.js +0 -2
  116. package/dist/cjs/solution-configuration.cjs.entry.js +172 -14
  117. package/dist/cjs/solution-contents_3.cjs.entry.js +42 -68
  118. package/dist/cjs/solutions.cjs.js +1 -3
  119. package/dist/cjs/sortable.esm-14548a17.js +0 -2
  120. package/dist/cjs/store-manager.cjs.entry.js +17 -8
  121. package/dist/cjs/templates-a0242ced.js +422 -0
  122. package/dist/cjs/time-c87dc79e.js +0 -2
  123. package/dist/cjs/utils-c19d354a.js +0 -2
  124. package/dist/cjs/utils-cb7373e6.js +0 -2
  125. package/dist/collection/assets/nls/fr/strings.js +2 -0
  126. package/dist/collection/assets/nls/strings.js +2 -0
  127. package/dist/collection/collection-manifest.json +9 -9
  128. package/dist/collection/components/json-editor/json-editor.js +40 -2
  129. package/dist/collection/components/solution-configuration/solution-configuration.js +251 -24
  130. package/dist/collection/components/solution-contents/solution-contents.js +12 -3
  131. package/dist/collection/components/solution-item/solution-item.css +1 -0
  132. package/dist/collection/components/solution-item/solution-item.js +2 -2
  133. package/dist/collection/components/solution-item-details/solution-item-details.js +4 -3
  134. package/dist/collection/components/solution-item-icon/solution-item-icon.js +0 -1
  135. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +2 -2
  136. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +2 -2
  137. package/dist/collection/components/solution-resource-item/solution-resource-item.js +2 -2
  138. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +68 -68
  139. package/dist/collection/components/solution-spatial-ref/spatialreferences.js +0 -2
  140. package/dist/collection/components/solution-template-data/solution-template-data.js +4 -4
  141. package/dist/collection/components/solution-variables/solution-variables.js +2 -2
  142. package/dist/collection/components/store-manager/store-manager.js +49 -5
  143. package/dist/collection/demos/browse-solutions.html +136 -54
  144. package/dist/collection/demos/solution-configuration.html +139 -12
  145. package/dist/collection/demos/solution-spatial-ref.html +1 -1
  146. package/dist/collection/index.js +0 -1
  147. package/dist/collection/utils/common.js +25 -77
  148. package/dist/collection/utils/common.ts +42 -73
  149. package/dist/collection/utils/editStore.js +0 -1
  150. package/dist/{solutions/p-ecbfddde.js → collection/utils/interfaces.js} +16 -17
  151. package/dist/collection/utils/interfaces.ts +126 -0
  152. package/dist/collection/utils/templates.js +8 -6
  153. package/dist/collection/utils/templates.ts +19 -33
  154. package/dist/custom-elements/index.js +3161 -152
  155. package/dist/esm/CalciteExpandToggle-5df46988.js +0 -2
  156. package/dist/esm/CalciteHeading-79b4b347.js +0 -2
  157. package/dist/esm/_commonjsHelpers-84c626bc.js +22 -0
  158. package/dist/esm/array-71e0c501.js +0 -2
  159. package/dist/esm/calcite-accordion-item.entry.js +0 -2
  160. package/dist/esm/calcite-accordion.entry.js +0 -2
  161. package/dist/esm/calcite-action-bar.entry.js +0 -2
  162. package/dist/esm/calcite-action-group.entry.js +0 -2
  163. package/dist/esm/calcite-action-menu_3.entry.js +0 -2
  164. package/dist/esm/calcite-action-pad.entry.js +0 -2
  165. package/dist/esm/calcite-action.entry.js +0 -2
  166. package/dist/esm/calcite-alert.entry.js +0 -2
  167. package/dist/esm/calcite-avatar.entry.js +0 -2
  168. package/dist/esm/calcite-block-section.entry.js +0 -2
  169. package/dist/esm/calcite-block.entry.js +0 -2
  170. package/dist/esm/calcite-button.entry.js +0 -2
  171. package/dist/esm/calcite-card.entry.js +0 -2
  172. package/dist/esm/calcite-checkbox_4.entry.js +0 -2
  173. package/dist/esm/calcite-chip.entry.js +0 -2
  174. package/dist/esm/calcite-color-picker-hex-input.entry.js +3 -4
  175. package/dist/esm/calcite-color-picker-swatch.entry.js +2 -3
  176. package/dist/esm/calcite-color-picker.entry.js +3 -4
  177. package/dist/esm/calcite-combobox-item-group.entry.js +0 -2
  178. package/dist/esm/calcite-combobox-item.entry.js +0 -2
  179. package/dist/esm/calcite-combobox.entry.js +0 -2
  180. package/dist/esm/calcite-date-picker-day_3.entry.js +0 -2
  181. package/dist/esm/calcite-date-picker.entry.js +0 -2
  182. package/dist/esm/calcite-dropdown-group.entry.js +0 -2
  183. package/dist/esm/calcite-dropdown-item.entry.js +0 -2
  184. package/dist/esm/calcite-dropdown.entry.js +0 -2
  185. package/dist/esm/calcite-fab.entry.js +0 -2
  186. package/dist/esm/calcite-filter.entry.js +0 -2
  187. package/dist/esm/calcite-flow.entry.js +0 -2
  188. package/dist/esm/calcite-graph.entry.js +0 -2
  189. package/dist/esm/calcite-handle.entry.js +0 -2
  190. package/dist/esm/calcite-icon.entry.js +0 -2
  191. package/dist/esm/calcite-inline-editable.entry.js +0 -2
  192. package/dist/esm/calcite-input-date-picker.entry.js +0 -2
  193. package/dist/esm/calcite-input-message.entry.js +0 -2
  194. package/dist/esm/calcite-input-time-picker.entry.js +0 -2
  195. package/dist/esm/calcite-input_2.entry.js +0 -2
  196. package/dist/esm/calcite-label.entry.js +0 -2
  197. package/dist/esm/calcite-link.entry.js +0 -2
  198. package/dist/esm/calcite-list-item-group.entry.js +0 -2
  199. package/dist/esm/calcite-list-item.entry.js +0 -2
  200. package/dist/esm/calcite-list.entry.js +0 -2
  201. package/dist/esm/calcite-loader.entry.js +0 -2
  202. package/dist/esm/calcite-modal.entry.js +0 -2
  203. package/dist/esm/calcite-notice.entry.js +0 -2
  204. package/dist/esm/calcite-option-group.entry.js +0 -2
  205. package/dist/esm/calcite-option.entry.js +0 -2
  206. package/dist/esm/calcite-pagination.entry.js +0 -2
  207. package/dist/esm/calcite-panel_14.entry.js +37 -4
  208. package/dist/esm/calcite-pick-list-group.entry.js +0 -2
  209. package/dist/esm/calcite-pick-list-item.entry.js +0 -2
  210. package/dist/esm/calcite-pick-list.entry.js +0 -2
  211. package/dist/esm/calcite-popover-manager.entry.js +0 -2
  212. package/dist/esm/calcite-radio-button-group.entry.js +0 -2
  213. package/dist/esm/calcite-radio-button.entry.js +0 -2
  214. package/dist/esm/calcite-radio-group-item.entry.js +0 -2
  215. package/dist/esm/calcite-radio-group.entry.js +0 -2
  216. package/dist/esm/calcite-radio.entry.js +0 -2
  217. package/dist/esm/calcite-rating.entry.js +0 -2
  218. package/dist/esm/calcite-scrim.entry.js +0 -2
  219. package/dist/esm/calcite-select.entry.js +0 -2
  220. package/dist/esm/calcite-shell-center-row.entry.js +0 -2
  221. package/dist/esm/calcite-slider.entry.js +0 -2
  222. package/dist/esm/calcite-sortable-list.entry.js +0 -2
  223. package/dist/esm/calcite-split-button.entry.js +0 -2
  224. package/dist/esm/calcite-stepper-item.entry.js +0 -2
  225. package/dist/esm/calcite-stepper.entry.js +0 -2
  226. package/dist/esm/calcite-switch.entry.js +0 -2
  227. package/dist/esm/calcite-tile-select-group.entry.js +0 -2
  228. package/dist/esm/calcite-tile-select.entry.js +0 -2
  229. package/dist/esm/calcite-tile.entry.js +0 -2
  230. package/dist/esm/calcite-time-picker.entry.js +0 -2
  231. package/dist/esm/calcite-tip-group.entry.js +0 -2
  232. package/dist/esm/calcite-tip-manager.entry.js +0 -2
  233. package/dist/esm/calcite-tip.entry.js +0 -2
  234. package/dist/esm/calcite-tooltip.entry.js +0 -2
  235. package/dist/esm/calcite-value-list-item.entry.js +0 -2
  236. package/dist/esm/calcite-value-list.entry.js +0 -2
  237. package/dist/esm/common-70333fb9.js +213 -0
  238. package/dist/esm/date-5d75460a.js +0 -2
  239. package/dist/esm/debounce-23ad5849.js +0 -2
  240. package/dist/esm/dom-1cc617ae.js +0 -2
  241. package/dist/esm/editStore-197be454.js +2022 -0
  242. package/dist/esm/forIn-c922d47c.js +0 -2
  243. package/dist/esm/form-636dfed1.js +0 -2
  244. package/dist/esm/generalHelpers-91e92dc0.js +161 -0
  245. package/dist/esm/guid-740f1f1a.js +0 -2
  246. package/dist/esm/index-a3c3e3db.js +0 -2
  247. package/dist/esm/{index-934f242e.js → index-c1264d13.js} +3 -17
  248. package/dist/esm/index.js +0 -2
  249. package/dist/esm/interfaces-4f07beec.js +0 -2
  250. package/dist/esm/key-1748eb79.js +0 -2
  251. package/dist/esm/label-851f8926.js +0 -2
  252. package/dist/esm/loader.js +1 -3
  253. package/dist/esm/locale-31c8d43b.js +0 -2
  254. package/dist/esm/math-d8795f31.js +0 -2
  255. package/dist/esm/number-47ecb380.js +0 -2
  256. package/dist/esm/observers-b13ff24b.js +0 -2
  257. package/dist/esm/popper-25874f2f.js +0 -2
  258. package/dist/esm/request-9c2c9a49.js +548 -0
  259. package/dist/esm/resources-12c3b829.js +0 -2
  260. package/dist/esm/resources-32d7dd89.js +0 -2
  261. package/dist/esm/resources-466ccf86.js +0 -2
  262. package/dist/esm/resources-4cc0ef44.js +0 -2
  263. package/dist/esm/resources-861d0240.js +0 -2
  264. package/dist/esm/resources-b023c30a.js +0 -2
  265. package/dist/esm/{resources-c537bacb.js → resources-d7e09977.js} +1 -3
  266. package/dist/esm/resources-e56b6e53.js +0 -2
  267. package/dist/esm/resources-ec79cfd7.js +0 -2
  268. package/dist/esm/shared-list-render-b5dacd2e.js +0 -2
  269. package/dist/esm/solution-configuration.entry.js +172 -14
  270. package/dist/esm/solution-contents_3.entry.js +42 -68
  271. package/dist/esm/solutions.js +1 -3
  272. package/dist/esm/sortable.esm-7856912e.js +0 -2
  273. package/dist/esm/store-manager.entry.js +17 -8
  274. package/dist/esm/templates-c15e0de2.js +414 -0
  275. package/dist/esm/time-a3b29c35.js +0 -2
  276. package/dist/esm/utils-021cb956.js +0 -2
  277. package/dist/esm/utils-5fdd203c.js +0 -2
  278. package/dist/solutions/assets/nls/fr/strings.js +2 -0
  279. package/dist/solutions/assets/nls/strings.js +2 -0
  280. package/dist/solutions/demos/browse-solutions.html +136 -54
  281. package/dist/solutions/demos/solution-configuration.html +139 -12
  282. package/dist/solutions/demos/solution-spatial-ref.html +1 -1
  283. package/dist/solutions/index.esm.js +0 -2
  284. package/dist/solutions/p-03c9247d.entry.js +10 -0
  285. package/dist/solutions/p-03da5f23.entry.js +6 -0
  286. package/dist/solutions/p-054256c8.entry.js +10 -0
  287. package/dist/solutions/p-05c73b7d.js +1 -2
  288. package/dist/solutions/p-06c2b347.entry.js +6 -0
  289. package/dist/solutions/p-09a06209.entry.js +6 -0
  290. package/dist/solutions/p-09e5283f.entry.js +6 -0
  291. package/dist/solutions/p-0a0ca7d3.entry.js +6 -0
  292. package/dist/solutions/p-0b8525e2.js +1 -2
  293. package/dist/solutions/p-0bddf168.entry.js +10 -0
  294. package/dist/solutions/p-0dd00bd7.entry.js +6 -0
  295. package/dist/solutions/p-0f8fd0f8.entry.js +10 -0
  296. package/dist/solutions/p-1345c0c8.js +6 -0
  297. package/dist/solutions/p-1387e8ef.entry.js +10 -0
  298. package/dist/solutions/p-17195493.entry.js +6 -0
  299. package/dist/solutions/p-172b8454.js +38 -0
  300. package/dist/solutions/p-173c3a97.entry.js +10 -0
  301. package/dist/solutions/p-175fe700.entry.js +6 -0
  302. package/dist/solutions/p-17f21116.entry.js +6 -0
  303. package/dist/solutions/p-18657c74.entry.js +10 -0
  304. package/dist/solutions/p-20c8a31e.entry.js +14 -0
  305. package/dist/solutions/p-228131f3.js +3 -3
  306. package/dist/solutions/p-2480c2c3.entry.js +10 -0
  307. package/dist/solutions/p-291cbb4f.js +1 -2
  308. package/dist/solutions/p-29d230fb.entry.js +6 -0
  309. package/dist/solutions/p-2de43402.entry.js +10 -0
  310. package/dist/solutions/p-2e1cd889.js +1 -2
  311. package/dist/solutions/p-386bc1f5.entry.js +10 -0
  312. package/dist/solutions/p-3956acc6.entry.js +6 -0
  313. package/dist/solutions/p-3ce922dd.js +20 -0
  314. package/dist/solutions/p-3e67ed97.js +1 -2
  315. package/dist/solutions/p-3eac2c21.entry.js +10 -0
  316. package/dist/solutions/p-3fd65329.entry.js +6 -0
  317. package/dist/solutions/p-41c2e1cc.js +1 -2
  318. package/dist/solutions/p-42f5b6d1.entry.js +10 -0
  319. package/dist/solutions/p-44e661a2.js +1 -2
  320. package/dist/solutions/p-4847f326.entry.js +10 -0
  321. package/dist/solutions/p-4a5b86a0.entry.js +10 -0
  322. package/dist/solutions/p-4f8cae93.entry.js +10 -0
  323. package/dist/solutions/p-51c9f2db.entry.js +10 -0
  324. package/dist/solutions/p-52d835be.entry.js +10 -0
  325. package/dist/solutions/p-55dddf06.entry.js +10 -0
  326. package/dist/solutions/p-56a376ea.entry.js +6 -0
  327. package/dist/solutions/p-57e5029a.entry.js +6 -0
  328. package/dist/solutions/p-58b7f4aa.entry.js +10 -0
  329. package/dist/solutions/p-5cd9ccc3.entry.js +22 -0
  330. package/dist/solutions/p-5dd4cf97.entry.js +6 -0
  331. package/dist/solutions/p-5edf418e.entry.js +10 -0
  332. package/dist/solutions/p-64711824.entry.js +10 -0
  333. package/dist/solutions/p-68bf7243.entry.js +11 -0
  334. package/dist/solutions/p-7096464e.js +3 -4
  335. package/dist/solutions/p-720922e5.entry.js +10 -0
  336. package/dist/solutions/p-73e2d13f.js +1 -2
  337. package/dist/solutions/p-73e8d41c.entry.js +10 -0
  338. package/dist/solutions/p-7804ce97.js +1 -2
  339. package/dist/solutions/p-79064f42.entry.js +6 -0
  340. package/dist/solutions/p-7976d171.entry.js +6 -0
  341. package/dist/solutions/p-7a98627f.entry.js +10 -0
  342. package/dist/solutions/p-7aaed3f1.entry.js +10 -0
  343. package/dist/solutions/p-7cc9c6af.js +2 -7
  344. package/dist/solutions/p-7df393df.js +1 -2
  345. package/dist/solutions/p-7f93b2dd.entry.js +6 -0
  346. package/dist/solutions/p-82ab483b.entry.js +10 -0
  347. package/dist/solutions/p-8565f0c1.entry.js +10 -0
  348. package/dist/solutions/p-85cf288c.js +1 -2
  349. package/dist/solutions/p-8701d184.entry.js +10 -0
  350. package/dist/solutions/p-946521e1.js +2 -3
  351. package/dist/solutions/p-974d27a4.entry.js +10 -0
  352. package/dist/solutions/p-9c08ce38.entry.js +6 -0
  353. package/dist/solutions/p-9deb6df3.js +36 -0
  354. package/dist/solutions/p-9df9ac35.js +1 -2
  355. package/dist/solutions/p-9ed0c781.entry.js +6 -0
  356. package/dist/solutions/p-9f3fa133.entry.js +10 -0
  357. package/dist/solutions/p-a10dc180.js +1 -2
  358. package/dist/solutions/p-a201c2ea.entry.js +6 -0
  359. package/dist/solutions/p-a598cbb6.entry.js +10 -0
  360. package/dist/solutions/p-a59dfe85.entry.js +6 -0
  361. package/dist/solutions/p-a5fbf459.entry.js +11 -0
  362. package/dist/solutions/p-a6faf819.entry.js +10 -0
  363. package/dist/solutions/p-a8b4d400.entry.js +10 -0
  364. package/dist/solutions/p-a93a4772.entry.js +10 -0
  365. package/dist/solutions/{p-07099311.entry.js → p-a9dd9571.entry.js} +1 -2
  366. package/dist/solutions/p-a9df64c4.js +1 -2
  367. package/dist/solutions/p-aa11e35b.entry.js +10 -0
  368. package/dist/solutions/p-ae4a329c.entry.js +6 -0
  369. package/dist/solutions/p-af9be2ca.js +1 -2
  370. package/dist/solutions/p-b16a91ae.entry.js +6 -0
  371. package/dist/solutions/p-b5693287.entry.js +6 -0
  372. package/dist/solutions/p-b5bbe558.entry.js +10 -0
  373. package/dist/solutions/p-b81ebd54.entry.js +10 -0
  374. package/dist/solutions/p-b85c1b6a.entry.js +6 -0
  375. package/dist/solutions/p-bb3adfc7.entry.js +10 -0
  376. package/dist/solutions/p-c11b966c.entry.js +10 -0
  377. package/dist/solutions/p-c1e7f656.entry.js +6 -0
  378. package/dist/solutions/p-c27b17b8.entry.js +10 -0
  379. package/dist/solutions/p-c34e0641.js +1 -2
  380. package/dist/solutions/p-c5216bba.entry.js +10 -0
  381. package/dist/solutions/p-c8a69756.entry.js +10 -0
  382. package/dist/solutions/p-cb35cbb3.entry.js +6 -0
  383. package/dist/solutions/p-cb5cb9a8.js +1 -2
  384. package/dist/solutions/p-cef98db7.js +6 -0
  385. package/dist/solutions/p-d69bc5fd.entry.js +10 -0
  386. package/dist/solutions/p-de45b192.entry.js +6 -0
  387. package/dist/solutions/p-e4edca3b.js +1 -2
  388. package/dist/solutions/p-e581f631.js +1 -2
  389. package/dist/solutions/p-e762b2d1.js +3 -3
  390. package/dist/solutions/p-eb2efc0f.js +1 -2
  391. package/dist/solutions/p-ec178ea9.js +1 -2
  392. package/dist/solutions/p-ed17446f.entry.js +6 -0
  393. package/dist/solutions/p-edd6d948.entry.js +10 -0
  394. package/dist/solutions/p-ee6eca93.js +18 -0
  395. package/dist/solutions/{p-4573d7c2.js → p-f1867a12.js} +2 -3
  396. package/dist/solutions/p-f187755e.js +1 -2
  397. package/dist/solutions/p-f49bc4a8.js +1 -2
  398. package/dist/solutions/p-f75876eb.js +21 -0
  399. package/dist/solutions/p-f780039d.js +1 -2
  400. package/dist/solutions/p-fa58627d.entry.js +10 -0
  401. package/dist/solutions/p-fbdf3e06.js +2 -3
  402. package/dist/solutions/p-fc1c8168.js +3 -3
  403. package/dist/solutions/p-fd2712a3.entry.js +10 -0
  404. package/dist/solutions/solutions.esm.js +1 -2
  405. package/dist/solutions/utils/common.ts +42 -73
  406. package/dist/solutions/utils/interfaces.ts +126 -0
  407. package/dist/solutions/utils/templates.ts +19 -33
  408. package/dist/types/components/json-editor/json-editor.d.ts +11 -0
  409. package/dist/types/components/solution-configuration/solution-configuration.d.ts +73 -9
  410. package/dist/types/components/solution-contents/solution-contents.d.ts +2 -9
  411. package/dist/types/components/solution-item/solution-item.d.ts +1 -11
  412. package/dist/types/components/solution-item-details/solution-item-details.d.ts +1 -10
  413. package/dist/types/components/solution-item-sharing/solution-item-sharing.d.ts +1 -8
  414. package/dist/types/components/solution-organization-variables/solution-organization-variables.d.ts +1 -5
  415. package/dist/types/components/solution-resource-item/solution-resource-item.d.ts +1 -4
  416. package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +14 -26
  417. package/dist/types/components/solution-spatial-ref/spatialreferences.d.ts +1 -4
  418. package/dist/types/components/solution-template-data/solution-template-data.d.ts +1 -7
  419. package/dist/types/components/solution-variables/solution-variables.d.ts +1 -7
  420. package/dist/types/components/store-manager/store-manager.d.ts +9 -0
  421. package/dist/types/components.d.ts +49 -17
  422. package/dist/types/utils/common.d.ts +13 -38
  423. package/dist/types/utils/interfaces.d.ts +111 -0
  424. package/dist/types/utils/templates.d.ts +2 -25
  425. package/package.json +4 -3
  426. package/dist/cjs/CalciteExpandToggle-3e4e3b6c.js.map +0 -1
  427. package/dist/cjs/CalciteHeading-d765addc.js.map +0 -1
  428. package/dist/cjs/array-cd6c0c32.js.map +0 -1
  429. package/dist/cjs/calcite-accordion-item.cjs.entry.js.map +0 -1
  430. package/dist/cjs/calcite-accordion.cjs.entry.js.map +0 -1
  431. package/dist/cjs/calcite-action-bar.cjs.entry.js.map +0 -1
  432. package/dist/cjs/calcite-action-group.cjs.entry.js.map +0 -1
  433. package/dist/cjs/calcite-action-menu_3.cjs.entry.js.map +0 -1
  434. package/dist/cjs/calcite-action-pad.cjs.entry.js.map +0 -1
  435. package/dist/cjs/calcite-action.cjs.entry.js.map +0 -1
  436. package/dist/cjs/calcite-alert.cjs.entry.js.map +0 -1
  437. package/dist/cjs/calcite-avatar.cjs.entry.js.map +0 -1
  438. package/dist/cjs/calcite-block-section.cjs.entry.js.map +0 -1
  439. package/dist/cjs/calcite-block.cjs.entry.js.map +0 -1
  440. package/dist/cjs/calcite-button.cjs.entry.js.map +0 -1
  441. package/dist/cjs/calcite-card.cjs.entry.js.map +0 -1
  442. package/dist/cjs/calcite-checkbox_4.cjs.entry.js.map +0 -1
  443. package/dist/cjs/calcite-chip.cjs.entry.js.map +0 -1
  444. package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js.map +0 -1
  445. package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js.map +0 -1
  446. package/dist/cjs/calcite-color-picker.cjs.entry.js.map +0 -1
  447. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js.map +0 -1
  448. package/dist/cjs/calcite-combobox-item.cjs.entry.js.map +0 -1
  449. package/dist/cjs/calcite-combobox.cjs.entry.js.map +0 -1
  450. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js.map +0 -1
  451. package/dist/cjs/calcite-date-picker.cjs.entry.js.map +0 -1
  452. package/dist/cjs/calcite-dropdown-group.cjs.entry.js.map +0 -1
  453. package/dist/cjs/calcite-dropdown-item.cjs.entry.js.map +0 -1
  454. package/dist/cjs/calcite-dropdown.cjs.entry.js.map +0 -1
  455. package/dist/cjs/calcite-fab.cjs.entry.js.map +0 -1
  456. package/dist/cjs/calcite-filter.cjs.entry.js.map +0 -1
  457. package/dist/cjs/calcite-flow.cjs.entry.js.map +0 -1
  458. package/dist/cjs/calcite-graph.cjs.entry.js.map +0 -1
  459. package/dist/cjs/calcite-handle.cjs.entry.js.map +0 -1
  460. package/dist/cjs/calcite-icon.cjs.entry.js.map +0 -1
  461. package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +0 -1
  462. package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +0 -1
  463. package/dist/cjs/calcite-input-message.cjs.entry.js.map +0 -1
  464. package/dist/cjs/calcite-input-time-picker.cjs.entry.js.map +0 -1
  465. package/dist/cjs/calcite-input_2.cjs.entry.js.map +0 -1
  466. package/dist/cjs/calcite-label.cjs.entry.js.map +0 -1
  467. package/dist/cjs/calcite-link.cjs.entry.js.map +0 -1
  468. package/dist/cjs/calcite-list-item-group.cjs.entry.js.map +0 -1
  469. package/dist/cjs/calcite-list-item.cjs.entry.js.map +0 -1
  470. package/dist/cjs/calcite-list.cjs.entry.js.map +0 -1
  471. package/dist/cjs/calcite-loader.cjs.entry.js.map +0 -1
  472. package/dist/cjs/calcite-modal.cjs.entry.js.map +0 -1
  473. package/dist/cjs/calcite-notice.cjs.entry.js.map +0 -1
  474. package/dist/cjs/calcite-option-group.cjs.entry.js.map +0 -1
  475. package/dist/cjs/calcite-option.cjs.entry.js.map +0 -1
  476. package/dist/cjs/calcite-pagination.cjs.entry.js.map +0 -1
  477. package/dist/cjs/calcite-panel_14.cjs.entry.js.map +0 -1
  478. package/dist/cjs/calcite-pick-list-group.cjs.entry.js.map +0 -1
  479. package/dist/cjs/calcite-pick-list-item.cjs.entry.js.map +0 -1
  480. package/dist/cjs/calcite-pick-list.cjs.entry.js.map +0 -1
  481. package/dist/cjs/calcite-popover-manager.cjs.entry.js.map +0 -1
  482. package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +0 -1
  483. package/dist/cjs/calcite-radio-button.cjs.entry.js.map +0 -1
  484. package/dist/cjs/calcite-radio-group-item.cjs.entry.js.map +0 -1
  485. package/dist/cjs/calcite-radio-group.cjs.entry.js.map +0 -1
  486. package/dist/cjs/calcite-radio.cjs.entry.js.map +0 -1
  487. package/dist/cjs/calcite-rating.cjs.entry.js.map +0 -1
  488. package/dist/cjs/calcite-scrim.cjs.entry.js.map +0 -1
  489. package/dist/cjs/calcite-select.cjs.entry.js.map +0 -1
  490. package/dist/cjs/calcite-shell-center-row.cjs.entry.js.map +0 -1
  491. package/dist/cjs/calcite-slider.cjs.entry.js.map +0 -1
  492. package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +0 -1
  493. package/dist/cjs/calcite-split-button.cjs.entry.js.map +0 -1
  494. package/dist/cjs/calcite-stepper-item.cjs.entry.js.map +0 -1
  495. package/dist/cjs/calcite-stepper.cjs.entry.js.map +0 -1
  496. package/dist/cjs/calcite-switch.cjs.entry.js.map +0 -1
  497. package/dist/cjs/calcite-tile-select-group.cjs.entry.js.map +0 -1
  498. package/dist/cjs/calcite-tile-select.cjs.entry.js.map +0 -1
  499. package/dist/cjs/calcite-tile.cjs.entry.js.map +0 -1
  500. package/dist/cjs/calcite-time-picker.cjs.entry.js.map +0 -1
  501. package/dist/cjs/calcite-tip-group.cjs.entry.js.map +0 -1
  502. package/dist/cjs/calcite-tip-manager.cjs.entry.js.map +0 -1
  503. package/dist/cjs/calcite-tip.cjs.entry.js.map +0 -1
  504. package/dist/cjs/calcite-tooltip.cjs.entry.js.map +0 -1
  505. package/dist/cjs/calcite-value-list-item.cjs.entry.js.map +0 -1
  506. package/dist/cjs/calcite-value-list.cjs.entry.js.map +0 -1
  507. package/dist/cjs/common-df66d950.js +0 -53
  508. package/dist/cjs/common-df66d950.js.map +0 -1
  509. package/dist/cjs/date-0554c4d1.js.map +0 -1
  510. package/dist/cjs/debounce-df22462b.js.map +0 -1
  511. package/dist/cjs/dom-62511f59.js.map +0 -1
  512. package/dist/cjs/editStore-7a250b85.js +0 -227
  513. package/dist/cjs/editStore-7a250b85.js.map +0 -1
  514. package/dist/cjs/forIn-6a1c2f6d.js.map +0 -1
  515. package/dist/cjs/form-0b5b2d4e.js.map +0 -1
  516. package/dist/cjs/guid-c6be9504.js.map +0 -1
  517. package/dist/cjs/index-706750dc.js.map +0 -1
  518. package/dist/cjs/index-81c17948.js.map +0 -1
  519. package/dist/cjs/index.cjs.js.map +0 -1
  520. package/dist/cjs/interfaces-5ba2c1a7.js.map +0 -1
  521. package/dist/cjs/key-2a6290c8.js.map +0 -1
  522. package/dist/cjs/label-46482470.js.map +0 -1
  523. package/dist/cjs/loader.cjs.js.map +0 -1
  524. package/dist/cjs/locale-0db34680.js.map +0 -1
  525. package/dist/cjs/math-71f8de66.js.map +0 -1
  526. package/dist/cjs/number-697ce34c.js.map +0 -1
  527. package/dist/cjs/observers-88bbd6ef.js.map +0 -1
  528. package/dist/cjs/popper-8c8dc960.js.map +0 -1
  529. package/dist/cjs/resources-20f88094.js.map +0 -1
  530. package/dist/cjs/resources-27c22d8a.js.map +0 -1
  531. package/dist/cjs/resources-369e7421.js.map +0 -1
  532. package/dist/cjs/resources-46af0638.js.map +0 -1
  533. package/dist/cjs/resources-509951f9.js.map +0 -1
  534. package/dist/cjs/resources-5b7958e4.js.map +0 -1
  535. package/dist/cjs/resources-a265534b.js.map +0 -1
  536. package/dist/cjs/resources-e231446d.js.map +0 -1
  537. package/dist/cjs/resources-ef6c71a1.js.map +0 -1
  538. package/dist/cjs/shared-list-render-63d3ea89.js.map +0 -1
  539. package/dist/cjs/solution-configuration.cjs.entry.js.map +0 -1
  540. package/dist/cjs/solution-contents_3.cjs.entry.js.map +0 -1
  541. package/dist/cjs/solutions.cjs.js.map +0 -1
  542. package/dist/cjs/sortable.esm-14548a17.js.map +0 -1
  543. package/dist/cjs/store-manager.cjs.entry.js.map +0 -1
  544. package/dist/cjs/templates-fe6dd431.js +0 -237
  545. package/dist/cjs/templates-fe6dd431.js.map +0 -1
  546. package/dist/cjs/time-c87dc79e.js.map +0 -1
  547. package/dist/cjs/utils-c19d354a.js.map +0 -1
  548. package/dist/cjs/utils-cb7373e6.js.map +0 -1
  549. package/dist/collection/components/json-editor/json-editor.js.map +0 -1
  550. package/dist/collection/components/solution-configuration/solution-configuration.js.map +0 -1
  551. package/dist/collection/components/solution-contents/solution-contents.js.map +0 -1
  552. package/dist/collection/components/solution-item/solution-item.js.map +0 -1
  553. package/dist/collection/components/solution-item-details/solution-item-details.js.map +0 -1
  554. package/dist/collection/components/solution-item-icon/solution-item-icon.js.map +0 -1
  555. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js.map +0 -1
  556. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js.map +0 -1
  557. package/dist/collection/components/solution-resource-item/solution-resource-item.js.map +0 -1
  558. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js.map +0 -1
  559. package/dist/collection/components/solution-spatial-ref/spatialreferences.js.map +0 -1
  560. package/dist/collection/components/solution-template-data/solution-template-data.js.map +0 -1
  561. package/dist/collection/components/solution-variables/solution-variables.js.map +0 -1
  562. package/dist/collection/components/store-manager/store-manager.js.map +0 -1
  563. package/dist/collection/index.js.map +0 -1
  564. package/dist/collection/utils/common.js.map +0 -1
  565. package/dist/collection/utils/editStore.js.map +0 -1
  566. package/dist/collection/utils/templates.js.map +0 -1
  567. package/dist/custom-elements/index.js.map +0 -1
  568. package/dist/esm/CalciteExpandToggle-5df46988.js.map +0 -1
  569. package/dist/esm/CalciteHeading-79b4b347.js.map +0 -1
  570. package/dist/esm/array-71e0c501.js.map +0 -1
  571. package/dist/esm/calcite-accordion-item.entry.js.map +0 -1
  572. package/dist/esm/calcite-accordion.entry.js.map +0 -1
  573. package/dist/esm/calcite-action-bar.entry.js.map +0 -1
  574. package/dist/esm/calcite-action-group.entry.js.map +0 -1
  575. package/dist/esm/calcite-action-menu_3.entry.js.map +0 -1
  576. package/dist/esm/calcite-action-pad.entry.js.map +0 -1
  577. package/dist/esm/calcite-action.entry.js.map +0 -1
  578. package/dist/esm/calcite-alert.entry.js.map +0 -1
  579. package/dist/esm/calcite-avatar.entry.js.map +0 -1
  580. package/dist/esm/calcite-block-section.entry.js.map +0 -1
  581. package/dist/esm/calcite-block.entry.js.map +0 -1
  582. package/dist/esm/calcite-button.entry.js.map +0 -1
  583. package/dist/esm/calcite-card.entry.js.map +0 -1
  584. package/dist/esm/calcite-checkbox_4.entry.js.map +0 -1
  585. package/dist/esm/calcite-chip.entry.js.map +0 -1
  586. package/dist/esm/calcite-color-picker-hex-input.entry.js.map +0 -1
  587. package/dist/esm/calcite-color-picker-swatch.entry.js.map +0 -1
  588. package/dist/esm/calcite-color-picker.entry.js.map +0 -1
  589. package/dist/esm/calcite-combobox-item-group.entry.js.map +0 -1
  590. package/dist/esm/calcite-combobox-item.entry.js.map +0 -1
  591. package/dist/esm/calcite-combobox.entry.js.map +0 -1
  592. package/dist/esm/calcite-date-picker-day_3.entry.js.map +0 -1
  593. package/dist/esm/calcite-date-picker.entry.js.map +0 -1
  594. package/dist/esm/calcite-dropdown-group.entry.js.map +0 -1
  595. package/dist/esm/calcite-dropdown-item.entry.js.map +0 -1
  596. package/dist/esm/calcite-dropdown.entry.js.map +0 -1
  597. package/dist/esm/calcite-fab.entry.js.map +0 -1
  598. package/dist/esm/calcite-filter.entry.js.map +0 -1
  599. package/dist/esm/calcite-flow.entry.js.map +0 -1
  600. package/dist/esm/calcite-graph.entry.js.map +0 -1
  601. package/dist/esm/calcite-handle.entry.js.map +0 -1
  602. package/dist/esm/calcite-icon.entry.js.map +0 -1
  603. package/dist/esm/calcite-inline-editable.entry.js.map +0 -1
  604. package/dist/esm/calcite-input-date-picker.entry.js.map +0 -1
  605. package/dist/esm/calcite-input-message.entry.js.map +0 -1
  606. package/dist/esm/calcite-input-time-picker.entry.js.map +0 -1
  607. package/dist/esm/calcite-input_2.entry.js.map +0 -1
  608. package/dist/esm/calcite-label.entry.js.map +0 -1
  609. package/dist/esm/calcite-link.entry.js.map +0 -1
  610. package/dist/esm/calcite-list-item-group.entry.js.map +0 -1
  611. package/dist/esm/calcite-list-item.entry.js.map +0 -1
  612. package/dist/esm/calcite-list.entry.js.map +0 -1
  613. package/dist/esm/calcite-loader.entry.js.map +0 -1
  614. package/dist/esm/calcite-modal.entry.js.map +0 -1
  615. package/dist/esm/calcite-notice.entry.js.map +0 -1
  616. package/dist/esm/calcite-option-group.entry.js.map +0 -1
  617. package/dist/esm/calcite-option.entry.js.map +0 -1
  618. package/dist/esm/calcite-pagination.entry.js.map +0 -1
  619. package/dist/esm/calcite-panel_14.entry.js.map +0 -1
  620. package/dist/esm/calcite-pick-list-group.entry.js.map +0 -1
  621. package/dist/esm/calcite-pick-list-item.entry.js.map +0 -1
  622. package/dist/esm/calcite-pick-list.entry.js.map +0 -1
  623. package/dist/esm/calcite-popover-manager.entry.js.map +0 -1
  624. package/dist/esm/calcite-radio-button-group.entry.js.map +0 -1
  625. package/dist/esm/calcite-radio-button.entry.js.map +0 -1
  626. package/dist/esm/calcite-radio-group-item.entry.js.map +0 -1
  627. package/dist/esm/calcite-radio-group.entry.js.map +0 -1
  628. package/dist/esm/calcite-radio.entry.js.map +0 -1
  629. package/dist/esm/calcite-rating.entry.js.map +0 -1
  630. package/dist/esm/calcite-scrim.entry.js.map +0 -1
  631. package/dist/esm/calcite-select.entry.js.map +0 -1
  632. package/dist/esm/calcite-shell-center-row.entry.js.map +0 -1
  633. package/dist/esm/calcite-slider.entry.js.map +0 -1
  634. package/dist/esm/calcite-sortable-list.entry.js.map +0 -1
  635. package/dist/esm/calcite-split-button.entry.js.map +0 -1
  636. package/dist/esm/calcite-stepper-item.entry.js.map +0 -1
  637. package/dist/esm/calcite-stepper.entry.js.map +0 -1
  638. package/dist/esm/calcite-switch.entry.js.map +0 -1
  639. package/dist/esm/calcite-tile-select-group.entry.js.map +0 -1
  640. package/dist/esm/calcite-tile-select.entry.js.map +0 -1
  641. package/dist/esm/calcite-tile.entry.js.map +0 -1
  642. package/dist/esm/calcite-time-picker.entry.js.map +0 -1
  643. package/dist/esm/calcite-tip-group.entry.js.map +0 -1
  644. package/dist/esm/calcite-tip-manager.entry.js.map +0 -1
  645. package/dist/esm/calcite-tip.entry.js.map +0 -1
  646. package/dist/esm/calcite-tooltip.entry.js.map +0 -1
  647. package/dist/esm/calcite-value-list-item.entry.js.map +0 -1
  648. package/dist/esm/calcite-value-list.entry.js.map +0 -1
  649. package/dist/esm/common-ccccf04d.js +0 -50
  650. package/dist/esm/common-ccccf04d.js.map +0 -1
  651. package/dist/esm/date-5d75460a.js.map +0 -1
  652. package/dist/esm/debounce-23ad5849.js.map +0 -1
  653. package/dist/esm/dom-1cc617ae.js.map +0 -1
  654. package/dist/esm/editStore-30a293f5.js +0 -225
  655. package/dist/esm/editStore-30a293f5.js.map +0 -1
  656. package/dist/esm/forIn-c922d47c.js.map +0 -1
  657. package/dist/esm/form-636dfed1.js.map +0 -1
  658. package/dist/esm/guid-740f1f1a.js.map +0 -1
  659. package/dist/esm/index-934f242e.js.map +0 -1
  660. package/dist/esm/index-a3c3e3db.js.map +0 -1
  661. package/dist/esm/index.js.map +0 -1
  662. package/dist/esm/interfaces-4f07beec.js.map +0 -1
  663. package/dist/esm/key-1748eb79.js.map +0 -1
  664. package/dist/esm/label-851f8926.js.map +0 -1
  665. package/dist/esm/loader.js.map +0 -1
  666. package/dist/esm/locale-31c8d43b.js.map +0 -1
  667. package/dist/esm/math-d8795f31.js.map +0 -1
  668. package/dist/esm/number-47ecb380.js.map +0 -1
  669. package/dist/esm/observers-b13ff24b.js.map +0 -1
  670. package/dist/esm/popper-25874f2f.js.map +0 -1
  671. package/dist/esm/resources-12c3b829.js.map +0 -1
  672. package/dist/esm/resources-32d7dd89.js.map +0 -1
  673. package/dist/esm/resources-466ccf86.js.map +0 -1
  674. package/dist/esm/resources-4cc0ef44.js.map +0 -1
  675. package/dist/esm/resources-861d0240.js.map +0 -1
  676. package/dist/esm/resources-b023c30a.js.map +0 -1
  677. package/dist/esm/resources-c537bacb.js.map +0 -1
  678. package/dist/esm/resources-e56b6e53.js.map +0 -1
  679. package/dist/esm/resources-ec79cfd7.js.map +0 -1
  680. package/dist/esm/shared-list-render-b5dacd2e.js.map +0 -1
  681. package/dist/esm/solution-configuration.entry.js.map +0 -1
  682. package/dist/esm/solution-contents_3.entry.js.map +0 -1
  683. package/dist/esm/solutions.js.map +0 -1
  684. package/dist/esm/sortable.esm-7856912e.js.map +0 -1
  685. package/dist/esm/store-manager.entry.js.map +0 -1
  686. package/dist/esm/templates-3480c08e.js +0 -230
  687. package/dist/esm/templates-3480c08e.js.map +0 -1
  688. package/dist/esm/time-a3b29c35.js.map +0 -1
  689. package/dist/esm/utils-021cb956.js.map +0 -1
  690. package/dist/esm/utils-5fdd203c.js.map +0 -1
  691. package/dist/solutions/index.esm.js.map +0 -1
  692. package/dist/solutions/p-019fe34e.entry.js +0 -11
  693. package/dist/solutions/p-019fe34e.entry.js.map +0 -1
  694. package/dist/solutions/p-01d537aa.entry.js +0 -11
  695. package/dist/solutions/p-01d537aa.entry.js.map +0 -1
  696. package/dist/solutions/p-05c73b7d.js.map +0 -1
  697. package/dist/solutions/p-05da6de1.entry.js +0 -11
  698. package/dist/solutions/p-05da6de1.entry.js.map +0 -1
  699. package/dist/solutions/p-05eb87fc.entry.js +0 -11
  700. package/dist/solutions/p-05eb87fc.entry.js.map +0 -1
  701. package/dist/solutions/p-07099311.entry.js.map +0 -1
  702. package/dist/solutions/p-07f15398.entry.js +0 -7
  703. package/dist/solutions/p-07f15398.entry.js.map +0 -1
  704. package/dist/solutions/p-093edbdc.entry.js +0 -11
  705. package/dist/solutions/p-093edbdc.entry.js.map +0 -1
  706. package/dist/solutions/p-0b8525e2.js.map +0 -1
  707. package/dist/solutions/p-0c91e100.js +0 -7
  708. package/dist/solutions/p-0c91e100.js.map +0 -1
  709. package/dist/solutions/p-0fcee724.entry.js +0 -7
  710. package/dist/solutions/p-0fcee724.entry.js.map +0 -1
  711. package/dist/solutions/p-17a2150d.entry.js +0 -11
  712. package/dist/solutions/p-17a2150d.entry.js.map +0 -1
  713. package/dist/solutions/p-1aaa9800.entry.js +0 -7
  714. package/dist/solutions/p-1aaa9800.entry.js.map +0 -1
  715. package/dist/solutions/p-228131f3.js.map +0 -1
  716. package/dist/solutions/p-22d67647.entry.js +0 -11
  717. package/dist/solutions/p-22d67647.entry.js.map +0 -1
  718. package/dist/solutions/p-291cbb4f.js.map +0 -1
  719. package/dist/solutions/p-2a5c409a.entry.js +0 -7
  720. package/dist/solutions/p-2a5c409a.entry.js.map +0 -1
  721. package/dist/solutions/p-2aca233c.entry.js +0 -11
  722. package/dist/solutions/p-2aca233c.entry.js.map +0 -1
  723. package/dist/solutions/p-2b6ef800.entry.js +0 -7
  724. package/dist/solutions/p-2b6ef800.entry.js.map +0 -1
  725. package/dist/solutions/p-2bae730e.entry.js +0 -11
  726. package/dist/solutions/p-2bae730e.entry.js.map +0 -1
  727. package/dist/solutions/p-2d59c6d7.entry.js +0 -11
  728. package/dist/solutions/p-2d59c6d7.entry.js.map +0 -1
  729. package/dist/solutions/p-2e1cd889.js.map +0 -1
  730. package/dist/solutions/p-35eafdfb.entry.js +0 -11
  731. package/dist/solutions/p-35eafdfb.entry.js.map +0 -1
  732. package/dist/solutions/p-372da016.entry.js +0 -7
  733. package/dist/solutions/p-372da016.entry.js.map +0 -1
  734. package/dist/solutions/p-37407f95.entry.js +0 -7
  735. package/dist/solutions/p-37407f95.entry.js.map +0 -1
  736. package/dist/solutions/p-3ae90cbb.entry.js +0 -7
  737. package/dist/solutions/p-3ae90cbb.entry.js.map +0 -1
  738. package/dist/solutions/p-3c3ccd03.entry.js +0 -11
  739. package/dist/solutions/p-3c3ccd03.entry.js.map +0 -1
  740. package/dist/solutions/p-3e168893.entry.js +0 -11
  741. package/dist/solutions/p-3e168893.entry.js.map +0 -1
  742. package/dist/solutions/p-3e67ed97.js.map +0 -1
  743. package/dist/solutions/p-3ed5096e.entry.js +0 -11
  744. package/dist/solutions/p-3ed5096e.entry.js.map +0 -1
  745. package/dist/solutions/p-41c2e1cc.js.map +0 -1
  746. package/dist/solutions/p-44e661a2.js.map +0 -1
  747. package/dist/solutions/p-4573d7c2.js.map +0 -1
  748. package/dist/solutions/p-4635ae4a.entry.js +0 -11
  749. package/dist/solutions/p-4635ae4a.entry.js.map +0 -1
  750. package/dist/solutions/p-46bcadbd.entry.js +0 -11
  751. package/dist/solutions/p-46bcadbd.entry.js.map +0 -1
  752. package/dist/solutions/p-4b0b2534.entry.js +0 -11
  753. package/dist/solutions/p-4b0b2534.entry.js.map +0 -1
  754. package/dist/solutions/p-51e4c002.entry.js +0 -7
  755. package/dist/solutions/p-51e4c002.entry.js.map +0 -1
  756. package/dist/solutions/p-520d8443.entry.js +0 -11
  757. package/dist/solutions/p-520d8443.entry.js.map +0 -1
  758. package/dist/solutions/p-591d5666.entry.js +0 -11
  759. package/dist/solutions/p-591d5666.entry.js.map +0 -1
  760. package/dist/solutions/p-5aff6fc3.entry.js +0 -11
  761. package/dist/solutions/p-5aff6fc3.entry.js.map +0 -1
  762. package/dist/solutions/p-5c95f5ee.entry.js +0 -11
  763. package/dist/solutions/p-5c95f5ee.entry.js.map +0 -1
  764. package/dist/solutions/p-606933f1.entry.js +0 -11
  765. package/dist/solutions/p-606933f1.entry.js.map +0 -1
  766. package/dist/solutions/p-62464fb3.entry.js +0 -11
  767. package/dist/solutions/p-62464fb3.entry.js.map +0 -1
  768. package/dist/solutions/p-6e970d4c.entry.js +0 -7
  769. package/dist/solutions/p-6e970d4c.entry.js.map +0 -1
  770. package/dist/solutions/p-6f861da6.entry.js +0 -11
  771. package/dist/solutions/p-6f861da6.entry.js.map +0 -1
  772. package/dist/solutions/p-7096464e.js.map +0 -1
  773. package/dist/solutions/p-73e2d13f.js.map +0 -1
  774. package/dist/solutions/p-745f85bf.entry.js +0 -11
  775. package/dist/solutions/p-745f85bf.entry.js.map +0 -1
  776. package/dist/solutions/p-7480bdae.entry.js +0 -7
  777. package/dist/solutions/p-7480bdae.entry.js.map +0 -1
  778. package/dist/solutions/p-7611d9ad.entry.js +0 -11
  779. package/dist/solutions/p-7611d9ad.entry.js.map +0 -1
  780. package/dist/solutions/p-77b056db.entry.js +0 -7
  781. package/dist/solutions/p-77b056db.entry.js.map +0 -1
  782. package/dist/solutions/p-7804ce97.js.map +0 -1
  783. package/dist/solutions/p-7cc15662.entry.js +0 -15
  784. package/dist/solutions/p-7cc15662.entry.js.map +0 -1
  785. package/dist/solutions/p-7cc9c6af.js.map +0 -1
  786. package/dist/solutions/p-7d84c932.entry.js +0 -11
  787. package/dist/solutions/p-7d84c932.entry.js.map +0 -1
  788. package/dist/solutions/p-7df393df.js.map +0 -1
  789. package/dist/solutions/p-7f49ef40.entry.js +0 -11
  790. package/dist/solutions/p-7f49ef40.entry.js.map +0 -1
  791. package/dist/solutions/p-7f5c2987.entry.js +0 -7
  792. package/dist/solutions/p-7f5c2987.entry.js.map +0 -1
  793. package/dist/solutions/p-7fd90af2.entry.js +0 -11
  794. package/dist/solutions/p-7fd90af2.entry.js.map +0 -1
  795. package/dist/solutions/p-815449b1.entry.js +0 -11
  796. package/dist/solutions/p-815449b1.entry.js.map +0 -1
  797. package/dist/solutions/p-819aff56.entry.js +0 -11
  798. package/dist/solutions/p-819aff56.entry.js.map +0 -1
  799. package/dist/solutions/p-85cf288c.js.map +0 -1
  800. package/dist/solutions/p-87d812ce.entry.js +0 -7
  801. package/dist/solutions/p-87d812ce.entry.js.map +0 -1
  802. package/dist/solutions/p-8b616d33.entry.js +0 -7
  803. package/dist/solutions/p-8b616d33.entry.js.map +0 -1
  804. package/dist/solutions/p-8efca26d.entry.js +0 -7
  805. package/dist/solutions/p-8efca26d.entry.js.map +0 -1
  806. package/dist/solutions/p-946521e1.js.map +0 -1
  807. package/dist/solutions/p-970f1072.js +0 -22
  808. package/dist/solutions/p-970f1072.js.map +0 -1
  809. package/dist/solutions/p-9a953609.entry.js +0 -11
  810. package/dist/solutions/p-9a953609.entry.js.map +0 -1
  811. package/dist/solutions/p-9b381784.entry.js +0 -11
  812. package/dist/solutions/p-9b381784.entry.js.map +0 -1
  813. package/dist/solutions/p-9dad5583.entry.js +0 -11
  814. package/dist/solutions/p-9dad5583.entry.js.map +0 -1
  815. package/dist/solutions/p-9df9ac35.js.map +0 -1
  816. package/dist/solutions/p-9ee74ad4.entry.js +0 -7
  817. package/dist/solutions/p-9ee74ad4.entry.js.map +0 -1
  818. package/dist/solutions/p-9fab6046.entry.js +0 -22
  819. package/dist/solutions/p-9fab6046.entry.js.map +0 -1
  820. package/dist/solutions/p-9fc06fc3.entry.js +0 -15
  821. package/dist/solutions/p-9fc06fc3.entry.js.map +0 -1
  822. package/dist/solutions/p-a10dc180.js.map +0 -1
  823. package/dist/solutions/p-a1c40865.entry.js +0 -11
  824. package/dist/solutions/p-a1c40865.entry.js.map +0 -1
  825. package/dist/solutions/p-a3b16f15.entry.js +0 -7
  826. package/dist/solutions/p-a3b16f15.entry.js.map +0 -1
  827. package/dist/solutions/p-a7906d52.entry.js +0 -11
  828. package/dist/solutions/p-a7906d52.entry.js.map +0 -1
  829. package/dist/solutions/p-a8a106f7.entry.js +0 -7
  830. package/dist/solutions/p-a8a106f7.entry.js.map +0 -1
  831. package/dist/solutions/p-a8d2d1a3.entry.js +0 -7
  832. package/dist/solutions/p-a8d2d1a3.entry.js.map +0 -1
  833. package/dist/solutions/p-a98c5d29.entry.js +0 -11
  834. package/dist/solutions/p-a98c5d29.entry.js.map +0 -1
  835. package/dist/solutions/p-a9df64c4.js.map +0 -1
  836. package/dist/solutions/p-ad54d2e2.entry.js +0 -11
  837. package/dist/solutions/p-ad54d2e2.entry.js.map +0 -1
  838. package/dist/solutions/p-adf3704d.entry.js +0 -11
  839. package/dist/solutions/p-adf3704d.entry.js.map +0 -1
  840. package/dist/solutions/p-af46b00f.entry.js +0 -11
  841. package/dist/solutions/p-af46b00f.entry.js.map +0 -1
  842. package/dist/solutions/p-af9be2ca.js.map +0 -1
  843. package/dist/solutions/p-b797d79b.entry.js +0 -23
  844. package/dist/solutions/p-b797d79b.entry.js.map +0 -1
  845. package/dist/solutions/p-c09fc04d.entry.js +0 -11
  846. package/dist/solutions/p-c09fc04d.entry.js.map +0 -1
  847. package/dist/solutions/p-c11f84d9.entry.js +0 -11
  848. package/dist/solutions/p-c11f84d9.entry.js.map +0 -1
  849. package/dist/solutions/p-c195dbb7.entry.js +0 -7
  850. package/dist/solutions/p-c195dbb7.entry.js.map +0 -1
  851. package/dist/solutions/p-c34e0641.js.map +0 -1
  852. package/dist/solutions/p-c5428bbc.entry.js +0 -11
  853. package/dist/solutions/p-c5428bbc.entry.js.map +0 -1
  854. package/dist/solutions/p-cb5cb9a8.js.map +0 -1
  855. package/dist/solutions/p-ce3e9060.entry.js +0 -11
  856. package/dist/solutions/p-ce3e9060.entry.js.map +0 -1
  857. package/dist/solutions/p-d132d8ad.entry.js +0 -7
  858. package/dist/solutions/p-d132d8ad.entry.js.map +0 -1
  859. package/dist/solutions/p-d320e3a2.entry.js +0 -7
  860. package/dist/solutions/p-d320e3a2.entry.js.map +0 -1
  861. package/dist/solutions/p-d70ef015.entry.js +0 -11
  862. package/dist/solutions/p-d70ef015.entry.js.map +0 -1
  863. package/dist/solutions/p-e4edca3b.js.map +0 -1
  864. package/dist/solutions/p-e581f631.js.map +0 -1
  865. package/dist/solutions/p-e65a8700.entry.js +0 -11
  866. package/dist/solutions/p-e65a8700.entry.js.map +0 -1
  867. package/dist/solutions/p-e762b2d1.js.map +0 -1
  868. package/dist/solutions/p-eb2efc0f.js.map +0 -1
  869. package/dist/solutions/p-ec178ea9.js.map +0 -1
  870. package/dist/solutions/p-ecbfddde.js.map +0 -1
  871. package/dist/solutions/p-eceb11d1.js +0 -22
  872. package/dist/solutions/p-eceb11d1.js.map +0 -1
  873. package/dist/solutions/p-ede2beab.entry.js +0 -7
  874. package/dist/solutions/p-ede2beab.entry.js.map +0 -1
  875. package/dist/solutions/p-f0a6135d.entry.js +0 -11
  876. package/dist/solutions/p-f0a6135d.entry.js.map +0 -1
  877. package/dist/solutions/p-f187755e.js.map +0 -1
  878. package/dist/solutions/p-f3c6b68d.entry.js +0 -7
  879. package/dist/solutions/p-f3c6b68d.entry.js.map +0 -1
  880. package/dist/solutions/p-f49bc4a8.js.map +0 -1
  881. package/dist/solutions/p-f6e8ee98.entry.js +0 -7
  882. package/dist/solutions/p-f6e8ee98.entry.js.map +0 -1
  883. package/dist/solutions/p-f780039d.js.map +0 -1
  884. package/dist/solutions/p-fa40e7e7.entry.js +0 -7
  885. package/dist/solutions/p-fa40e7e7.entry.js.map +0 -1
  886. package/dist/solutions/p-fb25fc4a.entry.js +0 -7
  887. package/dist/solutions/p-fb25fc4a.entry.js.map +0 -1
  888. package/dist/solutions/p-fbdf3e06.js.map +0 -1
  889. package/dist/solutions/p-fc1c8168.js.map +0 -1
  890. package/dist/solutions/p-ff3697a9.entry.js +0 -7
  891. package/dist/solutions/p-ff3697a9.entry.js.map +0 -1
  892. package/dist/solutions/solutions.esm.js.map +0 -1
@@ -1 +0,0 @@
1
- {"file":"calcite-action-pad.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,iBAAiB,EAAE,sBAAsB;AAC3C,EAAE,SAAS,EAAE,WAAW;AACxB,CAAC,CAAC;AACK,MAAM,IAAI,GAAG;AACpB,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,QAAQ,EAAE,UAAU;AACtB,CAAC,CAAC;AACK,MAAM,KAAK,GAAG;AACrB,EAAE,aAAa,EAAE,gBAAgB;AACjC,CAAC;;ACdD,MAAM,mBAAmB,GAAG,09DAA09D;;ICaz+D,gBAAgB;EAC3B;;;;;;;;;;;IASE,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;;;;IAI5B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;IAItB,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC;;;;;;IAMzB,IAAI,CAAC,2BAA2B,GAAG,CAAC,KAAK;MACvC,IAAI,KAAK,CAAC,MAAM,EAAE;QAChB,MAAM,YAAY,GAAG,KAAK,CAAC,YAAY,EAAE,CAAC;QAC1C,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,CAAC,CAAC,OAAO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AK,EAAE,gBAAgB,EAAE,EAClCA,OAAC,CAAC,MAAM,EAAE,IAAI,CAAC,EACf,IAAI,CAAC,uBAAuB,EAAE,CAAC,CAAC,EAAE;GACvC;;;;;;;;;;;","names":["toggleChildActionText","focusElement","getSlotted","h","CalciteExpandToggle","getElementDir","CSS_UTILITY","Host"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-action-pad/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-action-pad/calcite-action-pad.css?tag=calcite-action-pad&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-action-pad/calcite-action-pad.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 */\nexport const CSS = {\n actionGroupBottom: \"action-group--bottom\",\n container: \"container\"\n};\nexport const TEXT = {\n expand: \"Expand\",\n collapse: \"Collapse\"\n};\nexport const SLOTS = {\n expandTooltip: \"expand-tooltip\"\n};\n","/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\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/**\n* Currently only used in Checkbox.\n*/\n\n:host {\n /* Base \":host\" styles for the component */\n box-sizing: border-box;\n background-color: var(--calcite-ui-foreground-1);\n color: var(--calcite-ui-text-2);\n font-size: var(--calcite-font-size--1);\n}\n\n:host * {\n box-sizing: border-box;\n}\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n display: block;\n animation: in var(--calcite-animation-timing) ease-in-out;\n border-radius: 0.125rem;\n}\n\n:host([expanded]) {\n max-width: 20vw;\n}\n\n::slotted(calcite-action-group) {\n border-width: 0;\n border-bottom-width: 1px;\n border-color: var(--calcite-ui-border-3);\n border-style: solid;\n padding-bottom: 0;\n padding-top: 0;\n}\n\n.container {\n flex-direction: column;\n display: inline-flex;\n overflow-y: auto;\n border-radius: 0.25rem;\n background-color: var(--calcite-ui-background);\n box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);\n max-width: 15vw;\n}\n\n.action-group--bottom {\n flex-grow: 1;\n justify-content: flex-end;\n padding-bottom: 0;\n}\n\n:host([layout=horizontal]) .container {\n flex-direction: row;\n max-width: unset;\n}\n\n:host([layout=horizontal]) .container .action-group--bottom {\n padding: 0;\n}\n\n:host([layout=horizontal]) .container ::slotted(calcite-action-group) {\n border-width: 0;\n border-right-width: 1px;\n padding: 0;\n}\n\n:host([layout=horizontal]) .container.calcite--rtl ::slotted(calcite-action-group) {\n border-width: 0;\n border-left-width: 1px;\n}\n\n::slotted(calcite-action-group:last-child) {\n border-bottom-width: 0;\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 */\nimport { Component, Element, Event, Host, Prop, Watch, h, Method } from \"@stencil/core\";\nimport { CalciteExpandToggle, toggleChildActionText } from \"../functional/CalciteExpandToggle\";\nimport { getElementDir, focusElement, getSlotted } from \"../../utils/dom\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\nimport { CSS, TEXT, SLOTS } from \"./resources\";\n/**\n * @slot - A slot for adding `calcite-action`s to the action pad.\n * @slot expand-tooltip - Used to set the tooltip for the expand toggle.\n */\nexport class CalciteActionPad {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * When set to true, the expand-toggling behavior will be disabled.\n */\n this.expandDisabled = false;\n /**\n * Indicates whether widget is expanded.\n */\n this.expanded = false;\n /**\n * Indicates the horizontal or vertical layout of the component.\n */\n this.layout = \"vertical\";\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.actionMenuOpenChangeHandler = (event) => {\n if (event.detail) {\n const composedPath = event.composedPath();\n Array.from(this.el.querySelectorAll(\"calcite-action-group\")).forEach((group) => {\n if (!composedPath.includes(group)) {\n group.menuOpen = false;\n }\n });\n }\n };\n this.toggleExpand = () => {\n this.expanded = !this.expanded;\n };\n this.setExpandToggleRef = (el) => {\n this.expandToggleEl = el;\n };\n }\n expandHandler(expandDisabled) {\n if (!expandDisabled) {\n toggleChildActionText({ parent: this.el, expanded: this.expanded });\n }\n }\n expandedHandler(expanded) {\n if (!this.expandDisabled) {\n toggleChildActionText({ parent: this.el, expanded });\n }\n this.calciteActionPadToggle.emit();\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n componentWillLoad() {\n const { el, expandDisabled, expanded } = this;\n if (!expandDisabled) {\n toggleChildActionText({ parent: el, expanded });\n }\n }\n // --------------------------------------------------------------------------\n //\n // Methods\n //\n // --------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus(focusId) {\n if (focusId === \"expand-toggle\") {\n await focusElement(this.expandToggleEl);\n return;\n }\n this.el.focus();\n }\n // --------------------------------------------------------------------------\n //\n // Component Methods\n //\n // --------------------------------------------------------------------------\n renderBottomActionGroup() {\n const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;\n const tooltip = getSlotted(el, SLOTS.expandTooltip);\n const expandLabel = intlExpand || TEXT.expand;\n const collapseLabel = intlCollapse || TEXT.collapse;\n const expandToggleNode = !expandDisabled ? (h(CalciteExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;\n return expandToggleNode ? (h(\"calcite-action-group\", { class: CSS.actionGroupBottom, scale: scale },\n h(\"slot\", { name: SLOTS.expandTooltip }),\n expandToggleNode)) : null;\n }\n render() {\n const rtl = getElementDir(this.el) === \"rtl\";\n const containerClasses = {\n [CSS.container]: true,\n [CSS_UTILITY.rtl]: rtl\n };\n return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler },\n h(\"div\", { class: containerClasses },\n h(\"slot\", null),\n this.renderBottomActionGroup())));\n }\n static get is() { return \"calcite-action-pad\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-action-pad.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-action-pad.css\"]\n }; }\n static get properties() { return {\n \"expandDisabled\": {\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 set to true, the expand-toggling behavior will be disabled.\"\n },\n \"attribute\": \"expand-disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"expanded\": {\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\": \"Indicates whether widget is expanded.\"\n },\n \"attribute\": \"expanded\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"layout\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Layout\",\n \"resolved\": \"\\\"grid\\\" | \\\"horizontal\\\" | \\\"vertical\\\"\",\n \"references\": {\n \"Layout\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Indicates the horizontal or vertical layout of the component.\"\n },\n \"attribute\": \"layout\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"vertical\\\"\"\n },\n \"intlExpand\": {\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\": \"Updates the label of the expand icon when the component is not expanded.\"\n },\n \"attribute\": \"intl-expand\",\n \"reflect\": false\n },\n \"intlCollapse\": {\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\": \"Updates the label of the collapse icon when the component is expanded.\"\n },\n \"attribute\": \"intl-collapse\",\n \"reflect\": false\n },\n \"position\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Position\",\n \"resolved\": \"\\\"end\\\" | \\\"start\\\"\",\n \"references\": {\n \"Position\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Arranges the component depending on the elements 'dir' property.\"\n },\n \"attribute\": \"position\",\n \"reflect\": true\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the expand action.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true\n }\n }; }\n static get events() { return [{\n \"method\": \"calciteActionPadToggle\",\n \"name\": \"calciteActionPadToggle\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when expanded has been toggled.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }]; }\n static get methods() { return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"(focusId?: \\\"expand-toggle\\\") => Promise<void>\",\n \"parameters\": [{\n \"tags\": [],\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 }\n }\n }; }\n static get elementRef() { return \"el\"; }\n static get watchers() { return [{\n \"propName\": \"expandDisabled\",\n \"methodName\": \"expandHandler\"\n }, {\n \"propName\": \"expanded\",\n \"methodName\": \"expandedHandler\"\n }]; }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"calcite-action.entry.cjs.js","mappings":";;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,iBAAiB,EAAE,sBAAsB;AAC3C,EAAE,aAAa,EAAE,iBAAiB;AAClC,EAAE,aAAa,EAAE,gBAAgB;AACjC,EAAE,aAAa,EAAE,gBAAgB;AACjC,EAAE,mBAAmB,EAAE,wBAAwB;AAC/C,EAAE,aAAa,EAAE,gBAAgB;AACjC,EAAE,oBAAoB,EAAE,yBAAyB;AACjD,CAAC,CAAC;AACK,MAAM,I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["createObserver","forceUpdate","h","Host"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-action/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-action/calcite-action.css?tag=calcite-action&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-action/calcite-action.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 */\nexport const CSS = {\n button: \"button\",\n buttonTextVisible: \"button--text-visible\",\n buttonCompact: \"button--compact\",\n iconContainer: \"icon-container\",\n slotContainer: \"slot-container\",\n slotContainerHidden: \"slot-container--hidden\",\n textContainer: \"text-container\",\n textContainerVisible: \"text-container--visible\"\n};\nexport const TEXT = {\n loading: \"Loading\"\n};\n","/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\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/**\n* Currently only used in Checkbox.\n*/\n\n:host {\n /* Base \":host\" styles for the component */\n box-sizing: border-box;\n background-color: var(--calcite-ui-foreground-1);\n color: var(--calcite-ui-text-2);\n font-size: var(--calcite-font-size--1);\n}\n\n:host * {\n box-sizing: border-box;\n}\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n display: flex;\n background-color: transparent;\n}\n\n:host([disabled]) {\n pointer-events: none;\n}\n\n.button {\n background-color: var(--calcite-ui-foreground-1);\n border-style: none;\n cursor: pointer;\n fill: var(--calcite-ui-text-3);\n display: flex;\n outline-offset: 0;\n outline-color: transparent;\n transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;\n align-items: center;\n justify-content: flex-start;\n margin: 0;\n position: relative;\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n font-weight: var(--calcite-font-weight-medium);\n color: var(--calcite-ui-text-3);\n width: auto;\n font-family: inherit;\n text-align: unset;\n}\n\n.button:hover {\n background-color: var(--calcite-ui-foreground-2);\n color: var(--calcite-ui-text-1);\n fill: var(--calcite-ui-text-1);\n}\n\n.button:focus {\n background-color: var(--calcite-ui-foreground-2);\n color: var(--calcite-ui-text-1);\n fill: var(--calcite-ui-text-1);\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n\n.button:active {\n background-color: var(--calcite-ui-foreground-3);\n}\n\n.button .icon-container {\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0;\n pointer-events: none;\n min-width: 1rem;\n min-height: 1rem;\n}\n\n.button .text-container {\n line-height: 1rem;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n margin: 0;\n width: 0;\n opacity: 0;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n transition-property: opacity;\n transition-property: margin;\n transition-property: width;\n}\n\n.button .text-container--visible {\n flex: 1 1 auto;\n opacity: 1;\n width: auto;\n}\n\n:host([scale=s]) .button {\n font-weight: var(--calcite-font-weight-normal);\n padding: 0.5rem;\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n}\n\n:host([scale=s]) .button--text-visible .icon-container {\n margin-inline-end: 0.5rem;\n}\n\n:host([scale=m]) .button {\n font-weight: var(--calcite-font-weight-normal);\n padding: 1rem;\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n}\n\n:host([scale=m]) .button--text-visible .icon-container {\n margin-inline-end: 0.75rem;\n}\n\n:host([scale=l]) .button {\n font-weight: var(--calcite-font-weight-normal);\n padding: 1.25rem;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n}\n\n:host([scale=l]) .button--text-visible .icon-container {\n margin-inline-end: 1rem;\n}\n\n:host([alignment=center]) .button {\n justify-content: center;\n}\n\n:host([alignment=end]) .button {\n justify-content: flex-end;\n}\n\n:host([alignment=center]) .button .text-container--visible,\n:host([alignment=end]) .button .text-container--visible {\n flex: 0 1 auto;\n}\n\n:host([scale=s][compact]) .button,\n:host([scale=m][compact]) .button,\n:host([scale=l][compact]) .button {\n padding-left: 0;\n padding-right: 0;\n}\n\n.slot-container {\n display: flex;\n}\n\n.slot-container--hidden {\n display: none;\n}\n\n.button--text-visible {\n width: 100%;\n}\n\n:host([active]) .button,\n:host([active]) .button:hover,\n:host([active]) .button:focus,\n:host([active][loading]) .button {\n color: var(--calcite-ui-text-1);\n fill: var(--calcite-ui-text-1);\n background-color: var(--calcite-ui-foreground-3);\n}\n\n:host([active]) .button:active {\n background-color: var(--calcite-ui-foreground-1);\n}\n\n:host([appearance=clear]) .button {\n background-color: transparent;\n transition-property: box-shadow;\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n:host([appearance=clear]) .button:hover,\n:host([appearance=clear]) .button:focus {\n background-color: transparent;\n box-shadow: 0 0 0 2px var(--calcite-ui-border-1) inset;\n}\n\n:host([active][appearance=clear]) .button,\n:host([active][appearance=clear]) .button:hover,\n:host([active][appearance=clear]) .button:focus {\n color: var(--calcite-ui-text-1);\n fill: var(--calcite-ui-text-1);\n background-color: var(--calcite-ui-foreground-3);\n}\n\n:host([appearance=clear][loading]) .button,\n:host([appearance=clear][disabled]) .button {\n background-color: transparent;\n}\n\n:host([loading]) .button,\n:host([loading]) .button:hover,\n:host([loading]) .button:focus {\n background-color: var(--calcite-ui-foreground-1);\n}\n\n:host([loading]) .button .text-container,\n:host([loading]) .button:hover .text-container,\n:host([loading]) .button:focus .text-container {\n opacity: var(--calcite-ui-opacity-disabled);\n}\n\n:host([loading]) calcite-loader[inline] {\n margin-right: 0;\n color: var(--calcite-ui-text-3);\n}\n\n:host([disabled]) .button,\n:host([disabled]) .button:hover,\n:host([disabled]) .button:focus {\n cursor: default;\n opacity: var(--calcite-ui-opacity-disabled);\n background-color: var(--calcite-ui-foreground-1);\n}\n\n:host([disabled][active]) .button,\n:host([disabled][active]) .button:hover,\n:host([disabled][active]) .button:focus {\n opacity: var(--calcite-ui-opacity-disabled);\n background-color: var(--calcite-ui-foreground-3);\n}\n\n:host([indicator]) .button::after {\n content: \"\";\n position: absolute;\n border-width: 2px;\n background-color: var(--calcite-ui-brand);\n border-radius: 9999px;\n height: 0.5rem;\n width: 0.5rem;\n z-index: 10;\n border-color: var(--calcite-ui-foreground-1);\n inset-block-end: 0.75rem;\n inset-inline-end: 0.75rem;\n}\n\n:host([indicator]) .button--text-visible::after {\n inset-block-end: auto;\n}\n\n:host([indicator]) .button--text-visible .text-container--visible {\n margin-inline-end: 1rem;\n}\n\n:host([indicator]) .button:hover::after,\n:host([indicator]) .button:focus::after {\n border-color: var(--calcite-ui-foreground-1);\n}\n\n:host([indicator][scale=s]) .button::after {\n inset-block-end: 0.25rem;\n inset-inline-end: 0.25rem;\n}\n\n:host([indicator][scale=s]) .button--text-visible::after {\n inset-block-end: auto;\n inset-inline-end: 0.5rem;\n}\n\n:host([indicator][active]) .button::after {\n border-color: var(--calcite-ui-foreground-3);\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 */\nimport { Component, Element, Event, Host, Method, Prop, h, forceUpdate } from \"@stencil/core\";\nimport { CSS, TEXT } from \"./resources\";\nimport { createObserver } from \"../../utils/observers\";\n/**\n * @slot - A slot for adding a `calcite-icon`.\n */\nexport class CalciteAction {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * Indicates whether the action is highlighted.\n */\n this.active = false;\n /** Specify the appearance style of the action, defaults to solid. */\n this.appearance = \"solid\";\n /**\n * Compact mode is used internally by components to reduce side padding, e.g. calcite-block-section.\n */\n this.compact = false;\n /**\n * When true, disabled prevents interaction. This state shows items with lower opacity/grayed.\n */\n this.disabled = false;\n /**\n * Indicates unread changes.\n */\n this.indicator = false;\n /** string to override English loading text\n * @default \"Loading\"\n */\n this.intlLoading = TEXT.loading;\n /**\n * When true, content is waiting to be loaded. This state shows a busy indicator.\n */\n this.loading = false;\n /**\n * Specifies the size of the action.\n */\n this.scale = \"m\";\n /**\n * Indicates whether the text is displayed.\n */\n this.textEnabled = false;\n this.mutationObserver = createObserver(\"mutation\", () => forceUpdate(this));\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.calciteActionClickHandler = () => {\n if (!this.disabled) {\n this.calciteActionClick.emit();\n }\n };\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n var _a;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });\n }\n disconnectedCallback() {\n var _a;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n }\n // --------------------------------------------------------------------------\n //\n // Methods\n //\n // --------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus() {\n this.buttonEl.focus();\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderTextContainer() {\n const { text, textEnabled } = this;\n const textContainerClasses = {\n [CSS.textContainer]: true,\n [CSS.textContainerVisible]: textEnabled\n };\n return text ? (h(\"div\", { class: textContainerClasses, key: \"text-container\" }, text)) : null;\n }\n renderIconContainer() {\n var _a;\n const { loading, icon, scale, el, intlLoading } = this;\n const iconScale = scale === \"l\" ? \"m\" : \"s\";\n const calciteLoaderNode = loading ? (h(\"calcite-loader\", { active: true, inline: true, label: intlLoading, scale: iconScale })) : null;\n const calciteIconNode = icon ? h(\"calcite-icon\", { icon: icon, scale: iconScale }) : null;\n const iconNode = calciteLoaderNode || calciteIconNode;\n const hasIconToDisplay = iconNode || ((_a = el.children) === null || _a === void 0 ? void 0 : _a.length);\n const slotContainerNode = (h(\"div\", { class: {\n [CSS.slotContainer]: true,\n [CSS.slotContainerHidden]: loading\n } },\n h(\"slot\", null)));\n return hasIconToDisplay ? (h(\"div\", { \"aria-hidden\": \"true\", class: CSS.iconContainer, key: \"icon-container\" },\n iconNode,\n slotContainerNode)) : null;\n }\n render() {\n const { compact, disabled, loading, textEnabled, label, text } = this;\n const ariaLabel = label || text;\n const buttonClasses = {\n [CSS.button]: true,\n [CSS.buttonTextVisible]: textEnabled,\n [CSS.buttonCompact]: compact\n };\n return (h(Host, { onClick: this.calciteActionClickHandler },\n h(\"button\", { \"aria-busy\": loading.toString(), \"aria-disabled\": disabled.toString(), \"aria-label\": ariaLabel, class: buttonClasses, disabled: disabled, ref: (buttonEl) => (this.buttonEl = buttonEl) },\n this.renderIconContainer(),\n this.renderTextContainer())));\n }\n static get is() { return \"calcite-action\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-action.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-action.css\"]\n }; }\n static get properties() { return {\n \"active\": {\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\": \"Indicates whether the action is highlighted.\"\n },\n \"attribute\": \"active\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"alignment\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Alignment\",\n \"resolved\": \"\\\"center\\\" | \\\"end\\\" | \\\"start\\\"\",\n \"references\": {\n \"Alignment\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Optionally specify the horizontal alignment of button elements with text content.\"\n },\n \"attribute\": \"alignment\",\n \"reflect\": true\n },\n \"appearance\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Extract<\\\"solid\\\" | \\\"clear\\\", Appearance>\",\n \"resolved\": \"\\\"clear\\\" | \\\"solid\\\"\",\n \"references\": {\n \"Extract\": {\n \"location\": \"global\"\n },\n \"Appearance\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specify the appearance style of the action, defaults to solid.\"\n },\n \"attribute\": \"appearance\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"solid\\\"\"\n },\n \"compact\": {\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\": \"Compact mode is used internally by components to reduce side padding, e.g. calcite-block-section.\"\n },\n \"attribute\": \"compact\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"disabled\": {\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, disabled prevents interaction. This state shows items with lower opacity/grayed.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"icon\": {\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 name of the icon to display. The value of this property must match the icon name from https://esri.github.io/calcite-ui-icons/.\"\n },\n \"attribute\": \"icon\",\n \"reflect\": false\n },\n \"indicator\": {\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\": \"Indicates unread changes.\"\n },\n \"attribute\": \"indicator\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"intlLoading\": {\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 \"name\": \"default\",\n \"text\": \"\\\"Loading\\\"\"\n }],\n \"text\": \"string to override English loading text\"\n },\n \"attribute\": \"intl-loading\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.loading\"\n },\n \"label\": {\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 label of the action. If no label is provided, the label inherits what's provided for the `text` prop.\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"loading\": {\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, content is waiting to be loaded. This state shows a busy indicator.\"\n },\n \"attribute\": \"loading\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the size of the action.\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"text\": {\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\": \"Text that accompanies the action icon.\"\n },\n \"attribute\": \"text\",\n \"reflect\": false\n },\n \"textEnabled\": {\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\": \"Indicates whether the text is displayed.\"\n },\n \"attribute\": \"text-enabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n }\n }; }\n static get events() { return [{\n \"method\": \"calciteActionClick\",\n \"name\": \"calciteActionClick\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use onClick instead.\"\n }],\n \"text\": \"Emitted when the action has been clicked.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }]; }\n static get methods() { return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\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 }\n }\n }; }\n static get elementRef() { return \"el\"; }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"calcite-alert.entry.cjs.js","mappings":";;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACO,MAAM,IAAI,GAAG;AACpB,EAAE,SAAS,EAAE,OAAO;AACpB,CAAC,CAAC;AACK,MAAM,SAAS,GAAG;AACzB,EAAE,IAAI,EAAE,KAAK;AACb,EAAE,MAAM,EAAE,KAAK;AACf,EAAE,IAAI,EAAE,IAAI;AACZ,CAAC,CAAC;AACK,MAAM,KAAK,GAAG;AACrB,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,OAAO,EAAE,SAAS;AACpB,EAAE,IAAI,EAAE,MAAM;AACd,CAAC;;AChBD,MAAM,eAAe,GAAG,qxRAAqxR;;ICiBhyR,YAAY;EACvB;;;;;;;;;;;;IAOE,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;;IAEpB,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;;IAEzB,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,WAAW,GAAG,QAAQ,GAAG,IAAI,CAAC;;IAE9D,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC;;;;IAIpB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;;IAEhC,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;;;;;;;IAOjB,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;;IAEhB,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC;;IAErB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;;IAEpB,IAAI,CAAC,UAAU,GAAG;MAChB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;MACpB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;MACpB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,KA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,OAAO;KACR;GACF;;EAED,SAAS;IACP,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IAChC,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,EAAE,GAAG,CAAC,CAAC;IACxE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC;MACzB,EAAE,EAAE,IAAI,CAAC,EAAE;MACX,KAAK,EAAE,IAAI,CAAC,KAAK;KAClB,CAAC,CAAC;GACJ;;;;;;;;;;;;","names":["setRequestedIcon","StatusIcons","getElementDir","h","Host","CSS_UTILITY"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-alert/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-alert/calcite-alert.css?tag=calcite-alert&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-alert/calcite-alert.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 */\nexport const TEXT = {\n intlClose: \"Close\"\n};\nexport const DURATIONS = {\n slow: 14000,\n medium: 10000,\n fast: 6000\n};\nexport const SLOTS = {\n title: \"title\",\n message: \"message\",\n link: \"link\"\n};\n","/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\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/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component's tag as selector.\n*\n* @prop --calcite-alert-width: the width of the alert\n*/\n\n:host([scale=s]) {\n --calcite-alert-width: 40em;\n --calcite-alert-spacing-token-small: 0.5rem;\n --calcite-alert-spacing-token-large: 0.75rem;\n}\n\n:host([scale=s]) slot[name=title]::slotted(*),\n:host([scale=s]) *::slotted([slot=title]) {\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n\n:host([scale=s]) slot[name=message]::slotted(*),\n:host([scale=s]) *::slotted([slot=message]) {\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n}\n\n:host([scale=s]) slot[name=link]::slotted(*),\n:host([scale=s]) *::slotted([slot=link]) {\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n}\n\n:host([scale=s]) .alert-queue-count {\n margin-left: 0.5rem;\n margin-right: 0.5rem;\n}\n\n:host([scale=s]) .container {\n --calcite-alert-min-height: 3.5rem;\n}\n\n:host([scale=s]) .alert-close {\n padding: 0.5rem;\n}\n\n:host([scale=m]) {\n --calcite-alert-width: 50em;\n --calcite-alert-spacing-token-small: 0.75rem;\n --calcite-alert-spacing-token-large: 1rem;\n}\n\n:host([scale=m]) slot[name=title]::slotted(*),\n:host([scale=m]) *::slotted([slot=title]) {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n\n:host([scale=m]) slot[name=message]::slotted(*),\n:host([scale=m]) *::slotted([slot=message]) {\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n\n:host([scale=m]) slot[name=link]::slotted(*),\n:host([scale=m]) *::slotted([slot=link]) {\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n\n:host([scale=m]) .alert-queue-count {\n margin-left: 0.75rem;\n margin-right: 0.75rem;\n}\n\n:host([scale=m]) .container {\n --calcite-alert-min-height: 4.1875rem;\n}\n\n:host([scale=l]) {\n --calcite-alert-width: 60em;\n --calcite-alert-spacing-token-small: 1rem;\n --calcite-alert-spacing-token-large: 1.25rem;\n}\n\n:host([scale=l]) slot[name=title]::slotted(*),\n:host([scale=l]) *::slotted([slot=title]) {\n font-size: var(--calcite-font-size-1);\n line-height: 1.375;\n margin-bottom: 0.25rem;\n}\n\n:host([scale=l]) slot[name=message]::slotted(*),\n:host([scale=l]) *::slotted([slot=message]) {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n\n:host([scale=l]) slot[name=link]::slotted(*),\n:host([scale=l]) *::slotted([slot=link]) {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n\n:host([scale=l]) .alert-queue-count {\n margin-left: 1rem;\n margin-right: 1rem;\n}\n\n:host([scale=l]) .container {\n --calcite-alert-min-height: 5.625rem;\n}\n\n:host {\n display: block;\n}\n\n:host .container {\n box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);\n display: flex;\n position: fixed;\n justify-content: center;\n align-items: center;\n pointer-events: none;\n margin-top: 0;\n margin-bottom: 0;\n margin-left: auto;\n margin-right: auto;\n background-color: var(--calcite-ui-foreground-1);\n opacity: 0;\n left: 0;\n right: 0;\n bottom: 0;\n border-radius: var(--calcite-border-radius);\n border-top: 0px solid transparent;\n border-left: 1px solid var(--calcite-ui-border-3);\n border-right: 1px solid var(--calcite-ui-border-3);\n border-bottom: 1px solid var(--calcite-ui-border-3);\n min-height: var(--calcite-alert-min-height);\n width: var(--calcite-alert-width);\n max-width: 90%;\n max-height: 0;\n z-index: 101;\n transform: translate3d(0, 1.5rem, 0);\n transition: 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity 300ms cubic-bezier(0.215, 0.44, 0.42, 0.88), all 0.15s ease-in-out;\n}\n\n.container {\n display: flex;\n width: 100%;\n justify-content: center;\n align-items: center;\n}\n\n.alert-close {\n outline-offset: 0;\n outline-color: transparent;\n transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;\n}\n\n.alert-close:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n\n:host([active]) .container:not(.queued) {\n opacity: 1;\n max-height: 100%;\n border-top-width: 2px;\n transform: translate3d(0, -1.5rem, 0);\n pointer-events: initial;\n}\n\nslot[name=title]::slotted(*),\n*::slotted([slot=title]) {\n font-weight: var(--calcite-font-weight-medium);\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n color: var(--calcite-ui-text-1);\n}\n\nslot[name=message]::slotted(*),\n*::slotted([slot=message]) {\n display: inline;\n margin: 0;\n margin-right: 0.5rem;\n font-weight: var(--calcite-font-weight-normal);\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n color: var(--calcite-ui-text-2);\n}\n\nslot[name=link]::slotted(*),\n*::slotted([slot=link]) {\n color: var(--calcite-ui-text-link);\n display: inline-flex;\n}\n\n.calcite--rtl slot[name=message]::slotted(*),\n.calcite--rtl *::slotted([slot=message]) {\n margin-left: 0.5rem;\n margin-right: unset;\n}\n\n.alert-content {\n padding: var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);\n flex: 0 0 auto;\n transition: all 0.15s ease-in-out;\n word-wrap: break-word;\n overflow-wrap: break-word;\n background-color: var(--calcite-ui-foreground-1);\n flex: 1 1 auto;\n min-width: 0;\n padding: var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-small) 0;\n border-bottom-left-radius: var(--calcite-border-radius);\n border-bottom-right-radius: var(--calcite-border-radius);\n}\n\n.alert-content:first-of-type:not(:only-child) {\n padding-left: var(--calcite-alert-spacing-token-large);\n}\n\n.alert-content:only-child {\n padding: var(--calcite-alert-spacing-token-small);\n}\n\n.calcite--rtl .alert-content {\n padding: var(--calcite-alert-spacing-token-small) 0 var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-small);\n}\n\n.calcite--rtl .alert-content:first-of-type:not(:only-child) {\n padding-right: var(--calcite-alert-spacing-token-large);\n}\n\n.alert-icon {\n padding: var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);\n flex: 0 0 auto;\n transition: all 0.15s ease-in-out;\n padding-top: 0;\n padding-bottom: 0;\n display: flex;\n align-self: stretch;\n align-items: center;\n background-color: var(--calcite-ui-foreground-1);\n}\n\n.alert-close {\n padding: var(--calcite-alert-spacing-token-small) var(--calcite-alert-spacing-token-large);\n flex: 0 0 auto;\n transition: all 0.15s ease-in-out;\n padding-top: 0;\n padding-bottom: 0;\n align-self: stretch;\n background-color: var(--calcite-ui-foreground-1);\n border-style: none;\n outline: 2px solid transparent;\n outline-offset: 2px;\n cursor: pointer;\n color: var(--calcite-ui-text-3);\n overflow: hidden;\n border-bottom-right-radius: var(--calcite-border-radius);\n}\n\n.alert-close:hover, .alert-close:focus {\n color: var(--calcite-ui-text-1);\n background-color: var(--calcite-ui-foreground-2);\n}\n\n.alert-close:active {\n background-color: var(--calcite-ui-foreground-3);\n}\n\n.calcite--rtl .alert-close {\n border-bottom-left-radius: var(--calcite-border-radius);\n border-bottom-right-radius: unset;\n}\n\n.alert-queue-count {\n display: flex;\n align-items: center;\n justify-content: space-around;\n align-self: stretch;\n overflow: hidden;\n visibility: hidden;\n font-weight: var(--calcite-font-weight-medium);\n text-align: center;\n color: var(--calcite-ui-text-2);\n background-color: var(--calcite-ui-foreground-1);\n opacity: 0;\n cursor: default;\n border-left: 0px solid transparent;\n border-right: 0px solid transparent;\n border-top-right-radius: 0;\n transition: all 0.15s ease-in-out;\n}\n\n.alert-queue-count.active {\n visibility: visible;\n opacity: 1;\n}\n\n:host([auto-dismiss]) > .alert-queue-count {\n border-right: 0px solid transparent;\n}\n\n:host([auto-dismiss]) .calcite--rtl > .alert-queue-count {\n border-left: 0px solid transparent;\n}\n\n.alert-dismiss-progress {\n display: block;\n position: absolute;\n left: 0;\n right: 0;\n width: 100%;\n overflow: hidden;\n top: -2px;\n height: 2px;\n z-index: 103;\n border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0;\n}\n\n.alert-dismiss-progress:after {\n top: 0;\n right: 0;\n display: block;\n position: absolute;\n height: 2px;\n content: \"\";\n background-color: var(--calcite-alert-dismiss-progress-background);\n z-index: 104;\n}\n\n.calcite--rtl .alert-dismiss-progress:after {\n left: 0;\n right: initial;\n}\n\n:host([color=blue]) .container {\n border-top-color: var(--calcite-ui-info);\n}\n\n:host([color=blue]) .container .alert-icon {\n color: var(--calcite-ui-info);\n}\n\n:host([color=red]) .container {\n border-top-color: var(--calcite-ui-danger);\n}\n\n:host([color=red]) .container .alert-icon {\n color: var(--calcite-ui-danger);\n}\n\n:host([color=yellow]) .container {\n border-top-color: var(--calcite-ui-warning);\n}\n\n:host([color=yellow]) .container .alert-icon {\n color: var(--calcite-ui-warning);\n}\n\n:host([color=green]) .container {\n border-top-color: var(--calcite-ui-success);\n}\n\n:host([color=green]) .container .alert-icon {\n color: var(--calcite-ui-success);\n}\n\n:host([auto-dismiss-duration=fast]) .alert-dismiss-progress:after {\n animation: dismissProgress 6000ms ease-out;\n}\n\n:host([auto-dismiss-duration=medium]) .alert-dismiss-progress:after {\n animation: dismissProgress 10000ms ease-out;\n}\n\n:host([auto-dismiss-duration=slow]) .alert-dismiss-progress:after {\n animation: dismissProgress 14000ms ease-out;\n}\n\n@keyframes dismissProgress {\n 0% {\n width: 0;\n opacity: 0.75;\n }\n\n 100% {\n width: 100%;\n opacity: 1;\n }\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 */\nimport { Component, Element, Event, h, Host, Listen, Method, Prop, State, Watch } from \"@stencil/core\";\nimport { getElementDir, setRequestedIcon } from \"../../utils/dom\";\nimport { DURATIONS, SLOTS, TEXT } from \"./resources\";\nimport { StatusIcons } from \"./interfaces\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\n/** Alerts are meant to provide a way to communicate urgent or important information to users, frequently as a result of an action they took in your app. Alerts are positioned\n * at the bottom of the page. Multiple opened alerts will be added to a queue, allowing users to dismiss them in the order they are provided.\n */\n/**\n * @slot title - Title of the alert (optional)\n * @slot message - Main text of the alert\n * @slot link - Optional action to take from the alert (undo, try again, link to page, etc.)\n */\nexport class CalciteAlert {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //---------------------------------------------------------------------------\n /** Is the alert currently active or not */\n this.active = false;\n /** Close the alert automatically (recommended for passive, non-blocking alerts) */\n this.autoDismiss = false;\n /** Duration of autoDismiss (only used with `autoDismiss`) */\n this.autoDismissDuration = this.autoDismiss ? \"medium\" : null;\n /** Color for the alert (will apply to top border and icon) */\n this.color = \"blue\";\n /** string to override English close text\n * @default \"Close\"\n */\n this.intlClose = TEXT.intlClose;\n /** specify the scale of the button, defaults to m */\n this.scale = \"m\";\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n /** the list of queued alerts */\n this.queue = [];\n /** the count of queued alerts */\n this.queueLength = 0;\n /** is the alert queued */\n this.queued = false;\n /** close and emit the closed alert and the queue */\n this.closeAlert = () => {\n this.queued = false;\n this.active = false;\n this.queue = this.queue.filter((e) => e !== this.el);\n this.determineActiveAlert();\n this.calciteAlertSync.emit({ queue: this.queue });\n this.calciteAlertClose.emit({\n el: this.el,\n queue: this.queue\n });\n };\n }\n watchActive() {\n if (this.active && !this.queued) {\n this.calciteAlertRegister.emit();\n }\n if (!this.active) {\n this.queue = this.queue.filter((e) => e !== this.el);\n this.calciteAlertSync.emit({ queue: this.queue });\n }\n }\n updateRequestedIcon() {\n this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n if (this.active && !this.queued) {\n this.calciteAlertRegister.emit();\n }\n }\n componentWillLoad() {\n this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);\n }\n componentDidLoad() {\n this.alertLinkEl = this.el.querySelectorAll(\"calcite-link\")[0];\n }\n render() {\n const dir = getElementDir(this.el);\n const closeButton = (h(\"button\", { \"aria-label\": this.intlClose, class: \"alert-close\", onClick: this.closeAlert, ref: (el) => (this.closeButton = el), type: \"button\" },\n h(\"calcite-icon\", { icon: \"x\", scale: this.scale === \"l\" ? \"m\" : \"s\" })));\n const queueText = `+${this.queueLength > 2 ? this.queueLength - 1 : 1}`;\n const queueCount = (h(\"div\", { class: `${this.queueLength > 1 ? \"active \" : \"\"}alert-queue-count` },\n h(\"calcite-chip\", { scale: this.scale, value: queueText }, queueText)));\n const { active, autoDismiss, label, queued, requestedIcon } = this;\n const progress = h(\"div\", { class: \"alert-dismiss-progress\" });\n const role = autoDismiss ? \"alert\" : \"alertdialog\";\n const hidden = !active;\n return (h(Host, { \"aria-hidden\": hidden.toString(), \"aria-label\": label, \"calcite-hydrated-hidden\": hidden, role: role },\n h(\"div\", { class: {\n container: true,\n queued,\n [CSS_UTILITY.rtl]: dir === \"rtl\"\n } },\n requestedIcon ? (h(\"div\", { class: \"alert-icon\" },\n h(\"calcite-icon\", { icon: requestedIcon, scale: this.scale === \"l\" ? \"m\" : \"s\" }))) : null,\n h(\"div\", { class: \"alert-content\" },\n h(\"slot\", { name: SLOTS.title }),\n h(\"slot\", { name: SLOTS.message }),\n h(\"slot\", { name: SLOTS.link })),\n queueCount,\n !autoDismiss ? closeButton : null,\n active && !queued && autoDismiss ? progress : null)));\n }\n // when an alert is opened or closed, update queue and determine active alert\n alertSync(event) {\n if (this.queue !== event.detail.queue) {\n this.queue = event.detail.queue;\n }\n this.queueLength = this.queue.length;\n this.determineActiveAlert();\n }\n // when an alert is first registered, trigger a queue sync to get queue\n alertRegister() {\n if (this.active && !this.queue.includes(this.el)) {\n this.queued = true;\n this.queue.push(this.el);\n }\n this.calciteAlertSync.emit({ queue: this.queue });\n this.determineActiveAlert();\n }\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus() {\n if (!this.closeButton && !this.alertLinkEl) {\n return;\n }\n else if (this.alertLinkEl) {\n this.alertLinkEl.setFocus();\n }\n else if (this.closeButton) {\n this.closeButton.focus();\n }\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n /** determine which alert is active */\n determineActiveAlert() {\n var _a;\n if (((_a = this.queue) === null || _a === void 0 ? void 0 : _a[0]) === this.el) {\n this.openAlert();\n clearTimeout(this.autoDismissTimeout);\n if (this.autoDismiss) {\n this.autoDismissTimeout = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);\n }\n }\n else {\n return;\n }\n }\n /** emit the opened alert and the queue */\n openAlert() {\n clearTimeout(this.queueTimeout);\n this.queueTimeout = window.setTimeout(() => (this.queued = false), 300);\n this.calciteAlertOpen.emit({\n el: this.el,\n queue: this.queue\n });\n }\n static get is() { return \"calcite-alert\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-alert.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-alert.css\"]\n }; }\n static get properties() { return {\n \"active\": {\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\": \"Is the alert currently active or not\"\n },\n \"attribute\": \"active\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"autoDismiss\": {\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\": \"Close the alert automatically (recommended for passive, non-blocking alerts)\"\n },\n \"attribute\": \"auto-dismiss\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"autoDismissDuration\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"AlertDuration\",\n \"resolved\": \"\\\"fast\\\" | \\\"medium\\\" | \\\"slow\\\"\",\n \"references\": {\n \"AlertDuration\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Duration of autoDismiss (only used with `autoDismiss`)\"\n },\n \"attribute\": \"auto-dismiss-duration\",\n \"reflect\": true,\n \"defaultValue\": \"this.autoDismiss ? \\\"medium\\\" : null\"\n },\n \"color\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"StatusColor\",\n \"resolved\": \"\\\"blue\\\" | \\\"green\\\" | \\\"red\\\" | \\\"yellow\\\"\",\n \"references\": {\n \"StatusColor\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Color for the alert (will apply to top border and icon)\"\n },\n \"attribute\": \"color\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"blue\\\"\"\n },\n \"icon\": {\n \"type\": \"any\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string | boolean\",\n \"resolved\": \"boolean | string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"when used as a boolean set to true, show a default recommended icon. You can\\nalso pass a calcite-ui-icon name to this prop to display a requested icon\"\n },\n \"attribute\": \"icon\",\n \"reflect\": true\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\": \"string to override English close text\"\n },\n \"attribute\": \"intl-close\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.intlClose\"\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 \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the scale of the button, defaults to m\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n }\n }; }\n static get states() { return {\n \"queue\": {},\n \"queueLength\": {},\n \"queued\": {},\n \"requestedIcon\": {}\n }; }\n static get events() { return [{\n \"method\": \"calciteAlertClose\",\n \"name\": \"calciteAlertClose\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fired when an alert is closed\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteAlertOpen\",\n \"name\": \"calciteAlertOpen\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fired when an alert is opened\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteAlertSync\",\n \"name\": \"calciteAlertSync\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Fired to sync queue when opened or closed\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteAlertRegister\",\n \"name\": \"calciteAlertRegister\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"internal\",\n \"text\": undefined\n }],\n \"text\": \"Fired when an alert is added to dom - used to receive initial queue\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }]; }\n static get methods() { return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\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 }\n }\n }; }\n static get elementRef() { return \"el\"; }\n static get watchers() { return [{\n \"propName\": \"active\",\n \"methodName\": \"watchActive\"\n }, {\n \"propName\": \"icon\",\n \"methodName\": \"updateRequestedIcon\"\n }, {\n \"propName\": \"color\",\n \"methodName\": \"updateRequestedIcon\"\n }]; }\n static get listeners() { return [{\n \"name\": \"calciteAlertSync\",\n \"method\": \"alertSync\",\n \"target\": \"window\",\n \"capture\": false,\n \"passive\": false\n }, {\n \"name\": \"calciteAlertRegister\",\n \"method\": \"alertRegister\",\n \"target\": \"window\",\n \"capture\": false,\n \"passive\": false\n }]; }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"calcite-avatar.entry.cjs.js","mappings":";;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;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,gCAAgC,CAAC;KACzC;IACD,MAAM,GAAG,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;IAC1B,MAAM,CAAC,GAAG,KAAK,KAAK,MAAM,GAAG,EAAE,GAAG,EAAE,CAAC;IACrC,OAAO,OAAO,GAAG,UAAU,CAAC,IAAI,CAAC;GAClC;;;;EAID,gBAAgB;IACd,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;IACpC,IAAI,QAAQ,EAAE;MACZ,OAAO,QAAQ;SACZ,IAAI,EAAE;SACN,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;SACnC,IAAI,CAAC,EAAE,CAAC,CAAC;KACb;SACI,IAAI,QAAQ,EAAE;MACjB,OAAO,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KACjC;IACD,OAAO,KAAK,CAAC;GACd;;;;;;;","names":["hexToRGB","getElementDir","h","getThemeName","isValidHex"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-avatar/utils.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-avatar/calcite-avatar.css?tag=calcite-avatar&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-avatar/calcite-avatar.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 */\nimport { hexToRGB } from \"../calcite-color-picker/utils\";\n/**\n * Convert a string to a valid hex by hashing its contents\n * and using the hash as a seed for three distinct color values\n */\nexport function stringToHex(str) {\n let hash = 0;\n for (let i = 0; i < str.length; i++) {\n hash = str.charCodeAt(i) + ((hash << 5) - hash);\n }\n let hex = \"#\";\n for (let j = 0; j < 3; j++) {\n const value = (hash >> (j * 8)) & 0xff;\n hex += (\"00\" + value.toString(16)).substr(-2);\n }\n return hex;\n}\n/**\n * Find the hue of a color given the separate RGB color channels\n */\nexport function rgbToHue(rgb) {\n let { r, g, b } = rgb;\n r /= 255;\n g /= 255;\n b /= 255;\n const max = Math.max(r, g, b);\n const min = Math.min(r, g, b);\n const delta = max - min;\n if (max === min) {\n return 0;\n }\n let hue = (max + min) / 2;\n switch (max) {\n case r:\n hue = (g - b) / delta + (g < b ? 6 : 0);\n break;\n case g:\n hue = (b - r) / delta + 2;\n break;\n case b:\n hue = (r - g) / delta + 4;\n break;\n }\n return Math.round(hue * 60);\n}\n/**\n * For a hex color, find the hue\n * @param hex {string} - form of \"#------\"\n */\nexport function hexToHue(hex) {\n return rgbToHue(hexToRGB(hex));\n}\n","/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\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/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n overflow: hidden;\n}\n\n:host([scale=s]) {\n width: 1.5rem;\n height: 1.5rem;\n font-size: var(--calcite-font-size--3);\n}\n\n:host([scale=m]) {\n width: 2rem;\n height: 2rem;\n font-size: var(--calcite-font-size--2);\n}\n\n:host([scale=l]) {\n width: 2.75rem;\n height: 2.75rem;\n font-size: var(--calcite-font-size-0);\n}\n\n.icon {\n display: flex;\n}\n\n.background {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n}\n\n.initials {\n font-weight: var(--calcite-font-weight-bold);\n text-transform: uppercase;\n color: var(--calcite-ui-text-3);\n}\n\n.thumbnail {\n width: 100%;\n height: 100%;\n border-radius: 50%;\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 */\nimport { Component, Element, h, Prop, State } from \"@stencil/core\";\nimport { getElementDir } from \"../../utils/dom\";\nimport { isValidHex } from \"../calcite-color-picker/utils\";\nimport { hexToHue, stringToHex } from \"./utils\";\nimport { getThemeName } from \"../../utils/dom\";\nexport class CalciteAvatar {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n /** specify the scale of the avatar, defaults to m */\n this.scale = \"m\";\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n /** True if thumnail fails to load */\n this.error = false;\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n render() {\n return this.determineContent();\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n determineContent() {\n const dir = getElementDir(this.el);\n if (this.thumbnail && !this.error) {\n return (h(\"img\", { alt: \"\", class: \"thumbnail\", dir: dir, onError: () => (this.error = true), src: this.thumbnail }));\n }\n const initials = this.generateInitials();\n const backgroundColor = this.generateFillColor();\n return (h(\"span\", { class: \"background\", dir: dir, style: { backgroundColor } }, initials ? (h(\"span\", { \"aria-hidden\": \"true\", class: \"initials\" }, initials)) : (h(\"calcite-icon\", { class: \"icon\", icon: \"user\", scale: this.scale }))));\n }\n /**\n * Generate a valid background color that is consistent and unique to this user\n */\n generateFillColor() {\n const { userId, username, fullName, el } = this;\n const theme = getThemeName(el);\n const id = userId && `#${userId.substr(userId.length - 6)}`;\n const name = username || fullName || \"\";\n const hex = id && isValidHex(id) ? id : stringToHex(name);\n // if there is not unique information, or an invalid hex is produced, return a default\n if ((!userId && !name) || !isValidHex(hex)) {\n return `var(--calcite-ui-foreground-2)`;\n }\n const hue = hexToHue(hex);\n const l = theme === \"dark\" ? 20 : 90;\n return `hsl(${hue}, 60%, ${l}%)`;\n }\n /**\n * Use fullname or username to generate initials\n */\n generateInitials() {\n const { fullName, username } = this;\n if (fullName) {\n return fullName\n .trim()\n .split(\" \")\n .map((name) => name.substring(0, 1))\n .join(\"\");\n }\n else if (username) {\n return username.substring(0, 2);\n }\n return false;\n }\n static get is() { return \"calcite-avatar\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-avatar.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-avatar.css\"]\n }; }\n static get properties() { return {\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the scale of the avatar, defaults to m\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"thumbnail\": {\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 \"text\": \"src to an image (remember to add a token if the user is private)\"\n },\n \"attribute\": \"thumbnail\",\n \"reflect\": false\n },\n \"fullName\": {\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 \"text\": \"full name of the user\"\n },\n \"attribute\": \"full-name\",\n \"reflect\": false\n },\n \"username\": {\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 \"text\": \"user name\"\n },\n \"attribute\": \"username\",\n \"reflect\": false\n },\n \"userId\": {\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 \"text\": \"unique id for user\"\n },\n \"attribute\": \"user-id\",\n \"reflect\": false\n }\n }; }\n static get states() { return {\n \"error\": {}\n }; }\n static get elementRef() { return \"el\"; }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"calcite-block-section.entry.cjs.js","mappings":";;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,OAAO,EAAE,SAAS;AACpB,EAAE,OAAO,EAAE,SAAS;AACpB,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,YAAY,EAAE,gBAAgB;AAChC,EAAE,mBAAmB,EAAE,yBAAyB;AAChD,EAAE,gBAAgB,EAAE,sBAAsB;AAC1C,EAAE,aAAa,EAAE,gBAAgB;AACjC,EAAE,iBAAiB,EAAE,sBAAsB;AAC3C,EAAE,UAAU,EAAE,aAAa;AAC3B,EAAE,KAAK,EAAE,OAAO;AAChB,CAAC,CAAC;AACK,MAAM,IAAI,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AAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EACpF,IAAI,CAAC,gBAAgB,EAAE,CAAC,KAAKA,OAAC,CAAC,QAAQ,EAAE,EAAE,YAAY,EAAE,WAAW,EAAE,KAAK,EAAE;QAC3E,CAAC,GAAG,CAAC,aAAa,GAAG,IAAI;QACzB,CAAC,GAAG,CAAC,MAAM,GAAG,IAAI;OACnB,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,CAAC,aAAa,EAAE,EACnDA,OAAC,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,EAClDA,OAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,iBAAiB,EAAE,EAAE,IAAI,CAAC,EACjD,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC;IAC5B,QAAQA,OAAC,CAAC,SAAS,EAAE,EAAE,eAAe,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,EAAE,CAACE,eAAW,CAAC,GAAG,GAAG,GAAG,KAAK,KAAK,EAAE,EAAE,EACpG,UAAU,EACVF,OAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,EAC5CA,OAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE;GACxB;;;;;;;","names":["h","getElementDir","CSS_UTILITY"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-block-section/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-block-section/calcite-block-section.css?tag=calcite-block-section&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-block-section/calcite-block-section.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 */\nexport const CSS = {\n content: \"content\",\n invalid: \"invalid\",\n toggle: \"toggle\",\n toggleSwitch: \"toggle--switch\",\n toggleSwitchContent: \"toggle--switch__content\",\n toggleSwitchText: \"toggle--switch__text\",\n sectionHeader: \"section-header\",\n sectionHeaderText: \"section-header__text\",\n statusIcon: \"status-icon\",\n valid: \"valid\"\n};\nexport const TEXT = {\n collapse: \"Collapse\",\n expand: \"Expand\"\n};\nexport const ICONS = {\n menuOpen: \"chevron-down\",\n menuClosedLeft: \"chevron-left\",\n menuClosedRight: \"chevron-right\",\n valid: \"check-circle\",\n invalid: \"exclamation-mark-triangle\"\n};\n","/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\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/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n box-sizing: border-box;\n background-color: var(--calcite-ui-foreground-1);\n color: var(--calcite-ui-text-2);\n font-size: var(--calcite-font-size--1);\n display: block;\n}\n\n:host([open]) {\n border-style: solid;\n border-width: 0;\n border-bottom-color: var(--calcite-ui-border-3);\n border-bottom-width: 1px;\n}\n\n:host(:last-child) {\n border-bottom-width: 0;\n}\n\n.toggle {\n background-color: transparent;\n border-width: 0;\n color: var(--calcite-ui-text-2);\n font-family: var(--calcite-sans-family);\n font-weight: var(--calcite-font-weight-medium);\n width: 100%;\n}\n\n.toggle--switch,\n.section-header {\n align-items: center;\n cursor: pointer;\n display: flex;\n margin-left: 0;\n margin-right: 0;\n margin-top: 0.25rem;\n margin-bottom: 0.25rem;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n -webkit-user-select: none;\n user-select: none;\n font-size: var(--calcite-font-size--1);\n outline-offset: 0;\n outline-color: transparent;\n transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;\n}\n\n.toggle--switch:focus,\n.section-header:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: 2px;\n}\n\n.toggle--switch:hover,\n.section-header:hover {\n color: var(--calcite-ui-text-1);\n}\n\n.section-header .status-icon {\n align-self: flex-end;\n}\n\n.section-header__text {\n flex: 1 1 auto;\n margin-left: 0.75rem;\n margin-right: 0.75rem;\n margin-top: 0;\n margin-bottom: 0;\n text-align: initial;\n word-wrap: anywhere;\n}\n\n.toggle--switch calcite-switch {\n pointer-events: none;\n margin-left: 0.25rem;\n}\n\n.toggle--switch .status-icon {\n margin-left: 0.5rem;\n}\n\n.toggle--switch__content {\n display: flex;\n align-items: center;\n flex: 1 1 auto;\n}\n\n.status-icon.valid {\n color: var(--calcite-ui-success);\n}\n\n.status-icon.invalid {\n color: var(--calcite-ui-danger);\n}\n\n.calcite--rtl .toggle--switch calcite-switch {\n margin-left: 0;\n margin-right: 0.25rem;\n}\n\n.calcite--rtl .toggle--switch .status-icon {\n margin-left: 0;\n margin-right: 0.5rem;\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 */\nimport { Component, Element, Event, Prop, h } from \"@stencil/core\";\nimport { getElementDir } from \"../../utils/dom\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\nimport { CSS, ICONS, TEXT } from \"./resources\";\n/**\n * @slot - A slot for adding content to the block section.\n */\nexport class CalciteBlockSection {\n constructor() {\n /**\n * When true, the block's section content will be displayed.\n */\n this.open = false;\n /**\n * This property determines the look of the section toggle.\n * If the value is \"switch\", a toggle-switch will be displayed.\n * If the value is \"button\", a clickable header is displayed.\n */\n this.toggleDisplay = \"button\";\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.handleHeaderKeyDown = (event) => {\n if (event.key === \" \" || event.key === \"Enter\") {\n this.toggleSection();\n event.preventDefault();\n event.stopPropagation();\n }\n };\n this.toggleSection = () => {\n this.open = !this.open;\n this.calciteBlockSectionToggle.emit();\n };\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderStatusIcon() {\n var _a;\n const { status } = this;\n const statusIcon = (_a = ICONS[status]) !== null && _a !== void 0 ? _a : false;\n const statusIconClasses = {\n [CSS.statusIcon]: true,\n [CSS.valid]: status == \"valid\",\n [CSS.invalid]: status == \"invalid\"\n };\n return !!statusIcon ? (h(\"calcite-icon\", { class: statusIconClasses, icon: statusIcon, scale: \"s\" })) : null;\n }\n render() {\n const { el, intlCollapse, intlExpand, open, text, toggleDisplay } = this;\n const dir = getElementDir(el);\n const arrowIcon = open\n ? ICONS.menuOpen\n : dir === \"rtl\"\n ? ICONS.menuClosedLeft\n : ICONS.menuClosedRight;\n const toggleLabel = open ? intlCollapse || TEXT.collapse : intlExpand || TEXT.expand;\n const headerNode = toggleDisplay === \"switch\" ? (h(\"div\", { \"aria-label\": toggleLabel, class: {\n [CSS.toggle]: true,\n [CSS.toggleSwitch]: true\n }, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel },\n h(\"div\", { class: CSS.toggleSwitchContent },\n h(\"span\", { class: CSS.toggleSwitchText }, text)),\n h(\"calcite-switch\", { checked: open, label: toggleLabel, scale: \"s\", tabIndex: -1 }),\n this.renderStatusIcon())) : (h(\"button\", { \"aria-label\": toggleLabel, class: {\n [CSS.sectionHeader]: true,\n [CSS.toggle]: true\n }, name: toggleLabel, onClick: this.toggleSection },\n h(\"calcite-icon\", { icon: arrowIcon, scale: \"s\" }),\n h(\"span\", { class: CSS.sectionHeaderText }, text),\n this.renderStatusIcon()));\n return (h(\"section\", { \"aria-expanded\": open.toString(), class: { [CSS_UTILITY.rtl]: dir === \"rtl\" } },\n headerNode,\n h(\"div\", { class: CSS.content, hidden: !open },\n h(\"slot\", null))));\n }\n static get is() { return \"calcite-block-section\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-block-section.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-block-section.css\"]\n }; }\n static get properties() { return {\n \"intlCollapse\": {\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\": \"Tooltip used for the toggle when expanded.\"\n },\n \"attribute\": \"intl-collapse\",\n \"reflect\": false\n },\n \"intlExpand\": {\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\": \"Tooltip used for the toggle when collapsed.\"\n },\n \"attribute\": \"intl-expand\",\n \"reflect\": false\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, the block's section content will be displayed.\"\n },\n \"attribute\": \"open\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"status\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Status\",\n \"resolved\": \"\\\"idle\\\" | \\\"invalid\\\" | \\\"valid\\\"\",\n \"references\": {\n \"Status\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"BlockSection status. Adds indicator to show valid or invalid status.\"\n },\n \"attribute\": \"status\",\n \"reflect\": true\n },\n \"text\": {\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 \"text\": \"Text displayed in the button.\"\n },\n \"attribute\": \"text\",\n \"reflect\": false\n },\n \"toggleDisplay\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"BlockSectionToggleDisplay\",\n \"resolved\": \"\\\"button\\\" | \\\"switch\\\"\",\n \"references\": {\n \"BlockSectionToggleDisplay\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"This property determines the look of the section toggle.\\nIf the value is \\\"switch\\\", a toggle-switch will be displayed.\\nIf the value is \\\"button\\\", a clickable header is displayed.\"\n },\n \"attribute\": \"toggle-display\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"button\\\"\"\n }\n }; }\n static get events() { return [{\n \"method\": \"calciteBlockSectionToggle\",\n \"name\": \"calciteBlockSectionToggle\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the header has been clicked.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references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OAAO,EAAE,CAAC,CAAC,IAAI,IAAI,EAC7C,cAAc,IAAIA,OAAC,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,OAAO,EAAE,EACpFA,OAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,iBAAiB,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC;IAC5D,QAAQA,OAAC,CAACG,UAAI,EAAE,EAAE,QAAQ,EAAE,QAAQ,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,EAChDH,OAAC,CAAC,SAAS,EAAE,EAAE,WAAW,EAAE,OAAO,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE;QACnD,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI;OACpB,EAAE,EACH,UAAU,EACVA,OAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE;GAC5E;;;;;;;","names":["h","getSlotted","CalciteHeading","Host"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/calcite-block/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-block/calcite-block.css?tag=calcite-block&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-block/calcite-block.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 */\nexport const CSS = {\n article: \"article\",\n content: \"content\",\n headerContainer: \"header-container\",\n icon: \"icon\",\n statusIcon: \"status-icon\",\n toggle: \"toggle\",\n toggleIcon: \"toggle-icon\",\n title: \"title\",\n heading: \"heading\",\n header: \"header\",\n button: \"button\",\n summary: \"summary\",\n controlContainer: \"control-container\",\n valid: \"valid\",\n invalid: \"invalid\",\n loading: \"loading\"\n};\nexport const TEXT = {\n collapse: \"Collapse\",\n expand: \"Expand\",\n loading: \"Loading\",\n options: \"Options\"\n};\nexport const SLOTS = {\n icon: \"icon\",\n control: \"control\",\n headerMenuActions: \"header-menu-actions\"\n};\nexport const ICONS = {\n opened: \"chevron-up\",\n closed: \"chevron-down\",\n valid: \"check-circle\",\n invalid: \"exclamation-mark-triangle\",\n refresh: \"refresh\"\n};\nexport const HEADING_LEVEL = 4;\n","/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\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/**\n* Currently only used in Checkbox.\n*/\n\n:host {\n /* Base \":host\" styles for the component */\n box-sizing: border-box;\n background-color: var(--calcite-ui-foreground-1);\n color: var(--calcite-ui-text-2);\n font-size: var(--calcite-font-size--1);\n}\n\n:host * {\n box-sizing: border-box;\n}\n\n:host {\n /* Component spacing variables */\n --calcite-icon-size: 1rem;\n --calcite-spacing-eighth: 0.125rem;\n --calcite-spacing-quarter: 0.25rem;\n --calcite-spacing-half: 0.5rem;\n --calcite-spacing-three-quarters: 0.75rem;\n --calcite-spacing: 1rem;\n --calcite-spacing-plus-quarter: 1.25rem;\n --calcite-spacing-plus-half: 1.5rem;\n --calcite-spacing-double: 2rem;\n --calcite-menu-min-width: 10rem;\n --calcite-header-min-height: 3rem;\n --calcite-footer-min-height: 3rem;\n}\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n display: flex;\n flex-grow: 0;\n flex-shrink: 0;\n flex-direction: column;\n padding: 0;\n transition-property: margin;\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.215, 0.440, 0.420, 0.880);\n border-width: 0;\n border-bottom-width: 1px;\n border-color: var(--calcite-ui-border-3);\n border-style: solid;\n flex-basis: auto;\n}\n\n/* Shared styles for header elements */\n\n.header {\n margin: 0;\n display: flex;\n align-items: center;\n align-content: space-between;\n color: var(--calcite-ui-text-2);\n fill: ;\n}\n\n.heading {\n font-weight: var(--calcite-font-weight-medium);\n margin: 0;\n padding: 0;\n}\n\n.header .heading {\n flex: 1 1 auto;\n padding: 0.5rem;\n}\n\nh1.heading {\n font-size: var(--calcite-font-size-2);\n line-height: 1.5rem;\n}\n\nh2.heading {\n font-size: var(--calcite-font-size-1);\n line-height: 1.5rem;\n}\n\nh3.heading {\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n}\n\nh4.heading,\nh5.heading {\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n}\n\n.header {\n justify-content: flex-start;\n padding: 0;\n}\n\n.header,\n.toggle {\n grid-area: header;\n}\n\n.header-container {\n display: grid;\n align-items: stretch;\n grid-template: auto/auto 1fr auto auto;\n grid-template-areas: \"handle header control menu\";\n grid-column: header-start/menu-end;\n grid-row: 1/2;\n}\n\n.header-container > .header {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n padding-left: 0;\n padding-right: 0;\n}\n\n.toggle {\n display: flex;\n flex-wrap: nowrap;\n justify-content: space-between;\n font-family: inherit;\n align-items: center;\n margin: 0;\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n padding-left: 0;\n padding-right: 0;\n border-style: none;\n cursor: pointer;\n outline-offset: 0;\n outline-color: transparent;\n transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;\n text-align: initial;\n background-color: transparent;\n}\n\n.toggle:hover {\n background-color: var(--calcite-ui-foreground-2);\n}\n\n.toggle:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: -2px;\n}\n\ncalcite-loader[inline] {\n grid-area: control;\n align-self: center;\n}\n\ncalcite-handle {\n grid-area: handle;\n}\n\n.title {\n margin: 0;\n padding-inline: 0.75rem;\n padding-block: 0px;\n}\n\n.header .title .heading {\n padding: 0;\n font-size: var(--calcite-font-size--1);\n color: var(--calcite-ui-text-2);\n font-weight: var(--calcite-font-weight-medium);\n word-wrap: break-word;\n word-break: break-word;\n line-height: 1.25;\n transition-property: color;\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n\n.summary {\n padding: 0;\n font-size: var(--calcite-font-size--2);\n color: var(--calcite-ui-text-3);\n margin-top: 0.125rem;\n word-wrap: break-word;\n word-break: break-word;\n}\n\n.icon {\n margin-inline-start: 0.75rem;\n margin-inline-end: 0px;\n}\n\n.status-icon.valid {\n color: var(--calcite-ui-success);\n}\n\n.status-icon.invalid {\n color: var(--calcite-ui-danger);\n}\n\n.status-icon.loading {\n animation: spin 2s linear infinite;\n}\n\n@keyframes spin {\n 0% {\n transform: rotate(0deg);\n }\n\n 50% {\n transform: rotate(180deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n}\n\n.toggle-icon {\n align-self: center;\n color: var(--calcite-ui-text-3);\n transition-property: color;\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n margin-inline-end: 1rem;\n margin-inline-start: 0px;\n}\n\n.toggle:hover .toggle-icon {\n color: var(--calcite-ui-text-1);\n}\n\n.content {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n position: relative;\n animation: in var(--calcite-animation-timing) ease-in-out;\n}\n\n.control-container {\n display: flex;\n margin: 0;\n grid-area: control;\n}\n\ncalcite-action-menu {\n grid-area: menu;\n}\n\n:host([open]) {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}\n\n:host([open]) .header .title .heading {\n color: var(--calcite-ui-text-1);\n}\n\n:host([disabled]) {\n pointer-events: none;\n -webkit-user-select: none;\n user-select: none;\n pointer-events: none;\n user-select: none;\n}\n\n:host([disabled]) .header-container {\n opacity: 0.5;\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 */\nimport { Component, Element, Event, h, Host, Prop } from \"@stencil/core\";\nimport { CSS, HEADING_LEVEL, ICONS, SLOTS, TEXT } from \"./resources\";\nimport { getSlotted } from \"../../utils/dom\";\nimport { CalciteHeading } from \"../functional/CalciteHeading\";\n/**\n * @slot - A slot for adding content to the block.\n * @slot icon - A slot for adding a leading header icon.\n * @slot control - A slot for adding a single HTML input element in a header.\n * @slot header-menu-actions - a slot for adding an overflow menu with actions inside a dropdown.\n */\nexport class CalciteBlock {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * When true, this block will be collapsible.\n */\n this.collapsible = false;\n /**\n * When true, disabled prevents interaction. This state shows items with lower opacity/grayed.\n */\n this.disabled = false;\n /**\n * When true, displays a drag handle in the header.\n */\n this.dragHandle = false;\n /** string to override English loading text\n * @default \"Loading\"\n */\n this.intlLoading = TEXT.loading;\n /** Text string used for the actions menu\n * @default \"Options\"\n */\n this.intlOptions = TEXT.options;\n /**\n * When true, content is waiting to be loaded. This state shows a busy indicator.\n */\n this.loading = false;\n /**\n * When true, the block's content will be displayed.\n */\n this.open = false;\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.onHeaderClick = () => {\n this.open = !this.open;\n this.calciteBlockToggle.emit();\n };\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderScrim() {\n const { disabled, loading } = this;\n const defaultSlot = h(\"slot\", null);\n return [loading || disabled ? h(\"calcite-scrim\", { loading: loading }) : null, defaultSlot];\n }\n renderIcon() {\n const { el, status } = this;\n const showingLoadingStatus = this.loading && !this.open;\n const statusIcon = showingLoadingStatus ? ICONS.refresh : ICONS[status];\n const hasIcon = getSlotted(el, SLOTS.icon) || statusIcon;\n const iconEl = !statusIcon ? (h(\"slot\", { name: SLOTS.icon })) : (h(\"calcite-icon\", { class: {\n [CSS.statusIcon]: true,\n [CSS.valid]: status == \"valid\",\n [CSS.invalid]: status == \"invalid\",\n [CSS.loading]: showingLoadingStatus\n }, icon: statusIcon, scale: \"m\" }));\n return hasIcon ? h(\"div\", { class: CSS.icon }, iconEl) : null;\n }\n render() {\n const { collapsible, disabled, el, heading, intlCollapse, intlExpand, loading, open, summary, intlLoading, headingLevel } = this;\n const toggleLabel = open ? intlCollapse || TEXT.collapse : intlExpand || TEXT.expand;\n const headerContent = (h(\"header\", { class: CSS.header },\n this.renderIcon(),\n h(\"div\", { class: CSS.title },\n h(CalciteHeading, { class: CSS.heading, level: headingLevel || HEADING_LEVEL }, heading),\n summary ? h(\"div\", { class: CSS.summary }, summary) : null)));\n const hasControl = !!getSlotted(el, SLOTS.control);\n const hasMenuActions = !!getSlotted(el, SLOTS.headerMenuActions);\n const collapseIcon = open ? ICONS.opened : ICONS.closed;\n const headerNode = (h(\"div\", { class: CSS.headerContainer },\n this.dragHandle ? h(\"calcite-handle\", null) : null,\n collapsible ? (h(\"button\", { \"aria-expanded\": collapsible ? open.toString() : null, \"aria-label\": toggleLabel, class: CSS.toggle, onClick: this.onHeaderClick, title: toggleLabel },\n headerContent,\n !hasControl && !hasMenuActions ? (h(\"calcite-icon\", { \"aria-hidden\": \"true\", class: CSS.toggleIcon, icon: collapseIcon, scale: \"s\" })) : null)) : (headerContent),\n loading ? (h(\"calcite-loader\", { inline: true, \"is-active\": true, label: intlLoading })) : hasControl ? (h(\"div\", { class: CSS.controlContainer },\n h(\"slot\", { name: SLOTS.control }))) : null,\n hasMenuActions ? (h(\"calcite-action-menu\", { label: this.intlOptions || TEXT.options },\n h(\"slot\", { name: SLOTS.headerMenuActions }))) : null));\n return (h(Host, { tabIndex: disabled ? -1 : null },\n h(\"article\", { \"aria-busy\": loading.toString(), class: {\n [CSS.article]: true\n } },\n headerNode,\n h(\"div\", { class: CSS.content, hidden: !open }, this.renderScrim()))));\n }\n static get is() { return \"calcite-block\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-block.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-block.css\"]\n }; }\n static get properties() { return {\n \"collapsible\": {\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, this block will be collapsible.\"\n },\n \"attribute\": \"collapsible\",\n \"reflect\": false,\n \"defaultValue\": \"false\"\n },\n \"disabled\": {\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, disabled prevents interaction. This state shows items with lower opacity/grayed.\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"dragHandle\": {\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, displays a drag handle in the header.\"\n },\n \"attribute\": \"drag-handle\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"heading\": {\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\": \"Block heading.\"\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/CalciteHeading\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Number at which section headings should start for this component.\"\n },\n \"attribute\": \"heading-level\",\n \"reflect\": false\n },\n \"intlCollapse\": {\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\": \"Tooltip used for the toggle when expanded.\"\n },\n \"attribute\": \"intl-collapse\",\n \"reflect\": false\n },\n \"intlExpand\": {\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\": \"Tooltip used for the toggle when collapsed.\"\n },\n \"attribute\": \"intl-expand\",\n \"reflect\": false\n },\n \"intlLoading\": {\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 \"name\": \"default\",\n \"text\": \"\\\"Loading\\\"\"\n }],\n \"text\": \"string to override English loading text\"\n },\n \"attribute\": \"intl-loading\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.loading\"\n },\n \"intlOptions\": {\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 \"name\": \"default\",\n \"text\": \"\\\"Options\\\"\"\n }],\n \"text\": \"Text string used for the actions menu\"\n },\n \"attribute\": \"intl-options\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.options\"\n },\n \"loading\": {\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, content is waiting to be loaded. This state shows a busy indicator.\"\n },\n \"attribute\": \"loading\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\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, the block's content will be displayed.\"\n },\n \"attribute\": \"open\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"status\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Status\",\n \"resolved\": \"\\\"idle\\\" | \\\"invalid\\\" | \\\"valid\\\"\",\n \"references\": {\n \"Status\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Block status. Updates or adds icon to show related icon and color.\"\n },\n \"attribute\": \"status\",\n \"reflect\": true\n },\n \"summary\": {\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 \"text\": \"Block summary.\"\n },\n \"attribute\": \"summary\",\n \"reflect\": false\n }\n }; }\n static get events() { return [{\n \"method\": \"calciteBlockToggle\",\n \"name\": \"calciteBlockToggle\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emitted when the header has been clicked.\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }]; }\n static get elementRef() { return \"el\"; }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"calcite-button.entry.cjs.js","mappings":";;;;;;;;;;;;;;;AAAA,CAAC,SAAS,SAAS,EAAE;AACrB,EAAE,IAAI,OAAO,SAAS,CAAC,aAAa,IAAI,UAAU,EAAE,MAAM;AAC1D;AACA,EAAE,SAAS,CAAC,aAAa,GAAG,SAAS,SAAS,EAAE;AAChD,IAAI,IAAI,SAAS,EAAE;AACnB,MAAM,iBAAiB,CAAC,SAAS,EAAE,IAAI,EAAC;AACxC,MAAM,SAAS,CAAC,KAAK,GAAE;AACvB,KAAK,MAAM;AACX,MAAM,SAAS,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,EAAC;AACjD,MAAM,SAAS,CAAC,IAAI,GAAG,SAAQ;AAC/B,MAAM,SAAS,CAAC,MAAM,GAAG,KAAI;AAC7B,MAAM,IAAI,CAAC,WAAW,CAAC,SAAS,EAAC;AACjC,MAAM,SAAS,CAAC,KAAK,GAAE;AACvB,MAAM,IAAI,CAAC,WAAW,CAAC,SAAS,EAAC;AACjC,KAAK;AACL,IAAG;AACH;AACA,EAAE,SAAS,iBAAiB,CAAC,SAAS,EAAE,IAAI,EAAE;AAC9C,IAAI,SAAS,YAAY,WAAW,IAAI,KAAK,CAAC,SAAS,EAAE,0CAA0C,EAAC;AACpG,IAAI,SAAS,CAAC,IAAI,IAAI,QAAQ,IAAI,KAAK,CAAC,SAAS,EAAE,8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EAAE,CAAC,WAAW,MAAM,IAAI,IAAI,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,MAAM,IAAI,CAAC;UACtF,cAAc,CAAC;GACtB;EACD,wBAAwB;IACtB,IAAI,EAAE,CAAC;IACP,CAAC,EAAE,GAAG,IAAI,CAAC,gBAAgB,MAAM,IAAI,IAAI,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;GAC3H;;;;;;EAMD,YAAY;IACV,IAAI,CAAC,WAAW,EAAE,CAAC;IACnB,IAAI,CAAC,QAAQ,EAAE,CAAC;GACjB;;;;;;;;;;;","names":["createObserver","connectLabel","closestElementCrossShadowBoundary","disconnectLabel","getElementDir","h","getLabelText","CSS_UTILITY"],"sources":["./node_modules/form-request-submit-polyfill/form-request-submit-polyfill.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-button/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-button/calcite-button.css?tag=calcite-button&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-button/calcite-button.js"],"sourcesContent":["(function(prototype) {\n if (typeof prototype.requestSubmit == \"function\") return\n\n prototype.requestSubmit = function(submitter) {\n if (submitter) {\n validateSubmitter(submitter, this)\n submitter.click()\n } else {\n submitter = document.createElement(\"input\")\n submitter.type = \"submit\"\n submitter.hidden = true\n this.appendChild(submitter)\n submitter.click()\n this.removeChild(submitter)\n }\n }\n\n function validateSubmitter(submitter, form) {\n submitter instanceof HTMLElement || raise(TypeError, \"parameter 1 is not of type 'HTMLElement'\")\n submitter.type == \"submit\" || raise(TypeError, \"The specified element is not a submit button\")\n submitter.form == form || raise(DOMException, \"The specified element is not owned by this form element\", \"NotFoundError\")\n }\n\n function raise(errorConstructor, message, name) {\n throw new errorConstructor(\"Failed to execute 'requestSubmit' on 'HTMLFormElement': \" + message + \".\", name)\n }\n})(HTMLFormElement.prototype);\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 */\nexport const CSS = {\n buttonLoader: \"calcite-button--loader\",\n content: \"content\",\n contentSlotted: \"content--slotted\",\n icon: \"icon\",\n iconStart: \"icon--start\",\n iconEnd: \"icon--end\",\n loadingIn: \"loading-in\",\n loadingOut: \"loading-out\"\n};\nexport const TEXT = {\n loading: \"Loading\"\n};\n","/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\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/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n display: inline-block;\n width: auto;\n vertical-align: middle;\n}\n\n:host([round]) {\n border-radius: 50px;\n}\n\n:host([round]) a, :host([round]) button {\n border-radius: 50px;\n}\n\n:host button,\n:host a {\n outline-offset: 0;\n outline-color: transparent;\n transition: outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;\n}\n\n:host button:focus,\n:host a:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: 2px;\n}\n\n:host button,\n:host a {\n --calcite-button-content-margin: 0.5rem;\n --calcite-button-padding-x: 7px;\n --calcite-button-padding-y: 3px;\n padding: var(--calcite-button-padding-y) var(--calcite-button-padding-x) var(--calcite-button-padding-y) var(--calcite-button-padding-x);\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n width: 100%;\n height: 100%;\n border-radius: 0;\n border-style: none;\n -webkit-user-select: none;\n user-select: none;\n -webkit-appearance: none;\n appearance: none;\n cursor: pointer;\n text-align: center;\n box-sizing: border-box;\n font-family: inherit;\n font-weight: var(--calcite-font-weight-normal);\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;\n}\n\n:host button:hover,\n:host a:hover {\n text-decoration: none;\n}\n\n.content {\n display: flex;\n flex-basis: auto;\n margin-left: var(--calcite-button-content-margin);\n margin-right: var(--calcite-button-content-margin);\n}\n\n:host([scale=m]) button,\n:host([scale=m]) a {\n --calcite-button-content-margin: 0.75rem;\n}\n\n:host([scale=l]) button,\n:host([scale=l]) a {\n --calcite-button-content-margin: 1rem;\n}\n\n:host(:not([icon-start])) .content {\n margin-left: unset;\n}\n\n:host(:not([icon-end])) .content {\n margin-right: unset;\n}\n\n:host([icon-start]:not([icon-end])) .calcite--rtl .content {\n margin-left: unset;\n margin-right: var(--calcite-button-content-margin);\n}\n\n:host([icon-end]:not([icon-start])) .calcite--rtl .content {\n margin-right: unset;\n margin-left: var(--calcite-button-content-margin);\n}\n\n:host([width=auto]) {\n width: auto;\n}\n\n:host([width=half]) {\n width: 50%;\n}\n\n:host([width=full]) {\n width: 100%;\n}\n\n:host([alignment=center]:not([width=auto])) a,\n:host([alignment=center]:not([width=auto])) button {\n justify-content: center;\n}\n\n:host([alignment=start]:not([width=auto])) a,\n:host([alignment=start]:not([width=auto])) button {\n justify-content: flex-start;\n}\n\n:host([alignment=end]:not([width=auto])) a,\n:host([alignment=end]:not([width=auto])) button {\n justify-content: flex-end;\n}\n\n:host([alignment*=space-between]:not([width=auto])) a,\n:host([alignment*=space-between]:not([width=auto])) button {\n justify-content: space-between;\n}\n\n:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start {\n margin-right: auto;\n}\n\n:host([alignment=icon-start-space-between]:not([width=auto])) a,\n:host([alignment=icon-start-space-between]:not([width=auto])) button {\n text-align: unset;\n}\n\n:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end {\n margin-left: auto;\n}\n\n:host([alignment=icon-end-space-between]:not([width=auto])) a,\n:host([alignment=icon-end-space-between]:not([width=auto])) button {\n text-align: unset;\n}\n\n:host([alignment=icon-start-space-between]:not([width=auto])) .calcite--rtl .icon--start {\n margin-right: unset;\n margin-left: auto;\n}\n\n:host([alignment=icon-end-space-between]:not([width=auto])) .calcite--rtl .icon--end {\n margin-left: unset;\n margin-right: auto;\n}\n\n:host([alignment=center]) a:not(.content--slotted) .icon--start + .icon--end,\n:host([alignment=center]) button:not(.content--slotted) .icon--start + .icon--end {\n margin-left: var(--calcite-button-content-margin);\n}\n\n:host([alignment=center]) a.calcite--rtl:not(.content--slotted) .icon--start + .icon--end,\n:host([alignment=center]) button.calcite--rtl:not(.content--slotted) .icon--start + .icon--end {\n margin-left: unset;\n margin-right: var(--calcite-button-content-margin);\n}\n\n.icon {\n display: inline-flex;\n position: relative;\n margin: 0;\n font-weight: var(--calcite-font-weight-normal);\n line-height: inherit;\n}\n\n:host([loading]),\n:host([disabled]) {\n pointer-events: none;\n}\n\n:host([loading]) button,\n:host([loading]) a,\n:host([disabled]) button,\n:host([disabled]) a {\n pointer-events: none;\n opacity: var(--calcite-ui-opacity-disabled);\n}\n\n@keyframes loader-in {\n 0% {\n width: 0;\n opacity: 0;\n transform: scale(0.5);\n }\n\n 100% {\n width: 1em;\n opacity: 1;\n transform: scale(1);\n }\n}\n\n@keyframes loader-out {\n 0% {\n width: 1em;\n opacity: 1;\n transform: scale(1);\n }\n\n 100% {\n width: 0;\n opacity: 0;\n transform: scale(0.5);\n }\n}\n\n.calcite-button--loader {\n display: flex;\n}\n\n.calcite-button--loader calcite-loader {\n margin: 0;\n transition: width 300ms ease-in-out, opacity 300ms ease-in-out, transform 300ms ease-in-out;\n}\n\n.calcite-button--loader calcite-loader.loading-in {\n animation-name: loader-in;\n animation-duration: 310ms;\n}\n\n.calcite-button--loader calcite-loader.loading-out {\n animation-name: loader-out;\n animation-duration: 310ms;\n}\n\n:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,\n:host([loading]) a.content--slotted .calcite-button--loader calcite-loader {\n margin-inline-end: var(--calcite-button-content-margin);\n}\n\n:host([loading]) button:not(.content--slotted) .icon--start,\n:host([loading]) button:not(.content--slotted) .icon--end,\n:host([loading]) a:not(.content--slotted) .icon--start,\n:host([loading]) a:not(.content--slotted) .icon--end {\n display: none;\n}\n\n:host([appearance=solid]) button,\n:host([appearance=solid]) a {\n border-width: 1px;\n border-style: solid;\n border-color: transparent;\n}\n\n:host([appearance=solid][color=blue]) button,\n:host([appearance=solid][color=blue]) a {\n color: var(--calcite-ui-text-inverse);\n background-color: var(--calcite-ui-brand);\n}\n\n:host([appearance=solid][color=blue]) button:hover, :host([appearance=solid][color=blue]) button:focus,\n:host([appearance=solid][color=blue]) a:hover,\n:host([appearance=solid][color=blue]) a:focus {\n background-color: var(--calcite-ui-brand-hover);\n}\n\n:host([appearance=solid][color=blue]) button:active,\n:host([appearance=solid][color=blue]) a:active {\n background-color: var(--calcite-ui-brand-press);\n}\n\n:host([appearance=solid][color=blue]) button calcite-loader,\n:host([appearance=solid][color=blue]) a calcite-loader {\n color: var(--calcite-ui-text-inverse);\n}\n\n:host([appearance=solid][color=red]) button,\n:host([appearance=solid][color=red]) a {\n color: var(--calcite-ui-text-inverse);\n background-color: var(--calcite-ui-danger);\n}\n\n:host([appearance=solid][color=red]) button:hover, :host([appearance=solid][color=red]) button:focus,\n:host([appearance=solid][color=red]) a:hover,\n:host([appearance=solid][color=red]) a:focus {\n background-color: var(--calcite-ui-danger-hover);\n}\n\n:host([appearance=solid][color=red]) button:active,\n:host([appearance=solid][color=red]) a:active {\n background-color: var(--calcite-ui-danger-press);\n}\n\n:host([appearance=solid][color=red]) button calcite-loader,\n:host([appearance=solid][color=red]) a calcite-loader {\n color: var(--calcite-ui-text-inverse);\n}\n\n:host([appearance=solid][color=neutral]) button,\n:host([appearance=solid][color=neutral]) a {\n color: var(--calcite-ui-text-1);\n background-color: var(--calcite-ui-foreground-3);\n}\n\n:host([appearance=solid][color=neutral]) button:hover, :host([appearance=solid][color=neutral]) button:focus,\n:host([appearance=solid][color=neutral]) a:hover,\n:host([appearance=solid][color=neutral]) a:focus {\n background-color: var(--calcite-ui-foreground-2);\n}\n\n:host([appearance=solid][color=neutral]) button:active,\n:host([appearance=solid][color=neutral]) a:active {\n background-color: var(--calcite-ui-foreground-1);\n}\n\n:host([appearance=solid][color=neutral]) button calcite-loader,\n:host([appearance=solid][color=neutral]) a calcite-loader {\n color: var(--calcite-ui-text-1);\n}\n\n:host([appearance=solid][color=inverse]) button,\n:host([appearance=solid][color=inverse]) a {\n color: var(--calcite-ui-text-inverse);\n background-color: var(--calcite-ui-inverse);\n}\n\n:host([appearance=solid][color=inverse]) button:hover, :host([appearance=solid][color=inverse]) button:focus,\n:host([appearance=solid][color=inverse]) a:hover,\n:host([appearance=solid][color=inverse]) a:focus {\n background-color: var(--calcite-ui-inverse-hover);\n}\n\n:host([appearance=solid][color=inverse]) button:active,\n:host([appearance=solid][color=inverse]) a:active {\n background-color: var(--calcite-ui-inverse-press);\n}\n\n:host([appearance=solid][color=inverse]) button calcite-loader,\n:host([appearance=solid][color=inverse]) a calcite-loader {\n color: var(--calcite-ui-text-inverse);\n}\n\n:host([appearance=outline]) button,\n:host([appearance=outline]) a {\n background-color: var(--calcite-ui-foreground-1);\n border-width: 1px;\n border-style: solid;\n box-shadow: inset 0 0 0 1px transparent;\n}\n\n:host([appearance=outline][color=blue]) button,\n:host([appearance=outline][color=blue]) a {\n border-color: var(--calcite-ui-brand);\n color: var(--calcite-ui-brand);\n}\n\n:host([appearance=outline][color=blue]) button:hover,\n:host([appearance=outline][color=blue]) a:hover {\n border-color: var(--calcite-ui-brand-hover);\n color: var(--calcite-ui-brand-hover);\n box-shadow: inset 0 0 0 1px var(--calcite-ui-brand-hover);\n}\n\n:host([appearance=outline][color=blue]) button:focus,\n:host([appearance=outline][color=blue]) a:focus {\n border-color: var(--calcite-ui-brand);\n color: var(--calcite-ui-brand);\n box-shadow: inset 0 0 0 2px var(--calcite-ui-brand);\n}\n\n:host([appearance=outline][color=blue]) button:active,\n:host([appearance=outline][color=blue]) a:active {\n border-color: var(--calcite-ui-brand-press);\n color: var(--calcite-ui-brand-press);\n box-shadow: inset 0 0 0 2px var(--calcite-ui-brand-press);\n}\n\n:host([appearance=outline][color=blue]) button calcite-loader,\n:host([appearance=outline][color=blue]) a calcite-loader {\n color: var(--calcite-ui-brand);\n}\n\n:host([appearance=outline][color=red]) button,\n:host([appearance=outline][color=red]) a {\n border-color: var(--calcite-ui-danger);\n color: var(--calcite-ui-danger);\n}\n\n:host([appearance=outline][color=red]) button:hover,\n:host([appearance=outline][color=red]) a:hover {\n border-color: var(--calcite-ui-danger-hover);\n color: var(--calcite-ui-danger-hover);\n box-shadow: inset 0 0 0 1px var(--calcite-ui-danger-hover);\n}\n\n:host([appearance=outline][color=red]) button:focus,\n:host([appearance=outline][color=red]) a:focus {\n border-color: var(--calcite-ui-danger);\n color: var(--calcite-ui-danger);\n box-shadow: inset 0 0 0 2px var(--calcite-ui-danger);\n}\n\n:host([appearance=outline][color=red]) button:active,\n:host([appearance=outline][color=red]) a:active {\n border-color: var(--calcite-ui-danger-press);\n color: var(--calcite-ui-danger-press);\n box-shadow: inset 0 0 0 2px var(--calcite-ui-danger-press);\n}\n\n:host([appearance=outline][color=red]) button calcite-loader,\n:host([appearance=outline][color=red]) a calcite-loader {\n color: var(--calcite-ui-danger);\n}\n\n:host([appearance=outline][color=neutral]) button,\n:host([appearance=outline][color=neutral]) a {\n color: var(--calcite-ui-text-1);\n border-color: var(--calcite-ui-foreground-3);\n}\n\n:host([appearance=outline][color=neutral]) button:hover,\n:host([appearance=outline][color=neutral]) a:hover {\n box-shadow: inset 0 0 0 1px var(--calcite-ui-foreground-3);\n}\n\n:host([appearance=outline][color=neutral]) button:focus,\n:host([appearance=outline][color=neutral]) a:focus {\n box-shadow: inset 0 0 0 2px var(--calcite-ui-foreground-3);\n}\n\n:host([appearance=outline][color=neutral]) button:active,\n:host([appearance=outline][color=neutral]) a:active {\n box-shadow: inset 0 0 0 2px var(--calcite-ui-foreground-3);\n}\n\n:host([appearance=outline][color=neutral]) button calcite-loader,\n:host([appearance=outline][color=neutral]) a calcite-loader {\n color: var(--calcite-ui-text-1);\n}\n\n:host([appearance=outline][color=inverse]) button,\n:host([appearance=outline][color=inverse]) a {\n color: var(--calcite-ui-text-1);\n border-color: var(--calcite-ui-inverse);\n}\n\n:host([appearance=outline][color=inverse]) button:hover,\n:host([appearance=outline][color=inverse]) a:hover {\n border-color: var(--calcite-ui-inverse-hover);\n box-shadow: inset 0 0 0 1px var(--calcite-ui-inverse-hover);\n}\n\n:host([appearance=outline][color=inverse]) button:focus,\n:host([appearance=outline][color=inverse]) a:focus {\n border-color: var(--calcite-ui-inverse);\n box-shadow: inset 0 0 0 2px var(--calcite-ui-inverse);\n}\n\n:host([appearance=outline][color=inverse]) button:active,\n:host([appearance=outline][color=inverse]) a:active {\n border-color: var(--calcite-ui-inverse-press);\n box-shadow: inset 0 0 0 2px var(--calcite-ui-inverse-press);\n}\n\n:host([appearance=outline][color=inverse]) button calcite-loader,\n:host([appearance=outline][color=inverse]) a calcite-loader {\n color: var(--calcite-ui-text-1);\n}\n\n:host([appearance=clear]) button,\n:host([appearance=clear]) a {\n background-color: transparent;\n border-width: 1px;\n border-style: solid;\n box-shadow: inset 0 0 0 1px transparent;\n}\n\n:host([appearance=clear][color=blue]) button,\n:host([appearance=clear][color=blue]) a {\n border-color: var(--calcite-ui-brand);\n color: var(--calcite-ui-brand);\n}\n\n:host([appearance=clear][color=blue]) button:hover,\n:host([appearance=clear][color=blue]) a:hover {\n border-color: var(--calcite-ui-brand-hover);\n color: var(--calcite-ui-brand-hover);\n box-shadow: inset 0 0 0 1px var(--calcite-ui-brand-hover);\n}\n\n:host([appearance=clear][color=blue]) button:focus,\n:host([appearance=clear][color=blue]) a:focus {\n border-color: var(--calcite-ui-brand);\n color: var(--calcite-ui-brand);\n box-shadow: inset 0 0 0 2px var(--calcite-ui-brand);\n}\n\n:host([appearance=clear][color=blue]) button:active,\n:host([appearance=clear][color=blue]) a:active {\n border-color: var(--calcite-ui-brand-press);\n color: var(--calcite-ui-brand-press);\n box-shadow: inset 0 0 0 2px var(--calcite-ui-brand-press);\n}\n\n:host([appearance=clear][color=blue]) button calcite-loader,\n:host([appearance=clear][color=blue]) a calcite-loader {\n color: var(--calcite-ui-brand);\n}\n\n:host([appearance=clear][color=red]) button,\n:host([appearance=clear][color=red]) a {\n border-color: var(--calcite-ui-danger);\n color: var(--calcite-ui-danger);\n}\n\n:host([appearance=clear][color=red]) button:hover,\n:host([appearance=clear][color=red]) a:hover {\n border-color: var(--calcite-ui-danger-hover);\n color: var(--calcite-ui-danger-hover);\n box-shadow: inset 0 0 0 1px var(--calcite-ui-danger-hover);\n}\n\n:host([appearance=clear][color=red]) button:focus,\n:host([appearance=clear][color=red]) a:focus {\n border-color: var(--calcite-ui-danger);\n color: var(--calcite-ui-danger);\n box-shadow: inset 0 0 0 2px var(--calcite-ui-danger);\n}\n\n:host([appearance=clear][color=red]) button:active,\n:host([appearance=clear][color=red]) a:active {\n border-color: var(--calcite-ui-danger-press);\n color: var(--calcite-ui-danger-press);\n box-shadow: inset 0 0 0 2px var(--calcite-ui-danger-press);\n}\n\n:host([appearance=clear][color=red]) button calcite-loader,\n:host([appearance=clear][color=red]) a calcite-loader {\n color: var(--calcite-ui-danger);\n}\n\n:host([appearance=clear][color=neutral]) button,\n:host([appearance=clear][color=neutral]) a {\n color: var(--calcite-ui-text-1);\n border-color: var(--calcite-ui-foreground-3);\n}\n\n:host([appearance=clear][color=neutral]) button:hover,\n:host([appearance=clear][color=neutral]) a:hover {\n box-shadow: inset 0 0 0 1px var(--calcite-ui-foreground-3);\n}\n\n:host([appearance=clear][color=neutral]) button:focus,\n:host([appearance=clear][color=neutral]) a:focus {\n box-shadow: inset 0 0 0 2px var(--calcite-ui-foreground-3);\n}\n\n:host([appearance=clear][color=neutral]) button:active,\n:host([appearance=clear][color=neutral]) a:active {\n box-shadow: inset 0 0 0 2px var(--calcite-ui-foreground-3);\n}\n\n:host([appearance=clear][color=neutral]) button calcite-loader,\n:host([appearance=clear][color=neutral]) a calcite-loader {\n color: var(--calcite-ui-text-1);\n}\n\n:host([appearance=clear][color=inverse]) button,\n:host([appearance=clear][color=inverse]) a {\n color: var(--calcite-ui-text-1);\n border-color: var(--calcite-ui-inverse);\n}\n\n:host([appearance=clear][color=inverse]) button:hover,\n:host([appearance=clear][color=inverse]) a:hover {\n border-color: var(--calcite-ui-inverse-hover);\n box-shadow: inset 0 0 0 1px var(--calcite-ui-inverse-hover);\n}\n\n:host([appearance=clear][color=inverse]) button:focus,\n:host([appearance=clear][color=inverse]) a:focus {\n border-color: var(--calcite-ui-inverse);\n box-shadow: inset 0 0 0 2px var(--calcite-ui-inverse);\n}\n\n:host([appearance=clear][color=inverse]) button:active,\n:host([appearance=clear][color=inverse]) a:active {\n border-color: var(--calcite-ui-inverse-press);\n box-shadow: inset 0 0 0 2px var(--calcite-ui-inverse-press);\n}\n\n:host([appearance=clear][color=inverse]) button calcite-loader,\n:host([appearance=clear][color=inverse]) a calcite-loader {\n color: var(--calcite-ui-text-1);\n}\n\n:host([appearance=outline][split-child=primary]) button,\n:host([appearance=clear][split-child=primary]) button {\n border-right-width: 0;\n border-left-width: 1px;\n}\n\n:host([appearance=outline][split-child=primary]) button.calcite--rtl,\n:host([appearance=clear][split-child=primary]) button.calcite--rtl {\n border-left-width: 0;\n border-right-width: 1px;\n}\n\n:host([appearance=outline][split-child=secondary]) button,\n:host([appearance=clear][split-child=secondary]) button {\n border-left-width: 0;\n border-right-width: 1px;\n}\n\n:host([appearance=outline][split-child=secondary]) button.calcite--rtl,\n:host([appearance=clear][split-child=secondary]) button.calcite--rtl {\n border-right-width: 0;\n border-left-width: 1px;\n}\n\n:host([appearance=transparent]:not(.enable-editing-button)) button,\n:host([appearance=transparent]:not(.enable-editing-button)) a {\n background-color: transparent;\n}\n\n:host([appearance=transparent]:not(.enable-editing-button)) button:hover, :host([appearance=transparent]:not(.enable-editing-button)) button:focus,\n:host([appearance=transparent]:not(.enable-editing-button)) a:hover,\n:host([appearance=transparent]:not(.enable-editing-button)) a:focus {\n background-color: var(--calcite-button-transparent-hover);\n}\n\n:host([appearance=transparent]:not(.enable-editing-button)) button:active,\n:host([appearance=transparent]:not(.enable-editing-button)) a:active {\n background-color: var(--calcite-button-transparent-press);\n}\n\n:host([appearance=transparent][color=blue]) button,\n:host([appearance=transparent][color=blue]) a {\n color: var(--calcite-ui-brand);\n}\n\n:host([appearance=transparent][color=blue]) button:hover,\n:host([appearance=transparent][color=blue]) a:hover {\n color: var(--calcite-ui-brand-hover);\n}\n\n:host([appearance=transparent][color=blue]) button:focus,\n:host([appearance=transparent][color=blue]) a:focus {\n color: var(--calcite-ui-brand);\n}\n\n:host([appearance=transparent][color=blue]) button:active,\n:host([appearance=transparent][color=blue]) a:active {\n color: var(--calcite-ui-brand-press);\n}\n\n:host([appearance=transparent][color=blue]) button calcite-loader,\n:host([appearance=transparent][color=blue]) a calcite-loader {\n color: var(--calcite-ui-brand);\n}\n\n:host([appearance=transparent][color=red]) button,\n:host([appearance=transparent][color=red]) a {\n color: var(--calcite-ui-danger);\n}\n\n:host([appearance=transparent][color=red]) button:hover,\n:host([appearance=transparent][color=red]) a:hover {\n color: var(--calcite-ui-danger-hover);\n}\n\n:host([appearance=transparent][color=red]) button:focus,\n:host([appearance=transparent][color=red]) a:focus {\n color: var(--calcite-ui-danger);\n}\n\n:host([appearance=transparent][color=red]) button:active,\n:host([appearance=transparent][color=red]) a:active {\n color: var(--calcite-ui-danger-press);\n}\n\n:host([appearance=transparent][color=red]) button calcite-loader,\n:host([appearance=transparent][color=red]) a calcite-loader {\n color: var(--calcite-ui-danger);\n}\n\n:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) button,\n:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) a,\n:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) calcite-loader {\n color: var(--calcite-ui-text-1);\n}\n\n:host([appearance=transparent][color=neutral].cancel-editing-button) button {\n color: var(--calcite-ui-text-3);\n border-top-width: 1px;\n border-top-color: var(--calcite-ui-border-input);\n border-bottom-width: 1px;\n border-bottom-color: var(--calcite-ui-border-input);\n border-bottom-style: solid;\n border-top-style: solid;\n}\n\n:host([appearance=transparent][color=neutral].cancel-editing-button) button:not(.content--slotted) {\n --calcite-button-padding-y: 0;\n}\n\n:host([appearance=transparent][color=neutral].cancel-editing-button) button:hover {\n color: var(--calcite-ui-text-1);\n}\n\n:host([appearance=transparent][color=neutral].enable-editing-button) button {\n background-color: transparent;\n}\n\n:host(.confirm-changes-button) button:focus,\n:host(.cancel-editing-button) button:focus,\n:host(.enable-editing-button) button:focus {\n outline-offset: -2px;\n}\n\n:host([appearance=transparent][color=inverse]) button,\n:host([appearance=transparent][color=inverse]) a,\n:host([appearance=transparent][color=inverse]) calcite-loader {\n color: var(--calcite-ui-text-inverse);\n}\n\n:host([scale=s]) button.content--slotted,\n:host([scale=s]) a.content--slotted {\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n}\n\n:host([scale=s][appearance=transparent]) button.content--slotted,\n:host([scale=s][appearance=transparent]) a.content--slotted {\n --calcite-button-padding-x: 0.5rem;\n --calcite-button-padding-y: 0.25rem;\n}\n\n:host([scale=m]) button.content--slotted,\n:host([scale=m]) a.content--slotted {\n --calcite-button-padding-x: 11px;\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n}\n\n:host([scale=m]:not([appearance=transparent])) button.content--slotted,\n:host([scale=m]:not([appearance=transparent])) a.content--slotted {\n --calcite-button-padding-y: 7px;\n}\n\n:host([scale=m][appearance=transparent]) button.content--slotted,\n:host([scale=m][appearance=transparent]) a.content--slotted {\n --calcite-button-padding-x: 0.75rem;\n --calcite-button-padding-y: 0.5rem;\n}\n\n:host([scale=l]) button.content--slotted,\n:host([scale=l]) a.content--slotted {\n --calcite-button-padding-x: 15px;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n}\n\n:host([scale=l]:not([appearance=transparent])) button.content--slotted,\n:host([scale=l]:not([appearance=transparent])) a.content--slotted {\n --calcite-button-padding-y: 11px;\n}\n\n:host([scale=l][appearance=transparent]) button.content--slotted,\n:host([scale=l][appearance=transparent]) a.content--slotted {\n --calcite-button-padding-x: 1rem;\n --calcite-button-padding-y: 0.75rem;\n}\n\n:host([scale=s]) button:not(.content--slotted),\n:host([scale=s]) a:not(.content--slotted) {\n --calcite-button-padding-x: 0.125rem;\n --calcite-button-padding-y: 3px;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n width: 1.5rem;\n min-height: 1.5rem;\n}\n\n:host([scale=s][appearance=transparent]) button:not(.content--slotted),\n:host([scale=s][appearance=transparent]) a:not(.content--slotted) {\n --calcite-button-padding-y: 0.25rem;\n}\n\n:host([scale=m]) button:not(.content--slotted),\n:host([scale=m]) a:not(.content--slotted) {\n --calcite-button-padding-x: 0.125rem;\n --calcite-button-padding-y: 7px;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n width: 2rem;\n min-height: 2rem;\n}\n\n:host([scale=m][appearance=transparent]) button:not(.content--slotted),\n:host([scale=m][appearance=transparent]) a:not(.content--slotted) {\n --calcite-button-padding-y: 0.5rem;\n}\n\n:host([scale=l]) button:not(.content--slotted),\n:host([scale=l]) a:not(.content--slotted) {\n --calcite-button-padding-x: 0.125rem;\n --calcite-button-padding-y: 9px;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n width: 2.75rem;\n min-height: 2.75rem;\n}\n\n:host([scale=l][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][appearance=transparent]) a:not(.content--slotted) {\n --calcite-button-padding-y: 0.625rem;\n}\n\n:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end]) a:not(.content--slotted) {\n --calcite-button-padding-x: 23px;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n height: 1.5rem;\n}\n\n:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted) {\n --calcite-button-padding-x: 1.5rem;\n}\n\n:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end]) a:not(.content--slotted) {\n --calcite-button-padding-x: 2rem;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n height: 2rem;\n}\n\n:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted) {\n --calcite-button-padding-x: 33px;\n}\n\n:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) {\n --calcite-button-padding-x: 43px;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n height: 2.75rem;\n}\n\n:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start + .icon--end,\n:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start + .icon--end {\n margin-inline-start: 1rem;\n}\n\n:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),\n:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted) {\n --calcite-button-padding-x: 2.75rem;\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 */\nimport \"form-request-submit-polyfill/form-request-submit-polyfill\";\nimport { Component, Element, h, Method, Prop, Build, State, Watch } from \"@stencil/core\";\nimport { CSS, TEXT } from \"./resources\";\nimport { closestElementCrossShadowBoundary, getElementDir } from \"../../utils/dom\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\nimport { connectLabel, disconnectLabel, getLabelText } from \"../../utils/label\";\nimport { createObserver } from \"../../utils/observers\";\n/** Passing a 'href' will render an anchor link, instead of a button. Role will be set to link, or button, depending on this. */\n/** It is the consumers responsibility to add aria information, rel, target, for links, and any button attributes for form submission */\n/** @slot - A slot for adding text. */\nexport class CalciteButton {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Properties\n //\n //--------------------------------------------------------------------------\n /** optionally specify alignment of button elements. */\n this.alignment = \"center\";\n /** specify the appearance style of the button, defaults to solid. */\n this.appearance = \"solid\";\n /** specify the color of the button, defaults to blue */\n this.color = \"blue\";\n /** is the button disabled */\n this.disabled = false;\n /** string to override English loading text\n * @default \"Loading\"\n */\n this.intlLoading = TEXT.loading;\n /** optionally add a calcite-loader component to the button, disabling interaction. */\n this.loading = false;\n /** optionally add a round style to the button */\n this.round = false;\n /** specify the scale of the button, defaults to m */\n this.scale = \"m\";\n /** is the button a child of a calcite-split-button */\n this.splitChild = false;\n /** specify the width of the button, defaults to auto */\n this.width = \"auto\";\n /** watches for changing text content **/\n this.mutationObserver = createObserver(\"mutation\", () => this.updateHasContent());\n /** the node type of the rendered child element */\n this.childElType = \"button\";\n /** determine if there is slotted content for styling purposes */\n this.hasContent = false;\n /** determine if loader present for styling purposes */\n this.hasLoader = false;\n // act on a requested or nearby form based on type\n this.handleClick = () => {\n const { childElType, formEl, type } = this;\n // this.type refers to type attribute, not child element type\n if (childElType === \"button\" && type !== \"button\") {\n if (type === \"submit\") {\n formEl === null || formEl === void 0 ? void 0 : formEl.requestSubmit();\n }\n else if (type === \"reset\") {\n formEl === null || formEl === void 0 ? void 0 : formEl.reset();\n }\n }\n };\n }\n hrefHandler(href) {\n this.childElType = href ? \"a\" : \"button\";\n }\n loadingChanged(newValue, oldValue) {\n if (!!newValue && !oldValue) {\n this.hasLoader = true;\n }\n if (!newValue && !!oldValue) {\n window.setTimeout(() => {\n this.hasLoader = false;\n }, 300);\n }\n }\n //--------------------------------------------------------------------------\n //\n // Lifecycle\n //\n //--------------------------------------------------------------------------\n connectedCallback() {\n this.childElType = this.href ? \"a\" : \"button\";\n this.hasLoader = this.loading;\n this.setupTextContentObserver();\n connectLabel(this);\n this.formEl = closestElementCrossShadowBoundary(this.el, this.form ? `#${this.form}` : \"form\");\n }\n disconnectedCallback() {\n var _a;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();\n disconnectLabel(this);\n this.formEl = null;\n }\n componentWillLoad() {\n if (Build.isBrowser) {\n this.updateHasContent();\n if (this.childElType === \"button\" && !this.type) {\n this.type = \"submit\";\n }\n }\n }\n render() {\n const dir = getElementDir(this.el);\n const Tag = this.childElType;\n const loader = (h(\"div\", { class: CSS.buttonLoader }, this.hasLoader ? (h(\"calcite-loader\", { active: true, class: this.loading ? CSS.loadingIn : CSS.loadingOut, inline: true, label: this.intlLoading, scale: \"m\" })) : null));\n const iconStartEl = (h(\"calcite-icon\", { class: { [CSS.icon]: true, [CSS.iconStart]: true }, flipRtl: this.iconFlipRtl === \"start\" || this.iconFlipRtl === \"both\", icon: this.iconStart, scale: \"s\" }));\n const iconEndEl = (h(\"calcite-icon\", { class: { [CSS.icon]: true, [CSS.iconEnd]: true }, flipRtl: this.iconFlipRtl === \"end\" || this.iconFlipRtl === \"both\", icon: this.iconEnd, scale: \"s\" }));\n const contentEl = (h(\"span\", { class: CSS.content },\n h(\"slot\", null)));\n return (h(Tag, { \"aria-label\": getLabelText(this), class: { [CSS_UTILITY.rtl]: dir === \"rtl\", [CSS.contentSlotted]: this.hasContent }, disabled: this.disabled || this.loading, href: this.childElType === \"a\" && this.href, name: this.childElType === \"button\" && this.name, onClick: this.handleClick, ref: (el) => (this.childEl = el), rel: this.childElType === \"a\" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: this.childElType === \"a\" && this.target, type: this.childElType === \"button\" && this.type },\n loader,\n this.iconStart ? iconStartEl : null,\n this.hasContent ? contentEl : null,\n this.iconEnd ? iconEndEl : null));\n }\n //--------------------------------------------------------------------------\n //\n // Public Methods\n //\n //--------------------------------------------------------------------------\n /** Sets focus on the component. */\n async setFocus() {\n this.childEl.focus();\n }\n updateHasContent() {\n var _a, _b;\n const slottedContent = this.el.textContent.trim().length > 0 || this.el.childNodes.length > 0;\n this.hasContent =\n this.el.childNodes.length === 1 && ((_a = this.el.childNodes[0]) === null || _a === void 0 ? void 0 : _a.nodeName) === \"#text\"\n ? ((_b = this.el.textContent) === null || _b === void 0 ? void 0 : _b.trim().length) > 0\n : slottedContent;\n }\n setupTextContentObserver() {\n var _a;\n (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });\n }\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n onLabelClick() {\n this.handleClick();\n this.setFocus();\n }\n static get is() { return \"calcite-button\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-button.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-button.css\"]\n }; }\n static get properties() { return {\n \"alignment\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ButtonAlignment\",\n \"resolved\": \"\\\"center\\\" | \\\"end\\\" | \\\"icon-end-space-between\\\" | \\\"icon-start-space-between\\\" | \\\"space-between\\\" | \\\"start\\\"\",\n \"references\": {\n \"ButtonAlignment\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"optionally specify alignment of button elements.\"\n },\n \"attribute\": \"alignment\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"center\\\"\"\n },\n \"appearance\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ButtonAppearance\",\n \"resolved\": \"\\\"clear\\\" | \\\"outline\\\" | \\\"solid\\\" | \\\"transparent\\\"\",\n \"references\": {\n \"ButtonAppearance\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the appearance style of the button, defaults to solid.\"\n },\n \"attribute\": \"appearance\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"solid\\\"\"\n },\n \"label\": {\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\": \"Applies to the aria-label attribute on the button or hyperlink\"\n },\n \"attribute\": \"label\",\n \"reflect\": false\n },\n \"color\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"ButtonColor\",\n \"resolved\": \"\\\"blue\\\" | \\\"inverse\\\" | \\\"neutral\\\" | \\\"red\\\"\",\n \"references\": {\n \"ButtonColor\": {\n \"location\": \"import\",\n \"path\": \"./interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the color of the button, defaults to blue\"\n },\n \"attribute\": \"color\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"blue\\\"\"\n },\n \"disabled\": {\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\": \"is the button disabled\"\n },\n \"attribute\": \"disabled\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"href\": {\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\": \"optionally pass a href - used to determine if the component should render as a button or an anchor\"\n },\n \"attribute\": \"href\",\n \"reflect\": true\n },\n \"iconEnd\": {\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\": \"optionally pass an icon to display at the end of a button - accepts calcite ui icon names\"\n },\n \"attribute\": \"icon-end\",\n \"reflect\": true\n },\n \"iconFlipRtl\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"FlipContext\",\n \"resolved\": \"\\\"both\\\" | \\\"end\\\" | \\\"start\\\"\",\n \"references\": {\n \"FlipContext\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"flip the icon(s) in rtl\"\n },\n \"attribute\": \"icon-flip-rtl\",\n \"reflect\": true\n },\n \"iconStart\": {\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\": \"optionally pass an icon to display at the start of a button - accepts calcite ui icon names\"\n },\n \"attribute\": \"icon-start\",\n \"reflect\": true\n },\n \"intlLoading\": {\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 \"name\": \"default\",\n \"text\": \"\\\"Loading\\\"\"\n }],\n \"text\": \"string to override English loading text\"\n },\n \"attribute\": \"intl-loading\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.loading\"\n },\n \"loading\": {\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\": \"optionally add a calcite-loader component to the button, disabling interaction.\"\n },\n \"attribute\": \"loading\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"name\": {\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 name attribute to apply to the button\"\n },\n \"attribute\": \"name\",\n \"reflect\": false\n },\n \"rel\": {\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 rel attribute to apply to the hyperlink\"\n },\n \"attribute\": \"rel\",\n \"reflect\": false\n },\n \"form\": {\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 \"name\": \"deprecated\",\n \"text\": \"\\u2013 this property is no longer needed if placed inside a form.\"\n }],\n \"text\": \"The form ID to associate with the component\"\n },\n \"attribute\": \"form\",\n \"reflect\": false\n },\n \"round\": {\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\": \"optionally add a round style to the button\"\n },\n \"attribute\": \"round\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"scale\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Scale\",\n \"resolved\": \"\\\"l\\\" | \\\"m\\\" | \\\"s\\\"\",\n \"references\": {\n \"Scale\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the scale of the button, defaults to m\"\n },\n \"attribute\": \"scale\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"m\\\"\"\n },\n \"splitChild\": {\n \"type\": \"any\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"\\\"primary\\\" | \\\"secondary\\\" | false\",\n \"resolved\": \"\\\"primary\\\" | \\\"secondary\\\" | boolean\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"is the button a child of a calcite-split-button\"\n },\n \"attribute\": \"split-child\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"target\": {\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 target attribute to apply to the hyperlink\"\n },\n \"attribute\": \"target\",\n \"reflect\": false\n },\n \"type\": {\n \"type\": \"string\",\n \"mutable\": true,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The type attribute to apply to the button\"\n },\n \"attribute\": \"type\",\n \"reflect\": false\n },\n \"width\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"Width\",\n \"resolved\": \"\\\"auto\\\" | \\\"full\\\" | \\\"half\\\"\",\n \"references\": {\n \"Width\": {\n \"location\": \"import\",\n \"path\": \"../interfaces\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"specify the width of the button, defaults to auto\"\n },\n \"attribute\": \"width\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"auto\\\"\"\n }\n }; }\n static get states() { return {\n \"childElType\": {},\n \"hasContent\": {},\n \"hasLoader\": {}\n }; }\n static get methods() { return {\n \"setFocus\": {\n \"complexType\": {\n \"signature\": \"() => Promise<void>\",\n \"parameters\": [],\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 }\n }\n }; }\n static get elementRef() { return \"el\"; }\n static get watchers() { return [{\n \"propName\": \"href\",\n \"methodName\": \"hrefHandler\"\n }, {\n \"propName\": \"loading\",\n \"methodName\": \"loadingChanged\"\n }]; }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"calcite-card.entry.cjs.js","mappings":";;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACO,MAAM,GAAG,GAAG;AACnB,EAAE,SAAS,EAAE,WAAW;AACxB,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,QAAQ,EAAE,UAAU;AACtB,EAAE,gBAAgB,EAAE,mBAAmB;AACvC,EAAE,eAAe,EAAE,kBAAkB;AACrC,CAAC,CAAC;AACK,MAAM,KAAK,GAAG;AACrB,EAAE,SAAS,EAAE,WAAW;AACxB,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,QAAQ,EAAE,UAAU;AACtB,EAAE,aAAa,EAAE,gBAAgB;AACjC,EAAE,cAAc,EAAE,iBAAiB;AACnC,CAAC,CAAC;AACK,MAAM,IAAI,GAAG;AACpB,EAAE,MAAM,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/components/calcite-card/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/calcite-card/calcite-card.css?tag=calcite-card&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/calcite-card/calcite-card.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 */\nexport const CSS = {\n container: \"container\",\n header: \"header\",\n footer: \"footer\",\n title: \"title\",\n subtitle: \"subtitle\",\n thumbnailWrapper: \"thumbnail-wrapper\",\n checkboxWrapper: \"checkbox-wrapper\"\n};\nexport const SLOTS = {\n thumbnail: \"thumbnail\",\n title: \"title\",\n subtitle: \"subtitle\",\n footerLeading: \"footer-leading\",\n footerTrailing: \"footer-trailing\"\n};\nexport const TEXT = {\n select: \"Select\",\n deselect: \"Deselect\",\n loading: \"Loading\"\n};\n","/* mixins & extensions */\n\n@keyframes in {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n\n:root {\n --calcite-animation-timing: 300ms;\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/**\n* Currently only used in Checkbox.\n*/\n\n:root {\n --calcite-popper-transition: 150ms ease-in-out;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n max-width: 100%;\n display: block;\n}\n\n:host .calcite-card-container {\n display: flex;\n height: 100%;\n flex-direction: column;\n justify-content: space-between;\n background-color: var(--calcite-ui-foreground-1);\n transition-duration: 150ms;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n position: relative;\n border-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-2);\n color: var(--calcite-ui-text-3);\n box-shadow: none;\n}\n\n:host .calcite-card-container:hover {\n box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);\n z-index: 1;\n}\n\n:host .calcite-card-container:active {\n box-shadow: 0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);\n transition-duration: 75ms;\n z-index: 1;\n}\n\n.container {\n flex: 1 1 auto;\n display: flex;\n flex-direction: column;\n}\n\n:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container) {\n opacity: 0;\n pointer-events: none;\n}\n\n:host([loading]) .calcite-card-loader-container {\n display: flex;\n align-items: center;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n.header,\n.footer {\n padding-top: 0.75rem;\n padding-bottom: 0.25rem;\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n display: flex;\n}\n\n.header {\n flex-direction: column;\n}\n\n.footer {\n padding-top: 0.25rem;\n padding-bottom: 0.75rem;\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n flex-direction: row;\n align-content: space-between;\n justify-content: space-between;\n margin-top: auto;\n}\n\n.card-content {\n padding: 0.75rem;\n color: var(--calcite-ui-text-3);\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n}\n\n:host([selectable]) .calcite-card-container:active {\n box-shadow: 0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);\n}\n\n:host([selected]) .calcite-card-container {\n border-color: var(--calcite-ui-brand);\n}\n\nslot[name=title]::slotted(*),\n*::slotted([slot=title]) {\n font-weight: var(--calcite-font-weight-medium);\n color: var(--calcite-ui-text-1);\n margin: 0;\n font-size: var(--calcite-font-size--1);\n line-height: 1.375;\n}\n\nslot[name=subtitle]::slotted(*),\n*::slotted([slot=subtitle]) {\n font-weight: var(--calcite-font-weight-normal);\n color: var(--calcite-ui-text-2);\n margin: 0;\n margin-top: 0.5rem;\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n}\n\nslot[name=thumbnail]::slotted(img),\nimg::slotted([slot=thumbnail]) {\n max-width: 100%;\n min-width: 100%;\n}\n\nslot[name=footer-leading]::slotted(*),\n*::slotted([slot=footer-leading]) {\n align-self: center;\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n margin-inline-end: auto;\n}\n\nslot[name=footer-trailing]::slotted(*),\n*::slotted([slot=footer-trailing]) {\n align-self: center;\n font-size: var(--calcite-font-size--2);\n line-height: 1.375;\n}\n\n.thumbnail-wrapper {\n font-size: var(--calcite-font-size-0);\n line-height: 1.375;\n}\n\n.checkbox-wrapper {\n position: absolute;\n margin: 0;\n padding: 0;\n top: 0.5rem;\n right: 0.5rem;\n}\n\n.calcite--rtl .checkbox-wrapper {\n right: auto;\n left: 0.5rem;\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 */\nimport { Component, Element, Event, h, Prop } from \"@stencil/core\";\nimport { CSS, SLOTS, TEXT } from \"./resources\";\nimport { getElementDir } from \"../../utils/dom\";\nimport { getKey } from \"../../utils/key\";\nimport { CSS_UTILITY } from \"../../utils/resources\";\n/** Cards do not include a grid or bounding container\n * - cards will expand to fit the width of their container\n */\n/**\n * @slot - A slot for adding subheader/description content.\n * @slot thumbnail - A slot for adding a thumbnail to the card.\n * @slot title - A slot for adding a card title.\n * @slot subtitle - A slot for adding a card subtitle or short summary.\n * @slot footer-leading - A slot for adding a leading footer.\n * @slot footer-trailing - A slot for adding a trailing footer.\n */\nexport class CalciteCard {\n constructor() {\n //--------------------------------------------------------------------------\n //\n // Public Properties\n //\n //--------------------------------------------------------------------------\n /** When true, the cards content is waiting to be loaded. This state shows a busy indicator.*/\n this.loading = false;\n /** Indicates whether the card is selected. */\n this.selected = false;\n /** Indicates whether the card is selectable. */\n this.selectable = false;\n /** string to override English loading text\n * @default \"Loading\"\n */\n this.intlLoading = TEXT.loading;\n /** string to override English select text for checkbox when selectable is true\n * @default \"Select\"\n */\n this.intlSelect = TEXT.select;\n /** string to override English deselect text for checkbox when selectable is true\n * @default \"Deselect\"\n */\n this.intlDeselect = TEXT.deselect;\n //--------------------------------------------------------------------------\n //\n // Private State/Props\n //\n //--------------------------------------------------------------------------\n //--------------------------------------------------------------------------\n //\n // Private Methods\n //\n //--------------------------------------------------------------------------\n this.cardSelectClick = () => {\n this.selectCard();\n };\n this.cardSelectKeyDown = (e) => {\n switch (getKey(e.key)) {\n case \" \":\n case \"Enter\":\n this.selectCard();\n e.preventDefault();\n break;\n }\n };\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n render() {\n const dir = getElementDir(this.el);\n return (h(\"div\", { class: { \"calcite-card-container\": true, [CSS_UTILITY.rtl]: dir === \"rtl\" } },\n this.loading ? (h(\"div\", { class: \"calcite-card-loader-container\" },\n h(\"calcite-loader\", { active: true, label: this.intlLoading }))) : null,\n h(\"section\", { \"aria-busy\": this.loading.toString(), class: { [CSS.container]: true } },\n this.selectable ? this.renderCheckbox() : null,\n this.renderThumbnail(),\n this.renderHeader(),\n h(\"div\", { class: \"card-content\" },\n h(\"slot\", null)),\n this.renderFooter())));\n }\n selectCard() {\n this.selected = !this.selected;\n this.calciteCardSelect.emit();\n }\n renderThumbnail() {\n const hasThumbnail = this.el.querySelector(`[slot=${SLOTS.thumbnail}]`);\n return hasThumbnail ? (h(\"div\", { class: CSS.thumbnailWrapper },\n h(\"slot\", { name: SLOTS.thumbnail }))) : null;\n }\n renderCheckbox() {\n const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;\n return (h(\"calcite-label\", { class: CSS.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown },\n h(\"calcite-checkbox\", { checked: this.selected, label: checkboxLabel })));\n }\n renderHeader() {\n const title = this.el.querySelector(`[slot=${SLOTS.title}]`);\n const subtitle = this.el.querySelector(`[slot=${SLOTS.subtitle}]`);\n const hasHeader = title || subtitle;\n return hasHeader ? (h(\"header\", { class: CSS.header },\n h(\"slot\", { name: SLOTS.title }),\n h(\"slot\", { name: SLOTS.subtitle }))) : null;\n }\n renderFooter() {\n const leadingFooter = this.el.querySelector(`[slot=${SLOTS.footerLeading}]`);\n const trailingFooter = this.el.querySelector(`[slot=${SLOTS.footerTrailing}]`);\n const hasFooter = leadingFooter || trailingFooter;\n return hasFooter ? (h(\"footer\", { class: CSS.footer },\n h(\"slot\", { name: SLOTS.footerLeading }),\n h(\"slot\", { name: SLOTS.footerTrailing }))) : null;\n }\n static get is() { return \"calcite-card\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() { return {\n \"$\": [\"calcite-card.scss\"]\n }; }\n static get styleUrls() { return {\n \"$\": [\"calcite-card.css\"]\n }; }\n static get properties() { return {\n \"loading\": {\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, the cards content is waiting to be loaded. This state shows a busy indicator.\"\n },\n \"attribute\": \"loading\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"selected\": {\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\": \"Indicates whether the card is selected.\"\n },\n \"attribute\": \"selected\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"selectable\": {\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\": \"Indicates whether the card is selectable.\"\n },\n \"attribute\": \"selectable\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"intlLoading\": {\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 \"name\": \"default\",\n \"text\": \"\\\"Loading\\\"\"\n }],\n \"text\": \"string to override English loading text\"\n },\n \"attribute\": \"intl-loading\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.loading\"\n },\n \"intlSelect\": {\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\": \"\\\"Select\\\"\"\n }],\n \"text\": \"string to override English select text for checkbox when selectable is true\"\n },\n \"attribute\": \"intl-select\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.select\"\n },\n \"intlDeselect\": {\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\": \"\\\"Deselect\\\"\"\n }],\n \"text\": \"string to override English deselect text for checkbox when selectable is true\"\n },\n \"attribute\": \"intl-deselect\",\n \"reflect\": false,\n \"defaultValue\": \"TEXT.deselect\"\n }\n }; }\n static get events() { return [{\n \"method\": \"calciteCardSelect\",\n \"name\": \"calciteCardSelect\",\n \"bubbles\": true,\n \"cancelable\": true,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Fired when a selectable card is selected\"\n },\n \"complexType\": {\n \"original\": \"any\",\n \"resolved\": \"any\",\n \"references\": {}\n }\n }]; }\n static get elementRef() { return \"el\"; }\n}\n"],"version":3}