@andespindola/ui-core 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (331) hide show
  1. package/dist/cjs/{floating-ui.dom-BPemvNRD.js → floating-ui.dom-BZk7Blsu.js} +93 -0
  2. package/dist/cjs/{index-Cb1tfi_9.js → index-DV8CICae.js} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/ui-accordion-item.cjs.entry.js +2 -2
  5. package/dist/cjs/ui-accordion.cjs.entry.js +2 -2
  6. package/dist/cjs/ui-alert.cjs.entry.js +1 -1
  7. package/dist/cjs/ui-avatar-group.cjs.entry.js +2 -2
  8. package/dist/cjs/ui-avatar.cjs.entry.js +2 -2
  9. package/dist/cjs/ui-badge.cjs.entry.js +1 -1
  10. package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +2 -2
  11. package/dist/cjs/ui-breadcrumb.cjs.entry.js +2 -2
  12. package/dist/cjs/ui-button.cjs.entry.js +2 -2
  13. package/dist/cjs/ui-card.cjs.entry.js +2 -2
  14. package/dist/cjs/ui-carousel.cjs.entry.js +104 -0
  15. package/dist/cjs/ui-checkbox.cjs.entry.js +2 -2
  16. package/dist/cjs/ui-combobox.cjs.entry.js +153 -0
  17. package/dist/cjs/ui-command.cjs.entry.js +137 -0
  18. package/dist/cjs/ui-container.cjs.entry.js +2 -2
  19. package/dist/cjs/ui-date-picker.cjs.entry.js +171 -0
  20. package/dist/cjs/ui-dialog.cjs.entry.js +2 -2
  21. package/dist/cjs/ui-drawer.cjs.entry.js +2 -2
  22. package/dist/cjs/ui-dropdown-item.cjs.entry.js +2 -2
  23. package/dist/cjs/ui-dropdown-menu.cjs.entry.js +3 -3
  24. package/dist/cjs/ui-field.cjs.entry.js +2 -2
  25. package/dist/cjs/ui-file-upload.cjs.entry.js +57 -0
  26. package/dist/cjs/ui-grid.cjs.entry.js +2 -2
  27. package/dist/cjs/ui-input.cjs.entry.js +2 -2
  28. package/dist/cjs/ui-label.cjs.entry.js +2 -2
  29. package/dist/cjs/ui-loading-overlay.cjs.entry.js +1 -1
  30. package/dist/cjs/ui-navbar.cjs.entry.js +17 -0
  31. package/dist/cjs/ui-pagination.cjs.entry.js +3 -3
  32. package/dist/cjs/ui-popover.cjs.entry.js +3 -3
  33. package/dist/cjs/ui-progress-circular.cjs.entry.js +44 -0
  34. package/dist/cjs/ui-progress.cjs.entry.js +2 -2
  35. package/dist/cjs/ui-radio-group.cjs.entry.js +2 -2
  36. package/dist/cjs/ui-rating.cjs.entry.js +45 -0
  37. package/dist/cjs/ui-reveal.cjs.entry.js +2 -2
  38. package/dist/cjs/ui-scroll-progress.cjs.entry.js +2 -2
  39. package/dist/cjs/ui-section.cjs.entry.js +2 -2
  40. package/dist/cjs/ui-segmented.cjs.entry.js +2 -2
  41. package/dist/cjs/ui-select.cjs.entry.js +2 -2
  42. package/dist/cjs/ui-separator.cjs.entry.js +2 -2
  43. package/dist/cjs/ui-skeleton.cjs.entry.js +2 -2
  44. package/dist/cjs/ui-slider.cjs.entry.js +2 -2
  45. package/dist/cjs/ui-spinner.cjs.entry.js +2 -2
  46. package/dist/cjs/ui-stack.cjs.entry.js +2 -2
  47. package/dist/cjs/ui-stat.cjs.entry.js +2 -2
  48. package/dist/cjs/ui-switch.cjs.entry.js +2 -2
  49. package/dist/cjs/ui-table.cjs.entry.js +25 -0
  50. package/dist/cjs/ui-tabs.cjs.entry.js +3 -3
  51. package/dist/cjs/ui-textarea.cjs.entry.js +2 -2
  52. package/dist/cjs/ui-theme-toggle.cjs.entry.js +2 -2
  53. package/dist/cjs/ui-timeline-item.cjs.entry.js +19 -0
  54. package/dist/cjs/ui-timeline.cjs.entry.js +17 -0
  55. package/dist/cjs/ui-toast.cjs.entry.js +2 -2
  56. package/dist/cjs/ui-toaster.cjs.entry.js +2 -2
  57. package/dist/cjs/ui-tooltip.cjs.entry.js +3 -3
  58. package/dist/cjs/uikit.cjs.js +2 -2
  59. package/dist/collection/collection-manifest.json +11 -0
  60. package/dist/collection/components/ui-accordion/ui-accordion.js +1 -1
  61. package/dist/collection/components/ui-accordion-item/ui-accordion-item.js +1 -1
  62. package/dist/collection/components/ui-avatar/ui-avatar.js +1 -1
  63. package/dist/collection/components/ui-avatar-group/ui-avatar-group.js +1 -1
  64. package/dist/collection/components/ui-breadcrumb/ui-breadcrumb.js +1 -1
  65. package/dist/collection/components/ui-breadcrumb-item/ui-breadcrumb-item.js +1 -1
  66. package/dist/collection/components/ui-button/ui-button.css +2 -0
  67. package/dist/collection/components/ui-card/ui-card.js +1 -1
  68. package/dist/collection/components/ui-carousel/ui-carousel.css +103 -0
  69. package/dist/collection/components/ui-carousel/ui-carousel.js +273 -0
  70. package/dist/collection/components/ui-checkbox/ui-checkbox.js +1 -1
  71. package/dist/collection/components/ui-combobox/ui-combobox.css +93 -0
  72. package/dist/collection/components/ui-combobox/ui-combobox.js +248 -0
  73. package/dist/collection/components/ui-command/ui-command.css +85 -0
  74. package/dist/collection/components/ui-command/ui-command.js +290 -0
  75. package/dist/collection/components/ui-container/ui-container.js +1 -1
  76. package/dist/collection/components/ui-date-picker/ui-date-picker.css +176 -0
  77. package/dist/collection/components/ui-date-picker/ui-date-picker.js +243 -0
  78. package/dist/collection/components/ui-dialog/ui-dialog.js +1 -1
  79. package/dist/collection/components/ui-drawer/ui-drawer.js +1 -1
  80. package/dist/collection/components/ui-dropdown-item/ui-dropdown-item.js +1 -1
  81. package/dist/collection/components/ui-dropdown-menu/ui-dropdown-menu.js +1 -1
  82. package/dist/collection/components/ui-field/ui-field.js +1 -1
  83. package/dist/collection/components/ui-file-upload/ui-file-upload.css +79 -0
  84. package/dist/collection/components/ui-file-upload/ui-file-upload.js +151 -0
  85. package/dist/collection/components/ui-grid/ui-grid.js +1 -1
  86. package/dist/collection/components/ui-input/ui-input.js +1 -1
  87. package/dist/collection/components/ui-label/ui-label.js +1 -1
  88. package/dist/collection/components/ui-navbar/ui-navbar.css +36 -0
  89. package/dist/collection/components/ui-navbar/ui-navbar.js +18 -0
  90. package/dist/collection/components/ui-pagination/ui-pagination.js +2 -2
  91. package/dist/collection/components/ui-popover/ui-popover.js +1 -1
  92. package/dist/collection/components/ui-progress/ui-progress.js +1 -1
  93. package/dist/collection/components/ui-progress-circular/ui-progress-circular.css +46 -0
  94. package/dist/collection/components/ui-progress-circular/ui-progress-circular.js +171 -0
  95. package/dist/collection/components/ui-radio-group/ui-radio-group.js +1 -1
  96. package/dist/collection/components/ui-rating/ui-rating.css +52 -0
  97. package/dist/collection/components/ui-rating/ui-rating.js +134 -0
  98. package/dist/collection/components/ui-reveal/ui-reveal.js +1 -1
  99. package/dist/collection/components/ui-scroll-progress/ui-scroll-progress.js +1 -1
  100. package/dist/collection/components/ui-section/ui-section.js +1 -1
  101. package/dist/collection/components/ui-segmented/ui-segmented.js +1 -1
  102. package/dist/collection/components/ui-select/ui-select.js +1 -1
  103. package/dist/collection/components/ui-separator/ui-separator.js +1 -1
  104. package/dist/collection/components/ui-skeleton/ui-skeleton.js +1 -1
  105. package/dist/collection/components/ui-slider/ui-slider.js +1 -1
  106. package/dist/collection/components/ui-spinner/ui-spinner.js +1 -1
  107. package/dist/collection/components/ui-stack/ui-stack.js +1 -1
  108. package/dist/collection/components/ui-stat/ui-stat.js +1 -1
  109. package/dist/collection/components/ui-switch/ui-switch.js +1 -1
  110. package/dist/collection/components/ui-table/ui-table.css +46 -0
  111. package/dist/collection/components/ui-table/ui-table.js +119 -0
  112. package/dist/collection/components/ui-tabs/ui-tabs.js +2 -2
  113. package/dist/collection/components/ui-textarea/ui-textarea.js +1 -1
  114. package/dist/collection/components/ui-theme-toggle/ui-theme-toggle.js +1 -1
  115. package/dist/collection/components/ui-timeline/ui-timeline.css +8 -0
  116. package/dist/collection/components/ui-timeline/ui-timeline.js +18 -0
  117. package/dist/collection/components/ui-timeline-item/ui-timeline-item.css +83 -0
  118. package/dist/collection/components/ui-timeline-item/ui-timeline-item.js +90 -0
  119. package/dist/collection/components/ui-toast/ui-toast.js +1 -1
  120. package/dist/collection/components/ui-toaster/ui-toaster.js +1 -1
  121. package/dist/collection/components/ui-tooltip/ui-tooltip.js +1 -1
  122. package/dist/components/index.js +1 -1
  123. package/dist/components/{p-CgsjJD8o.js → p-DAnXvxY_.js} +1 -1
  124. package/dist/components/{p-CyBRmmbs.js → p-DDtwbwIl.js} +1 -1
  125. package/dist/components/{p-BwNtNvTb.js → p-yTNEyxh1.js} +1 -1
  126. package/dist/components/ui-accordion-item.js +1 -1
  127. package/dist/components/ui-accordion.js +1 -1
  128. package/dist/components/ui-avatar-group.js +1 -1
  129. package/dist/components/ui-avatar.js +1 -1
  130. package/dist/components/ui-breadcrumb-item.js +1 -1
  131. package/dist/components/ui-breadcrumb.js +1 -1
  132. package/dist/components/ui-button.js +1 -1
  133. package/dist/components/ui-card.js +1 -1
  134. package/dist/components/ui-carousel.d.ts +11 -0
  135. package/dist/components/ui-carousel.js +1 -0
  136. package/dist/components/ui-checkbox.js +1 -1
  137. package/dist/components/ui-combobox.d.ts +11 -0
  138. package/dist/components/ui-combobox.js +1 -0
  139. package/dist/components/ui-command.d.ts +11 -0
  140. package/dist/components/ui-command.js +1 -0
  141. package/dist/components/ui-container.js +1 -1
  142. package/dist/components/ui-date-picker.d.ts +11 -0
  143. package/dist/components/ui-date-picker.js +1 -0
  144. package/dist/components/ui-dialog.js +1 -1
  145. package/dist/components/ui-drawer.js +1 -1
  146. package/dist/components/ui-dropdown-item.js +1 -1
  147. package/dist/components/ui-dropdown-menu.js +1 -1
  148. package/dist/components/ui-field.js +1 -1
  149. package/dist/components/ui-file-upload.d.ts +11 -0
  150. package/dist/components/ui-file-upload.js +1 -0
  151. package/dist/components/ui-grid.js +1 -1
  152. package/dist/components/ui-input.js +1 -1
  153. package/dist/components/ui-label.js +1 -1
  154. package/dist/components/ui-loading-overlay.js +1 -1
  155. package/dist/components/ui-navbar.d.ts +11 -0
  156. package/dist/components/ui-navbar.js +1 -0
  157. package/dist/components/ui-pagination.js +1 -1
  158. package/dist/components/ui-popover.js +1 -1
  159. package/dist/components/ui-progress-circular.d.ts +11 -0
  160. package/dist/components/ui-progress-circular.js +1 -0
  161. package/dist/components/ui-progress.js +1 -1
  162. package/dist/components/ui-radio-group.js +1 -1
  163. package/dist/components/ui-rating.d.ts +11 -0
  164. package/dist/components/ui-rating.js +1 -0
  165. package/dist/components/ui-reveal.js +1 -1
  166. package/dist/components/ui-scroll-progress.js +1 -1
  167. package/dist/components/ui-section.js +1 -1
  168. package/dist/components/ui-segmented.js +1 -1
  169. package/dist/components/ui-select.js +1 -1
  170. package/dist/components/ui-separator.js +1 -1
  171. package/dist/components/ui-skeleton.js +1 -1
  172. package/dist/components/ui-slider.js +1 -1
  173. package/dist/components/ui-spinner.js +1 -1
  174. package/dist/components/ui-stack.js +1 -1
  175. package/dist/components/ui-stat.js +1 -1
  176. package/dist/components/ui-switch.js +1 -1
  177. package/dist/components/ui-table.d.ts +11 -0
  178. package/dist/components/ui-table.js +1 -0
  179. package/dist/components/ui-tabs.js +1 -1
  180. package/dist/components/ui-textarea.js +1 -1
  181. package/dist/components/ui-theme-toggle.js +1 -1
  182. package/dist/components/ui-timeline-item.d.ts +11 -0
  183. package/dist/components/ui-timeline-item.js +1 -0
  184. package/dist/components/ui-timeline.d.ts +11 -0
  185. package/dist/components/ui-timeline.js +1 -0
  186. package/dist/components/ui-toast.js +1 -1
  187. package/dist/components/ui-toaster.js +1 -1
  188. package/dist/components/ui-tooltip.js +1 -1
  189. package/dist/esm/{floating-ui.dom-CyBRmmbs.js → floating-ui.dom-DDtwbwIl.js} +93 -1
  190. package/dist/esm/{index-DYwlrXg_.js → index-COlwaVJP.js} +1 -1
  191. package/dist/esm/loader.js +3 -3
  192. package/dist/esm/ui-accordion-item.entry.js +2 -2
  193. package/dist/esm/ui-accordion.entry.js +2 -2
  194. package/dist/esm/ui-alert.entry.js +1 -1
  195. package/dist/esm/ui-avatar-group.entry.js +2 -2
  196. package/dist/esm/ui-avatar.entry.js +2 -2
  197. package/dist/esm/ui-badge.entry.js +1 -1
  198. package/dist/esm/ui-breadcrumb-item.entry.js +2 -2
  199. package/dist/esm/ui-breadcrumb.entry.js +2 -2
  200. package/dist/esm/ui-button.entry.js +2 -2
  201. package/dist/esm/ui-card.entry.js +2 -2
  202. package/dist/esm/ui-carousel.entry.js +102 -0
  203. package/dist/esm/ui-checkbox.entry.js +2 -2
  204. package/dist/esm/ui-combobox.entry.js +151 -0
  205. package/dist/esm/ui-command.entry.js +135 -0
  206. package/dist/esm/ui-container.entry.js +2 -2
  207. package/dist/esm/ui-date-picker.entry.js +169 -0
  208. package/dist/esm/ui-dialog.entry.js +2 -2
  209. package/dist/esm/ui-drawer.entry.js +2 -2
  210. package/dist/esm/ui-dropdown-item.entry.js +2 -2
  211. package/dist/esm/ui-dropdown-menu.entry.js +3 -3
  212. package/dist/esm/ui-field.entry.js +2 -2
  213. package/dist/esm/ui-file-upload.entry.js +55 -0
  214. package/dist/esm/ui-grid.entry.js +2 -2
  215. package/dist/esm/ui-input.entry.js +2 -2
  216. package/dist/esm/ui-label.entry.js +2 -2
  217. package/dist/esm/ui-loading-overlay.entry.js +1 -1
  218. package/dist/esm/ui-navbar.entry.js +15 -0
  219. package/dist/esm/ui-pagination.entry.js +3 -3
  220. package/dist/esm/ui-popover.entry.js +3 -3
  221. package/dist/esm/ui-progress-circular.entry.js +42 -0
  222. package/dist/esm/ui-progress.entry.js +2 -2
  223. package/dist/esm/ui-radio-group.entry.js +2 -2
  224. package/dist/esm/ui-rating.entry.js +43 -0
  225. package/dist/esm/ui-reveal.entry.js +2 -2
  226. package/dist/esm/ui-scroll-progress.entry.js +2 -2
  227. package/dist/esm/ui-section.entry.js +2 -2
  228. package/dist/esm/ui-segmented.entry.js +2 -2
  229. package/dist/esm/ui-select.entry.js +2 -2
  230. package/dist/esm/ui-separator.entry.js +2 -2
  231. package/dist/esm/ui-skeleton.entry.js +2 -2
  232. package/dist/esm/ui-slider.entry.js +2 -2
  233. package/dist/esm/ui-spinner.entry.js +2 -2
  234. package/dist/esm/ui-stack.entry.js +2 -2
  235. package/dist/esm/ui-stat.entry.js +2 -2
  236. package/dist/esm/ui-switch.entry.js +2 -2
  237. package/dist/esm/ui-table.entry.js +23 -0
  238. package/dist/esm/ui-tabs.entry.js +3 -3
  239. package/dist/esm/ui-textarea.entry.js +2 -2
  240. package/dist/esm/ui-theme-toggle.entry.js +2 -2
  241. package/dist/esm/ui-timeline-item.entry.js +17 -0
  242. package/dist/esm/ui-timeline.entry.js +15 -0
  243. package/dist/esm/ui-toast.entry.js +2 -2
  244. package/dist/esm/ui-toaster.entry.js +2 -2
  245. package/dist/esm/ui-tooltip.entry.js +3 -3
  246. package/dist/esm/uikit.js +3 -3
  247. package/dist/types/components/ui-carousel/ui-carousel.d.ts +35 -0
  248. package/dist/types/components/ui-combobox/ui-combobox.d.ts +38 -0
  249. package/dist/types/components/ui-command/ui-command.d.ts +42 -0
  250. package/dist/types/components/ui-date-picker/ui-date-picker.d.ts +42 -0
  251. package/dist/types/components/ui-file-upload/ui-file-upload.d.ts +24 -0
  252. package/dist/types/components/ui-navbar/ui-navbar.d.ts +3 -0
  253. package/dist/types/components/ui-progress-circular/ui-progress-circular.d.ts +17 -0
  254. package/dist/types/components/ui-rating/ui-rating.d.ts +17 -0
  255. package/dist/types/components/ui-table/ui-table.d.ts +16 -0
  256. package/dist/types/components/ui-timeline/ui-timeline.d.ts +3 -0
  257. package/dist/types/components/ui-timeline-item/ui-timeline-item.d.ts +10 -0
  258. package/dist/types/components.d.ts +645 -0
  259. package/dist/types/index.d.ts +1 -0
  260. package/dist/uikit/{p-635862e6.entry.js → p-02583f33.entry.js} +1 -1
  261. package/dist/uikit/p-0b8fb2cc.entry.js +1 -0
  262. package/dist/uikit/{p-595e146f.entry.js → p-12777ebf.entry.js} +1 -1
  263. package/dist/uikit/p-186d394f.entry.js +1 -0
  264. package/dist/uikit/{p-fd05c146.entry.js → p-247f7a40.entry.js} +1 -1
  265. package/dist/uikit/{p-67963692.entry.js → p-24c9885b.entry.js} +1 -1
  266. package/dist/uikit/p-26c4b4f9.entry.js +1 -0
  267. package/dist/uikit/p-2716a9e4.entry.js +1 -0
  268. package/dist/uikit/{p-25637424.entry.js → p-27c609c2.entry.js} +1 -1
  269. package/dist/uikit/{p-5951a496.entry.js → p-2a4de93f.entry.js} +1 -1
  270. package/dist/uikit/{p-2601d8b6.entry.js → p-2ce36223.entry.js} +1 -1
  271. package/dist/uikit/p-30834f9e.entry.js +1 -0
  272. package/dist/uikit/{p-db07f9c5.entry.js → p-333a3598.entry.js} +1 -1
  273. package/dist/uikit/{p-86ed6154.entry.js → p-33a19160.entry.js} +1 -1
  274. package/dist/uikit/{p-a977a0db.entry.js → p-400536f7.entry.js} +1 -1
  275. package/dist/uikit/{p-81b45a43.entry.js → p-411a753f.entry.js} +1 -1
  276. package/dist/uikit/p-41355be1.entry.js +1 -0
  277. package/dist/uikit/p-4281fc69.entry.js +1 -0
  278. package/dist/uikit/p-4c2fb226.entry.js +1 -0
  279. package/dist/uikit/{p-45e80e73.entry.js → p-5562b70d.entry.js} +1 -1
  280. package/dist/uikit/{p-fd832f52.entry.js → p-56b1bf3f.entry.js} +1 -1
  281. package/dist/uikit/p-57adf02c.entry.js +1 -0
  282. package/dist/uikit/{p-cd0ec835.entry.js → p-58035d5a.entry.js} +1 -1
  283. package/dist/uikit/{p-567f7496.entry.js → p-5ff44eca.entry.js} +1 -1
  284. package/dist/uikit/{p-3996590f.entry.js → p-66037a7c.entry.js} +1 -1
  285. package/dist/uikit/p-6d58ff8d.entry.js +1 -0
  286. package/dist/uikit/p-7a04fd11.entry.js +1 -0
  287. package/dist/uikit/p-7aeed213.entry.js +1 -0
  288. package/dist/uikit/p-80236139.entry.js +1 -0
  289. package/dist/uikit/{p-a92a7b19.entry.js → p-81a37bda.entry.js} +1 -1
  290. package/dist/uikit/{p-2de05aac.entry.js → p-849347da.entry.js} +1 -1
  291. package/dist/uikit/p-866a0947.entry.js +1 -0
  292. package/dist/uikit/{p-74b60a60.entry.js → p-86bf22c1.entry.js} +1 -1
  293. package/dist/uikit/p-98234aed.entry.js +1 -0
  294. package/dist/uikit/p-COlwaVJP.js +2 -0
  295. package/dist/uikit/{p-CyBRmmbs.js → p-DDtwbwIl.js} +1 -1
  296. package/dist/uikit/{p-95cd976e.entry.js → p-a312d278.entry.js} +1 -1
  297. package/dist/uikit/{p-12db6a6e.entry.js → p-a4b535ad.entry.js} +1 -1
  298. package/dist/uikit/{p-94ad46a5.entry.js → p-a8f81996.entry.js} +1 -1
  299. package/dist/uikit/{p-1d016ea4.entry.js → p-aa0ce28c.entry.js} +1 -1
  300. package/dist/uikit/{p-979f6178.entry.js → p-aa41b084.entry.js} +1 -1
  301. package/dist/uikit/p-acce5342.entry.js +1 -0
  302. package/dist/uikit/p-b232849a.entry.js +1 -0
  303. package/dist/uikit/{p-dca9f6f9.entry.js → p-bd287e67.entry.js} +1 -1
  304. package/dist/uikit/p-bf66ce1b.entry.js +1 -0
  305. package/dist/uikit/{p-6c0e9809.entry.js → p-c0b3f5a3.entry.js} +1 -1
  306. package/dist/uikit/{p-09895cd0.entry.js → p-c29317aa.entry.js} +1 -1
  307. package/dist/uikit/{p-faa98928.entry.js → p-d73e789a.entry.js} +1 -1
  308. package/dist/uikit/p-dc00c84b.entry.js +1 -0
  309. package/dist/uikit/{p-3fc062a6.entry.js → p-de2bb69c.entry.js} +1 -1
  310. package/dist/uikit/{p-7f2c2924.entry.js → p-e2e35a6b.entry.js} +1 -1
  311. package/dist/uikit/{p-a01305a5.entry.js → p-e32fa613.entry.js} +1 -1
  312. package/dist/uikit/p-e61e7ef1.entry.js +1 -0
  313. package/dist/uikit/p-e891fec3.entry.js +1 -0
  314. package/dist/uikit/p-ef6ec7f7.entry.js +1 -0
  315. package/dist/uikit/p-faa31e8c.entry.js +1 -0
  316. package/dist/uikit/uikit.css +1 -1
  317. package/dist/uikit/uikit.esm.js +1 -1
  318. package/package.json +1 -1
  319. package/dist/uikit/p-0cba0d11.entry.js +0 -1
  320. package/dist/uikit/p-55a23f91.entry.js +0 -1
  321. package/dist/uikit/p-7a3d85da.entry.js +0 -1
  322. package/dist/uikit/p-97d4dbf4.entry.js +0 -1
  323. package/dist/uikit/p-9a4dc343.entry.js +0 -1
  324. package/dist/uikit/p-9a9590b9.entry.js +0 -1
  325. package/dist/uikit/p-DYwlrXg_.js +0 -2
  326. package/dist/uikit/p-a080f46a.entry.js +0 -1
  327. package/dist/uikit/p-b2df8437.entry.js +0 -1
  328. package/dist/uikit/p-c73c1009.entry.js +0 -1
  329. package/dist/uikit/p-d20452b4.entry.js +0 -1
  330. package/dist/uikit/p-d7021157.entry.js +0 -1
  331. package/dist/uikit/p-ddd70374.entry.js +0 -1
@@ -0,0 +1,90 @@
1
+ import { h, Host } from "@stencil/core";
2
+ export class UiTimelineItem {
3
+ constructor() {
4
+ /** Cor do ponto da timeline. */
5
+ this.variant = "accent";
6
+ }
7
+ render() {
8
+ return (h(Host, { key: 'f45cef5961dfc1237e415ab185f5e1e04c388646' }, h("div", { key: '27dd4e89c6d084d7361bdc20c8408c47ca9b72aa', class: `item variant-${this.variant}` }, h("div", { key: '2a70cc361445ab766dd4631f3388a24d3dfb7895', class: "marker" }, h("span", { key: '9802c05ae51394158da1509649b079749be0fab4', class: "dot" }), h("span", { key: '1862e45d49f389704fcd94037c4c1810c2d9f5ac', class: "line" })), h("div", { key: 'c1a734416f9beb2628b1c8dbfeb73533a46ec12a', class: "content" }, this.time ? h("span", { class: "time" }, this.time) : null, this.heading ? (h("span", { class: "heading" }, this.heading)) : null, h("div", { key: '2a59b109d86bb574188a0b2a07a663da7cbc37e9', class: "body" }, h("slot", { key: '0558d11f1c35aa3fcc50d468007e6767d654cb8f' }))))));
9
+ }
10
+ static get is() { return "ui-timeline-item"; }
11
+ static get encapsulation() { return "shadow"; }
12
+ static get originalStyleUrls() {
13
+ return {
14
+ "$": ["ui-timeline-item.css"]
15
+ };
16
+ }
17
+ static get styleUrls() {
18
+ return {
19
+ "$": ["ui-timeline-item.css"]
20
+ };
21
+ }
22
+ static get properties() {
23
+ return {
24
+ "heading": {
25
+ "type": "string",
26
+ "mutable": false,
27
+ "complexType": {
28
+ "original": "string",
29
+ "resolved": "string | undefined",
30
+ "references": {}
31
+ },
32
+ "required": false,
33
+ "optional": true,
34
+ "docs": {
35
+ "tags": [],
36
+ "text": "T\u00EDtulo do item (opcional)."
37
+ },
38
+ "getter": false,
39
+ "setter": false,
40
+ "reflect": false,
41
+ "attribute": "heading"
42
+ },
43
+ "time": {
44
+ "type": "string",
45
+ "mutable": false,
46
+ "complexType": {
47
+ "original": "string",
48
+ "resolved": "string | undefined",
49
+ "references": {}
50
+ },
51
+ "required": false,
52
+ "optional": true,
53
+ "docs": {
54
+ "tags": [],
55
+ "text": "R\u00F3tulo de tempo, ex.: data ou label (opcional)."
56
+ },
57
+ "getter": false,
58
+ "setter": false,
59
+ "reflect": false,
60
+ "attribute": "time"
61
+ },
62
+ "variant": {
63
+ "type": "string",
64
+ "mutable": false,
65
+ "complexType": {
66
+ "original": "UiTimelineVariant",
67
+ "resolved": "\"accent\" | \"danger\" | \"muted\" | \"success\" | \"warning\"",
68
+ "references": {
69
+ "UiTimelineVariant": {
70
+ "location": "local",
71
+ "path": "/Users/andersonespindola/.ghq/github.com/andersonflima/ui/packages/core/src/components/ui-timeline-item/ui-timeline-item.tsx",
72
+ "id": "src/components/ui-timeline-item/ui-timeline-item.tsx::UiTimelineVariant"
73
+ }
74
+ }
75
+ },
76
+ "required": false,
77
+ "optional": false,
78
+ "docs": {
79
+ "tags": [],
80
+ "text": "Cor do ponto da timeline."
81
+ },
82
+ "getter": false,
83
+ "setter": false,
84
+ "reflect": true,
85
+ "attribute": "variant",
86
+ "defaultValue": "\"accent\""
87
+ }
88
+ };
89
+ }
90
+ }
@@ -47,7 +47,7 @@ export class UiToast {
47
47
  this.dismiss();
48
48
  }
49
49
  render() {
50
- return (h(Host, { key: '79bd3e7ed207efd5ff62f5296ab11a06993ce347' }, this.open && (h("div", { key: '15a138288380473dff3ff1880e3298e211377339', class: { toast: true, [`variant-${this.variant}`]: true }, role: "status" }, h("div", { key: '33adfee858ddfd37f144b34f8677f312b89c04f3', class: "body" }, this.heading && h("p", { key: 'a56d837636f27897f06a8d693f28763b4bc95db6', class: "heading" }, this.heading), this.description && (h("p", { key: '7c86fb20c84c42e3c5e3262cc91061e9a80804aa', class: "description" }, this.description))), h("button", { key: '4d8160818b76b65c29a27e4404c39a7525441a72', class: "close", type: "button", "aria-label": "Fechar", onClick: () => this.dismiss() }, h("svg", { key: 'ce7ee6982cc1d742b4d4de8573ca11d18166c814', width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("line", { key: 'c8440dbbb12ce67dd30a052aef92bc736a4532f9', x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { key: '9ee2d2ec78efa7566e63feb337e346a5574ccf55', x1: "6", y1: "6", x2: "18", y2: "18" })))))));
50
+ return (h(Host, { key: '4316653a0f6b70781ceda01098b018f649c7f180' }, this.open && (h("div", { key: 'cc3d339f4ebb55ef3fbc8dd05432d6cbc570f4ad', class: { toast: true, [`variant-${this.variant}`]: true }, role: "status" }, h("div", { key: '37cf6a0ffec9040b002c33f4b1015832cfd32a6f', class: "body" }, this.heading && h("p", { key: 'dcb18a7d85fe5d3ed2758e0d5c4dc2c97280b84c', class: "heading" }, this.heading), this.description && (h("p", { key: '6ae4543ad5a17fbfdc16ba15c5ce44012143f58b', class: "description" }, this.description))), h("button", { key: '73a22b06477019043a4273a06064305d331d5311', class: "close", type: "button", "aria-label": "Fechar", onClick: () => this.dismiss() }, h("svg", { key: '7407a77475baa99882678a9ab0bd8af91474ec4e', width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("line", { key: 'c7a4868750a0f503080cd5d9e469b7978bf98115', x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { key: '844bc05210fbdf5ab10b6b91d140b59b6a75dff5', x1: "6", y1: "6", x2: "18", y2: "18" })))))));
51
51
  }
52
52
  static get is() { return "ui-toast"; }
53
53
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ export class UiToaster {
15
15
  this.items = this.items.filter((item) => item.id !== id);
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: 'eb3198a053270b41c8b632b91135987f04735ac5' }, h("div", { key: 'd37bf3710646977e7db39690f221e76360c43aee', class: "container" }, this.items.map((item) => (h("ui-toast", { key: item.id, open: true, heading: item.heading, description: item.description, variant: item.variant ?? "default", duration: item.duration ?? 4000, onUiClose: () => this.remove(item.id) }))))));
18
+ return (h(Host, { key: '9a76beb8a262078bb505588efa4686cf2c273ad6' }, h("div", { key: '528168475f527b97afc33a142e73773c37e34ed0', class: "container" }, this.items.map((item) => (h("ui-toast", { key: item.id, open: true, heading: item.heading, description: item.description, variant: item.variant ?? "default", duration: item.duration ?? 4000, onUiClose: () => this.remove(item.id) }))))));
19
19
  }
20
20
  static get is() { return "ui-toaster"; }
21
21
  static get encapsulation() { return "shadow"; }
@@ -49,7 +49,7 @@ export class UiTooltip {
49
49
  this.cleanup = undefined;
50
50
  }
51
51
  render() {
52
- return (h(Host, { key: '5e20fbcdd1ae94f29596938ab465a863b46ed65b', onMouseEnter: this.onEnter, onMouseLeave: this.onLeave, onFocusin: this.onEnter, onFocusout: this.onLeave }, h("span", { key: '5f4e8b75930fee583f37f1977473c60f6e681ee6', class: "trigger", ref: (el) => (this.triggerEl = el) }, h("slot", { key: 'eae9e842023fe1e4589d2af1889c6e6753bc9010' })), h("div", { key: 'dc815b28e5d1dfbd91a970ce50b77fc8ecd3f5ab', class: { tooltip: true, "is-visible": this.visible }, role: "tooltip", ref: (el) => (this.floatingEl = el) }, this.content)));
52
+ return (h(Host, { key: '88657ff32b15ba3dfe5579885db65f955862a298', onMouseEnter: this.onEnter, onMouseLeave: this.onLeave, onFocusin: this.onEnter, onFocusout: this.onLeave }, h("span", { key: 'f336f26ee150e24117c28e926c59da7bec1c725a', class: "trigger", ref: (el) => (this.triggerEl = el) }, h("slot", { key: 'c42b26b5b73b6433b18bb561ce5e3458cd628810' })), h("div", { key: 'b7497fe3b4638dca7980bdc201e6d7dfb296539d', class: { tooltip: true, "is-visible": this.visible }, role: "tooltip", ref: (el) => (this.floatingEl = el) }, this.content)));
53
53
  }
54
54
  static get is() { return "ui-tooltip"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- const t=':root{--ui-background:#f6f7fb;--ui-foreground:#090b12;--ui-muted:#475467;--ui-text-soft:#263244;--ui-text-muted:#667085;--ui-text-faint:#8a94a6;--ui-border:rgba(15, 23, 42, 0.12);--ui-border-strong:rgba(15, 23, 42, 0.22);--ui-panel:rgba(255, 255, 255, 0.72);--ui-panel-strong:rgba(255, 255, 255, 0.9);--ui-panel-dark:rgba(255, 255, 255, 0.62);--ui-chip:rgba(255, 255, 255, 0.68);--ui-overlay:rgba(15, 23, 42, 0.32);--ui-accent:#26d0ce;--ui-accent-strong:#5b8cff;--ui-accent-contrast:#020617;--ui-ring:rgba(38, 208, 206, 0.34);--ui-success:#17c964;--ui-warning:#f5a524;--ui-danger:#f31260;--ui-info:#5b8cff;--ui-on-status:#ffffff;--ui-radius-sm:0.625rem;--ui-radius:1rem;--ui-radius-lg:1.5rem;--ui-radius-xl:1.75rem;--ui-radius-full:9999px;--ui-shadow-sm:0 1px 2px rgba(15, 23, 42, 0.08);--ui-shadow:0 16px 60px rgba(15, 23, 42, 0.1);--ui-shadow-lg:0 24px 80px rgba(15, 23, 42, 0.16);--ui-ease:cubic-bezier(0.22, 1, 0.36, 1);--ui-duration-fast:150ms;--ui-duration:300ms;--ui-duration-slow:600ms;--ui-font-sans:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,\n "Segoe UI", sans-serif;--ui-font-mono:ui-monospace, "IBM Plex Mono", SFMono-Regular, Menlo, monospace;--ui-page-gradient:radial-gradient(circle at 16% 0%, rgba(38, 208, 206, 0.16), transparent 30rem),\n radial-gradient(circle at 78% 12%, rgba(91, 140, 255, 0.14), transparent 34rem),\n linear-gradient(180deg, #f7f9fe 0%, #eef4fb 52%, #e8eef7 100%)}.dark{--ui-background:#03050b;--ui-foreground:#f8fbff;--ui-muted:#9aa7bd;--ui-text-soft:#e2e8f0;--ui-text-muted:#cbd5e1;--ui-text-faint:#94a3b8;--ui-border:rgba(226, 232, 240, 0.12);--ui-border-strong:rgba(226, 232, 240, 0.22);--ui-panel:rgba(9, 13, 24, 0.68);--ui-panel-strong:rgba(11, 16, 29, 0.86);--ui-panel-dark:rgba(0, 0, 0, 0.28);--ui-chip:rgba(255, 255, 255, 0.055);--ui-overlay:rgba(2, 4, 9, 0.62);--ui-accent:#64fff2;--ui-accent-strong:#8aa8ff;--ui-accent-contrast:#020617;--ui-ring:rgba(100, 255, 242, 0.24);--ui-success:#45d483;--ui-warning:#f7b750;--ui-danger:#f871a0;--ui-info:#8aa8ff;--ui-shadow-sm:0 1px 2px rgba(0, 0, 0, 0.4);--ui-shadow:0 16px 60px rgba(0, 0, 0, 0.24);--ui-shadow-lg:0 24px 80px rgba(0, 0, 0, 0.18);--ui-page-gradient:radial-gradient(circle at 18% 0%, rgba(38, 208, 206, 0.18), transparent 30rem),\n radial-gradient(circle at 78% 10%, rgba(91, 140, 255, 0.14), transparent 34rem),\n linear-gradient(180deg, var(--ui-background), #070911 58%, #03050b)}:where(html){font-family:var(--ui-font-sans)}';function e(t,e,n){const i="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==i;){const i=Object.getOwnPropertyDescriptor(t,e);if(i&&(!n||i.get))return i;t=Object.getPrototypeOf(t)}}var n,i=(t,n)=>{var i;Object.entries(null!=(i=n.i.t)?i:{}).map((([i,[r]])=>{if(31&r||32&r){const r=t[i],o=e(Object.getPrototypeOf(t),i,!0)||Object.getOwnPropertyDescriptor(t,i);o&&Object.defineProperty(t,i,{get(){return o.get.call(this)},set(t){o.set.call(this,t)},configurable:!0,enumerable:!0}),n.o.has(i)?t[i]=n.o.get(i):void 0!==r&&(t[i]=r)}}))},r=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},o=(t,e)=>e in t,l=(t,e)=>(0,console.error)(t,e),s=new Map,a="undefined"!=typeof window?window:{},u=a.HTMLElement||class{},c={l:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,i)=>t.addEventListener(e,n,i),rel:(t,e,n,i)=>t.removeEventListener(e,n,i),ce:(t,e)=>new CustomEvent(t,e)},f=(()=>{try{return!!a.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),d=!!f&&(()=>!!a.document&&Object.getOwnPropertyDescriptor(a.document.adoptedStyleSheets,"length").writable)(),p=!1,b=[],g=[],m=(t,e)=>n=>{t.push(n),p||(p=!0,e&&4&c.l?v(y):c.raf(y))},h=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){l(t)}t.length=0},y=()=>{h(b),h(g),(p=b.length>0)&&c.raf(y)},v=t=>Promise.resolve(void 0).then(t),w=m(g,!0),$=t=>{const e=new URL(t,c.u);return e.origin!==a.location.origin?e.href:e.pathname},j=t=>c.u=t;function x(){var e;const i=this.attachShadow({mode:"open"});if(void 0===n&&(n=null!=(e=function(t){if(!f)return;const e=new CSSStyleSheet;return e.replaceSync(t),e}(t))?e:null),n)d?i.adoptedStyleSheets.push(n):i.adoptedStyleSheets=[...i.adoptedStyleSheets,n];else if(!f){const e=document.createElement("style");e.innerHTML=t,i.prepend(e)}}var O,S=new WeakMap,k=t=>"sc-"+t.p,M=t=>"object"==(t=typeof t)||"function"===t,E=(t,e,...n)=>{let i=null,r=null,o=!1,l=!1;const s=[],a=e=>{for(let n=0;n<e.length;n++)i=e[n],Array.isArray(i)?a(i):null!=i&&"boolean"!=typeof i&&((o="function"!=typeof t&&!M(i))&&(i+=""),o&&l?s[s.length-1].m+=i:s.push(o?C(null,i):i),l=o)};if(a(n),e){e.key&&(r=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const u=C(t,null);return u.h=e,s.length>0&&(u.v=s),u.$=r,u},C=(t,e)=>({l:0,j:t,m:null!=e?e:null,O:null,v:null,h:null,$:null}),A={},L=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const i of e){if(n)break;for(const e of t[i])if("string"==typeof e){n=!0;break}}if(!n)return t;const i={};for(const n of e)i[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return i},N=(t,e)=>null==t||M(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,P=(t,e)=>{const n=t;return{emit:t=>R(n,e,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},R=(t,e,n)=>{const i=c.ce(e,n);return t.dispatchEvent(i),i},U=(t,e,n,i,l,s)=>{if(n===i)return;let u=o(t,e),f=e.toLowerCase();if("class"===e){const e=t.classList,r=D(n);let o=D(i);e.remove(...r.filter((t=>t&&!o.includes(t)))),e.add(...o.filter((t=>t&&!r.includes(t))))}else if("style"===e){for(const e in n)i&&null!=i[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in i)n&&i[e]===n[e]||(e.includes("-")?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if("key"===e);else if("ref"===e)i&&Q(i,t);else if(t.__lookupSetter__(e)||"o"!==e[0]||"n"!==e[1]){if("a"===e[0]&&e.startsWith("attr:")){const n=e.slice(5);let o;{const e=r(t);if(e&&e.i&&e.i.t){const t=e.i.t[n];t&&t[1]&&(o=t[1])}}return o||(o=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==i||!1===i?!1===i&&""!==t.getAttribute(o)||t.removeAttribute(o):t.setAttribute(o,!0===i?"":i))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=i}catch(t){}return}{const r=M(i);if((u||r&&null!==i)&&!l)try{if(t.tagName.includes("-"))t[e]!==i&&(t[e]=i);else{const r=null==i?"":i;"list"===e?u=!1:null!=n&&t[e]===r||("function"==typeof t.__lookupSetter__(e)?t[e]=r:t.setAttribute(e,r))}}catch(t){}null==i||!1===i?!1===i&&""!==t.getAttribute(e)||t.removeAttribute(e):(!u||4&s||l)&&!r&&1===t.nodeType&&t.setAttribute(e,i=!0===i?"":i)}}else if(e="-"===e[2]?e.slice(3):o(a,f)?f.slice(2):f[2]+e.slice(3),n||i){const r=e.endsWith(F);e=e.replace(H,""),n&&c.rel(t,e,n,r),i&&c.ael(t,e,i,r)}},_=/\s/,D=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(_):[]),F="Capture",H=RegExp(F+"$"),W=(t,e,n)=>{const i=11===e.O.nodeType&&e.O.host?e.O.host:e.O,r=t&&t.h||{},o=e.h||{};for(const t of z(Object.keys(r)))t in o||U(i,t,r[t],void 0,n,e.l);for(const t of z(Object.keys(o)))U(i,t,r[t],o[t],n,e.l)};function z(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var I=!1,V=!1,q=[],B=[],T=(t,e,n)=>{const i=e.v[n];let r,o,l=0;if(null!=i.m)r=i.O=a.document.createTextNode(i.m);else{if(V||(V="svg"===i.j),!a.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(r=i.O=a.document.createElementNS(V?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",i.j),V&&"foreignObject"===i.j&&(V=!1),W(null,i,V),i.v){const e="template"===i.j?r.content:r;for(l=0;l<i.v.length;++l)o=T(t,i,l),o&&e.appendChild(o)}"svg"===i.j?V=!1:"foreignObject"===r.tagName&&(V=!0)}return r["s-hn"]=O,r},Y=(t,e,n,i,r,o)=>{let l,s=t;for(s.shadowRoot&&s.tagName===O&&(s=s.shadowRoot),"template"===n.j&&(s=s.content);r<=o;++r)i[r]&&(l=T(null,n,r),l&&(i[r].O=l,X(s,l,e)))},Z=(t,e,n)=>{for(let i=e;i<=n;++i){const e=t[i];if(e){const t=e.O;K(e),t&&t.remove()}}},G=(t,e,n=!1)=>t.j===e.j&&(n?(n&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),J=(t,e,n=!1)=>{const i=e.O=t.O,r=t.v,o=e.v,l=e.j,s=e.m;null==s?(V="svg"===l||"foreignObject"!==l&&V,"slot"!==l||I||t.S!==e.S&&(e.O["s-sn"]=e.S||"",(t=>{c.l|=1;const e=t.closest(O.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),i=Array.from(t.__childNodes||t.childNodes);for(const t of n?i.reverse():i)null!=t["s-sh"]&&(X(e,t,null!=n?n:null),t["s-sh"]=void 0)}c.l&=-2})(e.O.parentElement)),W(t,e,V),null!==r&&null!==o?((t,e,n,i,r=!1)=>{let o,l,s=0,a=0,u=0,c=0,f=e.length-1,d=e[0],p=e[f],b=i.length-1,g=i[0],m=i[b];const h="template"===n.j?t.content:t;for(;s<=f&&a<=b;)if(null==d)d=e[++s];else if(null==p)p=e[--f];else if(null==g)g=i[++a];else if(null==m)m=i[--b];else if(G(d,g,r))J(d,g,r),d=e[++s],g=i[++a];else if(G(p,m,r))J(p,m,r),p=e[--f],m=i[--b];else if(G(d,m,r))J(d,m,r),X(h,d.O,p.O.nextSibling),d=e[++s],m=i[--b];else if(G(p,g,r))J(p,g,r),X(h,p.O,d.O),p=e[--f],g=i[++a];else{for(u=-1,c=s;c<=f;++c)if(e[c]&&null!==e[c].$&&e[c].$===g.$){u=c;break}u>=0?(l=e[u],l.j!==g.j?o=T(e&&e[a],n,u):(J(l,g,r),e[u]=void 0,o=l.O),g=i[++a]):(o=T(e&&e[a],n,a),g=i[++a]),o&&X(d.O.parentNode,o,d.O)}s>f?Y(t,null==i[b+1]?null:i[b+1].O,n,i,a,b):a>b&&Z(e,s,f)})(i,r,e,o,n):null!==o?(null!==t.m&&(i.textContent=""),Y(i,null,e,o,0,o.length-1)):!n&&null!==r&&Z(r,0,r.length-1),V&&"svg"===l&&(V=!1)):t.m!==s&&(i.data=s)},K=t=>{t.h&&t.h.ref&&q.push((()=>t.h.ref(null))),t.v&&t.v.map(K)},Q=(t,e)=>{B.push((()=>t(e)))},X=(t,e,n)=>t.__insertBefore?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n),tt=(t,e,n=!1)=>{const i=t.$hostElement$,r=t.i,o=t.k||C(null,null),l=(t=>t&&t.j===A)(e)?e:E(null,null,e);if(O=i.tagName,r.M&&(l.h=l.h||{},r.M.forEach((([t,e])=>{l.h[e]=i[t]}))),n&&l.h)for(const t of Object.keys(l.h))i.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(l.h[t]=i[t]);l.j=null,l.l|=4,t.k=l,l.O=o.O=i.shadowRoot||i,I=!(!(1&r.l)||128&r.l),J(o,l,n),q.forEach((t=>t())),q.length=0,B.forEach((t=>t())),B.length=0},et=(t,e)=>{if(e&&!t.C&&e["s-p"]){const n=e["s-p"].push(new Promise((i=>t.C=()=>{e["s-p"].splice(n-1,1),i()})))}},nt=(t,e)=>{if(t.l|=16,4&t.l)return void(t.l|=512);et(t,t.A);const n=()=>it(t,e);if(!e)return w(n);queueMicrotask((()=>{n()}))},it=(t,e)=>{const n=t.$hostElement$,i=n;if(!i)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let r;return r=ct(i,e?"componentWillLoad":"componentWillUpdate",void 0,n),r=rt(r,(()=>ct(i,"componentWillRender",void 0,n))),rt(r,(()=>lt(t,i,e)))},rt=(t,e)=>ot(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),ot=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,lt=async(t,e,n)=>{var i;const r=t.$hostElement$,o=r["s-rc"];n&&(t=>{const e=t.i,n=t.$hostElement$,i=e.l,r=((t,e)=>{var n,i,r;const o=k(e),l=s.get(o);if(!a.document)return o;if(t=11===t.nodeType?t:a.document,l)if("string"==typeof l){let r,s=S.get(t=t.head||t);if(s||S.set(t,s=new Set),!s.has(o)){r=a.document.createElement("style"),r.textContent=l;const u=null!=(n=c.L)?n:function(){var t,e,n;return null!=(n=null==(e=null==(t=a.document.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?n:void 0}();if(null!=u&&r.setAttribute("nonce",u),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(r,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(f){const e=new(null!=(i=t.defaultView)?i:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(l),d?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=l+e.textContent:t.prepend(r)}else t.append(r);1&e.l&&t.insertBefore(r,null),4&e.l&&(r.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),s&&s.add(o)}}else{let e=S.get(t);if(e||S.set(t,e=new Set),!e.has(o)){const n=null!=(r=t.defaultView)?r:t.ownerDocument.defaultView;let i;if(l.constructor===n.CSSStyleSheet)i=l;else{i=new n.CSSStyleSheet;for(let t=0;t<l.cssRules.length;t++)i.insertRule(l.cssRules[t].cssText,t)}d?t.adoptedStyleSheets.push(i):t.adoptedStyleSheets=[...t.adoptedStyleSheets,i],e.add(o)}}return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&i&&(n["s-sc"]=r,n.classList.add(r+"-h"))})(t);st(t,e,r,n),o&&(o.map((t=>t())),r["s-rc"]=void 0);{const e=null!=(i=r["s-p"])?i:[],n=()=>at(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.l|=4,e.length=0)}},st=(t,e,n,i)=>{try{e=e.render(),t.l&=-17,t.l|=2,tt(t,e,i)}catch(e){l(e,t.$hostElement$)}return null},at=t=>{const e=t.$hostElement$,n=e,i=t.A;ct(n,"componentDidRender",void 0,e),64&t.l?ct(n,"componentDidUpdate",void 0,e):(t.l|=64,ft(e),ct(n,"componentDidLoad",void 0,e),t.N(e),i||ut()),t.C&&(t.C(),t.C=void 0),512&t.l&&v((()=>nt(t,!1))),t.l&=-517},ut=()=>{v((()=>R(a,"appload",{detail:{namespace:"uikit"}})))},ct=(t,e,n,i)=>{if(t&&t[e])try{return t[e](n)}catch(t){l(t,i)}},ft=t=>t.classList.add("hydrated"),dt=(t,e,n,i)=>{const o=r(t);if(!o)return;const s=t,a=o.o.get(e),u=o.l,c=s;if(!((n=N(n,i.t[e][0]))===a||Number.isNaN(a)&&Number.isNaN(n))){if(o.o.set(e,n),i.P){const t=i.P[e];t&&t.map((t=>{try{const[[i,r]]=Object.entries(t);(128&u||1&r)&&(c?c[i](n,a,e):o.R.push((()=>{o.U[i](n,a,e)})))}catch(t){l(t,s)}}))}if(2&u){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,a,e)&&!(16&u))return;16&u||nt(o,!1)}}},pt=(t,n)=>{var i,o;const l=t.prototype;{t.watchers&&!n.P&&(n.P=L(t.watchers)),t.deserializers&&!n._&&(n._=t.deserializers),t.serializers&&!n.D&&(n.D=t.serializers);const s=Object.entries(null!=(i=n.t)?i:{});s.map((([t,[i]])=>{if(31&i||32&i){const{get:o,set:s}=e(l,t)||{};o&&(n.t[t][0]|=2048),s&&(n.t[t][0]|=4096),Object.defineProperty(l,t,{get(){return o?o.apply(this):((t,e)=>r(this).o.get(e))(0,t)},configurable:!0,enumerable:!0}),Object.defineProperty(l,t,{set(e){const o=r(this);if(o){if(s)return void 0===(32&i?this[t]:o.$hostElement$[t])&&o.o.get(t)&&(e=o.o.get(t)),s.call(this,N(e,i)),void dt(this,t,e=32&i?this[t]:o.$hostElement$[t],n);dt(this,t,e,n)}}})}}));{const e=new Map;l.attributeChangedCallback=function(t,i,o){c.jmp((()=>{var a;const u=e.get(t),c=r(this);if(this.hasOwnProperty(u),l.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==o)return;if(null==u){const e=null==c?void 0:c.l;if(c&&e&&!(8&e)&&o!==i){const r=this,l=null==(a=n.P)?void 0:a[t];null==l||l.forEach((n=>{const[[l,s]]=Object.entries(n);null!=r[l]&&(128&e||1&s)&&r[l].call(r,o,i,t)}))}return}const f=s.find((([t])=>t===u)),d=f&&4&f[1][0],p=d&&null===o&&void 0===this[u];d&&(o=null!==o&&"false"!==o);const b=Object.getOwnPropertyDescriptor(l,u);p||o==this[u]||b.get&&!b.set||(this[u]=o)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=n.P)?o:{}),...s.filter((([t,e])=>31&e[0])).map((([t,i])=>{var r;const o=i[1]||t;return e.set(o,t),512&i[0]&&(null==(r=n.M)||r.push([t,o])),o}))]))}}return t},bt=(t,e)=>{const n={l:e[0],p:e[1]};try{n.t=e[2],n.F=e[3],n.P=L(t.P),n._=t._,n.D=t.D,n.M=[];const o=t.prototype.connectedCallback,a=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((t,e)=>{const n={l:0,$hostElement$:t,i:e,o:new Map,H:new Map};n.W=new Promise((t=>n.N=t)),t["s-p"]=[],t["s-rc"]=[];const r=n;t.__stencil__getHostRef=()=>r,512&e.l&&i(t,n)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=r(this);if(!t)return;gt(this,t,n.F),this.__hasHostListenerAttached=!0}(t=>{if(!(1&c.l)){const e=r(t);if(!e)return;const n=e.i,i=()=>{};if(1&e.l)gt(t,e,n.F),(null==e?void 0:e.U)||(null==e?void 0:e.W)&&e.W.then((()=>{}));else{e.l|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){et(e,e.A=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let i;try{if(!(32&e.l)&&(e.l|=32,i=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128)),i&&i.style)){let t;"string"==typeof i.style&&(t=i.style);const e=k(n);if(!s.has(e)){const i=()=>{};((t,e,n)=>{let i=s.get(t);f&&n?(i=i||new CSSStyleSheet,"string"==typeof i?i=e:i.replaceSync(e)):i=e,s.set(t,i)})(e,t,!!(1&n.l)),i()}}const r=e.A,o=()=>nt(e,!0);r&&r["s-rc"]?r["s-rc"].push(o):o()}catch(n){l(n,t),e.C&&(e.C(),e.C=void 0),e.N&&e.N(t)}})(t,e,n)}i()}})(this),o&&o.call(this)},disconnectedCallback(){(async t=>{if(!(1&c.l)){const e=r(t);(null==e?void 0:e.I)&&(e.I.map((t=>t())),e.I=void 0)}S.has(t)&&S.delete(t),t.shadowRoot&&S.has(t.shadowRoot)&&S.delete(t.shadowRoot)})(this),a&&a.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else x.call(this,n)}}),Object.defineProperty(t,"is",{value:n.p,configurable:!0}),pt(t,n)}catch(e){return l(e),t}},gt=(t,e,n)=>{n&&a.document&&n.map((([n,i,r])=>{const o=t,l=mt(e,r),s=ht(n);c.ael(o,i,l,s),(e.I=e.I||[]).push((()=>c.rel(o,i,l,s)))}))},mt=(t,e)=>n=>{try{t.$hostElement$[e](n)}catch(e){l(e,t.$hostElement$)}},ht=t=>({passive:!!(1&t),capture:!!(2&t)}),yt=t=>c.L=t,vt=t=>Object.assign(c,t),wt=new WeakMap;function $t(t,e){let n=wt.get(e);n||(n={l:0,i:{l:0,p:e.tagName},$hostElement$:e},wt.set(e,n)),tt(n,t)}function jt(t){return t}export{u as H,A as a,P as c,$ as getAssetPath,E as h,bt as p,$t as render,j as setAssetPath,yt as setNonce,vt as setPlatformOptions,jt as t}
1
+ const e=':root{--ui-background:#f6f7fb;--ui-foreground:#090b12;--ui-muted:#475467;--ui-text-soft:#263244;--ui-text-muted:#667085;--ui-text-faint:#8a94a6;--ui-border:rgba(15, 23, 42, 0.12);--ui-border-strong:rgba(15, 23, 42, 0.22);--ui-panel:rgba(255, 255, 255, 0.72);--ui-panel-strong:rgba(255, 255, 255, 0.9);--ui-panel-dark:rgba(255, 255, 255, 0.62);--ui-chip:rgba(255, 255, 255, 0.68);--ui-overlay:rgba(15, 23, 42, 0.32);--ui-accent:#26d0ce;--ui-accent-strong:#5b8cff;--ui-accent-contrast:#020617;--ui-ring:rgba(38, 208, 206, 0.34);--ui-success:#17c964;--ui-warning:#f5a524;--ui-danger:#f31260;--ui-info:#5b8cff;--ui-on-status:#ffffff;--ui-radius-sm:0.625rem;--ui-radius:1rem;--ui-radius-lg:1.5rem;--ui-radius-xl:1.75rem;--ui-radius-full:9999px;--ui-shadow-sm:0 1px 2px rgba(15, 23, 42, 0.08);--ui-shadow:0 16px 60px rgba(15, 23, 42, 0.1);--ui-shadow-lg:0 24px 80px rgba(15, 23, 42, 0.16);--ui-ease:cubic-bezier(0.22, 1, 0.36, 1);--ui-duration-fast:150ms;--ui-duration:300ms;--ui-duration-slow:600ms;--ui-font-sans:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,\n "Segoe UI", sans-serif;--ui-font-mono:ui-monospace, "IBM Plex Mono", SFMono-Regular, Menlo, monospace;--ui-page-gradient:radial-gradient(circle at 16% 0%, rgba(38, 208, 206, 0.16), transparent 30rem),\n radial-gradient(circle at 78% 12%, rgba(91, 140, 255, 0.14), transparent 34rem),\n linear-gradient(180deg, #f7f9fe 0%, #eef4fb 52%, #e8eef7 100%)}.dark{--ui-background:#03050b;--ui-foreground:#f8fbff;--ui-muted:#9aa7bd;--ui-text-soft:#e2e8f0;--ui-text-muted:#cbd5e1;--ui-text-faint:#94a3b8;--ui-border:rgba(226, 232, 240, 0.12);--ui-border-strong:rgba(226, 232, 240, 0.22);--ui-panel:rgba(9, 13, 24, 0.68);--ui-panel-strong:rgba(11, 16, 29, 0.86);--ui-panel-dark:rgba(0, 0, 0, 0.28);--ui-chip:rgba(255, 255, 255, 0.055);--ui-overlay:rgba(2, 4, 9, 0.62);--ui-accent:#64fff2;--ui-accent-strong:#8aa8ff;--ui-accent-contrast:#020617;--ui-ring:rgba(100, 255, 242, 0.24);--ui-success:#45d483;--ui-warning:#f7b750;--ui-danger:#f871a0;--ui-info:#8aa8ff;--ui-shadow-sm:0 1px 2px rgba(0, 0, 0, 0.4);--ui-shadow:0 16px 60px rgba(0, 0, 0, 0.24);--ui-shadow-lg:0 24px 80px rgba(0, 0, 0, 0.18);--ui-page-gradient:radial-gradient(circle at 18% 0%, rgba(38, 208, 206, 0.18), transparent 30rem),\n radial-gradient(circle at 78% 10%, rgba(91, 140, 255, 0.14), transparent 34rem),\n linear-gradient(180deg, var(--ui-background), #070911 58%, #03050b)}.theme-violet{--ui-accent:#8b5cf6;--ui-accent-strong:#6366f1;--ui-ring:rgba(139, 92, 246, 0.34)}.dark.theme-violet{--ui-accent:#a78bfa;--ui-accent-strong:#818cf8;--ui-ring:rgba(167, 139, 250, 0.28)}.theme-emerald{--ui-accent:#10b981;--ui-accent-strong:#14b8a6;--ui-ring:rgba(16, 185, 129, 0.32)}.dark.theme-emerald{--ui-accent:#34d399;--ui-accent-strong:#2dd4bf;--ui-ring:rgba(52, 211, 153, 0.26)}.theme-amber{--ui-accent:#f59e0b;--ui-accent-strong:#f97316;--ui-accent-contrast:#1c1207;--ui-ring:rgba(245, 158, 11, 0.32)}.dark.theme-amber{--ui-accent:#fbbf24;--ui-accent-strong:#fb923c;--ui-ring:rgba(251, 191, 36, 0.26)}.theme-rose{--ui-accent:#f43f5e;--ui-accent-strong:#ec4899;--ui-accent-contrast:#fff;--ui-ring:rgba(244, 63, 94, 0.32)}.dark.theme-rose{--ui-accent:#fb7185;--ui-accent-strong:#f472b6;--ui-ring:rgba(251, 113, 133, 0.26)}.theme-blue{--ui-accent:#3b82f6;--ui-accent-strong:#6366f1;--ui-accent-contrast:#fff;--ui-ring:rgba(59, 130, 246, 0.32)}.dark.theme-blue{--ui-accent:#60a5fa;--ui-accent-strong:#818cf8;--ui-ring:rgba(96, 165, 250, 0.26)}:where(html){font-family:var(--ui-font-sans)}';function t(e,t,n){const i="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;e&&e!==i;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!n||i.get))return i;e=Object.getPrototypeOf(e)}}var n,i=(e,n)=>{var i;Object.entries(null!=(i=n.i.t)?i:{}).map((([i,[r]])=>{if(31&r||32&r){const r=e[i],o=t(Object.getPrototypeOf(e),i,!0)||Object.getOwnPropertyDescriptor(e,i);o&&Object.defineProperty(e,i,{get(){return o.get.call(this)},set(e){o.set.call(this,e)},configurable:!0,enumerable:!0}),n.o.has(i)?e[i]=n.o.get(i):void 0!==r&&(e[i]=r)}}))},r=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),l=new Map,a="undefined"!=typeof window?window:{},c=a.HTMLElement||class{},u={l:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,i)=>e.addEventListener(t,n,i),rel:(e,t,n,i)=>e.removeEventListener(t,n,i),ce:(e,t)=>new CustomEvent(e,t)},f=(()=>{try{return!!a.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(e){}return!1})(),d=!!f&&(()=>!!a.document&&Object.getOwnPropertyDescriptor(a.document.adoptedStyleSheets,"length").writable)(),g=!1,b=[],p=[],m=(e,t)=>n=>{e.push(n),g||(g=!0,t&&4&u.l?v(y):u.raf(y))},h=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},y=()=>{h(b),h(p),(g=b.length>0)&&u.raf(y)},v=e=>Promise.resolve(void 0).then(e),w=m(p,!0),$=e=>{const t=new URL(e,u.u);return t.origin!==a.location.origin?t.href:t.pathname},j=e=>u.u=e;function x(){var t;const i=this.attachShadow({mode:"open"});if(void 0===n&&(n=null!=(t=function(e){if(!f)return;const t=new CSSStyleSheet;return t.replaceSync(e),t}(e))?t:null),n)d?i.adoptedStyleSheets.push(n):i.adoptedStyleSheets=[...i.adoptedStyleSheets,n];else if(!f){const t=document.createElement("style");t.innerHTML=e,i.prepend(t)}}var O,k=new WeakMap,S=e=>"sc-"+e.p,M=e=>"object"==(e=typeof e)||"function"===e,E=(e,t,...n)=>{let i=null,r=null,o=!1,s=!1;const l=[],a=t=>{for(let n=0;n<t.length;n++)i=t[n],Array.isArray(i)?a(i):null!=i&&"boolean"!=typeof i&&((o="function"!=typeof e&&!M(i))&&(i+=""),o&&s?l[l.length-1].m+=i:l.push(o?C(null,i):i),s=o)};if(a(n),t){t.key&&(r=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const c=C(e,null);return c.h=t,l.length>0&&(c.v=l),c.$=r,c},C=(e,t)=>({l:0,j:e,m:null!=t?t:null,O:null,v:null,h:null,$:null}),A={},L=e=>{if(!e)return;const t=Object.keys(e);if(0===t.length)return;let n=!1;for(const i of t){if(n)break;for(const t of e[i])if("string"==typeof t){n=!0;break}}if(!n)return e;const i={};for(const n of t)i[n]=e[n].map((e=>"string"==typeof e?{[e]:0}:e));return i},N=(e,t)=>null==e||M(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&t?e+"":e,P=(e,t)=>{const n=e;return{emit:e=>R(n,t,{bubbles:!0,composed:!0,cancelable:!0,detail:e})}},R=(e,t,n)=>{const i=u.ce(t,n);return e.dispatchEvent(i),i},U=(e,t,n,i,s,l)=>{if(n===i)return;let c=o(e,t),f=t.toLowerCase();if("class"===t){const t=e.classList,r=D(n);let o=D(i);t.remove(...r.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!r.includes(e))))}else if("style"===t){for(const t in n)i&&null!=i[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in i)n&&i[t]===n[t]||(t.includes("-")?e.style.setProperty(t,i[t]):e.style[t]=i[t])}else if("key"===t);else if("ref"===t)i&&Q(i,e);else if(e.__lookupSetter__(t)||"o"!==t[0]||"n"!==t[1]){if("a"===t[0]&&t.startsWith("attr:")){const n=t.slice(5);let o;{const t=r(e);if(t&&t.i&&t.i.t){const e=t.i.t[n];e&&e[1]&&(o=e[1])}}return o||(o=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==i||!1===i?!1===i&&""!==e.getAttribute(o)||e.removeAttribute(o):e.setAttribute(o,!0===i?"":i))}if("p"===t[0]&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=i}catch(e){}return}{const r=M(i);if((c||r&&null!==i)&&!s)try{if(e.tagName.includes("-"))e[t]!==i&&(e[t]=i);else{const r=null==i?"":i;"list"===t?c=!1:null!=n&&e[t]===r||("function"==typeof e.__lookupSetter__(t)?e[t]=r:e.setAttribute(t,r))}}catch(e){}null==i||!1===i?!1===i&&""!==e.getAttribute(t)||e.removeAttribute(t):(!c||4&l||s)&&!r&&1===e.nodeType&&e.setAttribute(t,i=!0===i?"":i)}}else if(t="-"===t[2]?t.slice(3):o(a,f)?f.slice(2):f[2]+t.slice(3),n||i){const r=t.endsWith(F);t=t.replace(H,""),n&&u.rel(e,t,n,r),i&&u.ael(e,t,i,r)}},_=/\s/,D=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(_):[]),F="Capture",H=RegExp(F+"$"),W=(e,t,n)=>{const i=11===t.O.nodeType&&t.O.host?t.O.host:t.O,r=e&&e.h||{},o=t.h||{};for(const e of z(Object.keys(r)))e in o||U(i,e,r[e],void 0,n,t.l);for(const e of z(Object.keys(o)))U(i,e,r[e],o[e],n,t.l)};function z(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var I=!1,V=!1,q=[],B=[],T=(e,t,n)=>{const i=t.v[n];let r,o,s=0;if(null!=i.m)r=i.O=a.document.createTextNode(i.m);else{if(V||(V="svg"===i.j),!a.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(r=i.O=a.document.createElementNS(V?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",i.j),V&&"foreignObject"===i.j&&(V=!1),W(null,i,V),i.v){const t="template"===i.j?r.content:r;for(s=0;s<i.v.length;++s)o=T(e,i,s),o&&t.appendChild(o)}"svg"===i.j?V=!1:"foreignObject"===r.tagName&&(V=!0)}return r["s-hn"]=O,r},Y=(e,t,n,i,r,o)=>{let s,l=e;for(l.shadowRoot&&l.tagName===O&&(l=l.shadowRoot),"template"===n.j&&(l=l.content);r<=o;++r)i[r]&&(s=T(null,n,r),s&&(i[r].O=s,X(l,s,t)))},Z=(e,t,n)=>{for(let i=t;i<=n;++i){const t=e[i];if(t){const e=t.O;K(t),e&&e.remove()}}},G=(e,t,n=!1)=>e.j===t.j&&(n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),J=(e,t,n=!1)=>{const i=t.O=e.O,r=e.v,o=t.v,s=t.j,l=t.m;null==l?(V="svg"===s||"foreignObject"!==s&&V,"slot"!==s||I||e.k!==t.k&&(t.O["s-sn"]=t.k||"",(e=>{u.l|=1;const t=e.closest(O.toLowerCase());if(null!=t){const n=Array.from(t.__childNodes||t.childNodes).find((e=>e["s-cr"])),i=Array.from(e.__childNodes||e.childNodes);for(const e of n?i.reverse():i)null!=e["s-sh"]&&(X(t,e,null!=n?n:null),e["s-sh"]=void 0)}u.l&=-2})(t.O.parentElement)),W(e,t,V),null!==r&&null!==o?((e,t,n,i,r=!1)=>{let o,s,l=0,a=0,c=0,u=0,f=t.length-1,d=t[0],g=t[f],b=i.length-1,p=i[0],m=i[b];const h="template"===n.j?e.content:e;for(;l<=f&&a<=b;)if(null==d)d=t[++l];else if(null==g)g=t[--f];else if(null==p)p=i[++a];else if(null==m)m=i[--b];else if(G(d,p,r))J(d,p,r),d=t[++l],p=i[++a];else if(G(g,m,r))J(g,m,r),g=t[--f],m=i[--b];else if(G(d,m,r))J(d,m,r),X(h,d.O,g.O.nextSibling),d=t[++l],m=i[--b];else if(G(g,p,r))J(g,p,r),X(h,g.O,d.O),g=t[--f],p=i[++a];else{for(c=-1,u=l;u<=f;++u)if(t[u]&&null!==t[u].$&&t[u].$===p.$){c=u;break}c>=0?(s=t[c],s.j!==p.j?o=T(t&&t[a],n,c):(J(s,p,r),t[c]=void 0,o=s.O),p=i[++a]):(o=T(t&&t[a],n,a),p=i[++a]),o&&X(d.O.parentNode,o,d.O)}l>f?Y(e,null==i[b+1]?null:i[b+1].O,n,i,a,b):a>b&&Z(t,l,f)})(i,r,t,o,n):null!==o?(null!==e.m&&(i.textContent=""),Y(i,null,t,o,0,o.length-1)):!n&&null!==r&&Z(r,0,r.length-1),V&&"svg"===s&&(V=!1)):e.m!==l&&(i.data=l)},K=e=>{e.h&&e.h.ref&&q.push((()=>e.h.ref(null))),e.v&&e.v.map(K)},Q=(e,t)=>{B.push((()=>e(t)))},X=(e,t,n)=>e.__insertBefore?e.__insertBefore(t,n):null==e?void 0:e.insertBefore(t,n),ee=(e,t,n=!1)=>{const i=e.$hostElement$,r=e.i,o=e.S||C(null,null),s=(e=>e&&e.j===A)(t)?t:E(null,null,t);if(O=i.tagName,r.M&&(s.h=s.h||{},r.M.forEach((([e,t])=>{s.h[t]=i[e]}))),n&&s.h)for(const e of Object.keys(s.h))i.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.h[e]=i[e]);s.j=null,s.l|=4,e.S=s,s.O=o.O=i.shadowRoot||i,I=!(!(1&r.l)||128&r.l),J(o,s,n),q.forEach((e=>e())),q.length=0,B.forEach((e=>e())),B.length=0},te=(e,t)=>{if(t&&!e.C&&t["s-p"]){const n=t["s-p"].push(new Promise((i=>e.C=()=>{t["s-p"].splice(n-1,1),i()})))}},ne=(e,t)=>{if(e.l|=16,4&e.l)return void(e.l|=512);te(e,e.A);const n=()=>ie(e,t);if(!t)return w(n);queueMicrotask((()=>{n()}))},ie=(e,t)=>{const n=e.$hostElement$,i=n;if(!i)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let r;return r=ue(i,t?"componentWillLoad":"componentWillUpdate",void 0,n),r=re(r,(()=>ue(i,"componentWillRender",void 0,n))),re(r,(()=>se(e,i,t)))},re=(e,t)=>oe(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),oe=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,se=async(e,t,n)=>{var i;const r=e.$hostElement$,o=r["s-rc"];n&&(e=>{const t=e.i,n=e.$hostElement$,i=t.l,r=((e,t)=>{var n,i,r;const o=S(t),s=l.get(o);if(!a.document)return o;if(e=11===e.nodeType?e:a.document,s)if("string"==typeof s){let r,l=k.get(e=e.head||e);if(l||k.set(e,l=new Set),!l.has(o)){r=a.document.createElement("style"),r.textContent=s;const c=null!=(n=u.L)?n:function(){var e,t,n;return null!=(n=null==(t=null==(e=a.document.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:t.getAttribute("content"))?n:void 0}();if(null!=c&&r.setAttribute("nonce",c),!(1&t.l))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(r,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(f){const t=new(null!=(i=e.defaultView)?i:e.ownerDocument.defaultView).CSSStyleSheet;t.replaceSync(s),d?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.textContent=s+t.textContent:e.prepend(r)}else e.append(r);1&t.l&&e.insertBefore(r,null),4&t.l&&(r.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),l&&l.add(o)}}else{let t=k.get(e);if(t||k.set(e,t=new Set),!t.has(o)){const n=null!=(r=e.defaultView)?r:e.ownerDocument.defaultView;let i;if(s.constructor===n.CSSStyleSheet)i=s;else{i=new n.CSSStyleSheet;for(let e=0;e<s.cssRules.length;e++)i.insertRule(s.cssRules[e].cssText,e)}d?e.adoptedStyleSheets.push(i):e.adoptedStyleSheets=[...e.adoptedStyleSheets,i],t.add(o)}}return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&i&&(n["s-sc"]=r,n.classList.add(r+"-h"))})(e);le(e,t,r,n),o&&(o.map((e=>e())),r["s-rc"]=void 0);{const t=null!=(i=r["s-p"])?i:[],n=()=>ae(e);0===t.length?n():(Promise.all(t).then(n).catch(n),e.l|=4,t.length=0)}},le=(e,t,n,i)=>{try{t=t.render(),e.l&=-17,e.l|=2,ee(e,t,i)}catch(t){s(t,e.$hostElement$)}return null},ae=e=>{const t=e.$hostElement$,n=t,i=e.A;ue(n,"componentDidRender",void 0,t),64&e.l?ue(n,"componentDidUpdate",void 0,t):(e.l|=64,fe(t),ue(n,"componentDidLoad",void 0,t),e.N(t),i||ce()),e.C&&(e.C(),e.C=void 0),512&e.l&&v((()=>ne(e,!1))),e.l&=-517},ce=()=>{v((()=>R(a,"appload",{detail:{namespace:"uikit"}})))},ue=(e,t,n,i)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e,i)}},fe=e=>e.classList.add("hydrated"),de=(e,t,n,i)=>{const o=r(e);if(!o)return;const l=e,a=o.o.get(t),c=o.l,u=l;if(!((n=N(n,i.t[t][0]))===a||Number.isNaN(a)&&Number.isNaN(n))){if(o.o.set(t,n),i.P){const e=i.P[t];e&&e.map((e=>{try{const[[i,r]]=Object.entries(e);(128&c||1&r)&&(u?u[i](n,a,t):o.R.push((()=>{o.U[i](n,a,t)})))}catch(e){s(e,l)}}))}if(2&c){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(n,a,t)&&!(16&c))return;16&c||ne(o,!1)}}},ge=(e,n)=>{var i,o;const s=e.prototype;{e.watchers&&!n.P&&(n.P=L(e.watchers)),e.deserializers&&!n._&&(n._=e.deserializers),e.serializers&&!n.D&&(n.D=e.serializers);const l=Object.entries(null!=(i=n.t)?i:{});l.map((([e,[i]])=>{if(31&i||32&i){const{get:o,set:l}=t(s,e)||{};o&&(n.t[e][0]|=2048),l&&(n.t[e][0]|=4096),Object.defineProperty(s,e,{get(){return o?o.apply(this):((e,t)=>r(this).o.get(t))(0,e)},configurable:!0,enumerable:!0}),Object.defineProperty(s,e,{set(t){const o=r(this);if(o){if(l)return void 0===(32&i?this[e]:o.$hostElement$[e])&&o.o.get(e)&&(t=o.o.get(e)),l.call(this,N(t,i)),void de(this,e,t=32&i?this[e]:o.$hostElement$[e],n);de(this,e,t,n)}}})}}));{const t=new Map;s.attributeChangedCallback=function(e,i,o){u.jmp((()=>{var a;const c=t.get(e),u=r(this);if(this.hasOwnProperty(c),s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==o)return;if(null==c){const t=null==u?void 0:u.l;if(u&&t&&!(8&t)&&o!==i){const r=this,s=null==(a=n.P)?void 0:a[e];null==s||s.forEach((n=>{const[[s,l]]=Object.entries(n);null!=r[s]&&(128&t||1&l)&&r[s].call(r,o,i,e)}))}return}const f=l.find((([e])=>e===c)),d=f&&4&f[1][0],g=d&&null===o&&void 0===this[c];d&&(o=null!==o&&"false"!==o);const b=Object.getOwnPropertyDescriptor(s,c);g||o==this[c]||b.get&&!b.set||(this[c]=o)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=n.P)?o:{}),...l.filter((([e,t])=>31&t[0])).map((([e,i])=>{var r;const o=i[1]||e;return t.set(o,e),512&i[0]&&(null==(r=n.M)||r.push([e,o])),o}))]))}}return e},be=(e,t)=>{const n={l:t[0],p:t[1]};try{n.t=t[2],n.F=t[3],n.P=L(e.P),n._=e._,n.D=e.D,n.M=[];const o=e.prototype.connectedCallback,a=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((e,t)=>{const n={l:0,$hostElement$:e,i:t,o:new Map,H:new Map};n.W=new Promise((e=>n.N=e)),e["s-p"]=[],e["s-rc"]=[];const r=n;e.__stencil__getHostRef=()=>r,512&t.l&&i(e,n)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const e=r(this);if(!e)return;pe(this,e,n.F),this.__hasHostListenerAttached=!0}(e=>{if(!(1&u.l)){const t=r(e);if(!t)return;const n=t.i,i=()=>{};if(1&t.l)pe(e,t,n.F),(null==t?void 0:t.U)||(null==t?void 0:t.W)&&t.W.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){te(t,t.A=n);break}}n.t&&Object.entries(n.t).map((([t,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let i;try{if(!(32&t.l)&&(t.l|=32,i=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128)),i&&i.style)){let e;"string"==typeof i.style&&(e=i.style);const t=S(n);if(!l.has(t)){const i=()=>{};((e,t,n)=>{let i=l.get(e);f&&n?(i=i||new CSSStyleSheet,"string"==typeof i?i=t:i.replaceSync(t)):i=t,l.set(e,i)})(t,e,!!(1&n.l)),i()}}const r=t.A,o=()=>ne(t,!0);r&&r["s-rc"]?r["s-rc"].push(o):o()}catch(n){s(n,e),t.C&&(t.C(),t.C=void 0),t.N&&t.N(e)}})(e,t,n)}i()}})(this),o&&o.call(this)},disconnectedCallback(){(async e=>{if(!(1&u.l)){const t=r(e);(null==t?void 0:t.I)&&(t.I.map((e=>e())),t.I=void 0)}k.has(e)&&k.delete(e),e.shadowRoot&&k.has(e.shadowRoot)&&k.delete(e.shadowRoot)})(this),a&&a.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else x.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),ge(e,n)}catch(t){return s(t),e}},pe=(e,t,n)=>{n&&a.document&&n.map((([n,i,r])=>{const o=e,s=me(t,r),l=he(n);u.ael(o,i,s,l),(t.I=t.I||[]).push((()=>u.rel(o,i,s,l)))}))},me=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(t){s(t,e.$hostElement$)}},he=e=>({passive:!!(1&e),capture:!!(2&e)}),ye=e=>u.L=e,ve=e=>Object.assign(u,e),we=new WeakMap;function $e(e,t){let n=we.get(t);n||(n={l:0,i:{l:0,p:t.tagName},$hostElement$:t},we.set(t,n)),ee(n,e)}function je(e){return e}export{c as H,A as a,P as c,$ as getAssetPath,E as h,be as p,$e as render,j as setAssetPath,ye as setNonce,ve as setPlatformOptions,je as t}
@@ -1 +1 @@
1
- import{t as e,p as t,H as a,c as i,h as r,a as s}from"./index.js";const o=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiClose=i(this,"uiClose"),this.open=!1,this.variant="default",this.duration=4e3}onOpenChange(e){e?this.startTimer():this.clearTimer()}componentDidLoad(){this.open&&this.startTimer()}disconnectedCallback(){this.clearTimer()}startTimer(){this.clearTimer(),this.duration>0&&(this.timer=setTimeout((()=>this.dismiss()),this.duration))}clearTimer(){this.timer&&(clearTimeout(this.timer),this.timer=void 0)}dismiss(){this.clearTimer(),this.open=!1,this.uiClose.emit()}async show(){this.open=!0}async close(){this.dismiss()}render(){return r(s,{key:"79bd3e7ed207efd5ff62f5296ab11a06993ce347"},this.open&&r("div",{key:"15a138288380473dff3ff1880e3298e211377339",class:{toast:!0,[`variant-${this.variant}`]:!0},role:"status"},r("div",{key:"33adfee858ddfd37f144b34f8677f312b89c04f3",class:"body"},this.heading&&r("p",{key:"a56d837636f27897f06a8d693f28763b4bc95db6",class:"heading"},this.heading),this.description&&r("p",{key:"7c86fb20c84c42e3c5e3262cc91061e9a80804aa",class:"description"},this.description)),r("button",{key:"4d8160818b76b65c29a27e4404c39a7525441a72",class:"close",type:"button","aria-label":"Fechar",onClick:()=>this.dismiss()},r("svg",{key:"ce7ee6982cc1d742b4d4de8573ca11d18166c814",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},r("line",{key:"c8440dbbb12ce67dd30a052aef92bc736a4532f9",x1:"18",y1:"6",x2:"6",y2:"18"}),r("line",{key:"9ee2d2ec78efa7566e63feb337e346a5574ccf55",x1:"6",y1:"6",x2:"18",y2:"18"})))))}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return":host{display:block}.toast{display:flex;align-items:flex-start;gap:0.75rem;padding:0.875rem 1rem;border:1px solid var(--ui-border);border-left:3px solid var(--ui-accent);border-radius:var(--ui-radius);background:var(--ui-panel-strong);backdrop-filter:blur(22px);box-shadow:var(--ui-shadow-lg);font-family:var(--ui-font-sans);animation:ui-toast-pop var(--ui-duration) var(--ui-ease)}.variant-default{border-left-color:var(--ui-accent)}.variant-success{border-left-color:var(--ui-success)}.variant-warning{border-left-color:var(--ui-warning)}.variant-danger{border-left-color:var(--ui-danger)}.body{flex:1;min-width:0;display:flex;flex-direction:column;gap:0.25rem}.heading{margin:0;font-size:0.875rem;font-weight:600;color:var(--ui-foreground)}.description{margin:0;font-size:0.8125rem;color:var(--ui-text-muted)}.close{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:0.125rem;border:none;background:transparent;color:var(--ui-text-muted);cursor:pointer;border-radius:var(--ui-radius-sm);transition:color var(--ui-duration) var(--ui-ease)}.close:hover{color:var(--ui-foreground)}@keyframes ui-toast-pop{from{opacity:0;transform:translateY(0.5rem) scale(0.98)}to{opacity:1;transform:translateY(0) scale(1)}}"}},[1,"ui-toast",{open:[1540],variant:[1],heading:[1],description:[1],duration:[2],show:[64],close:[64]},void 0,{open:[{onOpenChange:0}]}]);function n(){"undefined"!=typeof customElements&&["ui-toast"].forEach((t=>{"ui-toast"===t&&(customElements.get(e(t))||customElements.define(e(t),o))}))}n();export{o as U,n as d}
1
+ import{t as e,p as t,H as a,c as i,h as r,a as s}from"./index.js";const o=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiClose=i(this,"uiClose"),this.open=!1,this.variant="default",this.duration=4e3}onOpenChange(e){e?this.startTimer():this.clearTimer()}componentDidLoad(){this.open&&this.startTimer()}disconnectedCallback(){this.clearTimer()}startTimer(){this.clearTimer(),this.duration>0&&(this.timer=setTimeout((()=>this.dismiss()),this.duration))}clearTimer(){this.timer&&(clearTimeout(this.timer),this.timer=void 0)}dismiss(){this.clearTimer(),this.open=!1,this.uiClose.emit()}async show(){this.open=!0}async close(){this.dismiss()}render(){return r(s,{key:"4316653a0f6b70781ceda01098b018f649c7f180"},this.open&&r("div",{key:"cc3d339f4ebb55ef3fbc8dd05432d6cbc570f4ad",class:{toast:!0,[`variant-${this.variant}`]:!0},role:"status"},r("div",{key:"37cf6a0ffec9040b002c33f4b1015832cfd32a6f",class:"body"},this.heading&&r("p",{key:"dcb18a7d85fe5d3ed2758e0d5c4dc2c97280b84c",class:"heading"},this.heading),this.description&&r("p",{key:"6ae4543ad5a17fbfdc16ba15c5ce44012143f58b",class:"description"},this.description)),r("button",{key:"73a22b06477019043a4273a06064305d331d5311",class:"close",type:"button","aria-label":"Fechar",onClick:()=>this.dismiss()},r("svg",{key:"7407a77475baa99882678a9ab0bd8af91474ec4e",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},r("line",{key:"c7a4868750a0f503080cd5d9e469b7978bf98115",x1:"18",y1:"6",x2:"6",y2:"18"}),r("line",{key:"844bc05210fbdf5ab10b6b91d140b59b6a75dff5",x1:"6",y1:"6",x2:"18",y2:"18"})))))}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return":host{display:block}.toast{display:flex;align-items:flex-start;gap:0.75rem;padding:0.875rem 1rem;border:1px solid var(--ui-border);border-left:3px solid var(--ui-accent);border-radius:var(--ui-radius);background:var(--ui-panel-strong);backdrop-filter:blur(22px);box-shadow:var(--ui-shadow-lg);font-family:var(--ui-font-sans);animation:ui-toast-pop var(--ui-duration) var(--ui-ease)}.variant-default{border-left-color:var(--ui-accent)}.variant-success{border-left-color:var(--ui-success)}.variant-warning{border-left-color:var(--ui-warning)}.variant-danger{border-left-color:var(--ui-danger)}.body{flex:1;min-width:0;display:flex;flex-direction:column;gap:0.25rem}.heading{margin:0;font-size:0.875rem;font-weight:600;color:var(--ui-foreground)}.description{margin:0;font-size:0.8125rem;color:var(--ui-text-muted)}.close{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:0.125rem;border:none;background:transparent;color:var(--ui-text-muted);cursor:pointer;border-radius:var(--ui-radius-sm);transition:color var(--ui-duration) var(--ui-ease)}.close:hover{color:var(--ui-foreground)}@keyframes ui-toast-pop{from{opacity:0;transform:translateY(0.5rem) scale(0.98)}to{opacity:1;transform:translateY(0) scale(1)}}"}},[1,"ui-toast",{open:[1540],variant:[1],heading:[1],description:[1],duration:[2],show:[64],close:[64]},void 0,{open:[{onOpenChange:0}]}]);function n(){"undefined"!=typeof customElements&&["ui-toast"].forEach((t=>{"ui-toast"===t&&(customElements.get(e(t))||customElements.define(e(t),o))}))}n();export{o as U,n as d}
@@ -1 +1 @@
1
- const t=Math.min,n=Math.max,e=Math.round,o=Math.floor,r=t=>({x:t,y:t}),i={left:"right",right:"left",bottom:"top",top:"bottom"};function c(e,o,r){return n(e,t(o,r))}function l(t,n){return"function"==typeof t?t(n):t}function a(t){return t.split("-")[0]}function s(t){return t.split("-")[1]}function u(t){return"x"===t?"y":"x"}function f(t){return"y"===t?"height":"width"}function d(t){const n=t[0];return"t"===n||"b"===n?"y":"x"}function m(t){return u(d(t))}function y(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const h=["left","right"],p=["right","left"],x=["top","bottom"],w=["bottom","top"];function g(t){const n=a(t);return i[n]+t.slice(n.length)}function v(t){const{x:n,y:e,width:o,height:r}=t;return{width:o,height:r,top:e,left:n,right:n+o,bottom:e+r,x:n,y:e}}function b(t,n,e){let{reference:o,floating:r}=t;const i=d(n),c=m(n),l=f(c),u=a(n),y="y"===i,h=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,x=o[l]/2-r[l]/2;let w;switch(u){case"top":w={x:h,y:o.y-r.height};break;case"bottom":w={x:h,y:o.y+o.height};break;case"right":w={x:o.x+o.width,y:p};break;case"left":w={x:o.x-r.width,y:p};break;default:w={x:o.x,y:o.y}}switch(s(n)){case"start":w[c]-=x*(e&&y?-1:1);break;case"end":w[c]+=x*(e&&y?-1:1)}return w}async function A(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:c,elements:a,strategy:s}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:y=0}=l(n,t),h=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(y),p=a[m?"floating"===d?"reference":"floating":d],x=v(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(p)))||e?p:p.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:s})),w="floating"===d?{x:o,y:r,width:c.floating.width,height:c.floating.height}:c.reference,g=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),b=await(null==i.isElement?void 0:i.isElement(g))&&await(null==i.getScale?void 0:i.getScale(g))||{x:1,y:1},A=v(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:w,offsetParent:g,strategy:s}):w);return{top:(x.top-A.top+h.top)/b.y,bottom:(A.bottom-x.bottom+h.bottom)/b.y,left:(x.left-A.left+h.left)/b.x,right:(A.right-x.right+h.right)/b.x}}const S=new Set(["left","top"]);function R(){return"undefined"!=typeof window}function F(t){return O(t)?(t.nodeName||"").toLowerCase():"#document"}function k(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function C(t){var n;return null==(n=(O(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function O(t){return!!R()&&(t instanceof Node||t instanceof k(t).Node)}function T(t){return!!R()&&(t instanceof Element||t instanceof k(t).Element)}function M(t){return!!R()&&(t instanceof HTMLElement||t instanceof k(t).HTMLElement)}function P(t){return!(!R()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof k(t).ShadowRoot)}function D(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=H(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&"inline"!==r&&"contents"!==r}function z(t){return/^(table|td|th)$/.test(F(t))}function L(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const E=/transform|translate|scale|rotate|perspective|filter/,B=/paint|layout|strict|content/,$=t=>!!t&&"none"!==t;let I;function N(t){const n=T(t)?H(t):t;return $(n.transform)||$(n.translate)||$(n.scale)||$(n.rotate)||$(n.perspective)||!j()&&($(n.backdropFilter)||$(n.filter))||E.test(n.willChange||"")||B.test(n.contain||"")}function j(){return null==I&&(I="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),I}function q(t){return/^(html|body|#document)$/.test(F(t))}function H(t){return k(t).getComputedStyle(t)}function V(t){return T(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function X(t){if("html"===F(t))return t;const n=t.assignedSlot||t.parentNode||P(t)&&t.host||C(t);return P(n)?n.host:n}function Y(t){const n=X(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:M(n)&&D(n)?n:Y(n)}function _(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const r=Y(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),c=k(r);if(i){const t=G(c);return n.concat(c,c.visualViewport||[],D(r)?r:[],t&&e?_(t):[])}return n.concat(r,_(r,[],e))}function G(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function J(t){const n=H(t);let o=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const i=M(t),c=i?t.offsetWidth:o,l=i?t.offsetHeight:r,a=e(o)!==c||e(r)!==l;return a&&(o=c,r=l),{width:o,height:r,$:a}}function K(t){return T(t)?t:t.contextElement}function Q(t){const n=K(t);if(!M(n))return r(1);const o=n.getBoundingClientRect(),{width:i,height:c,$:l}=J(n);let a=(l?e(o.width):o.width)/i,s=(l?e(o.height):o.height)/c;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const U=r(0);function W(t){const n=k(t);return j()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function Z(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),c=K(t);let l=r(1);n&&(o?T(o)&&(l=Q(o)):l=Q(t));const a=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==k(t))&&n}(c,e,o)?W(c):r(0);let s=(i.left+a.x)/l.x,u=(i.top+a.y)/l.y,f=i.width/l.x,d=i.height/l.y;if(c){const t=k(c),n=o&&T(o)?k(o):o;let e=t,r=G(e);for(;r&&o&&n!==e;){const t=Q(r),n=r.getBoundingClientRect(),o=H(r),i=n.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,c=n.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,u*=t.y,f*=t.x,d*=t.y,s+=i,u+=c,e=k(r),r=G(e)}}return v({width:f,height:d,x:s,y:u})}function tt(t,n){const e=V(t).scrollLeft;return n?n.left+e:Z(C(t)).left+e}function nt(t,n){const e=t.getBoundingClientRect();return{x:e.left+n.scrollLeft-tt(t,e),y:e.top+n.scrollTop}}function et(t,e,o){let i;if("viewport"===e)i=function(t,n){const e=k(t),o=C(t),r=e.visualViewport;let i=o.clientWidth,c=o.clientHeight,l=0,a=0;if(r){i=r.width,c=r.height;const t=j();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,a=r.offsetTop)}const s=tt(o);if(s<=0){const t=o.ownerDocument,n=t.body,e=getComputedStyle(n),r="CSS1Compat"===t.compatMode&&parseFloat(e.marginLeft)+parseFloat(e.marginRight)||0,c=Math.abs(o.clientWidth-n.clientWidth-r);c<=25&&(i-=c)}else s<=25&&(i+=s);return{width:i,height:c,x:l,y:a}}(t,o);else if("document"===e)i=function(t){const e=C(t),o=V(t),r=t.ownerDocument.body,i=n(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),c=n(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let l=-o.scrollLeft+tt(t);const a=-o.scrollTop;return"rtl"===H(r).direction&&(l+=n(e.clientWidth,r.clientWidth)-i),{width:i,height:c,x:l,y:a}}(C(t));else if(T(e))i=function(t,n){const e=Z(t,!0,"fixed"===n),o=e.top+t.clientTop,i=e.left+t.clientLeft,c=M(t)?Q(t):r(1);return{width:t.clientWidth*c.x,height:t.clientHeight*c.y,x:i*c.x,y:o*c.y}}(e,o);else{const n=W(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return v(i)}function ot(t,n){const e=X(t);return!(e===n||!T(e)||q(e))&&("fixed"===H(e).position||ot(e,n))}function rt(t,n,e){const o=M(n),i=C(n),c="fixed"===e,l=Z(t,!0,c,n);let a={scrollLeft:0,scrollTop:0};const s=r(0);function u(){s.x=tt(i)}if(o||!o&&!c)if(("body"!==F(n)||D(i))&&(a=V(n)),o){const t=Z(n,!0,c,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else i&&u();c&&!o&&i&&u();const f=!i||o||c?r(0):nt(i,a);return{x:l.left+a.scrollLeft-s.x-f.x,y:l.top+a.scrollTop-s.y-f.y,width:l.width,height:l.height}}function it(t){return"static"===H(t).position}function ct(t,n){if(!M(t)||"fixed"===H(t).position)return null;if(n)return n(t);let e=t.offsetParent;return C(t)===e&&(e=e.ownerDocument.body),e}function lt(t,n){const e=k(t);if(L(t))return e;if(!M(t)){let n=X(t);for(;n&&!q(n);){if(T(n)&&!it(n))return n;n=X(n)}return e}let o=ct(t,n);for(;o&&z(o)&&it(o);)o=ct(o,n);return o&&q(o)&&it(o)&&!N(o)?e:o||function(t){let n=X(t);for(;M(n)&&!q(n);){if(N(n))return n;if(L(n))return null;n=X(n)}return null}(t)||e}const at={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:i}=t;const c="fixed"===i,l=C(o),a=!!n&&L(n.floating);if(o===l||a&&c)return e;let s={scrollLeft:0,scrollTop:0},u=r(1);const f=r(0),d=M(o);if((d||!d&&!c)&&(("body"!==F(o)||D(l))&&(s=V(o)),d)){const t=Z(o);u=Q(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const m=!l||d||c?r(0):nt(l,s);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+f.x+m.x,y:e.y*u.y-s.scrollTop*u.y+f.y+m.y}},getDocumentElement:C,getClippingRect:function(e){let{element:o,boundary:r,rootBoundary:i,strategy:c}=e;const l=[..."clippingAncestors"===r?L(o)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=_(t,[],!1).filter((t=>T(t)&&"body"!==F(t))),r=null;const i="fixed"===H(t).position;let c=i?X(t):t;for(;T(c)&&!q(c);){const n=H(c),e=N(c);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&("absolute"===r.position||"fixed"===r.position)||D(c)&&!e&&ot(t,c))?o=o.filter((t=>t!==c)):r=n,c=X(c)}return n.set(t,o),o}(o,this._c):[].concat(r),i],a=et(o,l[0],c);let s=a.top,u=a.right,f=a.bottom,d=a.left;for(let e=1;e<l.length;e++){const r=et(o,l[e],c);s=n(r.top,s),u=t(r.right,u),f=t(r.bottom,f),d=n(r.left,d)}return{width:u-d,height:f-s,x:d,y:s}},getOffsetParent:lt,getElementRects:async function(t){const n=this.getOffsetParent||lt,e=this.getDimensions,o=await e(t.floating);return{reference:rt(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=J(t);return{width:n,height:e}},getScale:Q,isElement:T,isRTL:function(t){return"rtl"===H(t).direction}};function st(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function ut(e,r,i,c){void 0===c&&(c={});const{ancestorScroll:l=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=c,d=K(e),m=l||a?[...d?_(d):[],...r?_(r):[]]:[];m.forEach((t=>{l&&t.addEventListener("scroll",i,{passive:!0}),a&&t.addEventListener("resize",i)}));const y=d&&u?function(e,r){let i,c=null;const l=C(e);function a(){var t;clearTimeout(i),null==(t=c)||t.disconnect(),c=null}return function s(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),a();const d=e.getBoundingClientRect(),{left:m,top:y,width:h,height:p}=d;if(u||r(),!h||!p)return;const x={rootMargin:-o(y)+"px "+-o(l.clientWidth-(m+h))+"px "+-o(l.clientHeight-(y+p))+"px "+-o(m)+"px",threshold:n(0,t(1,f))||1};let w=!0;function g(t){const n=t[0].intersectionRatio;if(n!==f){if(!w)return s();n?s(!1,n):i=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==n||st(d,e.getBoundingClientRect())||s(),w=!1}try{c=new IntersectionObserver(g,{...x,root:l.ownerDocument})}catch(t){c=new IntersectionObserver(g,x)}c.observe(e)}(!0),a}(d,i):null;let h,p=-1,x=null;s&&(x=new ResizeObserver((t=>{let[n]=t;n&&n.target===d&&x&&r&&(x.unobserve(r),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var t;null==(t=x)||t.observe(r)}))),i()})),d&&!f&&x.observe(d),r&&x.observe(r));let w=f?Z(e):null;return f&&function t(){const n=Z(e);w&&!st(w,n)&&i(),w=n,h=requestAnimationFrame(t)}(),i(),()=>{var t;m.forEach((t=>{l&&t.removeEventListener("scroll",i),a&&t.removeEventListener("resize",i)})),null==y||y(),null==(t=x)||t.disconnect(),x=null,f&&cancelAnimationFrame(h)}}const ft=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:c,middlewareData:u}=n,f=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),c=a(e),u=s(e),f="y"===d(e),m=S.has(c)?-1:1,y=i&&f?-1:1,h=l(n,t);let{mainAxis:p,crossAxis:x,alignmentAxis:w}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return u&&"number"==typeof w&&(x="end"===u?-1*w:w),f?{x:x*y,y:p*m}:{x:p*m,y:x*y}}(n,t);return c===(null==(e=u.offset)?void 0:e.placement)&&null!=(o=u.arrow)&&o.alignmentOffset?{}:{x:r+f.x,y:i+f.y,data:{...f,placement:c}}}}},dt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r,platform:i}=n,{mainAxis:s=!0,crossAxis:f=!1,limiter:m={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...y}=l(t,n),h={x:e,y:o},p=await i.detectOverflow(n,y),x=d(a(r)),w=u(x);let g=h[w],v=h[x];s&&(g=c(g+p["y"===w?"top":"left"],g,g-p["y"===w?"bottom":"right"])),f&&(v=c(v+p["y"===x?"top":"left"],v,v-p["y"===x?"bottom":"right"]));const b=m.fn({...n,[w]:g,[x]:v});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[w]:s,[x]:f}}}}}},mt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:c,initialPlacement:u,platform:v,elements:b}=n,{mainAxis:A=!0,crossAxis:S=!0,fallbackPlacements:R,fallbackStrategy:F="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:C=!0,...O}=l(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const T=a(r),M=d(u),P=a(u)===u,D=await(null==v.isRTL?void 0:v.isRTL(b.floating)),z=R||(P||!C?[g(u)]:function(t){const n=g(t);return[y(t),n,y(n)]}(u)),L="none"!==k;!R&&L&&z.push(...function(t,n,e,o){const r=s(t);let i=function(t,n,e){switch(t){case"top":case"bottom":return e?n?p:h:n?h:p;case"left":case"right":return n?x:w;default:return[]}}(a(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(y)))),i}(u,C,k,D));const E=[u,...z],B=await v.detectOverflow(n,O),$=[];let I=(null==(o=i.flip)?void 0:o.overflows)||[];if(A&&$.push(B[T]),S){const t=function(t,n,e){void 0===e&&(e=!1);const o=s(t),r=m(t),i=f(r);let c="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(c=g(c)),[c,g(c)]}(r,c,D);$.push(B[t[0]],B[t[1]])}if(I=[...I,{placement:r,overflows:$}],!$.every((t=>t<=0))){var N,j;const t=((null==(N=i.flip)?void 0:N.index)||0)+1,n=E[t];if(n&&("alignment"!==S||M===d(n)||I.every((t=>d(t.placement)!==M||t.overflows[0]>0))))return{data:{index:t,overflows:I},reset:{placement:n}};let e=null==(j=I.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:j.placement;if(!e)switch(F){case"bestFit":{var q;const t=null==(q=I.filter((t=>{if(L){const n=d(t.placement);return n===M||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:q[0];t&&(e=t);break}case"initialPlacement":e=u}if(r!==e)return{reset:{placement:e}}}return{}}}},yt=(t,n,e)=>{const o=new Map,r={platform:at,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:c}=e,l=c.detectOverflow?c:{...c,detectOverflow:A},a=await(null==c.isRTL?void 0:c.isRTL(n));let s=await c.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:f}=b(s,o,a),d=o,m=0;const y={};for(let e=0;e<i.length;e++){const h=i[e];if(!h)continue;const{name:p,fn:x}=h,{x:w,y:g,data:v,reset:A}=await x({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:y,rects:s,platform:l,elements:{reference:t,floating:n}});u=null!=w?w:u,f=null!=g?g:f,y[p]={...y[p],...v},A&&m<50&&(m++,"object"==typeof A&&(A.placement&&(d=A.placement),A.rects&&(s=!0===A.rects?await c.getElementRects({reference:t,floating:n,strategy:r}):A.rects),({x:u,y:f}=b(s,d,a))),e=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:y}})(t,n,{...r,platform:i})};export{ut as a,yt as c,mt as f,ft as o,dt as s}
1
+ const t=Math.min,n=Math.max,e=Math.round,o=Math.floor,r=t=>({x:t,y:t}),i={left:"right",right:"left",bottom:"top",top:"bottom"};function c(e,o,r){return n(e,t(o,r))}function l(t,n){return"function"==typeof t?t(n):t}function a(t){return t.split("-")[0]}function s(t){return t.split("-")[1]}function u(t){return"x"===t?"y":"x"}function f(t){return"y"===t?"height":"width"}function d(t){const n=t[0];return"t"===n||"b"===n?"y":"x"}function m(t){return u(d(t))}function y(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const h=["left","right"],p=["right","left"],w=["top","bottom"],x=["bottom","top"];function g(t){const n=a(t);return i[n]+t.slice(n.length)}function v(t){const{x:n,y:e,width:o,height:r}=t;return{width:o,height:r,top:e,left:n,right:n+o,bottom:e+r,x:n,y:e}}function b(t,n,e){let{reference:o,floating:r}=t;const i=d(n),c=m(n),l=f(c),u=a(n),y="y"===i,h=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,w=o[l]/2-r[l]/2;let x;switch(u){case"top":x={x:h,y:o.y-r.height};break;case"bottom":x={x:h,y:o.y+o.height};break;case"right":x={x:o.x+o.width,y:p};break;case"left":x={x:o.x-r.width,y:p};break;default:x={x:o.x,y:o.y}}switch(s(n)){case"start":x[c]-=w*(e&&y?-1:1);break;case"end":x[c]+=w*(e&&y?-1:1)}return x}async function A(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:c,elements:a,strategy:s}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:y=0}=l(n,t),h=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(y),p=a[m?"floating"===d?"reference":"floating":d],w=v(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(p)))||e?p:p.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:f,strategy:s})),x="floating"===d?{x:o,y:r,width:c.floating.width,height:c.floating.height}:c.reference,g=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),b=await(null==i.isElement?void 0:i.isElement(g))&&await(null==i.getScale?void 0:i.getScale(g))||{x:1,y:1},A=v(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:x,offsetParent:g,strategy:s}):x);return{top:(w.top-A.top+h.top)/b.y,bottom:(A.bottom-w.bottom+h.bottom)/b.y,left:(w.left-A.left+h.left)/b.x,right:(A.right-w.right+h.right)/b.x}}const S=new Set(["left","top"]);function R(){return"undefined"!=typeof window}function F(t){return O(t)?(t.nodeName||"").toLowerCase():"#document"}function k(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function C(t){var n;return null==(n=(O(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function O(t){return!!R()&&(t instanceof Node||t instanceof k(t).Node)}function T(t){return!!R()&&(t instanceof Element||t instanceof k(t).Element)}function M(t){return!!R()&&(t instanceof HTMLElement||t instanceof k(t).HTMLElement)}function P(t){return!(!R()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof k(t).ShadowRoot)}function z(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=H(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&"inline"!==r&&"contents"!==r}function D(t){return/^(table|td|th)$/.test(F(t))}function L(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const E=/transform|translate|scale|rotate|perspective|filter/,B=/paint|layout|strict|content/,$=t=>!!t&&"none"!==t;let I;function N(t){const n=T(t)?H(t):t;return $(n.transform)||$(n.translate)||$(n.scale)||$(n.rotate)||$(n.perspective)||!j()&&($(n.backdropFilter)||$(n.filter))||E.test(n.willChange||"")||B.test(n.contain||"")}function j(){return null==I&&(I="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),I}function q(t){return/^(html|body|#document)$/.test(F(t))}function H(t){return k(t).getComputedStyle(t)}function V(t){return T(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function W(t){if("html"===F(t))return t;const n=t.assignedSlot||t.parentNode||P(t)&&t.host||C(t);return P(n)?n.host:n}function X(t){const n=W(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:M(n)&&z(n)?n:X(n)}function Y(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const r=X(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),c=k(r);if(i){const t=_(c);return n.concat(c,c.visualViewport||[],z(r)?r:[],t&&e?Y(t):[])}return n.concat(r,Y(r,[],e))}function _(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function G(t){const n=H(t);let o=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const i=M(t),c=i?t.offsetWidth:o,l=i?t.offsetHeight:r,a=e(o)!==c||e(r)!==l;return a&&(o=c,r=l),{width:o,height:r,$:a}}function J(t){return T(t)?t:t.contextElement}function K(t){const n=J(t);if(!M(n))return r(1);const o=n.getBoundingClientRect(),{width:i,height:c,$:l}=G(n);let a=(l?e(o.width):o.width)/i,s=(l?e(o.height):o.height)/c;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Q=r(0);function U(t){const n=k(t);return j()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:Q}function Z(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),c=J(t);let l=r(1);n&&(o?T(o)&&(l=K(o)):l=K(t));const a=function(t,n,e){return void 0===n&&(n=!1),!(!e||n&&e!==k(t))&&n}(c,e,o)?U(c):r(0);let s=(i.left+a.x)/l.x,u=(i.top+a.y)/l.y,f=i.width/l.x,d=i.height/l.y;if(c){const t=k(c),n=o&&T(o)?k(o):o;let e=t,r=_(e);for(;r&&o&&n!==e;){const t=K(r),n=r.getBoundingClientRect(),o=H(r),i=n.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,c=n.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;s*=t.x,u*=t.y,f*=t.x,d*=t.y,s+=i,u+=c,e=k(r),r=_(e)}}return v({width:f,height:d,x:s,y:u})}function tt(t,n){const e=V(t).scrollLeft;return n?n.left+e:Z(C(t)).left+e}function nt(t,n){const e=t.getBoundingClientRect();return{x:e.left+n.scrollLeft-tt(t,e),y:e.top+n.scrollTop}}function et(t,e,o){let i;if("viewport"===e)i=function(t,n){const e=k(t),o=C(t),r=e.visualViewport;let i=o.clientWidth,c=o.clientHeight,l=0,a=0;if(r){i=r.width,c=r.height;const t=j();(!t||t&&"fixed"===n)&&(l=r.offsetLeft,a=r.offsetTop)}const s=tt(o);if(s<=0){const t=o.ownerDocument,n=t.body,e=getComputedStyle(n),r="CSS1Compat"===t.compatMode&&parseFloat(e.marginLeft)+parseFloat(e.marginRight)||0,c=Math.abs(o.clientWidth-n.clientWidth-r);c<=25&&(i-=c)}else s<=25&&(i+=s);return{width:i,height:c,x:l,y:a}}(t,o);else if("document"===e)i=function(t){const e=C(t),o=V(t),r=t.ownerDocument.body,i=n(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),c=n(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let l=-o.scrollLeft+tt(t);const a=-o.scrollTop;return"rtl"===H(r).direction&&(l+=n(e.clientWidth,r.clientWidth)-i),{width:i,height:c,x:l,y:a}}(C(t));else if(T(e))i=function(t,n){const e=Z(t,!0,"fixed"===n),o=e.top+t.clientTop,i=e.left+t.clientLeft,c=M(t)?K(t):r(1);return{width:t.clientWidth*c.x,height:t.clientHeight*c.y,x:i*c.x,y:o*c.y}}(e,o);else{const n=U(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return v(i)}function ot(t,n){const e=W(t);return!(e===n||!T(e)||q(e))&&("fixed"===H(e).position||ot(e,n))}function rt(t,n,e){const o=M(n),i=C(n),c="fixed"===e,l=Z(t,!0,c,n);let a={scrollLeft:0,scrollTop:0};const s=r(0);function u(){s.x=tt(i)}if(o||!o&&!c)if(("body"!==F(n)||z(i))&&(a=V(n)),o){const t=Z(n,!0,c,n);s.x=t.x+n.clientLeft,s.y=t.y+n.clientTop}else i&&u();c&&!o&&i&&u();const f=!i||o||c?r(0):nt(i,a);return{x:l.left+a.scrollLeft-s.x-f.x,y:l.top+a.scrollTop-s.y-f.y,width:l.width,height:l.height}}function it(t){return"static"===H(t).position}function ct(t,n){if(!M(t)||"fixed"===H(t).position)return null;if(n)return n(t);let e=t.offsetParent;return C(t)===e&&(e=e.ownerDocument.body),e}function lt(t,n){const e=k(t);if(L(t))return e;if(!M(t)){let n=W(t);for(;n&&!q(n);){if(T(n)&&!it(n))return n;n=W(n)}return e}let o=ct(t,n);for(;o&&D(o)&&it(o);)o=ct(o,n);return o&&q(o)&&it(o)&&!N(o)?e:o||function(t){let n=W(t);for(;M(n)&&!q(n);){if(N(n))return n;if(L(n))return null;n=W(n)}return null}(t)||e}const at={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:i}=t;const c="fixed"===i,l=C(o),a=!!n&&L(n.floating);if(o===l||a&&c)return e;let s={scrollLeft:0,scrollTop:0},u=r(1);const f=r(0),d=M(o);if((d||!d&&!c)&&(("body"!==F(o)||z(l))&&(s=V(o)),d)){const t=Z(o);u=K(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const m=!l||d||c?r(0):nt(l,s);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-s.scrollLeft*u.x+f.x+m.x,y:e.y*u.y-s.scrollTop*u.y+f.y+m.y}},getDocumentElement:C,getClippingRect:function(e){let{element:o,boundary:r,rootBoundary:i,strategy:c}=e;const l=[..."clippingAncestors"===r?L(o)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=Y(t,[],!1).filter((t=>T(t)&&"body"!==F(t))),r=null;const i="fixed"===H(t).position;let c=i?W(t):t;for(;T(c)&&!q(c);){const n=H(c),e=N(c);e||"fixed"!==n.position||(r=null),(i?!e&&!r:!e&&"static"===n.position&&r&&("absolute"===r.position||"fixed"===r.position)||z(c)&&!e&&ot(t,c))?o=o.filter((t=>t!==c)):r=n,c=W(c)}return n.set(t,o),o}(o,this._c):[].concat(r),i],a=et(o,l[0],c);let s=a.top,u=a.right,f=a.bottom,d=a.left;for(let e=1;e<l.length;e++){const r=et(o,l[e],c);s=n(r.top,s),u=t(r.right,u),f=t(r.bottom,f),d=n(r.left,d)}return{width:u-d,height:f-s,x:d,y:s}},getOffsetParent:lt,getElementRects:async function(t){const n=this.getOffsetParent||lt,e=this.getDimensions,o=await e(t.floating);return{reference:rt(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:n,height:e}=G(t);return{width:n,height:e}},getScale:K,isElement:T,isRTL:function(t){return"rtl"===H(t).direction}};function st(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function ut(e,r,i,c){void 0===c&&(c={});const{ancestorScroll:l=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:f=!1}=c,d=J(e),m=l||a?[...d?Y(d):[],...r?Y(r):[]]:[];m.forEach((t=>{l&&t.addEventListener("scroll",i,{passive:!0}),a&&t.addEventListener("resize",i)}));const y=d&&u?function(e,r){let i,c=null;const l=C(e);function a(){var t;clearTimeout(i),null==(t=c)||t.disconnect(),c=null}return function s(u,f){void 0===u&&(u=!1),void 0===f&&(f=1),a();const d=e.getBoundingClientRect(),{left:m,top:y,width:h,height:p}=d;if(u||r(),!h||!p)return;const w={rootMargin:-o(y)+"px "+-o(l.clientWidth-(m+h))+"px "+-o(l.clientHeight-(y+p))+"px "+-o(m)+"px",threshold:n(0,t(1,f))||1};let x=!0;function g(t){const n=t[0].intersectionRatio;if(n!==f){if(!x)return s();n?s(!1,n):i=setTimeout((()=>{s(!1,1e-7)}),1e3)}1!==n||st(d,e.getBoundingClientRect())||s(),x=!1}try{c=new IntersectionObserver(g,{...w,root:l.ownerDocument})}catch(t){c=new IntersectionObserver(g,w)}c.observe(e)}(!0),a}(d,i):null;let h,p=-1,w=null;s&&(w=new ResizeObserver((t=>{let[n]=t;n&&n.target===d&&w&&r&&(w.unobserve(r),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(r)}))),i()})),d&&!f&&w.observe(d),r&&w.observe(r));let x=f?Z(e):null;return f&&function t(){const n=Z(e);x&&!st(x,n)&&i(),x=n,h=requestAnimationFrame(t)}(),i(),()=>{var t;m.forEach((t=>{l&&t.removeEventListener("scroll",i),a&&t.removeEventListener("resize",i)})),null==y||y(),null==(t=w)||t.disconnect(),w=null,f&&cancelAnimationFrame(h)}}const ft=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:c,middlewareData:u}=n,f=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),c=a(e),u=s(e),f="y"===d(e),m=S.has(c)?-1:1,y=i&&f?-1:1,h=l(n,t);let{mainAxis:p,crossAxis:w,alignmentAxis:x}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return u&&"number"==typeof x&&(w="end"===u?-1*x:x),f?{x:w*y,y:p*m}:{x:p*m,y:w*y}}(n,t);return c===(null==(e=u.offset)?void 0:e.placement)&&null!=(o=u.arrow)&&o.alignmentOffset?{}:{x:r+f.x,y:i+f.y,data:{...f,placement:c}}}}},dt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r,platform:i}=n,{mainAxis:s=!0,crossAxis:f=!1,limiter:m={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...y}=l(t,n),h={x:e,y:o},p=await i.detectOverflow(n,y),w=d(a(r)),x=u(w);let g=h[x],v=h[w];s&&(g=c(g+p["y"===x?"top":"left"],g,g-p["y"===x?"bottom":"right"])),f&&(v=c(v+p["y"===w?"top":"left"],v,v-p["y"===w?"bottom":"right"]));const b=m.fn({...n,[x]:g,[w]:v});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[x]:s,[w]:f}}}}}},mt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:c,initialPlacement:u,platform:v,elements:b}=n,{mainAxis:A=!0,crossAxis:S=!0,fallbackPlacements:R,fallbackStrategy:F="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:C=!0,...O}=l(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const T=a(r),M=d(u),P=a(u)===u,z=await(null==v.isRTL?void 0:v.isRTL(b.floating)),D=R||(P||!C?[g(u)]:function(t){const n=g(t);return[y(t),n,y(n)]}(u)),L="none"!==k;!R&&L&&D.push(...function(t,n,e,o){const r=s(t);let i=function(t,n,e){switch(t){case"top":case"bottom":return e?n?p:h:n?h:p;case"left":case"right":return n?w:x;default:return[]}}(a(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(y)))),i}(u,C,k,z));const E=[u,...D],B=await v.detectOverflow(n,O),$=[];let I=(null==(o=i.flip)?void 0:o.overflows)||[];if(A&&$.push(B[T]),S){const t=function(t,n,e){void 0===e&&(e=!1);const o=s(t),r=m(t),i=f(r);let c="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(c=g(c)),[c,g(c)]}(r,c,z);$.push(B[t[0]],B[t[1]])}if(I=[...I,{placement:r,overflows:$}],!$.every((t=>t<=0))){var N,j;const t=((null==(N=i.flip)?void 0:N.index)||0)+1,n=E[t];if(n&&("alignment"!==S||M===d(n)||I.every((t=>d(t.placement)!==M||t.overflows[0]>0))))return{data:{index:t,overflows:I},reset:{placement:n}};let e=null==(j=I.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:j.placement;if(!e)switch(F){case"bestFit":{var q;const t=null==(q=I.filter((t=>{if(L){const n=d(t.placement);return n===M||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:q[0];t&&(e=t);break}case"initialPlacement":e=u}if(r!==e)return{reset:{placement:e}}}return{}}}},yt=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(o){var r,i;const{placement:c,rects:u,platform:f,elements:m}=o,{apply:y=()=>{},...h}=l(e,o),p=await f.detectOverflow(o,h),w=a(c),x=s(c),g="y"===d(c),{width:v,height:b}=u.floating;let A,S;"top"===w||"bottom"===w?(A=w,S=x===(await(null==f.isRTL?void 0:f.isRTL(m.floating))?"start":"end")?"left":"right"):(S=w,A="end"===x?"top":"bottom");const R=b-p.top-p.bottom,F=v-p.left-p.right;let k=t(b-p[A],R),C=t(v-p[S],F);if(null!=(r=o.middlewareData.shift)&&r.enabled.x&&(C=F),null!=(i=o.middlewareData.shift)&&i.enabled.y&&(k=R),!o.middlewareData.shift&&!x){const t=n(p.left,0),e=n(p.right,0),o=n(p.top,0),r=n(p.bottom,0);g?C=v-2*(0!==t||0!==e?t+e:n(p.left,p.right)):k=b-2*(0!==o||0!==r?o+r:n(p.top,p.bottom))}await y({...o,availableWidth:C,availableHeight:k});const O=await f.getDimensions(m.floating);return v!==O.width||b!==O.height?{reset:{rects:!0}}:{}}}},ht=(t,n,e)=>{const o=new Map,r={platform:at,...e},i={...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:c}=e,l=c.detectOverflow?c:{...c,detectOverflow:A},a=await(null==c.isRTL?void 0:c.isRTL(n));let s=await c.getElementRects({reference:t,floating:n,strategy:r}),{x:u,y:f}=b(s,o,a),d=o,m=0;const y={};for(let e=0;e<i.length;e++){const h=i[e];if(!h)continue;const{name:p,fn:w}=h,{x,y:g,data:v,reset:A}=await w({x:u,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:y,rects:s,platform:l,elements:{reference:t,floating:n}});u=null!=x?x:u,f=null!=g?g:f,y[p]={...y[p],...v},A&&m<50&&(m++,"object"==typeof A&&(A.placement&&(d=A.placement),A.rects&&(s=!0===A.rects?await c.getElementRects({reference:t,floating:n,strategy:r}):A.rects),({x:u,y:f}=b(s,d,a))),e=-1)}return{x:u,y:f,placement:d,strategy:r,middlewareData:y}})(t,n,{...r,platform:i})};export{ut as a,yt as b,ht as c,mt as f,ft as o,dt as s}
@@ -1 +1 @@
1
- import{t as e,p as s,H as i,h as r,a as n}from"./index.js";const t=s(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.size="md"}render(){return r(n,{key:"0414d6e3be8588ad4c71c5e4cf227075ac7494ab",role:"status"},r("span",{key:"61e5d0a16b5fd566767ef098477c3144a9c1c987",class:{spinner:!0,[`size-${this.size}`]:!0}}),r("span",{key:"ea33b6e6603ba23e7a117ef978329c83818a044b",class:"sr-only"},"Carregando"))}static get style(){return":host{display:inline-flex;color:var(--ui-accent)}.spinner{display:inline-block;border-radius:var(--ui-radius-full);border:2px solid currentColor;border-top-color:transparent;animation:ui-spinner-spin 0.7s linear infinite}.size-sm{width:1rem;height:1rem}.size-md{width:1.5rem;height:1.5rem}.size-lg{width:2rem;height:2rem}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@keyframes ui-spinner-spin{to{transform:rotate(360deg)}}"}},[1,"ui-spinner",{size:[1]}]);function a(){"undefined"!=typeof customElements&&["ui-spinner"].forEach((s=>{"ui-spinner"===s&&(customElements.get(e(s))||customElements.define(e(s),t))}))}a();export{t as U,a as d}
1
+ import{t as e,p as s,H as i,h as r,a as n}from"./index.js";const t=s(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.size="md"}render(){return r(n,{key:"fdbe42a3b0cd906ff4c0dd79cc661370aa36cf22",role:"status"},r("span",{key:"aab2633191dd34f3b9ba49d4335ec3aaafcfb0a8",class:{spinner:!0,[`size-${this.size}`]:!0}}),r("span",{key:"bd4d9cf78c4b05dcf5e1146a13f9754dce2d5127",class:"sr-only"},"Carregando"))}static get style(){return":host{display:inline-flex;color:var(--ui-accent)}.spinner{display:inline-block;border-radius:var(--ui-radius-full);border:2px solid currentColor;border-top-color:transparent;animation:ui-spinner-spin 0.7s linear infinite}.size-sm{width:1rem;height:1rem}.size-md{width:1.5rem;height:1.5rem}.size-lg{width:2rem;height:2rem}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@keyframes ui-spinner-spin{to{transform:rotate(360deg)}}"}},[1,"ui-spinner",{size:[1]}]);function a(){"undefined"!=typeof customElements&&["ui-spinner"].forEach((s=>{"ui-spinner"===s&&(customElements.get(e(s))||customElements.define(e(s),t))}))}a();export{t as U,a as d}
@@ -1 +1 @@
1
- import{t as e,p as t,H as o,c as r,h as a,a as i}from"./index.js";const s=t(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiToggle=r(this,"uiToggle"),this.heading="",this.open=!1,this.onToggle=e=>{this.open=e.currentTarget.open,this.uiToggle.emit(this.open)}}render(){return a(i,{key:"4b2e9ef0cda9117df86bef529c4bead45bbe8090"},a("details",{key:"18c5ff6f8d9ac966d36240949670d84fc2603883",open:this.open,onToggle:this.onToggle},a("summary",{key:"608bb56fe9b4558d50dc50be2edb922233de35aa"},a("span",{key:"5d65f0199fff46a4a32139ab1565533dfb299ea9",class:"heading"},this.heading),a("svg",{key:"dd32e7223d4eab848185fe027e86892643e98070",class:"chevron",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},a("polyline",{key:"d9d02a5e5cfe20a77ae5cd6e383962656038d6d5",points:"6 9 12 15 18 9"}))),a("div",{key:"b82b7a754b6eb160044b0eadf85ff7a8812e80a5",class:"content"},a("slot",{key:"c6a5b13158bbef248980737d9cea866178d2122c"}))))}static get style(){return":host{display:block;font-family:var(--ui-font-sans);border-bottom:1px solid var(--ui-border)}summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;cursor:pointer;font-weight:500;color:var(--ui-foreground);list-style:none;outline:none}summary::-webkit-details-marker{display:none}summary:hover{color:var(--ui-accent)}summary:hover .chevron{color:var(--ui-accent)}summary:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring);border-radius:var(--ui-radius-sm)}.chevron{flex:none;color:var(--ui-text-muted);transition:transform var(--ui-duration) var(--ui-ease)}details[open] .chevron{transform:rotate(180deg)}.content{padding-bottom:1rem;color:var(--ui-text-muted)}"}},[257,"ui-accordion-item",{heading:[1],open:[1540]}]);function n(){"undefined"!=typeof customElements&&["ui-accordion-item"].forEach((t=>{"ui-accordion-item"===t&&(customElements.get(e(t))||customElements.define(e(t),s))}))}n();const d=s,c=n;export{d as UiAccordionItem,c as defineCustomElement}
1
+ import{t as e,p as t,H as o,c as a,h as r,a as i}from"./index.js";const s=t(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiToggle=a(this,"uiToggle"),this.heading="",this.open=!1,this.onToggle=e=>{this.open=e.currentTarget.open,this.uiToggle.emit(this.open)}}render(){return r(i,{key:"11d00df0e199adbc3badfa4e80702b1b1b3ccba7"},r("details",{key:"44b13038c647250ca575b39a29c51b4552bf08af",open:this.open,onToggle:this.onToggle},r("summary",{key:"08f7b8573dcfe59772f5e8f5aba4e5f35d4b56e1"},r("span",{key:"cd9805611d92d5e79fb8ef919641be21db847653",class:"heading"},this.heading),r("svg",{key:"86f746ee1069f1da35ae413d0e3027faa3c16e28",class:"chevron",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},r("polyline",{key:"f390ee46eb11ea19bd1009a6729e350190cb3832",points:"6 9 12 15 18 9"}))),r("div",{key:"a8648065e4fabb367320d891d6ca31a3d66a6e92",class:"content"},r("slot",{key:"8666001409bd732acbc0b5cd8aa3c078de166a77"}))))}static get style(){return":host{display:block;font-family:var(--ui-font-sans);border-bottom:1px solid var(--ui-border)}summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;cursor:pointer;font-weight:500;color:var(--ui-foreground);list-style:none;outline:none}summary::-webkit-details-marker{display:none}summary:hover{color:var(--ui-accent)}summary:hover .chevron{color:var(--ui-accent)}summary:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring);border-radius:var(--ui-radius-sm)}.chevron{flex:none;color:var(--ui-text-muted);transition:transform var(--ui-duration) var(--ui-ease)}details[open] .chevron{transform:rotate(180deg)}.content{padding-bottom:1rem;color:var(--ui-text-muted)}"}},[257,"ui-accordion-item",{heading:[1],open:[1540]}]);function n(){"undefined"!=typeof customElements&&["ui-accordion-item"].forEach((t=>{"ui-accordion-item"===t&&(customElements.get(e(t))||customElements.define(e(t),s))}))}n();const c=s,d=n;export{c as UiAccordionItem,d as defineCustomElement}
@@ -1 +1 @@
1
- import{t,p as s,H as e,h as a,a as o}from"./index.js";const c=s(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return a(o,{key:"839f17ea9b81b97b0ca49e89d9907c6a0571f049"},a("slot",{key:"71badd4150a835acfaa0d5867287a30c8a0b7936"}))}static get style(){return":host{display:block;font-family:var(--ui-font-sans)}"}},[257,"ui-accordion"]);function n(){"undefined"!=typeof customElements&&["ui-accordion"].forEach((s=>{"ui-accordion"===s&&(customElements.get(t(s))||customElements.define(t(s),c))}))}n();const i=c,r=n;export{i as UiAccordion,r as defineCustomElement}
1
+ import{t,p as s,H as e,h as c,a as o}from"./index.js";const n=s(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return c(o,{key:"56a5f7f6b52c0b6a4c38cb46ddba0cd74882bd66"},c("slot",{key:"e93260e203e7530a478cf67911c6ad82b1bb42b8"}))}static get style(){return":host{display:block;font-family:var(--ui-font-sans)}"}},[257,"ui-accordion"]);function a(){"undefined"!=typeof customElements&&["ui-accordion"].forEach((s=>{"ui-accordion"===s&&(customElements.get(t(s))||customElements.define(t(s),n))}))}a();const i=n,r=a;export{i as UiAccordion,r as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as t,H as r,h as s,a}from"./index.js";const i=t(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(a,{key:"2413b9065333e5beb192143529b60daceefc11fe"},s("div",{key:"df93cb1e73bc05abfee09226111da32f50bf908d",class:"group"},s("slot",{key:"fa7fc7b57b009355e32c904cc78b46848403c0eb"})))}static get style(){return":host{display:inline-flex}.group{display:inline-flex;align-items:center}::slotted(*){border-radius:var(--ui-radius-full)}::slotted(*:not(:first-child)){margin-left:-0.6rem}::slotted(ui-avatar){outline:2px solid var(--ui-background);border-radius:var(--ui-radius-full)}"}},[257,"ui-avatar-group"]);function u(){"undefined"!=typeof customElements&&["ui-avatar-group"].forEach((t=>{"ui-avatar-group"===t&&(customElements.get(e(t))||customElements.define(e(t),i))}))}u();const o=i,l=u;export{o as UiAvatarGroup,l as defineCustomElement}
1
+ import{t as e,p as a,H as t,h as r,a as s}from"./index.js";const i=a(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return r(s,{key:"5c342ae641715653dddb31b78aeee575b8aed1f7"},r("div",{key:"51f02e90a80b567ecae3bec66409fe81fd23311b",class:"group"},r("slot",{key:"e51f5620608a021eac9f11caba645a528dad4e82"})))}static get style(){return":host{display:inline-flex}.group{display:inline-flex;align-items:center}::slotted(*){border-radius:var(--ui-radius-full)}::slotted(*:not(:first-child)){margin-left:-0.6rem}::slotted(ui-avatar){outline:2px solid var(--ui-background);border-radius:var(--ui-radius-full)}"}},[257,"ui-avatar-group"]);function u(){"undefined"!=typeof customElements&&["ui-avatar-group"].forEach((a=>{"ui-avatar-group"===a&&(customElements.get(e(a))||customElements.define(e(a),i))}))}u();const o=i,d=u;export{o as UiAvatarGroup,d as defineCustomElement}
@@ -1 +1 @@
1
- import{t as a,p as t,H as s,h as e,a as i}from"./index.js";const r=t(class extends s{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.alt=""}render(){return e(i,{key:"0a3b07acb18d2ddeecf3b072fcd6913dbc187474"},e("span",{key:"9b6c302f378ef47385f43d24a3fe491cdec0bfe0",class:"wrapper"},e("span",{key:"5093f8e180da9c3b1583da7f651bc69be89821b9",class:"avatar"},this.src?e("img",{class:"image",src:this.src,alt:this.alt}):e("span",{class:"fallback"},this.fallback)),this.status&&e("span",{key:"920d70149458e747aef1ac35c945a0b403986928",class:"status status-"+this.status,"aria-label":this.status})))}static get style(){return":host{display:inline-block;}.avatar{display:inline-flex;align-items:center;justify-content:center;width:var(--ui-avatar-size, 2.5rem);height:var(--ui-avatar-size, 2.5rem);border-radius:var(--ui-radius-full);border:1px solid var(--ui-border);background:var(--ui-chip);overflow:hidden;font-family:var(--ui-font-sans)}.image{width:100%;height:100%;object-fit:cover}.fallback{font-size:0.875rem;font-weight:500;color:var(--ui-text-muted);line-height:1}.wrapper{position:relative;display:inline-flex}.status{position:absolute;right:0;bottom:0;width:28%;height:28%;min-width:0.55rem;min-height:0.55rem;border-radius:var(--ui-radius-full);border:2px solid var(--ui-background);box-sizing:border-box}.status-online{background:var(--ui-success)}.status-busy{background:var(--ui-danger)}.status-away{background:var(--ui-warning)}.status-offline{background:var(--ui-text-faint)}"}},[1,"ui-avatar",{src:[1],alt:[1],fallback:[1],status:[1]}]);function n(){"undefined"!=typeof customElements&&["ui-avatar"].forEach((t=>{"ui-avatar"===t&&(customElements.get(a(t))||customElements.define(a(t),r))}))}n();const o=r,u=n;export{o as UiAvatar,u as defineCustomElement}
1
+ import{t as a,p as t,H as s,h as i,a as e}from"./index.js";const r=t(class extends s{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.alt=""}render(){return i(e,{key:"6347a5a14cb07b2782759417006f8a23fd7a6b54"},i("span",{key:"dfb14ae7a3e19312a7fa597612a9d10842561d8f",class:"wrapper"},i("span",{key:"66ad000b4c2f1bea00332cc164a86ee196b80943",class:"avatar"},this.src?i("img",{class:"image",src:this.src,alt:this.alt}):i("span",{class:"fallback"},this.fallback)),this.status&&i("span",{key:"d40f9d4f2c42415aa8c346f2819aade2221a2829",class:"status status-"+this.status,"aria-label":this.status})))}static get style(){return":host{display:inline-block;}.avatar{display:inline-flex;align-items:center;justify-content:center;width:var(--ui-avatar-size, 2.5rem);height:var(--ui-avatar-size, 2.5rem);border-radius:var(--ui-radius-full);border:1px solid var(--ui-border);background:var(--ui-chip);overflow:hidden;font-family:var(--ui-font-sans)}.image{width:100%;height:100%;object-fit:cover}.fallback{font-size:0.875rem;font-weight:500;color:var(--ui-text-muted);line-height:1}.wrapper{position:relative;display:inline-flex}.status{position:absolute;right:0;bottom:0;width:28%;height:28%;min-width:0.55rem;min-height:0.55rem;border-radius:var(--ui-radius-full);border:2px solid var(--ui-background);box-sizing:border-box}.status-online{background:var(--ui-success)}.status-busy{background:var(--ui-danger)}.status-away{background:var(--ui-warning)}.status-offline{background:var(--ui-text-faint)}"}},[1,"ui-avatar",{src:[1],alt:[1],fallback:[1],status:[1]}]);function n(){"undefined"!=typeof customElements&&["ui-avatar"].forEach((t=>{"ui-avatar"===t&&(customElements.get(a(t))||customElements.define(a(t),r))}))}n();const o=r,u=n;export{o as UiAvatar,u as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as t,H as r,h as i,a as n}from"./index.js";const s=t(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.current=!1}renderSeparator(){return i("span",{class:"separator","aria-hidden":"true"},i("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},i("polyline",{points:"9 18 15 12 9 6"})))}render(){return i(n,{key:"20d22dde2f7b6b4c03a76b4e6be851a0c4cd39d5"},this.href&&!this.current?i("a",{class:"link",href:this.href},i("slot",null)):i("span",{class:"current","aria-current":this.current?"page":void 0},i("slot",null)),!this.current&&this.renderSeparator())}static get style(){return":host{display:inline-flex;align-items:center}.link{color:var(--ui-text-muted);text-decoration:none;transition:color var(--ui-duration) var(--ui-ease)}.link:hover{color:var(--ui-accent)}.current{color:var(--ui-foreground);font-weight:500}.separator{display:inline-flex;align-items:center;margin:0 0.5rem;color:var(--ui-text-faint)}.separator svg{display:block}"}},[257,"ui-breadcrumb-item",{href:[1],current:[4]}]);function o(){"undefined"!=typeof customElements&&["ui-breadcrumb-item"].forEach((t=>{"ui-breadcrumb-item"===t&&(customElements.get(e(t))||customElements.define(e(t),s))}))}o();const a=s,l=o;export{a as UiBreadcrumbItem,l as defineCustomElement}
1
+ import{t as e,p as t,H as r,h as i,a as n}from"./index.js";const s=t(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.current=!1}renderSeparator(){return i("span",{class:"separator","aria-hidden":"true"},i("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},i("polyline",{points:"9 18 15 12 9 6"})))}render(){return i(n,{key:"daa9ab5db1045afddfd1c1656a1635fd98a9e5cb"},this.href&&!this.current?i("a",{class:"link",href:this.href},i("slot",null)):i("span",{class:"current","aria-current":this.current?"page":void 0},i("slot",null)),!this.current&&this.renderSeparator())}static get style(){return":host{display:inline-flex;align-items:center}.link{color:var(--ui-text-muted);text-decoration:none;transition:color var(--ui-duration) var(--ui-ease)}.link:hover{color:var(--ui-accent)}.current{color:var(--ui-foreground);font-weight:500}.separator{display:inline-flex;align-items:center;margin:0 0.5rem;color:var(--ui-text-faint)}.separator svg{display:block}"}},[257,"ui-breadcrumb-item",{href:[1],current:[4]}]);function a(){"undefined"!=typeof customElements&&["ui-breadcrumb-item"].forEach((t=>{"ui-breadcrumb-item"===t&&(customElements.get(e(t))||customElements.define(e(t),s))}))}a();const o=s,l=a;export{o as UiBreadcrumbItem,l as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as a,H as t,h as s,a as r}from"./index.js";const c=a(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(r,{key:"3c86ea43e5dde2c8486b49f8c2ece55f66c4dec5"},s("nav",{key:"6da35c2ffc4b7c2aa13d3321ed6227d97be59e80","aria-label":"breadcrumb"},s("ol",{key:"567cb7aaf4e8ae8f1e15369b45b482104f1264da"},s("slot",{key:"5f942426d1195ea0eae8256ebfb01d25b6f350ab"}))))}static get style(){return":host{display:block}ol{display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem;margin:0;padding:0;list-style:none;font-family:var(--ui-font-sans);font-size:0.875rem}"}},[257,"ui-breadcrumb"]);function n(){"undefined"!=typeof customElements&&["ui-breadcrumb"].forEach((a=>{"ui-breadcrumb"===a&&(customElements.get(e(a))||customElements.define(e(a),c))}))}n();const d=c,i=n;export{d as UiBreadcrumb,i as defineCustomElement}
1
+ import{t as e,p as a,H as t,h as s,a as r}from"./index.js";const c=a(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(r,{key:"08c7f1a9160ee85b361bbdbaa79bebe383c45356"},s("nav",{key:"c556ee500aae55becf5c1095344278f48bf6c8a5","aria-label":"breadcrumb"},s("ol",{key:"cf7611405a6884d91fe9b4a657f640080e2085e6"},s("slot",{key:"4d10ef99bed3ba63f5893a62ac8ac4c3c0256461"}))))}static get style(){return":host{display:block}ol{display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem;margin:0;padding:0;list-style:none;font-family:var(--ui-font-sans);font-size:0.875rem}"}},[257,"ui-breadcrumb"]);function n(){"undefined"!=typeof customElements&&["ui-breadcrumb"].forEach((a=>{"ui-breadcrumb"===a&&(customElements.get(e(a))||customElements.define(e(a),c))}))}n();const b=c,i=n;export{b as UiBreadcrumb,i as defineCustomElement}
@@ -1 +1 @@
1
- import{t as r,p as t,H as e,h as i,a}from"./index.js";const o=t(class extends e{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.variant="default",this.size="md",this.disabled=!1,this.loading=!1,this.type="button",this.full=!1}render(){return i(a,{key:"fa9886a20cac8424b127be543c0fd1ad04cc2fb1"},i("button",{key:"c54077dabce85b286733efcae8a08a435b81d72e",class:{btn:!0,["variant-"+this.variant]:!0,["size-"+this.size]:!0},type:this.type,disabled:this.disabled||this.loading,"aria-busy":this.loading?"true":null},this.loading&&i("span",{key:"8e557bd098d5655be256ea7fc0748990b7f11026",class:"spinner","aria-hidden":"true"}),i("slot",{key:"36946d065411700928e3541f351a3f6f75018ae9"})))}static get style(){return":host{display:inline-block}:host([full]){display:block;width:100%}:host([full]) .btn{width:100%}.btn{display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;white-space:nowrap;border:1px solid transparent;border-radius:var(--ui-radius-full);font-family:var(--ui-font-sans);font-weight:500;cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.btn:active{transform:scale(0.98)}.btn:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.btn:disabled{pointer-events:none;opacity:0.5}.size-sm{height:2.25rem;padding:0 1rem;font-size:0.75rem}.size-md{height:2.75rem;padding:0 1.25rem;font-size:0.875rem}.size-lg{height:3rem;padding:0 1.5rem;font-size:1rem}.size-icon{height:2.5rem;width:2.5rem;padding:0}.variant-solid{background:var(--ui-accent);color:var(--ui-accent-contrast);box-shadow:var(--ui-shadow)}.variant-solid:hover{filter:brightness(1.1)}.variant-default{background:var(--ui-panel-strong);color:var(--ui-foreground);border-color:var(--ui-border);backdrop-filter:blur(22px)}.variant-default:hover{border-color:var(--ui-border-strong)}.variant-subtle{background:var(--ui-chip);color:var(--ui-foreground);border-color:var(--ui-border);backdrop-filter:blur(22px)}.variant-subtle:hover{background:var(--ui-panel)}.variant-outline{color:var(--ui-foreground);border-color:color-mix(in srgb, var(--ui-foreground) 30%, transparent)}.variant-outline:hover{background:var(--ui-chip);border-color:color-mix(in srgb, var(--ui-foreground) 45%, transparent)}.variant-ghost{color:var(--ui-text-soft)}.variant-ghost:hover{background:var(--ui-chip)}.variant-destructive{background:var(--ui-danger);color:var(--ui-on-status)}.variant-destructive:hover{filter:brightness(1.1)}.variant-link{color:var(--ui-accent);text-underline-offset:4px}.variant-link:hover{text-decoration:underline}.spinner{width:1rem;height:1rem;border-radius:9999px;border:2px solid currentColor;border-top-color:transparent;animation:ui-button-spin 0.7s linear infinite}@keyframes ui-button-spin{to{transform:rotate(360deg)}}"}},[257,"ui-button",{variant:[1],size:[1],disabled:[4],loading:[4],type:[1],full:[516]}]);function n(){"undefined"!=typeof customElements&&["ui-button"].forEach((t=>{"ui-button"===t&&(customElements.get(r(t))||customElements.define(r(t),o))}))}n();const s=o,u=n;export{s as UiButton,u as defineCustomElement}
1
+ import{t as r,p as t,H as e,h as i,a}from"./index.js";const o=t(class extends e{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.variant="default",this.size="md",this.disabled=!1,this.loading=!1,this.type="button",this.full=!1}render(){return i(a,{key:"fa9886a20cac8424b127be543c0fd1ad04cc2fb1"},i("button",{key:"c54077dabce85b286733efcae8a08a435b81d72e",class:{btn:!0,["variant-"+this.variant]:!0,["size-"+this.size]:!0},type:this.type,disabled:this.disabled||this.loading,"aria-busy":this.loading?"true":null},this.loading&&i("span",{key:"8e557bd098d5655be256ea7fc0748990b7f11026",class:"spinner","aria-hidden":"true"}),i("slot",{key:"36946d065411700928e3541f351a3f6f75018ae9"})))}static get style(){return":host{display:inline-block}:host([full]){display:block;width:100%}:host([full]) .btn{width:100%}.btn{display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;white-space:nowrap;border:1px solid transparent;border-radius:var(--ui-radius-full);background:transparent;color:var(--ui-foreground);font-family:var(--ui-font-sans);font-weight:500;cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.btn:active{transform:scale(0.98)}.btn:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.btn:disabled{pointer-events:none;opacity:0.5}.size-sm{height:2.25rem;padding:0 1rem;font-size:0.75rem}.size-md{height:2.75rem;padding:0 1.25rem;font-size:0.875rem}.size-lg{height:3rem;padding:0 1.5rem;font-size:1rem}.size-icon{height:2.5rem;width:2.5rem;padding:0}.variant-solid{background:var(--ui-accent);color:var(--ui-accent-contrast);box-shadow:var(--ui-shadow)}.variant-solid:hover{filter:brightness(1.1)}.variant-default{background:var(--ui-panel-strong);color:var(--ui-foreground);border-color:var(--ui-border);backdrop-filter:blur(22px)}.variant-default:hover{border-color:var(--ui-border-strong)}.variant-subtle{background:var(--ui-chip);color:var(--ui-foreground);border-color:var(--ui-border);backdrop-filter:blur(22px)}.variant-subtle:hover{background:var(--ui-panel)}.variant-outline{color:var(--ui-foreground);border-color:color-mix(in srgb, var(--ui-foreground) 30%, transparent)}.variant-outline:hover{background:var(--ui-chip);border-color:color-mix(in srgb, var(--ui-foreground) 45%, transparent)}.variant-ghost{color:var(--ui-text-soft)}.variant-ghost:hover{background:var(--ui-chip)}.variant-destructive{background:var(--ui-danger);color:var(--ui-on-status)}.variant-destructive:hover{filter:brightness(1.1)}.variant-link{color:var(--ui-accent);text-underline-offset:4px}.variant-link:hover{text-decoration:underline}.spinner{width:1rem;height:1rem;border-radius:9999px;border:2px solid currentColor;border-top-color:transparent;animation:ui-button-spin 0.7s linear infinite}@keyframes ui-button-spin{to{transform:rotate(360deg)}}"}},[257,"ui-button",{variant:[1],size:[1],disabled:[4],loading:[4],type:[1],full:[516]}]);function n(){"undefined"!=typeof customElements&&["ui-button"].forEach((t=>{"ui-button"===t&&(customElements.get(r(t))||customElements.define(r(t),o))}))}n();const s=o,u=n;export{s as UiButton,u as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as t,H as a,h as r,a as o}from"./index.js";const d=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return r(o,{key:"39ddf0a9974086fcc9ad3fc89f1e1d6858e2fead"},r("div",{key:"e8e510a468dc662f9fc76affce785a9b37edc205",class:"card"},r("slot",{key:"ee92d4bc2fa1738d84689d989d4e113d515acc83",name:"title"}),r("slot",{key:"6e87c2406474b6ea2aa370d1602ff02a89c4f4d5",name:"description"}),r("slot",{key:"a388b4bc2d9c5e328ade55ac38c870afc9ade82c"}),r("slot",{key:"071ce297db672e332cf2d354a395b07e100b16a1",name:"footer"})))}static get style(){return':host{display:block}.card{display:flex;flex-direction:column;gap:0.5rem;padding:1.5rem;border:1px solid var(--ui-border);background:var(--ui-panel);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px) saturate(140%);border-radius:var(--ui-radius-xl);color:var(--ui-text-soft);font-family:var(--ui-font-sans)}::slotted([slot="title"]){margin:0;font-size:1.125rem;font-weight:600;letter-spacing:-0.01em;color:var(--ui-foreground)}::slotted([slot="description"]){margin:0;font-size:0.875rem;color:var(--ui-text-muted)}::slotted([slot="footer"]){display:flex;gap:0.75rem;margin-top:0.5rem}'}},[257,"ui-card"]);function s(){"undefined"!=typeof customElements&&["ui-card"].forEach((t=>{"ui-card"===t&&(customElements.get(e(t))||customElements.define(e(t),d))}))}s();const c=d,i=s;export{c as UiCard,i as defineCustomElement}
1
+ import{t as e,p as t,H as r,h as a,a as o}from"./index.js";const s=t(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return a(o,{key:"6382864bd44db2d3bc909fba6b50e61889e248ba"},a("div",{key:"ced7e89f9d398eb80d914c0734bf7792b0da415e",class:"card"},a("slot",{key:"3d77e38ace558104a5498e76730264731d02ad75",name:"title"}),a("slot",{key:"7fe9e17f69e79444eb0d3908f099bc40a49ebe0d",name:"description"}),a("slot",{key:"523ae4e729f6127e4686fb82e12ff3153a67f774"}),a("slot",{key:"87603f17a6d0c8ff7724b5a658e34ae868abd83e",name:"footer"})))}static get style(){return':host{display:block}.card{display:flex;flex-direction:column;gap:0.5rem;padding:1.5rem;border:1px solid var(--ui-border);background:var(--ui-panel);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px) saturate(140%);border-radius:var(--ui-radius-xl);color:var(--ui-text-soft);font-family:var(--ui-font-sans)}::slotted([slot="title"]){margin:0;font-size:1.125rem;font-weight:600;letter-spacing:-0.01em;color:var(--ui-foreground)}::slotted([slot="description"]){margin:0;font-size:0.875rem;color:var(--ui-text-muted)}::slotted([slot="footer"]){display:flex;gap:0.75rem;margin-top:0.5rem}'}},[257,"ui-card"]);function d(){"undefined"!=typeof customElements&&["ui-card"].forEach((t=>{"ui-card"===t&&(customElements.get(e(t))||customElements.define(e(t),s))}))}d();const i=s,l=d;export{i as UiCard,l as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiCarousel extends Components.UiCarousel, HTMLElement {}
4
+ export const UiCarousel: {
5
+ prototype: UiCarousel;
6
+ new (): UiCarousel;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t,p as i,H as s,c as e,h as r,a}from"./index.js";const o=i(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.uiChange=e(this,"uiChange"),this.loop=!1,this.autoplay=0,this.showArrows=!0,this.showDots=!0,this.index=0,this.count=0,this.syncCount=()=>{const t=this.host.shadowRoot?.querySelector("slot");t&&(this.count=t.assignedElements().length,this.index>this.count-1&&(this.index=Math.max(0,this.count-1)))},this.handleMouseEnter=()=>{this.autoplay>0&&this.stopAutoplay()},this.handleMouseLeave=()=>{this.autoplay>0&&this.startAutoplay()}}componentDidLoad(){this.syncCount(),this.startAutoplay()}disconnectedCallback(){this.stopAutoplay()}startAutoplay(){this.autoplay>0&&(this.stopAutoplay(),this.timer=setInterval((()=>{this.advance()}),this.autoplay))}stopAutoplay(){this.timer&&(clearInterval(this.timer),this.timer=void 0)}advance(){this.count<1||this.goTo((this.index+1)%this.count)}setIndex(t){if(this.count<1)return;let i=t;i=this.loop?(t%this.count+this.count)%this.count:Math.max(0,Math.min(t,this.count-1)),i!==this.index&&(this.index=i,this.uiChange.emit(this.index))}async next(){this.setIndex(this.index+1)}async prev(){this.setIndex(this.index-1)}async goTo(t){this.setIndex(t)}render(){const t=this.count>1,i=this.index<=0,s=this.index>=this.count-1;return r(a,{key:"8674262ced2aef3587cb5b5148628776c3a438df"},r("div",{key:"f75c9ec8e3d6aa8635e3001a108795f2b0ac8075",class:"viewport",onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},r("div",{key:"eb654e625366fbeef0b91dd9d86fabe82bada130",class:"track",style:{transform:`translateX(${100*-this.index}%)`}},r("slot",{key:"23be2c8067e38b9092bbe6d3ef7b59efb91176c2",onSlotchange:this.syncCount})),this.showArrows&&t&&r("button",{key:"a079b10d78e03a780cccd34a18cb677890c79b8d",type:"button",class:"arrow arrow-prev","aria-label":"Slide anterior",disabled:!this.loop&&i,onClick:()=>this.prev()},"‹"),this.showArrows&&t&&r("button",{key:"baa6cdc3055631a766afeffc2dadf3d565afaf71",type:"button",class:"arrow arrow-next","aria-label":"Próximo slide",disabled:!this.loop&&s,onClick:()=>this.next()},"›"),this.showDots&&t&&r("div",{key:"3b381517e47193aece7e50c7f134f3e70ea2eda6",class:"dots"},Array.from({length:this.count}).map(((t,i)=>r("button",{key:i,type:"button",class:{dot:!0,active:i===this.index},"aria-label":"Ir para slide "+(i+1),"aria-current":i===this.index?"true":"false",onClick:()=>this.goTo(i)}))))))}get host(){return this}static get style(){return":host{display:block}.viewport{position:relative;overflow:hidden;border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);font-family:var(--ui-font-sans);color:var(--ui-foreground)}.track{display:flex;transition:transform 0.4s var(--ui-ease);will-change:transform}::slotted(*){flex:0 0 100%;width:100%}.arrow{position:absolute;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:var(--ui-radius-full);border:1px solid var(--ui-border);background:var(--ui-panel-strong);color:var(--ui-foreground);font-size:1.5rem;line-height:1;cursor:pointer;backdrop-filter:blur(22px);box-shadow:var(--ui-shadow);outline:none;transition:all var(--ui-duration) var(--ui-ease)}.arrow:hover{border-color:var(--ui-border-strong)}.arrow:focus-visible{box-shadow:0 0 0 2px var(--ui-ring)}.arrow:disabled{opacity:0.4;pointer-events:none}.arrow-prev{left:0.5rem}.arrow-next{right:0.5rem}.dots{position:absolute;left:0;right:0;bottom:0.75rem;display:flex;align-items:center;justify-content:center;gap:0.5rem}.dot{width:0.625rem;height:0.625rem;padding:0;border:none;border-radius:var(--ui-radius-full);background:var(--ui-chip);cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.dot:hover{filter:brightness(1.15)}.dot:focus-visible{box-shadow:0 0 0 2px var(--ui-ring)}.dot.active{background:var(--ui-accent)}"}},[257,"ui-carousel",{loop:[4],autoplay:[2],showArrows:[4,"show-arrows"],showDots:[4,"show-dots"],index:[32],count:[32],next:[64],prev:[64],goTo:[64]}]);function n(){"undefined"!=typeof customElements&&["ui-carousel"].forEach((i=>{"ui-carousel"===i&&(customElements.get(t(i))||customElements.define(t(i),o))}))}n();const h=o,l=n;export{h as UiCarousel,l as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as i,H as t,c as a,h as r,a as c}from"./index.js";const o=i(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiChange=a(this,"uiChange"),this.checked=!1,this.disabled=!1,this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.uiChange.emit(this.checked))},this.onKeyDown=e=>{" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),this.toggle())}}render(){return r(c,{key:"73477b35af6a093e87ae8a5b33232690888ca98c"},r("button",{key:"235b0102bbdd9a0ef23c3230acbba9aebdb06898",class:"checkbox",type:"button",role:"checkbox","aria-checked":this.checked?"true":"false",disabled:this.disabled,onClick:this.toggle,onKeyDown:this.onKeyDown},r("svg",{key:"3aaa64d1d173991b2c785298586aab66471e9285",class:"check",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},r("polyline",{key:"baaca1ba97901e5a9d4e97640221f35cdeb02351",points:"20 6 9 17 4 12"}))))}static get style(){return':host{display:inline-flex}.checkbox{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;padding:0;border:1.5px solid color-mix(in srgb, var(--ui-foreground) 32%, transparent);border-radius:var(--ui-radius-sm);background:var(--ui-chip);cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.checkbox:hover:not(:disabled):not([aria-checked="true"]){border-color:var(--ui-accent)}.checkbox:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.checkbox[aria-checked="true"]{background:var(--ui-accent);border-color:var(--ui-accent)}.checkbox:disabled{opacity:0.5;pointer-events:none}.check{width:0.875rem;height:0.875rem;color:var(--ui-accent-contrast);opacity:0;transform:scale(0.6);transition:all var(--ui-duration) var(--ui-ease)}.checkbox[aria-checked="true"] .check{opacity:1;transform:scale(1)}'}},[1,"ui-checkbox",{checked:[1540],disabled:[4],name:[1],value:[1]}]);function s(){"undefined"!=typeof customElements&&["ui-checkbox"].forEach((i=>{"ui-checkbox"===i&&(customElements.get(e(i))||customElements.define(e(i),o))}))}s();const n=o,d=s;export{n as UiCheckbox,d as defineCustomElement}
1
+ import{t as e,p as i,H as t,c as r,h as c,a as o}from"./index.js";const a=i(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiChange=r(this,"uiChange"),this.checked=!1,this.disabled=!1,this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.uiChange.emit(this.checked))},this.onKeyDown=e=>{" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),this.toggle())}}render(){return c(o,{key:"341aeea485e623d978d0e738481dd5e0865b1ff3"},c("button",{key:"a3a5fa4569152d3811d0b575dd3dba099aa7b782",class:"checkbox",type:"button",role:"checkbox","aria-checked":this.checked?"true":"false",disabled:this.disabled,onClick:this.toggle,onKeyDown:this.onKeyDown},c("svg",{key:"2653b2db08fc200cc9de850bf3b5e7aec7bb96a0",class:"check",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},c("polyline",{key:"009b16f0efcd6f4d59255262e95542e5362832ed",points:"20 6 9 17 4 12"}))))}static get style(){return':host{display:inline-flex}.checkbox{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;padding:0;border:1.5px solid color-mix(in srgb, var(--ui-foreground) 32%, transparent);border-radius:var(--ui-radius-sm);background:var(--ui-chip);cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.checkbox:hover:not(:disabled):not([aria-checked="true"]){border-color:var(--ui-accent)}.checkbox:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.checkbox[aria-checked="true"]{background:var(--ui-accent);border-color:var(--ui-accent)}.checkbox:disabled{opacity:0.5;pointer-events:none}.check{width:0.875rem;height:0.875rem;color:var(--ui-accent-contrast);opacity:0;transform:scale(0.6);transition:all var(--ui-duration) var(--ui-ease)}.checkbox[aria-checked="true"] .check{opacity:1;transform:scale(1)}'}},[1,"ui-checkbox",{checked:[1540],disabled:[4],name:[1],value:[1]}]);function s(){"undefined"!=typeof customElements&&["ui-checkbox"].forEach((i=>{"ui-checkbox"===i&&(customElements.get(e(i))||customElements.define(e(i),a))}))}s();const n=a,d=s;export{n as UiCheckbox,d as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiCombobox extends Components.UiCombobox, HTMLElement {}
4
+ export const UiCombobox: {
5
+ prototype: UiCombobox;
6
+ new (): UiCombobox;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as i,p as t,H as s,c as e,h as o,a as r}from"./index.js";import{a,c as n,o as h,f as d,s as c,b as u}from"./p-DDtwbwIl.js";const l=t(class extends s{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.uiChange=e(this,"uiChange"),this.options=[],this.value="",this.placeholder="",this.query="",this.open=!1,this.activeIndex=-1,this.listId="ui-combobox-list-"+Math.random().toString(36).slice(2,9),this.onInput=i=>{this.query=i.target.value,this.activeIndex=-1,this.setOpen(!0)},this.onFocus=()=>{this.setOpen(!0)},this.onKeydown=i=>{const t=this.filtered;switch(i.key){case"ArrowDown":if(i.preventDefault(),!this.open)return void this.setOpen(!0);if(0===t.length)return;this.activeIndex=(this.activeIndex+1)%t.length;break;case"ArrowUp":if(i.preventDefault(),0===t.length)return;this.activeIndex=(this.activeIndex-1+t.length)%t.length;break;case"Enter":this.open&&this.activeIndex>=0&&t[this.activeIndex]&&(i.preventDefault(),this.select(t[this.activeIndex]));break;case"Escape":this.open&&(i.preventDefault(),this.setOpen(!1))}},this.onDocumentClick=i=>{this.open&&(i.composedPath().includes(this.host)||this.setOpen(!1))}}componentWillLoad(){const i=this.options.find((i=>i.value===this.value));i&&(this.query=i.label)}disconnectedCallback(){this.stop(),document.removeEventListener("click",this.onDocumentClick)}get filtered(){const i=this.query.toLowerCase();return this.options.filter((t=>t.label.toLowerCase().includes(i)))}setOpen(i){this.open!==i&&(this.open=i,i?(requestAnimationFrame((()=>this.start())),document.addEventListener("click",this.onDocumentClick)):(this.stop(),this.activeIndex=-1,document.removeEventListener("click",this.onDocumentClick)))}start(){this.inputEl&&this.listEl&&(this.stop(),this.cleanup=a(this.inputEl,this.listEl,(()=>{this.inputEl&&this.listEl&&n(this.inputEl,this.listEl,{placement:"bottom-start",middleware:[h(6),d(),c({padding:8}),u({apply:({rects:i,elements:t})=>{Object.assign(t.floating.style,{width:i.reference.width+"px"})}})]}).then((({x:i,y:t})=>{Object.assign(this.listEl.style,{left:i+"px",top:t+"px"})}))})))}stop(){this.cleanup?.(),this.cleanup=void 0}select(i){this.value=i.value,this.query=i.label,this.setOpen(!1),this.uiChange.emit(i.value)}render(){const i=this.filtered;return o(r,{key:"64d332f96d0cb39e1889eb56dbf448f67e5ed240"},o("div",{key:"30f829b5eff180aa97a2bbb2f90a4e289768df71",class:"field"},o("input",{key:"f6df95047db674d2e49d34fed6057cffc86eab49",class:"input",type:"text",role:"combobox",value:this.query,placeholder:this.placeholder,autocomplete:"off","aria-expanded":this.open?"true":"false","aria-controls":this.listId,"aria-autocomplete":"list",ref:i=>this.inputEl=i,onInput:this.onInput,onFocus:this.onFocus,onKeyDown:this.onKeydown})),o("div",{key:"de55c7ad59dfa3e35aeac8799366e3ee849d1398",id:this.listId,class:{list:!0,"is-open":this.open},role:"listbox",ref:i=>this.listEl=i},0===i.length?o("div",{class:"empty"},"Nenhum resultado"):i.map(((i,t)=>o("div",{class:{option:!0,active:t===this.activeIndex,selected:i.value===this.value},role:"option","aria-selected":i.value===this.value?"true":"false",onMouseEnter:()=>this.activeIndex=t,onMouseDown:t=>{t.preventDefault(),this.select(i)}},i.label)))))}get host(){return this}static get style(){return":host{display:block}.field{display:flex;align-items:center;gap:0.5rem;width:100%;height:2.75rem;padding:0 0.875rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-panel);backdrop-filter:blur(22px);transition:all var(--ui-duration) var(--ui-ease);box-sizing:border-box}.field:hover{border-color:var(--ui-border-strong)}.field:focus-within{border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-ring)}.input{flex:1;min-width:0;height:100%;border:none;background:transparent;color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:0.875rem;outline:none}.input::placeholder{color:var(--ui-text-faint)}.list{position:fixed;top:0;left:0;z-index:50;max-height:16rem;overflow-y:auto;padding:0.25rem;font-family:var(--ui-font-sans);color:var(--ui-foreground);border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px);border-radius:var(--ui-radius);visibility:hidden;opacity:0;transition:opacity var(--ui-duration) var(--ui-ease), visibility var(--ui-duration) var(--ui-ease)}.list.is-open{visibility:visible;opacity:1}.option{padding:0.5rem 0.75rem;font-size:0.875rem;color:var(--ui-foreground);border-radius:var(--ui-radius-sm);cursor:pointer;transition:background var(--ui-duration) var(--ui-ease)}.option.active{background:var(--ui-chip)}.option.selected{color:var(--ui-accent)}.empty{padding:0.5rem 0.75rem;font-size:0.875rem;color:var(--ui-text-faint)}"}},[1,"ui-combobox",{options:[16],value:[1025],placeholder:[1],query:[32],open:[32],activeIndex:[32]}]);function p(){"undefined"!=typeof customElements&&["ui-combobox"].forEach((t=>{"ui-combobox"===t&&(customElements.get(i(t))||customElements.define(i(t),l))}))}p();const b=l,f=p;export{b as UiCombobox,f as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiCommand extends Components.UiCommand, HTMLElement {}
4
+ export const UiCommand: {
5
+ prototype: UiCommand;
6
+ new (): UiCommand;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as e,p as t,H as i,c as s,h as o,a}from"./index.js";const r=t(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiSelect=s(this,"uiSelect"),this.open=!1,this.items=[],this.placeholder="Buscar comando…",this.hotkey=!0,this.query="",this.activeIndex=0,this.onHotkey=e=>{(e.metaKey||e.ctrlKey)&&"k"===e.key.toLowerCase()&&(e.preventDefault(),this.open=!this.open)},this.onClose=()=>{this.open&&(this.open=!1),this.query="",this.activeIndex=0},this.onInput=e=>{this.query=e.target.value,this.activeIndex=0},this.onKeydown=e=>{const t=this.filtered;switch(e.key){case"ArrowDown":if(e.preventDefault(),0===t.length)return;this.activeIndex=(this.activeIndex+1)%t.length;break;case"ArrowUp":if(e.preventDefault(),0===t.length)return;this.activeIndex=(this.activeIndex-1+t.length)%t.length;break;case"Enter":t[this.activeIndex]&&(e.preventDefault(),this.select(t[this.activeIndex]))}}}onOpenChange(e){this.sync(e),e&&requestAnimationFrame((()=>this.inputEl?.focus()))}componentDidLoad(){this.sync(this.open)}connectedCallback(){this.hotkey&&"undefined"!=typeof document&&document.addEventListener("keydown",this.onHotkey)}disconnectedCallback(){"undefined"!=typeof document&&document.removeEventListener("keydown",this.onHotkey)}sync(e){this.dialogEl&&(e&&!this.dialogEl.open?this.dialogEl.showModal():!e&&this.dialogEl.open&&this.dialogEl.close())}async show(){this.open=!0}async close(){this.open=!1}get filtered(){const e=this.query.toLowerCase();return this.items.filter((t=>t.label.toLowerCase().includes(e)))}select(e){this.uiSelect.emit(e.value),this.open=!1,this.query="",this.activeIndex=0}render(){const e=this.filtered;let t=-1;const i=new Set;return o(a,{key:"2c99a55d42f0fa90a2b2ec4cae3d0952429fe861"},o("dialog",{key:"514c6b029111f2fbba14ce430f515c3528b6666f",class:"command",ref:e=>this.dialogEl=e,onClose:this.onClose,onCancel:this.onClose},o("div",{key:"430a2fd81e35ff4f2478a45d1398df7a575ce92d",class:"panel"},o("input",{key:"2eb475315a08d49f5716fd3aac87e1ce9d3d937b",class:"search",type:"text",role:"combobox","aria-expanded":"true","aria-autocomplete":"list",autocomplete:"off",value:this.query,placeholder:this.placeholder,ref:e=>this.inputEl=e,onInput:this.onInput,onKeyDown:this.onKeydown}),o("div",{key:"031e45085143e13aa360b0f2641a1fc80c4f75ab",class:"list",role:"listbox"},0===e.length?o("div",{class:"empty"},"Nenhum comando"):e.map((e=>{t+=1;const s=t,a=void 0!==e.group&&!i.has(e.group);return void 0!==e.group&&i.add(e.group),[a?o("div",{class:"group"},e.group):null,o("div",{class:{item:!0,active:s===this.activeIndex},role:"option","aria-selected":s===this.activeIndex?"true":"false",onMouseEnter:()=>this.activeIndex=s,onMouseDown:t=>{t.preventDefault(),this.select(e)}},o("span",{class:"label"},e.label),e.hint?o("span",{class:"hint"},e.hint):null)]}))))))}get host(){return this}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return".command{padding:0;border:none;background:transparent;max-width:none;max-height:none;color:var(--ui-foreground)}.command::backdrop{background:var(--ui-overlay);backdrop-filter:blur(4px)}.panel{margin:12vh auto 0;width:min(40rem, 92vw);border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px) saturate(140%);border-radius:var(--ui-radius-xl);overflow:hidden;font-family:var(--ui-font-sans)}.search{width:100%;box-sizing:border-box;border:none;border-bottom:1px solid var(--ui-border);background:transparent;color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:1rem;padding:1rem;outline:none}.search::placeholder{color:var(--ui-text-faint)}.list{max-height:50vh;overflow:auto;padding:0.5rem}.group{text-transform:uppercase;font-size:0.7rem;letter-spacing:0.04em;color:var(--ui-text-faint);padding:0.5rem 0.75rem 0.25rem}.item{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;padding:0.5rem 0.75rem;border-radius:var(--ui-radius-sm);cursor:pointer}.item.active{background:var(--ui-chip)}.label{color:var(--ui-foreground)}.hint{color:var(--ui-text-faint);font-size:0.8rem}.empty{text-align:center;color:var(--ui-text-faint);padding:1.5rem 1rem}"}},[1,"ui-command",{open:[1540],items:[16],placeholder:[1],hotkey:[4],query:[32],activeIndex:[32],show:[64],close:[64]},void 0,{open:[{onOpenChange:0}]}]);function n(){"undefined"!=typeof customElements&&["ui-command"].forEach((t=>{"ui-command"===t&&(customElements.get(e(t))||customElements.define(e(t),r))}))}n();const c=r,d=n;export{c as UiCommand,d as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as i,H as t,h as n,a as s}from"./index.js";const d=i(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.size="lg",this.padded=!0}render(){return n(s,{key:"4f00ee39f0ae347fafac349ee8e42c991c8013dd"},n("div",{key:"a0f8f0c6d418f119c6631d0387f9328af8fbb416",class:{container:!0,["size-"+this.size]:!0,padded:this.padded}},n("slot",{key:"86178f8371c958123fcf8b7e6bfe059aeed9f690"})))}static get style(){return":host{display:block;width:100%}.container{margin-inline:auto;width:100%;font-family:var(--ui-font-sans)}.size-sm{max-width:40rem}.size-md{max-width:48rem}.size-lg{max-width:64rem}.size-xl{max-width:80rem}.size-full{max-width:none}.padded{padding-inline:1.25rem}@media (min-width: 640px){.padded{padding-inline:2rem}}"}},[257,"ui-container",{size:[1],padded:[4]}]);function a(){"undefined"!=typeof customElements&&["ui-container"].forEach((i=>{"ui-container"===i&&(customElements.get(e(i))||customElements.define(e(i),d))}))}a();const m=d,r=a;export{m as UiContainer,r as defineCustomElement}
1
+ import{t as e,p as i,H as t,h as d,a as n}from"./index.js";const s=i(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.size="lg",this.padded=!0}render(){return d(n,{key:"474a0aeda3c1caad66af3108381f325dbec41566"},d("div",{key:"df5fdea525ac34873923b65408f971957fb53186",class:{container:!0,["size-"+this.size]:!0,padded:this.padded}},d("slot",{key:"e83ff090d3634368b7425db0d4c94f860934c951"})))}static get style(){return":host{display:block;width:100%}.container{margin-inline:auto;width:100%;font-family:var(--ui-font-sans)}.size-sm{max-width:40rem}.size-md{max-width:48rem}.size-lg{max-width:64rem}.size-xl{max-width:80rem}.size-full{max-width:none}.padded{padding-inline:1.25rem}@media (min-width: 640px){.padded{padding-inline:2rem}}"}},[257,"ui-container",{size:[1],padded:[4]}]);function a(){"undefined"!=typeof customElements&&["ui-container"].forEach((i=>{"ui-container"===i&&(customElements.get(e(i))||customElements.define(e(i),s))}))}a();const m=s,r=a;export{m as UiContainer,r as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiDatePicker extends Components.UiDatePicker, HTMLElement {}
4
+ export const UiDatePicker: {
5
+ prototype: UiDatePicker;
6
+ new (): UiDatePicker;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;