spell-ui 0.8.6 → 0.8.7

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 (722) hide show
  1. package/README-components.md +14 -6
  2. package/README-frameworks.md +22 -12
  3. package/README-migrating.md +7 -6
  4. package/README-runtime.md +14 -13
  5. package/README-site.md +11 -11
  6. package/README-themes.md +38 -11
  7. package/README.md +61 -73
  8. package/dist/Dragging-CMZoLEWQ.js +169 -0
  9. package/dist/Dragging-CMZoLEWQ.js.map +1 -0
  10. package/dist/{MarkdownEngine-CbuT9Mjc.js → MarkdownEngine-CW1WGqNp.js} +122 -100
  11. package/dist/MarkdownEngine-CW1WGqNp.js.map +1 -0
  12. package/dist/{PrefStore-CeaTtjTz.js → PrefStore-Qv0e5y04.js} +22 -22
  13. package/dist/PrefStore-Qv0e5y04.js.map +1 -0
  14. package/dist/ScrollingRow-7n7Z-HIE.js +88 -0
  15. package/dist/ScrollingRow-7n7Z-HIE.js.map +1 -0
  16. package/dist/SitePages-CciwREek.js +51 -0
  17. package/dist/SitePages-CciwREek.js.map +1 -0
  18. package/dist/{SlottedItems-Ch0tzzlL.js → SlottedItems-Du3aJwG1.js} +22 -22
  19. package/dist/{SlottedItems-Ch0tzzlL.js.map → SlottedItems-Du3aJwG1.js.map} +1 -1
  20. package/dist/ThemeDraft-B7NPif4d.js +805 -0
  21. package/dist/ThemeDraft-B7NPif4d.js.map +1 -0
  22. package/dist/TreeMeasure-BVJeGb1L.js +42 -0
  23. package/dist/TreeMeasure-BVJeGb1L.js.map +1 -0
  24. package/dist/UIButton-DFEds67r.js +6 -0
  25. package/dist/UIButton-DFEds67r.js.map +1 -0
  26. package/dist/UIInput-BodVbUoQ.js +6 -0
  27. package/dist/UIInput-BodVbUoQ.js.map +1 -0
  28. package/dist/{UIKeys-DJF2TIKE.js → UIKeys-Rh_gUZjP.js} +10 -9
  29. package/dist/UIKeys-Rh_gUZjP.js.map +1 -0
  30. package/dist/UILabel-DgJUBzB_.js +6 -0
  31. package/dist/UILabel-DgJUBzB_.js.map +1 -0
  32. package/dist/UIMenu-zdcAtwTa.js +42 -0
  33. package/dist/UIMenu-zdcAtwTa.js.map +1 -0
  34. package/dist/{UIRuntime-BBuehGly.js → UIRuntime-KH309p5B.js} +398 -207
  35. package/dist/UIRuntime-KH309p5B.js.map +1 -0
  36. package/dist/_spell-element/DOMElement.d.ts +62 -5
  37. package/dist/_spell-element/MoveAndResize.d.ts +75 -0
  38. package/dist/_spell-element/UIComponent.d.ts +42 -0
  39. package/dist/_spell-element/elements.types.d.ts +47 -0
  40. package/dist/_spell-element/index.d.ts +1 -0
  41. package/dist/_spell-element/vocabulary.types.d.ts +34 -2
  42. package/dist/{runtime → _util}/Api.d.ts +14 -4
  43. package/dist/_util/Dragging.d.ts +148 -0
  44. package/dist/_util/ListSelection.d.ts +46 -0
  45. package/dist/{util → _util}/LoadOnce.d.ts +9 -1
  46. package/dist/_util/ReconnectingSocket.d.ts +51 -0
  47. package/dist/_util/diagram/DiagramColumns.d.ts +14 -0
  48. package/dist/_util/diagram/DiagramLayout.d.ts +119 -0
  49. package/dist/_util/diagram/DiagramSVG.d.ts +17 -0
  50. package/dist/_util/dom.d.ts +10 -0
  51. package/dist/_util/fetching.d.ts +92 -0
  52. package/dist/_util/measures/Dimension.d.ts +63 -0
  53. package/dist/_util/measures/MeasureSystem.d.ts +66 -0
  54. package/dist/_util/measures/dimensions.generated.d.ts +16 -0
  55. package/dist/_util/persist/ColorScheme.d.ts +6 -0
  56. package/dist/_util/persist/ServerPlace.d.ts +42 -0
  57. package/dist/_util/persist/WaitedOnPlace.d.ts +27 -0
  58. package/dist/_util/persist/persist.types.d.ts +21 -2
  59. package/dist/_util/timing.d.ts +10 -1
  60. package/dist/api.js +8 -7
  61. package/dist/api.js.map +1 -1
  62. package/dist/components/ComponentDefinitions.d.ts +29 -0
  63. package/dist/components/components.es.d.ts +13 -0
  64. package/dist/components/components.types.d.ts +113 -8
  65. package/dist/components/ui-accordion/UIAccordion.d.ts +1 -0
  66. package/dist/components/ui-accordion/UIAccordion.en.d.ts +1 -0
  67. package/dist/components/ui-action/UIAction.en.d.ts +5 -1
  68. package/dist/components/ui-ad/UIAd.d.ts +1 -0
  69. package/dist/components/ui-ad/UIAd.en.d.ts +1 -0
  70. package/dist/components/ui-breadcrumbs/UIBreadcrumb.d.ts +1 -0
  71. package/dist/components/ui-breadcrumbs/UIBreadcrumb.en.d.ts +1 -0
  72. package/dist/components/ui-breadcrumbs/UIBreadcrumbs.d.ts +1 -0
  73. package/dist/components/ui-breadcrumbs/UIBreadcrumbs.en.d.ts +1 -0
  74. package/dist/components/ui-button/UIButton.d.ts +8 -3
  75. package/dist/components/ui-button/UIButton.en.d.ts +9 -4
  76. package/dist/components/ui-button/UIButton.es.d.ts +6 -0
  77. package/dist/components/ui-button/UIButton.fallback.d.ts +8 -3
  78. package/dist/components/ui-button/UIButtons.d.ts +1 -0
  79. package/dist/components/ui-button/UIButtons.en.d.ts +1 -0
  80. package/dist/components/ui-button/UIOr.d.ts +1 -0
  81. package/dist/components/ui-button/UIOr.en.d.ts +1 -0
  82. package/dist/components/ui-calendar/UICalendar.d.ts +6 -0
  83. package/dist/components/ui-calendar/UICalendar.en.d.ts +6 -0
  84. package/dist/components/ui-calendar/UICalendar.fallback.d.ts +6 -0
  85. package/dist/components/ui-card/CardClicks.d.ts +40 -0
  86. package/dist/components/ui-card/UICard.d.ts +41 -0
  87. package/dist/components/ui-card/UICard.en.d.ts +49 -0
  88. package/dist/components/ui-card/UICard.es.d.ts +1 -0
  89. package/dist/components/ui-card/UICards.d.ts +31 -0
  90. package/dist/components/ui-card/UICards.en.d.ts +31 -0
  91. package/dist/components/ui-card/UICards.es.d.ts +8 -0
  92. package/dist/components/ui-checkbox/CheckControl.d.ts +7 -0
  93. package/dist/components/ui-checkbox/UICheckbox.d.ts +7 -0
  94. package/dist/components/ui-checkbox/UICheckbox.en.d.ts +7 -0
  95. package/dist/components/ui-checkbox/UICheckbox.es.d.ts +1 -0
  96. package/dist/components/ui-checkbox/UICheckbox.fallback.d.ts +7 -0
  97. package/dist/components/ui-checkbox/UICheckbox.types.d.ts +5 -0
  98. package/dist/components/ui-checkbox/UIRadio.d.ts +8 -0
  99. package/dist/components/ui-checkbox/UIRadio.en.d.ts +6 -0
  100. package/dist/components/ui-code/UICode.en.d.ts +1 -0
  101. package/dist/components/ui-comment/UIComment.d.ts +1 -0
  102. package/dist/components/ui-comment/UIComment.en.d.ts +1 -0
  103. package/dist/components/ui-comment/UIComments.d.ts +1 -0
  104. package/dist/components/ui-comment/UIComments.en.d.ts +1 -0
  105. package/dist/components/ui-components/PackHotSwap.d.ts +13 -3
  106. package/dist/components/ui-components/UIComponents.d.ts +1 -0
  107. package/dist/components/ui-components/UIComponents.en.d.ts +1 -0
  108. package/dist/components/ui-container/UIContainer.d.ts +11 -0
  109. package/dist/components/ui-container/UIContainer.en.d.ts +7 -0
  110. package/dist/components/ui-container/UIContainer.es.d.ts +1 -0
  111. package/dist/components/ui-diagram/UIDiagram.d.ts +268 -0
  112. package/dist/components/ui-diagram/UIDiagram.en.d.ts +106 -0
  113. package/dist/components/ui-diagram/UIDiagram.es.d.ts +37 -0
  114. package/dist/components/ui-diagram/UIDiagramNode.d.ts +98 -0
  115. package/dist/components/ui-diagram/UIDiagramNode.en.d.ts +38 -0
  116. package/dist/components/ui-diagram/UIDiagramNode.es.d.ts +16 -0
  117. package/dist/components/ui-diagram/index.d.ts +8 -0
  118. package/dist/components/ui-dimension/UIDimension.d.ts +81 -0
  119. package/dist/components/ui-dimension/UIDimension.en.d.ts +54 -0
  120. package/dist/components/ui-dimension/UIDimension.es.d.ts +22 -0
  121. package/dist/components/ui-dimension/index.d.ts +2 -0
  122. package/dist/components/ui-dimmer/UIDimmer.d.ts +6 -1
  123. package/dist/components/ui-dimmer/UIDimmer.en.d.ts +1 -0
  124. package/dist/components/ui-dimmer/UIDimmer.es.d.ts +1 -1
  125. package/dist/components/ui-divider/UIDivider.d.ts +2 -0
  126. package/dist/components/ui-divider/UIDivider.en.d.ts +2 -0
  127. package/dist/components/ui-divider/UIDivider.es.d.ts +1 -0
  128. package/dist/components/ui-dropdown/UIDropdown.d.ts +6 -0
  129. package/dist/components/ui-dropdown/UIDropdown.en.d.ts +6 -0
  130. package/dist/components/ui-dropdown/UIDropdown.fallback.d.ts +6 -0
  131. package/dist/components/ui-embed/UIEmbed.d.ts +1 -0
  132. package/dist/components/ui-embed/UIEmbed.en.d.ts +1 -0
  133. package/dist/components/ui-emoji/UIEmoji.d.ts +1 -0
  134. package/dist/components/ui-emoji/UIEmoji.en.d.ts +1 -0
  135. package/dist/components/ui-example/UIExample.en.d.ts +4 -2
  136. package/dist/components/ui-example/UIExample.es.d.ts +3 -2
  137. package/dist/components/ui-feed/UIFeed.d.ts +1 -0
  138. package/dist/components/ui-feed/UIFeed.en.d.ts +1 -0
  139. package/dist/components/ui-feed/UIFeedEvent.d.ts +1 -0
  140. package/dist/components/ui-feed/UIFeedEvent.en.d.ts +1 -0
  141. package/dist/components/ui-flag/UIFlag.d.ts +1 -0
  142. package/dist/components/ui-flag/UIFlag.en.d.ts +1 -0
  143. package/dist/components/ui-flyout/UIFlyout.d.ts +1 -0
  144. package/dist/components/ui-flyout/UIFlyout.en.d.ts +1 -0
  145. package/dist/components/ui-form/FormBinding.d.ts +13 -1
  146. package/dist/components/ui-form/FormFields.d.ts +4 -4
  147. package/dist/components/ui-form/UIField.d.ts +30 -3
  148. package/dist/components/ui-form/UIField.en.d.ts +9 -0
  149. package/dist/components/ui-form/UIField.es.d.ts +6 -0
  150. package/dist/components/ui-form/UIFields.d.ts +1 -0
  151. package/dist/components/ui-form/UIFields.en.d.ts +1 -0
  152. package/dist/components/ui-form/UIForm.d.ts +15 -0
  153. package/dist/components/ui-form/UIForm.en.d.ts +6 -0
  154. package/dist/components/ui-form/UIRepeat.d.ts +1 -0
  155. package/dist/components/ui-form/UIRepeat.en.d.ts +1 -0
  156. package/dist/components/ui-form/index.d.ts +2 -1
  157. package/dist/components/ui-grid/UIColumn.d.ts +1 -0
  158. package/dist/components/ui-grid/UIColumn.en.d.ts +1 -0
  159. package/dist/components/ui-grid/UIGrid.d.ts +1 -0
  160. package/dist/components/ui-grid/UIGrid.en.d.ts +1 -0
  161. package/dist/components/ui-grid/UIRow.d.ts +1 -0
  162. package/dist/components/ui-grid/UIRow.en.d.ts +1 -0
  163. package/dist/components/ui-icon/UIIcon.d.ts +3 -2
  164. package/dist/components/ui-icon/UIIcon.en.d.ts +3 -2
  165. package/dist/components/ui-icon/UIIcons.d.ts +1 -0
  166. package/dist/components/ui-icon/UIIcons.en.d.ts +1 -0
  167. package/dist/components/ui-icon-picker/UIIconPicker.d.ts +6 -0
  168. package/dist/components/ui-icon-picker/UIIconPicker.en.d.ts +6 -0
  169. package/dist/components/ui-icon-picker/UIIconPicker.fallback.d.ts +6 -0
  170. package/dist/components/ui-image/UIImage.d.ts +34 -0
  171. package/dist/components/ui-image/UIImage.en.d.ts +23 -0
  172. package/dist/components/ui-image/UIImage.es.d.ts +2 -0
  173. package/dist/components/ui-image/UIImages.d.ts +1 -0
  174. package/dist/components/ui-image/UIImages.en.d.ts +1 -0
  175. package/dist/components/ui-include/UIInclude.d.ts +1 -0
  176. package/dist/components/ui-include/UIInclude.en.d.ts +1 -0
  177. package/dist/components/ui-input/TextControl.d.ts +7 -0
  178. package/dist/components/ui-input/UIInput.d.ts +22 -3
  179. package/dist/components/ui-input/UIInput.en.d.ts +9 -2
  180. package/dist/components/ui-input/UIInput.es.d.ts +2 -0
  181. package/dist/components/ui-input/UIInput.fallback.d.ts +9 -2
  182. package/dist/components/ui-input/UITextarea.d.ts +20 -0
  183. package/dist/components/ui-input/UITextarea.en.d.ts +15 -0
  184. package/dist/components/ui-input/UITextarea.es.d.ts +4 -0
  185. package/dist/components/ui-item/UIItem.d.ts +27 -4
  186. package/dist/components/ui-item/UIItem.en.d.ts +5 -1
  187. package/dist/components/ui-items/UIItems.d.ts +1 -0
  188. package/dist/components/ui-items/UIItems.en.d.ts +1 -0
  189. package/dist/components/ui-json/JsonChild.d.ts +30 -0
  190. package/dist/components/ui-json/UIJson.d.ts +128 -0
  191. package/dist/components/ui-json/UIJson.en.d.ts +71 -0
  192. package/dist/components/ui-json/UIJson.es.d.ts +12 -0
  193. package/dist/components/ui-json/index.d.ts +3 -0
  194. package/dist/components/ui-keys/UIKeys.d.ts +1 -0
  195. package/dist/components/ui-keys/UIKeys.en.d.ts +1 -0
  196. package/dist/components/ui-label/UILabel.d.ts +2 -0
  197. package/dist/components/ui-label/UILabel.en.d.ts +2 -0
  198. package/dist/components/ui-label/UILabel.es.d.ts +1 -0
  199. package/dist/components/ui-label/UILabels.d.ts +1 -0
  200. package/dist/components/ui-label/UILabels.en.d.ts +1 -0
  201. package/dist/components/ui-list/UIList.d.ts +2 -0
  202. package/dist/components/ui-list/UIList.en.d.ts +2 -0
  203. package/dist/components/ui-list/UIList.es.d.ts +1 -0
  204. package/dist/components/ui-loader/UILoader.d.ts +1 -0
  205. package/dist/components/ui-loader/UILoader.en.d.ts +1 -0
  206. package/dist/components/ui-markdown/MarkdownBox.d.ts +143 -0
  207. package/dist/components/ui-markdown/MarkdownEngine.d.ts +14 -2
  208. package/dist/components/ui-markdown/MarkdownFormats.d.ts +95 -0
  209. package/dist/components/ui-markdown/MarkdownSource.d.ts +57 -0
  210. package/dist/components/ui-markdown/UIMarkdown.d.ts +126 -6
  211. package/dist/components/ui-markdown/UIMarkdown.en.d.ts +111 -8
  212. package/dist/components/ui-markdown/UIMarkdown.es.d.ts +29 -1
  213. package/dist/components/ui-markdown/UIMarkdown.types.d.ts +26 -0
  214. package/dist/components/ui-menu/ScrollingRow.d.ts +79 -0
  215. package/dist/components/ui-menu/TitleFit.d.ts +3 -0
  216. package/dist/components/ui-menu/UIMenu.d.ts +97 -4
  217. package/dist/components/ui-menu/UIMenu.en.d.ts +50 -1
  218. package/dist/components/ui-menu/UIMenu.es.d.ts +4 -0
  219. package/dist/components/ui-message/UIMessage.d.ts +2 -0
  220. package/dist/components/ui-message/UIMessage.en.d.ts +2 -0
  221. package/dist/components/ui-message/UIMessage.es.d.ts +1 -0
  222. package/dist/components/ui-modal/UIModal.d.ts +1 -0
  223. package/dist/components/ui-modal/UIModal.en.d.ts +1 -0
  224. package/dist/components/ui-nag/UINag.d.ts +1 -0
  225. package/dist/components/ui-nag/UINag.en.d.ts +1 -0
  226. package/dist/components/ui-page/UIPage.d.ts +15 -0
  227. package/dist/components/ui-page/UIPage.en.d.ts +15 -0
  228. package/dist/components/ui-page/UIPage.es.d.ts +1 -0
  229. package/dist/components/ui-panel/UIPanel.d.ts +6 -0
  230. package/dist/components/ui-panel/UIPanel.en.d.ts +33 -20
  231. package/dist/components/ui-parts/UIActions.d.ts +1 -0
  232. package/dist/components/ui-parts/UIActions.en.d.ts +1 -0
  233. package/dist/components/ui-parts/UIAuthor.d.ts +1 -0
  234. package/dist/components/ui-parts/UIAuthor.en.d.ts +1 -0
  235. package/dist/components/ui-parts/UIAvatar.d.ts +1 -0
  236. package/dist/components/ui-parts/UIAvatar.en.d.ts +1 -0
  237. package/dist/components/ui-parts/UIContent.d.ts +1 -0
  238. package/dist/components/ui-parts/UIContent.en.d.ts +1 -0
  239. package/dist/components/ui-parts/UIDate.d.ts +1 -0
  240. package/dist/components/ui-parts/UIDate.en.d.ts +1 -0
  241. package/dist/components/ui-parts/UIDescription.d.ts +1 -0
  242. package/dist/components/ui-parts/UIDescription.en.d.ts +1 -0
  243. package/dist/components/ui-parts/UIDetail.d.ts +1 -0
  244. package/dist/components/ui-parts/UIDetail.en.d.ts +1 -0
  245. package/dist/components/ui-parts/UIExtra.d.ts +1 -0
  246. package/dist/components/ui-parts/UIExtra.en.d.ts +1 -0
  247. package/dist/components/ui-parts/UIHeader.d.ts +3 -1
  248. package/dist/components/ui-parts/UIHeader.en.d.ts +3 -1
  249. package/dist/components/ui-parts/UIMeta.d.ts +1 -0
  250. package/dist/components/ui-parts/UIMeta.en.d.ts +1 -0
  251. package/dist/components/ui-parts/UIParts.types.d.ts +15 -1
  252. package/dist/components/ui-parts/UISummary.d.ts +1 -0
  253. package/dist/components/ui-parts/UISummary.en.d.ts +1 -0
  254. package/dist/components/ui-parts/UITitle.d.ts +1 -0
  255. package/dist/components/ui-parts/UITitle.en.d.ts +1 -0
  256. package/dist/components/ui-parts/UIValue.d.ts +1 -0
  257. package/dist/components/ui-parts/UIValue.en.d.ts +1 -0
  258. package/dist/components/ui-placeholder/UIPlaceholder.d.ts +1 -0
  259. package/dist/components/ui-placeholder/UIPlaceholder.en.d.ts +1 -0
  260. package/dist/components/ui-placeholder/UIPlaceholderHeader.d.ts +1 -0
  261. package/dist/components/ui-placeholder/UIPlaceholderHeader.en.d.ts +1 -0
  262. package/dist/components/ui-placeholder/UIPlaceholderImage.d.ts +1 -0
  263. package/dist/components/ui-placeholder/UIPlaceholderImage.en.d.ts +1 -0
  264. package/dist/components/ui-placeholder/UIPlaceholderLine.d.ts +1 -0
  265. package/dist/components/ui-placeholder/UIPlaceholderLine.en.d.ts +1 -0
  266. package/dist/components/ui-placeholder/UIPlaceholderParagraph.d.ts +1 -0
  267. package/dist/components/ui-placeholder/UIPlaceholderParagraph.en.d.ts +1 -0
  268. package/dist/components/ui-popup/UIPopup.d.ts +30 -3
  269. package/dist/components/ui-popup/UIPopup.en.d.ts +7 -0
  270. package/dist/components/ui-popup/UIPopup.es.d.ts +1 -0
  271. package/dist/components/ui-progress/UIProgress.d.ts +2 -0
  272. package/dist/components/ui-progress/UIProgress.en.d.ts +2 -0
  273. package/dist/components/ui-progress/UIProgress.es.d.ts +1 -0
  274. package/dist/components/ui-property-editor/UIProperty.d.ts +132 -5
  275. package/dist/components/ui-property-editor/UIProperty.en.d.ts +11 -44
  276. package/dist/components/ui-property-editor/UIProperty.es.d.ts +4 -0
  277. package/dist/components/ui-property-editor/UIPropertyEditor.d.ts +38 -0
  278. package/dist/components/ui-property-editor/UIPropertyEditor.en.d.ts +1 -0
  279. package/dist/components/ui-property-editor/UIPropertyEditor.es.d.ts +4 -0
  280. package/dist/components/ui-property-editor/UIPropertyEditor.types.d.ts +33 -0
  281. package/dist/components/ui-property-editor/UIPropertyGroup.d.ts +12 -0
  282. package/dist/components/ui-property-editor/UIPropertyGroup.en.d.ts +2 -0
  283. package/dist/components/ui-property-editor/UIPropertyGroup.es.d.ts +9 -0
  284. package/dist/components/ui-property-editor/index.d.ts +1 -0
  285. package/dist/components/ui-quote/UIQuote.d.ts +1 -0
  286. package/dist/components/ui-quote/UIQuote.en.d.ts +1 -0
  287. package/dist/components/ui-rail/UIRail.d.ts +1 -0
  288. package/dist/components/ui-rail/UIRail.en.d.ts +1 -0
  289. package/dist/components/ui-rating/UIRating.d.ts +6 -0
  290. package/dist/components/ui-rating/UIRating.en.d.ts +6 -0
  291. package/dist/components/ui-rating/UIRating.fallback.d.ts +6 -0
  292. package/dist/components/ui-reveal/UIReveal.d.ts +1 -0
  293. package/dist/components/ui-reveal/UIReveal.en.d.ts +1 -0
  294. package/dist/components/ui-root/UIRoot.d.ts +18 -3
  295. package/dist/components/ui-root/UIRoot.en.d.ts +15 -0
  296. package/dist/components/ui-root/UIRoot.es.d.ts +1 -0
  297. package/dist/components/ui-search/UISearch.d.ts +48 -7
  298. package/dist/components/ui-search/UISearch.en.d.ts +13 -1
  299. package/dist/components/ui-search/UISearch.es.d.ts +1 -0
  300. package/dist/components/ui-search/UISearch.fallback.d.ts +13 -1
  301. package/dist/components/ui-section/UISection.d.ts +22 -1
  302. package/dist/components/ui-section/UISection.en.d.ts +10 -0
  303. package/dist/components/ui-section/UISection.es.d.ts +1 -0
  304. package/dist/components/ui-section/UISections.d.ts +1 -0
  305. package/dist/components/ui-section/UISections.en.d.ts +1 -0
  306. package/dist/components/ui-segment/UISegment.d.ts +2 -0
  307. package/dist/components/ui-segment/UISegment.en.d.ts +2 -0
  308. package/dist/components/ui-segment/UISegment.es.d.ts +1 -0
  309. package/dist/components/ui-segment/UISegments.d.ts +1 -0
  310. package/dist/components/ui-segment/UISegments.en.d.ts +1 -0
  311. package/dist/components/ui-select/UISelect.d.ts +6 -0
  312. package/dist/components/ui-select/UISelect.en.d.ts +6 -0
  313. package/dist/components/ui-select/UISelect.fallback.d.ts +6 -0
  314. package/dist/components/ui-shape/UIShape.d.ts +23 -2
  315. package/dist/components/ui-shape/UIShape.en.d.ts +8 -0
  316. package/dist/components/ui-shape/UIShape.es.d.ts +1 -0
  317. package/dist/components/ui-shape/UISide.d.ts +4 -0
  318. package/dist/components/ui-shape/UISide.en.d.ts +4 -0
  319. package/dist/components/ui-sidebar/UIPushable.d.ts +1 -0
  320. package/dist/components/ui-sidebar/UIPushable.en.d.ts +1 -0
  321. package/dist/components/ui-sidebar/UIPusher.d.ts +1 -0
  322. package/dist/components/ui-sidebar/UIPusher.en.d.ts +1 -0
  323. package/dist/components/ui-sidebar/UISidebar.d.ts +1 -0
  324. package/dist/components/ui-sidebar/UISidebar.en.d.ts +1 -0
  325. package/dist/components/ui-sides/UISides.d.ts +209 -0
  326. package/dist/components/ui-sides/UISides.en.d.ts +122 -0
  327. package/dist/components/ui-sides/UISides.es.d.ts +30 -0
  328. package/dist/components/ui-sides/UISides.fallback.d.ts +134 -0
  329. package/dist/components/ui-sides/index.d.ts +2 -0
  330. package/dist/components/ui-site-nav/SitePages.d.ts +53 -0
  331. package/dist/components/ui-site-nav/UISiteNav.d.ts +207 -0
  332. package/dist/components/ui-site-nav/UISiteNav.en.d.ts +87 -0
  333. package/dist/components/ui-site-nav/UISiteNav.es.d.ts +29 -0
  334. package/dist/components/ui-site-nav/index.d.ts +1 -0
  335. package/dist/components/ui-site-tabs/UISiteTabs.d.ts +126 -0
  336. package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +49 -0
  337. package/dist/components/ui-site-tabs/UISiteTabs.es.d.ts +18 -0
  338. package/dist/components/ui-site-tabs/index.d.ts +1 -0
  339. package/dist/components/ui-slider/UISlider.d.ts +7 -0
  340. package/dist/components/ui-slider/UISlider.en.d.ts +7 -0
  341. package/dist/components/ui-slider/UISlider.es.d.ts +1 -0
  342. package/dist/components/ui-slider/UISlider.fallback.d.ts +7 -0
  343. package/dist/components/ui-space/UISpace.d.ts +1 -0
  344. package/dist/components/ui-space/UISpace.en.d.ts +1 -0
  345. package/dist/components/ui-split-panel/UISplitPanel.d.ts +175 -0
  346. package/dist/components/ui-split-panel/UISplitPanel.en.d.ts +74 -0
  347. package/dist/components/ui-split-panel/UISplitPanel.es.d.ts +25 -0
  348. package/dist/components/ui-split-panel/index.d.ts +2 -0
  349. package/dist/components/ui-stack/UIStack.d.ts +31 -5
  350. package/dist/components/ui-stack/UIStack.en.d.ts +15 -3
  351. package/dist/components/ui-statistic/UIStatistic.d.ts +1 -0
  352. package/dist/components/ui-statistic/UIStatistic.en.d.ts +1 -0
  353. package/dist/components/ui-statistic/UIStatistics.d.ts +1 -0
  354. package/dist/components/ui-statistic/UIStatistics.en.d.ts +1 -0
  355. package/dist/components/ui-step/UIStep.d.ts +1 -0
  356. package/dist/components/ui-step/UIStep.en.d.ts +1 -0
  357. package/dist/components/ui-step/UISteps.d.ts +1 -0
  358. package/dist/components/ui-step/UISteps.en.d.ts +1 -0
  359. package/dist/components/ui-sticky/UISticky.d.ts +4 -0
  360. package/dist/components/ui-sticky/UISticky.en.d.ts +1 -0
  361. package/dist/components/ui-tab/UITab.d.ts +8 -0
  362. package/dist/components/ui-tab/UITab.en.d.ts +1 -0
  363. package/dist/components/ui-tab/UITabs.d.ts +107 -16
  364. package/dist/components/ui-tab/UITabs.en.d.ts +40 -1
  365. package/dist/components/ui-tab/UITabs.es.d.ts +4 -0
  366. package/dist/components/ui-table/TableEditing.d.ts +77 -0
  367. package/dist/components/ui-table/UICell.d.ts +1 -0
  368. package/dist/components/ui-table/UICell.en.d.ts +1 -0
  369. package/dist/components/ui-table/UITable.d.ts +145 -5
  370. package/dist/components/ui-table/UITable.en.d.ts +19 -0
  371. package/dist/components/ui-table/UITable.es.d.ts +3 -0
  372. package/dist/components/ui-terms/UITerm.d.ts +1 -0
  373. package/dist/components/ui-terms/UITerm.en.d.ts +1 -0
  374. package/dist/components/ui-terms/UITerms.d.ts +1 -0
  375. package/dist/components/ui-terms/UITerms.en.d.ts +1 -0
  376. package/dist/components/ui-text/UILink.d.ts +11 -0
  377. package/dist/components/ui-text/UILink.en.d.ts +4 -0
  378. package/dist/components/ui-text/UIText.d.ts +7 -0
  379. package/dist/components/ui-text/UIText.en.d.ts +7 -0
  380. package/dist/components/ui-text/UIText.es.d.ts +2 -0
  381. package/dist/components/ui-theme-editor/SavedTheme.d.ts +55 -43
  382. package/dist/components/ui-theme-editor/ThemeDraft.d.ts +15 -0
  383. package/dist/components/ui-theme-editor/UIColorChip.d.ts +1 -0
  384. package/dist/components/ui-theme-editor/UIColorChip.en.d.ts +1 -0
  385. package/dist/components/ui-theme-editor/UIThemeEditor.d.ts +157 -26
  386. package/dist/components/ui-theme-editor/UIThemeEditor.en.d.ts +79 -6
  387. package/dist/components/ui-theme-editor/UIThemeEditor.es.d.ts +20 -2
  388. package/dist/components/ui-theme-editor/UIThemeEditor.types.d.ts +0 -2
  389. package/dist/components/ui-theme-editor/UIThemeToken.d.ts +1 -0
  390. package/dist/components/ui-theme-editor/UIThemeToken.en.d.ts +1 -0
  391. package/dist/components/ui-theme-menu/HueDropdown.d.ts +47 -0
  392. package/dist/components/ui-theme-menu/ThemeMenu.d.ts +18 -7
  393. package/dist/components/ui-theme-menu/ThemePreference.d.ts +145 -36
  394. package/dist/components/ui-theme-menu/UIThemeMenu.d.ts +118 -7
  395. package/dist/components/ui-theme-menu/UIThemeMenu.en.d.ts +82 -2
  396. package/dist/components/ui-theme-menu/UIThemeMenu.es.d.ts +21 -1
  397. package/dist/components/ui-theme-menu/UIThemeMenu.types.d.ts +36 -8
  398. package/dist/components/ui-theme-menu/index.d.ts +2 -1
  399. package/dist/components/ui-toast/UIToast.d.ts +1 -0
  400. package/dist/components/ui-toast/UIToast.en.d.ts +1 -0
  401. package/dist/components/ui-toc/UIToc.d.ts +1 -0
  402. package/dist/components/ui-toc/UIToc.en.d.ts +1 -0
  403. package/dist/components/ui-toolbar/UIToolbar.d.ts +13 -10
  404. package/dist/components/ui-toolbar/UIToolbar.en.d.ts +138 -84
  405. package/dist/components/ui-toolbar/UIToolbar.es.d.ts +2 -0
  406. package/dist/components/ui-transition/UITransition.d.ts +1 -0
  407. package/dist/components/ui-transition/UITransition.en.d.ts +1 -0
  408. package/dist/components/ui-tree/UITree.d.ts +162 -0
  409. package/dist/components/ui-tree/UITree.en.d.ts +88 -0
  410. package/dist/components/ui-tree/UITree.es.d.ts +35 -0
  411. package/dist/components/ui-tree/UITreeItem.d.ts +204 -0
  412. package/dist/components/ui-tree/UITreeItem.en.d.ts +142 -0
  413. package/dist/components/ui-tree/UITreeItem.es.d.ts +32 -0
  414. package/dist/components/ui-tree/index.d.ts +3 -0
  415. package/dist/components/ui-tree-diagram/TreeData.d.ts +3 -12
  416. package/dist/components/ui-tree-diagram/TreeLayout.d.ts +54 -21
  417. package/dist/components/ui-tree-diagram/TreeMeasure.d.ts +36 -0
  418. package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +152 -27
  419. package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +47 -7
  420. package/dist/components/ui-tree-diagram/UITreeDiagram.es.d.ts +12 -1
  421. package/dist/components/ui-tree-diagram/UITreeDiagram.types.d.ts +66 -21
  422. package/dist/components/ui-tree-diagram/UITreeNode.d.ts +148 -0
  423. package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +69 -0
  424. package/dist/components/ui-tree-diagram/UITreeNode.es.d.ts +21 -0
  425. package/dist/components/ui-tree-diagram/index.d.ts +4 -2
  426. package/dist/components/ui-video/UIAudio.d.ts +1 -0
  427. package/dist/components/ui-video/UIAudio.en.d.ts +1 -0
  428. package/dist/components/ui-video/UIVideo.d.ts +1 -0
  429. package/dist/components/ui-video/UIVideo.en.d.ts +1 -0
  430. package/dist/components/ui-visibility/UIVisibility.d.ts +1 -0
  431. package/dist/components/ui-visibility/UIVisibility.en.d.ts +1 -0
  432. package/dist/components/ui-zoom/UIZoom.d.ts +1 -0
  433. package/dist/components/ui-zoom/UIZoom.en.d.ts +1 -0
  434. package/dist/{components.es-DmLzT-Bq.js → components.es-BOa_7gFF.js} +498 -109
  435. package/dist/components.es-BOa_7gFF.js.map +1 -0
  436. package/dist/core.d.ts +3 -1
  437. package/dist/core.js +1082 -511
  438. package/dist/core.js.map +1 -1
  439. package/dist/crisp-VfYZlTph.js +6 -0
  440. package/dist/{crisp-CoZRRDuQ.js.map → crisp-VfYZlTph.js.map} +1 -1
  441. package/dist/docs-components/index.d.ts +1 -0
  442. package/dist/docs-components/ui-docs-index/UIDocsIndex.d.ts +89 -0
  443. package/dist/docs-components/ui-docs-index/UIDocsIndex.en.d.ts +43 -0
  444. package/dist/docs-components/ui-docs-index/index.d.ts +2 -0
  445. package/dist/docs-components/ui-docs-nav/UIDocsNav.d.ts +54 -87
  446. package/dist/docs-components/ui-docs-nav/UIDocsNav.types.d.ts +2 -29
  447. package/dist/docs-components/ui-docs-search/SearchIndex.d.ts +8 -2
  448. package/dist/docs-components/ui-docs-search/UIDocsSearch.d.ts +10 -0
  449. package/dist/docs-components/ui-docs-search/UIDocsSearch.en.d.ts +5 -0
  450. package/dist/elements/AddressParameter.d.ts +87 -0
  451. package/dist/elements/DOMFormControl.d.ts +5 -0
  452. package/dist/elements/FormComponent.d.ts +32 -0
  453. package/dist/elements/LoadableBody.d.ts +6 -1
  454. package/dist/elements/LoadableComponent.d.ts +10 -1
  455. package/dist/elements/RootSettings.d.ts +43 -6
  456. package/dist/elements/SpellUISettings.d.ts +1 -0
  457. package/dist/elements/StickyWatch.d.ts +20 -0
  458. package/dist/elements/elements.types.d.ts +15 -0
  459. package/dist/elements/index.d.ts +2 -0
  460. package/dist/forms.js +93 -63
  461. package/dist/forms.js.map +1 -1
  462. package/dist/fruity-BRVlgJZd.js +6 -0
  463. package/dist/fruity-BRVlgJZd.js.map +1 -0
  464. package/dist/{fruity.theme-BJcMiPl1.js → fruity.theme-CbC7Jyvk.js} +2 -2
  465. package/dist/fruity.theme-CbC7Jyvk.js.map +1 -0
  466. package/dist/glass-x9tbbwVq.js +6 -0
  467. package/dist/glass-x9tbbwVq.js.map +1 -0
  468. package/dist/glass.theme-24wY2wH9.js +6 -0
  469. package/dist/glass.theme-24wY2wH9.js.map +1 -0
  470. package/dist/hot.js +530 -24
  471. package/dist/hot.js.map +1 -1
  472. package/dist/index.d.ts +8 -0
  473. package/dist/index.js +91 -81
  474. package/dist/jsx.d.ts +21149 -10377
  475. package/dist/matrix-QY2gWbJ0.js +6 -0
  476. package/dist/{matrix-CqA59hiF.js.map → matrix-QY2gWbJ0.js.map} +1 -1
  477. package/dist/{matrix.theme-jqQZjcq3.js → matrix.theme-_8xtwhDq.js} +2 -2
  478. package/dist/matrix.theme-_8xtwhDq.js.map +1 -0
  479. package/dist/midnight-BxlTQSfw.js +6 -0
  480. package/dist/{midnight-BnoVOrhC.js.map → midnight-BxlTQSfw.js.map} +1 -1
  481. package/dist/mockup-83ELBuVr.js +6 -0
  482. package/dist/mockup-83ELBuVr.js.map +1 -0
  483. package/dist/mockup.theme-DmpBgGBl.js +6 -0
  484. package/dist/mockup.theme-DmpBgGBl.js.map +1 -0
  485. package/dist/paper-M61nUilz.js +6 -0
  486. package/dist/{paper-CynH8ZuT.js.map → paper-M61nUilz.js.map} +1 -1
  487. package/dist/persist.types-D2m6wD-S.js +9 -0
  488. package/dist/persist.types-D2m6wD-S.js.map +1 -0
  489. package/dist/pop-CxXfytjk.js +6 -0
  490. package/dist/{pop-D2i9V_rG.js.map → pop-CxXfytjk.js.map} +1 -1
  491. package/dist/runtime/DataTooltips.d.ts +75 -0
  492. package/dist/runtime/PropertyControls.d.ts +15 -1
  493. package/dist/runtime/Sources.d.ts +16 -4
  494. package/dist/runtime/Styles.d.ts +11 -0
  495. package/dist/runtime/Themes.d.ts +10 -4
  496. package/dist/runtime/UIRuntime.d.ts +4 -1
  497. package/dist/runtime/index.d.ts +1 -1
  498. package/dist/runtime/runtime.types.d.ts +18 -85
  499. package/dist/spell-By5Y3jKP.js +6 -0
  500. package/dist/{spell-BFtLICm7.js.map → spell-By5Y3jKP.js.map} +1 -1
  501. package/dist/{spell.theme-B7AU7SQX.js → spell.theme-DxGj7qHx.js} +2 -2
  502. package/dist/spell.theme-DxGj7qHx.js.map +1 -0
  503. package/dist/styles/CodeThemeFile.d.ts +73 -0
  504. package/dist/styles/StyleGenerator.d.ts +6 -0
  505. package/dist/styles/styles.en.d.ts +141 -3
  506. package/dist/styles/styles.types.d.ts +2 -0
  507. package/dist/{styles.en-RLpYiO5_.js → styles.en-CUUxNwHo.js} +71 -14
  508. package/dist/styles.en-CUUxNwHo.js.map +1 -0
  509. package/dist/styles.js +13 -13
  510. package/dist/styles.js.map +1 -1
  511. package/dist/ui-accordion.js +54 -53
  512. package/dist/ui-accordion.js.map +1 -1
  513. package/dist/ui-action.js +20 -19
  514. package/dist/ui-action.js.map +1 -1
  515. package/dist/ui-ad.js +5 -4
  516. package/dist/ui-ad.js.map +1 -1
  517. package/dist/ui-breadcrumbs.js +15 -13
  518. package/dist/ui-breadcrumbs.js.map +1 -1
  519. package/dist/ui-button.js +132 -125
  520. package/dist/ui-button.js.map +1 -1
  521. package/dist/ui-calendar.js +208 -206
  522. package/dist/ui-calendar.js.map +1 -1
  523. package/dist/ui-card.js +260 -98
  524. package/dist/ui-card.js.map +1 -1
  525. package/dist/ui-checkbox.js +95 -81
  526. package/dist/ui-checkbox.js.map +1 -1
  527. package/dist/ui-code.js +25 -24
  528. package/dist/ui-code.js.map +1 -1
  529. package/dist/ui-comment.js +14 -12
  530. package/dist/ui-comment.js.map +1 -1
  531. package/dist/ui-components.js +7 -6
  532. package/dist/ui-components.js.map +1 -1
  533. package/dist/ui-container.js +24 -12
  534. package/dist/ui-container.js.map +1 -1
  535. package/dist/ui-diagram.js +1328 -0
  536. package/dist/ui-diagram.js.map +1 -0
  537. package/dist/ui-dimension.js +779 -0
  538. package/dist/ui-dimension.js.map +1 -0
  539. package/dist/ui-dimmer.js +36 -34
  540. package/dist/ui-dimmer.js.map +1 -1
  541. package/dist/ui-divider.js +7 -5
  542. package/dist/ui-divider.js.map +1 -1
  543. package/dist/ui-dropdown.js +107 -105
  544. package/dist/ui-dropdown.js.map +1 -1
  545. package/dist/ui-embed.js +36 -35
  546. package/dist/ui-embed.js.map +1 -1
  547. package/dist/ui-emoji.js +10 -9
  548. package/dist/ui-emoji.js.map +1 -1
  549. package/dist/ui-example.js +63 -61
  550. package/dist/ui-example.js.map +1 -1
  551. package/dist/ui-feed.js +12 -10
  552. package/dist/ui-feed.js.map +1 -1
  553. package/dist/ui-flag.js +10 -9
  554. package/dist/ui-flag.js.map +1 -1
  555. package/dist/ui-flyout.js +7 -6
  556. package/dist/ui-flyout.js.map +1 -1
  557. package/dist/ui-form.js +244 -162
  558. package/dist/ui-form.js.map +1 -1
  559. package/dist/ui-grid.js +21 -18
  560. package/dist/ui-grid.js.map +1 -1
  561. package/dist/ui-icon-picker.js +46 -44
  562. package/dist/ui-icon-picker.js.map +1 -1
  563. package/dist/ui-icon.js +17 -14
  564. package/dist/ui-icon.js.map +1 -1
  565. package/dist/ui-image.js +93 -55
  566. package/dist/ui-image.js.map +1 -1
  567. package/dist/ui-include.js +18 -17
  568. package/dist/ui-include.js.map +1 -1
  569. package/dist/ui-input.js +154 -112
  570. package/dist/ui-input.js.map +1 -1
  571. package/dist/ui-item.js +152 -102
  572. package/dist/ui-item.js.map +1 -1
  573. package/dist/ui-items.js +9 -8
  574. package/dist/ui-items.js.map +1 -1
  575. package/dist/ui-json.js +115 -0
  576. package/dist/ui-json.js.map +1 -0
  577. package/dist/ui-keys.js +1 -1
  578. package/dist/ui-label.js +18 -15
  579. package/dist/ui-label.js.map +1 -1
  580. package/dist/ui-list.js +7 -5
  581. package/dist/ui-list.js.map +1 -1
  582. package/dist/ui-loader.js +7 -6
  583. package/dist/ui-loader.js.map +1 -1
  584. package/dist/ui-markdown.js +975 -83
  585. package/dist/ui-markdown.js.map +1 -1
  586. package/dist/ui-menu.js +329 -196
  587. package/dist/ui-menu.js.map +1 -1
  588. package/dist/ui-message.js +20 -18
  589. package/dist/ui-message.js.map +1 -1
  590. package/dist/ui-modal.js +46 -45
  591. package/dist/ui-modal.js.map +1 -1
  592. package/dist/ui-nag.js +19 -18
  593. package/dist/ui-nag.js.map +1 -1
  594. package/dist/ui-page.js +8 -7
  595. package/dist/ui-page.js.map +1 -1
  596. package/dist/ui-panel.js +28 -17
  597. package/dist/ui-panel.js.map +1 -1
  598. package/dist/ui-parts.js +66 -52
  599. package/dist/ui-parts.js.map +1 -1
  600. package/dist/ui-placeholder.js +21 -16
  601. package/dist/ui-placeholder.js.map +1 -1
  602. package/dist/ui-popup.js +113 -84
  603. package/dist/ui-popup.js.map +1 -1
  604. package/dist/ui-progress.js +9 -7
  605. package/dist/ui-progress.js.map +1 -1
  606. package/dist/ui-property-editor.js +706 -203
  607. package/dist/ui-property-editor.js.map +1 -1
  608. package/dist/ui-quote.js +5 -4
  609. package/dist/ui-quote.js.map +1 -1
  610. package/dist/ui-rail.js +5 -4
  611. package/dist/ui-rail.js.map +1 -1
  612. package/dist/ui-rating.js +31 -29
  613. package/dist/ui-rating.js.map +1 -1
  614. package/dist/ui-reveal.js +7 -6
  615. package/dist/ui-reveal.js.map +1 -1
  616. package/dist/ui-root.js +324 -158
  617. package/dist/ui-root.js.map +1 -1
  618. package/dist/ui-search.js +210 -168
  619. package/dist/ui-search.js.map +1 -1
  620. package/dist/ui-section.js +124 -92
  621. package/dist/ui-section.js.map +1 -1
  622. package/dist/ui-segment.js +15 -12
  623. package/dist/ui-segment.js.map +1 -1
  624. package/dist/ui-select.js +83 -81
  625. package/dist/ui-select.js.map +1 -1
  626. package/dist/ui-shape.js +86 -58
  627. package/dist/ui-shape.js.map +1 -1
  628. package/dist/ui-sidebar.js +59 -56
  629. package/dist/ui-sidebar.js.map +1 -1
  630. package/dist/ui-sides.js +325 -0
  631. package/dist/ui-sides.js.map +1 -0
  632. package/dist/ui-site-nav.js +329 -0
  633. package/dist/ui-site-nav.js.map +1 -0
  634. package/dist/ui-site-tabs.js +177 -0
  635. package/dist/ui-site-tabs.js.map +1 -0
  636. package/dist/ui-slider.js +84 -81
  637. package/dist/ui-slider.js.map +1 -1
  638. package/dist/ui-space.js +7 -6
  639. package/dist/ui-space.js.map +1 -1
  640. package/dist/ui-split-panel.js +298 -0
  641. package/dist/ui-split-panel.js.map +1 -0
  642. package/dist/ui-stack.js +47 -23
  643. package/dist/ui-stack.js.map +1 -1
  644. package/dist/ui-statistic.js +15 -13
  645. package/dist/ui-statistic.js.map +1 -1
  646. package/dist/ui-step.js +31 -29
  647. package/dist/ui-step.js.map +1 -1
  648. package/dist/ui-sticky.js +7 -6
  649. package/dist/ui-sticky.js.map +1 -1
  650. package/dist/ui-tab.js +230 -138
  651. package/dist/ui-tab.js.map +1 -1
  652. package/dist/ui-table.js +724 -162
  653. package/dist/ui-table.js.map +1 -1
  654. package/dist/ui-terms.js +12 -10
  655. package/dist/ui-terms.js.map +1 -1
  656. package/dist/ui-text.js +53 -28
  657. package/dist/ui-text.js.map +1 -1
  658. package/dist/ui-theme-editor.js +1018 -1545
  659. package/dist/ui-theme-editor.js.map +1 -1
  660. package/dist/ui-theme-menu-CuIjr8Ou.js +1493 -0
  661. package/dist/ui-theme-menu-CuIjr8Ou.js.map +1 -0
  662. package/dist/ui-toast.js +45 -44
  663. package/dist/ui-toast.js.map +1 -1
  664. package/dist/ui-toc.js +75 -74
  665. package/dist/ui-toc.js.map +1 -1
  666. package/dist/ui-toolbar.js +51 -73
  667. package/dist/ui-toolbar.js.map +1 -1
  668. package/dist/ui-transition.js +12 -11
  669. package/dist/ui-transition.js.map +1 -1
  670. package/dist/ui-tree-diagram.js +676 -197
  671. package/dist/ui-tree-diagram.js.map +1 -1
  672. package/dist/ui-tree.js +625 -0
  673. package/dist/ui-tree.js.map +1 -0
  674. package/dist/ui-video.js +13 -11
  675. package/dist/ui-video.js.map +1 -1
  676. package/dist/ui-visibility.js +26 -25
  677. package/dist/ui-visibility.js.map +1 -1
  678. package/dist/ui-zoom.js +79 -78
  679. package/dist/ui-zoom.js.map +1 -1
  680. package/dist/util/TopLayerTip.d.ts +28 -0
  681. package/dist/util/index.d.ts +5 -2
  682. package/dist/vocabulary/DefaultValues.d.ts +34 -0
  683. package/dist/vocabulary/SharedVocabulary.d.ts +4 -0
  684. package/dist/vocabulary/SharedVocabulary.es.d.ts +7 -0
  685. package/dist/vocabulary/ValueSets.d.ts +18 -0
  686. package/dist/vocabulary/Vocabulary.d.ts +1 -0
  687. package/dist/vocabulary/defaults.generated.d.ts +6 -0
  688. package/dist/vocabulary/index.d.ts +1 -0
  689. package/package.json +1 -1
  690. package/dist/MarkdownEngine-CbuT9Mjc.js.map +0 -1
  691. package/dist/PrefStore-CeaTtjTz.js.map +0 -1
  692. package/dist/UIButton-XkfGqgh6.js +0 -6
  693. package/dist/UIButton-XkfGqgh6.js.map +0 -1
  694. package/dist/UIInput-BUudZstW.js +0 -6
  695. package/dist/UIInput-BUudZstW.js.map +0 -1
  696. package/dist/UIKeys-DJF2TIKE.js.map +0 -1
  697. package/dist/UILabel-C1jy3Yl8.js +0 -6
  698. package/dist/UILabel-C1jy3Yl8.js.map +0 -1
  699. package/dist/UIMenu-Btd-8V3A.js +0 -42
  700. package/dist/UIMenu-Btd-8V3A.js.map +0 -1
  701. package/dist/UIRuntime-BBuehGly.js.map +0 -1
  702. package/dist/components.es-DmLzT-Bq.js.map +0 -1
  703. package/dist/crisp-CoZRRDuQ.js +0 -6
  704. package/dist/fruity-CQFYeRlh.js +0 -6
  705. package/dist/fruity-CQFYeRlh.js.map +0 -1
  706. package/dist/fruity.theme-BJcMiPl1.js.map +0 -1
  707. package/dist/glass-CAfW11kL.js +0 -6
  708. package/dist/glass-CAfW11kL.js.map +0 -1
  709. package/dist/glass.theme-DQcBbtCW.js +0 -6
  710. package/dist/glass.theme-DQcBbtCW.js.map +0 -1
  711. package/dist/matrix-CqA59hiF.js +0 -6
  712. package/dist/matrix.theme-jqQZjcq3.js.map +0 -1
  713. package/dist/midnight-BnoVOrhC.js +0 -6
  714. package/dist/paper-CynH8ZuT.js +0 -6
  715. package/dist/persist.types-CsZxS8TG.js +0 -9
  716. package/dist/persist.types-CsZxS8TG.js.map +0 -1
  717. package/dist/pop-D2i9V_rG.js +0 -6
  718. package/dist/spell-BFtLICm7.js +0 -6
  719. package/dist/spell.theme-B7AU7SQX.js.map +0 -1
  720. package/dist/styles.en-RLpYiO5_.js.map +0 -1
  721. package/dist/ui-theme-menu-DyKZygpV.js +0 -921
  722. package/dist/ui-theme-menu-DyKZygpV.js.map +0 -1
package/dist/ui-table.js CHANGED
@@ -1,11 +1,12 @@
1
1
  import "./rolldown-runtime-CYGlBXrH.js";
2
- import { $ as e, Bt as t, ClassBuilder as n, Converters as r, F as i, Ft as a, It as o, Lt as s, Nt as ee, PartContext as te, Rt as c, SlotContent as ne, UI as l, UIComponent as re, ValueSets as ie, Vt as u, afterSolidUpdate as ae, aria as d, controlled as f, cssState as p, derived as m, isSameList as oe, lazy as se, numberToWord as ce, on as le, onChange as h, proto as ue, protoMerged as de, s as fe, state as g, untracked as _, vt as pe, watches as v, yt as y, zt as b } from "./core.js";
2
+ import { Bt as e, ClassBuilder as t, Converters as n, F as r, Ft as i, Ht as a, Lt as o, PartContext as s, Rt as c, SlotContent as l, UI as u, UIComponent as d, Ut as f, ValueSets as ee, Vt as p, afterSolidUpdate as te, aria as m, beforeNextPaint as ne, bt as h, controlled as re, cssState as g, derived as _, et as ie, isSameList as ae, kebabCase as oe, lazy as se, numberToWord as ce, on as v, onChange as y, proto as le, protoMerged as ue, s as de, state as b, untracked as x, watches as fe, yt as pe, zt as S } from "./core.js";
3
3
  import "./ui-grid.js";
4
- import { For as x, Show as S, createRenderEffect as me } from "solid-js";
5
- import { Portal as he, className as C, createComponent as w, effect as T, getOwner as E, insert as D, isServer as O, readShallow as k, ref as ge, setAttribute as A, spread as _e, style as ve, template as j } from "@solidjs/web";
4
+ import { For as C, Show as w, createRenderEffect as me } from "solid-js";
5
+ import { Portal as he, addEvent as ge, className as T, createComponent as E, delegateEvents as _e, effect as D, getOwner as ve, insert as O, isServer as k, memo as ye, readShallow as A, ref as j, setAttribute as M, setProperty as be, setStyleProperty as xe, spread as Se, style as Ce, template as N } from "@solidjs/web";
6
6
  //#region src/components/ui-table/UITable.en.ts
7
- var M = {
7
+ var we = {
8
8
  tag: "ui-table",
9
+ icon: "table",
9
10
  topics: [
10
11
  "tables",
11
12
  "data display",
@@ -76,6 +77,12 @@ var M = {
76
77
  kind: "keyOnly",
77
78
  description: "Body rows highlight on hover."
78
79
  },
80
+ {
81
+ name: "editable",
82
+ group: "behaviour",
83
+ kind: "keyOnly",
84
+ description: "Data mode: people edit the cells like a spreadsheet. A cell cursor (arrows, Tab, Enter, Home / End), typing or F2 opens the cell's editor (by its column's `type`), Escape puts it back; the last, empty row adds one; Delete clears a cell, ⌘ / Ctrl + Delete removes its row; a pasted block of cells (from Excel or Sheets) fills from the cursor. Each change is sent as `ui-editing` first: square cells on a hairline grid while it's on, in every theme."
85
+ },
79
86
  {
80
87
  name: "single-line",
81
88
  group: "appearance",
@@ -267,7 +274,7 @@ var M = {
267
274
  group: "content",
268
275
  kind: "json",
269
276
  reflect: !1,
270
- description: "Data mode: `TableColumn[]` (`key`, `header`, `textAlign`, `sortable`, `width`); default the first row's keys."
277
+ description: "Data mode: `TableColumn[]` (`key`, `header`, `textAlign`, `sortable`, `width`; for `editable`, `type`, `choices`, `readOnly`); default the first row's keys (its `toJSON()`'s, for a row that has one)."
271
278
  },
272
279
  {
273
280
  name: "caption",
@@ -280,10 +287,15 @@ var M = {
280
287
  group: "content",
281
288
  kind: "json",
282
289
  reflect: !1,
283
- description: "Data mode: `Record<string, unknown>[]`; with no slotted `<table>`, the element renders one (text only) into its light DOM."
290
+ description: "Data mode: `Record<string, unknown>[]`, or any list of them (an iterable); with no slotted `<table>`, the element renders one (text only) into its light DOM."
284
291
  }
285
292
  ],
286
293
  events: [{
294
+ name: "ui-editing",
295
+ detail: "TableEditDetail",
296
+ cancelable: !0,
297
+ description: "`editable`: cells were changed, a row added or removed, as `{ edits, originalEvent }` (`TableEdit[]`, one keystroke, paste or click together). Not cancelled, the table shows them in new `rows` of its own; `preventDefault()` when the page writes them itself (a Spell program's things), and hands the table its rows."
298
+ }, {
287
299
  name: "ui-sorting",
288
300
  detail: "{ column: number, key?: string, direction: \"ascending\" | \"descending\", originalEvent?: Event }",
289
301
  cancelable: !0,
@@ -325,13 +337,25 @@ var M = {
325
337
  description: "Set while `attach` is `bottom`: the host keeps only its bottom margin."
326
338
  }
327
339
  ],
328
- texts: [{
329
- key: "label",
330
- text: "Table",
331
- description: "Name of the scrolling region when the host has no `aria-label` and the table no `<caption>`."
332
- }],
340
+ texts: [
341
+ {
342
+ key: "delete-row",
343
+ text: "Delete row",
344
+ description: "`editable`: the button at a row's end that removes it."
345
+ },
346
+ {
347
+ key: "new-row",
348
+ text: "New row: type to add one",
349
+ description: "`editable`: the empty last row's name, read out as the cursor reaches it."
350
+ },
351
+ {
352
+ key: "label",
353
+ text: "Table",
354
+ description: "Name of the scrolling region when the host has no `aria-label` and the table no `<caption>`."
355
+ }
356
+ ],
333
357
  ownsParts: ["row", "cell"]
334
- }, N = class TableClassMirror {
358
+ }, Te = class TableClassMirror {
335
359
  table;
336
360
  classes = "";
337
361
  owned = /* @__PURE__ */ new Set();
@@ -360,55 +384,23 @@ var M = {
360
384
  return [...TableClassMirror.words(e).filter((e) => !r.has(e)), ...n].join(" ");
361
385
  }
362
386
  static words(e) {
363
- return e ? e.split(ee).filter(Boolean) : [];
364
- }
365
- }, ye = [se], P, F = class _TableGrammar {
366
- static scroller(e) {
367
- let t = {};
368
- for (let n of xe) t[n] = e(n);
369
- return _TableGrammar.builder.build(t);
370
- }
371
- static scrolls(e) {
372
- return !!e(R) || !!e(be);
387
+ return e ? e.split(i).filter(Boolean) : [];
373
388
  }
374
- static cell(e) {
375
- let { grammar: t } = n, r = [];
376
- if (e.textAlign && r.push(`${e.textAlign} ${t.aligned}`), e.width != null) {
377
- let n = ie.columns(String(e.width)), i = n === void 0 ? void 0 : ce(Math.round(n));
378
- i && r.push(`${i} ${t.wide}`);
379
- }
380
- return r.join(" ");
381
- }
382
- static get builder() {
383
- return new n({
384
- ...M,
385
- noun: Se,
386
- ui: !1,
387
- attributes: M.attributes.filter(({ name: e }) => xe.includes(e))
388
- });
389
- }
390
- };
391
- P = s(null), a(P, 10, "builder", ye, F), o(P, F), u(P, 3, F), c(F, "TableGrammar");
392
- var I = F, L = "attach", R = "scrolling", be = "overflowing", xe = [
393
- "resizable",
394
- L,
395
- R,
396
- be
397
- ], Se = "scroller", z = class TableRows {
389
+ }, P = class TableRows {
398
390
  static rows(e) {
399
- return [...e.children].filter((e) => TableRows.is(e, Ce));
391
+ return [...e.children].filter((e) => TableRows.is(e, Ee));
400
392
  }
401
393
  static cells(e) {
402
- return [...e.children].filter((e) => TableRows.is(e, we));
394
+ return [...e.children].filter((e) => TableRows.is(e, De));
403
395
  }
404
396
  static isHeaderRow(e) {
405
- return TableRows.isOn(e, Te);
397
+ return TableRows.isOn(e, Oe);
406
398
  }
407
399
  static isFooterRow(e) {
408
- return TableRows.isOn(e, Ee);
400
+ return TableRows.isOn(e, ke);
409
401
  }
410
402
  static span(e) {
411
- return TableRows.spanOf(TableRows.value(e, De));
403
+ return TableRows.spanOf(TableRows.value(e, Ae));
412
404
  }
413
405
  static columnCount(e) {
414
406
  let t = 1;
@@ -437,7 +429,7 @@ var I = F, L = "attach", R = "scrolling", be = "overflowing", xe = [
437
429
  }
438
430
  static is(e, t) {
439
431
  let n = e.localName;
440
- return n === t || "vocabulary" in l && l.vocabulary.canonicalTagFor(n) === t;
432
+ return n === t || "vocabulary" in u && u.vocabulary.canonicalTagFor(n) === t;
441
433
  }
442
434
  static value(e, t) {
443
435
  try {
@@ -447,12 +439,12 @@ var I = F, L = "attach", R = "scrolling", be = "overflowing", xe = [
447
439
  return e.getAttribute(t) ?? void 0;
448
440
  }
449
441
  static isOn(e, t) {
450
- let n = TableRows.value(e, t);
451
- return r.boolean(typeof n == "boolean" || typeof n == "string" ? n : void 0, t);
442
+ let r = TableRows.value(e, t);
443
+ return n.boolean(typeof r == "boolean" || typeof r == "string" ? r : void 0, t);
452
444
  }
453
- }, Ce = "ui-row", we = "ui-cell", Te = "header", Ee = "footer", De = "span", B = class TableSort {
445
+ }, Ee = "ui-row", De = "ui-cell", Oe = "header", ke = "footer", Ae = "span", F = class TableSort {
454
446
  static shapeOf(e) {
455
- return e.localName === Oe ? ke : z;
447
+ return e.localName === je ? Me : P;
456
448
  }
457
449
  static header(e, t) {
458
450
  let n = TableSort.shapeOf(e), r = n.headerRows(e);
@@ -468,7 +460,7 @@ var I = F, L = "attach", R = "scrolling", be = "overflowing", xe = [
468
460
  return t.headerRows(e).flatMap((e) => t.cells(e).filter((e) => t.isHeader(e)));
469
461
  }
470
462
  static isSortable(e) {
471
- return e.getAttribute(y.attribute) !== y.value && !e.classList.contains("disabled");
463
+ return e.getAttribute(h.attribute) !== h.value && !e.classList.contains("disabled");
472
464
  }
473
465
  static column(e, t) {
474
466
  let n = TableSort.shapeOf(e), r = 0;
@@ -505,73 +497,207 @@ var I = F, L = "attach", R = "scrolling", be = "overflowing", xe = [
505
497
  }
506
498
  static compare(e, t, n) {
507
499
  let r = e == null || e === "", i = t == null || t === "";
508
- return r || i ? Number(r) - Number(i) : typeof e == "number" && typeof t == "number" ? (e - t) * n : Ae.compare(TableSort.text(e), TableSort.text(t)) * n;
500
+ return r || i ? Number(r) - Number(i) : typeof e == "number" && typeof t == "number" ? (e - t) * n : Ne.compare(TableSort.text(e), TableSort.text(t)) * n;
509
501
  }
510
502
  static text(e) {
511
503
  return e == null ? "" : typeof e == "object" ? JSON.stringify(e) : String(e);
512
504
  }
513
- }, Oe = "table", ke = {
505
+ }, je = "table", Me = {
514
506
  headerRows: (e) => [...e.querySelectorAll(":scope > thead > tr")],
515
507
  bodies: (e) => [...e.querySelectorAll(":scope > tbody")].map((e) => [...e.querySelectorAll(":scope > tr")]),
516
508
  cells: (e) => [...e.children].filter((e) => e.localName === "td" || e.localName === "th"),
517
- span: (e) => z.spanOf(e.getAttribute("colspan")),
509
+ span: (e) => P.spanOf(e.getAttribute("colspan")),
518
510
  isHeader: (e) => e.localName === "th",
519
511
  place: (e, t) => t[0]?.parentElement?.append(...t)
520
- }, Ae = new Intl.Collator(void 0, { numeric: !0 }), je = "@layer ui.components.table.types{:host{--_table-hosted:1;--_table-stack-by:var(--ui-table-stack-by,var(--ui-stack-with,viewport));--ui-color:initial;--ui-color-text:initial;--ui-color-header:initial;--ui-color-border:initial;--ui-color-background:initial;--ui-color-inverted:initial;--ui-color-on:initial;--ui-color-inverted-on:initial;margin-block:1em;display:block;container-type:inline-size}:host(:first-child){margin-block-start:0}:host(:last-child){margin-block-end:0}.scroller{--_ui-table-row-height:var(--ui-table-row-height,calc(2 * .785714em + var(--ui-line-height) * 1em));--_table-scroll-rows:3;--_table-overflow-rows:5;--_table-scroll-factor:1;margin-block:1em;display:block}:host(:first-child)>.scroller{margin-block-start:0}:host(:last-child)>.scroller{margin-block-end:0}:host>.scroller:not([data-ui]){margin-block:0}.ui.table,:where(ui-table)>table{--_ui-table-margin:var(--ui-table-margin,1em);--_ui-table-background:var(--ui-table-background,var(--ui-surface));--_ui-table-color:var(--ui-table-color,var(--ui-text-color));--_ui-table-border-width:var(--ui-table-border-width,var(--ui-border-width));--_ui-table-border-color:var(--ui-table-border-color,var(--ui-border-color));--_ui-table-radius:var(--ui-table-radius,var(--ui-radius));--_ui-table-duration:var(--ui-table-duration,var(--ui-duration-fast));--_ui-table-row-border:var(--ui-table-row-border,var(--ui-border-width) solid var(--ui-border-color-internal));--_ui-table-cell-border:var(--ui-table-cell-border,var(--ui-border-width) solid var(--ui-border-color-internal));--_ui-table-cell-padding-block:var(--ui-table-cell-padding-block,.785714em);--_ui-table-cell-padding-inline:var(--ui-table-cell-padding-inline,.785714em);--_ui-table-header-padding-block:var(--ui-table-header-padding-block,.928571em);--_ui-table-header-background:var(--ui-table-header-background,var(--ui-surface-muted));--_ui-table-header-color:var(--ui-table-header-color,var(--ui-text-color));--_ui-table-header-border:var(--ui-table-header-border,var(--ui-border-width) solid var(--ui-border-color-internal));--_ui-table-footer-background:var(--ui-table-footer-background,var(--ui-surface-muted));--_ui-table-footer-color:var(--ui-table-footer-color,var(--ui-text-color));--_ui-table-footer-border:var(--ui-table-footer-border,var(--ui-border));--_ui-table-row-height:var(--ui-table-row-height,calc(2 * .785714em + var(--ui-line-height) * 1em));--_ui-table-responsive-row-padding:var(--ui-table-responsive-row-padding,1em);--_ui-table-responsive-row-shadow:var(--ui-table-responsive-row-shadow,0 -1px 0 0 oklch(from var(--ui-ink) l c h / .1) inset);--_ui-table-responsive-cell-padding:var(--ui-table-responsive-cell-padding,.25em .75em);--_ui-table-definition-page-background:var(--ui-table-definition-page-background,var(--ui-background));--_ui-table-definition-header-color:var(--ui-table-definition-header-color,var(--ui-text-unselected));--_ui-table-definition-column-background:var(--ui-table-definition-column-background,oklch(from var(--ui-ink) l c h / .03));--_ui-table-definition-column-color:var(--ui-table-definition-column-color,var(--ui-text-selected));--_ui-table-active-background:var(--ui-table-active-background,color-mix(in oklab, var(--ui-ink) 12%, var(--ui-surface)));--_ui-table-active-color:var(--ui-table-active-color,var(--ui-text-color));--_ui-table-disabled-color:var(--ui-table-disabled-color,var(--ui-text-muted));--_ui-table-striped-background:var(--ui-table-striped-background,oklch(from var(--ui-ink) l c h / .03));--_ui-table-selectable-background:var(--ui-table-selectable-background,oklch(from var(--ui-ink) l c h / .05));--_ui-table-selectable-color:var(--ui-table-selectable-color,var(--ui-text-selected));--_ui-table-sortable-hover-background:var(--ui-table-sortable-hover-background,oklch(from var(--ui-ink) l c h / .05));--_ui-table-sortable-hover-color:var(--ui-table-sortable-hover-color,var(--ui-text-hovered));--_ui-table-sortable-active-background:var(--ui-table-sortable-active-background,oklch(from var(--ui-ink) l c h / .05));--_ui-table-sortable-active-color:var(--ui-table-sortable-active-color,var(--ui-text-selected));--_ui-table-sortable-border:var(--ui-table-sortable-border,var(--ui-border));--_ui-table-sortable-icon-opacity:var(--ui-table-sortable-icon-opacity,.8);--_ui-table-colored-border-size:var(--ui-table-colored-border-size,.2em);--_ui-table-marker-width:var(--ui-table-marker-width,.2em);--_ui-table-inverted-header-background:var(--ui-table-inverted-header-background,oklch(0% 0 0/.15));--_ui-table-inverted-cell-border-color:var(--ui-table-inverted-cell-border-color,oklch(100% 0 0/.1));--_ui-table-inverted-striped-background:var(--ui-table-inverted-striped-background,oklch(100% 0 0/.05));--_ui-table-inverted-selectable-background:var(--ui-table-inverted-selectable-background,oklch(100% 0 0/.08));--_ui-table-inverted-sortable-background:var(--ui-table-inverted-sortable-background,oklch(100% 0 0/.08));--_ui-table-inverted-definition-column-background:var(--ui-table-inverted-definition-column-background,oklch(100% 0 0/.02));--_ui-table-inverted-stuck-shade:var(--ui-table-inverted-stuck-shade,black);--_ui-table-stuck-background:var(--ui-table-stuck-background,var(--ui-surface));--_ui-table-stuck-header-background:var(--ui-table-stuck-header-background,var(--ui-surface-muted));--_ui-table-stuck-z:var(--ui-table-stuck-z,var(--ui-z-sticky));--_ui-table-padded:var(--ui-table-padded,1em);--_ui-table-very-padded:var(--ui-table-very-padded,1.5em);--_ui-table-compact-padding-block:var(--ui-table-compact-padding-block,.5em);--_ui-table-compact-padding-inline:var(--ui-table-compact-padding-inline,.7em);--_ui-table-very-compact-padding-block:var(--ui-table-very-compact-padding-block,.4em);--_ui-table-very-compact-padding-inline:var(--ui-table-very-compact-padding-inline,.6em);--_table-stack:0;--_table-scroll-rows:3;--_table-overflow-rows:5;--_table-scroll-factor:1;inline-size:100%;margin:var(--_ui-table-margin) 0;border:var(--_ui-table-border-width) solid var(--_ui-table-border-color);border-radius:var(--_ui-table-radius);border-collapse:separate;border-spacing:0;box-shadow:none;background:var(--_ui-table-background);color:var(--_ui-table-color);font-size:calc(var(--ui-font-size) * var(--ui-scale,1));line-height:var(--ui-line-height);text-align:start;vertical-align:middle}:is(.ui.table,:where(ui-table)>table):first-child{margin-block-start:0}:is(.ui.table,:where(ui-table)>table):last-child{margin-block-end:0}:is(.ui.table,:where(ui-table)>table)>:is(thead,tbody){text-align:inherit;vertical-align:inherit}:is(.ui.table,:where(ui-table)>table) :is(th,td){--ui-color:initial;--ui-color-text:initial;--ui-color-header:initial;--ui-color-border:initial;--ui-color-background:initial;--ui-color-inverted:initial;--ui-color-hover:initial;--ui-color-focus:initial;--ui-color-down:initial;--ui-color-active:initial;--ui-color-on:initial;--ui-color-inverted-on:initial;--ui-scale:initial;--_table-hosted:initial;--_table-stack-by:initial;transition:background var(--_ui-table-duration) var(--ui-ease), color var(--_ui-table-duration) var(--ui-ease)}:is(.ui.table,:where(ui-table)>table) tr{--_table-mark-shadow:0 0 transparent}:is(.ui.table,:where(ui-table)>table)>caption{padding-block:var(--ui-space-xs);color:var(--ui-text-muted);text-align:start}}@layer ui.components.table.content{.ui.table :is(th,td).rowspanned{display:none}:is(.ui.table,:where(ui-table)>table)>thead{box-shadow:none}:is(.ui.table,:where(ui-table)>table)>thead>tr>th{padding:var(--_ui-table-header-padding-block) var(--_ui-table-cell-padding-inline);border-block-end:var(--_ui-table-header-border);background:var(--_ui-table-header-background);color:var(--_ui-table-header-color);font-style:normal;font-weight:var(--ui-font-weight-bold);text-align:inherit;text-transform:none;vertical-align:inherit;cursor:auto;border-inline-start:none}:is(.ui.table,:where(ui-table)>table)>thead>tr:first-child>th:first-child{border-start-start-radius:var(--_ui-table-radius)}:is(.ui.table,:where(ui-table)>table)>thead>tr:first-child>th:last-child{border-start-end-radius:var(--_ui-table-radius)}:is(.ui.table,:where(ui-table)>table)>tfoot>tr>:is(th,td){padding:var(--_ui-table-cell-padding-block) var(--_ui-table-cell-padding-inline);border-block-start:var(--_ui-table-footer-border);background:var(--_ui-table-footer-background);color:var(--_ui-table-footer-color);font-style:normal;font-weight:var(--ui-font-weight-normal);text-align:inherit;text-transform:none;vertical-align:inherit;cursor:auto;border-inline-start:none}:is(.ui.table,:where(ui-table)>table)>tfoot>tr:last-child>:is(th,td):first-child{border-end-start-radius:var(--_ui-table-radius)}:is(.ui.table,:where(ui-table)>table)>tfoot>tr:last-child>:is(th,td):last-child{border-end-end-radius:var(--_ui-table-radius)}:is(.ui.table,:where(ui-table)>table)>tbody>tr>:is(td,th){border-block-start:var(--_ui-table-row-border)}:is(.ui.table,:where(ui-table)>table)>tbody>tr:first-child>:is(td,th){border-block-start:none}:is(.ui.table,:where(ui-table)>table)>tbody+tbody>tr:first-child>:is(td,th){border-block-start:var(--_ui-table-row-border)}:is(.ui.table,:where(ui-table)>table)>tbody>tr>:is(td,th){padding:var(--_ui-table-cell-padding-block) var(--_ui-table-cell-padding-inline);text-align:inherit}:is(.ui.table,:where(ui-table)>table)>tbody>tr>th{font-weight:var(--ui-font-weight-bold)}.ui.table>i.icon,.ui.table :is(td,th)>:is(svg,ui-icon):only-child{vertical-align:baseline}.ui.table .collapsing :is(.image,.image img,img){max-inline-size:none}.ui.definition.table>thead:not(.full-width)>tr>:is(th,td):first-child{background:var(--_ui-table-definition-page-background);box-shadow:calc(var(--_ui-table-colored-border-size) / -2) calc(-1 * var(--_ui-table-colored-border-size)) 0 calc(var(--_ui-table-colored-border-size) / 2) var(--_ui-table-definition-page-background);color:var(--_ui-table-definition-header-color);font-weight:var(--ui-font-weight-normal);pointer-events:none}.ui.definition.table>thead:not(.full-width)>tr>:is(th,td):first-child:not(:empty){pointer-events:auto}.ui.definition.table>tfoot:not(.full-width)>tr>th:first-child{background:var(--_ui-table-definition-page-background);box-shadow:calc(var(--_ui-table-colored-border-size) / -2) var(--_ui-table-colored-border-size) 0 calc(var(--_ui-table-colored-border-size) / 2) var(--_ui-table-definition-page-background);color:var(--_ui-table-definition-header-color);font-weight:var(--ui-font-weight-normal);pointer-events:none}.ui.definition.table>tbody>tr>:is(td,th):first-child:not(.ignored),.ui.definition.table>tfoot>tr>td:first-child:not(.ignored),.ui.definition.table tr td.definition{background:var(--_ui-table-definition-column-background);color:var(--_ui-table-definition-column-color);font-weight:var(--ui-font-weight-bold)}.ui.definition.table>thead:not(.full-width)>tr>th:nth-child(2),.ui.definition.table>tfoot:not(.full-width)>tr>:is(th,td):nth-child(2),.ui.definition.table>tbody>tr>:is(td,th):nth-child(2){border-inline-start:var(--_ui-table-border-width) solid var(--_ui-table-border-color)}.ui.structured.table{border-collapse:collapse}.ui.structured.table>thead>tr>th{border-inline:none}.ui.structured.sortable.table>thead>tr>th{border-inline:var(--_ui-table-sortable-border)}.ui.structured.basic.table>*>tr>th{border-inline:none}.ui.structured.celled.table>*>tr>:is(th,td){border-inline:var(--_ui-table-cell-border)}:host(:state(rows))>.scroller{grid-template-columns:repeat(var(--_table-columns,1), auto);margin:0;display:grid}:host(:state(rows))>.caption,:host>.caption{padding:var(--ui-space-xs) var(--_ui-table-cell-padding-inline,.785714em);color:var(--ui-text-muted);text-align:start}.ui.table:state(rows)>ui-row{grid-column:1/-1;grid-template-columns:subgrid;--_table-mark-shadow:0 0 transparent;display:grid;container:none}.ui.table:state(rows)>ui-row>ui-cell{--ui-color:initial;--ui-color-text:initial;--ui-color-header:initial;--ui-color-border:initial;--ui-color-background:initial;--ui-color-inverted:initial;--ui-color-on:initial;--ui-color-inverted-on:initial;--ui-scale:initial;--_table-hosted:initial;--_table-stack-by:initial;min-inline-size:0;padding:var(--_ui-table-cell-padding-block) var(--_ui-table-cell-padding-inline);border-block-start:var(--_ui-table-row-border);transition:background var(--_ui-table-duration) var(--ui-ease), color var(--_ui-table-duration) var(--ui-ease);display:block}.ui.table:state(rows)>ui-row:first-child>ui-cell,.ui.table:state(rows)>ui-row:state(header)+ui-row>ui-cell{border-block-start:none}.ui.table:state(rows)>ui-row:state(header)>ui-cell{padding-block:var(--_ui-table-header-padding-block);border-block-end:var(--_ui-table-header-border);background:var(--_ui-table-header-background);color:var(--_ui-table-header-color);font-weight:var(--ui-font-weight-bold)}.ui.table:state(rows):not(:state(captioned))>ui-row:state(header):first-child>ui-cell:first-child{border-start-start-radius:var(--_ui-table-radius)}.ui.table:state(rows):not(:state(captioned))>ui-row:state(header):first-child>ui-cell:last-child{border-start-end-radius:var(--_ui-table-radius)}.ui.table:state(rows)>ui-row:not(:state(header))>ui-cell:state(header){font-weight:var(--ui-font-weight-bold)}.ui.table:state(rows)>ui-row:state(footer)>ui-cell{border-block-start:var(--_ui-table-footer-border);background:var(--_ui-table-footer-background);color:var(--_ui-table-footer-color)}}@layer ui.components.table.variations{.ui.table[class*=left\\ aligned],.ui.table [class*=left\\ aligned]{text-align:left}.ui.table[class*=center\\ aligned],.ui.table [class*=center\\ aligned]{text-align:center}.ui.table[class*=right\\ aligned],.ui.table [class*=right\\ aligned]{text-align:right}.ui.justified.table,.ui.table .justified{text-align:justify}.ui.table[class*=top\\ aligned],.ui.table [class*=top\\ aligned]{vertical-align:top}.ui.table[class*=middle\\ aligned],.ui.table [class*=middle\\ aligned]{vertical-align:middle}.ui.table[class*=bottom\\ aligned],.ui.table [class*=bottom\\ aligned]{vertical-align:bottom}.ui.table :is(th,td).collapsing{white-space:nowrap;inline-size:1px}.ui.collapsing.table{inline-size:auto}.ui.fixed.table{table-layout:fixed}.ui.fixed.table :is(th,td){text-overflow:ellipsis;overflow:hidden}.ui.selectable.table>tbody>tr,.ui.table>tbody>tr>td.selectable{cursor:pointer}.ui.table tbody tr td.selectable{padding:0}.ui.table tbody tr td.selectable>a:not(.ui){color:inherit;display:block}.ui.table:not(.compact) tbody tr td.selectable>a:not(.ui){padding:var(--_ui-table-cell-padding-block) var(--_ui-table-cell-padding-inline)}.ui.attached.table{inline-size:calc(100% + 2 * var(--_ui-table-border-width));max-inline-size:calc(100% + 2 * var(--_ui-table-border-width));margin:0 calc(-1 * var(--_ui-table-border-width));border:var(--_ui-table-border-width) solid var(--ui-border-color-strong);box-shadow:none;border-radius:0;inset-block:0}.ui[class*=top\\ attached].table{margin-block:var(--_ui-table-margin) 0;border-radius:var(--_ui-table-radius) var(--_ui-table-radius) 0 0}.ui.table[class*=top\\ attached]:first-child{margin-block-start:0}.ui[class*=bottom\\ attached].table{margin-block:0 var(--_ui-table-margin);border-radius:0 0 var(--_ui-table-radius) var(--_ui-table-radius)}.ui[class*=bottom\\ attached].table:last-child{margin-block-end:0}.attached.scroller{margin-block:0}[class*=top\\ attached].scroller{margin-block-start:1em}[class*=bottom\\ attached].scroller{margin-block-end:1em}:host(:first-child)>[class*=top\\ attached].scroller{margin-block-start:0}:host(:last-child)>[class*=bottom\\ attached].scroller{margin-block-end:0}:host(:state(attached)){margin-block:0}:host(:state(attached-top):not(:first-child)){margin-block-start:1em}:host(:state(attached-bottom):not(:last-child)){margin-block-end:1em}:host>.scroller:not([data-ui]){margin-block:0}.ui.striped.table>tr:nth-child(2n),.ui.striped.table>tbody>tr:nth-child(2n){background-color:var(--_ui-table-striped-background)}.ui.table[class*=single\\ line],.ui.table [class*=single\\ line]{white-space:nowrap}.ui.table:is(.primary,.secondary,.red,.orange,.yellow,.olive,.green,.teal,.blue,.violet,.purple,.pink,.brown,.grey,.black){border-block-start:var(--_ui-table-colored-border-size) solid var(--ui-color)}.ui.one.column.table td{inline-size:100%}.ui.two.column.table td{inline-size:50%}.ui.three.column.table td{inline-size:33.3333%}.ui.four.column.table td{inline-size:25%}.ui.five.column.table td{inline-size:20%}.ui.six.column.table td{inline-size:16.6667%}.ui.seven.column.table td{inline-size:14.2857%}.ui.eight.column.table td{inline-size:12.5%}.ui.nine.column.table td{inline-size:11.1111%}.ui.ten.column.table td{inline-size:10%}.ui.eleven.column.table td{inline-size:9.09091%}.ui.twelve.column.table td{inline-size:8.33333%}.ui.thirteen.column.table td{inline-size:7.69231%}.ui.fourteen.column.table td{inline-size:7.14286%}.ui.fifteen.column.table td{inline-size:6.66667%}.ui.sixteen.column.table td,.ui.table :is(th,td).one.wide{inline-size:6.25%}.ui.table :is(th,td).two.wide{inline-size:12.5%}.ui.table :is(th,td).three.wide{inline-size:18.75%}.ui.table :is(th,td).four.wide{inline-size:25%}.ui.table :is(th,td).five.wide{inline-size:31.25%}.ui.table :is(th,td).six.wide{inline-size:37.5%}.ui.table :is(th,td).seven.wide{inline-size:43.75%}.ui.table :is(th,td).eight.wide{inline-size:50%}.ui.table :is(th,td).nine.wide{inline-size:56.25%}.ui.table :is(th,td).ten.wide{inline-size:62.5%}.ui.table :is(th,td).eleven.wide{inline-size:68.75%}.ui.table :is(th,td).twelve.wide{inline-size:75%}.ui.table :is(th,td).thirteen.wide{inline-size:81.25%}.ui.table :is(th,td).fourteen.wide{inline-size:87.5%}.ui.table :is(th,td).fifteen.wide{inline-size:93.75%}.ui.table :is(th,td).sixteen.wide{inline-size:100%}.ui.sortable.table>thead>tr>th{color:var(--_ui-table-header-color);white-space:nowrap;cursor:pointer}.ui.celled.sortable.table>thead>tr>th:not(:first-child){border-inline-start:var(--_ui-table-sortable-border)}.ui.sortable.table>thead>tr>th>button{appearance:none;color:inherit;font:inherit;text-align:inherit;text-transform:inherit;cursor:pointer;background:0 0;border:0;margin:0;padding:0}.ui.sortable.table>thead>tr>th>button:focus-visible,.ui.sortable.table>thead>tr>th[tabindex]:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:var(--ui-focus-offset)}.ui.sortable.table>thead>tr>th[tabindex]:focus-visible{outline-offset:calc(-1 * var(--ui-focus-width))}.ui.sortable.table>thead>tr>th:after{content:\"\";block-size:.8em;inline-size:.8em;opacity:var(--_ui-table-sortable-icon-opacity);vertical-align:-.05em;mask:var(--_table-caret) center / contain no-repeat;background-color:currentColor;margin-inline-start:.5em;display:none}.ui.sortable.table thead th:is([aria-sort=ascending],.sorted.ascending){--_table-caret:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 2l4 6H1z'/%3E%3C/svg%3E\")}.ui.sortable.table thead th:is([aria-sort=descending],.sorted.descending){--_table-caret:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 8L1 2h8z'/%3E%3C/svg%3E\")}.ui.sortable.table thead th:is([aria-sort=ascending],[aria-sort=descending],.sorted):after{display:inline-block}.ui.sortable.table>thead>tr>th:is([data-sortable=false],.disabled){cursor:auto}.ui.table{--ui-inverted:0}.ui.inverted.table{--ui-inverted:1;--ui-scheme:dark;--_ui-table-cell-border:var(--ui-border-width) solid var(--_ui-table-inverted-cell-border-color);--_ui-table-row-border:var(--ui-border-width) solid var(--_ui-table-inverted-cell-border-color);--_ui-table-header-border:var(--ui-border-width) solid var(--_ui-table-inverted-cell-border-color);--_ui-table-footer-border:var(--ui-border-width) solid var(--_ui-table-inverted-cell-border-color);--_ui-table-header-background:var(--_ui-table-inverted-header-background);--_ui-table-footer-background:var(--_ui-table-inverted-header-background);--_ui-table-header-color:inherit;--_ui-table-footer-color:inherit;--_ui-table-striped-background:var(--_ui-table-inverted-striped-background);--_ui-table-selectable-background:var(--_ui-table-inverted-selectable-background);--_ui-table-stuck-header-background:color-mix(in oklab, var(--_ui-table-inverted-stuck-shade) 15%, var(--ui-surface));color-scheme:dark;background:var(--ui-color,var(--ui-surface));color:var(--ui-color-on,var(--ui-text-color));border:none}.ui.inverted.table:is(.primary,.secondary,.red,.orange,.yellow,.olive,.green,.teal,.blue,.violet,.purple,.pink,.brown,.grey,.black){--_ui-table-stuck-background:var(--ui-color);--_ui-table-stuck-header-background:color-mix(in oklab, var(--_ui-table-inverted-stuck-shade) 15%, var(--ui-color))}.ui.inverted.definition.table>:is(thead,tfoot):not(.full-width)>tr>:is(th,td):first-child{--_ui-table-definition-page-background:var(--ui-background);color-scheme:light}.ui.inverted.definition.table>:is(tbody,tfoot)>tr>td:first-child{--_ui-table-definition-column-background:var(--_ui-table-inverted-definition-column-background)}.ui.basic.table{border:var(--_ui-table-border-width) solid var(--_ui-table-border-color);box-shadow:none;background:0 0}.ui.basic.table>:is(thead,tfoot){box-shadow:none}.ui.basic.table>:is(thead,tbody,tfoot)>tr>th,.ui.basic.table>tr>th{background:0 0;border-inline-start:none}.ui.basic.table>tbody>tr{border-block-end:var(--_ui-table-cell-border)}.ui.basic.table>:is(tbody,tfoot)>tr>td,.ui.basic.table>tr>td{background:0 0}.ui.basic.striped.table>tbody>tr:nth-child(2n){background-color:var(--_ui-table-selectable-background)}.ui[class*=very\\ basic].table{border:none}.ui[class*=very\\ basic].table:not(.sortable,.striped)>*>tr>:is(th,td):first-child{padding-inline-start:0}.ui[class*=very\\ basic].table:not(.sortable,.striped)>*>tr>:is(th,td):last-child{padding-inline-end:0}.ui[class*=very\\ basic].table:not(.sortable,.striped)>thead>tr:first-child>th{padding-block-start:0}.ui.celled.table>*>tr>:is(th,td),.ui.celled.table>tr>:is(th,td){border-inline-start:var(--_ui-table-cell-border)}.ui.celled.table>*>tr>:is(th,td):first-child,.ui.celled.table>tr>:is(th,td):first-child{border-inline-start:none}.ui.padded.table>*>tr>th{padding-inline:var(--_ui-table-padded)}.ui.padded.table>*>tr>:is(th,td){padding:var(--_ui-table-padded)}.ui[class*=very\\ padded].table>*>tr>th{padding-inline:var(--_ui-table-very-padded)}.ui[class*=very\\ padded].table>*>tr>td{padding:var(--_ui-table-very-padded)}.ui.compact.table>*>tr>th{padding-inline:var(--_ui-table-compact-padding-inline)}.ui.compact.table>:is(tbody,tfoot)>tr>td{padding:var(--_ui-table-compact-padding-block) var(--_ui-table-compact-padding-inline)}.ui[class*=very\\ compact].table>*>tr>th{padding-inline:var(--_ui-table-very-compact-padding-inline)}.ui[class*=very\\ compact].table>:is(tbody,tfoot)>tr>td{padding:var(--_ui-table-very-compact-padding-block) var(--_ui-table-very-compact-padding-inline)}.ui.stuck.table{background:var(--_ui-table-stuck-background)}.ui.stuck.table>thead>tr{background:var(--_ui-table-stuck-header-background)}.ui.stuck.table>tbody>tr{background:var(--_ui-table-stuck-background)}.ui.stuck.table>tfoot>tr{background:var(--_ui-table-stuck-header-background)}.ui.basic.stuck.table>:is(thead,tfoot)>tr{background:var(--_ui-table-stuck-background)}.ui.head.stuck.table>thead,.ui.foot.stuck.table>tfoot{z-index:var(--_ui-table-stuck-z);position:sticky}.ui.head.stuck.table{border-block-start:0}.ui.head.stuck.table>thead{inset-block:0 auto}.ui.head.stuck.table>thead>tr:first-child>th{border-block-start:var(--_ui-table-cell-border)}.ui.foot.stuck.table{border-block-end:0}.ui.foot.stuck.table>tfoot{inset-block:auto 0}.ui.foot.stuck.table>tfoot>tr:last-child>:is(td,th){border-block-end:var(--_ui-table-cell-border)}.ui.first.stuck.table{border-inline-start:0}.ui.first.stuck.table :is(th,td):first-child{z-index:1;border-inline-start:var(--_ui-table-cell-border);background:inherit;position:sticky;inset-inline-start:0}.ui.last.stuck.table{border-inline-end:0}.ui.last.stuck.table :is(th,td):last-child{z-index:1;border-inline-end:var(--_ui-table-cell-border);background:inherit;position:sticky;inset-inline-end:0}.ui.celled.first.stuck.table :is(th,td):first-child{border-inline-end:var(--_ui-table-cell-border)}.ui.celled.last.stuck.table :is(th,td):last-child{border-inline-start:var(--_ui-table-cell-border)}.ui:is(.scrolling,.overflowing).short.table,.short:is(.scrolling,.overflowing).scroller{--_table-scroll-factor:.75}.ui:is(.scrolling,.overflowing)[class*=very\\ short].table,[class*=very\\ short]:is(.scrolling,.overflowing).scroller{--_table-scroll-factor:.5}.ui:is(.scrolling,.overflowing).long.table,.long:is(.scrolling,.overflowing).scroller{--_table-scroll-factor:2}.ui:is(.scrolling,.overflowing)[class*=very\\ long].table,[class*=very\\ long]:is(.scrolling,.overflowing).scroller{--_table-scroll-factor:3}@media (768px<=width<992px),(width>=992px){:is(.ui.table,.scroller){--_table-scroll-rows:4;--_table-overflow-rows:6}}@media (width>=992px){:is(.ui.table,.scroller){--_table-scroll-rows:6;--_table-overflow-rows:8}}@media (width>=1920px){:is(.ui.table,.scroller){--_table-scroll-rows:8;--_table-overflow-rows:10}}.scrolling.scroller,.overflowing.scroller{overscroll-behavior:contain;overflow:auto}.scrolling.scroller{max-block-size:calc(var(--_ui-table-row-height) * (var(--_table-scroll-rows) * var(--_table-scroll-factor) + 1))}.overflowing.scroller{max-block-size:calc(var(--_ui-table-row-height) * var(--_table-overflow-rows) * var(--_table-scroll-factor))}.sideways.scroller{overscroll-behavior-x:contain;overflow-x:auto}.resizable.scrolling.scroller{block-size:calc(var(--_ui-table-row-height) * (var(--_table-scroll-rows) * var(--_table-scroll-factor) + 1));resize:vertical;max-block-size:none}.scroller:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:var(--ui-focus-offset)}@container style(--_table-hosted:1){.ui.scrolling.table>:is(thead,tfoot){z-index:var(--_ui-table-stuck-z);position:sticky}.ui.scrolling.table>thead{inset-block-start:0}.ui.scrolling.table>tfoot{inset-block-end:0}.ui.scrolling.table>thead>tr,.ui.scrolling.table>tfoot>tr{background:var(--_ui-table-stuck-header-background)}.ui.basic.scrolling.table>:is(thead,tfoot)>tr{background:var(--_ui-table-stuck-background)}}@container not style(--_table-hosted:1){.ui.scrolling.table>:is(thead,tfoot,tbody){overscroll-behavior:contain;display:block;overflow-y:scroll}.ui.scrolling.table>:is(thead,tfoot,tbody)>tr{table-layout:fixed;inline-size:100%;display:table}.ui.scrolling.table>tbody{max-block-size:calc(var(--_ui-table-row-height) * var(--_table-scroll-rows) * var(--_table-scroll-factor))}.ui.resizable.scrolling.table>tbody{block-size:calc(var(--_ui-table-row-height) * var(--_table-scroll-rows) * var(--_table-scroll-factor));resize:vertical;max-block-size:none}.ui.scrolling.table>thead{border-radius:var(--_ui-table-radius) var(--_ui-table-radius) 0 0;background:var(--_ui-table-header-background);color:var(--_ui-table-header-background);scrollbar-color:currentColor currentColor}.ui.scrolling.table>tfoot{border-radius:0 0 var(--_ui-table-radius) var(--_ui-table-radius);background:var(--_ui-table-footer-background);color:var(--_ui-table-footer-background);scrollbar-color:currentColor currentColor}.ui.overflowing.table{max-block-size:calc(var(--_ui-table-row-height) * var(--_table-overflow-rows) * var(--_table-scroll-factor));overscroll-behavior:contain;display:block;overflow:auto}}@container (width<768px){@container style(--_table-stack-by:container){.ui.table:not(.unstackable),.ui.stackable.table{--_table-stack:1}}}@container (width<992px){@container style(--_table-stack-by:container){.ui[class*=tablet\\ stackable].table{--_table-stack:1}}}@media (width<768px){@container not style(--_table-stack-by:container){.ui.table:not(.unstackable),.ui.stackable.table{--_table-stack:1}}}@media (width<768px),(768px<=width<992px){@container not style(--_table-stack-by:container){.ui[class*=tablet\\ stackable].table{--_table-stack:1}}}@container style(--_table-stack-by:none){:is(.ui.table:not(.unstackable),.ui.stackable.table,.ui[class*=tablet\\ stackable].table){--_table-stack:0}}.ui.stack-by-container.table,.ui.stack-by-viewport.table,.ui.stack-by-none.table{--_table-stack:initial}@container (width<768px){:is(.ui.table:not(.unstackable),.ui.stackable.table).stack-by-container{--_table-stack:1}}@container (width<992px){.ui[class*=tablet\\ stackable].stack-by-container.table{--_table-stack:1}}@media (width<768px){:is(.ui.table:not(.unstackable),.ui.stackable.table).stack-by-viewport{--_table-stack:1}}@media (width<768px),(768px<=width<992px){.ui[class*=tablet\\ stackable].stack-by-viewport.table{--_table-stack:1}}.ui.celled.table:state(rows)>ui-row>ui-cell+ui-cell{border-inline-start:var(--_ui-table-cell-border)}.ui.striped.table:state(rows)>ui-row:nth-child(2n of :not(:state(header),:state(footer))){background-color:var(--_ui-table-striped-background)}.ui.inverted.striped.table:state(rows)>ui-row:nth-child(2n of :not(:state(header),:state(footer))){background-color:var(--_ui-table-inverted-striped-background)}.ui.basic.table:state(rows)>ui-row:state(header)>ui-cell{background:0 0}.ui[class*=very\\ basic].table:not(.sortable,.striped):state(rows)>ui-row>ui-cell:first-child{padding-inline-start:0}.ui[class*=very\\ basic].table:not(.sortable,.striped):state(rows)>ui-row>ui-cell:last-child{padding-inline-end:0}.ui.padded.table:state(rows)>ui-row>ui-cell{padding:var(--_ui-table-padded)}.ui[class*=very\\ padded].table:state(rows)>ui-row>ui-cell{padding:var(--_ui-table-very-padded)}.ui.compact.table:state(rows)>ui-row>ui-cell{padding:var(--_ui-table-compact-padding-block) var(--_ui-table-compact-padding-inline)}.ui[class*=very\\ compact].table:state(rows)>ui-row>ui-cell{padding:var(--_ui-table-very-compact-padding-block) var(--_ui-table-very-compact-padding-inline)}.ui[class*=single\\ line].table:state(rows)>ui-row>ui-cell{white-space:nowrap}}@layer ui.components.table.states{.ui.table :is(tr,th,td).positive{--_table-tint:var(--ui-positive-background);--_table-ink:var(--ui-positive-text)}.ui.table :is(tr,th,td).negative{--_table-tint:var(--ui-negative-background);--_table-ink:var(--ui-negative-text)}.ui.table :is(tr,th,td).error{--_table-tint:var(--ui-error-background);--_table-ink:var(--ui-error-text)}.ui.table :is(tr,th,td).warning{--_table-tint:var(--ui-warning-background);--_table-ink:var(--ui-warning-text)}.ui.table :is(tr,th,td).active{--_table-tint:var(--_ui-table-active-background);--_table-ink:var(--_ui-table-active-color)}.ui.table :is(tr,th,td):is(.primary:not(.marked),[class*=primary\\ colored]){--_table-tint:var(--ui-primary-background);--_table-ink:var(--ui-primary-text);--_table-fill:var(--ui-primary);--_table-fill-on:var(--ui-primary-on)}.ui.table :is(tr,th,td):is(.secondary:not(.marked),[class*=secondary\\ colored]){--_table-tint:var(--ui-secondary-background);--_table-ink:var(--ui-secondary-text);--_table-fill:var(--ui-secondary);--_table-fill-on:var(--ui-secondary-on)}.ui.table :is(tr,th,td):is(.red:not(.marked),[class*=red\\ colored]){--_table-tint:var(--ui-red-background);--_table-ink:var(--ui-red-text);--_table-fill:var(--ui-red);--_table-fill-on:var(--ui-red-on)}.ui.table :is(tr,th,td):is(.orange:not(.marked),[class*=orange\\ colored]){--_table-tint:var(--ui-orange-background);--_table-ink:var(--ui-orange-text);--_table-fill:var(--ui-orange);--_table-fill-on:var(--ui-orange-on)}.ui.table :is(tr,th,td):is(.yellow:not(.marked),[class*=yellow\\ colored]){--_table-tint:var(--ui-yellow-background);--_table-ink:var(--ui-yellow-text);--_table-fill:var(--ui-yellow);--_table-fill-on:var(--ui-yellow-on)}.ui.table :is(tr,th,td):is(.olive:not(.marked),[class*=olive\\ colored]){--_table-tint:var(--ui-olive-background);--_table-ink:var(--ui-olive-text);--_table-fill:var(--ui-olive);--_table-fill-on:var(--ui-olive-on)}.ui.table :is(tr,th,td):is(.green:not(.marked),[class*=green\\ colored]){--_table-tint:var(--ui-green-background);--_table-ink:var(--ui-green-text);--_table-fill:var(--ui-green);--_table-fill-on:var(--ui-green-on)}.ui.table :is(tr,th,td):is(.teal:not(.marked),[class*=teal\\ colored]){--_table-tint:var(--ui-teal-background);--_table-ink:var(--ui-teal-text);--_table-fill:var(--ui-teal);--_table-fill-on:var(--ui-teal-on)}.ui.table :is(tr,th,td):is(.blue:not(.marked),[class*=blue\\ colored]){--_table-tint:var(--ui-blue-background);--_table-ink:var(--ui-blue-text);--_table-fill:var(--ui-blue);--_table-fill-on:var(--ui-blue-on)}.ui.table :is(tr,th,td):is(.violet:not(.marked),[class*=violet\\ colored]){--_table-tint:var(--ui-violet-background);--_table-ink:var(--ui-violet-text);--_table-fill:var(--ui-violet);--_table-fill-on:var(--ui-violet-on)}.ui.table :is(tr,th,td):is(.purple:not(.marked),[class*=purple\\ colored]){--_table-tint:var(--ui-purple-background);--_table-ink:var(--ui-purple-text);--_table-fill:var(--ui-purple);--_table-fill-on:var(--ui-purple-on)}.ui.table :is(tr,th,td):is(.pink:not(.marked),[class*=pink\\ colored]){--_table-tint:var(--ui-pink-background);--_table-ink:var(--ui-pink-text);--_table-fill:var(--ui-pink);--_table-fill-on:var(--ui-pink-on)}.ui.table :is(tr,th,td):is(.brown:not(.marked),[class*=brown\\ colored]){--_table-tint:var(--ui-brown-background);--_table-ink:var(--ui-brown-text);--_table-fill:var(--ui-brown);--_table-fill-on:var(--ui-brown-on)}.ui.table :is(tr,th,td):is(.grey:not(.marked),[class*=grey\\ colored]){--_table-tint:var(--ui-grey-background);--_table-ink:var(--ui-grey-text);--_table-fill:var(--ui-grey);--_table-fill-on:var(--ui-grey-on)}.ui.table :is(tr,th,td):is(.black:not(.marked),[class*=black\\ colored]){--_table-tint:var(--ui-black-background);--_table-ink:var(--ui-black-text);--_table-fill:var(--ui-black);--_table-fill-on:var(--ui-black-on)}.ui.table :is(tr,td)[class*=primary\\ marked]{--_table-mark:var(--ui-primary);--_table-mark-inverted:var(--ui-primary-inverted)}.ui.table :is(tr,td)[class*=secondary\\ marked]{--_table-mark:var(--ui-secondary);--_table-mark-inverted:var(--ui-secondary-inverted)}.ui.table :is(tr,td)[class*=red\\ marked]{--_table-mark:var(--ui-red);--_table-mark-inverted:var(--ui-red-inverted)}.ui.table :is(tr,td)[class*=orange\\ marked]{--_table-mark:var(--ui-orange);--_table-mark-inverted:var(--ui-orange-inverted)}.ui.table :is(tr,td)[class*=yellow\\ marked]{--_table-mark:var(--ui-yellow);--_table-mark-inverted:var(--ui-yellow-inverted)}.ui.table :is(tr,td)[class*=olive\\ marked]{--_table-mark:var(--ui-olive);--_table-mark-inverted:var(--ui-olive-inverted)}.ui.table :is(tr,td)[class*=green\\ marked]{--_table-mark:var(--ui-green);--_table-mark-inverted:var(--ui-green-inverted)}.ui.table :is(tr,td)[class*=teal\\ marked]{--_table-mark:var(--ui-teal);--_table-mark-inverted:var(--ui-teal-inverted)}.ui.table :is(tr,td)[class*=blue\\ marked]{--_table-mark:var(--ui-blue);--_table-mark-inverted:var(--ui-blue-inverted)}.ui.table :is(tr,td)[class*=violet\\ marked]{--_table-mark:var(--ui-violet);--_table-mark-inverted:var(--ui-violet-inverted)}.ui.table :is(tr,td)[class*=purple\\ marked]{--_table-mark:var(--ui-purple);--_table-mark-inverted:var(--ui-purple-inverted)}.ui.table :is(tr,td)[class*=pink\\ marked]{--_table-mark:var(--ui-pink);--_table-mark-inverted:var(--ui-pink-inverted)}.ui.table :is(tr,td)[class*=brown\\ marked]{--_table-mark:var(--ui-brown);--_table-mark-inverted:var(--ui-brown-inverted)}.ui.table :is(tr,td)[class*=grey\\ marked]{--_table-mark:var(--ui-grey);--_table-mark-inverted:var(--ui-grey-inverted)}.ui.table :is(tr,td)[class*=black\\ marked]{--_table-mark:var(--ui-black);--_table-mark-inverted:var(--ui-black-inverted)}.ui.table :is(tr,th,td):is(.positive,.negative,.error,.warning,.active,.colored,:is(.primary,.secondary,.red,.orange,.yellow,.olive,.green,.teal,.blue,.violet,.purple,.pink,.brown,.grey,.black):not(.marked)){background:var(--_table-tint);color:var(--_table-ink)}.ui.table>:is(thead,tfoot)>tr:is(.positive,.negative,.error,.warning,.active,.colored,:is(.primary,.secondary,.red,.orange,.yellow,.olive,.green,.teal,.blue,.violet,.purple,.pink,.brown,.grey,.black):not(.marked))>:is(th,td){background:inherit;color:inherit}.ui.inverted.table :is(tr,th,td):is(.colored,:is(.primary,.secondary,.red,.orange,.yellow,.olive,.green,.teal,.blue,.violet,.purple,.pink,.brown,.grey,.black):not(.marked)){background:var(--_table-fill);color:var(--_table-fill-on)}.ui.table :is(tr,td).left.marked{--_table-mark-shadow:var(--_ui-table-marker-width) 0 0 0 var(--_table-mark) inset;box-shadow:var(--_table-mark-shadow)}.ui.table :is(tr,td).right.marked{--_table-mark-shadow:calc(-1 * var(--_ui-table-marker-width)) 0 0 0 var(--_table-mark) inset;box-shadow:var(--_table-mark-shadow)}.ui.inverted.table :is(tr,td).left.marked{--_table-mark-shadow:var(--_ui-table-marker-width) 0 0 0 var(--_table-mark-inverted) inset}.ui.inverted.table :is(tr,td).right.marked{--_table-mark-shadow:calc(-1 * var(--_ui-table-marker-width)) 0 0 0 var(--_table-mark-inverted) inset}.ui.table tr.disabled>:is(td,th),.ui.table tr>:is(td,th).disabled{color:var(--_ui-table-disabled-color);pointer-events:none}.ui.selectable.table>tbody>tr:hover,.ui.selectable.table>tr:hover,.ui.table tbody tr td.selectable:hover{background-image:linear-gradient(var(--_ui-table-selectable-background), var(--_ui-table-selectable-background));color:var(--_table-ink,var(--_ui-table-selectable-color))}.ui.inverted.selectable.table>tbody>tr:hover,.ui.inverted.table tbody tr td.selectable:hover{color:var(--_table-fill-on,var(--_ui-table-selectable-color))}.ui.sortable.table>thead>tr>th:not([data-sortable=false],.disabled):hover{color:var(--_ui-table-sortable-hover-color)}.ui.sortable.table:not(.basic)>thead>tr>th:not([data-sortable=false],.disabled):hover{background:var(--_ui-table-sortable-hover-background)}.ui.sortable.table thead th:is([aria-sort],.sorted){color:var(--_ui-table-sortable-active-color);-webkit-user-select:none;user-select:none}.ui.sortable.table:not(.basic) thead th:is([aria-sort],.sorted){background:var(--_ui-table-sortable-active-background)}.ui.sortable.table>thead>tr>th.disabled:hover{color:var(--_ui-table-disabled-color)}.ui.inverted.sortable.table:not(.basic)>thead>tr>th{border-inline-color:#0000}.ui.inverted.sortable.table:not(.basic)>thead>tr>th:not([data-sortable=false],.disabled):hover,.ui.inverted.sortable.table:not(.basic) thead th:is([aria-sort],.sorted){background:var(--_ui-table-inverted-sortable-background)}@container style(--_table-stack:1){.ui.table>:is(thead,tbody,tfoot),.ui.table>:is(thead,tbody,tfoot)>tr,.ui.table>tr,.ui.table>:is(thead,tbody,tfoot)>tr>:is(th,td):not(.rowspanned),.ui.table>tr>:is(th,td):not(.rowspanned){inline-size:auto;display:block}.ui.table>:is(thead,tbody,tfoot)>tr,.ui.table>tr{padding-block:var(--_ui-table-responsive-row-padding);box-shadow:var(--_ui-table-responsive-row-shadow), var(--_table-mark-shadow)}.ui.table>:is(thead,tbody,tfoot)>tr>:is(th,td),.ui.table>tr>:is(th,td){padding:var(--_ui-table-responsive-cell-padding);box-shadow:none;background:0 0;border:none}.ui.table>:is(thead,tbody,tfoot)>tr>:is(th,td):first-child,.ui.table>tr>:is(th,td):first-child{font-weight:var(--ui-font-weight-bold)}.ui.definition.table>thead>tr>:is(th,td):first-child{box-shadow:none}}.ui.selectable.table:state(rows)>ui-row:not(:state(header),:state(footer)):hover{background:var(--_ui-table-selectable-background);color:var(--_ui-table-selectable-color)}.ui.inverted.selectable.table:state(rows)>ui-row:not(:state(header),:state(footer)):hover{background:var(--_ui-table-inverted-selectable-background)}.ui.sortable.table:state(rows)>ui-row:state(header)>ui-cell:not([data-sortable=false]){cursor:pointer;-webkit-user-select:none;user-select:none}.ui.sortable.table:state(rows)>ui-row:state(header)>ui-cell:not([data-sortable=false]):hover{background:var(--_ui-table-sortable-hover-background);color:var(--_ui-table-sortable-hover-color)}.ui.sortable.table:state(rows)>ui-row:state(header)>ui-cell[aria-sort]{background:var(--_ui-table-sortable-active-background);color:var(--_ui-table-sortable-active-color)}.ui.sortable.table:state(rows)>ui-row:state(header)>ui-cell[tabindex]:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:calc(-1 * var(--ui-focus-width))}.ui.sortable.table:state(rows)>ui-row:state(header)>ui-cell[aria-sort=ascending]{--_table-caret:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 2l4 6H1z'/%3E%3C/svg%3E\")}.ui.sortable.table:state(rows)>ui-row:state(header)>ui-cell[aria-sort=descending]{--_table-caret:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 8L1 2h8z'/%3E%3C/svg%3E\")}.ui.sortable.table:state(rows)>ui-row:state(header)>ui-cell[aria-sort]:after{content:\"\";block-size:.8em;inline-size:.8em;opacity:var(--_ui-table-sortable-icon-opacity);vertical-align:-.05em;mask:var(--_table-caret) center / contain no-repeat;background-color:currentColor;margin-inline-start:.5em;display:inline-block}@container style(--_table-stack:1){:host(:state(rows))>.scroller{display:block}.ui.table:state(rows)>ui-row{padding-block:var(--_ui-table-responsive-row-padding);box-shadow:var(--_ui-table-responsive-row-shadow);display:block}.ui.table:state(rows)>ui-row>ui-cell{padding:var(--_ui-table-responsive-cell-padding);background:0 0;border:none}.ui.table:state(rows)>ui-row>ui-cell:first-child{font-weight:var(--ui-font-weight-bold)}}}", Me = /* @__PURE__ */ j("<div><slot name=caption>"), Ne = /* @__PURE__ */ j("<div><slot>"), Pe = /* @__PURE__ */ j("<table>"), Fe = /* @__PURE__ */ j("<thead><tr>"), Ie = /* @__PURE__ */ j("<tbody>"), Le = /* @__PURE__ */ j("<tr>"), Re = /* @__PURE__ */ j("<td>"), ze = /* @__PURE__ */ j("<button type=button>"), Be = /* @__PURE__ */ j("<th>"), V, Ve, He, Ue, We, Ge, Ke, qe, Je, Ye, Xe, Ze, Qe, $e, et, tt, nt, rt, it, at, ot, st, ct, lt, ut, dt, ft, pt, mt, H, U, W, G, K, q, J, Y = class _UITable extends (H = re, mt = [ue], pt = [de], ft = [v({ childList: !0 })], dt = [g], ut = [g], lt = [h("sortTarget")], ct = [_], st = [v({
512
+ }, Ne = new Intl.Collator(void 0, { numeric: !0 }), I = class TableEditing {
513
+ static columnsOf(e) {
514
+ let t = e[0];
515
+ if (!t) return [];
516
+ let n = Object.getPrototypeOf(t) === Object.prototype || Object.getPrototypeOf(t) === null, r = !n && typeof t.toJSON == "function" ? t.toJSON() : t;
517
+ return (r && typeof r == "object" ? Object.keys(r) : []).filter((e) => !e.startsWith("$")).map((e) => ({
518
+ key: e,
519
+ ...!n && { header: oe(e).replaceAll("-", " ") },
520
+ ...e === Pe && { readOnly: !0 }
521
+ }));
522
+ }
523
+ static typeOf(e, t) {
524
+ if (e.type) return e.type;
525
+ if (e.choices?.length) return "choice";
526
+ let n = t.map((t) => t[e.key]).find((e) => e != null && e !== "");
527
+ return typeof n == "number" ? "number" : typeof n == "boolean" ? "yes-no" : n instanceof Date ? "date" : "text";
528
+ }
529
+ static textFor(e, t, n) {
530
+ if (t === "yes-no") return "";
531
+ let r = TableEditing.choiceFor(e, n);
532
+ return r ? r.text ?? F.text(r.value) : t === "date" && n instanceof Date ? TableEditing.dayOf(n) : F.text(n);
533
+ }
534
+ static draftFor(e, t, n) {
535
+ if (t === "choice" || t === "link") {
536
+ let t = (e.choices ?? []).findIndex((e) => e.value === n);
537
+ return t < 0 ? "" : String(t);
538
+ }
539
+ return t === "date" && n instanceof Date ? TableEditing.dayOf(n) : F.text(n);
540
+ }
541
+ static valueFrom(e, t, n, r) {
542
+ let i = n.trim();
543
+ switch (t) {
544
+ case "number": {
545
+ if (!i) return;
546
+ let e = Number(i.replaceAll(",", ""));
547
+ return Number.isFinite(e) ? e : void 0;
548
+ }
549
+ case "date": return i ? r instanceof Date ? /* @__PURE__ */ new Date(`${i}T00:00`) : i : void 0;
550
+ case "yes-no": return Fe.test(i);
551
+ case "choice":
552
+ case "link": {
553
+ let t = e.choices ?? [], n = /^\d+$/.test(i) ? t[Number(i)] : void 0, r = t.find((e) => (e.text ?? F.text(e.value)) === i);
554
+ return (n ?? r)?.value;
555
+ }
556
+ default: return n;
557
+ }
558
+ }
559
+ static isSame(e, t) {
560
+ return e instanceof Date && t instanceof Date ? e.getTime() === t.getTime() : e === t || (e == null || e === "") && (t == null || t === "");
561
+ }
562
+ static cellsOf(e) {
563
+ let t = e.replaceAll("\r\n", "\n").split("\n");
564
+ return t.length > 1 && t.at(-1) === "" && t.pop(), t.map((e) => e.split(" "));
565
+ }
566
+ static pasteEdits({ rows: e, columns: t, types: n, row: r, column: i, cells: a }) {
567
+ let o = [];
568
+ return a.forEach((a, s) => {
569
+ let c = e[r + s], l = {};
570
+ a.forEach((e, r) => {
571
+ let a = i + r, s = t[a];
572
+ if (!s || s.readOnly) return;
573
+ let u = c?.[s.key], d = TableEditing.valueFrom(s, n[a] ?? "text", e, u);
574
+ c ? TableEditing.isSame(d, u) || o.push({
575
+ kind: "set",
576
+ row: c,
577
+ key: s.key,
578
+ value: d,
579
+ was: u
580
+ }) : l[s.key] = d;
581
+ }), !c && Object.keys(l).length && o.push({
582
+ kind: "add",
583
+ values: l
584
+ });
585
+ }), o;
586
+ }
587
+ static applied(e, t) {
588
+ let n = /* @__PURE__ */ new Map(), r = [...e];
589
+ for (let e of t) {
590
+ if (e.kind === "add") {
591
+ r.push({ ...e.values });
592
+ continue;
593
+ }
594
+ let t = n.get(e.row) ?? e.row;
595
+ if (e.kind === "remove") {
596
+ r = r.filter((e) => e !== t);
597
+ continue;
598
+ }
599
+ let i = {
600
+ ...t,
601
+ [e.key]: e.value
602
+ };
603
+ n.set(e.row, i), r = r.map((e) => e === t ? i : e);
604
+ }
605
+ return r;
606
+ }
607
+ static choiceFor(e, t) {
608
+ return e.choices?.find((e) => e.value === t);
609
+ }
610
+ static dayOf(e) {
611
+ let pad = (e) => String(e).padStart(2, "0");
612
+ return `${e.getFullYear()}-${pad(e.getMonth() + 1)}-${pad(e.getDate())}`;
613
+ }
614
+ }, Pe = "id", Fe = /^(?:true|yes|y|x|1|✓|✔)$/i, Ie = [se], L, R = class _TableGrammar {
615
+ static scroller(e) {
616
+ let t = {};
617
+ for (let n of ze) t[n] = e(n);
618
+ return _TableGrammar.builder.build(t);
619
+ }
620
+ static scrolls(e) {
621
+ return !!e(Le) || !!e(Re);
622
+ }
623
+ static cell(e) {
624
+ let { grammar: n } = t, r = [];
625
+ if (e.textAlign && r.push(`${e.textAlign} ${n.aligned}`), e.width != null) {
626
+ let t = ee.columns(String(e.width)), i = t === void 0 ? void 0 : ce(Math.round(t));
627
+ i && r.push(`${i} ${n.wide}`);
628
+ }
629
+ return r.join(" ");
630
+ }
631
+ static get builder() {
632
+ return new t({
633
+ ...we,
634
+ noun: Be,
635
+ ui: !1,
636
+ attributes: we.attributes.filter(({ name: e }) => ze.includes(e))
637
+ });
638
+ }
639
+ };
640
+ L = S(null), o(L, 10, "builder", Ie, R), c(L, R), f(L, 3, R), e(R, "TableGrammar");
641
+ var z = R, B = "attach", Le = "scrolling", Re = "overflowing", ze = [
642
+ "resizable",
643
+ B,
644
+ Le,
645
+ Re
646
+ ], Be = "scroller", Ve = "@layer ui.components.table.types{:host{--_table-hosted:1;--_table-stack-by:var(--ui-table-stack-by,var(--ui-stack-with,viewport));--ui-color:initial;--ui-color-text:initial;--ui-color-header:initial;--ui-color-border:initial;--ui-color-background:initial;--ui-color-inverted:initial;--ui-color-on:initial;--ui-color-inverted-on:initial;margin-block:1em;display:block;container-type:inline-size}:host(:first-child){margin-block-start:0}:host(:last-child){margin-block-end:0}.scroller{--_ui-table-row-height:var(--ui-table-row-height,calc(2 * .785714em + var(--ui-line-height) * 1em));--_table-scroll-rows:3;--_table-overflow-rows:5;--_table-scroll-factor:1;margin-block:1em;display:block}:host(:first-child)>.scroller{margin-block-start:0}:host(:last-child)>.scroller{margin-block-end:0}:host>.scroller:not([data-ui]){margin-block:0}.ui.table,:where(ui-table)>table{--_ui-table-margin:var(--ui-table-margin,1em);--_ui-table-background:var(--ui-table-background,var(--ui-surface));--_ui-table-color:var(--ui-table-color,var(--ui-text-color));--_ui-table-border-width:var(--ui-table-border-width,var(--ui-border-width));--_ui-table-border-color:var(--ui-table-border-color,var(--ui-border-color));--_ui-table-radius:var(--ui-table-radius,var(--ui-radius));--_ui-table-duration:var(--ui-table-duration,var(--ui-duration-fast));--_ui-table-row-border:var(--ui-table-row-border,var(--ui-border-width) solid var(--ui-border-color-internal));--_ui-table-cell-border:var(--ui-table-cell-border,var(--ui-border-width) solid var(--ui-border-color-internal));--_ui-table-cell-padding-block:var(--ui-table-cell-padding-block,.785714em);--_ui-table-cell-padding-inline:var(--ui-table-cell-padding-inline,.785714em);--_ui-table-header-padding-block:var(--ui-table-header-padding-block,.928571em);--_ui-table-header-background:var(--ui-table-header-background,var(--ui-surface-muted));--_ui-table-header-color:var(--ui-table-header-color,var(--ui-text-color));--_ui-table-header-border:var(--ui-table-header-border,var(--ui-border-width) solid var(--ui-border-color-internal));--_ui-table-footer-background:var(--ui-table-footer-background,var(--ui-surface-muted));--_ui-table-footer-color:var(--ui-table-footer-color,var(--ui-text-color));--_ui-table-footer-border:var(--ui-table-footer-border,var(--ui-border));--_ui-table-row-height:var(--ui-table-row-height,calc(2 * .785714em + var(--ui-line-height) * 1em));--_ui-table-responsive-row-padding:var(--ui-table-responsive-row-padding,1em);--_ui-table-responsive-row-shadow:var(--ui-table-responsive-row-shadow,0 -1px 0 0 oklch(from var(--ui-ink) l c h / .1) inset);--_ui-table-responsive-cell-padding:var(--ui-table-responsive-cell-padding,.25em .75em);--_ui-table-definition-page-background:var(--ui-table-definition-page-background,var(--ui-background));--_ui-table-definition-header-color:var(--ui-table-definition-header-color,var(--ui-text-unselected));--_ui-table-definition-column-background:var(--ui-table-definition-column-background,oklch(from var(--ui-ink) l c h / .03));--_ui-table-definition-column-color:var(--ui-table-definition-column-color,var(--ui-text-selected));--_ui-table-active-background:var(--ui-table-active-background,color-mix(in oklab, var(--ui-ink) 12%, var(--ui-surface)));--_ui-table-active-color:var(--ui-table-active-color,var(--ui-text-color));--_ui-table-disabled-color:var(--ui-table-disabled-color,var(--ui-text-muted));--_ui-table-striped-background:var(--ui-table-striped-background,oklch(from var(--ui-ink) l c h / .03));--_ui-table-selectable-background:var(--ui-table-selectable-background,oklch(from var(--ui-ink) l c h / .05));--_ui-table-selectable-color:var(--ui-table-selectable-color,var(--ui-text-selected));--_ui-table-sortable-hover-background:var(--ui-table-sortable-hover-background,oklch(from var(--ui-ink) l c h / .05));--_ui-table-sortable-hover-color:var(--ui-table-sortable-hover-color,var(--ui-text-hovered));--_ui-table-sortable-active-background:var(--ui-table-sortable-active-background,oklch(from var(--ui-ink) l c h / .05));--_ui-table-sortable-active-color:var(--ui-table-sortable-active-color,var(--ui-text-selected));--_ui-table-sortable-border:var(--ui-table-sortable-border,var(--ui-border));--_ui-table-sortable-icon-opacity:var(--ui-table-sortable-icon-opacity,.8);--_ui-table-colored-border-size:var(--ui-table-colored-border-size,.2em);--_ui-table-marker-width:var(--ui-table-marker-width,.2em);--_ui-table-inverted-header-background:var(--ui-table-inverted-header-background,oklch(0% 0 0/.15));--_ui-table-inverted-cell-border-color:var(--ui-table-inverted-cell-border-color,oklch(100% 0 0/.1));--_ui-table-inverted-striped-background:var(--ui-table-inverted-striped-background,oklch(100% 0 0/.05));--_ui-table-inverted-selectable-background:var(--ui-table-inverted-selectable-background,oklch(100% 0 0/.08));--_ui-table-inverted-sortable-background:var(--ui-table-inverted-sortable-background,oklch(100% 0 0/.08));--_ui-table-inverted-definition-column-background:var(--ui-table-inverted-definition-column-background,oklch(100% 0 0/.02));--_ui-table-inverted-stuck-shade:var(--ui-table-inverted-stuck-shade,black);--_ui-table-stuck-background:var(--ui-table-stuck-background,var(--ui-surface));--_ui-table-stuck-header-background:var(--ui-table-stuck-header-background,var(--ui-surface-muted));--_ui-table-stuck-z:var(--ui-table-stuck-z,var(--ui-z-sticky));--_ui-table-padded:var(--ui-table-padded,1em);--_ui-table-very-padded:var(--ui-table-very-padded,1.5em);--_ui-table-compact-padding-block:var(--ui-table-compact-padding-block,.5em);--_ui-table-compact-padding-inline:var(--ui-table-compact-padding-inline,.7em);--_ui-table-very-compact-padding-block:var(--ui-table-very-compact-padding-block,.4em);--_ui-table-very-compact-padding-inline:var(--ui-table-very-compact-padding-inline,.6em);--_table-stack:0;--_table-scroll-rows:3;--_table-overflow-rows:5;--_table-scroll-factor:1;inline-size:100%;margin:var(--_ui-table-margin) 0;border:var(--_ui-table-border-width) solid var(--_ui-table-border-color);border-radius:var(--_ui-table-radius);border-collapse:separate;border-spacing:0;box-shadow:none;background:var(--_ui-table-background);color:var(--_ui-table-color);font-size:calc(var(--ui-font-size) * var(--ui-scale,1));line-height:var(--ui-line-height);text-align:start;vertical-align:middle}:is(.ui.table,:where(ui-table)>table):first-child{margin-block-start:0}:is(.ui.table,:where(ui-table)>table):last-child{margin-block-end:0}:is(.ui.table,:where(ui-table)>table)>:is(thead,tbody){text-align:inherit;vertical-align:inherit}:is(.ui.table,:where(ui-table)>table) :is(th,td){--ui-color:initial;--ui-color-text:initial;--ui-color-header:initial;--ui-color-border:initial;--ui-color-background:initial;--ui-color-inverted:initial;--ui-color-hover:initial;--ui-color-focus:initial;--ui-color-down:initial;--ui-color-active:initial;--ui-color-on:initial;--ui-color-inverted-on:initial;--ui-scale:initial;--_table-hosted:initial;--_table-stack-by:initial;transition:background var(--_ui-table-duration) var(--ui-ease), color var(--_ui-table-duration) var(--ui-ease)}:is(.ui.table,:where(ui-table)>table) tr{--_table-mark-shadow:0 0 transparent}:is(.ui.table,:where(ui-table)>table)>caption{padding-block:var(--ui-space-xs);color:var(--ui-text-muted);text-align:start}}@layer ui.components.table.content{.ui.table :is(th,td).rowspanned{display:none}:is(.ui.table,:where(ui-table)>table)>thead{box-shadow:none}:is(.ui.table,:where(ui-table)>table)>thead>tr>th{padding:var(--_ui-table-header-padding-block) var(--_ui-table-cell-padding-inline);border-block-end:var(--_ui-table-header-border);background:var(--_ui-table-header-background);color:var(--_ui-table-header-color);font-style:normal;font-weight:var(--ui-font-weight-bold);text-align:inherit;text-transform:none;vertical-align:inherit;cursor:auto;border-inline-start:none}:is(.ui.table,:where(ui-table)>table)>thead>tr:first-child>th:first-child{border-start-start-radius:var(--_ui-table-radius)}:is(.ui.table,:where(ui-table)>table)>thead>tr:first-child>th:last-child{border-start-end-radius:var(--_ui-table-radius)}:is(.ui.table,:where(ui-table)>table)>tfoot>tr>:is(th,td){padding:var(--_ui-table-cell-padding-block) var(--_ui-table-cell-padding-inline);border-block-start:var(--_ui-table-footer-border);background:var(--_ui-table-footer-background);color:var(--_ui-table-footer-color);font-style:normal;font-weight:var(--ui-font-weight-normal);text-align:inherit;text-transform:none;vertical-align:inherit;cursor:auto;border-inline-start:none}:is(.ui.table,:where(ui-table)>table)>tfoot>tr:last-child>:is(th,td):first-child{border-end-start-radius:var(--_ui-table-radius)}:is(.ui.table,:where(ui-table)>table)>tfoot>tr:last-child>:is(th,td):last-child{border-end-end-radius:var(--_ui-table-radius)}:is(.ui.table,:where(ui-table)>table)>tbody>tr>:is(td,th){border-block-start:var(--_ui-table-row-border)}:is(.ui.table,:where(ui-table)>table)>tbody>tr:first-child>:is(td,th){border-block-start:none}:is(.ui.table,:where(ui-table)>table)>tbody+tbody>tr:first-child>:is(td,th){border-block-start:var(--_ui-table-row-border)}:is(.ui.table,:where(ui-table)>table)>tbody>tr>:is(td,th){padding:var(--_ui-table-cell-padding-block) var(--_ui-table-cell-padding-inline);text-align:inherit}:is(.ui.table,:where(ui-table)>table)>tbody>tr>th{font-weight:var(--ui-font-weight-bold)}.ui.table>i.icon,.ui.table :is(td,th)>:is(svg,ui-icon):only-child{vertical-align:baseline}.ui.table .collapsing :is(.image,.image img,img){max-inline-size:none}.ui.definition.table>thead:not(.full-width)>tr>:is(th,td):first-child{background:var(--_ui-table-definition-page-background);box-shadow:calc(var(--_ui-table-colored-border-size) / -2) calc(-1 * var(--_ui-table-colored-border-size)) 0 calc(var(--_ui-table-colored-border-size) / 2) var(--_ui-table-definition-page-background);color:var(--_ui-table-definition-header-color);font-weight:var(--ui-font-weight-normal);pointer-events:none}.ui.definition.table>thead:not(.full-width)>tr>:is(th,td):first-child:not(:empty){pointer-events:auto}.ui.definition.table>tfoot:not(.full-width)>tr>th:first-child{background:var(--_ui-table-definition-page-background);box-shadow:calc(var(--_ui-table-colored-border-size) / -2) var(--_ui-table-colored-border-size) 0 calc(var(--_ui-table-colored-border-size) / 2) var(--_ui-table-definition-page-background);color:var(--_ui-table-definition-header-color);font-weight:var(--ui-font-weight-normal);pointer-events:none}.ui.definition.table>tbody>tr>:is(td,th):first-child:not(.ignored),.ui.definition.table>tfoot>tr>td:first-child:not(.ignored),.ui.definition.table tr td.definition{background:var(--_ui-table-definition-column-background);color:var(--_ui-table-definition-column-color);font-weight:var(--ui-font-weight-bold)}.ui.definition.table>thead:not(.full-width)>tr>th:nth-child(2),.ui.definition.table>tfoot:not(.full-width)>tr>:is(th,td):nth-child(2),.ui.definition.table>tbody>tr>:is(td,th):nth-child(2){border-inline-start:var(--_ui-table-border-width) solid var(--_ui-table-border-color)}.ui.structured.table{border-collapse:collapse}.ui.structured.table>thead>tr>th{border-inline:none}.ui.structured.sortable.table>thead>tr>th{border-inline:var(--_ui-table-sortable-border)}.ui.structured.basic.table>*>tr>th{border-inline:none}.ui.structured.celled.table>*>tr>:is(th,td){border-inline:var(--_ui-table-cell-border)}:host(:state(rows))>.scroller{grid-template-columns:repeat(var(--_table-columns,1), auto);margin:0;display:grid}:host(:state(rows))>.caption,:host>.caption{padding:var(--ui-space-xs) var(--_ui-table-cell-padding-inline,.785714em);color:var(--ui-text-muted);text-align:start}.ui.table:state(rows)>:is(ui-row,es-fila){grid-column:1/-1;grid-template-columns:subgrid;--_table-mark-shadow:0 0 transparent;display:grid;container:none}.ui.table:state(rows)>:is(ui-row,es-fila)>:is(ui-cell,es-celda){--ui-color:initial;--ui-color-text:initial;--ui-color-header:initial;--ui-color-border:initial;--ui-color-background:initial;--ui-color-inverted:initial;--ui-color-on:initial;--ui-color-inverted-on:initial;--ui-scale:initial;--_table-hosted:initial;--_table-stack-by:initial;min-inline-size:0;padding:var(--_ui-table-cell-padding-block) var(--_ui-table-cell-padding-inline);border-block-start:var(--_ui-table-row-border);transition:background var(--_ui-table-duration) var(--ui-ease), color var(--_ui-table-duration) var(--ui-ease);display:block}.ui.table:state(rows)>:is(ui-row,es-fila):first-child>:is(ui-cell,es-celda),.ui.table:state(rows)>:is(ui-row,es-fila):state(header)+ui-row>:is(ui-cell,es-celda){border-block-start:none}.ui.table:state(rows)>:is(ui-row,es-fila):state(header)>:is(ui-cell,es-celda){padding-block:var(--_ui-table-header-padding-block);border-block-end:var(--_ui-table-header-border);background:var(--_ui-table-header-background);color:var(--_ui-table-header-color);font-weight:var(--ui-font-weight-bold);min-inline-size:min-content}.ui.table:state(rows):not(:state(captioned))>:is(ui-row,es-fila):state(header):first-child>:is(ui-cell,es-celda):first-child{border-start-start-radius:var(--_ui-table-radius)}.ui.table:state(rows):not(:state(captioned))>:is(ui-row,es-fila):state(header):first-child>:is(ui-cell,es-celda):last-child{border-start-end-radius:var(--_ui-table-radius)}.ui.table:state(rows)>:is(ui-row,es-fila):not(:state(header))>:is(ui-cell,es-celda):state(header){font-weight:var(--ui-font-weight-bold)}.ui.table:state(rows)>:is(ui-row,es-fila):state(footer)>:is(ui-cell,es-celda){border-block-start:var(--_ui-table-footer-border);background:var(--_ui-table-footer-background);color:var(--_ui-table-footer-color)}}@layer ui.components.table.variations{.ui.table[class*=left\\ aligned],.ui.table [class*=left\\ aligned]{text-align:left}.ui.table[class*=center\\ aligned],.ui.table [class*=center\\ aligned]{text-align:center}.ui.table[class*=right\\ aligned],.ui.table [class*=right\\ aligned]{text-align:right}.ui.justified.table,.ui.table .justified{text-align:justify}.ui.table[class*=top\\ aligned],.ui.table [class*=top\\ aligned]{vertical-align:top}.ui.table[class*=middle\\ aligned],.ui.table [class*=middle\\ aligned]{vertical-align:middle}.ui.table[class*=bottom\\ aligned],.ui.table [class*=bottom\\ aligned]{vertical-align:bottom}.ui.table :is(th,td).collapsing{white-space:nowrap;inline-size:1px}.ui.collapsing.table{inline-size:auto}.ui.collapsing.table:state(rows){inline-size:fit-content;max-inline-size:100%;container-type:normal}.ui.fixed.table{table-layout:fixed}.ui.fixed.table :is(th,td){text-overflow:ellipsis;overflow:hidden}.ui.editable.table{border-collapse:collapse;border-radius:0}.ui.editable.table>:is(thead,tbody)>tr>:is(th,td){border:1px solid var(--_ui-table-border-color);border-radius:0;min-width:4em;padding:.3em .5em;position:relative}.ui.editable.table>tbody>tr>td{cursor:cell}.ui.editable.table>tbody>tr>td:focus,.ui.editable.table>tbody>tr>td.cursor{outline:2px solid var(--ui-focus-color,Highlight);outline-offset:-2px}.ui.editable.table>tbody>tr>td[aria-readonly=true]{color:var(--ui-text-muted,inherit)}.ui.editable.table .cell-editor{box-sizing:border-box;block-size:100%;inline-size:100%;font:inherit;color:inherit;background:var(--_ui-table-background);outline:2px solid var(--ui-focus-color,Highlight);outline-offset:-2px;border:none;border-radius:0;margin:0;padding:.3em .5em;position:absolute;inset:0}.ui.editable.table .cell-tick{vertical-align:middle;margin:0}.ui.table>tbody>tr.spacer>td{border:none;padding:0}.ui.editable.table>tbody>tr.new-row>td{block-size:1.8em}.ui.editable.table .delete-row{inline-size:1.6em;color:var(--ui-text-muted,inherit);font:inherit;cursor:pointer;opacity:0;background:0 0;border:none;padding:0;position:absolute;inset-block:0;inset-inline-end:0}.ui.editable.table>tbody>tr:is(:hover,:focus-within) .delete-row,.ui.editable.table .delete-row:focus-visible{opacity:1}.ui.selectable.table>tbody>tr,.ui.table>tbody>tr>td.selectable{cursor:var(--ui-control-cursor)}.ui.table tbody tr td.selectable{padding:0}.ui.table tbody tr td.selectable>a:not(.ui){color:inherit;display:block}.ui.table:not(.compact) tbody tr td.selectable>a:not(.ui){padding:var(--_ui-table-cell-padding-block) var(--_ui-table-cell-padding-inline)}.ui.attached.table{inline-size:calc(100% + 2 * var(--_ui-table-border-width));max-inline-size:calc(100% + 2 * var(--_ui-table-border-width));margin:0 calc(-1 * var(--_ui-table-border-width));border:var(--_ui-table-border-width) solid var(--ui-border-color-strong);box-shadow:none;border-radius:0;inset-block:0}.ui[class*=top\\ attached].table{margin-block:var(--_ui-table-margin) 0;border-radius:var(--_ui-table-radius) var(--_ui-table-radius) 0 0}.ui.table[class*=top\\ attached]:first-child{margin-block-start:0}.ui[class*=bottom\\ attached].table{margin-block:0 var(--_ui-table-margin);border-radius:0 0 var(--_ui-table-radius) var(--_ui-table-radius)}.ui[class*=bottom\\ attached].table:last-child{margin-block-end:0}.attached.scroller{margin-block:0}[class*=top\\ attached].scroller{margin-block-start:1em}[class*=bottom\\ attached].scroller{margin-block-end:1em}:host(:first-child)>[class*=top\\ attached].scroller{margin-block-start:0}:host(:last-child)>[class*=bottom\\ attached].scroller{margin-block-end:0}:host(:state(attached)){margin-block:0}:host(:state(attached-top):not(:first-child)){margin-block-start:1em}:host(:state(attached-bottom):not(:last-child)){margin-block-end:1em}:host>.scroller:not([data-ui]){margin-block:0}.ui.striped.table>tr:nth-child(2n),.ui.striped.table>tbody>tr:nth-child(2n){background-color:var(--_ui-table-striped-background)}.ui.table[class*=single\\ line],.ui.table [class*=single\\ line]{white-space:nowrap}.ui.table:is(.primary,.secondary,.red,.orange,.yellow,.olive,.green,.teal,.blue,.violet,.purple,.pink,.brown,.grey,.black){border-block-start:var(--_ui-table-colored-border-size) solid var(--ui-color)}.ui.one.column.table td{inline-size:100%}.ui.two.column.table td{inline-size:50%}.ui.three.column.table td{inline-size:33.3333%}.ui.four.column.table td{inline-size:25%}.ui.five.column.table td{inline-size:20%}.ui.six.column.table td{inline-size:16.6667%}.ui.seven.column.table td{inline-size:14.2857%}.ui.eight.column.table td{inline-size:12.5%}.ui.nine.column.table td{inline-size:11.1111%}.ui.ten.column.table td{inline-size:10%}.ui.eleven.column.table td{inline-size:9.09091%}.ui.twelve.column.table td{inline-size:8.33333%}.ui.thirteen.column.table td{inline-size:7.69231%}.ui.fourteen.column.table td{inline-size:7.14286%}.ui.fifteen.column.table td{inline-size:6.66667%}.ui.sixteen.column.table td,.ui.table :is(th,td).one.wide{inline-size:6.25%}.ui.table :is(th,td).two.wide{inline-size:12.5%}.ui.table :is(th,td).three.wide{inline-size:18.75%}.ui.table :is(th,td).four.wide{inline-size:25%}.ui.table :is(th,td).five.wide{inline-size:31.25%}.ui.table :is(th,td).six.wide{inline-size:37.5%}.ui.table :is(th,td).seven.wide{inline-size:43.75%}.ui.table :is(th,td).eight.wide{inline-size:50%}.ui.table :is(th,td).nine.wide{inline-size:56.25%}.ui.table :is(th,td).ten.wide{inline-size:62.5%}.ui.table :is(th,td).eleven.wide{inline-size:68.75%}.ui.table :is(th,td).twelve.wide{inline-size:75%}.ui.table :is(th,td).thirteen.wide{inline-size:81.25%}.ui.table :is(th,td).fourteen.wide{inline-size:87.5%}.ui.table :is(th,td).fifteen.wide{inline-size:93.75%}.ui.table :is(th,td).sixteen.wide{inline-size:100%}.ui.sortable.table>thead>tr>th{color:var(--_ui-table-header-color);white-space:nowrap;cursor:var(--ui-control-cursor)}.ui.celled.sortable.table>thead>tr>th:not(:first-child){border-inline-start:var(--_ui-table-sortable-border)}.ui.sortable.table>thead>tr>th>button{appearance:none;color:inherit;font:inherit;text-align:inherit;text-transform:inherit;cursor:var(--ui-control-cursor);background:0 0;border:0;margin:0;padding:0}.ui.sortable.table>thead>tr>th>button:focus-visible,.ui.sortable.table>thead>tr>th[tabindex]:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:var(--ui-focus-offset)}.ui.sortable.table>thead>tr>th[tabindex]:focus-visible{outline-offset:calc(-1 * var(--ui-focus-width))}.ui.sortable.table>thead>tr>th:after{content:\"\";block-size:.8em;inline-size:.8em;opacity:var(--_ui-table-sortable-icon-opacity);vertical-align:-.05em;mask:var(--_table-caret) center / contain no-repeat;background-color:currentColor;margin-inline-start:.5em;display:none}.ui.sortable.table thead th:is([aria-sort=ascending],.sorted.ascending){--_table-caret:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 2l4 6H1z'/%3E%3C/svg%3E\")}.ui.sortable.table thead th:is([aria-sort=descending],.sorted.descending){--_table-caret:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 8L1 2h8z'/%3E%3C/svg%3E\")}.ui.sortable.table thead th:is([aria-sort=ascending],[aria-sort=descending],.sorted):after{display:inline-block}.ui.sortable.table>thead>tr>th:is([data-sortable=false],.disabled){cursor:auto}.ui.table{--ui-inverted:0}.ui.inverted.table{--ui-inverted:1;--ui-scheme:dark;--_ui-table-cell-border:var(--ui-border-width) solid var(--_ui-table-inverted-cell-border-color);--_ui-table-row-border:var(--ui-border-width) solid var(--_ui-table-inverted-cell-border-color);--_ui-table-header-border:var(--ui-border-width) solid var(--_ui-table-inverted-cell-border-color);--_ui-table-footer-border:var(--ui-border-width) solid var(--_ui-table-inverted-cell-border-color);--_ui-table-header-background:var(--_ui-table-inverted-header-background);--_ui-table-footer-background:var(--_ui-table-inverted-header-background);--_ui-table-header-color:inherit;--_ui-table-footer-color:inherit;--_ui-table-striped-background:var(--_ui-table-inverted-striped-background);--_ui-table-selectable-background:var(--_ui-table-inverted-selectable-background);--_ui-table-stuck-header-background:color-mix(in oklab, var(--_ui-table-inverted-stuck-shade) 15%, var(--ui-surface));color-scheme:dark;background:var(--ui-color,var(--ui-surface));color:var(--ui-color-on,var(--ui-text-color));border:none}.ui.inverted.table:is(.primary,.secondary,.red,.orange,.yellow,.olive,.green,.teal,.blue,.violet,.purple,.pink,.brown,.grey,.black){--_ui-table-stuck-background:var(--ui-color);--_ui-table-stuck-header-background:color-mix(in oklab, var(--_ui-table-inverted-stuck-shade) 15%, var(--ui-color))}.ui.inverted.definition.table>:is(thead,tfoot):not(.full-width)>tr>:is(th,td):first-child{--_ui-table-definition-page-background:var(--ui-background);color-scheme:light}.ui.inverted.definition.table>:is(tbody,tfoot)>tr>td:first-child{--_ui-table-definition-column-background:var(--_ui-table-inverted-definition-column-background)}.ui.basic.table{border:var(--_ui-table-border-width) solid var(--_ui-table-border-color);box-shadow:none;background:0 0}.ui.basic.table>:is(thead,tfoot){box-shadow:none}.ui.basic.table>:is(thead,tbody,tfoot)>tr>th,.ui.basic.table>tr>th{background:0 0;border-inline-start:none}.ui.basic.table>tbody>tr{border-block-end:var(--_ui-table-cell-border)}.ui.basic.table>:is(tbody,tfoot)>tr>td,.ui.basic.table>tr>td{background:0 0}.ui.basic.striped.table>tbody>tr:nth-child(2n){background-color:var(--_ui-table-selectable-background)}.ui[class*=very\\ basic].table{border:none}.ui[class*=very\\ basic].table:not(.sortable,.striped)>*>tr>:is(th,td):first-child{padding-inline-start:0}.ui[class*=very\\ basic].table:not(.sortable,.striped)>*>tr>:is(th,td):last-child{padding-inline-end:0}.ui[class*=very\\ basic].table:not(.sortable,.striped)>thead>tr:first-child>th{padding-block-start:0}.ui.celled.table>*>tr>:is(th,td),.ui.celled.table>tr>:is(th,td){border-inline-start:var(--_ui-table-cell-border)}.ui.celled.table>*>tr>:is(th,td):first-child,.ui.celled.table>tr>:is(th,td):first-child{border-inline-start:none}.ui.padded.table>*>tr>th{padding-inline:var(--_ui-table-padded)}.ui.padded.table>*>tr>:is(th,td){padding:var(--_ui-table-padded)}.ui[class*=very\\ padded].table>*>tr>th{padding-inline:var(--_ui-table-very-padded)}.ui[class*=very\\ padded].table>*>tr>td{padding:var(--_ui-table-very-padded)}.ui.compact.table>*>tr>th{padding-inline:var(--_ui-table-compact-padding-inline)}.ui.compact.table>:is(tbody,tfoot)>tr>td{padding:var(--_ui-table-compact-padding-block) var(--_ui-table-compact-padding-inline)}.ui[class*=very\\ compact].table>*>tr>th{padding-inline:var(--_ui-table-very-compact-padding-inline)}.ui[class*=very\\ compact].table>:is(tbody,tfoot)>tr>td{padding:var(--_ui-table-very-compact-padding-block) var(--_ui-table-very-compact-padding-inline)}.ui.stuck.table{background:var(--_ui-table-stuck-background)}.ui.stuck.table>thead>tr{background:var(--_ui-table-stuck-header-background)}.ui.stuck.table>tbody>tr{background:var(--_ui-table-stuck-background)}.ui.stuck.table>tfoot>tr{background:var(--_ui-table-stuck-header-background)}.ui.basic.stuck.table>:is(thead,tfoot)>tr{background:var(--_ui-table-stuck-background)}.ui.head.stuck.table>thead,.ui.foot.stuck.table>tfoot{z-index:var(--_ui-table-stuck-z);position:sticky}.ui.head.stuck.table{border-block-start:0}.ui.head.stuck.table>thead{inset-block:0 auto}.ui.head.stuck.table>thead>tr:first-child>th{border-block-start:var(--_ui-table-cell-border)}.ui.foot.stuck.table{border-block-end:0}.ui.foot.stuck.table>tfoot{inset-block:auto 0}.ui.foot.stuck.table>tfoot>tr:last-child>:is(td,th){border-block-end:var(--_ui-table-cell-border)}.ui.first.stuck.table{border-inline-start:0}.ui.first.stuck.table :is(th,td):first-child{z-index:1;border-inline-start:var(--_ui-table-cell-border);background:inherit;position:sticky;inset-inline-start:0}.ui.last.stuck.table{border-inline-end:0}.ui.last.stuck.table :is(th,td):last-child{z-index:1;border-inline-end:var(--_ui-table-cell-border);background:inherit;position:sticky;inset-inline-end:0}.ui.celled.first.stuck.table :is(th,td):first-child{border-inline-end:var(--_ui-table-cell-border)}.ui.celled.last.stuck.table :is(th,td):last-child{border-inline-start:var(--_ui-table-cell-border)}.ui:is(.scrolling,.overflowing).short.table,.short:is(.scrolling,.overflowing).scroller{--_table-scroll-factor:.75}.ui:is(.scrolling,.overflowing)[class*=very\\ short].table,[class*=very\\ short]:is(.scrolling,.overflowing).scroller{--_table-scroll-factor:.5}.ui:is(.scrolling,.overflowing).long.table,.long:is(.scrolling,.overflowing).scroller{--_table-scroll-factor:2}.ui:is(.scrolling,.overflowing)[class*=very\\ long].table,[class*=very\\ long]:is(.scrolling,.overflowing).scroller{--_table-scroll-factor:3}@media (768px<=width<992px),(width>=992px){:is(.ui.table,.scroller){--_table-scroll-rows:4;--_table-overflow-rows:6}}@media (width>=992px){:is(.ui.table,.scroller){--_table-scroll-rows:6;--_table-overflow-rows:8}}@media (width>=1920px){:is(.ui.table,.scroller){--_table-scroll-rows:8;--_table-overflow-rows:10}}.scrolling.scroller,.overflowing.scroller{overscroll-behavior:contain;overflow:auto}.scrolling.scroller{max-block-size:calc(var(--_ui-table-row-height) * (var(--_table-scroll-rows) * var(--_table-scroll-factor) + 1))}.overflowing.scroller{max-block-size:calc(var(--_ui-table-row-height) * var(--_table-overflow-rows) * var(--_table-scroll-factor))}.sideways.scroller{overscroll-behavior-x:contain;overflow-x:auto}.resizable.scrolling.scroller{block-size:calc(var(--_ui-table-row-height) * (var(--_table-scroll-rows) * var(--_table-scroll-factor) + 1));resize:vertical;max-block-size:none}.scroller:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:var(--ui-focus-offset)}@container style(--_table-hosted:1){.ui.scrolling.table>:is(thead,tfoot){z-index:var(--_ui-table-stuck-z);position:sticky}.ui.scrolling.table>thead{inset-block-start:0}.ui.scrolling.table>tfoot{inset-block-end:0}.ui.scrolling.table>thead>tr,.ui.scrolling.table>tfoot>tr{background:var(--_ui-table-stuck-header-background)}.ui.basic.scrolling.table>:is(thead,tfoot)>tr{background:var(--_ui-table-stuck-background)}}@container not style(--_table-hosted:1){.ui.scrolling.table>:is(thead,tfoot,tbody){overscroll-behavior:contain;display:block;overflow-y:scroll}.ui.scrolling.table>:is(thead,tfoot,tbody)>tr{table-layout:fixed;inline-size:100%;display:table}.ui.scrolling.table>tbody{max-block-size:calc(var(--_ui-table-row-height) * var(--_table-scroll-rows) * var(--_table-scroll-factor))}.ui.resizable.scrolling.table>tbody{block-size:calc(var(--_ui-table-row-height) * var(--_table-scroll-rows) * var(--_table-scroll-factor));resize:vertical;max-block-size:none}.ui.scrolling.table>thead{border-radius:var(--_ui-table-radius) var(--_ui-table-radius) 0 0;background:var(--_ui-table-header-background);color:var(--_ui-table-header-background);scrollbar-color:currentColor currentColor}.ui.scrolling.table>tfoot{border-radius:0 0 var(--_ui-table-radius) var(--_ui-table-radius);background:var(--_ui-table-footer-background);color:var(--_ui-table-footer-background);scrollbar-color:currentColor currentColor}.ui.overflowing.table{max-block-size:calc(var(--_ui-table-row-height) * var(--_table-overflow-rows) * var(--_table-scroll-factor));overscroll-behavior:contain;display:block;overflow:auto}}@container (width<768px){@container style(--_table-stack-by:container){.ui.table:not(.unstackable),.ui.stackable.table{--_table-stack:1}}}@container (width<992px){@container style(--_table-stack-by:container){.ui[class*=tablet\\ stackable].table{--_table-stack:1}}}@media (width<768px){@container not style(--_table-stack-by:container){.ui.table:not(.unstackable),.ui.stackable.table{--_table-stack:1}}}@media (width<768px),(768px<=width<992px){@container not style(--_table-stack-by:container){.ui[class*=tablet\\ stackable].table{--_table-stack:1}}}@container style(--_table-stack-by:none){:is(.ui.table:not(.unstackable),.ui.stackable.table,.ui[class*=tablet\\ stackable].table){--_table-stack:0}}.ui.stack-by-container.table,.ui.stack-by-viewport.table,.ui.stack-by-none.table{--_table-stack:initial}@container (width<768px){:is(.ui.table:not(.unstackable),.ui.stackable.table).stack-by-container{--_table-stack:1}}@container (width<992px){.ui[class*=tablet\\ stackable].stack-by-container.table{--_table-stack:1}}@media (width<768px){:is(.ui.table:not(.unstackable),.ui.stackable.table).stack-by-viewport{--_table-stack:1}}@media (width<768px),(768px<=width<992px){.ui[class*=tablet\\ stackable].stack-by-viewport.table{--_table-stack:1}}.ui.celled.table:state(rows)>:is(ui-row,es-fila)>:is(ui-cell,es-celda)+ui-cell{border-inline-start:var(--_ui-table-cell-border)}.ui.striped.table:state(rows)>:is(ui-row,es-fila):nth-child(2n of :not(:state(header),:state(footer))){background-color:var(--_ui-table-striped-background)}.ui.inverted.striped.table:state(rows)>:is(ui-row,es-fila):nth-child(2n of :not(:state(header),:state(footer))){background-color:var(--_ui-table-inverted-striped-background)}.ui.basic.table:state(rows)>:is(ui-row,es-fila):state(header)>:is(ui-cell,es-celda){background:0 0}.ui[class*=very\\ basic].table:not(.sortable,.striped):state(rows)>:is(ui-row,es-fila)>:is(ui-cell,es-celda):first-child{padding-inline-start:0}.ui[class*=very\\ basic].table:not(.sortable,.striped):state(rows)>:is(ui-row,es-fila)>:is(ui-cell,es-celda):last-child{padding-inline-end:0}.ui.padded.table:state(rows)>:is(ui-row,es-fila)>:is(ui-cell,es-celda){padding:var(--_ui-table-padded)}.ui[class*=very\\ padded].table:state(rows)>:is(ui-row,es-fila)>:is(ui-cell,es-celda){padding:var(--_ui-table-very-padded)}.ui.compact.table:state(rows)>:is(ui-row,es-fila)>:is(ui-cell,es-celda){padding:var(--_ui-table-compact-padding-block) var(--_ui-table-compact-padding-inline)}.ui[class*=very\\ compact].table:state(rows)>:is(ui-row,es-fila)>:is(ui-cell,es-celda){padding:var(--_ui-table-very-compact-padding-block) var(--_ui-table-very-compact-padding-inline)}.ui[class*=single\\ line].table:state(rows)>:is(ui-row,es-fila)>:is(ui-cell,es-celda){white-space:nowrap}}@layer ui.components.table.states{.ui.table :is(tr,th,td).positive{--_table-tint:var(--ui-positive-background);--_table-ink:var(--ui-positive-text)}.ui.table :is(tr,th,td).negative{--_table-tint:var(--ui-negative-background);--_table-ink:var(--ui-negative-text)}.ui.table :is(tr,th,td).error{--_table-tint:var(--ui-error-background);--_table-ink:var(--ui-error-text)}.ui.table :is(tr,th,td).warning{--_table-tint:var(--ui-warning-background);--_table-ink:var(--ui-warning-text)}.ui.table :is(tr,th,td).active{--_table-tint:var(--_ui-table-active-background);--_table-ink:var(--_ui-table-active-color)}.ui.table :is(tr,th,td):is(.primary:not(.marked),[class*=primary\\ colored]){--_table-tint:var(--ui-primary-background);--_table-ink:var(--ui-primary-text);--_table-fill:var(--ui-primary);--_table-fill-on:var(--ui-primary-on)}.ui.table :is(tr,th,td):is(.secondary:not(.marked),[class*=secondary\\ colored]){--_table-tint:var(--ui-secondary-background);--_table-ink:var(--ui-secondary-text);--_table-fill:var(--ui-secondary);--_table-fill-on:var(--ui-secondary-on)}.ui.table :is(tr,th,td):is(.red:not(.marked),[class*=red\\ colored]){--_table-tint:var(--ui-red-background);--_table-ink:var(--ui-red-text);--_table-fill:var(--ui-red);--_table-fill-on:var(--ui-red-on)}.ui.table :is(tr,th,td):is(.orange:not(.marked),[class*=orange\\ colored]){--_table-tint:var(--ui-orange-background);--_table-ink:var(--ui-orange-text);--_table-fill:var(--ui-orange);--_table-fill-on:var(--ui-orange-on)}.ui.table :is(tr,th,td):is(.yellow:not(.marked),[class*=yellow\\ colored]){--_table-tint:var(--ui-yellow-background);--_table-ink:var(--ui-yellow-text);--_table-fill:var(--ui-yellow);--_table-fill-on:var(--ui-yellow-on)}.ui.table :is(tr,th,td):is(.olive:not(.marked),[class*=olive\\ colored]){--_table-tint:var(--ui-olive-background);--_table-ink:var(--ui-olive-text);--_table-fill:var(--ui-olive);--_table-fill-on:var(--ui-olive-on)}.ui.table :is(tr,th,td):is(.green:not(.marked),[class*=green\\ colored]){--_table-tint:var(--ui-green-background);--_table-ink:var(--ui-green-text);--_table-fill:var(--ui-green);--_table-fill-on:var(--ui-green-on)}.ui.table :is(tr,th,td):is(.teal:not(.marked),[class*=teal\\ colored]){--_table-tint:var(--ui-teal-background);--_table-ink:var(--ui-teal-text);--_table-fill:var(--ui-teal);--_table-fill-on:var(--ui-teal-on)}.ui.table :is(tr,th,td):is(.blue:not(.marked),[class*=blue\\ colored]){--_table-tint:var(--ui-blue-background);--_table-ink:var(--ui-blue-text);--_table-fill:var(--ui-blue);--_table-fill-on:var(--ui-blue-on)}.ui.table :is(tr,th,td):is(.violet:not(.marked),[class*=violet\\ colored]){--_table-tint:var(--ui-violet-background);--_table-ink:var(--ui-violet-text);--_table-fill:var(--ui-violet);--_table-fill-on:var(--ui-violet-on)}.ui.table :is(tr,th,td):is(.purple:not(.marked),[class*=purple\\ colored]){--_table-tint:var(--ui-purple-background);--_table-ink:var(--ui-purple-text);--_table-fill:var(--ui-purple);--_table-fill-on:var(--ui-purple-on)}.ui.table :is(tr,th,td):is(.pink:not(.marked),[class*=pink\\ colored]){--_table-tint:var(--ui-pink-background);--_table-ink:var(--ui-pink-text);--_table-fill:var(--ui-pink);--_table-fill-on:var(--ui-pink-on)}.ui.table :is(tr,th,td):is(.brown:not(.marked),[class*=brown\\ colored]){--_table-tint:var(--ui-brown-background);--_table-ink:var(--ui-brown-text);--_table-fill:var(--ui-brown);--_table-fill-on:var(--ui-brown-on)}.ui.table :is(tr,th,td):is(.grey:not(.marked),[class*=grey\\ colored]){--_table-tint:var(--ui-grey-background);--_table-ink:var(--ui-grey-text);--_table-fill:var(--ui-grey);--_table-fill-on:var(--ui-grey-on)}.ui.table :is(tr,th,td):is(.black:not(.marked),[class*=black\\ colored]){--_table-tint:var(--ui-black-background);--_table-ink:var(--ui-black-text);--_table-fill:var(--ui-black);--_table-fill-on:var(--ui-black-on)}.ui.table :is(tr,td)[class*=primary\\ marked]{--_table-mark:var(--ui-primary);--_table-mark-inverted:var(--ui-primary-inverted)}.ui.table :is(tr,td)[class*=secondary\\ marked]{--_table-mark:var(--ui-secondary);--_table-mark-inverted:var(--ui-secondary-inverted)}.ui.table :is(tr,td)[class*=red\\ marked]{--_table-mark:var(--ui-red);--_table-mark-inverted:var(--ui-red-inverted)}.ui.table :is(tr,td)[class*=orange\\ marked]{--_table-mark:var(--ui-orange);--_table-mark-inverted:var(--ui-orange-inverted)}.ui.table :is(tr,td)[class*=yellow\\ marked]{--_table-mark:var(--ui-yellow);--_table-mark-inverted:var(--ui-yellow-inverted)}.ui.table :is(tr,td)[class*=olive\\ marked]{--_table-mark:var(--ui-olive);--_table-mark-inverted:var(--ui-olive-inverted)}.ui.table :is(tr,td)[class*=green\\ marked]{--_table-mark:var(--ui-green);--_table-mark-inverted:var(--ui-green-inverted)}.ui.table :is(tr,td)[class*=teal\\ marked]{--_table-mark:var(--ui-teal);--_table-mark-inverted:var(--ui-teal-inverted)}.ui.table :is(tr,td)[class*=blue\\ marked]{--_table-mark:var(--ui-blue);--_table-mark-inverted:var(--ui-blue-inverted)}.ui.table :is(tr,td)[class*=violet\\ marked]{--_table-mark:var(--ui-violet);--_table-mark-inverted:var(--ui-violet-inverted)}.ui.table :is(tr,td)[class*=purple\\ marked]{--_table-mark:var(--ui-purple);--_table-mark-inverted:var(--ui-purple-inverted)}.ui.table :is(tr,td)[class*=pink\\ marked]{--_table-mark:var(--ui-pink);--_table-mark-inverted:var(--ui-pink-inverted)}.ui.table :is(tr,td)[class*=brown\\ marked]{--_table-mark:var(--ui-brown);--_table-mark-inverted:var(--ui-brown-inverted)}.ui.table :is(tr,td)[class*=grey\\ marked]{--_table-mark:var(--ui-grey);--_table-mark-inverted:var(--ui-grey-inverted)}.ui.table :is(tr,td)[class*=black\\ marked]{--_table-mark:var(--ui-black);--_table-mark-inverted:var(--ui-black-inverted)}.ui.table :is(tr,th,td):is(.positive,.negative,.error,.warning,.active,.colored,:is(.primary,.secondary,.red,.orange,.yellow,.olive,.green,.teal,.blue,.violet,.purple,.pink,.brown,.grey,.black):not(.marked)){background:var(--_table-tint);color:var(--_table-ink)}.ui.table>:is(thead,tfoot)>tr:is(.positive,.negative,.error,.warning,.active,.colored,:is(.primary,.secondary,.red,.orange,.yellow,.olive,.green,.teal,.blue,.violet,.purple,.pink,.brown,.grey,.black):not(.marked))>:is(th,td){background:inherit;color:inherit}.ui.inverted.table :is(tr,th,td):is(.colored,:is(.primary,.secondary,.red,.orange,.yellow,.olive,.green,.teal,.blue,.violet,.purple,.pink,.brown,.grey,.black):not(.marked)){background:var(--_table-fill);color:var(--_table-fill-on)}.ui.table :is(tr,td).left.marked{--_table-mark-shadow:var(--_ui-table-marker-width) 0 0 0 var(--_table-mark) inset;box-shadow:var(--_table-mark-shadow)}.ui.table :is(tr,td).right.marked{--_table-mark-shadow:calc(-1 * var(--_ui-table-marker-width)) 0 0 0 var(--_table-mark) inset;box-shadow:var(--_table-mark-shadow)}.ui.inverted.table :is(tr,td).left.marked{--_table-mark-shadow:var(--_ui-table-marker-width) 0 0 0 var(--_table-mark-inverted) inset}.ui.inverted.table :is(tr,td).right.marked{--_table-mark-shadow:calc(-1 * var(--_ui-table-marker-width)) 0 0 0 var(--_table-mark-inverted) inset}.ui.table tr.disabled>:is(td,th),.ui.table tr>:is(td,th).disabled{color:var(--_ui-table-disabled-color);pointer-events:none}.ui.selectable.table>tbody>tr:hover,.ui.selectable.table>tr:hover,.ui.table tbody tr td.selectable:hover{background-image:linear-gradient(var(--_ui-table-selectable-background), var(--_ui-table-selectable-background));color:var(--_table-ink,var(--_ui-table-selectable-color))}.ui.inverted.selectable.table>tbody>tr:hover,.ui.inverted.table tbody tr td.selectable:hover{color:var(--_table-fill-on,var(--_ui-table-selectable-color))}.ui.sortable.table>thead>tr>th:not([data-sortable=false],.disabled):hover{color:var(--_ui-table-sortable-hover-color)}.ui.sortable.table:not(.basic)>thead>tr>th:not([data-sortable=false],.disabled):hover{background:var(--_ui-table-sortable-hover-background)}.ui.sortable.table thead th:is([aria-sort],.sorted){color:var(--_ui-table-sortable-active-color);-webkit-user-select:none;user-select:none}.ui.sortable.table:not(.basic) thead th:is([aria-sort],.sorted){background:var(--_ui-table-sortable-active-background)}.ui.sortable.table>thead>tr>th.disabled:hover{color:var(--_ui-table-disabled-color)}.ui.inverted.sortable.table:not(.basic)>thead>tr>th{border-inline-color:#0000}.ui.inverted.sortable.table:not(.basic)>thead>tr>th:not([data-sortable=false],.disabled):hover,.ui.inverted.sortable.table:not(.basic) thead th:is([aria-sort],.sorted){background:var(--_ui-table-inverted-sortable-background)}@container style(--_table-stack:1){.ui.table>:is(thead,tbody,tfoot),.ui.table>:is(thead,tbody,tfoot)>tr,.ui.table>tr,.ui.table>:is(thead,tbody,tfoot)>tr>:is(th,td):not(.rowspanned),.ui.table>tr>:is(th,td):not(.rowspanned){inline-size:auto;display:block}.ui.table>:is(thead,tbody,tfoot)>tr,.ui.table>tr{padding-block:var(--_ui-table-responsive-row-padding);box-shadow:var(--_ui-table-responsive-row-shadow), var(--_table-mark-shadow)}.ui.table>:is(thead,tbody,tfoot)>tr>:is(th,td),.ui.table>tr>:is(th,td){padding:var(--_ui-table-responsive-cell-padding);box-shadow:none;background:0 0;border:none}.ui.table>:is(thead,tbody,tfoot)>tr>:is(th,td):first-child,.ui.table>tr>:is(th,td):first-child{font-weight:var(--ui-font-weight-bold)}.ui.definition.table>thead>tr>:is(th,td):first-child{box-shadow:none}}.ui.selectable.table:state(rows)>:is(ui-row,es-fila):not(:state(header),:state(footer)):hover{background:var(--_ui-table-selectable-background);color:var(--_ui-table-selectable-color)}.ui.inverted.selectable.table:state(rows)>:is(ui-row,es-fila):not(:state(header),:state(footer)):hover{background:var(--_ui-table-inverted-selectable-background)}.ui.sortable.table:state(rows)>:is(ui-row,es-fila):state(header)>:is(ui-cell,es-celda):not([data-sortable=false]){cursor:var(--ui-control-cursor);-webkit-user-select:none;user-select:none}.ui.sortable.table:state(rows)>:is(ui-row,es-fila):state(header)>:is(ui-cell,es-celda):not([data-sortable=false]):hover{background:var(--_ui-table-sortable-hover-background);color:var(--_ui-table-sortable-hover-color)}.ui.sortable.table:state(rows)>:is(ui-row,es-fila):state(header)>:is(ui-cell,es-celda)[aria-sort]{background:var(--_ui-table-sortable-active-background);color:var(--_ui-table-sortable-active-color)}.ui.sortable.table:state(rows)>:is(ui-row,es-fila):state(header)>:is(ui-cell,es-celda)[tabindex]:focus-visible{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:calc(-1 * var(--ui-focus-width))}.ui.sortable.table:state(rows)>:is(ui-row,es-fila):state(header)>:is(ui-cell,es-celda)[aria-sort=ascending]{--_table-caret:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 2l4 6H1z'/%3E%3C/svg%3E\")}.ui.sortable.table:state(rows)>:is(ui-row,es-fila):state(header)>:is(ui-cell,es-celda)[aria-sort=descending]{--_table-caret:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 8L1 2h8z'/%3E%3C/svg%3E\")}.ui.sortable.table:state(rows)>:is(ui-row,es-fila):state(header)>:is(ui-cell,es-celda)[aria-sort]:after{content:\"\";block-size:.8em;inline-size:.8em;opacity:var(--_ui-table-sortable-icon-opacity);vertical-align:-.05em;mask:var(--_table-caret) center / contain no-repeat;background-color:currentColor;margin-inline-start:.5em;display:inline-block}@container style(--_table-stack:1){:host(:state(rows))>.scroller{display:block}.ui.table:state(rows)>:is(ui-row,es-fila){padding-block:var(--_ui-table-responsive-row-padding);box-shadow:var(--_ui-table-responsive-row-shadow);display:block}.ui.table:state(rows)>:is(ui-row,es-fila)>:is(ui-cell,es-celda){padding:var(--_ui-table-responsive-cell-padding);background:0 0;border:none}.ui.table:state(rows)>:is(ui-row,es-fila)>:is(ui-cell,es-celda):first-child{font-weight:var(--ui-font-weight-bold)}}}", He = /* @__PURE__ */ N("<div><slot name=caption>"), Ue = /* @__PURE__ */ N("<div><slot>"), We = /* @__PURE__ */ N("<table>"), Ge = /* @__PURE__ */ N("<thead><tr>"), V = /* @__PURE__ */ N("<tr>"), Ke = /* @__PURE__ */ N("<tbody><!><!><!>"), qe = /* @__PURE__ */ N("<td>"), Je = /* @__PURE__ */ N("<tr aria-hidden=true><td>"), Ye = /* @__PURE__ */ N("<button type=button>"), Xe = /* @__PURE__ */ N("<th>"), Ze = /* @__PURE__ */ N("<button type=button tabindex=-1>×"), Qe = /* @__PURE__ */ N("<td><!><!>"), $e = /* @__PURE__ */ N("<input type=checkbox tabindex=-1>"), et = /* @__PURE__ */ N("<select><option value>"), tt = /* @__PURE__ */ N("<option>"), nt = /* @__PURE__ */ N("<input>"), rt, it, at, ot, st, ct, lt, ut, dt, ft, pt, mt, ht, gt, _t, vt, yt, bt, xt, St, Ct, wt, Tt, Et, Dt, Ot, kt, At, jt, Mt, Nt, Pt, Ft, It, Lt, Rt, zt, Bt, Vt, Ht, Ut, Wt, Gt, Kt, qt, Jt, Yt, Xt, Zt, Qt, $t, H, U, W, G, K, q, J, Y, en, tn, nn, rn, X = class _UITable extends (H = d, $t = [le], Qt = [ue], Zt = [fe({ childList: !0 })], Xt = [b], Yt = [b], Jt = [y("sortTarget")], qt = [x], Kt = [fe({
521
647
  childList: !0,
522
- equals: oe
523
- })], ot = [p("rows")], at = [d("role")], it = [d("label")], rt = [p("captioned")], nt = [h("managedTable", "caption", { writesDOMElement: !0 })], tt = [m], et = [m], $e = [f("sort-column")], Qe = [f("sort-direction")], Ze = [h("tableRevision", "sortTarget", "sortable", "sortColumn", "effectiveSortDirection")], Xe = [h("authorTable", "isInRowsMode", "clientSort", "sortColumn", "effectiveSortDirection")], Ye = [le("click")], Je = [le("keydown")], qe = [_], Ke = [_], Ge = [m], We = [g], Ue = [h("isReady", "managedTable")], He = [p("attached")], Ve = [p("attached-top")], V = [p("attached-bottom")], H) {
648
+ equals: ae
649
+ })], Gt = [g("rows")], Wt = [m("role")], Ut = [m("label")], Ht = [g("captioned")], Vt = [y("managedTable", "caption", { writesDOMElement: !0 })], Bt = [_], zt = [b], Rt = [b], Lt = [b], It = [y("isReady", "isWindowed")], Ft = [x], Pt = [x], Nt = [re("sort-column")], Mt = [re("sort-direction")], jt = [y("tableRevision", "sortTarget", "sortable", "sortColumn", "effectiveSortDirection")], At = [y("authorTable", "isInRowsMode", "clientSort", "sortColumn", "effectiveSortDirection")], kt = [v("click")], Ot = [v("keydown")], Dt = [x], Et = [x], Tt = [b], wt = [b], Ct = [x], St = [x], xt = [x], bt = [v("dblclick")], yt = [x], vt = [x], _t = [x], gt = [x], ht = [x], mt = [x], pt = [v("paste")], ft = [x], dt = [x], ut = [x], lt = [x], ct = [_], st = [b], ot = [y("isReady", "managedTable")], at = [g("attached")], it = [g("attached-top")], rt = [g("attached-bottom")], H) {
524
650
  constructor() {
525
- super(...arguments), u(U, 5, this), b(this, W, u(U, 8, this)), u(U, 11, this), b(this, G, u(U, 12, this, 0)), u(U, 15, this), t(this, "classMirror", new N()), t(this, "slots", new ne(this.domElement)), b(this, K, u(U, 16, this)), u(U, 19, this), b(this, q, u(U, 20, this)), u(U, 23, this), t(this, "headersMadeFocusable", /* @__PURE__ */ new Set()), t(this, "sortedHeader"), t(this, "scroller"), b(this, J, u(U, 24, this, !1)), u(U, 27, this);
651
+ super(...arguments), f(U, 5, this), p(this, W, f(U, 8, this)), f(U, 11, this), p(this, G, f(U, 12, this, 0)), f(U, 15, this), a(this, "classMirror", new Te()), a(this, "slots", new l(this.domElement)), p(this, K, f(U, 16, this, 0)), f(U, 19, this), p(this, q, f(U, 20, this, gn)), f(U, 23, this), p(this, J, f(U, 24, this, vn)), f(U, 27, this), p(this, Y, f(U, 28, this)), f(U, 31, this), p(this, en, f(U, 32, this)), f(U, 35, this), a(this, "headersMadeFocusable", /* @__PURE__ */ new Set()), a(this, "sortedHeader"), p(this, tn, f(U, 36, this)), f(U, 39, this), p(this, nn, f(U, 40, this)), f(U, 43, this), a(this, "scroller"), p(this, rn, f(U, 44, this, !1)), f(U, 47, this);
526
652
  }
527
653
  onMount() {
528
654
  let e = super.onMount();
529
- return O ? (this.decorateStatic(), e) : (this.domElement.addReleaseCallback(() => this.classMirror.detach()), me(() => [this.mirrorTarget, this.rootClass], ([e, t]) => this.classMirror.apply(e, t)), e);
655
+ return k ? (this.decorateStatic(), e) : (this.domElement.addReleaseCallback(() => this.classMirror.detach()), me(() => [this.mirrorTarget, this.rootClass], ([e, t]) => this.classMirror.apply(e, t)), e);
530
656
  }
531
657
  render() {
532
658
  this.registerPageSheets();
533
659
  let e = this;
534
660
  return [
535
- w(S, {
661
+ E(w, {
536
662
  get when() {
537
663
  return e.hasOwnCaption;
538
664
  },
539
665
  get children() {
540
- var t = Me(), n = t.firstChild;
541
- return n._$owner = E(), D(n, () => e.caption), T(() => ({
542
- e: k(yt),
666
+ var t = He(), n = t.firstChild;
667
+ return n._$owner = ve(), O(n, () => e.caption), D(() => ({
668
+ e: A(ln),
543
669
  t: e.partForName("caption")
544
670
  }), ({ e, t: n }, r) => {
545
- C(t, e, r?.e), n !== r?.t && A(t, "part", n);
671
+ T(t, e, r?.e), n !== r?.t && M(t, "part", n);
546
672
  }), t;
547
673
  }
548
674
  }),
549
675
  (() => {
550
- var t = Ne(), n = t.firstChild;
551
- return ge(() => (t) => e.scroller = t, t), n._$owner = E(), D(t, O ? w(S, {
676
+ var t = Ue(), n = t.firstChild;
677
+ return j(() => (t) => e.scroller = t, t), n._$owner = ve(), O(t, k ? E(w, {
552
678
  get when() {
553
679
  return e.isInDataMode;
554
680
  },
555
681
  get children() {
556
682
  return e.staticTable();
557
683
  }
558
- }) : void 0, null), T(() => ({
559
- e: k([e.scrollerClasses, { [vt]: e.isTooWide }]),
560
- t: k(e.isInRowsMode ? { [bt]: String(e.columnCount) } : void 0),
684
+ }) : void 0, null), D(() => ({
685
+ e: A([e.scrollerClasses, { [cn]: e.isTooWide }]),
686
+ t: A(e.isInRowsMode ? { [un]: String(e.columnCount) } : void 0),
561
687
  a: e.partForName("scroller"),
562
688
  o: e.isScrollRegion ? 0 : void 0,
563
689
  i: e.isScrollRegion ? "region" : void 0,
564
690
  n: e.isScrollRegion ? e.regionLabel : void 0
565
691
  }), ({ e, t: n, a: r, o: i, i: a, n: o }, s) => {
566
- C(t, e, s?.e), ve(t, n, s?.t), r !== s?.a && A(t, "part", r), i !== s?.o && A(t, "tabindex", i), a !== s?.i && A(t, "role", a), o !== s?.n && A(t, "aria-label", o);
692
+ T(t, e, s?.e), Ce(t, n, s?.t), r !== s?.a && M(t, "part", r), i !== s?.o && M(t, "tabindex", i), a !== s?.i && M(t, "role", a), o !== s?.n && M(t, "aria-label", o);
567
693
  }), t;
568
694
  })(),
569
- O ? void 0 : w(he, {
695
+ k ? void 0 : E(he, {
570
696
  get mount() {
571
697
  return e.domElement;
572
698
  },
573
699
  get children() {
574
- return w(S, {
700
+ return E(w, {
575
701
  get when() {
576
702
  return e.isInDataMode;
577
703
  },
@@ -584,10 +710,10 @@ var I = F, L = "attach", R = "scrolling", be = "overflowing", xe = [
584
710
  ];
585
711
  }
586
712
  registerPageSheets() {
587
- if (!O) for (let [e, t] of Object.entries(this.elementSetup.styleSheets)) l.styles.register(e, t, { page: !0 });
713
+ if (!k) for (let [e, t] of Object.entries(this.elementSetup.styleSheets)) u.styles.register(e, t, { page: !0 });
588
714
  }
589
715
  get extraClass() {
590
- return this.stackBy ? `${_t}${this.stackBy}` : void 0;
716
+ return this.stackBy ? `${sn}${this.stackBy}` : void 0;
591
717
  }
592
718
  get authorTable() {
593
719
  return this.scanAuthorTable();
@@ -602,11 +728,11 @@ var I = F, L = "attach", R = "scrolling", be = "overflowing", xe = [
602
728
  return this.mirrorTarget;
603
729
  }
604
730
  scanAuthorTable() {
605
- for (let e of this.domElement.children) if (e.localName === "table" && !gt.has(e)) return e;
731
+ for (let e of this.domElement.children) if (e.localName === "table" && !on.has(e)) return e;
606
732
  }
607
733
  onManagedTableChanged(e) {
608
734
  if (!e) return;
609
- let t = new MutationObserver(() => this.tableRevision++), n = this.isInRowsMode ? ["aria-label", ...xt] : ["aria-label"];
735
+ let t = new MutationObserver(() => this.tableRevision++), n = this.isInRowsMode ? ["aria-label", ...dn] : ["aria-label"];
610
736
  return t.observe(e, {
611
737
  childList: !0,
612
738
  subtree: !0,
@@ -615,20 +741,20 @@ var I = F, L = "attach", R = "scrolling", be = "overflowing", xe = [
615
741
  }), () => t.disconnect();
616
742
  }
617
743
  decorateStatic() {
618
- let t = this.authorTable;
619
- if (!t) return;
620
- t.setAttribute("class", N.mirrored(t.getAttribute("class"), this.rootClass)), t.setAttribute(e, this.vocabulary.noun);
621
- let n = this.sortColumn, r = this.effectiveSortDirection;
622
- this.sortable && n !== void 0 && r && B.headerAt(t, n)?.setAttribute("aria-sort", r);
744
+ let e = this.authorTable;
745
+ if (!e) return;
746
+ e.setAttribute("class", Te.mirrored(e.getAttribute("class"), this.rootClass)), e.setAttribute(ie, this.vocabulary.noun);
747
+ let t = this.sortColumn, n = this.effectiveSortDirection;
748
+ this.sortable && t !== void 0 && n && F.headerAt(e, t)?.setAttribute("aria-sort", n);
623
749
  }
624
750
  get rowElements() {
625
- return z.rows(this.domElement);
751
+ return P.rows(this.domElement);
626
752
  }
627
753
  get isInRowsMode() {
628
754
  return this.rowElements.length > 0 && !this.authorTable && this.dataRows === void 0;
629
755
  }
630
756
  get columnCount() {
631
- return this.tableRevision, z.columnCount(this.domElement);
757
+ return this.tableRevision, P.columnCount(this.domElement);
632
758
  }
633
759
  get ariaRole() {
634
760
  return this.isInRowsMode ? "table" : void 0;
@@ -646,7 +772,8 @@ var I = F, L = "attach", R = "scrolling", be = "overflowing", xe = [
646
772
  }
647
773
  get dataRows() {
648
774
  let e = this.rows;
649
- return Array.isArray(e) ? e : void 0;
775
+ if (Array.isArray(e)) return e;
776
+ if (e && typeof e == "object" && Symbol.iterator in e) return Array.from(e);
650
777
  }
651
778
  get isInDataMode() {
652
779
  return this.dataRows !== void 0 && !this.authorTable;
@@ -654,83 +781,206 @@ var I = F, L = "attach", R = "scrolling", be = "overflowing", xe = [
654
781
  get dataColumns() {
655
782
  let e = this.columnDefs;
656
783
  if (Array.isArray(e)) return e.filter((e) => typeof e?.key == "string");
657
- let t = this.dataRows?.[0];
658
- return t ? Object.keys(t).map((e) => ({ key: e })) : [];
784
+ let t = this.rows?.tableColumns;
785
+ return Array.isArray(t) ? t : I.columnsOf(this.dataRows ?? []);
659
786
  }
660
787
  get sortedRows() {
661
788
  let e = this.dataRows ?? [], t = this.sortColumn, n = t === void 0 ? void 0 : this.dataColumns[t];
662
789
  if (!n || n.sortable === !1) return e;
663
790
  let r = this.effectiveSortDirection === "descending" ? -1 : 1;
664
- return [...e].sort((e, t) => B.compare(e[n.key], t[n.key], r));
791
+ return [...e].sort((e, t) => F.compare(e[n.key], t[n.key], r));
665
792
  }
666
793
  generatedTable() {
667
794
  let e = this;
668
- var t = Pe();
669
- return ge(() => (t) => e.adoptDataTable(t), t), D(t, () => e.headAndBody()), t;
795
+ var t = We();
796
+ return j(() => (t) => e.adoptDataTable(t), t), O(t, () => e.headAndBody()), D(() => ({
797
+ e: e.isEditable ? "grid" : void 0,
798
+ t: e.isWindowed ? e.sortedRows.length + 1 : void 0
799
+ }), ({ e, t: n }, r) => {
800
+ e !== r?.e && M(t, "role", e), n !== r?.t && M(t, "aria-rowcount", n);
801
+ }), t;
670
802
  }
671
803
  staticTable() {
672
804
  let e = this;
673
- var t = Pe();
674
- return D(t, () => e.headAndBody(e.effectiveSortDirection)), T(() => k(e.rootClass), (e, n) => {
675
- C(t, e, n);
805
+ var t = We();
806
+ return O(t, () => e.headAndBody(e.effectiveSortDirection)), D(() => A(e.rootClass), (e, n) => {
807
+ T(t, e, n);
676
808
  }), t;
677
809
  }
678
- headAndBody(e) {
679
- let t = e && this.sortable ? this.sortColumn : void 0, n = this;
810
+ headAndBody(t) {
811
+ let n = t && this.sortable ? this.sortColumn : void 0, r = this;
680
812
  return [(() => {
681
- var r = Fe(), i = r.firstChild;
682
- return D(i, w(x, {
813
+ var e = Ge(), i = e.firstChild;
814
+ return O(i, E(C, {
683
815
  get each() {
684
- return n.dataColumns;
816
+ return r.dataColumns;
685
817
  },
686
- children: (r, i) => n.columnHeader(r, i() === t ? e : void 0)
687
- })), r;
818
+ children: (e, i) => r.columnHeader(e, () => i() === n ? t : void 0)
819
+ })), e;
688
820
  })(), (() => {
689
- var e = Ie();
690
- return D(e, w(x, {
691
- get each() {
692
- return n.sortedRows;
821
+ var t = Ke(), n = t.firstChild, i = n.nextSibling, a = i.nextSibling;
822
+ return O(t, () => r.spacer("above"), n), O(t, E(w, {
823
+ get when() {
824
+ return r.isEditable;
693
825
  },
694
- children: (e) => (() => {
695
- var t = Le();
696
- return D(t, w(x, {
826
+ get fallback() {
827
+ return E(C, {
697
828
  get each() {
698
- return n.dataColumns;
829
+ return r.drawnRows;
699
830
  },
700
- children: (t) => (() => {
701
- var n = Re();
702
- return D(n, () => B.text(e[t.key])), T(() => k(I.cell(t) || void 0), (e, t) => {
703
- C(n, e, t);
704
- }), n;
831
+ children: (e) => (() => {
832
+ var t = V();
833
+ return O(t, E(C, {
834
+ get each() {
835
+ return r.dataColumns;
836
+ },
837
+ children: (t) => (() => {
838
+ var n = qe();
839
+ return O(n, () => F.text(e[t.key])), D(() => A(z.cell(t) || void 0), (e, t) => {
840
+ T(n, e, t);
841
+ }), n;
842
+ })()
843
+ })), t;
705
844
  })()
706
- })), t;
707
- })()
708
- })), e;
845
+ });
846
+ },
847
+ get children() {
848
+ return [
849
+ E(C, {
850
+ get each() {
851
+ return r.drawnRows;
852
+ },
853
+ children: (t, n) => (() => {
854
+ var i = V();
855
+ return O(i, E(C, {
856
+ get each() {
857
+ return r.dataColumns;
858
+ },
859
+ children: (i, a) => r.editableCell({
860
+ row: t,
861
+ rowIndex: /* @__PURE__ */ e(() => r.drawnFrom + n(), "rowIndex"),
862
+ column: i,
863
+ columnIndex: a
864
+ })
865
+ })), D(() => r.isWindowed ? r.drawnFrom + n() + 2 : void 0, (e) => {
866
+ M(i, "aria-rowindex", e);
867
+ }), i;
868
+ })()
869
+ }),
870
+ ye(() => r.spacer("below")),
871
+ (() => {
872
+ var t = V();
873
+ return O(t, E(C, {
874
+ get each() {
875
+ return r.dataColumns;
876
+ },
877
+ children: (t, n) => r.editableCell({
878
+ row: void 0,
879
+ rowIndex: /* @__PURE__ */ e(() => r.sortedRows.length, "rowIndex"),
880
+ column: t,
881
+ columnIndex: n
882
+ })
883
+ })), D(() => ({
884
+ e: A(pn),
885
+ t: r.translationForKey("new-row")
886
+ }), ({ e, t: n }, r) => {
887
+ T(t, e, r?.e), n !== r?.t && M(t, "aria-label", n);
888
+ }), t;
889
+ })()
890
+ ];
891
+ }
892
+ }), i), O(t, E(w, {
893
+ get when() {
894
+ return !r.isEditable;
895
+ },
896
+ get children() {
897
+ return r.spacer("below");
898
+ }
899
+ }), a), t;
709
900
  })()];
710
901
  }
902
+ get isWindowed() {
903
+ return !k && this.isInDataMode && this.sortedRows.length > hn;
904
+ }
905
+ get drawnFrom() {
906
+ return this.isWindowed ? Math.min(this.windowStart, this.sortedRows.length) : 0;
907
+ }
908
+ get drawnRows() {
909
+ let e = this.sortedRows;
910
+ return this.isWindowed ? e.slice(this.drawnFrom, this.drawnFrom + this.windowSize) : e;
911
+ }
912
+ spacer(t) {
913
+ let n = /* @__PURE__ */ e(() => {
914
+ let e = this.sortedRows.length;
915
+ return t === "above" ? this.drawnFrom : Math.max(0, e - this.drawnFrom - this.drawnRows.length);
916
+ }, "rows"), r = this;
917
+ return E(w, {
918
+ get when() {
919
+ return r.isWindowed;
920
+ },
921
+ get children() {
922
+ var e = Je(), t = e.firstChild;
923
+ return D(() => ({
924
+ e: A(mn),
925
+ t: Math.max(1, r.dataColumns.length),
926
+ a: `${n() * r.rowHeight}px`
927
+ }), ({ e: n, t: r, a: i }, a) => {
928
+ T(e, n, a?.e), r !== a?.t && M(t, "colspan", r), i !== a?.a && xe(t, "height", i);
929
+ }), e;
930
+ }
931
+ });
932
+ }
933
+ onWindowed(t, n) {
934
+ if (!t || !n) return;
935
+ let r = /* @__PURE__ */ e(() => ne(() => this.measureWindow()), "remeasure");
936
+ return document.addEventListener("scroll", r, {
937
+ capture: !0,
938
+ passive: !0
939
+ }), window.addEventListener("resize", r), r(), () => {
940
+ document.removeEventListener("scroll", r, { capture: !0 }), window.removeEventListener("resize", r);
941
+ };
942
+ }
943
+ measureWindow() {
944
+ let e = this.dataTable?.tBodies[0];
945
+ if (!e || !this.isWindowed) return;
946
+ let t = e.rows[1];
947
+ t && !t.classList.contains(mn) && t.offsetHeight && (this.rowHeight = t.offsetHeight);
948
+ let n = this.scrollerScrolls ? this.scroller?.getBoundingClientRect() : void 0, r = Math.max(0, n?.top ?? 0), i = Math.min(window.innerHeight, n?.bottom ?? window.innerHeight), a = Math.floor((r - e.getBoundingClientRect().top) / this.rowHeight), o = Math.ceil(Math.max(0, i - r) / this.rowHeight), s = Math.max(0, Math.min(a - _n, this.sortedRows.length - 1)), c = Math.max(o + 2 * _n, gn);
949
+ s !== this.windowStart && (this.windowStart = s), c !== this.windowSize && (this.windowSize = c);
950
+ }
951
+ drawRow(e) {
952
+ if (!this.isWindowed || e >= this.sortedRows.length) return;
953
+ let t = this.drawnFrom;
954
+ e >= t && e < t + this.windowSize || (this.windowStart = Math.max(0, e - _n));
955
+ }
956
+ get rowsBeforeData() {
957
+ return +!!this.isWindowed;
958
+ }
711
959
  adoptDataTable(e) {
712
- gt.add(e), ae(() => this.dataTable = e);
960
+ on.add(e), te(() => this.dataTable = e);
713
961
  }
714
962
  columnHeader(e, t) {
715
963
  let n = e.header ?? e.key, r = e.sortable === !1, i = this;
716
- var a = Be();
717
- return _e(a, [{
964
+ var a = Xe();
965
+ return Se(a, [{
718
966
  scope: "col",
719
- "aria-sort": t,
967
+ get "aria-sort"() {
968
+ return t();
969
+ },
720
970
  get class() {
721
- return I.cell(e) || void 0;
971
+ return z.cell(e) || void 0;
722
972
  }
723
973
  }, () => ({
724
974
  [pe]: e.key,
725
- [y.attribute]: r ? y.value : void 0
726
- })], !0), D(a, w(S, {
975
+ [h.attribute]: r ? h.value : void 0
976
+ })], !0), O(a, E(w, {
727
977
  get when() {
728
978
  return i.sortable && !r;
729
979
  },
730
980
  fallback: n,
731
981
  get children() {
732
- var e = ze();
733
- return D(e, n), e;
982
+ var e = Ye();
983
+ return O(e, n), e;
734
984
  }
735
985
  })), a;
736
986
  }
@@ -746,49 +996,330 @@ var I = F, L = "attach", R = "scrolling", be = "overflowing", xe = [
746
996
  });
747
997
  }
748
998
  decorateHeaders({ table: e, isSortable: t, column: n, direction: r }) {
749
- let i = e && t ? B.headers(e) : [], a = new Set(i.filter((e) => B.isSortable(e) && !e.querySelector("button")));
999
+ let i = e && t ? F.headers(e) : [], a = new Set(i.filter((e) => F.isSortable(e) && !e.querySelector("button")));
750
1000
  for (let e of this.headersMadeFocusable) a.has(e) || (e.removeAttribute("tabindex"), this.headersMadeFocusable.delete(e));
751
1001
  for (let e of a) e.hasAttribute("tabindex") || (e.setAttribute("tabindex", "0"), this.headersMadeFocusable.add(e));
752
- let o = e && t && n !== void 0 ? B.headerAt(e, n) : void 0;
1002
+ let o = e && t && n !== void 0 ? F.headerAt(e, n) : void 0;
753
1003
  this.sortedHeader && this.sortedHeader !== o && this.sortedHeader.removeAttribute("aria-sort");
754
1004
  for (let e of i) e !== o && e.removeAttribute("aria-sort");
755
1005
  o && r && o.setAttribute("aria-sort", r), this.sortedHeader = o;
756
1006
  }
757
1007
  onClientSortChanged(e, t, n, r, i) {
758
1008
  let a = e ?? (t ? this.domElement : void 0);
759
- n && a && r !== void 0 && i && B.sortRows(a, r, i);
1009
+ n && a && r !== void 0 && i && F.sortRows(a, r, i);
760
1010
  }
761
1011
  onClick(e) {
762
1012
  let t = this.sortableHeader(e);
763
- t && this.requestSort(t, e);
1013
+ t ? this.requestSort(t, e) : this.clickedCell(e);
764
1014
  }
765
1015
  onKeyDown(e) {
766
- if (e.key !== i.enter && e.key !== i.space) return;
1016
+ if (this.isEditable && this.editingKey(e) || e.key !== r.enter && e.key !== r.space) return;
767
1017
  let t = this.sortableHeader(e);
768
1018
  t && e.target === t && (e.preventDefault(), this.requestSort(t, e));
769
1019
  }
770
1020
  sortableHeader(e) {
771
1021
  let t = this.sortTarget;
772
1022
  if (!t || !this.sortable) return;
773
- let n = B.header(t, e.target);
774
- return n && B.isSortable(n) ? n : void 0;
1023
+ let n = F.header(t, e.target);
1024
+ return n && F.isSortable(n) ? n : void 0;
775
1025
  }
776
1026
  requestSort(e, t) {
777
1027
  let n = this.sortTarget;
778
1028
  if (!n) return;
779
- let r = B.column(n, e), i = r === this.sortColumn && this.effectiveSortDirection === "ascending" ? "descending" : "ascending", a = {
1029
+ let r = F.column(n, e), i = r === this.sortColumn && this.effectiveSortDirection === "ascending" ? "descending" : "ascending", a = {
780
1030
  column: r,
781
- key: B.key(e),
1031
+ key: F.key(e),
782
1032
  direction: i,
783
1033
  originalEvent: t
784
1034
  };
785
1035
  this.requestChange("sortDirection", i, () => this.requestChange("sortColumn", r, () => this.send("ui-sorting", a)));
786
1036
  }
1037
+ get isEditable() {
1038
+ return !!this.editable && this.isInDataMode;
1039
+ }
1040
+ get columnTypes() {
1041
+ let e = this.dataRows ?? [];
1042
+ return this.dataColumns.map((t) => I.typeOf(t, e));
1043
+ }
1044
+ cellAt(e) {
1045
+ let t = this.dataTable?.tBodies[0];
1046
+ if (!t) return;
1047
+ if (e.row === this.sortedRows.length && this.isEditable) return t.rows[t.rows.length - 1]?.cells[e.column];
1048
+ let n = e.row - this.drawnFrom;
1049
+ if (!(n < 0 || n >= this.drawnRows.length)) return t.rows[this.rowsBeforeData + n]?.cells[e.column];
1050
+ }
1051
+ placeOf(e) {
1052
+ let t = e?.closest?.("td"), n = this.dataTable;
1053
+ if (!t || !n || t.closest("table") !== n || t.parentElement?.parentElement !== n.tBodies[0]) return;
1054
+ let r = t.parentElement;
1055
+ if (!r.classList.contains(mn)) return r.classList.contains(pn) ? {
1056
+ row: this.sortedRows.length,
1057
+ column: t.cellIndex
1058
+ } : {
1059
+ row: this.drawnFrom + r.sectionRowIndex - this.rowsBeforeData,
1060
+ column: t.cellIndex
1061
+ };
1062
+ }
1063
+ editableCell({ row: t, rowIndex: n, column: r, columnIndex: i }) {
1064
+ let a = /* @__PURE__ */ e(() => this.columnTypes[i()] ?? "text", "type"), o = /* @__PURE__ */ e(() => {
1065
+ let e = this.cursor;
1066
+ return e ? e.row === n() && e.column === i() : n() === 0 && i() === 0;
1067
+ }, "isCursor"), s = /* @__PURE__ */ e(() => o() && this.editing !== void 0, "isEditing"), c = /* @__PURE__ */ e(() => t?.[r.key], "value"), l = this;
1068
+ var u = Qe(), d = u.firstChild, f = d.nextSibling;
1069
+ return O(u, E(w, {
1070
+ get when() {
1071
+ return s();
1072
+ },
1073
+ get fallback() {
1074
+ return E(w, {
1075
+ get when() {
1076
+ return a() === "yes-no";
1077
+ },
1078
+ get fallback() {
1079
+ return ye(() => I.textFor(r, a(), c()));
1080
+ },
1081
+ get children() {
1082
+ var e = $e();
1083
+ return e._$$click = (e) => {
1084
+ e.preventDefault(), l.toggle({
1085
+ row: n(),
1086
+ column: i()
1087
+ }, e);
1088
+ }, D(() => ({
1089
+ e: A(bn),
1090
+ t: !!c(),
1091
+ a: !!r.readOnly,
1092
+ o: r.header ?? r.key
1093
+ }), ({ e: t, t: n, a: r, o: i }, a) => {
1094
+ T(e, t, a?.e), e.checked = n, r !== a?.a && M(e, "disabled", r), i !== a?.o && M(e, "aria-label", i);
1095
+ }), e;
1096
+ }
1097
+ });
1098
+ },
1099
+ get children() {
1100
+ return l.editor(r, a());
1101
+ }
1102
+ }), d), O(u, E(w, {
1103
+ get when() {
1104
+ return t && i() === l.dataColumns.length - 1;
1105
+ },
1106
+ get children() {
1107
+ var e = Ze();
1108
+ return e._$$click = (e) => l.removeRow(n(), e), D(() => ({
1109
+ e: A(xn),
1110
+ t: l.translationForKey("delete-row")
1111
+ }), ({ e: t, t: n }, r) => {
1112
+ T(e, t, r?.e), n !== r?.t && M(e, "aria-label", n);
1113
+ }), e;
1114
+ }
1115
+ }), f), D(() => ({
1116
+ e: A([z.cell(r) || void 0, { [yn]: o() && !!l.cursor }]),
1117
+ t: o() ? 0 : -1,
1118
+ a: r.readOnly ? "true" : void 0
1119
+ }), ({ e, t, a: n }, r) => {
1120
+ T(u, e, r?.e), t !== r?.t && M(u, "tabindex", t), n !== r?.a && M(u, "aria-readonly", n);
1121
+ }), u;
1122
+ }
1123
+ editor(t, n) {
1124
+ let r = /* @__PURE__ */ e((e) => te(() => {
1125
+ e.focus(), e instanceof HTMLInputElement && e.type === "text" && e.setSelectionRange(9999, 9999);
1126
+ }), "focus"), i = /* @__PURE__ */ e((e) => {
1127
+ let t = this.editing;
1128
+ t && (this.editing = {
1129
+ ...t,
1130
+ draft: e.target.value
1131
+ });
1132
+ }, "draft");
1133
+ if (n === "choice" || n === "link") {
1134
+ let e = this;
1135
+ var a = et(), o = a.firstChild;
1136
+ return a._$$focusout = () => e.commitEdit(), ge(a, "change", i), j(() => r, a), O(a, E(C, {
1137
+ get each() {
1138
+ return t.choices ?? [];
1139
+ },
1140
+ children: (t, n) => (() => {
1141
+ var r = tt();
1142
+ return O(r, () => t.text ?? F.text(t.value)), D(() => ({
1143
+ e: String(n()),
1144
+ t: e.editing?.draft === String(n())
1145
+ }), ({ e, t }, n) => {
1146
+ r.value = e, r.selected = t;
1147
+ }), r;
1148
+ })()
1149
+ }), null), D(() => ({
1150
+ e: A(Z),
1151
+ t: t.header ?? t.key,
1152
+ a: e.editing?.draft === ""
1153
+ }), ({ e, t, a: n }, r) => {
1154
+ T(a, e, r?.e), t !== r?.t && M(a, "aria-label", t), o.selected = n;
1155
+ }), a;
1156
+ }
1157
+ let s = this;
1158
+ var c = nt();
1159
+ return c._$$focusout = () => s.commitEdit(), ge(c, "input", i, !0), M(c, "type", n === "number" ? "number" : n === "date" ? "date" : "text"), j(() => r, c), D(() => ({
1160
+ e: A(Z),
1161
+ t: s.editing?.draft ?? "",
1162
+ a: t.header ?? t.key
1163
+ }), ({ e, t, a: n }, r) => {
1164
+ T(c, e, r?.e), be(c, "value", t), n !== r?.a && M(c, "aria-label", n);
1165
+ }), c;
1166
+ }
1167
+ clickedCell(e) {
1168
+ if (!this.isEditable) return;
1169
+ let t = this.placeOf(e.target);
1170
+ t && !e.target.closest(`.${Z}`) && (this.editing && this.commitEdit(), this.cursor = t);
1171
+ }
1172
+ onDoubleClick(e) {
1173
+ if (!this.isEditable) return;
1174
+ let t = this.placeOf(e.target);
1175
+ t && this.startEdit(t);
1176
+ }
1177
+ editingKey(t) {
1178
+ let n = t.target;
1179
+ if (n.closest?.(`.${Z}`)) return this.editorKey(t);
1180
+ let i = this.placeOf(n);
1181
+ if (!i) return !1;
1182
+ let a = this.columnTypes[i.column] ?? "text", o = t.metaKey || t.ctrlKey, s = fn[t.key], c = /* @__PURE__ */ e(() => (t.preventDefault(), !0), "take");
1183
+ if (s) return this.moveCursor(i, o ? {
1184
+ rows: s.rows * 9999,
1185
+ columns: s.columns * 9999
1186
+ } : s), c();
1187
+ if (t.key === r.tab) return this.moveCursor(i, {
1188
+ rows: 0,
1189
+ columns: t.shiftKey ? -1 : 1
1190
+ }, "wrap"), c();
1191
+ if (t.key === r.home || t.key === r.end) {
1192
+ let e = this.dataColumns.length - 1, n = t.key === r.home ? 0 : e;
1193
+ return this.setCursor({
1194
+ row: o ? t.key === r.home ? 0 : this.sortedRows.length : i.row,
1195
+ column: n
1196
+ }), c();
1197
+ }
1198
+ return a === "yes-no" && (t.key === r.enter || t.key === r.space) ? (this.toggle(i, t), c()) : t.key === r.enter || t.key === "F2" ? (this.startEdit(i), c()) : t.key === r.delete || t.key === r.backspace ? (o ? this.removeRow(i.row, t) : this.clearCell(i, t), c()) : t.key.length === 1 && !o && !t.altKey && a !== "yes-no" && (this.startEdit(i, t.key), c());
1199
+ }
1200
+ editorKey(e) {
1201
+ if (!this.editing?.at) return !1;
1202
+ if (e.key === r.escape) this.editing = void 0, this.focusCursor();
1203
+ else if (e.key === r.enter) this.commitEdit(e, {
1204
+ rows: e.shiftKey ? -1 : 1,
1205
+ columns: 0
1206
+ });
1207
+ else if (e.key === r.tab) this.commitEdit(e, {
1208
+ rows: 0,
1209
+ columns: e.shiftKey ? -1 : 1
1210
+ }, "wrap");
1211
+ else return !1;
1212
+ return e.preventDefault(), e.stopPropagation(), !0;
1213
+ }
1214
+ startEdit(e, t) {
1215
+ let n = this.dataColumns[e.column];
1216
+ if (!n || n.readOnly) return;
1217
+ let r = this.columnTypes[e.column] ?? "text";
1218
+ if (r === "yes-no") return;
1219
+ let i = t ?? I.draftFor(n, r, this.sortedRows[e.row]?.[n.key]);
1220
+ this.cursor = e, this.editing = {
1221
+ at: e,
1222
+ draft: i
1223
+ };
1224
+ }
1225
+ commitEdit(e, t, n) {
1226
+ let r = this.editing;
1227
+ if (!r) return;
1228
+ this.editing = void 0;
1229
+ let { at: i, draft: a } = r, o = this.dataColumns[i.column];
1230
+ if (o) {
1231
+ let t = this.columnTypes[i.column] ?? "text", n = this.sortedRows[i.row], r = n?.[o.key], s = I.valueFrom(o, t, a, r);
1232
+ n && !I.isSame(s, r) ? this.sendEdits([{
1233
+ kind: "set",
1234
+ row: n,
1235
+ key: o.key,
1236
+ value: s,
1237
+ was: r
1238
+ }], e) : !n && !I.isSame(s, void 0) && this.sendEdits([{
1239
+ kind: "add",
1240
+ values: { [o.key]: s }
1241
+ }], e);
1242
+ }
1243
+ t ? this.moveCursor(i, t, n) : this.focusCursor();
1244
+ }
1245
+ toggle(e, t) {
1246
+ let n = this.dataColumns[e.column];
1247
+ if (this.setCursor(e), !n || n.readOnly) return;
1248
+ let r = this.sortedRows[e.row];
1249
+ r ? this.sendEdits([{
1250
+ kind: "set",
1251
+ row: r,
1252
+ key: n.key,
1253
+ value: !r[n.key],
1254
+ was: r[n.key]
1255
+ }], t) : this.sendEdits([{
1256
+ kind: "add",
1257
+ values: { [n.key]: !0 }
1258
+ }], t);
1259
+ }
1260
+ clearCell(e, t) {
1261
+ let n = this.dataColumns[e.column], r = this.sortedRows[e.row];
1262
+ if (!n || n.readOnly || !r) return;
1263
+ let i = this.columnTypes[e.column] !== "yes-no" && void 0;
1264
+ I.isSame(i, r[n.key]) || this.sendEdits([{
1265
+ kind: "set",
1266
+ row: r,
1267
+ key: n.key,
1268
+ value: i,
1269
+ was: r[n.key]
1270
+ }], t);
1271
+ }
1272
+ removeRow(e, t) {
1273
+ let n = this.sortedRows[e];
1274
+ n && this.sendEdits([{
1275
+ kind: "remove",
1276
+ row: n
1277
+ }], t);
1278
+ }
1279
+ onPaste(e) {
1280
+ if (!this.isEditable || this.editing) return;
1281
+ let t = this.placeOf(e.target), n = e.clipboardData?.getData("text/plain");
1282
+ if (!t || !n) return;
1283
+ e.preventDefault();
1284
+ let r = I.pasteEdits({
1285
+ rows: this.sortedRows,
1286
+ columns: this.dataColumns,
1287
+ types: this.columnTypes,
1288
+ row: t.row,
1289
+ column: t.column,
1290
+ cells: I.cellsOf(n)
1291
+ });
1292
+ this.sendEdits(r, e);
1293
+ }
1294
+ sendEdits(e, t) {
1295
+ if (!e.length) return;
1296
+ let n = {
1297
+ edits: e,
1298
+ originalEvent: t
1299
+ };
1300
+ this.send("ui-editing", n) && (this.rows = I.applied(this.dataRows ?? [], e));
1301
+ }
1302
+ moveCursor(e, t, n) {
1303
+ let r = this.sortedRows.length, i = this.dataColumns.length - 1, a = e.row + t.rows, o = e.column + t.columns;
1304
+ n && o > i && a < r && ([a, o] = [a + 1, 0]), n && o < 0 && a > 0 && ([a, o] = [a - 1, i]), this.setCursor({
1305
+ row: clamp(a, 0, r),
1306
+ column: clamp(o, 0, i)
1307
+ });
1308
+ }
1309
+ setCursor(e) {
1310
+ this.drawRow(e.row), this.cursor = e, this.focusCursor();
1311
+ }
1312
+ focusCursor() {
1313
+ te(() => {
1314
+ let e = this.cursor;
1315
+ e && this.cellAt(e)?.focus();
1316
+ });
1317
+ }
787
1318
  get scrollerClasses() {
788
- return I.scroller((e) => this.scrollerValue(e));
1319
+ return z.scroller((e) => this.scrollerValue(e));
789
1320
  }
790
1321
  get scrollerScrolls() {
791
- return I.scrolls((e) => this.scrollerValue(e));
1322
+ return z.scrolls((e) => this.scrollerValue(e));
792
1323
  }
793
1324
  get isScrollRegion() {
794
1325
  return this.scrollerScrolls || this.isTooWide;
@@ -809,28 +1340,59 @@ var I = F, L = "attach", R = "scrolling", be = "overflowing", xe = [
809
1340
  return this.attributes["aria-label"] ?? (t || e?.ariaLabel || this.translationForKey("label"));
810
1341
  }
811
1342
  get isAttached() {
812
- return !!this.scrollerValue(L);
1343
+ return !!this.scrollerValue(B);
813
1344
  }
814
1345
  get isAttachedTop() {
815
- return this.scrollerValue(L) === "top";
1346
+ return this.scrollerValue(B) === "top";
816
1347
  }
817
1348
  get isAttachedBottom() {
818
- return this.scrollerValue(L) === fe;
1349
+ return this.scrollerValue(B) === de;
819
1350
  }
820
1351
  scrollerValue(e) {
821
1352
  return this.classValue(e);
822
1353
  }
823
1354
  };
824
- U = s(H), W = /* @__PURE__ */ new WeakMap(), G = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap(), q = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), a(U, 2, "authorTable", ft, Y), a(U, 4, "dataTable", dt, Y, W), a(U, 4, "tableRevision", ut, Y, G), a(U, 1, "onManagedTableChanged", lt, Y), a(U, 1, "decorateStatic", ct, Y), a(U, 2, "rowElements", st, Y), a(U, 2, "isInRowsMode", ot, Y), a(U, 2, "ariaRole", at, Y), a(U, 2, "ariaName", it, Y), a(U, 2, "hasOwnCaption", rt, Y), a(U, 1, "onCaptionChanged", nt, Y), a(U, 2, "dataColumns", tt, Y), a(U, 2, "sortedRows", et, Y), a(U, 4, "sortColumn", $e, Y, K), a(U, 4, "sortDirection", Qe, Y, q), a(U, 1, "onSortChanged", Ze, Y), a(U, 1, "onClientSortChanged", Xe, Y), a(U, 1, "onClick", Ye, Y), a(U, 1, "onKeyDown", Je, Y), a(U, 1, "sortableHeader", qe, Y), a(U, 1, "requestSort", Ke, Y), a(U, 2, "scrollerClasses", Ge, Y), a(U, 4, "isTooWide", We, Y, J), a(U, 1, "onReadyToMeasure", Ue, Y), a(U, 2, "isAttached", He, Y), a(U, 2, "isAttachedTop", Ve, Y), a(U, 2, "isAttachedBottom", V, Y), a(U, 13, "vocabulary", mt, Y), a(U, 13, "elementSetup", pt, Y), o(U, Y), c(Y, "UITable"), t(Y, "vocabulary", u(U, 28, Y, M)), u(U, 31, Y), t(Y, "elementSetup", u(U, 32, Y, {
825
- styleSheets: { table: je },
1355
+ U = S(H), W = /* @__PURE__ */ new WeakMap(), G = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap(), q = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), en = /* @__PURE__ */ new WeakMap(), tn = /* @__PURE__ */ new WeakMap(), nn = /* @__PURE__ */ new WeakMap(), rn = /* @__PURE__ */ new WeakMap(), o(U, 2, "authorTable", Zt, X), o(U, 4, "dataTable", Xt, X, W), o(U, 4, "tableRevision", Yt, X, G), o(U, 1, "onManagedTableChanged", Jt, X), o(U, 1, "decorateStatic", qt, X), o(U, 2, "rowElements", Kt, X), o(U, 2, "isInRowsMode", Gt, X), o(U, 2, "ariaRole", Wt, X), o(U, 2, "ariaName", Ut, X), o(U, 2, "hasOwnCaption", Ht, X), o(U, 1, "onCaptionChanged", Vt, X), o(U, 2, "dataColumns", Bt, X), o(U, 4, "windowStart", zt, X, K), o(U, 4, "windowSize", Rt, X, q), o(U, 4, "rowHeight", Lt, X, J), o(U, 1, "onWindowed", It, X), o(U, 1, "measureWindow", Ft, X), o(U, 1, "drawRow", Pt, X), o(U, 4, "sortColumn", Nt, X, Y), o(U, 4, "sortDirection", Mt, X, en), o(U, 1, "onSortChanged", jt, X), o(U, 1, "onClientSortChanged", At, X), o(U, 1, "onClick", kt, X), o(U, 1, "onKeyDown", Ot, X), o(U, 1, "sortableHeader", Dt, X), o(U, 1, "requestSort", Et, X), o(U, 4, "cursor", Tt, X, tn), o(U, 4, "editing", wt, X, nn), o(U, 1, "cellAt", Ct, X), o(U, 1, "placeOf", St, X), o(U, 1, "clickedCell", xt, X), o(U, 1, "onDoubleClick", bt, X), o(U, 1, "editingKey", yt, X), o(U, 1, "startEdit", vt, X), o(U, 1, "commitEdit", _t, X), o(U, 1, "toggle", gt, X), o(U, 1, "clearCell", ht, X), o(U, 1, "removeRow", mt, X), o(U, 1, "onPaste", pt, X), o(U, 1, "sendEdits", ft, X), o(U, 1, "moveCursor", dt, X), o(U, 1, "setCursor", ut, X), o(U, 1, "focusCursor", lt, X), o(U, 2, "scrollerClasses", ct, X), o(U, 4, "isTooWide", st, X, rn), o(U, 1, "onReadyToMeasure", ot, X), o(U, 2, "isAttached", at, X), o(U, 2, "isAttachedTop", it, X), o(U, 2, "isAttachedBottom", rt, X), o(U, 13, "vocabulary", $t, X), o(U, 13, "elementSetup", Qt, X), c(U, X), e(X, "UITable"), a(X, "vocabulary", f(U, 48, X, we)), f(U, 51, X), a(X, "elementSetup", f(U, 52, X, {
1356
+ styleSheets: { table: Ve },
826
1357
  delegatesFocus: !1
827
- })), u(U, 35, Y);
828
- var ht = Y, gt = /* @__PURE__ */ new WeakSet(), _t = "stack-by-", vt = "sideways", yt = "caption", bt = "--_table-columns", xt = [
1358
+ })), f(U, 55, X);
1359
+ var an = X, on = /* @__PURE__ */ new WeakSet(), sn = "stack-by-", cn = "sideways", ln = "caption", un = "--_table-columns", dn = [
829
1360
  "header",
830
1361
  "footer",
831
1362
  "span"
832
- ], St = {
1363
+ ], fn = {
1364
+ [r.arrowUp]: {
1365
+ rows: -1,
1366
+ columns: 0
1367
+ },
1368
+ [r.arrowDown]: {
1369
+ rows: 1,
1370
+ columns: 0
1371
+ },
1372
+ [r.arrowLeft]: {
1373
+ rows: 0,
1374
+ columns: -1
1375
+ },
1376
+ [r.arrowRight]: {
1377
+ rows: 0,
1378
+ columns: 1
1379
+ }
1380
+ };
1381
+ function clamp(e, t, n) {
1382
+ return Math.max(t, Math.min(n, e));
1383
+ }
1384
+ e(clamp, "clamp");
1385
+ var pn = "new-row", mn = "spacer", hn = 200, gn = 60, _n = 15, vn = 32, yn = "cursor", Z = "cell-editor", bn = "cell-tick", xn = "delete-row";
1386
+ _e([
1387
+ "click",
1388
+ "focusout",
1389
+ "input"
1390
+ ]);
1391
+ //#endregion
1392
+ //#region src/components/ui-table/UICell.en.ts
1393
+ var Sn = {
833
1394
  tag: "ui-cell",
1395
+ icon: "square outline",
834
1396
  topics: ["tables", "collections"],
835
1397
  aka: [
836
1398
  "table cell",
@@ -882,21 +1444,21 @@ var ht = Y, gt = /* @__PURE__ */ new WeakSet(), _t = "stack-by-", vt = "sideways
882
1444
  description: "Set while it's in a `<ui-table>`."
883
1445
  }],
884
1446
  texts: []
885
- }, Ct = /* @__PURE__ */ j("<slot>"), wt, Tt, Et, Dt, Ot, X, Z, Q = class _UICell extends (X = re, Ot = [ue], Dt = [de], Et = [d("role")], Tt = [d("colSpan")], wt = [m], X) {
1447
+ }, Cn = /* @__PURE__ */ N("<slot>"), wn, Tn, En, Dn, On, kn, Q, $ = class _UICell extends (kn = d, On = [le], Dn = [ue], En = [m("role")], Tn = [m("colSpan")], wn = [_], kn) {
886
1448
  constructor() {
887
- super(...arguments), u(Z, 5, this), t(this, "context", new te({
1449
+ super(...arguments), f(Q, 5, this), a(this, "context", new s({
888
1450
  domElement: this.domElement,
889
1451
  noun: this.vocabulary.noun
890
1452
  }));
891
1453
  }
892
1454
  get isInTable() {
893
- return this.context.owner?.ownerNoun === kt;
1455
+ return this.context.owner?.ownerNoun === jn;
894
1456
  }
895
1457
  get columnSpan() {
896
- return z.spanOf(this.span);
1458
+ return P.spanOf(this.span);
897
1459
  }
898
1460
  get ariaRole() {
899
- if (this.isInTable) return this.header ? this.domElement.parentElement?.valueNamed?.(At) ? "columnheader" : "rowheader" : "cell";
1461
+ if (this.isInTable) return this.header ? this.domElement.parentElement?.valueNamed?.(Mn) ? "columnheader" : "rowheader" : "cell";
900
1462
  }
901
1463
  get ariaColumnSpan() {
902
1464
  return this.isInTable && this.columnSpan > 1 ? String(this.columnSpan) : void 0;
@@ -905,25 +1467,25 @@ var ht = Y, gt = /* @__PURE__ */ new WeakSet(), _t = "stack-by-", vt = "sideways
905
1467
  let e = [`grid-column: span ${this.columnSpan}`], t = this.align === "justified" ? "justify" : this.align;
906
1468
  t && e.push(`text-align: ${t}`);
907
1469
  let n = this.verticalAlign;
908
- return n && e.push(`align-self: ${jt[n] ?? "stretch"}`), e.join("; ");
1470
+ return n && e.push(`align-self: ${Nn[n] ?? "stretch"}`), e.join("; ");
909
1471
  }
910
1472
  render() {
911
- var e = Ct();
912
- return e._$owner = E(), e;
1473
+ var e = Cn();
1474
+ return e._$owner = ve(), e;
913
1475
  }
914
1476
  };
915
- Z = s(X), a(Z, 2, "ariaRole", Et, Q), a(Z, 2, "ariaColumnSpan", Tt, Q), a(Z, 2, "hostLayout", wt, Q), a(Z, 13, "vocabulary", Ot, Q), a(Z, 13, "elementSetup", Dt, Q), o(Z, Q), c(Q, "UICell"), t(Q, "vocabulary", u(Z, 8, Q, St)), u(Z, 11, Q), t(Q, "elementSetup", u(Z, 12, Q, {
1477
+ Q = S(kn), o(Q, 2, "ariaRole", En, $), o(Q, 2, "ariaColumnSpan", Tn, $), o(Q, 2, "hostLayout", wn, $), o(Q, 13, "vocabulary", On, $), o(Q, 13, "elementSetup", Dn, $), c(Q, $), e($, "UICell"), a($, "vocabulary", f(Q, 8, $, Sn)), f(Q, 11, $), a($, "elementSetup", f(Q, 12, $, {
916
1478
  isAPart: !0,
917
1479
  delegatesFocus: !1,
918
1480
  cssStates: ["header"]
919
- })), u(Z, 15, Q);
920
- var $ = Q, kt = "table", At = "header", jt = {
1481
+ })), f(Q, 15, $);
1482
+ var An = $, jn = "table", Mn = "header", Nn = {
921
1483
  top: "start",
922
1484
  middle: "center",
923
1485
  bottom: "end"
924
1486
  };
925
- ht.define(), $.define();
1487
+ an.define(), An.define();
926
1488
  //#endregion
927
- export { $ as UICell, ht as UITable };
1489
+ export { An as UICell, an as UITable };
928
1490
 
929
1491
  //# sourceMappingURL=ui-table.js.map