@esri/solutions-components 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (531) hide show
  1. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +16 -6
  2. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +1 -1
  3. package/dist/cjs/solution-configuration.cjs.entry.js +1095 -4
  4. package/dist/cjs/solution-configuration.cjs.entry.js.map +1 -1
  5. package/dist/cjs/solution-contents_3.cjs.entry.js +3 -1
  6. package/dist/cjs/solution-contents_3.cjs.entry.js.map +1 -1
  7. package/dist/cjs/{solution-store-f0547fe7.js → solution-store-893499a5.js} +8 -1
  8. package/dist/cjs/solution-store-893499a5.js.map +1 -0
  9. package/dist/collection/components/solution-configuration/solution-configuration.js +14 -11
  10. package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -1
  11. package/dist/collection/components/solution-item/solution-item.js +2 -0
  12. package/dist/collection/components/solution-item/solution-item.js.map +1 -1
  13. package/dist/collection/components/solution-item-details/solution-item-details.js +15 -5
  14. package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -1
  15. package/dist/collection/utils/solution-store.js +2 -0
  16. package/dist/collection/utils/solution-store.js.map +1 -1
  17. package/dist/collection/utils/solution-store.ts +2 -0
  18. package/dist/esm/calcite-shell-panel_14.entry.js +16 -6
  19. package/dist/esm/calcite-shell-panel_14.entry.js.map +1 -1
  20. package/dist/esm/solution-configuration.entry.js +1095 -4
  21. package/dist/esm/solution-configuration.entry.js.map +1 -1
  22. package/dist/esm/solution-contents_3.entry.js +3 -1
  23. package/dist/esm/solution-contents_3.entry.js.map +1 -1
  24. package/dist/esm/{solution-store-c1f6173a.js → solution-store-0c58c852.js} +4 -2
  25. package/dist/esm/solution-store-0c58c852.js.map +1 -0
  26. package/dist/solutions-components/{p-065830b8.js → p-659edb14.js} +4 -2
  27. package/dist/solutions-components/p-659edb14.js.map +1 -0
  28. package/dist/solutions-components/{p-ee9be0ef.entry.js → p-77c75f3a.entry.js} +4 -2
  29. package/dist/solutions-components/p-77c75f3a.entry.js.map +1 -0
  30. package/dist/solutions-components/p-90629c1d.entry.js +1986 -0
  31. package/dist/solutions-components/p-90629c1d.entry.js.map +1 -0
  32. package/dist/solutions-components/{p-0e7a0839.entry.js → p-984cb687.entry.js} +17 -7
  33. package/dist/solutions-components/p-984cb687.entry.js.map +1 -0
  34. package/dist/solutions-components/solutions-components.esm.js +1 -1
  35. package/dist/solutions-components/utils/solution-store.ts +2 -0
  36. package/dist/solutions-components_commit.txt +9 -7
  37. package/dist/types/components/solution-item-details/solution-item-details.d.ts +2 -1
  38. package/package.json +1 -1
  39. package/dist/cjs/solution-store-f0547fe7.js.map +0 -1
  40. package/dist/components/ExpandToggle.js +0 -112
  41. package/dist/components/ExpandToggle.js.map +0 -1
  42. package/dist/components/Heading.js +0 -24
  43. package/dist/components/Heading.js.map +0 -1
  44. package/dist/components/_commonjsHelpers.js +0 -24
  45. package/dist/components/_commonjsHelpers.js.map +0 -1
  46. package/dist/components/action-bar.js +0 -278
  47. package/dist/components/action-bar.js.map +0 -1
  48. package/dist/components/action-group.js +0 -151
  49. package/dist/components/action-group.js.map +0 -1
  50. package/dist/components/action-menu.js +0 -358
  51. package/dist/components/action-menu.js.map +0 -1
  52. package/dist/components/action.js +0 -216
  53. package/dist/components/action.js.map +0 -1
  54. package/dist/components/array.js +0 -17
  55. package/dist/components/array.js.map +0 -1
  56. package/dist/components/buffer-tools.d.ts +0 -11
  57. package/dist/components/buffer-tools.js +0 -13
  58. package/dist/components/buffer-tools.js.map +0 -1
  59. package/dist/components/buffer-tools2.js +0 -256
  60. package/dist/components/buffer-tools2.js.map +0 -1
  61. package/dist/components/button.js +0 -265
  62. package/dist/components/button.js.map +0 -1
  63. package/dist/components/calcite-accordion-item.js +0 -246
  64. package/dist/components/calcite-accordion-item.js.map +0 -1
  65. package/dist/components/calcite-accordion.js +0 -182
  66. package/dist/components/calcite-accordion.js.map +0 -1
  67. package/dist/components/calcite-action-bar.js +0 -13
  68. package/dist/components/calcite-action-bar.js.map +0 -1
  69. package/dist/components/calcite-action-group.js +0 -13
  70. package/dist/components/calcite-action-group.js.map +0 -1
  71. package/dist/components/calcite-action-menu.js +0 -13
  72. package/dist/components/calcite-action-menu.js.map +0 -1
  73. package/dist/components/calcite-action-pad.js +0 -199
  74. package/dist/components/calcite-action-pad.js.map +0 -1
  75. package/dist/components/calcite-action.js +0 -13
  76. package/dist/components/calcite-action.js.map +0 -1
  77. package/dist/components/calcite-alert.js +0 -299
  78. package/dist/components/calcite-alert.js.map +0 -1
  79. package/dist/components/calcite-avatar.js +0 -184
  80. package/dist/components/calcite-avatar.js.map +0 -1
  81. package/dist/components/calcite-block-section.js +0 -157
  82. package/dist/components/calcite-block-section.js.map +0 -1
  83. package/dist/components/calcite-block.js +0 -277
  84. package/dist/components/calcite-block.js.map +0 -1
  85. package/dist/components/calcite-button.js +0 -13
  86. package/dist/components/calcite-button.js.map +0 -1
  87. package/dist/components/calcite-card.js +0 -189
  88. package/dist/components/calcite-card.js.map +0 -1
  89. package/dist/components/calcite-checkbox.js +0 -13
  90. package/dist/components/calcite-checkbox.js.map +0 -1
  91. package/dist/components/calcite-chip.js +0 -13
  92. package/dist/components/calcite-chip.js.map +0 -1
  93. package/dist/components/calcite-color-picker-hex-input.js +0 -13
  94. package/dist/components/calcite-color-picker-hex-input.js.map +0 -1
  95. package/dist/components/calcite-color-picker-swatch.js +0 -13
  96. package/dist/components/calcite-color-picker-swatch.js.map +0 -1
  97. package/dist/components/calcite-color-picker.js +0 -1038
  98. package/dist/components/calcite-color-picker.js.map +0 -1
  99. package/dist/components/calcite-combobox-item-group.js +0 -77
  100. package/dist/components/calcite-combobox-item-group.js.map +0 -1
  101. package/dist/components/calcite-combobox-item.js +0 -13
  102. package/dist/components/calcite-combobox-item.js.map +0 -1
  103. package/dist/components/calcite-combobox.js +0 -13
  104. package/dist/components/calcite-combobox.js.map +0 -1
  105. package/dist/components/calcite-date-picker-day.js +0 -13
  106. package/dist/components/calcite-date-picker-day.js.map +0 -1
  107. package/dist/components/calcite-date-picker-month-header.js +0 -13
  108. package/dist/components/calcite-date-picker-month-header.js.map +0 -1
  109. package/dist/components/calcite-date-picker-month.js +0 -13
  110. package/dist/components/calcite-date-picker-month.js.map +0 -1
  111. package/dist/components/calcite-date-picker.js +0 -13
  112. package/dist/components/calcite-date-picker.js.map +0 -1
  113. package/dist/components/calcite-dropdown-group.js +0 -101
  114. package/dist/components/calcite-dropdown-group.js.map +0 -1
  115. package/dist/components/calcite-dropdown-item.js +0 -237
  116. package/dist/components/calcite-dropdown-item.js.map +0 -1
  117. package/dist/components/calcite-dropdown.js +0 -13
  118. package/dist/components/calcite-dropdown.js.map +0 -1
  119. package/dist/components/calcite-fab.js +0 -146
  120. package/dist/components/calcite-fab.js.map +0 -1
  121. package/dist/components/calcite-filter.js +0 -197
  122. package/dist/components/calcite-filter.js.map +0 -1
  123. package/dist/components/calcite-flow-item.js +0 -245
  124. package/dist/components/calcite-flow-item.js.map +0 -1
  125. package/dist/components/calcite-flow.js +0 -149
  126. package/dist/components/calcite-flow.js.map +0 -1
  127. package/dist/components/calcite-graph.js +0 -13
  128. package/dist/components/calcite-graph.js.map +0 -1
  129. package/dist/components/calcite-handle.js +0 -13
  130. package/dist/components/calcite-handle.js.map +0 -1
  131. package/dist/components/calcite-icon.js +0 -13
  132. package/dist/components/calcite-icon.js.map +0 -1
  133. package/dist/components/calcite-inline-editable.js +0 -296
  134. package/dist/components/calcite-inline-editable.js.map +0 -1
  135. package/dist/components/calcite-input-date-picker.js +0 -715
  136. package/dist/components/calcite-input-date-picker.js.map +0 -1
  137. package/dist/components/calcite-input-message.js +0 -13
  138. package/dist/components/calcite-input-message.js.map +0 -1
  139. package/dist/components/calcite-input-number.js +0 -639
  140. package/dist/components/calcite-input-number.js.map +0 -1
  141. package/dist/components/calcite-input-text.js +0 -402
  142. package/dist/components/calcite-input-text.js.map +0 -1
  143. package/dist/components/calcite-input-time-picker.js +0 -436
  144. package/dist/components/calcite-input-time-picker.js.map +0 -1
  145. package/dist/components/calcite-input.js +0 -13
  146. package/dist/components/calcite-input.js.map +0 -1
  147. package/dist/components/calcite-label.js +0 -13
  148. package/dist/components/calcite-label.js.map +0 -1
  149. package/dist/components/calcite-link.js +0 -13
  150. package/dist/components/calcite-link.js.map +0 -1
  151. package/dist/components/calcite-list-item-group.js +0 -67
  152. package/dist/components/calcite-list-item-group.js.map +0 -1
  153. package/dist/components/calcite-list-item.js +0 -13
  154. package/dist/components/calcite-list-item.js.map +0 -1
  155. package/dist/components/calcite-list.js +0 -13
  156. package/dist/components/calcite-list.js.map +0 -1
  157. package/dist/components/calcite-loader.js +0 -13
  158. package/dist/components/calcite-loader.js.map +0 -1
  159. package/dist/components/calcite-modal.js +0 -500
  160. package/dist/components/calcite-modal.js.map +0 -1
  161. package/dist/components/calcite-notice.js +0 -13
  162. package/dist/components/calcite-notice.js.map +0 -1
  163. package/dist/components/calcite-option-group.js +0 -66
  164. package/dist/components/calcite-option-group.js.map +0 -1
  165. package/dist/components/calcite-option.js +0 -13
  166. package/dist/components/calcite-option.js.map +0 -1
  167. package/dist/components/calcite-pagination.js +0 -260
  168. package/dist/components/calcite-pagination.js.map +0 -1
  169. package/dist/components/calcite-panel.js +0 -13
  170. package/dist/components/calcite-panel.js.map +0 -1
  171. package/dist/components/calcite-pick-list-group.js +0 -76
  172. package/dist/components/calcite-pick-list-group.js.map +0 -1
  173. package/dist/components/calcite-pick-list-item.js +0 -13
  174. package/dist/components/calcite-pick-list-item.js.map +0 -1
  175. package/dist/components/calcite-pick-list.js +0 -175
  176. package/dist/components/calcite-pick-list.js.map +0 -1
  177. package/dist/components/calcite-popover-manager.js +0 -96
  178. package/dist/components/calcite-popover-manager.js.map +0 -1
  179. package/dist/components/calcite-popover.js +0 -13
  180. package/dist/components/calcite-popover.js.map +0 -1
  181. package/dist/components/calcite-progress.js +0 -13
  182. package/dist/components/calcite-progress.js.map +0 -1
  183. package/dist/components/calcite-radio-button-group.js +0 -134
  184. package/dist/components/calcite-radio-button-group.js.map +0 -1
  185. package/dist/components/calcite-radio-button.js +0 -312
  186. package/dist/components/calcite-radio-button.js.map +0 -1
  187. package/dist/components/calcite-radio-group-item.js +0 -13
  188. package/dist/components/calcite-radio-group-item.js.map +0 -1
  189. package/dist/components/calcite-radio-group.js +0 -13
  190. package/dist/components/calcite-radio-group.js.map +0 -1
  191. package/dist/components/calcite-rating.js +0 -203
  192. package/dist/components/calcite-rating.js.map +0 -1
  193. package/dist/components/calcite-scrim.js +0 -13
  194. package/dist/components/calcite-scrim.js.map +0 -1
  195. package/dist/components/calcite-select.js +0 -13
  196. package/dist/components/calcite-select.js.map +0 -1
  197. package/dist/components/calcite-shell-center-row.js +0 -102
  198. package/dist/components/calcite-shell-center-row.js.map +0 -1
  199. package/dist/components/calcite-shell-panel.js +0 -13
  200. package/dist/components/calcite-shell-panel.js.map +0 -1
  201. package/dist/components/calcite-shell.js +0 -13
  202. package/dist/components/calcite-shell.js.map +0 -1
  203. package/dist/components/calcite-slider.js +0 -13
  204. package/dist/components/calcite-slider.js.map +0 -1
  205. package/dist/components/calcite-sortable-list.js +0 -204
  206. package/dist/components/calcite-sortable-list.js.map +0 -1
  207. package/dist/components/calcite-split-button.js +0 -170
  208. package/dist/components/calcite-split-button.js.map +0 -1
  209. package/dist/components/calcite-stepper-item.js +0 -273
  210. package/dist/components/calcite-stepper-item.js.map +0 -1
  211. package/dist/components/calcite-stepper.js +0 -258
  212. package/dist/components/calcite-stepper.js.map +0 -1
  213. package/dist/components/calcite-switch.js +0 -13
  214. package/dist/components/calcite-switch.js.map +0 -1
  215. package/dist/components/calcite-tab-nav.js +0 -13
  216. package/dist/components/calcite-tab-nav.js.map +0 -1
  217. package/dist/components/calcite-tab-title.js +0 -13
  218. package/dist/components/calcite-tab-title.js.map +0 -1
  219. package/dist/components/calcite-tab.js +0 -13
  220. package/dist/components/calcite-tab.js.map +0 -1
  221. package/dist/components/calcite-tabs.js +0 -13
  222. package/dist/components/calcite-tabs.js.map +0 -1
  223. package/dist/components/calcite-tile-select-group.js +0 -67
  224. package/dist/components/calcite-tile-select-group.js.map +0 -1
  225. package/dist/components/calcite-tile-select.js +0 -268
  226. package/dist/components/calcite-tile-select.js.map +0 -1
  227. package/dist/components/calcite-tile.js +0 -13
  228. package/dist/components/calcite-tile.js.map +0 -1
  229. package/dist/components/calcite-time-picker.js +0 -13
  230. package/dist/components/calcite-time-picker.js.map +0 -1
  231. package/dist/components/calcite-tip-group.js +0 -43
  232. package/dist/components/calcite-tip-group.js.map +0 -1
  233. package/dist/components/calcite-tip-manager.js +0 -225
  234. package/dist/components/calcite-tip-manager.js.map +0 -1
  235. package/dist/components/calcite-tip.js +0 -164
  236. package/dist/components/calcite-tip.js.map +0 -1
  237. package/dist/components/calcite-tooltip-manager.js +0 -59
  238. package/dist/components/calcite-tooltip-manager.js.map +0 -1
  239. package/dist/components/calcite-tooltip.js +0 -13
  240. package/dist/components/calcite-tooltip.js.map +0 -1
  241. package/dist/components/calcite-tree-item.js +0 -13
  242. package/dist/components/calcite-tree-item.js.map +0 -1
  243. package/dist/components/calcite-tree.js +0 -13
  244. package/dist/components/calcite-tree.js.map +0 -1
  245. package/dist/components/calcite-value-list-item.js +0 -13
  246. package/dist/components/calcite-value-list-item.js.map +0 -1
  247. package/dist/components/calcite-value-list.js +0 -13
  248. package/dist/components/calcite-value-list.js.map +0 -1
  249. package/dist/components/check-list.d.ts +0 -11
  250. package/dist/components/check-list.js +0 -13
  251. package/dist/components/check-list.js.map +0 -1
  252. package/dist/components/check-list2.js +0 -128
  253. package/dist/components/check-list2.js.map +0 -1
  254. package/dist/components/checkbox.js +0 -167
  255. package/dist/components/checkbox.js.map +0 -1
  256. package/dist/components/chip.js +0 -172
  257. package/dist/components/chip.js.map +0 -1
  258. package/dist/components/color-picker-hex-input.js +0 -365
  259. package/dist/components/color-picker-hex-input.js.map +0 -1
  260. package/dist/components/color-picker-swatch.js +0 -2036
  261. package/dist/components/color-picker-swatch.js.map +0 -1
  262. package/dist/components/combobox-item.js +0 -184
  263. package/dist/components/combobox-item.js.map +0 -1
  264. package/dist/components/combobox.js +0 -914
  265. package/dist/components/combobox.js.map +0 -1
  266. package/dist/components/conditionalSlot.js +0 -52
  267. package/dist/components/conditionalSlot.js.map +0 -1
  268. package/dist/components/config-buffer-tools.d.ts +0 -11
  269. package/dist/components/config-buffer-tools.js +0 -185
  270. package/dist/components/config-buffer-tools.js.map +0 -1
  271. package/dist/components/config-draw-tools.d.ts +0 -11
  272. package/dist/components/config-draw-tools.js +0 -124
  273. package/dist/components/config-draw-tools.js.map +0 -1
  274. package/dist/components/config-layer-picker.d.ts +0 -11
  275. package/dist/components/config-layer-picker.js +0 -148
  276. package/dist/components/config-layer-picker.js.map +0 -1
  277. package/dist/components/config-pdf-download.d.ts +0 -11
  278. package/dist/components/config-pdf-download.js +0 -157
  279. package/dist/components/config-pdf-download.js.map +0 -1
  280. package/dist/components/date-picker-day.js +0 -113
  281. package/dist/components/date-picker-day.js.map +0 -1
  282. package/dist/components/date-picker-month-header.js +0 -226
  283. package/dist/components/date-picker-month-header.js.map +0 -1
  284. package/dist/components/date-picker-month.js +0 -346
  285. package/dist/components/date-picker-month.js.map +0 -1
  286. package/dist/components/date-picker.js +0 -577
  287. package/dist/components/date-picker.js.map +0 -1
  288. package/dist/components/date.js +0 -182
  289. package/dist/components/date.js.map +0 -1
  290. package/dist/components/debounce.js +0 -489
  291. package/dist/components/debounce.js.map +0 -1
  292. package/dist/components/dom.js +0 -233
  293. package/dist/components/dom.js.map +0 -1
  294. package/dist/components/dropdown.js +0 -507
  295. package/dist/components/dropdown.js.map +0 -1
  296. package/dist/components/filter.js +0 -765
  297. package/dist/components/filter.js.map +0 -1
  298. package/dist/components/floating-ui.js +0 -1787
  299. package/dist/components/floating-ui.js.map +0 -1
  300. package/dist/components/form.js +0 -230
  301. package/dist/components/form.js.map +0 -1
  302. package/dist/components/graph.js +0 -256
  303. package/dist/components/graph.js.map +0 -1
  304. package/dist/components/guid.js +0 -26
  305. package/dist/components/guid.js.map +0 -1
  306. package/dist/components/handle.js +0 -121
  307. package/dist/components/handle.js.map +0 -1
  308. package/dist/components/icon.js +0 -204
  309. package/dist/components/icon.js.map +0 -1
  310. package/dist/components/index.d.ts +0 -48
  311. package/dist/components/index.js +0 -190
  312. package/dist/components/index.js.map +0 -1
  313. package/dist/components/index2.js +0 -201
  314. package/dist/components/index2.js.map +0 -1
  315. package/dist/components/input-message.js +0 -103
  316. package/dist/components/input-message.js.map +0 -1
  317. package/dist/components/input.js +0 -742
  318. package/dist/components/input.js.map +0 -1
  319. package/dist/components/interactive.js +0 -53
  320. package/dist/components/interactive.js.map +0 -1
  321. package/dist/components/interfaces.js +0 -21
  322. package/dist/components/interfaces.js.map +0 -1
  323. package/dist/components/interfaces2.js +0 -23
  324. package/dist/components/interfaces2.js.map +0 -1
  325. package/dist/components/interfaces3.js +0 -72
  326. package/dist/components/interfaces3.js.map +0 -1
  327. package/dist/components/json-editor.d.ts +0 -11
  328. package/dist/components/json-editor.js +0 -13
  329. package/dist/components/json-editor.js.map +0 -1
  330. package/dist/components/json-editor2.js +0 -443
  331. package/dist/components/json-editor2.js.map +0 -1
  332. package/dist/components/key.js +0 -18
  333. package/dist/components/key.js.map +0 -1
  334. package/dist/components/label.js +0 -108
  335. package/dist/components/label.js.map +0 -1
  336. package/dist/components/label2.js +0 -133
  337. package/dist/components/label2.js.map +0 -1
  338. package/dist/components/labelFormats.js +0 -212
  339. package/dist/components/labelFormats.js.map +0 -1
  340. package/dist/components/link.js +0 -125
  341. package/dist/components/link.js.map +0 -1
  342. package/dist/components/list-item.js +0 -151
  343. package/dist/components/list-item.js.map +0 -1
  344. package/dist/components/list.js +0 -85
  345. package/dist/components/list.js.map +0 -1
  346. package/dist/components/loadModules.js +0 -30
  347. package/dist/components/loadModules.js.map +0 -1
  348. package/dist/components/loader.js +0 -118
  349. package/dist/components/loader.js.map +0 -1
  350. package/dist/components/locale.js +0 -414
  351. package/dist/components/locale.js.map +0 -1
  352. package/dist/components/locale2.js +0 -415
  353. package/dist/components/locale2.js.map +0 -1
  354. package/dist/components/map-draw-tools.d.ts +0 -11
  355. package/dist/components/map-draw-tools.js +0 -13
  356. package/dist/components/map-draw-tools.js.map +0 -1
  357. package/dist/components/map-draw-tools2.js +0 -230
  358. package/dist/components/map-draw-tools2.js.map +0 -1
  359. package/dist/components/map-layer-picker.d.ts +0 -11
  360. package/dist/components/map-layer-picker.js +0 -13
  361. package/dist/components/map-layer-picker.js.map +0 -1
  362. package/dist/components/map-layer-picker2.js +0 -190
  363. package/dist/components/map-layer-picker2.js.map +0 -1
  364. package/dist/components/map-search.d.ts +0 -11
  365. package/dist/components/map-search.js +0 -157
  366. package/dist/components/map-search.js.map +0 -1
  367. package/dist/components/map-select-tools.d.ts +0 -11
  368. package/dist/components/map-select-tools.js +0 -13
  369. package/dist/components/map-select-tools.js.map +0 -1
  370. package/dist/components/map-select-tools2.js +0 -555
  371. package/dist/components/map-select-tools2.js.map +0 -1
  372. package/dist/components/mapViewUtils.js +0 -131
  373. package/dist/components/mapViewUtils.js.map +0 -1
  374. package/dist/components/math.js +0 -26
  375. package/dist/components/math.js.map +0 -1
  376. package/dist/components/nonChromiumPlatformUtils.js +0 -505
  377. package/dist/components/nonChromiumPlatformUtils.js.map +0 -1
  378. package/dist/components/notice.js +0 -194
  379. package/dist/components/notice.js.map +0 -1
  380. package/dist/components/observers.js +0 -58
  381. package/dist/components/observers.js.map +0 -1
  382. package/dist/components/openCloseComponent.js +0 -58
  383. package/dist/components/openCloseComponent.js.map +0 -1
  384. package/dist/components/option.js +0 -111
  385. package/dist/components/option.js.map +0 -1
  386. package/dist/components/panel.js +0 -461
  387. package/dist/components/panel.js.map +0 -1
  388. package/dist/components/pdf-download.d.ts +0 -11
  389. package/dist/components/pdf-download.js +0 -13
  390. package/dist/components/pdf-download.js.map +0 -1
  391. package/dist/components/pdf-download2.js +0 -243
  392. package/dist/components/pdf-download2.js.map +0 -1
  393. package/dist/components/pick-list-item.js +0 -257
  394. package/dist/components/pick-list-item.js.map +0 -1
  395. package/dist/components/popover.js +0 -502
  396. package/dist/components/popover.js.map +0 -1
  397. package/dist/components/progress.js +0 -62
  398. package/dist/components/progress.js.map +0 -1
  399. package/dist/components/public-notification.d.ts +0 -11
  400. package/dist/components/public-notification.js +0 -784
  401. package/dist/components/public-notification.js.map +0 -1
  402. package/dist/components/publicNotificationStore.js +0 -40
  403. package/dist/components/publicNotificationStore.js.map +0 -1
  404. package/dist/components/queryUtils.js +0 -163
  405. package/dist/components/queryUtils.js.map +0 -1
  406. package/dist/components/radio-group-item.js +0 -103
  407. package/dist/components/radio-group-item.js.map +0 -1
  408. package/dist/components/radio-group.js +0 -237
  409. package/dist/components/radio-group.js.map +0 -1
  410. package/dist/components/refine-selection-tools.d.ts +0 -11
  411. package/dist/components/refine-selection-tools.js +0 -13
  412. package/dist/components/refine-selection-tools.js.map +0 -1
  413. package/dist/components/refine-selection-tools2.js +0 -500
  414. package/dist/components/refine-selection-tools2.js.map +0 -1
  415. package/dist/components/refine-selection.d.ts +0 -11
  416. package/dist/components/refine-selection.js +0 -13
  417. package/dist/components/refine-selection.js.map +0 -1
  418. package/dist/components/refine-selection2.js +0 -369
  419. package/dist/components/refine-selection2.js.map +0 -1
  420. package/dist/components/resources.js +0 -26
  421. package/dist/components/resources.js.map +0 -1
  422. package/dist/components/resources2.js +0 -23
  423. package/dist/components/resources2.js.map +0 -1
  424. package/dist/components/resources3.js +0 -40
  425. package/dist/components/resources3.js.map +0 -1
  426. package/dist/components/scrim.js +0 -85
  427. package/dist/components/scrim.js.map +0 -1
  428. package/dist/components/select.js +0 -261
  429. package/dist/components/select.js.map +0 -1
  430. package/dist/components/shared-list-render.js +0 -321
  431. package/dist/components/shared-list-render.js.map +0 -1
  432. package/dist/components/shell-panel.js +0 -283
  433. package/dist/components/shell-panel.js.map +0 -1
  434. package/dist/components/shell.js +0 -123
  435. package/dist/components/shell.js.map +0 -1
  436. package/dist/components/slider.js +0 -898
  437. package/dist/components/slider.js.map +0 -1
  438. package/dist/components/solution-configuration.d.ts +0 -11
  439. package/dist/components/solution-configuration.js +0 -1141
  440. package/dist/components/solution-configuration.js.map +0 -1
  441. package/dist/components/solution-contents.d.ts +0 -11
  442. package/dist/components/solution-contents.js +0 -13
  443. package/dist/components/solution-contents.js.map +0 -1
  444. package/dist/components/solution-contents2.js +0 -130
  445. package/dist/components/solution-contents2.js.map +0 -1
  446. package/dist/components/solution-item-details.d.ts +0 -11
  447. package/dist/components/solution-item-details.js +0 -13
  448. package/dist/components/solution-item-details.js.map +0 -1
  449. package/dist/components/solution-item-details2.js +0 -236
  450. package/dist/components/solution-item-details2.js.map +0 -1
  451. package/dist/components/solution-item-icon.d.ts +0 -11
  452. package/dist/components/solution-item-icon.js +0 -13
  453. package/dist/components/solution-item-icon.js.map +0 -1
  454. package/dist/components/solution-item-icon2.js +0 -344
  455. package/dist/components/solution-item-icon2.js.map +0 -1
  456. package/dist/components/solution-item-sharing.d.ts +0 -11
  457. package/dist/components/solution-item-sharing.js +0 -13
  458. package/dist/components/solution-item-sharing.js.map +0 -1
  459. package/dist/components/solution-item-sharing2.js +0 -169
  460. package/dist/components/solution-item-sharing2.js.map +0 -1
  461. package/dist/components/solution-item.d.ts +0 -11
  462. package/dist/components/solution-item.js +0 -13
  463. package/dist/components/solution-item.js.map +0 -1
  464. package/dist/components/solution-item2.js +0 -317
  465. package/dist/components/solution-item2.js.map +0 -1
  466. package/dist/components/solution-organization-variables.d.ts +0 -11
  467. package/dist/components/solution-organization-variables.js +0 -13
  468. package/dist/components/solution-organization-variables.js.map +0 -1
  469. package/dist/components/solution-organization-variables2.js +0 -134
  470. package/dist/components/solution-organization-variables2.js.map +0 -1
  471. package/dist/components/solution-resource-item.d.ts +0 -11
  472. package/dist/components/solution-resource-item.js +0 -13
  473. package/dist/components/solution-resource-item.js.map +0 -1
  474. package/dist/components/solution-resource-item2.js +0 -358
  475. package/dist/components/solution-resource-item2.js.map +0 -1
  476. package/dist/components/solution-spatial-ref.d.ts +0 -11
  477. package/dist/components/solution-spatial-ref.js +0 -13
  478. package/dist/components/solution-spatial-ref.js.map +0 -1
  479. package/dist/components/solution-spatial-ref2.js +0 -21448
  480. package/dist/components/solution-spatial-ref2.js.map +0 -1
  481. package/dist/components/solution-store.js +0 -4094
  482. package/dist/components/solution-store.js.map +0 -1
  483. package/dist/components/solution-template-data.d.ts +0 -11
  484. package/dist/components/solution-template-data.js +0 -13
  485. package/dist/components/solution-template-data.js.map +0 -1
  486. package/dist/components/solution-template-data2.js +0 -235
  487. package/dist/components/solution-template-data2.js.map +0 -1
  488. package/dist/components/solution-variables.d.ts +0 -11
  489. package/dist/components/solution-variables.js +0 -13
  490. package/dist/components/solution-variables.js.map +0 -1
  491. package/dist/components/solution-variables2.js +0 -152
  492. package/dist/components/solution-variables2.js.map +0 -1
  493. package/dist/components/sortable.esm.js +0 -3028
  494. package/dist/components/sortable.esm.js.map +0 -1
  495. package/dist/components/store-manager.d.ts +0 -11
  496. package/dist/components/store-manager.js +0 -85
  497. package/dist/components/store-manager.js.map +0 -1
  498. package/dist/components/switch.js +0 -141
  499. package/dist/components/switch.js.map +0 -1
  500. package/dist/components/tab-nav.js +0 -243
  501. package/dist/components/tab-nav.js.map +0 -1
  502. package/dist/components/tab-title.js +0 -278
  503. package/dist/components/tab-title.js.map +0 -1
  504. package/dist/components/tab.js +0 -156
  505. package/dist/components/tab.js.map +0 -1
  506. package/dist/components/tabs.js +0 -190
  507. package/dist/components/tabs.js.map +0 -1
  508. package/dist/components/tile.js +0 -131
  509. package/dist/components/tile.js.map +0 -1
  510. package/dist/components/time-picker.js +0 -945
  511. package/dist/components/time-picker.js.map +0 -1
  512. package/dist/components/tooltip.js +0 -401
  513. package/dist/components/tooltip.js.map +0 -1
  514. package/dist/components/tree-item.js +0 -296
  515. package/dist/components/tree-item.js.map +0 -1
  516. package/dist/components/tree.js +0 -329
  517. package/dist/components/tree.js.map +0 -1
  518. package/dist/components/utils.js +0 -121
  519. package/dist/components/utils.js.map +0 -1
  520. package/dist/components/utils2.js +0 -53
  521. package/dist/components/utils2.js.map +0 -1
  522. package/dist/components/value-list-item.js +0 -206
  523. package/dist/components/value-list-item.js.map +0 -1
  524. package/dist/components/value-list.js +0 -335
  525. package/dist/components/value-list.js.map +0 -1
  526. package/dist/esm/solution-store-c1f6173a.js.map +0 -1
  527. package/dist/solutions-components/p-065830b8.js.map +0 -1
  528. package/dist/solutions-components/p-0e7a0839.entry.js.map +0 -1
  529. package/dist/solutions-components/p-401541a5.entry.js +0 -895
  530. package/dist/solutions-components/p-401541a5.entry.js.map +0 -1
  531. package/dist/solutions-components/p-ee9be0ef.entry.js.map +0 -1
@@ -1,43 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
7
-
8
- const tipGroupCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}::slotted(calcite-tip){margin:0px;border-style:none}:host-context(calcite-tip-manager){margin-block:0.75rem}:host-context(calcite-tip-manager) ::slotted(calcite-tip){padding:1rem}";
9
-
10
- const TipGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
11
- constructor() {
12
- super();
13
- this.__registerHost();
14
- this.__attachShadow();
15
- }
16
- render() {
17
- return h("slot", null);
18
- }
19
- static get style() { return tipGroupCss; }
20
- }, [1, "calcite-tip-group", {
21
- "groupTitle": [1, "group-title"]
22
- }]);
23
- function defineCustomElement$1() {
24
- if (typeof customElements === "undefined") {
25
- return;
26
- }
27
- const components = ["calcite-tip-group"];
28
- components.forEach(tagName => { switch (tagName) {
29
- case "calcite-tip-group":
30
- if (!customElements.get(tagName)) {
31
- customElements.define(tagName, TipGroup);
32
- }
33
- break;
34
- } });
35
- }
36
- defineCustomElement$1();
37
-
38
- const CalciteTipGroup = TipGroup;
39
- const defineCustomElement = defineCustomElement$1;
40
-
41
- export { CalciteTipGroup, defineCustomElement };
42
-
43
- //# sourceMappingURL=calcite-tip-group.js.map
@@ -1 +0,0 @@
1
- {"file":"calcite-tip-group.js","mappings":";;;;;;;AAAA,MAAM,WAAW,GAAG,inDAAinD;;MCSxnD,QAAQ;;;;;;EACnB,MAAM;IACJ,OAAO,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;GACxB;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css?tag=calcite-tip-group&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.js"],"sourcesContent":["/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n box-sizing: border-box;\n display: block;\n background-color: var(--calcite-ui-foreground-1);\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n color: var(--calcite-ui-text-2);\n}\n\n::slotted(calcite-tip) {\n margin: 0px;\n border-style: none;\n}\n\n:host-context(calcite-tip-manager) {\n margin-block: 0.75rem;\n}\n\n:host-context(calcite-tip-manager) ::slotted(calcite-tip) {\n padding: 1rem;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h } from \"@stencil/core\";\n/**\n * @slot - A slot for adding `calcite-tip`s.\n */\nexport class TipGroup {\n render() {\n return h(\"slot\", null);\n }\n static get is() { return \"calcite-tip-group\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"tip-group.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"tip-group.css\"]\n };\n }\n static get properties() {\n return {\n \"groupTitle\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The component header text for all nested `calcite-tip`s.\"\n },\n \"attribute\": \"group-title\",\n \"reflect\": false\n }\n };\n }\n}\n"],"version":3}
@@ -1,225 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
7
- import { T as TEXT, C as CSS, I as ICONS, H as HEADING_LEVEL } from './resources3.js';
8
- import { c as getElementDir, t as toAriaBoolean } from './dom.js';
9
- import { H as Heading } from './Heading.js';
10
- import { c as createObserver } from './observers.js';
11
- import { d as defineCustomElement$4 } from './action.js';
12
- import { d as defineCustomElement$3 } from './icon.js';
13
- import { d as defineCustomElement$2 } from './loader.js';
14
-
15
- const tipManagerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2);--calcite-tip-manager-height:19vh}:host *{box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;-webkit-padding-end:0px;padding-inline-end:0px;-webkit-padding-start:1rem;padding-inline-start:1rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-block-size:150px}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.tip-container{-webkit-margin-before:1px;margin-block-start:1px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;outline-color:transparent;animation-name:none;animation-duration:var(--calcite-animation-timing);block-size:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::slotted(calcite-tip){border-style:none;padding:0.75rem;max-inline-size:var(--calcite-tip-max-width)}.tip-container--advancing{animation-name:tip-advance}.tip-container--retreating{animation-name:tip-retreat}.pagination{display:flex;align-items:center;justify-content:center;padding-inline:0px;padding-block:0.75rem 0.5rem}.page-position{margin-block:0px;margin-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@keyframes tip-advance{0%{opacity:0;transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}";
16
-
17
- const TipManager = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
18
- constructor() {
19
- super();
20
- this.__registerHost();
21
- this.__attachShadow();
22
- this.calciteTipManagerToggle = createEvent(this, "calciteTipManagerToggle", 6);
23
- this.calciteTipManagerClose = createEvent(this, "calciteTipManagerClose", 6);
24
- // --------------------------------------------------------------------------
25
- //
26
- // Properties
27
- //
28
- // --------------------------------------------------------------------------
29
- /**
30
- * When `true`, does not display or position the component.
31
- */
32
- this.closed = false;
33
- this.mutationObserver = createObserver("mutation", () => this.setUpTips());
34
- this.hideTipManager = () => {
35
- this.closed = true;
36
- this.calciteTipManagerToggle.emit();
37
- this.calciteTipManagerClose.emit();
38
- };
39
- this.previousClicked = () => {
40
- this.previousTip();
41
- };
42
- this.nextClicked = () => {
43
- this.nextTip();
44
- };
45
- this.tipManagerKeyDownHandler = (event) => {
46
- if (event.target !== this.container) {
47
- return;
48
- }
49
- switch (event.key) {
50
- case "ArrowRight":
51
- event.preventDefault();
52
- this.nextTip();
53
- break;
54
- case "ArrowLeft":
55
- event.preventDefault();
56
- this.previousTip();
57
- break;
58
- case "Home":
59
- event.preventDefault();
60
- this.selectedIndex = 0;
61
- break;
62
- case "End":
63
- event.preventDefault();
64
- this.selectedIndex = this.total - 1;
65
- break;
66
- }
67
- };
68
- this.storeContainerRef = (el) => {
69
- this.container = el;
70
- };
71
- }
72
- closedChangeHandler() {
73
- this.direction = null;
74
- this.calciteTipManagerToggle.emit();
75
- }
76
- selectedChangeHandler() {
77
- this.showSelectedTip();
78
- this.updateGroupTitle();
79
- }
80
- // --------------------------------------------------------------------------
81
- //
82
- // Lifecycle
83
- //
84
- // --------------------------------------------------------------------------
85
- connectedCallback() {
86
- var _a;
87
- this.setUpTips();
88
- (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
89
- }
90
- disconnectedCallback() {
91
- var _a;
92
- (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
93
- }
94
- // --------------------------------------------------------------------------
95
- //
96
- // Public Methods
97
- //
98
- // --------------------------------------------------------------------------
99
- /** Selects the next `calcite-tip` to display. */
100
- async nextTip() {
101
- this.direction = "advancing";
102
- const nextIndex = this.selectedIndex + 1;
103
- this.selectedIndex = (nextIndex + this.total) % this.total;
104
- }
105
- /** Selects the previous `calcite-tip` to display. */
106
- async previousTip() {
107
- this.direction = "retreating";
108
- const previousIndex = this.selectedIndex - 1;
109
- this.selectedIndex = (previousIndex + this.total) % this.total;
110
- }
111
- // --------------------------------------------------------------------------
112
- //
113
- // Private Methods
114
- //
115
- // --------------------------------------------------------------------------
116
- setUpTips() {
117
- const tips = Array.from(this.el.querySelectorAll("calcite-tip"));
118
- this.total = tips.length;
119
- if (this.total === 0) {
120
- return;
121
- }
122
- const selectedTip = this.el.querySelector("calcite-tip[selected]");
123
- this.tips = tips;
124
- this.selectedIndex = selectedTip ? tips.indexOf(selectedTip) : 0;
125
- tips.forEach((tip) => {
126
- tip.nonDismissible = true;
127
- });
128
- this.showSelectedTip();
129
- this.updateGroupTitle();
130
- }
131
- showSelectedTip() {
132
- this.tips.forEach((tip, index) => {
133
- const isSelected = this.selectedIndex === index;
134
- tip.selected = isSelected;
135
- tip.hidden = !isSelected;
136
- });
137
- }
138
- updateGroupTitle() {
139
- const selectedTip = this.tips[this.selectedIndex];
140
- const tipParent = selectedTip.closest("calcite-tip-group");
141
- this.groupTitle = (tipParent === null || tipParent === void 0 ? void 0 : tipParent.groupTitle) || this.intlDefaultTitle || TEXT.defaultGroupTitle;
142
- }
143
- // --------------------------------------------------------------------------
144
- //
145
- // Render Methods
146
- //
147
- // --------------------------------------------------------------------------
148
- renderPagination() {
149
- const dir = getElementDir(this.el);
150
- const { selectedIndex, tips, total, intlNext, intlPrevious, intlPaginationLabel } = this;
151
- const nextLabel = intlNext || TEXT.next;
152
- const previousLabel = intlPrevious || TEXT.previous;
153
- const paginationLabel = intlPaginationLabel || TEXT.defaultPaginationLabel;
154
- return tips.length > 1 ? (h("footer", { class: CSS.pagination }, h("calcite-action", { class: CSS.pagePrevious, icon: dir === "ltr" ? ICONS.chevronLeft : ICONS.chevronRight, onClick: this.previousClicked, scale: "m", text: previousLabel }), h("span", { class: CSS.pagePosition }, `${paginationLabel} ${selectedIndex + 1}/${total}`), h("calcite-action", { class: CSS.pageNext, icon: dir === "ltr" ? ICONS.chevronRight : ICONS.chevronLeft, onClick: this.nextClicked, scale: "m", text: nextLabel }))) : null;
155
- }
156
- render() {
157
- const { closed, direction, headingLevel, groupTitle, selectedIndex, intlClose, total } = this;
158
- const closeLabel = intlClose || TEXT.close;
159
- if (total === 0) {
160
- return null;
161
- }
162
- return (h("section", { "aria-hidden": toAriaBoolean(closed), class: CSS.container, hidden: closed, onKeyDown: this.tipManagerKeyDownHandler, ref: this.storeContainerRef, tabIndex: 0 }, h("header", { class: CSS.header }, h(Heading, { class: CSS.heading, level: headingLevel || HEADING_LEVEL }, groupTitle), h("calcite-action", { class: CSS.close, onClick: this.hideTipManager, scale: "m", text: closeLabel }, h("calcite-icon", { icon: ICONS.close, scale: "m" }))), h("div", { class: {
163
- [CSS.tipContainer]: true,
164
- [CSS.tipContainerAdvancing]: !closed && direction === "advancing",
165
- [CSS.tipContainerRetreating]: !closed && direction === "retreating"
166
- }, key: selectedIndex, tabIndex: 0 }, h("slot", null)), this.renderPagination()));
167
- }
168
- get el() { return this; }
169
- static get watchers() { return {
170
- "closed": ["closedChangeHandler"],
171
- "selectedIndex": ["selectedChangeHandler"]
172
- }; }
173
- static get style() { return tipManagerCss; }
174
- }, [1, "calcite-tip-manager", {
175
- "closed": [1540],
176
- "headingLevel": [514, "heading-level"],
177
- "intlClose": [1, "intl-close"],
178
- "intlDefaultTitle": [1, "intl-default-title"],
179
- "intlNext": [1, "intl-next"],
180
- "intlPaginationLabel": [1, "intl-pagination-label"],
181
- "intlPrevious": [1, "intl-previous"],
182
- "selectedIndex": [32],
183
- "tips": [32],
184
- "total": [32],
185
- "direction": [32],
186
- "groupTitle": [32],
187
- "nextTip": [64],
188
- "previousTip": [64]
189
- }]);
190
- function defineCustomElement$1() {
191
- if (typeof customElements === "undefined") {
192
- return;
193
- }
194
- const components = ["calcite-tip-manager", "calcite-action", "calcite-icon", "calcite-loader"];
195
- components.forEach(tagName => { switch (tagName) {
196
- case "calcite-tip-manager":
197
- if (!customElements.get(tagName)) {
198
- customElements.define(tagName, TipManager);
199
- }
200
- break;
201
- case "calcite-action":
202
- if (!customElements.get(tagName)) {
203
- defineCustomElement$4();
204
- }
205
- break;
206
- case "calcite-icon":
207
- if (!customElements.get(tagName)) {
208
- defineCustomElement$3();
209
- }
210
- break;
211
- case "calcite-loader":
212
- if (!customElements.get(tagName)) {
213
- defineCustomElement$2();
214
- }
215
- break;
216
- } });
217
- }
218
- defineCustomElement$1();
219
-
220
- const CalciteTipManager = TipManager;
221
- const defineCustomElement = defineCustomElement$1;
222
-
223
- export { CalciteTipManager, defineCustomElement };
224
-
225
- //# sourceMappingURL=calcite-tip-manager.js.map
@@ -1 +0,0 @@
1
- {"file":"calcite-tip-manager.js","mappings":";;;;;;;;;;;;;;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,EAAE,IAAI,CAAC,gBAAgB,EAAE,CAAC,EAAE;GACrF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css?tag=calcite-tip-manager&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.js"],"sourcesContent":["/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n/**\n* CSS Custom Properties\n*\n* These properties can be overridden using the component's tag as selector.\n*\n* @prop --calcite-tip-manager-height: The maximum height of the component.\n* @prop --calcite-tip-max-width: The maximum width of a slotted `calcite-tip` within the component.\n*/\n:host {\n box-sizing: border-box;\n display: block;\n background-color: var(--calcite-ui-foreground-1);\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n color: var(--calcite-ui-text-2);\n --calcite-tip-manager-height: 19vh;\n}\n:host * {\n box-sizing: border-box;\n}\n\n:host([closed]) {\n display: none;\n}\n\n/* Shared styles for header elements */\n.header {\n margin: 0px;\n display: flex;\n align-content: space-between;\n align-items: center;\n fill: var(--calcite-ui-text-2);\n color: var(--calcite-ui-text-2);\n}\n\n.heading {\n margin: 0px;\n padding: 0px;\n font-weight: var(--calcite-font-weight-medium);\n}\n\n.header .heading {\n flex: 1 1 auto;\n padding: 0.5rem;\n}\n\n.header {\n border-width: 0px;\n border-block-end-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-3);\n padding-block: 0px;\n padding-inline-end: 0px;\n padding-inline-start: 1rem;\n}\n.header .heading {\n padding: 0px;\n font-size: var(--calcite-font-size-1);\n line-height: 1.5rem;\n font-weight: var(--calcite-font-weight-bold);\n color: var(--calcite-ui-text-1);\n}\n\n.container {\n position: relative;\n overflow: hidden;\n outline-color: transparent;\n min-block-size: 150px;\n}\n.container:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: 2px;\n}\n\n.tip-container {\n margin-block-start: 1px;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n overflow: auto;\n outline-color: transparent;\n animation-name: none;\n animation-duration: var(--calcite-animation-timing);\n block-size: var(--calcite-tip-manager-height);\n}\n.tip-container:focus {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: 2px;\n}\n\n::slotted(calcite-tip) {\n border-style: none;\n padding: 0.75rem;\n max-inline-size: var(--calcite-tip-max-width);\n}\n\n.tip-container--advancing {\n animation-name: tip-advance;\n}\n\n.tip-container--retreating {\n animation-name: tip-retreat;\n}\n\n/* Pagination Styles*/\n.pagination {\n display: flex;\n align-items: center;\n justify-content: center;\n padding-inline: 0px;\n padding-block: 0.75rem 0.5rem;\n}\n\n.page-position {\n margin-block: 0px;\n margin-inline: 0.5rem;\n font-size: var(--calcite-font-size--2);\n line-height: 1rem;\n}\n\n/* @keyframes*/\n@keyframes tip-advance {\n 0% {\n opacity: 0;\n transform: translate3d(50px, 0, 0) scale(0.99);\n }\n 100% {\n opacity: 1;\n transform: translate3d(0, 0, 0) scale(1);\n }\n}\n@keyframes tip-retreat {\n 0% {\n opacity: 0;\n transform: translate3d(-50px, 0, 0) scale(0.99);\n }\n 100% {\n opacity: 1;\n transform: translate3d(0, 0, 0) scale(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 * v1.0.0-beta.97\n */\nimport { h } from \"@stencil/core\";\nimport { CSS, ICONS, TEXT, HEADING_LEVEL } from \"./resources\";\nimport { getElementDir, toAriaBoolean } from \"../../utils/dom\";\nimport { Heading } from \"../functional/Heading\";\nimport { createObserver } from \"../../utils/observers\";\n/**\n * @slot - A slot for adding `calcite-tip`s.\n */\nexport class TipManager {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * When `true`, does not display or position the component.\n */\n this.closed = false;\n this.mutationObserver = createObserver(\"mutation\", () => this.setUpTips());\n this.hideTipManager = () => {\n this.closed = true;\n this.calciteTipManagerToggle.emit();\n this.calciteTipManagerClose.emit();\n };\n this.previousClicked = () => {\n this.previousTip();\n };\n this.nextClicked = () => {\n this.nextTip();\n };\n this.tipManagerKeyDownHandler = (event) => {\n if (event.target !== this.container) {\n return;\n }\n switch (event.key) {\n case \"ArrowRight\":\n event.preventDefault();\n this.nextTip();\n break;\n case \"ArrowLeft\":\n event.preventDefault();\n this.previousTip();\n break;\n case \"Home\":\n event.preventDefault();\n this.selectedIndex = 0;\n break;\n case \"End\":\n event.preventDefault();\n this.selectedIndex = this.total - 1;\n break;\n }\n };\n this.storeContainerRef = (el) => {\n this.container = el;\n };\n }\n closedChangeHandler() {\n this.direction = null;\n this.calciteTipManagerToggle.emit();\n }\n selectedChangeHandler() {\n this.showSelectedTip();\n this.updateGroupTitle();\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n var _a;\n this.setUpTips();\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 // Public Methods\n //\n // --------------------------------------------------------------------------\n /** Selects the next `calcite-tip` to display. */\n async nextTip() {\n this.direction = \"advancing\";\n const nextIndex = this.selectedIndex + 1;\n this.selectedIndex = (nextIndex + this.total) % this.total;\n }\n /** Selects the previous `calcite-tip` to display. */\n async previousTip() {\n this.direction = \"retreating\";\n const previousIndex = this.selectedIndex - 1;\n this.selectedIndex = (previousIndex + this.total) % this.total;\n }\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n setUpTips() {\n const tips = Array.from(this.el.querySelectorAll(\"calcite-tip\"));\n this.total = tips.length;\n if (this.total === 0) {\n return;\n }\n const selectedTip = this.el.querySelector(\"calcite-tip[selected]\");\n this.tips = tips;\n this.selectedIndex = selectedTip ? tips.indexOf(selectedTip) : 0;\n tips.forEach((tip) => {\n tip.nonDismissible = true;\n });\n this.showSelectedTip();\n this.updateGroupTitle();\n }\n showSelectedTip() {\n this.tips.forEach((tip, index) => {\n const isSelected = this.selectedIndex === index;\n tip.selected = isSelected;\n tip.hidden = !isSelected;\n });\n }\n updateGroupTitle() {\n const selectedTip = this.tips[this.selectedIndex];\n const tipParent = selectedTip.closest(\"calcite-tip-group\");\n this.groupTitle = (tipParent === null || tipParent === void 0 ? void 0 : tipParent.groupTitle) || this.intlDefaultTitle || TEXT.defaultGroupTitle;\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderPagination() {\n const dir = getElementDir(this.el);\n const { selectedIndex, tips, total, intlNext, intlPrevious, intlPaginationLabel } = this;\n const nextLabel = intlNext || TEXT.next;\n const previousLabel = intlPrevious || TEXT.previous;\n const paginationLabel = intlPaginationLabel || TEXT.defaultPaginationLabel;\n return tips.length > 1 ? (h(\"footer\", { class: CSS.pagination }, h(\"calcite-action\", { class: CSS.pagePrevious, icon: dir === \"ltr\" ? ICONS.chevronLeft : ICONS.chevronRight, onClick: this.previousClicked, scale: \"m\", text: previousLabel }), h(\"span\", { class: CSS.pagePosition }, `${paginationLabel} ${selectedIndex + 1}/${total}`), h(\"calcite-action\", { class: CSS.pageNext, icon: dir === \"ltr\" ? ICONS.chevronRight : ICONS.chevronLeft, onClick: this.nextClicked, scale: \"m\", text: nextLabel }))) : null;\n }\n render() {\n const { closed, direction, headingLevel, groupTitle, selectedIndex, intlClose, total } = this;\n const closeLabel = intlClose || TEXT.close;\n if (total === 0) {\n return null;\n }\n return (h(\"section\", { \"aria-hidden\": toAriaBoolean(closed), class: CSS.container, hidden: closed, onKeyDown: this.tipManagerKeyDownHandler, ref: this.storeContainerRef, tabIndex: 0 }, h(\"header\", { class: CSS.header }, h(Heading, { class: CSS.heading, level: headingLevel || HEADING_LEVEL }, groupTitle), h(\"calcite-action\", { class: CSS.close, onClick: this.hideTipManager, scale: \"m\", text: closeLabel }, h(\"calcite-icon\", { icon: ICONS.close, scale: \"m\" }))), h(\"div\", { class: {\n [CSS.tipContainer]: true,\n [CSS.tipContainerAdvancing]: !closed && direction === \"advancing\",\n [CSS.tipContainerRetreating]: !closed && direction === \"retreating\"\n }, key: selectedIndex, tabIndex: 0 }, h(\"slot\", null)), this.renderPagination()));\n }\n static get is() { return \"calcite-tip-manager\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"tip-manager.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"tip-manager.css\"]\n };\n }\n static get properties() {\n return {\n \"closed\": {\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`, does not display or position the component.\"\n },\n \"attribute\": \"closed\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"headingLevel\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HeadingLevel\",\n \"resolved\": \"1 | 2 | 3 | 4 | 5 | 6\",\n \"references\": {\n \"HeadingLevel\": {\n \"location\": \"import\",\n \"path\": \"../functional/Heading\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the number at which section headings should start.\"\n },\n \"attribute\": \"heading-level\",\n \"reflect\": true\n },\n \"intlClose\": {\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\": \"Accessible name for the component's close button.\"\n },\n \"attribute\": \"intl-close\",\n \"reflect\": false\n },\n \"intlDefaultTitle\": {\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\": \"Accessible name for the `calcite-tip-group` title.\"\n },\n \"attribute\": \"intl-default-title\",\n \"reflect\": false\n },\n \"intlNext\": {\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\": \"Accessible name for navigating to the next tip.\"\n },\n \"attribute\": \"intl-next\",\n \"reflect\": false\n },\n \"intlPaginationLabel\": {\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\": \"Text that accompanies the component's pagination.\"\n },\n \"attribute\": \"intl-pagination-label\",\n \"reflect\": false\n },\n \"intlPrevious\": {\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\": \"Accessible name for navigating to the previous tip.\"\n },\n \"attribute\": \"intl-previous\",\n \"reflect\": false\n }\n };\n }\n static get states() {\n return {\n \"selectedIndex\": {},\n \"tips\": {},\n \"total\": {},\n \"direction\": {},\n \"groupTitle\": {}\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteTipManagerToggle\",\n \"name\": \"calciteTipManagerToggle\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [{\n \"name\": \"deprecated\",\n \"text\": \"use `calciteTipManagerClose` instead.\"\n }],\n \"text\": \"Emits when the component has been open or closed.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }, {\n \"method\": \"calciteTipManagerClose\",\n \"name\": \"calciteTipManagerClose\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emits when the component has been closed.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get methods() {\n return {\n \"nextTip\": {\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\": \"Selects the next `calcite-tip` to display.\",\n \"tags\": []\n }\n },\n \"previousTip\": {\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\": \"Selects the previous `calcite-tip` to display.\",\n \"tags\": []\n }\n }\n };\n }\n static get elementRef() { return \"el\"; }\n static get watchers() {\n return [{\n \"propName\": \"closed\",\n \"methodName\": \"closedChangeHandler\"\n }, {\n \"propName\": \"selectedIndex\",\n \"methodName\": \"selectedChangeHandler\"\n }];\n }\n}\n"],"version":3}
@@ -1,164 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
7
- import { H as HEADING_LEVEL$1 } from './resources3.js';
8
- import { b as getSlotted } from './dom.js';
9
- import { H as Heading, c as constrainHeadingLevel } from './Heading.js';
10
- import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
11
- import { d as defineCustomElement$4 } from './action.js';
12
- import { d as defineCustomElement$3 } from './icon.js';
13
- import { d as defineCustomElement$2 } from './loader.js';
14
-
15
- /*!
16
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
17
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
18
- * v1.0.0-beta.97
19
- */
20
- const CSS = {
21
- container: "container",
22
- header: "header",
23
- heading: "heading",
24
- close: "close",
25
- imageFrame: "image-frame",
26
- content: "content",
27
- info: "info"
28
- };
29
- const ICONS = {
30
- close: "x"
31
- };
32
- const SLOTS = {
33
- thumbnail: "thumbnail"
34
- };
35
- const TEXT = {
36
- close: "Close"
37
- };
38
- const HEADING_LEVEL = (HEADING_LEVEL$1 + 1);
39
-
40
- const tipCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([dismissed]),:host([dismissed]) .container{display:none}:host([selected]) .container{margin:0px;border-style:none;padding:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{-webkit-margin-after:0.5rem;margin-block-end:0.5rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info:only-child{inline-size:100%;padding-inline:0px}::slotted(p){-webkit-margin-before:0px;margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-ui-brand)}::slotted(a:focus){outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}";
41
-
42
- const Tip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
43
- constructor() {
44
- super();
45
- this.__registerHost();
46
- this.__attachShadow();
47
- this.calciteTipDismiss = createEvent(this, "calciteTipDismiss", 6);
48
- // --------------------------------------------------------------------------
49
- //
50
- // Properties
51
- //
52
- // --------------------------------------------------------------------------
53
- /**
54
- * When `true`, the component does not display.
55
- */
56
- this.dismissed = false;
57
- /**
58
- * When `true`, the close button is not present on the component.
59
- */
60
- this.nonDismissible = false;
61
- /**
62
- * When `true`, the component is selected if it has a parent `calcite-tip-manager`.
63
- *
64
- * Only one tip can be selected within the `calcite-tip-manager` parent.
65
- */
66
- this.selected = false;
67
- // --------------------------------------------------------------------------
68
- //
69
- // Private Methods
70
- //
71
- // --------------------------------------------------------------------------
72
- this.hideTip = () => {
73
- this.dismissed = true;
74
- this.calciteTipDismiss.emit();
75
- };
76
- }
77
- // --------------------------------------------------------------------------
78
- //
79
- // Lifecycle
80
- //
81
- // --------------------------------------------------------------------------
82
- connectedCallback() {
83
- connectConditionalSlotComponent(this);
84
- }
85
- disconnectedCallback() {
86
- disconnectConditionalSlotComponent(this);
87
- }
88
- // --------------------------------------------------------------------------
89
- //
90
- // Render Methods
91
- //
92
- // --------------------------------------------------------------------------
93
- renderHeader() {
94
- var _a;
95
- const { heading, headingLevel, el } = this;
96
- const parentLevel = (_a = el.closest("calcite-tip-manager")) === null || _a === void 0 ? void 0 : _a.headingLevel;
97
- const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;
98
- const level = headingLevel || relativeLevel || HEADING_LEVEL;
99
- return heading ? (h("header", { class: CSS.header }, h(Heading, { class: CSS.heading, level: level }, heading))) : null;
100
- }
101
- renderDismissButton() {
102
- const { nonDismissible, hideTip, intlClose } = this;
103
- const text = intlClose || TEXT.close;
104
- return !nonDismissible ? (h("calcite-action", { class: CSS.close, icon: ICONS.close, onClick: hideTip, scale: "l", text: text })) : null;
105
- }
106
- renderImageFrame() {
107
- const { el } = this;
108
- return getSlotted(el, SLOTS.thumbnail) ? (h("div", { class: CSS.imageFrame, key: "thumbnail" }, h("slot", { name: SLOTS.thumbnail }))) : null;
109
- }
110
- renderInfoNode() {
111
- return (h("div", { class: CSS.info }, h("slot", null)));
112
- }
113
- renderContent() {
114
- return (h("div", { class: CSS.content }, this.renderImageFrame(), this.renderInfoNode()));
115
- }
116
- render() {
117
- return (h(Fragment, null, h("article", { class: CSS.container }, this.renderHeader(), this.renderContent()), this.renderDismissButton()));
118
- }
119
- get el() { return this; }
120
- static get style() { return tipCss; }
121
- }, [1, "calcite-tip", {
122
- "dismissed": [1540],
123
- "nonDismissible": [516, "non-dismissible"],
124
- "heading": [1],
125
- "headingLevel": [514, "heading-level"],
126
- "selected": [516],
127
- "intlClose": [1, "intl-close"]
128
- }]);
129
- function defineCustomElement$1() {
130
- if (typeof customElements === "undefined") {
131
- return;
132
- }
133
- const components = ["calcite-tip", "calcite-action", "calcite-icon", "calcite-loader"];
134
- components.forEach(tagName => { switch (tagName) {
135
- case "calcite-tip":
136
- if (!customElements.get(tagName)) {
137
- customElements.define(tagName, Tip);
138
- }
139
- break;
140
- case "calcite-action":
141
- if (!customElements.get(tagName)) {
142
- defineCustomElement$4();
143
- }
144
- break;
145
- case "calcite-icon":
146
- if (!customElements.get(tagName)) {
147
- defineCustomElement$3();
148
- }
149
- break;
150
- case "calcite-loader":
151
- if (!customElements.get(tagName)) {
152
- defineCustomElement$2();
153
- }
154
- break;
155
- } });
156
- }
157
- defineCustomElement$1();
158
-
159
- const CalciteTip = Tip;
160
- const defineCustomElement = defineCustomElement$1;
161
-
162
- export { CalciteTip, defineCustomElement };
163
-
164
- //# sourceMappingURL=calcite-tip.js.map
@@ -1 +0,0 @@
1
- {"file":"calcite-tip.js","mappings":";;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AAEO,MAAM,GAAG,GAAG;AACnB,EAAE,SAAS,EAAE,WAAW;AACxB,EAAE,MAAM,EAAE,QAAQ;AAClB,EAAE,OAAO,EAAE,SAAS;AACpB,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,UAAU,EAAE,aAAa;AAC3B,EAAE,OAAO,EAAE,SAAS;AACpB,EAAE,IAAI,EAAE,MAAM;AACd,CAAC,CAAC;AACK,MAAM,KAAK,GAAG;AACrB,EAAE,KAAK,EAAE,GAAG;AACZ,CAAC,CAAC;AACK,MAAM,KAAK,GAAG;AACrB,EAAE,SAAS,EAAE,WAAW;AACxB,CAAC,CAAC;AACK,MAAM,IAAI,GAAG;AACpB,EAAE,KAAK,EAAE,OAAO;AAChB,CAAC,CAAC;AACK,MAAM,aAAa,IAAIA,eAAoB,GAAG,CAAC,CAAC;;ACxBvD,MAAM,MAAM,GAAG,+pFAA+pF;;MCcjqF,GAAG;EACd;;;;;;;;;;;;;IASE,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;;;;IAIvB,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;;;;;;IAM5B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;;;;;;IAMtB,IAAI,CAAC,OAAO,GAAG;MACb,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;MACtB,IAAI,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAC;KAC/B,CAAC;GACH;;;;;;EAMD,iBAAiB;IACf,+BAA+B,CAAC,IAAI,CAAC,CAAC;GACvC;EACD,oBAAoB;IA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,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,UAAU,EAAE,GAAG,EAAE,WAAW,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC;GAC/I;EACD,cAAc;IACZ,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,EAAE;GACzD;EACD,aAAa;IACX,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC,EAAE;GAC3F;EACD,MAAM;IACJ,QAAQ,CAAC,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,CAAC,SAAS,EAAE,EAAE,IAAI,CAAC,YAAY,EAAE,EAAE,IAAI,CAAC,aAAa,EAAE,CAAC,EAAE,IAAI,CAAC,mBAAmB,EAAE,CAAC,EAAE;GAC3I;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PARENT_HEADING_LEVEL"],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/tip/resources.js","./node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css?tag=calcite-tip&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/tip/tip.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { HEADING_LEVEL as PARENT_HEADING_LEVEL } from \"../tip-manager/resources\";\nexport const CSS = {\n container: \"container\",\n header: \"header\",\n heading: \"heading\",\n close: \"close\",\n imageFrame: \"image-frame\",\n content: \"content\",\n info: \"info\"\n};\nexport const ICONS = {\n close: \"x\"\n};\nexport const SLOTS = {\n thumbnail: \"thumbnail\"\n};\nexport const TEXT = {\n close: \"Close\"\n};\nexport const HEADING_LEVEL = (PARENT_HEADING_LEVEL + 1);\n","/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n position: relative;\n margin: 1rem;\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n border-width: 1px;\n border-style: solid;\n border-color: var(--calcite-ui-border-2);\n background-color: var(--calcite-ui-foreground-1);\n font-size: var(--calcite-font-size--1);\n line-height: 1rem;\n color: var(--calcite-ui-text-2);\n}\n:host * {\n box-sizing: border-box;\n}\n\n.container {\n inline-size: 100%;\n padding: 1rem;\n}\n\n:host([dismissed]), \n:host([dismissed]) .container {\n display: none;\n}\n\n:host([selected]) .container {\n margin: 0px;\n border-style: none;\n padding: 0px;\n}\n\n/* Shared styles for header elements */\n.header {\n margin: 0px;\n display: flex;\n align-content: space-between;\n align-items: center;\n fill: var(--calcite-ui-text-2);\n color: var(--calcite-ui-text-2);\n}\n\n.heading {\n margin: 0px;\n padding: 0px;\n font-weight: var(--calcite-font-weight-medium);\n}\n\n.header .heading {\n flex: 1 1 auto;\n padding: 0.5rem;\n}\n\n.header {\n margin-block-end: 0.5rem;\n}\n\n.header .heading {\n padding: 0px;\n font-size: var(--calcite-font-size-0);\n line-height: 1.25rem;\n color: var(--calcite-ui-text-1);\n}\n\n.container[hidden] {\n display: none;\n}\n\n.content {\n display: flex;\n}\n\n.info {\n padding-block: 0px;\n padding-inline: 1rem;\n inline-size: 70%;\n}\n.info:only-child {\n inline-size: 100%;\n padding-inline: 0px;\n}\n\n::slotted(p) {\n margin-block-start: 0px;\n}\n\n::slotted(a) {\n outline-color: transparent;\n color: var(--calcite-ui-brand);\n}\n\n::slotted(a:focus) {\n outline: 2px solid var(--calcite-ui-brand);\n outline-offset: 2px;\n}\n\n.image-frame {\n inline-size: 25%;\n}\n.image-frame img {\n max-inline-size: 100%;\n}\n\n::slotted(img) {\n max-inline-size: 100%;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h, Fragment } from \"@stencil/core\";\nimport { CSS, ICONS, SLOTS, TEXT, HEADING_LEVEL } from \"./resources\";\nimport { getSlotted } from \"../../utils/dom\";\nimport { Heading, constrainHeadingLevel } from \"../functional/Heading\";\nimport { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from \"../../utils/conditionalSlot\";\n/**\n * @slot - A slot for adding text and a hyperlink.\n * @slot thumbnail - A slot for adding an HTML image element.\n */\nexport class Tip {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * When `true`, the component does not display.\n */\n this.dismissed = false;\n /**\n * When `true`, the close button is not present on the component.\n */\n this.nonDismissible = false;\n /**\n * When `true`, the component is selected if it has a parent `calcite-tip-manager`.\n *\n * Only one tip can be selected within the `calcite-tip-manager` parent.\n */\n this.selected = false;\n // --------------------------------------------------------------------------\n //\n // Private Methods\n //\n // --------------------------------------------------------------------------\n this.hideTip = () => {\n this.dismissed = true;\n this.calciteTipDismiss.emit();\n };\n }\n // --------------------------------------------------------------------------\n //\n // Lifecycle\n //\n // --------------------------------------------------------------------------\n connectedCallback() {\n connectConditionalSlotComponent(this);\n }\n disconnectedCallback() {\n disconnectConditionalSlotComponent(this);\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n renderHeader() {\n var _a;\n const { heading, headingLevel, el } = this;\n const parentLevel = (_a = el.closest(\"calcite-tip-manager\")) === null || _a === void 0 ? void 0 : _a.headingLevel;\n const relativeLevel = parentLevel ? constrainHeadingLevel(parentLevel + 1) : null;\n const level = headingLevel || relativeLevel || HEADING_LEVEL;\n return heading ? (h(\"header\", { class: CSS.header }, h(Heading, { class: CSS.heading, level: level }, heading))) : null;\n }\n renderDismissButton() {\n const { nonDismissible, hideTip, intlClose } = this;\n const text = intlClose || TEXT.close;\n return !nonDismissible ? (h(\"calcite-action\", { class: CSS.close, icon: ICONS.close, onClick: hideTip, scale: \"l\", text: text })) : null;\n }\n renderImageFrame() {\n const { el } = this;\n return getSlotted(el, SLOTS.thumbnail) ? (h(\"div\", { class: CSS.imageFrame, key: \"thumbnail\" }, h(\"slot\", { name: SLOTS.thumbnail }))) : null;\n }\n renderInfoNode() {\n return (h(\"div\", { class: CSS.info }, h(\"slot\", null)));\n }\n renderContent() {\n return (h(\"div\", { class: CSS.content }, this.renderImageFrame(), this.renderInfoNode()));\n }\n render() {\n return (h(Fragment, null, h(\"article\", { class: CSS.container }, this.renderHeader(), this.renderContent()), this.renderDismissButton()));\n }\n static get is() { return \"calcite-tip\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"tip.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"tip.css\"]\n };\n }\n static get properties() {\n return {\n \"dismissed\": {\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 component does not display.\"\n },\n \"attribute\": \"dismissed\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"nonDismissible\": {\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 close button is not present on the component.\"\n },\n \"attribute\": \"non-dismissible\",\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\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"The component header text.\"\n },\n \"attribute\": \"heading\",\n \"reflect\": false\n },\n \"headingLevel\": {\n \"type\": \"number\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"HeadingLevel\",\n \"resolved\": \"1 | 2 | 3 | 4 | 5 | 6\",\n \"references\": {\n \"HeadingLevel\": {\n \"location\": \"import\",\n \"path\": \"../functional/Heading\"\n }\n }\n },\n \"required\": false,\n \"optional\": false,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Specifies the number at which section headings should start.\"\n },\n \"attribute\": \"heading-level\",\n \"reflect\": true\n },\n \"selected\": {\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 component is selected if it has a parent `calcite-tip-manager`.\\n\\nOnly one tip can be selected within the `calcite-tip-manager` parent.\"\n },\n \"attribute\": \"selected\",\n \"reflect\": true,\n \"defaultValue\": \"false\"\n },\n \"intlClose\": {\n \"type\": \"string\",\n \"mutable\": false,\n \"complexType\": {\n \"original\": \"string\",\n \"resolved\": \"string\",\n \"references\": {}\n },\n \"required\": false,\n \"optional\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Accessible name for the component's close button.\"\n },\n \"attribute\": \"intl-close\",\n \"reflect\": false\n }\n };\n }\n static get events() {\n return [{\n \"method\": \"calciteTipDismiss\",\n \"name\": \"calciteTipDismiss\",\n \"bubbles\": true,\n \"cancelable\": false,\n \"composed\": true,\n \"docs\": {\n \"tags\": [],\n \"text\": \"Emits when the component has been dismissed.\"\n },\n \"complexType\": {\n \"original\": \"void\",\n \"resolved\": \"void\",\n \"references\": {}\n }\n }];\n }\n static get elementRef() { return \"el\"; }\n}\n"],"version":3}
@@ -1,59 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
7
-
8
- const tooltipManagerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}";
9
-
10
- const TooltipManager = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
11
- constructor() {
12
- super();
13
- this.__registerHost();
14
- this.__attachShadow();
15
- // --------------------------------------------------------------------------
16
- //
17
- // Properties
18
- //
19
- // --------------------------------------------------------------------------
20
- /**
21
- * CSS Selector to match reference elements for tooltips. Reference elements will be identified by this selector in order to open their associated tooltip.
22
- *
23
- * @default `[data-calcite-tooltip-reference]`
24
- */
25
- this.selector = "[data-calcite-tooltip-reference]";
26
- }
27
- // --------------------------------------------------------------------------
28
- //
29
- // Render Methods
30
- //
31
- // --------------------------------------------------------------------------
32
- render() {
33
- return h("slot", null);
34
- }
35
- static get style() { return tooltipManagerCss; }
36
- }, [1, "calcite-tooltip-manager", {
37
- "selector": [513]
38
- }]);
39
- function defineCustomElement$1() {
40
- if (typeof customElements === "undefined") {
41
- return;
42
- }
43
- const components = ["calcite-tooltip-manager"];
44
- components.forEach(tagName => { switch (tagName) {
45
- case "calcite-tooltip-manager":
46
- if (!customElements.get(tagName)) {
47
- customElements.define(tagName, TooltipManager);
48
- }
49
- break;
50
- } });
51
- }
52
- defineCustomElement$1();
53
-
54
- const CalciteTooltipManager = TooltipManager;
55
- const defineCustomElement = defineCustomElement$1;
56
-
57
- export { CalciteTooltipManager, defineCustomElement };
58
-
59
- //# sourceMappingURL=calcite-tooltip-manager.js.map
@@ -1 +0,0 @@
1
- {"file":"calcite-tooltip-manager.js","mappings":";;;;;;;AAAA,MAAM,iBAAiB,GAAG,ozCAAozC;;MCUj0C,cAAc;EACzB;;;;;;;;;;;;;;IAWE,IAAI,CAAC,QAAQ,GAAG,kCAAkC,CAAC;GACpD;;;;;;EAMD,MAAM;IACJ,OAAO,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;GACxB;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./node_modules/@esri/calcite-components/dist/collection/components/tooltip-manager/tooltip-manager.css?tag=calcite-tooltip-manager&encapsulation=shadow","./node_modules/@esri/calcite-components/dist/collection/components/tooltip-manager/tooltip-manager.js"],"sourcesContent":["/* mixins & extensions */\n@keyframes in {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes in-down {\n 0% {\n opacity: 0;\n transform: translate3D(0, -5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-up {\n 0% {\n opacity: 0;\n transform: translate3D(0, 5px, 0);\n }\n 100% {\n opacity: 1;\n transform: translate3D(0, 0, 0);\n }\n}\n@keyframes in-scale {\n 0% {\n opacity: 0;\n transform: scale3D(0.95, 0.95, 1);\n }\n 100% {\n opacity: 1;\n transform: scale3D(1, 1, 1);\n }\n}\n:root {\n --calcite-animation-timing: calc(150ms * var(--calcite-internal-duration-factor));\n --calcite-internal-duration-factor: var(--calcite-duration-factor, 1);\n --calcite-internal-animation-timing-fast: calc(100ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-medium: calc(200ms * var(--calcite-internal-duration-factor));\n --calcite-internal-animation-timing-slow: calc(300ms * var(--calcite-internal-duration-factor));\n}\n\n.calcite-animate {\n opacity: 0;\n animation-fill-mode: both;\n animation-duration: var(--calcite-animation-timing);\n}\n\n.calcite-animate__in {\n animation-name: in;\n}\n\n.calcite-animate__in-down {\n animation-name: in-down;\n}\n\n.calcite-animate__in-up {\n animation-name: in-up;\n}\n\n.calcite-animate__in-scale {\n animation-name: in-scale;\n}\n\n@media (prefers-reduced-motion: reduce) {\n :root {\n --calcite-internal-duration-factor: 0.01;\n }\n}\n/**\n* Currently only used in Checkbox.\n*/\n:root {\n --calcite-floating-ui-transition: var(--calcite-animation-timing);\n}\n\n:host([hidden]) {\n display: none;\n}\n\n:host {\n position: relative;\n display: block;\n}","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.0-beta.97\n */\nimport { h } from \"@stencil/core\";\n/**\n * @slot - A slot for adding elements that reference a `calcite-tooltip` by the `selector` property.\n * @deprecated No longer required for tooltip usage.\n */\nexport class TooltipManager {\n constructor() {\n // --------------------------------------------------------------------------\n //\n // Properties\n //\n // --------------------------------------------------------------------------\n /**\n * CSS Selector to match reference elements for tooltips. Reference elements will be identified by this selector in order to open their associated tooltip.\n *\n * @default `[data-calcite-tooltip-reference]`\n */\n this.selector = \"[data-calcite-tooltip-reference]\";\n }\n // --------------------------------------------------------------------------\n //\n // Render Methods\n //\n // --------------------------------------------------------------------------\n render() {\n return h(\"slot\", null);\n }\n static get is() { return \"calcite-tooltip-manager\"; }\n static get encapsulation() { return \"shadow\"; }\n static get originalStyleUrls() {\n return {\n \"$\": [\"tooltip-manager.scss\"]\n };\n }\n static get styleUrls() {\n return {\n \"$\": [\"tooltip-manager.css\"]\n };\n }\n static get properties() {\n return {\n \"selector\": {\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\": \"`[data-calcite-tooltip-reference]`\"\n }],\n \"text\": \"CSS Selector to match reference elements for tooltips. Reference elements will be identified by this selector in order to open their associated tooltip.\"\n },\n \"attribute\": \"selector\",\n \"reflect\": true,\n \"defaultValue\": \"\\\"[data-calcite-tooltip-reference]\\\"\"\n }\n };\n }\n}\n"],"version":3}
@@ -1,13 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import { T as Tooltip, d as defineCustomElement$1 } from './tooltip.js';
7
-
8
- const CalciteTooltip = Tooltip;
9
- const defineCustomElement = defineCustomElement$1;
10
-
11
- export { CalciteTooltip, defineCustomElement };
12
-
13
- //# sourceMappingURL=calcite-tooltip.js.map
@@ -1 +0,0 @@
1
- {"file":"calcite-tooltip.js","mappings":";;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}