@threadlabs/looma 0.47.6 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (932) hide show
  1. package/README.md +39 -16
  2. package/components/shared/input-modality.d.ts +2 -0
  3. package/components/shared/input-modality.js +2 -0
  4. package/components/shared/overlay.js +9 -0
  5. package/components/ui-compact-content/ui-compact-content.html +8 -0
  6. package/components/ui-compact-content/ui-compact-content.js +1 -0
  7. package/components/ui-compact-editor/ui-compact-editor.css +39 -0
  8. package/components/ui-compact-editor/ui-compact-editor.html +22 -0
  9. package/components/ui-compact-editor/ui-compact-editor.js +30 -0
  10. package/components/ui-compact-mark/ui-compact-mark.html +26 -0
  11. package/components/ui-compact-node/ui-compact-node.html +14 -0
  12. package/components/ui-dialog/ui-dialog.html +4 -1
  13. package/components/ui-editor/ui-editor.css +531 -0
  14. package/components/ui-editor/ui-editor.html +399 -0
  15. package/components/ui-editor/ui-editor.js +87 -0
  16. package/components/ui-editor-chip-editor/ui-editor-chip-editor.html +2 -1
  17. package/components/ui-editor-chip-editor/ui-editor-chip-editor.js +6 -0
  18. package/components/ui-editor-formatting-tools/ui-editor-formatting-tools.html +59 -0
  19. package/components/ui-editor-formatting-tools/ui-editor-formatting-tools.js +44 -0
  20. package/components/ui-editor-link-form/ui-editor-link-form.html +1 -0
  21. package/components/ui-editor-link-form/ui-editor-link-form.js +7 -0
  22. package/components/ui-editor-surface/ui-editor-surface.css +109 -0
  23. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +1 -1
  24. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +7 -4
  25. package/components/ui-menu/ui-menu.html +4 -1
  26. package/components/ui-meter/ui-meter.html +7 -7
  27. package/components/ui-popover/ui-popover.html +4 -1
  28. package/components/ui-radio-group/ui-radio-group.html +3 -1
  29. package/components/ui-radio-group/ui-radio-group.js +5 -0
  30. package/dist/index.js +57 -53
  31. package/docs/README.md +5 -7
  32. package/docs/catalog.json +933 -84
  33. package/docs/catalog.mjs +2 -2
  34. package/docs/framework-examples.d.mts +7 -0
  35. package/docs/framework-examples.mjs +89 -0
  36. package/docs/index.d.ts +1 -1
  37. package/docs/render.mjs +3 -40
  38. package/editor/chunks/content.js +29 -0
  39. package/{vue/chunks/compact.js → editor/chunks/dist.js} +103 -230
  40. package/editor/chunks/expressmark.js +1 -24
  41. package/editor/chunks/extensions.js +63 -455
  42. package/editor/chunks/session.js +61 -0
  43. package/editor/chunks/{ui.js → table-overlay.js} +51 -1
  44. package/editor/compact.d.ts +22 -0
  45. package/editor/compact.js +63 -0
  46. package/editor/components.css +3699 -0
  47. package/editor/document-session.d.ts +274 -0
  48. package/editor/extensions/index.js +2 -2
  49. package/editor/index.d.ts +4 -0
  50. package/editor/index.js +15578 -4
  51. package/editor/session.d.ts +1 -1
  52. package/editor/toolbar-tooltip.d.ts +5 -1
  53. package/editor/ui.js +1 -2
  54. package/package.json +31 -46
  55. package/styles/ui-action-bar.css +1 -1
  56. package/styles/ui-affordance-scope.css +1 -1
  57. package/styles/ui-avatar-group.css +1 -1
  58. package/styles/ui-avatar.css +1 -1
  59. package/styles/ui-badge.css +1 -1
  60. package/styles/ui-breadcrumb-item.css +1 -1
  61. package/styles/ui-breadcrumbs.css +1 -1
  62. package/styles/ui-button.css +1 -1
  63. package/styles/ui-callout.css +1 -1
  64. package/styles/ui-card-group.css +1 -1
  65. package/styles/ui-card.css +1 -1
  66. package/styles/ui-checkbox.css +1 -1
  67. package/styles/ui-cluster.css +1 -1
  68. package/styles/ui-color-picker.css +1 -1
  69. package/styles/ui-combobox.css +1 -1
  70. package/styles/ui-compact-content.css +1 -0
  71. package/styles/ui-compact-editor.css +1 -0
  72. package/styles/ui-compact-mark.css +1 -0
  73. package/styles/ui-compact-node.css +1 -0
  74. package/styles/ui-container.css +1 -1
  75. package/styles/ui-context-menu.css +1 -1
  76. package/styles/ui-cover.css +1 -1
  77. package/styles/ui-curve-editor.css +1 -1
  78. package/styles/ui-cycle-button.css +1 -1
  79. package/styles/ui-description-item.css +1 -1
  80. package/styles/ui-description-list.css +1 -1
  81. package/styles/ui-dialog.css +9 -3
  82. package/styles/ui-disclosure.css +1 -1
  83. package/styles/ui-editable.css +1 -1
  84. package/styles/ui-editor-block-actions.css +1 -1
  85. package/styles/ui-editor-chip-editor.css +1 -1
  86. package/styles/ui-editor-code-language.css +1 -1
  87. package/styles/ui-editor-footnote-editor.css +1 -1
  88. package/styles/ui-editor-formatting-tools.css +1 -0
  89. package/styles/ui-editor-image-toolbar.css +1 -1
  90. package/styles/ui-editor-insert-table-grid.css +1 -1
  91. package/styles/ui-editor-link-card.css +1 -1
  92. package/styles/ui-editor-link-form.css +1 -1
  93. package/styles/ui-editor-mention-menu-item.css +1 -1
  94. package/styles/ui-editor-mention-menu.css +1 -1
  95. package/styles/ui-editor-slash-menu-group.css +1 -1
  96. package/styles/ui-editor-slash-menu-item.css +1 -1
  97. package/styles/ui-editor-slash-menu.css +1 -1
  98. package/styles/ui-editor-surface.css +1 -1
  99. package/styles/ui-editor-table-context-menu.css +1 -1
  100. package/styles/ui-editor-table-overlay.css +1 -1
  101. package/styles/ui-editor-table-toolbar.css +1 -1
  102. package/styles/ui-editor-toolbar.css +1 -1
  103. package/styles/ui-editor.css +1 -0
  104. package/styles/ui-floating-action-button.css +1 -1
  105. package/styles/ui-form-field.css +1 -1
  106. package/styles/ui-grid.css +1 -1
  107. package/styles/ui-icon-button.css +1 -1
  108. package/styles/ui-icon.css +1 -1
  109. package/styles/ui-image.css +1 -1
  110. package/styles/ui-input-group.css +1 -1
  111. package/styles/ui-input.css +1 -1
  112. package/styles/ui-light-editor.css +1 -1
  113. package/styles/ui-list-item.css +1 -1
  114. package/styles/ui-list.css +1 -1
  115. package/styles/ui-listbox.css +1 -1
  116. package/styles/ui-menu-group.css +1 -1
  117. package/styles/ui-menu-item.css +1 -1
  118. package/styles/ui-menu.css +5 -2
  119. package/styles/ui-meter.css +8 -8
  120. package/styles/ui-nav-item.css +1 -1
  121. package/styles/ui-number-input.css +1 -1
  122. package/styles/ui-page-header.css +1 -1
  123. package/styles/ui-pagination.css +1 -1
  124. package/styles/ui-popover.css +5 -2
  125. package/styles/ui-radio-group.css +1 -1
  126. package/styles/ui-radio.css +1 -1
  127. package/styles/ui-reel.css +1 -1
  128. package/styles/ui-scroll-area.css +1 -1
  129. package/styles/ui-search-result-row.css +1 -1
  130. package/styles/ui-search-shell.css +1 -1
  131. package/styles/ui-section.css +1 -1
  132. package/styles/ui-select.css +1 -1
  133. package/styles/ui-separator.css +1 -1
  134. package/styles/ui-sidebar.css +1 -1
  135. package/styles/ui-site-header.css +1 -1
  136. package/styles/ui-skeleton.css +1 -1
  137. package/styles/ui-slider.css +1 -1
  138. package/styles/ui-spinner.css +1 -1
  139. package/styles/ui-stack.css +1 -1
  140. package/styles/ui-status-message.css +1 -1
  141. package/styles/ui-swatch.css +1 -1
  142. package/styles/ui-switch.css +1 -1
  143. package/styles/ui-switcher.css +1 -1
  144. package/styles/ui-table.css +1 -1
  145. package/styles/ui-tabs.css +1 -1
  146. package/styles/ui-text.css +1 -1
  147. package/styles/ui-textarea.css +1 -1
  148. package/styles/ui-toast-region.css +1 -1
  149. package/styles/ui-toast.css +1 -1
  150. package/styles/ui-tooltip.css +1 -1
  151. package/styles/ui-top-bar.css +1 -1
  152. package/styles/ui-tree-item.css +1 -1
  153. package/styles/ui-tree.css +1 -1
  154. package/vanilla/UiActionBar.d.ts +1 -1
  155. package/vanilla/UiActionBar.js +1 -1
  156. package/vanilla/UiAffordanceScope.d.ts +1 -1
  157. package/vanilla/UiAffordanceScope.js +1 -1
  158. package/vanilla/UiAvatar.d.ts +1 -1
  159. package/vanilla/UiAvatar.js +1 -1
  160. package/vanilla/UiAvatarGroup.d.ts +1 -1
  161. package/vanilla/UiAvatarGroup.js +1 -1
  162. package/vanilla/UiBadge.d.ts +1 -1
  163. package/vanilla/UiBadge.js +1 -1
  164. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  165. package/vanilla/UiBreadcrumbItem.js +1 -1
  166. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  167. package/vanilla/UiBreadcrumbs.js +1 -1
  168. package/vanilla/UiButton.d.ts +1 -1
  169. package/vanilla/UiButton.js +1 -1
  170. package/vanilla/UiCallout.d.ts +1 -1
  171. package/vanilla/UiCallout.js +1 -1
  172. package/vanilla/UiCard.d.ts +1 -1
  173. package/vanilla/UiCard.js +1 -1
  174. package/vanilla/UiCardGroup.d.ts +1 -1
  175. package/vanilla/UiCardGroup.js +1 -1
  176. package/vanilla/UiCheckbox.d.ts +1 -1
  177. package/vanilla/UiCheckbox.js +1 -1
  178. package/vanilla/UiCluster.d.ts +1 -1
  179. package/vanilla/UiCluster.js +1 -1
  180. package/vanilla/UiColorPicker.d.ts +1 -1
  181. package/vanilla/UiColorPicker.js +1 -1
  182. package/vanilla/UiCombobox.d.ts +1 -1
  183. package/vanilla/UiCombobox.js +1 -1
  184. package/vanilla/UiCompactContent.d.ts +23 -0
  185. package/vanilla/UiCompactContent.js +51 -0
  186. package/vanilla/UiCompactEditor.d.ts +29 -0
  187. package/vanilla/UiCompactEditor.js +59 -0
  188. package/vanilla/UiCompactMark.d.ts +25 -0
  189. package/vanilla/UiCompactMark.js +206 -0
  190. package/vanilla/UiCompactNode.d.ts +23 -0
  191. package/vanilla/UiCompactNode.js +156 -0
  192. package/vanilla/UiContainer.d.ts +1 -1
  193. package/vanilla/UiContainer.js +1 -1
  194. package/vanilla/UiContextMenu.d.ts +1 -1
  195. package/vanilla/UiContextMenu.js +1 -1
  196. package/vanilla/UiCover.d.ts +1 -1
  197. package/vanilla/UiCover.js +1 -1
  198. package/vanilla/UiCurveEditor.d.ts +1 -1
  199. package/vanilla/UiCurveEditor.js +1 -1
  200. package/vanilla/UiCycleButton.d.ts +1 -1
  201. package/vanilla/UiCycleButton.js +1 -1
  202. package/vanilla/UiDescriptionItem.d.ts +1 -1
  203. package/vanilla/UiDescriptionItem.js +1 -1
  204. package/vanilla/UiDescriptionList.d.ts +1 -1
  205. package/vanilla/UiDescriptionList.js +1 -1
  206. package/vanilla/UiDialog.d.ts +1 -1
  207. package/vanilla/UiDialog.js +1 -1
  208. package/vanilla/UiDisclosure.d.ts +1 -1
  209. package/vanilla/UiDisclosure.js +1 -1
  210. package/vanilla/UiEditable.d.ts +1 -1
  211. package/vanilla/UiEditable.js +1 -1
  212. package/vanilla/UiEditor.d.ts +57 -0
  213. package/vanilla/UiEditor.js +1067 -0
  214. package/vanilla/UiEditorBlockActions.d.ts +1 -1
  215. package/vanilla/UiEditorBlockActions.js +1 -1
  216. package/vanilla/UiEditorChipEditor.d.ts +2 -1
  217. package/vanilla/UiEditorChipEditor.js +10 -10
  218. package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
  219. package/vanilla/UiEditorCodeLanguage.js +1 -1
  220. package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
  221. package/vanilla/UiEditorFootnoteEditor.js +1 -1
  222. package/vanilla/UiEditorFormattingTools.d.ts +27 -0
  223. package/vanilla/UiEditorFormattingTools.js +188 -0
  224. package/vanilla/UiEditorImageToolbar.d.ts +1 -1
  225. package/vanilla/UiEditorImageToolbar.js +1 -1
  226. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  227. package/vanilla/UiEditorInsertTableGrid.js +1 -1
  228. package/vanilla/UiEditorLinkCard.d.ts +1 -1
  229. package/vanilla/UiEditorLinkCard.js +1 -1
  230. package/vanilla/UiEditorLinkForm.d.ts +2 -1
  231. package/vanilla/UiEditorLinkForm.js +41 -41
  232. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  233. package/vanilla/UiEditorMentionMenu.js +1 -1
  234. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  235. package/vanilla/UiEditorMentionMenuItem.js +1 -1
  236. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  237. package/vanilla/UiEditorSlashMenu.js +1 -1
  238. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  239. package/vanilla/UiEditorSlashMenuGroup.js +1 -1
  240. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  241. package/vanilla/UiEditorSlashMenuItem.js +1 -1
  242. package/vanilla/UiEditorSurface.d.ts +1 -1
  243. package/vanilla/UiEditorSurface.js +1 -1
  244. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  245. package/vanilla/UiEditorTableContextMenu.js +10 -5
  246. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  247. package/vanilla/UiEditorTableOverlay.js +1 -1
  248. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  249. package/vanilla/UiEditorTableToolbar.js +1 -1
  250. package/vanilla/UiEditorToolbar.d.ts +1 -1
  251. package/vanilla/UiEditorToolbar.js +1 -1
  252. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  253. package/vanilla/UiFloatingActionButton.js +1 -1
  254. package/vanilla/UiFormField.d.ts +1 -1
  255. package/vanilla/UiFormField.js +1 -1
  256. package/vanilla/UiGrid.d.ts +1 -1
  257. package/vanilla/UiGrid.js +1 -1
  258. package/vanilla/UiIcon.d.ts +1 -1
  259. package/vanilla/UiIcon.js +1 -1
  260. package/vanilla/UiIconButton.d.ts +1 -1
  261. package/vanilla/UiIconButton.js +1 -1
  262. package/vanilla/UiImage.d.ts +1 -1
  263. package/vanilla/UiImage.js +1 -1
  264. package/vanilla/UiInput.d.ts +1 -1
  265. package/vanilla/UiInput.js +1 -1
  266. package/vanilla/UiInputGroup.d.ts +1 -1
  267. package/vanilla/UiInputGroup.js +1 -1
  268. package/vanilla/UiLightEditor.d.ts +1 -1
  269. package/vanilla/UiLightEditor.js +1 -1
  270. package/vanilla/UiList.d.ts +1 -1
  271. package/vanilla/UiList.js +1 -1
  272. package/vanilla/UiListItem.d.ts +1 -1
  273. package/vanilla/UiListItem.js +1 -1
  274. package/vanilla/UiListbox.d.ts +1 -1
  275. package/vanilla/UiListbox.js +1 -1
  276. package/vanilla/UiMenu.d.ts +1 -1
  277. package/vanilla/UiMenu.js +1 -1
  278. package/vanilla/UiMenuGroup.d.ts +1 -1
  279. package/vanilla/UiMenuGroup.js +1 -1
  280. package/vanilla/UiMenuItem.d.ts +1 -1
  281. package/vanilla/UiMenuItem.js +1 -1
  282. package/vanilla/UiMeter.d.ts +1 -1
  283. package/vanilla/UiMeter.js +1 -1
  284. package/vanilla/UiNavItem.d.ts +1 -1
  285. package/vanilla/UiNavItem.js +1 -1
  286. package/vanilla/UiNumberInput.d.ts +1 -1
  287. package/vanilla/UiNumberInput.js +1 -1
  288. package/vanilla/UiPageHeader.d.ts +1 -1
  289. package/vanilla/UiPageHeader.js +1 -1
  290. package/vanilla/UiPagination.d.ts +1 -1
  291. package/vanilla/UiPagination.js +1 -1
  292. package/vanilla/UiPopover.d.ts +1 -1
  293. package/vanilla/UiPopover.js +1 -1
  294. package/vanilla/UiRadio.d.ts +1 -1
  295. package/vanilla/UiRadio.js +1 -1
  296. package/vanilla/UiRadioGroup.d.ts +2 -1
  297. package/vanilla/UiRadioGroup.js +33 -28
  298. package/vanilla/UiReel.d.ts +1 -1
  299. package/vanilla/UiReel.js +1 -1
  300. package/vanilla/UiScrollArea.d.ts +1 -1
  301. package/vanilla/UiScrollArea.js +1 -1
  302. package/vanilla/UiSearchResultRow.d.ts +1 -1
  303. package/vanilla/UiSearchResultRow.js +1 -1
  304. package/vanilla/UiSearchShell.d.ts +1 -1
  305. package/vanilla/UiSearchShell.js +1 -1
  306. package/vanilla/UiSection.d.ts +1 -1
  307. package/vanilla/UiSection.js +1 -1
  308. package/vanilla/UiSelect.d.ts +1 -1
  309. package/vanilla/UiSelect.js +1 -1
  310. package/vanilla/UiSeparator.d.ts +1 -1
  311. package/vanilla/UiSeparator.js +1 -1
  312. package/vanilla/UiSidebar.d.ts +1 -1
  313. package/vanilla/UiSidebar.js +1 -1
  314. package/vanilla/UiSiteHeader.d.ts +1 -1
  315. package/vanilla/UiSiteHeader.js +1 -1
  316. package/vanilla/UiSkeleton.d.ts +1 -1
  317. package/vanilla/UiSkeleton.js +1 -1
  318. package/vanilla/UiSlider.d.ts +1 -1
  319. package/vanilla/UiSlider.js +1 -1
  320. package/vanilla/UiSpinner.d.ts +1 -1
  321. package/vanilla/UiSpinner.js +1 -1
  322. package/vanilla/UiStack.d.ts +1 -1
  323. package/vanilla/UiStack.js +1 -1
  324. package/vanilla/UiStatusMessage.d.ts +1 -1
  325. package/vanilla/UiStatusMessage.js +1 -1
  326. package/vanilla/UiSwatch.d.ts +1 -1
  327. package/vanilla/UiSwatch.js +1 -1
  328. package/vanilla/UiSwitch.d.ts +1 -1
  329. package/vanilla/UiSwitch.js +1 -1
  330. package/vanilla/UiSwitcher.d.ts +1 -1
  331. package/vanilla/UiSwitcher.js +1 -1
  332. package/vanilla/UiTable.d.ts +1 -1
  333. package/vanilla/UiTable.js +1 -1
  334. package/vanilla/UiTabs.d.ts +1 -1
  335. package/vanilla/UiTabs.js +1 -1
  336. package/vanilla/UiText.d.ts +1 -1
  337. package/vanilla/UiText.js +1 -1
  338. package/vanilla/UiTextarea.d.ts +1 -1
  339. package/vanilla/UiTextarea.js +1 -1
  340. package/vanilla/UiToast.d.ts +1 -1
  341. package/vanilla/UiToast.js +1 -1
  342. package/vanilla/UiToastRegion.d.ts +1 -1
  343. package/vanilla/UiToastRegion.js +1 -1
  344. package/vanilla/UiTooltip.d.ts +1 -1
  345. package/vanilla/UiTooltip.js +1 -1
  346. package/vanilla/UiTopBar.d.ts +1 -1
  347. package/vanilla/UiTopBar.js +1 -1
  348. package/vanilla/UiTree.d.ts +1 -1
  349. package/vanilla/UiTree.js +1 -1
  350. package/vanilla/UiTreeItem.d.ts +1 -1
  351. package/vanilla/UiTreeItem.js +1 -1
  352. package/vanilla/index.js +6 -0
  353. package/editor/chunks/table-backgrounds.js +0 -51
  354. package/vue/UiActionBar.d.ts +0 -19
  355. package/vue/UiActionBar.js +0 -2
  356. package/vue/UiActionBar.vue +0 -90
  357. package/vue/UiAffordanceScope.d.ts +0 -35
  358. package/vue/UiAffordanceScope.js +0 -2
  359. package/vue/UiAffordanceScope.vue +0 -182
  360. package/vue/UiAvatar.d.ts +0 -71
  361. package/vue/UiAvatar.js +0 -2
  362. package/vue/UiAvatar.vue +0 -394
  363. package/vue/UiAvatarGroup.d.ts +0 -53
  364. package/vue/UiAvatarGroup.js +0 -2
  365. package/vue/UiAvatarGroup.vue +0 -305
  366. package/vue/UiBadge.d.ts +0 -49
  367. package/vue/UiBadge.js +0 -2
  368. package/vue/UiBadge.vue +0 -810
  369. package/vue/UiBreadcrumbItem.d.ts +0 -29
  370. package/vue/UiBreadcrumbItem.js +0 -2
  371. package/vue/UiBreadcrumbItem.vue +0 -192
  372. package/vue/UiBreadcrumbs.d.ts +0 -29
  373. package/vue/UiBreadcrumbs.js +0 -2
  374. package/vue/UiBreadcrumbs.vue +0 -117
  375. package/vue/UiButton.d.ts +0 -131
  376. package/vue/UiButton.js +0 -2
  377. package/vue/UiButton.vue +0 -1609
  378. package/vue/UiCallout.d.ts +0 -35
  379. package/vue/UiCallout.js +0 -2
  380. package/vue/UiCallout.vue +0 -418
  381. package/vue/UiCard.d.ts +0 -81
  382. package/vue/UiCard.js +0 -2
  383. package/vue/UiCard.vue +0 -530
  384. package/vue/UiCardGroup.d.ts +0 -41
  385. package/vue/UiCardGroup.js +0 -2
  386. package/vue/UiCardGroup.vue +0 -168
  387. package/vue/UiCheckbox.d.ts +0 -95
  388. package/vue/UiCheckbox.js +0 -2
  389. package/vue/UiCheckbox.vue +0 -601
  390. package/vue/UiCluster.d.ts +0 -65
  391. package/vue/UiCluster.js +0 -2
  392. package/vue/UiCluster.vue +0 -304
  393. package/vue/UiColorPicker.d.ts +0 -71
  394. package/vue/UiColorPicker.js +0 -2
  395. package/vue/UiColorPicker.vue +0 -563
  396. package/vue/UiCombobox.d.ts +0 -538
  397. package/vue/UiCombobox.js +0 -2
  398. package/vue/UiCombobox.vue +0 -2894
  399. package/vue/UiContainer.d.ts +0 -41
  400. package/vue/UiContainer.js +0 -2
  401. package/vue/UiContainer.vue +0 -177
  402. package/vue/UiContextMenu.d.ts +0 -69
  403. package/vue/UiContextMenu.js +0 -2
  404. package/vue/UiContextMenu.vue +0 -289
  405. package/vue/UiCover.d.ts +0 -29
  406. package/vue/UiCover.js +0 -2
  407. package/vue/UiCover.vue +0 -127
  408. package/vue/UiCurveEditor.d.ts +0 -59
  409. package/vue/UiCurveEditor.js +0 -2
  410. package/vue/UiCurveEditor.vue +0 -429
  411. package/vue/UiCycleButton.d.ts +0 -69
  412. package/vue/UiCycleButton.js +0 -2
  413. package/vue/UiCycleButton.vue +0 -403
  414. package/vue/UiDescriptionItem.d.ts +0 -29
  415. package/vue/UiDescriptionItem.js +0 -2
  416. package/vue/UiDescriptionItem.vue +0 -124
  417. package/vue/UiDescriptionList.d.ts +0 -41
  418. package/vue/UiDescriptionList.js +0 -2
  419. package/vue/UiDescriptionList.vue +0 -217
  420. package/vue/UiDialog.d.ts +0 -97
  421. package/vue/UiDialog.js +0 -2
  422. package/vue/UiDialog.vue +0 -817
  423. package/vue/UiDisclosure.d.ts +0 -107
  424. package/vue/UiDisclosure.js +0 -2
  425. package/vue/UiDisclosure.vue +0 -605
  426. package/vue/UiEditable.d.ts +0 -113
  427. package/vue/UiEditable.js +0 -2
  428. package/vue/UiEditable.vue +0 -582
  429. package/vue/UiEditorBlockActions.d.ts +0 -33
  430. package/vue/UiEditorBlockActions.js +0 -2
  431. package/vue/UiEditorBlockActions.vue +0 -163
  432. package/vue/UiEditorChipEditor.d.ts +0 -45
  433. package/vue/UiEditorChipEditor.js +0 -2
  434. package/vue/UiEditorChipEditor.vue +0 -208
  435. package/vue/UiEditorCodeLanguage.d.ts +0 -41
  436. package/vue/UiEditorCodeLanguage.js +0 -2
  437. package/vue/UiEditorCodeLanguage.vue +0 -200
  438. package/vue/UiEditorFootnoteEditor.d.ts +0 -39
  439. package/vue/UiEditorFootnoteEditor.js +0 -2
  440. package/vue/UiEditorFootnoteEditor.vue +0 -152
  441. package/vue/UiEditorImageToolbar.d.ts +0 -51
  442. package/vue/UiEditorImageToolbar.js +0 -2
  443. package/vue/UiEditorImageToolbar.vue +0 -446
  444. package/vue/UiEditorInsertTableGrid.d.ts +0 -49
  445. package/vue/UiEditorInsertTableGrid.js +0 -2
  446. package/vue/UiEditorInsertTableGrid.vue +0 -367
  447. package/vue/UiEditorLinkCard.d.ts +0 -49
  448. package/vue/UiEditorLinkCard.js +0 -2
  449. package/vue/UiEditorLinkCard.vue +0 -385
  450. package/vue/UiEditorLinkForm.d.ts +0 -131
  451. package/vue/UiEditorLinkForm.js +0 -2
  452. package/vue/UiEditorLinkForm.vue +0 -664
  453. package/vue/UiEditorMentionMenu.d.ts +0 -121
  454. package/vue/UiEditorMentionMenu.js +0 -2
  455. package/vue/UiEditorMentionMenu.vue +0 -596
  456. package/vue/UiEditorMentionMenuItem.d.ts +0 -43
  457. package/vue/UiEditorMentionMenuItem.js +0 -2
  458. package/vue/UiEditorMentionMenuItem.vue +0 -205
  459. package/vue/UiEditorSlashMenu.d.ts +0 -111
  460. package/vue/UiEditorSlashMenu.js +0 -2
  461. package/vue/UiEditorSlashMenu.vue +0 -549
  462. package/vue/UiEditorSlashMenuGroup.d.ts +0 -29
  463. package/vue/UiEditorSlashMenuGroup.js +0 -2
  464. package/vue/UiEditorSlashMenuGroup.vue +0 -113
  465. package/vue/UiEditorSlashMenuItem.d.ts +0 -53
  466. package/vue/UiEditorSlashMenuItem.js +0 -2
  467. package/vue/UiEditorSlashMenuItem.vue +0 -249
  468. package/vue/UiEditorSurface.d.ts +0 -29
  469. package/vue/UiEditorSurface.js +0 -2
  470. package/vue/UiEditorSurface.vue +0 -117
  471. package/vue/UiEditorTableContextMenu.d.ts +0 -57
  472. package/vue/UiEditorTableContextMenu.js +0 -2
  473. package/vue/UiEditorTableContextMenu.vue +0 -694
  474. package/vue/UiEditorTableOverlay.d.ts +0 -191
  475. package/vue/UiEditorTableOverlay.js +0 -2
  476. package/vue/UiEditorTableOverlay.vue +0 -1099
  477. package/vue/UiEditorTableToolbar.d.ts +0 -57
  478. package/vue/UiEditorTableToolbar.js +0 -2
  479. package/vue/UiEditorTableToolbar.vue +0 -834
  480. package/vue/UiEditorToolbar.d.ts +0 -29
  481. package/vue/UiEditorToolbar.js +0 -2
  482. package/vue/UiEditorToolbar.vue +0 -296
  483. package/vue/UiFloatingActionButton.d.ts +0 -41
  484. package/vue/UiFloatingActionButton.js +0 -2
  485. package/vue/UiFloatingActionButton.vue +0 -201
  486. package/vue/UiFormField.d.ts +0 -49
  487. package/vue/UiFormField.js +0 -2
  488. package/vue/UiFormField.vue +0 -256
  489. package/vue/UiGrid.d.ts +0 -41
  490. package/vue/UiGrid.js +0 -2
  491. package/vue/UiGrid.vue +0 -190
  492. package/vue/UiIcon.d.ts +0 -25
  493. package/vue/UiIcon.js +0 -2
  494. package/vue/UiIcon.vue +0 -612
  495. package/vue/UiIconButton.d.ts +0 -101
  496. package/vue/UiIconButton.js +0 -2
  497. package/vue/UiIconButton.vue +0 -1141
  498. package/vue/UiImage.d.ts +0 -85
  499. package/vue/UiImage.js +0 -2
  500. package/vue/UiImage.vue +0 -462
  501. package/vue/UiInput.d.ts +0 -50
  502. package/vue/UiInput.js +0 -2
  503. package/vue/UiInput.vue +0 -671
  504. package/vue/UiInputGroup.d.ts +0 -59
  505. package/vue/UiInputGroup.js +0 -2
  506. package/vue/UiInputGroup.vue +0 -447
  507. package/vue/UiLightEditor.d.ts +0 -83
  508. package/vue/UiLightEditor.js +0 -2
  509. package/vue/UiLightEditor.vue +0 -537
  510. package/vue/UiList.d.ts +0 -49
  511. package/vue/UiList.js +0 -2
  512. package/vue/UiList.vue +0 -260
  513. package/vue/UiListItem.d.ts +0 -65
  514. package/vue/UiListItem.js +0 -2
  515. package/vue/UiListItem.vue +0 -407
  516. package/vue/UiListbox.d.ts +0 -87
  517. package/vue/UiListbox.js +0 -2
  518. package/vue/UiListbox.vue +0 -554
  519. package/vue/UiMenu.d.ts +0 -99
  520. package/vue/UiMenu.js +0 -2
  521. package/vue/UiMenu.vue +0 -541
  522. package/vue/UiMenuGroup.d.ts +0 -29
  523. package/vue/UiMenuGroup.js +0 -2
  524. package/vue/UiMenuGroup.vue +0 -105
  525. package/vue/UiMenuItem.d.ts +0 -89
  526. package/vue/UiMenuItem.js +0 -2
  527. package/vue/UiMenuItem.vue +0 -532
  528. package/vue/UiMeter.d.ts +0 -73
  529. package/vue/UiMeter.js +0 -2
  530. package/vue/UiMeter.vue +0 -1112
  531. package/vue/UiNavItem.d.ts +0 -79
  532. package/vue/UiNavItem.js +0 -2
  533. package/vue/UiNavItem.vue +0 -493
  534. package/vue/UiNumberInput.d.ts +0 -89
  535. package/vue/UiNumberInput.js +0 -2
  536. package/vue/UiNumberInput.vue +0 -445
  537. package/vue/UiPageHeader.d.ts +0 -37
  538. package/vue/UiPageHeader.js +0 -2
  539. package/vue/UiPageHeader.vue +0 -192
  540. package/vue/UiPagination.d.ts +0 -115
  541. package/vue/UiPagination.js +0 -2
  542. package/vue/UiPagination.vue +0 -596
  543. package/vue/UiPopover.d.ts +0 -77
  544. package/vue/UiPopover.js +0 -2
  545. package/vue/UiPopover.vue +0 -495
  546. package/vue/UiRadio.d.ts +0 -77
  547. package/vue/UiRadio.js +0 -2
  548. package/vue/UiRadio.vue +0 -475
  549. package/vue/UiRadioGroup.d.ts +0 -95
  550. package/vue/UiRadioGroup.js +0 -2
  551. package/vue/UiRadioGroup.vue +0 -393
  552. package/vue/UiReel.d.ts +0 -41
  553. package/vue/UiReel.js +0 -2
  554. package/vue/UiReel.vue +0 -223
  555. package/vue/UiScrollArea.d.ts +0 -53
  556. package/vue/UiScrollArea.js +0 -2
  557. package/vue/UiScrollArea.vue +0 -307
  558. package/vue/UiSearchResultRow.d.ts +0 -49
  559. package/vue/UiSearchResultRow.js +0 -2
  560. package/vue/UiSearchResultRow.vue +0 -268
  561. package/vue/UiSearchShell.d.ts +0 -67
  562. package/vue/UiSearchShell.js +0 -2
  563. package/vue/UiSearchShell.vue +0 -391
  564. package/vue/UiSection.d.ts +0 -51
  565. package/vue/UiSection.js +0 -2
  566. package/vue/UiSection.vue +0 -331
  567. package/vue/UiSelect.d.ts +0 -69
  568. package/vue/UiSelect.js +0 -2
  569. package/vue/UiSelect.vue +0 -391
  570. package/vue/UiSeparator.d.ts +0 -37
  571. package/vue/UiSeparator.js +0 -2
  572. package/vue/UiSeparator.vue +0 -199
  573. package/vue/UiSidebar.d.ts +0 -99
  574. package/vue/UiSidebar.js +0 -2
  575. package/vue/UiSidebar.vue +0 -579
  576. package/vue/UiSiteHeader.d.ts +0 -59
  577. package/vue/UiSiteHeader.js +0 -2
  578. package/vue/UiSiteHeader.vue +0 -904
  579. package/vue/UiSkeleton.d.ts +0 -37
  580. package/vue/UiSkeleton.js +0 -2
  581. package/vue/UiSkeleton.vue +0 -287
  582. package/vue/UiSlider.d.ts +0 -89
  583. package/vue/UiSlider.js +0 -2
  584. package/vue/UiSlider.vue +0 -448
  585. package/vue/UiSpinner.d.ts +0 -25
  586. package/vue/UiSpinner.js +0 -2
  587. package/vue/UiSpinner.vue +0 -330
  588. package/vue/UiStack.d.ts +0 -53
  589. package/vue/UiStack.js +0 -2
  590. package/vue/UiStack.vue +0 -247
  591. package/vue/UiStatusMessage.d.ts +0 -43
  592. package/vue/UiStatusMessage.js +0 -2
  593. package/vue/UiStatusMessage.vue +0 -239
  594. package/vue/UiSwatch.d.ts +0 -19
  595. package/vue/UiSwatch.js +0 -2
  596. package/vue/UiSwatch.vue +0 -188
  597. package/vue/UiSwitch.d.ts +0 -77
  598. package/vue/UiSwitch.js +0 -2
  599. package/vue/UiSwitch.vue +0 -478
  600. package/vue/UiSwitcher.d.ts +0 -47
  601. package/vue/UiSwitcher.js +0 -2
  602. package/vue/UiSwitcher.vue +0 -258
  603. package/vue/UiTable.d.ts +0 -35
  604. package/vue/UiTable.js +0 -2
  605. package/vue/UiTable.vue +0 -280
  606. package/vue/UiTabs.d.ts +0 -81
  607. package/vue/UiTabs.js +0 -2
  608. package/vue/UiTabs.vue +0 -493
  609. package/vue/UiText.d.ts +0 -111
  610. package/vue/UiText.js +0 -2
  611. package/vue/UiText.vue +0 -836
  612. package/vue/UiTextarea.d.ts +0 -77
  613. package/vue/UiTextarea.js +0 -2
  614. package/vue/UiTextarea.vue +0 -477
  615. package/vue/UiToast.d.ts +0 -49
  616. package/vue/UiToast.js +0 -2
  617. package/vue/UiToast.vue +0 -337
  618. package/vue/UiToastRegion.d.ts +0 -61
  619. package/vue/UiToastRegion.js +0 -2
  620. package/vue/UiToastRegion.vue +0 -631
  621. package/vue/UiTooltip.d.ts +0 -93
  622. package/vue/UiTooltip.js +0 -2
  623. package/vue/UiTooltip.vue +0 -627
  624. package/vue/UiTopBar.d.ts +0 -35
  625. package/vue/UiTopBar.js +0 -2
  626. package/vue/UiTopBar.vue +0 -240
  627. package/vue/UiTree.d.ts +0 -123
  628. package/vue/UiTree.js +0 -2
  629. package/vue/UiTree.vue +0 -419
  630. package/vue/UiTreeItem.d.ts +0 -133
  631. package/vue/UiTreeItem.js +0 -2
  632. package/vue/UiTreeItem.vue +0 -1962
  633. package/vue/chunks/UiActionBar.js +0 -42
  634. package/vue/chunks/UiAffordanceScope.js +0 -136
  635. package/vue/chunks/UiAvatar.js +0 -341
  636. package/vue/chunks/UiAvatarGroup.js +0 -234
  637. package/vue/chunks/UiBadge.js +0 -188
  638. package/vue/chunks/UiBreadcrumbItem.js +0 -104
  639. package/vue/chunks/UiBreadcrumbs.js +0 -67
  640. package/vue/chunks/UiButton.js +0 -881
  641. package/vue/chunks/UiCallout.js +0 -302
  642. package/vue/chunks/UiCard.js +0 -369
  643. package/vue/chunks/UiCardGroup.js +0 -153
  644. package/vue/chunks/UiCheckbox.js +0 -361
  645. package/vue/chunks/UiCluster.js +0 -236
  646. package/vue/chunks/UiColorPicker.js +0 -375
  647. package/vue/chunks/UiCombobox.js +0 -2186
  648. package/vue/chunks/UiContainer.js +0 -122
  649. package/vue/chunks/UiContextMenu.js +0 -157
  650. package/vue/chunks/UiCover.js +0 -66
  651. package/vue/chunks/UiCurveEditor.js +0 -415
  652. package/vue/chunks/UiCycleButton.js +0 -352
  653. package/vue/chunks/UiDescriptionItem.js +0 -64
  654. package/vue/chunks/UiDescriptionList.js +0 -133
  655. package/vue/chunks/UiDialog.js +0 -367
  656. package/vue/chunks/UiDisclosure.js +0 -403
  657. package/vue/chunks/UiEditable.js +0 -436
  658. package/vue/chunks/UiEditorBlockActions.js +0 -157
  659. package/vue/chunks/UiEditorChipEditor.js +0 -191
  660. package/vue/chunks/UiEditorCodeLanguage.js +0 -181
  661. package/vue/chunks/UiEditorFootnoteEditor.js +0 -114
  662. package/vue/chunks/UiEditorImageToolbar.js +0 -531
  663. package/vue/chunks/UiEditorInsertTableGrid.js +0 -325
  664. package/vue/chunks/UiEditorLinkCard.js +0 -391
  665. package/vue/chunks/UiEditorLinkForm.js +0 -711
  666. package/vue/chunks/UiEditorMentionMenu.js +0 -618
  667. package/vue/chunks/UiEditorMentionMenuItem.js +0 -140
  668. package/vue/chunks/UiEditorSlashMenu.js +0 -555
  669. package/vue/chunks/UiEditorSlashMenuGroup.js +0 -78
  670. package/vue/chunks/UiEditorSlashMenuItem.js +0 -197
  671. package/vue/chunks/UiEditorSurface.js +0 -66
  672. package/vue/chunks/UiEditorTableContextMenu.js +0 -500
  673. package/vue/chunks/UiEditorTableOverlay.js +0 -987
  674. package/vue/chunks/UiEditorTableToolbar.js +0 -707
  675. package/vue/chunks/UiEditorToolbar.js +0 -103
  676. package/vue/chunks/UiFloatingActionButton.js +0 -123
  677. package/vue/chunks/UiFormField.js +0 -172
  678. package/vue/chunks/UiGrid.js +0 -127
  679. package/vue/chunks/UiIcon.js +0 -1361
  680. package/vue/chunks/UiIconButton.js +0 -469
  681. package/vue/chunks/UiImage.js +0 -312
  682. package/vue/chunks/UiInput.js +0 -709
  683. package/vue/chunks/UiInputGroup.js +0 -225
  684. package/vue/chunks/UiLightEditor.js +0 -365
  685. package/vue/chunks/UiList.js +0 -178
  686. package/vue/chunks/UiListItem.js +0 -219
  687. package/vue/chunks/UiListbox.js +0 -489
  688. package/vue/chunks/UiMenu.js +0 -286
  689. package/vue/chunks/UiMenuGroup.js +0 -75
  690. package/vue/chunks/UiMenuItem.js +0 -374
  691. package/vue/chunks/UiMeter.js +0 -540
  692. package/vue/chunks/UiNavItem.js +0 -380
  693. package/vue/chunks/UiNumberInput.js +0 -432
  694. package/vue/chunks/UiPageHeader.js +0 -100
  695. package/vue/chunks/UiPagination.js +0 -537
  696. package/vue/chunks/UiPopover.js +0 -243
  697. package/vue/chunks/UiRadio.js +0 -291
  698. package/vue/chunks/UiRadioGroup.js +0 -300
  699. package/vue/chunks/UiReel.js +0 -133
  700. package/vue/chunks/UiScrollArea.js +0 -219
  701. package/vue/chunks/UiSearchResultRow.js +0 -164
  702. package/vue/chunks/UiSearchShell.js +0 -215
  703. package/vue/chunks/UiSection.js +0 -228
  704. package/vue/chunks/UiSelect.js +0 -251
  705. package/vue/chunks/UiSeparator.js +0 -144
  706. package/vue/chunks/UiSidebar.js +0 -358
  707. package/vue/chunks/UiSiteHeader.js +0 -335
  708. package/vue/chunks/UiSkeleton.js +0 -183
  709. package/vue/chunks/UiSlider.js +0 -427
  710. package/vue/chunks/UiSpinner.js +0 -181
  711. package/vue/chunks/UiStack.js +0 -177
  712. package/vue/chunks/UiStatusMessage.js +0 -176
  713. package/vue/chunks/UiSwatch.js +0 -93
  714. package/vue/chunks/UiSwitch.js +0 -292
  715. package/vue/chunks/UiSwitcher.js +0 -194
  716. package/vue/chunks/UiTable.js +0 -128
  717. package/vue/chunks/UiTabs.js +0 -334
  718. package/vue/chunks/UiText.js +0 -747
  719. package/vue/chunks/UiTextarea.js +0 -313
  720. package/vue/chunks/UiToast.js +0 -174
  721. package/vue/chunks/UiToastRegion.js +0 -275
  722. package/vue/chunks/UiTooltip.js +0 -297
  723. package/vue/chunks/UiTopBar.js +0 -129
  724. package/vue/chunks/UiTree.js +0 -282
  725. package/vue/chunks/UiTreeItem.js +0 -699
  726. package/vue/chunks/_plugin-vue_export-helper.js +0 -1265
  727. package/vue/chunks/control.js +0 -214
  728. package/vue/chunks/props.js +0 -1228
  729. package/vue/components.css +0 -17545
  730. package/vue/editor/LoomaEditor.d.ts +0 -433
  731. package/vue/editor/compact/index.d.ts +0 -84
  732. package/vue/editor/compact/index.js +0 -2
  733. package/vue/editor/index.d.ts +0 -5
  734. package/vue/editor/index.js +0 -17281
  735. package/vue/editor/primitives.d.ts +0 -120
  736. package/vue/host.ts +0 -2272
  737. package/vue/index.d.ts +0 -94
  738. package/vue/index.js +0 -95
  739. package/vue/props.d.ts +0 -272
  740. /package/{vue → editor}/chunks/1c.js +0 -0
  741. /package/{vue → editor}/chunks/abnf.js +0 -0
  742. /package/{vue → editor}/chunks/accesslog.js +0 -0
  743. /package/{vue → editor}/chunks/actionscript.js +0 -0
  744. /package/{vue → editor}/chunks/ada.js +0 -0
  745. /package/{vue → editor}/chunks/angelscript.js +0 -0
  746. /package/{vue → editor}/chunks/apache.js +0 -0
  747. /package/{vue → editor}/chunks/applescript.js +0 -0
  748. /package/{vue → editor}/chunks/arcade.js +0 -0
  749. /package/{vue → editor}/chunks/arduino.js +0 -0
  750. /package/{vue → editor}/chunks/armasm.js +0 -0
  751. /package/{vue → editor}/chunks/asciidoc.js +0 -0
  752. /package/{vue → editor}/chunks/aspectj.js +0 -0
  753. /package/{vue → editor}/chunks/autohotkey.js +0 -0
  754. /package/{vue → editor}/chunks/autoit.js +0 -0
  755. /package/{vue → editor}/chunks/avrasm.js +0 -0
  756. /package/{vue → editor}/chunks/awk.js +0 -0
  757. /package/{vue → editor}/chunks/axapta.js +0 -0
  758. /package/{vue → editor}/chunks/bash.js +0 -0
  759. /package/{vue → editor}/chunks/basic.js +0 -0
  760. /package/{vue → editor}/chunks/bnf.js +0 -0
  761. /package/{vue → editor}/chunks/brainfuck.js +0 -0
  762. /package/{vue → editor}/chunks/c.js +0 -0
  763. /package/{vue → editor}/chunks/cal.js +0 -0
  764. /package/{vue → editor}/chunks/capnproto.js +0 -0
  765. /package/{vue → editor}/chunks/ceylon.js +0 -0
  766. /package/{vue → editor}/chunks/clean.js +0 -0
  767. /package/{vue → editor}/chunks/clojure-repl.js +0 -0
  768. /package/{vue → editor}/chunks/clojure.js +0 -0
  769. /package/{vue → editor}/chunks/cmake.js +0 -0
  770. /package/{vue → editor}/chunks/coffeescript.js +0 -0
  771. /package/{vue → editor}/chunks/coq.js +0 -0
  772. /package/{vue → editor}/chunks/cos.js +0 -0
  773. /package/{vue → editor}/chunks/cpp.js +0 -0
  774. /package/{vue → editor}/chunks/crmsh.js +0 -0
  775. /package/{vue → editor}/chunks/crystal.js +0 -0
  776. /package/{vue → editor}/chunks/csharp.js +0 -0
  777. /package/{vue → editor}/chunks/csp.js +0 -0
  778. /package/{vue → editor}/chunks/css.js +0 -0
  779. /package/{vue → editor}/chunks/d.js +0 -0
  780. /package/{vue → editor}/chunks/dart.js +0 -0
  781. /package/{vue → editor}/chunks/delphi.js +0 -0
  782. /package/{vue → editor}/chunks/diff.js +0 -0
  783. /package/{vue → editor}/chunks/django.js +0 -0
  784. /package/{vue → editor}/chunks/dns.js +0 -0
  785. /package/{vue → editor}/chunks/dockerfile.js +0 -0
  786. /package/{vue → editor}/chunks/dos.js +0 -0
  787. /package/{vue → editor}/chunks/dsconfig.js +0 -0
  788. /package/{vue → editor}/chunks/dts.js +0 -0
  789. /package/{vue → editor}/chunks/dust.js +0 -0
  790. /package/{vue → editor}/chunks/ebnf.js +0 -0
  791. /package/{vue → editor}/chunks/elixir.js +0 -0
  792. /package/{vue → editor}/chunks/elm.js +0 -0
  793. /package/{vue → editor}/chunks/erb.js +0 -0
  794. /package/{vue → editor}/chunks/erlang-repl.js +0 -0
  795. /package/{vue → editor}/chunks/erlang.js +0 -0
  796. /package/{vue → editor}/chunks/excel.js +0 -0
  797. /package/{vue → editor}/chunks/fix.js +0 -0
  798. /package/{vue → editor}/chunks/flix.js +0 -0
  799. /package/{vue → editor}/chunks/fortran.js +0 -0
  800. /package/{vue → editor}/chunks/fsharp.js +0 -0
  801. /package/{vue → editor}/chunks/gams.js +0 -0
  802. /package/{vue → editor}/chunks/gauss.js +0 -0
  803. /package/{vue → editor}/chunks/gcode.js +0 -0
  804. /package/{vue → editor}/chunks/gherkin.js +0 -0
  805. /package/{vue → editor}/chunks/glsl.js +0 -0
  806. /package/{vue → editor}/chunks/gml.js +0 -0
  807. /package/{vue → editor}/chunks/go.js +0 -0
  808. /package/{vue → editor}/chunks/golo.js +0 -0
  809. /package/{vue → editor}/chunks/gradle.js +0 -0
  810. /package/{vue → editor}/chunks/graphql.js +0 -0
  811. /package/{vue → editor}/chunks/groovy.js +0 -0
  812. /package/{vue → editor}/chunks/haml.js +0 -0
  813. /package/{vue → editor}/chunks/handlebars.js +0 -0
  814. /package/{vue → editor}/chunks/haskell.js +0 -0
  815. /package/{vue → editor}/chunks/haxe.js +0 -0
  816. /package/{vue → editor}/chunks/hsp.js +0 -0
  817. /package/{vue → editor}/chunks/http.js +0 -0
  818. /package/{vue → editor}/chunks/hy.js +0 -0
  819. /package/{vue → editor}/chunks/inform7.js +0 -0
  820. /package/{vue → editor}/chunks/ini.js +0 -0
  821. /package/{vue → editor}/chunks/irpf90.js +0 -0
  822. /package/{vue → editor}/chunks/isbl.js +0 -0
  823. /package/{vue → editor}/chunks/java.js +0 -0
  824. /package/{vue → editor}/chunks/javascript.js +0 -0
  825. /package/{vue → editor}/chunks/jboss-cli.js +0 -0
  826. /package/{vue → editor}/chunks/json.js +0 -0
  827. /package/{vue → editor}/chunks/julia-repl.js +0 -0
  828. /package/{vue → editor}/chunks/julia.js +0 -0
  829. /package/{vue → editor}/chunks/kotlin.js +0 -0
  830. /package/{vue → editor}/chunks/lasso.js +0 -0
  831. /package/{vue → editor}/chunks/latex.js +0 -0
  832. /package/{vue → editor}/chunks/ldif.js +0 -0
  833. /package/{vue → editor}/chunks/leaf.js +0 -0
  834. /package/{vue → editor}/chunks/less.js +0 -0
  835. /package/{vue → editor}/chunks/lisp.js +0 -0
  836. /package/{vue → editor}/chunks/livecodeserver.js +0 -0
  837. /package/{vue → editor}/chunks/livescript.js +0 -0
  838. /package/{vue → editor}/chunks/llvm.js +0 -0
  839. /package/{vue → editor}/chunks/lsl.js +0 -0
  840. /package/{vue → editor}/chunks/lua.js +0 -0
  841. /package/{vue → editor}/chunks/makefile.js +0 -0
  842. /package/{vue → editor}/chunks/markdown.js +0 -0
  843. /package/{vue → editor}/chunks/mathematica.js +0 -0
  844. /package/{vue → editor}/chunks/matlab.js +0 -0
  845. /package/{vue → editor}/chunks/maxima.js +0 -0
  846. /package/{vue → editor}/chunks/mel.js +0 -0
  847. /package/{vue → editor}/chunks/mercury.js +0 -0
  848. /package/{vue → editor}/chunks/mipsasm.js +0 -0
  849. /package/{vue → editor}/chunks/mizar.js +0 -0
  850. /package/{vue → editor}/chunks/mojolicious.js +0 -0
  851. /package/{vue → editor}/chunks/monkey.js +0 -0
  852. /package/{vue → editor}/chunks/moonscript.js +0 -0
  853. /package/{vue → editor}/chunks/n1ql.js +0 -0
  854. /package/{vue → editor}/chunks/nestedtext.js +0 -0
  855. /package/{vue → editor}/chunks/nginx.js +0 -0
  856. /package/{vue → editor}/chunks/nim.js +0 -0
  857. /package/{vue → editor}/chunks/nix.js +0 -0
  858. /package/{vue → editor}/chunks/node-repl.js +0 -0
  859. /package/{vue → editor}/chunks/nsis.js +0 -0
  860. /package/{vue → editor}/chunks/objectivec.js +0 -0
  861. /package/{vue → editor}/chunks/ocaml.js +0 -0
  862. /package/{vue → editor}/chunks/openscad.js +0 -0
  863. /package/{vue → editor}/chunks/oxygene.js +0 -0
  864. /package/{vue → editor}/chunks/parser3.js +0 -0
  865. /package/{vue → editor}/chunks/perl.js +0 -0
  866. /package/{vue → editor}/chunks/pf.js +0 -0
  867. /package/{vue → editor}/chunks/pgsql.js +0 -0
  868. /package/{vue → editor}/chunks/php-template.js +0 -0
  869. /package/{vue → editor}/chunks/php.js +0 -0
  870. /package/{vue → editor}/chunks/plaintext.js +0 -0
  871. /package/{vue → editor}/chunks/pony.js +0 -0
  872. /package/{vue → editor}/chunks/powershell.js +0 -0
  873. /package/{vue → editor}/chunks/processing.js +0 -0
  874. /package/{vue → editor}/chunks/profile.js +0 -0
  875. /package/{vue → editor}/chunks/prolog.js +0 -0
  876. /package/{vue → editor}/chunks/properties.js +0 -0
  877. /package/{vue → editor}/chunks/protobuf.js +0 -0
  878. /package/{vue → editor}/chunks/puppet.js +0 -0
  879. /package/{vue → editor}/chunks/purebasic.js +0 -0
  880. /package/{vue → editor}/chunks/python-repl.js +0 -0
  881. /package/{vue → editor}/chunks/python.js +0 -0
  882. /package/{vue → editor}/chunks/q.js +0 -0
  883. /package/{vue → editor}/chunks/qml.js +0 -0
  884. /package/{vue → editor}/chunks/r.js +0 -0
  885. /package/{vue → editor}/chunks/reasonml.js +0 -0
  886. /package/{vue → editor}/chunks/rib.js +0 -0
  887. /package/{vue → editor}/chunks/roboconf.js +0 -0
  888. /package/{vue → editor}/chunks/routeros.js +0 -0
  889. /package/{vue → editor}/chunks/rsl.js +0 -0
  890. /package/{vue → editor}/chunks/ruby.js +0 -0
  891. /package/{vue → editor}/chunks/ruleslanguage.js +0 -0
  892. /package/{vue → editor}/chunks/rust.js +0 -0
  893. /package/{vue → editor}/chunks/sas.js +0 -0
  894. /package/{vue → editor}/chunks/scala.js +0 -0
  895. /package/{vue → editor}/chunks/scheme.js +0 -0
  896. /package/{vue → editor}/chunks/scilab.js +0 -0
  897. /package/{vue → editor}/chunks/scss.js +0 -0
  898. /package/{vue → editor}/chunks/shell.js +0 -0
  899. /package/{vue → editor}/chunks/smali.js +0 -0
  900. /package/{vue → editor}/chunks/smalltalk.js +0 -0
  901. /package/{vue → editor}/chunks/sml.js +0 -0
  902. /package/{vue → editor}/chunks/sqf.js +0 -0
  903. /package/{vue → editor}/chunks/sql.js +0 -0
  904. /package/{vue → editor}/chunks/stan.js +0 -0
  905. /package/{vue → editor}/chunks/stata.js +0 -0
  906. /package/{vue → editor}/chunks/step21.js +0 -0
  907. /package/{vue → editor}/chunks/stylus.js +0 -0
  908. /package/{vue → editor}/chunks/subunit.js +0 -0
  909. /package/{vue → editor}/chunks/swift.js +0 -0
  910. /package/{vue → editor}/chunks/taggerscript.js +0 -0
  911. /package/{vue → editor}/chunks/tap.js +0 -0
  912. /package/{vue → editor}/chunks/tcl.js +0 -0
  913. /package/{vue → editor}/chunks/thrift.js +0 -0
  914. /package/{vue → editor}/chunks/tp.js +0 -0
  915. /package/{vue → editor}/chunks/twig.js +0 -0
  916. /package/{vue → editor}/chunks/typescript.js +0 -0
  917. /package/{vue → editor}/chunks/vala.js +0 -0
  918. /package/{vue → editor}/chunks/vbnet.js +0 -0
  919. /package/{vue → editor}/chunks/vbscript-html.js +0 -0
  920. /package/{vue → editor}/chunks/vbscript.js +0 -0
  921. /package/{vue → editor}/chunks/verilog.js +0 -0
  922. /package/{vue → editor}/chunks/vhdl.js +0 -0
  923. /package/{vue → editor}/chunks/vim.js +0 -0
  924. /package/{vue → editor}/chunks/wasm.js +0 -0
  925. /package/{vue → editor}/chunks/wren.js +0 -0
  926. /package/{vue → editor}/chunks/x86asm.js +0 -0
  927. /package/{vue → editor}/chunks/xl.js +0 -0
  928. /package/{vue → editor}/chunks/xml.js +0 -0
  929. /package/{vue → editor}/chunks/xquery.js +0 -0
  930. /package/{vue → editor}/chunks/yaml.js +0 -0
  931. /package/{vue → editor}/chunks/zephir.js +0 -0
  932. /package/{vue/editor/compact/extensions.d.ts → editor/compact-extensions.d.ts} +0 -0
@@ -1,881 +0,0 @@
1
- import { C as useReflectedProp, S as useComponentHost, _ as nativeAttrs, a as checkHydratedRoot, c as cycleCheckedComputed, i as attribute, o as concat, s as createDispatch, t as _plugin_vue_export_helper_default, y as preserveRootFocus } from "./_plugin-vue_export-helper.js";
2
- import { a as checkPropInput, d as inputRead, f as propValidityState, g as vuePropInputs, h as vPropValidity, l as inputComputed, t as BINDING_INPUTS_PROP } from "./props.js";
3
- import { t as UiIcon_default } from "./UiIcon.js";
4
- import { t as UiSpinner_default } from "./UiSpinner.js";
5
- import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
6
- //#region .build/vue/UiButton.vue?vue&type=script&setup=true&lang.ts
7
- var _hoisted_1 = [
8
- "data-appearance",
9
- "data-tone",
10
- "href",
11
- "target",
12
- "rel",
13
- "aria-disabled",
14
- "aria-busy",
15
- "tabindex",
16
- "data-ui-button-prop-align",
17
- "data-ui-button-prop-disabled",
18
- "data-ui-button-prop-href",
19
- "data-ui-button-prop-loading",
20
- "data-ui-button-prop-pending",
21
- "data-ui-button-prop-preset",
22
- "data-ui-button-prop-rel",
23
- "data-ui-button-prop-shape",
24
- "data-ui-button-prop-size",
25
- "data-ui-button-prop-square",
26
- "data-ui-button-prop-stretch",
27
- "data-ui-button-prop-target",
28
- "data-ui-button-prop-tone",
29
- "data-ui-button-prop-type",
30
- "data-ui-button-prop-variant",
31
- "data-ui-button-state"
32
- ];
33
- var _hoisted_2 = {
34
- class: "card-icon",
35
- "data-hn-ui-button": ""
36
- };
37
- var _hoisted_3 = {
38
- class: "card-content",
39
- "data-hn-ui-button": ""
40
- };
41
- var _hoisted_4 = {
42
- class: "card-action",
43
- "data-hn-ui-button": ""
44
- };
45
- var _hoisted_5 = [
46
- "data-appearance",
47
- "data-tone",
48
- "type",
49
- "disabled",
50
- "aria-disabled",
51
- "aria-busy",
52
- "data-ui-button-prop-align",
53
- "data-ui-button-prop-disabled",
54
- "data-ui-button-prop-href",
55
- "data-ui-button-prop-loading",
56
- "data-ui-button-prop-pending",
57
- "data-ui-button-prop-preset",
58
- "data-ui-button-prop-rel",
59
- "data-ui-button-prop-shape",
60
- "data-ui-button-prop-size",
61
- "data-ui-button-prop-square",
62
- "data-ui-button-prop-stretch",
63
- "data-ui-button-prop-target",
64
- "data-ui-button-prop-tone",
65
- "data-ui-button-prop-type",
66
- "data-ui-button-prop-variant",
67
- "data-ui-button-state"
68
- ];
69
- var _hoisted_6 = {
70
- class: "card-icon",
71
- "data-hn-ui-button": ""
72
- };
73
- var _hoisted_7 = {
74
- class: "card-content",
75
- "data-hn-ui-button": ""
76
- };
77
- var _hoisted_8 = {
78
- class: "card-action",
79
- "data-hn-ui-button": ""
80
- };
81
- var _hoisted_9 = [
82
- "data-appearance",
83
- "data-tone",
84
- "href",
85
- "target",
86
- "rel",
87
- "aria-disabled",
88
- "aria-busy",
89
- "tabindex",
90
- "data-ui-button-prop-align",
91
- "data-ui-button-prop-disabled",
92
- "data-ui-button-prop-href",
93
- "data-ui-button-prop-loading",
94
- "data-ui-button-prop-pending",
95
- "data-ui-button-prop-preset",
96
- "data-ui-button-prop-rel",
97
- "data-ui-button-prop-shape",
98
- "data-ui-button-prop-size",
99
- "data-ui-button-prop-square",
100
- "data-ui-button-prop-stretch",
101
- "data-ui-button-prop-target",
102
- "data-ui-button-prop-tone",
103
- "data-ui-button-prop-type",
104
- "data-ui-button-prop-variant",
105
- "data-ui-button-state"
106
- ];
107
- var _hoisted_10 = {
108
- key: 0,
109
- class: "spinner-wrap",
110
- "data-hn-ui-button": ""
111
- };
112
- var _hoisted_11 = {
113
- class: "label",
114
- "data-hn-ui-button": ""
115
- };
116
- var _hoisted_12 = {
117
- class: "badge",
118
- "data-hn-ui-button": ""
119
- };
120
- var _hoisted_13 = [
121
- "data-appearance",
122
- "data-tone",
123
- "type",
124
- "disabled",
125
- "aria-disabled",
126
- "aria-busy",
127
- "data-ui-button-prop-align",
128
- "data-ui-button-prop-disabled",
129
- "data-ui-button-prop-href",
130
- "data-ui-button-prop-loading",
131
- "data-ui-button-prop-pending",
132
- "data-ui-button-prop-preset",
133
- "data-ui-button-prop-rel",
134
- "data-ui-button-prop-shape",
135
- "data-ui-button-prop-size",
136
- "data-ui-button-prop-square",
137
- "data-ui-button-prop-stretch",
138
- "data-ui-button-prop-target",
139
- "data-ui-button-prop-tone",
140
- "data-ui-button-prop-type",
141
- "data-ui-button-prop-variant",
142
- "data-ui-button-state"
143
- ];
144
- var _hoisted_14 = {
145
- key: 0,
146
- class: "spinner-wrap",
147
- "data-hn-ui-button": ""
148
- };
149
- var _hoisted_15 = {
150
- class: "label",
151
- "data-hn-ui-button": ""
152
- };
153
- var _hoisted_16 = {
154
- class: "badge",
155
- "data-hn-ui-button": ""
156
- };
157
- //#endregion
158
- //#region .build/vue/UiButton.vue
159
- var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
160
- inheritAttrs: false,
161
- __name: "UiButton",
162
- props: {
163
- align: { type: null },
164
- disabled: { type: null },
165
- href: { type: null },
166
- loading: { type: null },
167
- pending: { type: null },
168
- preset: { type: null },
169
- rel: { type: null },
170
- shape: { type: null },
171
- size: { type: null },
172
- square: { type: null },
173
- stretch: { type: null },
174
- target: { type: null },
175
- tone: { type: null },
176
- type: { type: null },
177
- variant: { type: null },
178
- [BINDING_INPUTS_PROP]: { type: null }
179
- },
180
- setup(__props) {
181
- const propValidityContract = { props: {
182
- align: {
183
- type: {
184
- kind: "terminal",
185
- name: "keyword"
186
- },
187
- required: false,
188
- target: { attribute: "align" },
189
- description: "Content alignment. start lays the content out like a list option: from the start edge, with start-aligned text.",
190
- values: ["center", "start"],
191
- default: "center"
192
- },
193
- disabled: {
194
- type: {
195
- kind: "terminal",
196
- name: "boolean"
197
- },
198
- required: false,
199
- target: { attribute: "disabled" },
200
- description: "Makes the button unavailable: it cannot be pressed, uses a flat neutral palette, and loses its raised look. A disabled link (with href) drops its href and\n states aria-disabled=\"true\" instead, because a link has no native disabled state.",
201
- default: false
202
- },
203
- href: {
204
- type: {
205
- kind: "terminal",
206
- name: "string"
207
- },
208
- required: false,
209
- target: { attribute: "href" },
210
- description: "The link's destination. Supplying href automatically renders a native link instead of a button, including an empty href for the current document. A\n disabled link drops its href and states aria-disabled=\"true\", so it cannot be followed."
211
- },
212
- loading: {
213
- type: {
214
- kind: "terminal",
215
- name: "boolean"
216
- },
217
- required: false,
218
- target: { attribute: "loading" },
219
- description: "Keeps the action focusable and its label visible while work is in progress. It shows a decorative spinner, states aria-disabled and aria-busy, and prevents\n activation or form submission until cleared.",
220
- default: false
221
- },
222
- pending: {
223
- type: {
224
- kind: "terminal",
225
- name: "boolean"
226
- },
227
- required: false,
228
- target: { attribute: "pending" },
229
- description: "Deprecated alias for loading.",
230
- default: false
231
- },
232
- preset: {
233
- type: {
234
- kind: "terminal",
235
- name: "keyword"
236
- },
237
- required: false,
238
- target: { attribute: "preset" },
239
- description: "A shortcut that sets appearance and tone together: primary is solid accent, standard is solid neutral, quiet is ghost neutral, and destructive is solid\n danger. A named preset takes precedence over variant and tone. Leave it at none to choose variant and tone independently.",
240
- values: [
241
- "none",
242
- "primary",
243
- "standard",
244
- "quiet",
245
- "destructive"
246
- ],
247
- default: "none"
248
- },
249
- rel: {
250
- type: {
251
- kind: "terminal",
252
- name: "string"
253
- },
254
- required: false,
255
- target: { attribute: "rel" },
256
- description: "The link's relationship to its destination, as on a native link. Only meaningful with href."
257
- },
258
- shape: {
259
- type: {
260
- kind: "terminal",
261
- name: "keyword"
262
- },
263
- required: false,
264
- target: { attribute: "shape" },
265
- description: "rounded uses the theme's action radius; pill rounds the ends fully, for a compact choice such as a status or a person.",
266
- values: ["rounded", "pill"],
267
- default: "rounded"
268
- },
269
- size: {
270
- type: {
271
- kind: "terminal",
272
- name: "keyword"
273
- },
274
- required: false,
275
- target: { attribute: "size" },
276
- description: "Height, padding, and type size. xs is 1.5rem with the smallest text, for a control inside a line of small text; sm is the small control height (2rem by\n default) with tighter padding and smaller text, md is the standard control height (2.5rem), and lg is taller (3rem) with roomier padding. Visible sizes\n stay the same on touch. Inline xs and link actions can gain an adjustable invisible hit area.",
277
- values: [
278
- "xs",
279
- "sm",
280
- "md",
281
- "lg"
282
- ],
283
- default: "md"
284
- },
285
- square: {
286
- type: {
287
- kind: "terminal",
288
- name: "boolean"
289
- },
290
- required: false,
291
- target: { attribute: "square" },
292
- description: "Gives short labels and icons the same square minimum footprint at each size. Longer labels grow naturally. Applies to boxed actions; link and card variants\n keep their normal layout.",
293
- default: false
294
- },
295
- stretch: {
296
- type: {
297
- kind: "terminal",
298
- name: "boolean"
299
- },
300
- required: false,
301
- target: { attribute: "stretch" },
302
- description: "Fills the inline size of its container.",
303
- default: false
304
- },
305
- target: {
306
- type: {
307
- kind: "terminal",
308
- name: "string"
309
- },
310
- required: false,
311
- target: { attribute: "target" },
312
- description: "Where a link opens, as on a native link. Only meaningful with href."
313
- },
314
- tone: {
315
- type: {
316
- kind: "terminal",
317
- name: "keyword"
318
- },
319
- required: false,
320
- target: { attribute: "tone" },
321
- description: "Which colour the button speaks in. It applies to every variant, so an outline, a ghost, and a solid in the same tone are the same action at three volumes:\n tone=\"danger\" variant=\"outline\" is a destructive secondary action. neutral is the quiet one, for a button that should not claim a colour. The field\n variant always uses neutral field colors. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme,\n and unset families follow the primary accent.",
322
- values: [
323
- "accent",
324
- "accent-secondary",
325
- "accent-tertiary",
326
- "neutral",
327
- "danger",
328
- "success",
329
- "warning",
330
- "info"
331
- ],
332
- default: "neutral"
333
- },
334
- type: {
335
- type: {
336
- kind: "terminal",
337
- name: "keyword"
338
- },
339
- required: false,
340
- target: { attribute: "type" },
341
- description: "The button's type, as on a native button. button by default, so it never submits a form by accident. A link has no type.",
342
- values: [
343
- "button",
344
- "submit",
345
- "reset"
346
- ],
347
- default: "button"
348
- },
349
- variant: {
350
- type: {
351
- kind: "terminal",
352
- name: "keyword"
353
- },
354
- required: false,
355
- target: { attribute: "variant" },
356
- description: "Emphasis: how loudly the button asks. solid fills with its tone, outline draws its tone at the edge over a wash of it, ghost carries only text until it is\n hovered, and link is an inline text action that reads as a link. danger is solid in the danger tone, kept for the call sites that name it. card uses the\n same tone on a full-width action with an icon slot, wrapping content, and a centered action slot. field opens a custom value picker: it shares Select's\n quiet outline, neutral text and slightly raised surface, independently of action tone.",
357
- values: [
358
- "outline",
359
- "solid",
360
- "danger",
361
- "ghost",
362
- "link",
363
- "card",
364
- "field"
365
- ],
366
- default: "outline"
367
- }
368
- } };
369
- const props = __props;
370
- const inputTracking = vuePropInputs({
371
- align: "center",
372
- disabled: false,
373
- href: null,
374
- loading: false,
375
- pending: false,
376
- preset: "none",
377
- rel: null,
378
- shape: "rounded",
379
- size: "md",
380
- square: false,
381
- stretch: false,
382
- target: null,
383
- tone: "neutral",
384
- type: "button",
385
- variant: "outline"
386
- }, {
387
- align: "center",
388
- disabled: false,
389
- loading: false,
390
- pending: false,
391
- preset: "none",
392
- shape: "rounded",
393
- size: "md",
394
- square: false,
395
- stretch: false,
396
- tone: "neutral",
397
- type: "button",
398
- variant: "outline"
399
- }, (name, value, source, values) => {
400
- switch (name) {
401
- case "align": return checkPropInput(value, {
402
- kind: "terminal",
403
- name: "keyword"
404
- }, true, true);
405
- case "disabled": return checkPropInput(value, {
406
- kind: "terminal",
407
- name: "boolean"
408
- }, true, true);
409
- case "href": return checkPropInput(value, {
410
- kind: "terminal",
411
- name: "string"
412
- }, true, true);
413
- case "loading": return checkPropInput(value, {
414
- kind: "terminal",
415
- name: "boolean"
416
- }, true, true);
417
- case "pending": return checkPropInput(value, {
418
- kind: "terminal",
419
- name: "boolean"
420
- }, true, true);
421
- case "preset": return checkPropInput(value, {
422
- kind: "terminal",
423
- name: "keyword"
424
- }, true, true);
425
- case "rel": return checkPropInput(value, {
426
- kind: "terminal",
427
- name: "string"
428
- }, true, true);
429
- case "shape": return checkPropInput(value, {
430
- kind: "terminal",
431
- name: "keyword"
432
- }, true, true);
433
- case "size": return checkPropInput(value, {
434
- kind: "terminal",
435
- name: "keyword"
436
- }, true, true);
437
- case "square": return checkPropInput(value, {
438
- kind: "terminal",
439
- name: "boolean"
440
- }, true, true);
441
- case "stretch": return checkPropInput(value, {
442
- kind: "terminal",
443
- name: "boolean"
444
- }, true, true);
445
- case "target": return checkPropInput(value, {
446
- kind: "terminal",
447
- name: "string"
448
- }, true, true);
449
- case "tone": return checkPropInput(value, {
450
- kind: "terminal",
451
- name: "keyword"
452
- }, true, true);
453
- case "type": return checkPropInput(value, {
454
- kind: "terminal",
455
- name: "keyword"
456
- }, true, true);
457
- case "variant": return checkPropInput(value, {
458
- kind: "terminal",
459
- name: "keyword"
460
- }, true, true);
461
- default: return { ok: false };
462
- }
463
- }, () => {
464
- checkedProps.value;
465
- });
466
- const propInputs = inputTracking.inputs;
467
- const checkedProps = computed(() => {
468
- inputTracking.version.value;
469
- return {
470
- align: propInputs.value("align", props["align"], props[BINDING_INPUTS_PROP]),
471
- disabled: propInputs.value("disabled", props["disabled"], props[BINDING_INPUTS_PROP]),
472
- href: propInputs.value("href", props["href"], props[BINDING_INPUTS_PROP]),
473
- loading: propInputs.value("loading", props["loading"], props[BINDING_INPUTS_PROP]),
474
- pending: propInputs.value("pending", props["pending"], props[BINDING_INPUTS_PROP]),
475
- preset: propInputs.value("preset", props["preset"], props[BINDING_INPUTS_PROP]),
476
- rel: propInputs.value("rel", props["rel"], props[BINDING_INPUTS_PROP]),
477
- shape: propInputs.value("shape", props["shape"], props[BINDING_INPUTS_PROP]),
478
- size: propInputs.value("size", props["size"], props[BINDING_INPUTS_PROP]),
479
- square: propInputs.value("square", props["square"], props[BINDING_INPUTS_PROP]),
480
- stretch: propInputs.value("stretch", props["stretch"], props[BINDING_INPUTS_PROP]),
481
- target: propInputs.value("target", props["target"], props[BINDING_INPUTS_PROP]),
482
- tone: propInputs.value("tone", props["tone"], props[BINDING_INPUTS_PROP]),
483
- type: propInputs.value("type", props["type"], props[BINDING_INPUTS_PROP]),
484
- variant: propInputs.value("variant", props["variant"], props[BINDING_INPUTS_PROP])
485
- };
486
- });
487
- checkedProps.value;
488
- watchSyncEffect(() => {
489
- checkedProps.value;
490
- });
491
- const reflectedProp = useReflectedProp();
492
- const hydrationInstance = getCurrentInstance();
493
- const root = useTemplateRef("@html-next/root");
494
- preserveRootFocus(root);
495
- const appearance = inputComputed(() => ({
496
- none: inputRead(checkedProps.value.variant, propInputs.status("variant")),
497
- primary: "solid",
498
- standard: "solid",
499
- quiet: "ghost",
500
- destructive: "solid"
501
- })[inputRead(checkedProps.value.preset, propInputs.status("preset"))], (read) => {
502
- const value = cycleCheckedComputed(read);
503
- return { get: () => value.value };
504
- });
505
- let colorTonePrevious = null;
506
- const colorTone = inputComputed(() => {
507
- return ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])((() => {
508
- const value = {
509
- none: ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
510
- true: "danger",
511
- false: inputRead(checkedProps.value.tone, propInputs.status("tone"))
512
- }, concat(inputRead(checkedProps.value.variant, propInputs.status("variant")) === "danger")),
513
- primary: "accent",
514
- standard: "neutral",
515
- quiet: "neutral",
516
- destructive: "danger"
517
- };
518
- return Object.values(value).some((entry) => entry === Symbol.for("html-next.invalid-result")) ? Symbol.for("html-next.invalid-result") : value;
519
- })(), inputRead(checkedProps.value.preset, propInputs.status("preset")));
520
- }, (read) => {
521
- const value = cycleCheckedComputed(read);
522
- return { get: () => value.value };
523
- }, (next) => next === Symbol.for("html-next.invalid-result") ? colorTonePrevious : colorTonePrevious = next);
524
- let guardedPrevious = null;
525
- const guarded = computed(() => {
526
- if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
527
- true: null,
528
- false: checkedProps.value.href
529
- }, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending)) === Symbol.for("html-next.invalid-result")) return guardedPrevious;
530
- return guardedPrevious = attribute(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
531
- true: null,
532
- false: checkedProps.value.href
533
- }, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending)));
534
- });
535
- let guardedBindingPrevious = null;
536
- const guardedBinding = computed(() => {
537
- if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
538
- true: "true",
539
- false: null
540
- }, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending)) === Symbol.for("html-next.invalid-result")) return guardedBindingPrevious;
541
- return guardedBindingPrevious = typeof ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
542
- true: "true",
543
- false: null
544
- }, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending)) === "boolean" ? String(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
545
- true: "true",
546
- false: null
547
- }, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending))) : attribute(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
548
- true: "true",
549
- false: null
550
- }, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending)));
551
- });
552
- let guardedBinding2Previous = null;
553
- const guardedBinding2 = computed(() => {
554
- if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
555
- true: "0",
556
- false: null
557
- }, concat((checkedProps.value.loading || checkedProps.value.pending) && !checkedProps.value.disabled)) === Symbol.for("html-next.invalid-result")) return guardedBinding2Previous;
558
- return guardedBinding2Previous = attribute(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
559
- true: "0",
560
- false: null
561
- }, concat((checkedProps.value.loading || checkedProps.value.pending) && !checkedProps.value.disabled)));
562
- });
563
- let guardedBinding3Previous = null;
564
- const guardedBinding3 = computed(() => {
565
- if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
566
- true: "true",
567
- false: null
568
- }, concat(checkedProps.value.loading || checkedProps.value.pending)) === Symbol.for("html-next.invalid-result")) return guardedBinding3Previous;
569
- return guardedBinding3Previous = typeof ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
570
- true: "true",
571
- false: null
572
- }, concat(checkedProps.value.loading || checkedProps.value.pending)) === "boolean" ? String(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
573
- true: "true",
574
- false: null
575
- }, concat(checkedProps.value.loading || checkedProps.value.pending))) : attribute(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
576
- true: "true",
577
- false: null
578
- }, concat(checkedProps.value.loading || checkedProps.value.pending)));
579
- });
580
- let guardedBinding4Previous = null;
581
- const guardedBinding4 = computed(() => {
582
- if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
583
- true: null,
584
- false: checkedProps.value.href
585
- }, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending)) === Symbol.for("html-next.invalid-result")) return guardedBinding4Previous;
586
- return guardedBinding4Previous = attribute(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
587
- true: null,
588
- false: checkedProps.value.href
589
- }, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending)));
590
- });
591
- let guardedBinding5Previous = null;
592
- const guardedBinding5 = computed(() => {
593
- if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
594
- true: "true",
595
- false: null
596
- }, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending)) === Symbol.for("html-next.invalid-result")) return guardedBinding5Previous;
597
- return guardedBinding5Previous = typeof ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
598
- true: "true",
599
- false: null
600
- }, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending)) === "boolean" ? String(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
601
- true: "true",
602
- false: null
603
- }, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending))) : attribute(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
604
- true: "true",
605
- false: null
606
- }, concat(checkedProps.value.disabled || checkedProps.value.loading || checkedProps.value.pending)));
607
- });
608
- let guardedBinding6Previous = null;
609
- const guardedBinding6 = computed(() => {
610
- if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
611
- true: "0",
612
- false: null
613
- }, concat((checkedProps.value.loading || checkedProps.value.pending) && !checkedProps.value.disabled)) === Symbol.for("html-next.invalid-result")) return guardedBinding6Previous;
614
- return guardedBinding6Previous = attribute(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
615
- true: "0",
616
- false: null
617
- }, concat((checkedProps.value.loading || checkedProps.value.pending) && !checkedProps.value.disabled)));
618
- });
619
- let guardedBinding7Previous = null;
620
- const guardedBinding7 = computed(() => {
621
- if (((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
622
- true: "true",
623
- false: null
624
- }, concat(checkedProps.value.loading || checkedProps.value.pending)) === Symbol.for("html-next.invalid-result")) return guardedBinding7Previous;
625
- return guardedBinding7Previous = typeof ((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
626
- true: "true",
627
- false: null
628
- }, concat(checkedProps.value.loading || checkedProps.value.pending)) === "boolean" ? String(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
629
- true: "true",
630
- false: null
631
- }, concat(checkedProps.value.loading || checkedProps.value.pending))) : attribute(((objectValue, indexValue) => objectValue === Symbol.for("html-next.invalid-result") || indexValue === Symbol.for("html-next.invalid-result") ? Symbol.for("html-next.invalid-result") : objectValue[indexValue])({
632
- true: "true",
633
- false: null
634
- }, concat(checkedProps.value.loading || checkedProps.value.pending)));
635
- });
636
- checkHydratedRoot(appearance.get() === "card" && checkedProps.value.href !== null ? "a" : appearance.get() === "card" ? "button" : checkedProps.value.href !== null ? "a" : "button", "ui-button");
637
- /** The values the styles' :host() and :state() rules test. */
638
- const hostState = computed(() => [
639
- checkedProps.value.align && "align",
640
- checkedProps.value.align != null && `align=${encodeURIComponent(checkedProps.value.align)}`,
641
- checkedProps.value.stretch && "stretch",
642
- checkedProps.value.size && "size",
643
- checkedProps.value.size != null && `size=${encodeURIComponent(checkedProps.value.size)}`,
644
- checkedProps.value.shape && "shape",
645
- checkedProps.value.shape != null && `shape=${encodeURIComponent(checkedProps.value.shape)}`,
646
- checkedProps.value.square && "square",
647
- checkedProps.value.loading && "loading",
648
- checkedProps.value.pending && "pending"
649
- ].filter(Boolean).join(" "));
650
- const dispatch = createDispatch(root);
651
- useComponentHost(() => import("@threadlabs/looma/components/ui-button/ui-button.js"), {
652
- root,
653
- module: true,
654
- dispatch,
655
- controllerSource: {
656
- specifier: "../components/ui-button/ui-button.js",
657
- definition: "./components/ui-button/ui-button.html"
658
- },
659
- props: checkedProps,
660
- inputs: propInputs,
661
- inputTracking,
662
- propInputs: (name) => {
663
- const incoming = hydrationInstance?.vnode.props;
664
- const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
665
- return incoming !== null && incoming !== void 0 ? incoming[name] ?? incoming[kebab] ?? null : null;
666
- },
667
- propNames: [
668
- "align",
669
- "disabled",
670
- "href",
671
- "loading",
672
- "pending",
673
- "preset",
674
- "rel",
675
- "shape",
676
- "size",
677
- "square",
678
- "stretch",
679
- "target",
680
- "tone",
681
- "type",
682
- "variant"
683
- ],
684
- propValidity: (name) => propValidityState({
685
- contract: propValidityContract,
686
- values: { ...props }
687
- }, name),
688
- computed: {
689
- appearance,
690
- colorTone
691
- },
692
- availability: {
693
- appearance: () => appearance.status(),
694
- colorTone: () => colorTone.status()
695
- }
696
- });
697
- return (_ctx, _cache) => {
698
- return unref(appearance).get() === "card" && checkedProps.value.href !== null ? withDirectives((openBlock(), createElementBlock("a", mergeProps({
699
- key: 0,
700
- class: "ui-button"
701
- }, unref(nativeAttrs)(_ctx.$attrs), {
702
- "data-hn": "",
703
- "data-hn-ui-button": "",
704
- "data-appearance": unref(attribute)(unref(appearance).get()),
705
- "data-tone": unref(attribute)(unref(colorTone).get()),
706
- href: guarded.value,
707
- target: checkedProps.value.target ?? void 0,
708
- rel: checkedProps.value.rel ?? void 0,
709
- "aria-disabled": guardedBinding.value,
710
- "aria-busy": checkedProps.value.loading || checkedProps.value.pending,
711
- tabindex: guardedBinding2.value,
712
- "data-ui-button-prop-align": unref(reflectedProp)("align", "align", checkedProps.value.align, void 0, false),
713
- "data-ui-button-prop-disabled": unref(reflectedProp)("disabled", "disabled", checkedProps.value.disabled, void 0, false),
714
- "data-ui-button-prop-href": unref(reflectedProp)("href", "href", checkedProps.value.href, void 0, false),
715
- "data-ui-button-prop-loading": unref(reflectedProp)("loading", "loading", checkedProps.value.loading, void 0, false),
716
- "data-ui-button-prop-pending": unref(reflectedProp)("pending", "pending", checkedProps.value.pending, void 0, false),
717
- "data-ui-button-prop-preset": unref(reflectedProp)("preset", "preset", checkedProps.value.preset, void 0, false),
718
- "data-ui-button-prop-rel": unref(reflectedProp)("rel", "rel", checkedProps.value.rel, void 0, false),
719
- "data-ui-button-prop-shape": unref(reflectedProp)("shape", "shape", checkedProps.value.shape, void 0, false),
720
- "data-ui-button-prop-size": unref(reflectedProp)("size", "size", checkedProps.value.size, void 0, false),
721
- "data-ui-button-prop-square": unref(reflectedProp)("square", "square", checkedProps.value.square, void 0, false),
722
- "data-ui-button-prop-stretch": unref(reflectedProp)("stretch", "stretch", checkedProps.value.stretch, void 0, false),
723
- "data-ui-button-prop-target": unref(reflectedProp)("target", "target", checkedProps.value.target, void 0, false),
724
- "data-ui-button-prop-tone": unref(reflectedProp)("tone", "tone", checkedProps.value.tone, void 0, false),
725
- "data-ui-button-prop-type": unref(reflectedProp)("type", "type", checkedProps.value.type, void 0, false),
726
- "data-ui-button-prop-variant": unref(reflectedProp)("variant", "variant", checkedProps.value.variant, void 0, false),
727
- "data-ui-button-state": hostState.value || void 0,
728
- ref: "@html-next/root"
729
- }), [
730
- createElementVNode("span", _hoisted_2, [checkedProps.value.loading || checkedProps.value.pending ? (openBlock(), createBlock(UiSpinner_default, {
731
- key: 0,
732
- class: "ui-spinner",
733
- size: "sm"
734
- })) : createCommentVNode("v-if", true), !(checkedProps.value.loading || checkedProps.value.pending) ? renderSlot(_ctx.$slots, "icon", {}, void 0, true, 1) : createCommentVNode("v-if", true)]),
735
- _cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
736
- createElementVNode("span", _hoisted_3, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
737
- _cache[1] || (_cache[1] = createTextVNode(toDisplayString(" "), -1)),
738
- createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "action", {}, () => [createVNode(UiIcon_default, {
739
- class: "ui-icon",
740
- name: "chevron-right",
741
- "aria-hidden": "true"
742
- })], true)])
743
- ], 16, _hoisted_1)), [[unref(vPropValidity), {
744
- contract: propValidityContract,
745
- values: { ...props }
746
- }]]) : unref(appearance).get() === "card" ? withDirectives((openBlock(), createElementBlock("button", mergeProps({
747
- key: 1,
748
- class: "ui-button"
749
- }, unref(nativeAttrs)(_ctx.$attrs), {
750
- "data-hn": "",
751
- "data-hn-ui-button": "",
752
- "data-appearance": unref(attribute)(unref(appearance).get()),
753
- "data-tone": unref(attribute)(unref(colorTone).get()),
754
- type: checkedProps.value.type ?? void 0,
755
- disabled: checkedProps.value.disabled ?? void 0,
756
- "aria-disabled": guardedBinding3.value,
757
- "aria-busy": checkedProps.value.loading || checkedProps.value.pending,
758
- "data-ui-button-prop-align": unref(reflectedProp)("align", "align", checkedProps.value.align, void 0, false),
759
- "data-ui-button-prop-disabled": unref(reflectedProp)("disabled", "disabled", checkedProps.value.disabled, void 0, false),
760
- "data-ui-button-prop-href": unref(reflectedProp)("href", "href", checkedProps.value.href, void 0, false),
761
- "data-ui-button-prop-loading": unref(reflectedProp)("loading", "loading", checkedProps.value.loading, void 0, false),
762
- "data-ui-button-prop-pending": unref(reflectedProp)("pending", "pending", checkedProps.value.pending, void 0, false),
763
- "data-ui-button-prop-preset": unref(reflectedProp)("preset", "preset", checkedProps.value.preset, void 0, false),
764
- "data-ui-button-prop-rel": unref(reflectedProp)("rel", "rel", checkedProps.value.rel, void 0, false),
765
- "data-ui-button-prop-shape": unref(reflectedProp)("shape", "shape", checkedProps.value.shape, void 0, false),
766
- "data-ui-button-prop-size": unref(reflectedProp)("size", "size", checkedProps.value.size, void 0, false),
767
- "data-ui-button-prop-square": unref(reflectedProp)("square", "square", checkedProps.value.square, void 0, false),
768
- "data-ui-button-prop-stretch": unref(reflectedProp)("stretch", "stretch", checkedProps.value.stretch, void 0, false),
769
- "data-ui-button-prop-target": unref(reflectedProp)("target", "target", checkedProps.value.target, void 0, false),
770
- "data-ui-button-prop-tone": unref(reflectedProp)("tone", "tone", checkedProps.value.tone, void 0, false),
771
- "data-ui-button-prop-type": unref(reflectedProp)("type", "type", checkedProps.value.type, void 0, false),
772
- "data-ui-button-prop-variant": unref(reflectedProp)("variant", "variant", checkedProps.value.variant, void 0, false),
773
- "data-ui-button-state": hostState.value || void 0,
774
- ref: "@html-next/root"
775
- }), [
776
- createElementVNode("span", _hoisted_6, [checkedProps.value.loading || checkedProps.value.pending ? (openBlock(), createBlock(UiSpinner_default, {
777
- key: 0,
778
- class: "ui-spinner",
779
- size: "sm"
780
- })) : createCommentVNode("v-if", true), !(checkedProps.value.loading || checkedProps.value.pending) ? renderSlot(_ctx.$slots, "icon", {}, void 0, true, 1) : createCommentVNode("v-if", true)]),
781
- _cache[2] || (_cache[2] = createTextVNode(toDisplayString(" "), -1)),
782
- createElementVNode("span", _hoisted_7, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
783
- _cache[3] || (_cache[3] = createTextVNode(toDisplayString(" "), -1)),
784
- createElementVNode("span", _hoisted_8, [renderSlot(_ctx.$slots, "action", {}, () => [createVNode(UiIcon_default, {
785
- class: "ui-icon",
786
- name: "chevron-right",
787
- "aria-hidden": "true"
788
- })], true)])
789
- ], 16, _hoisted_5)), [[unref(vPropValidity), {
790
- contract: propValidityContract,
791
- values: { ...props }
792
- }]]) : checkedProps.value.href !== null ? withDirectives((openBlock(), createElementBlock("a", mergeProps({
793
- key: 2,
794
- class: "ui-button"
795
- }, unref(nativeAttrs)(_ctx.$attrs), {
796
- "data-hn": "",
797
- "data-hn-ui-button": "",
798
- "data-appearance": unref(attribute)(unref(appearance).get()),
799
- "data-tone": unref(attribute)(unref(colorTone).get()),
800
- href: guardedBinding4.value,
801
- target: checkedProps.value.target ?? void 0,
802
- rel: checkedProps.value.rel ?? void 0,
803
- "aria-disabled": guardedBinding5.value,
804
- "aria-busy": checkedProps.value.loading || checkedProps.value.pending,
805
- tabindex: guardedBinding6.value,
806
- "data-ui-button-prop-align": unref(reflectedProp)("align", "align", checkedProps.value.align, void 0, false),
807
- "data-ui-button-prop-disabled": unref(reflectedProp)("disabled", "disabled", checkedProps.value.disabled, void 0, false),
808
- "data-ui-button-prop-href": unref(reflectedProp)("href", "href", checkedProps.value.href, void 0, false),
809
- "data-ui-button-prop-loading": unref(reflectedProp)("loading", "loading", checkedProps.value.loading, void 0, false),
810
- "data-ui-button-prop-pending": unref(reflectedProp)("pending", "pending", checkedProps.value.pending, void 0, false),
811
- "data-ui-button-prop-preset": unref(reflectedProp)("preset", "preset", checkedProps.value.preset, void 0, false),
812
- "data-ui-button-prop-rel": unref(reflectedProp)("rel", "rel", checkedProps.value.rel, void 0, false),
813
- "data-ui-button-prop-shape": unref(reflectedProp)("shape", "shape", checkedProps.value.shape, void 0, false),
814
- "data-ui-button-prop-size": unref(reflectedProp)("size", "size", checkedProps.value.size, void 0, false),
815
- "data-ui-button-prop-square": unref(reflectedProp)("square", "square", checkedProps.value.square, void 0, false),
816
- "data-ui-button-prop-stretch": unref(reflectedProp)("stretch", "stretch", checkedProps.value.stretch, void 0, false),
817
- "data-ui-button-prop-target": unref(reflectedProp)("target", "target", checkedProps.value.target, void 0, false),
818
- "data-ui-button-prop-tone": unref(reflectedProp)("tone", "tone", checkedProps.value.tone, void 0, false),
819
- "data-ui-button-prop-type": unref(reflectedProp)("type", "type", checkedProps.value.type, void 0, false),
820
- "data-ui-button-prop-variant": unref(reflectedProp)("variant", "variant", checkedProps.value.variant, void 0, false),
821
- "data-ui-button-state": hostState.value || void 0,
822
- ref: "@html-next/root"
823
- }), [
824
- checkedProps.value.loading || checkedProps.value.pending ? (openBlock(), createElementBlock("span", _hoisted_10, [createVNode(UiSpinner_default, {
825
- class: "ui-spinner",
826
- size: "sm"
827
- })])) : createCommentVNode("v-if", true),
828
- _cache[4] || (_cache[4] = createTextVNode(toDisplayString(" "), -1)),
829
- createElementVNode("span", _hoisted_11, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
830
- _cache[5] || (_cache[5] = createTextVNode(toDisplayString(" "), -1)),
831
- createElementVNode("span", _hoisted_12, [renderSlot(_ctx.$slots, "badge", {}, void 0, true)])
832
- ], 16, _hoisted_9)), [[unref(vPropValidity), {
833
- contract: propValidityContract,
834
- values: { ...props }
835
- }]]) : withDirectives((openBlock(), createElementBlock("button", mergeProps({
836
- key: 3,
837
- class: "ui-button"
838
- }, unref(nativeAttrs)(_ctx.$attrs), {
839
- "data-hn": "",
840
- "data-hn-ui-button": "",
841
- "data-appearance": unref(attribute)(unref(appearance).get()),
842
- "data-tone": unref(attribute)(unref(colorTone).get()),
843
- type: checkedProps.value.type ?? void 0,
844
- disabled: checkedProps.value.disabled ?? void 0,
845
- "aria-disabled": guardedBinding7.value,
846
- "aria-busy": checkedProps.value.loading || checkedProps.value.pending,
847
- "data-ui-button-prop-align": unref(reflectedProp)("align", "align", checkedProps.value.align, void 0, false),
848
- "data-ui-button-prop-disabled": unref(reflectedProp)("disabled", "disabled", checkedProps.value.disabled, void 0, false),
849
- "data-ui-button-prop-href": unref(reflectedProp)("href", "href", checkedProps.value.href, void 0, false),
850
- "data-ui-button-prop-loading": unref(reflectedProp)("loading", "loading", checkedProps.value.loading, void 0, false),
851
- "data-ui-button-prop-pending": unref(reflectedProp)("pending", "pending", checkedProps.value.pending, void 0, false),
852
- "data-ui-button-prop-preset": unref(reflectedProp)("preset", "preset", checkedProps.value.preset, void 0, false),
853
- "data-ui-button-prop-rel": unref(reflectedProp)("rel", "rel", checkedProps.value.rel, void 0, false),
854
- "data-ui-button-prop-shape": unref(reflectedProp)("shape", "shape", checkedProps.value.shape, void 0, false),
855
- "data-ui-button-prop-size": unref(reflectedProp)("size", "size", checkedProps.value.size, void 0, false),
856
- "data-ui-button-prop-square": unref(reflectedProp)("square", "square", checkedProps.value.square, void 0, false),
857
- "data-ui-button-prop-stretch": unref(reflectedProp)("stretch", "stretch", checkedProps.value.stretch, void 0, false),
858
- "data-ui-button-prop-target": unref(reflectedProp)("target", "target", checkedProps.value.target, void 0, false),
859
- "data-ui-button-prop-tone": unref(reflectedProp)("tone", "tone", checkedProps.value.tone, void 0, false),
860
- "data-ui-button-prop-type": unref(reflectedProp)("type", "type", checkedProps.value.type, void 0, false),
861
- "data-ui-button-prop-variant": unref(reflectedProp)("variant", "variant", checkedProps.value.variant, void 0, false),
862
- "data-ui-button-state": hostState.value || void 0,
863
- ref: "@html-next/root"
864
- }), [
865
- checkedProps.value.loading || checkedProps.value.pending ? (openBlock(), createElementBlock("span", _hoisted_14, [createVNode(UiSpinner_default, {
866
- class: "ui-spinner",
867
- size: "sm"
868
- })])) : createCommentVNode("v-if", true),
869
- _cache[6] || (_cache[6] = createTextVNode(toDisplayString(" "), -1)),
870
- createElementVNode("span", _hoisted_15, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]),
871
- _cache[7] || (_cache[7] = createTextVNode(toDisplayString(" "), -1)),
872
- createElementVNode("span", _hoisted_16, [renderSlot(_ctx.$slots, "badge", {}, void 0, true)])
873
- ], 16, _hoisted_13)), [[unref(vPropValidity), {
874
- contract: propValidityContract,
875
- values: { ...props }
876
- }]]);
877
- };
878
- }
879
- }), [["__scopeId", "data-v-b387e0f5"]]);
880
- //#endregion
881
- export { UiButton_default as t };