@openreachtech/furo-vue 1.3.1

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 (310) hide show
  1. package/LICENSE +9 -0
  2. package/README.ja.md +334 -0
  3. package/README.md +333 -0
  4. package/index.js +11 -0
  5. package/lib/assets/css/furo/0010.variables-palette-color-scale.css +298 -0
  6. package/lib/assets/css/furo/0020.variables-z-index.css +10 -0
  7. package/lib/assets/css/furo/0030.variables-semantic-color.css +178 -0
  8. package/lib/assets/css/furo/0035.variables-semantic-dimension.css +104 -0
  9. package/lib/assets/css/furo/0040.variables-component-furo.css +28 -0
  10. package/lib/assets/css/furo/0050.furo-editor-content.css +22 -0
  11. package/lib/assets/css/furo.css +15 -0
  12. package/lib/components/atoms/FuroAvatar/FuroAvatar.vue +135 -0
  13. package/lib/components/atoms/FuroAvatar/FuroAvatarContext.js +147 -0
  14. package/lib/components/atoms/FuroBadge/FuroBadge.vue +240 -0
  15. package/lib/components/atoms/FuroBadge/FuroBadgeContext.js +298 -0
  16. package/lib/components/atoms/FuroButton/ButtonEmitPayload.js +44 -0
  17. package/lib/components/atoms/FuroButton/FuroButton.vue +301 -0
  18. package/lib/components/atoms/FuroButton/FuroButtonContext.js +328 -0
  19. package/lib/components/atoms/FuroCheckbox/CheckboxEmitPayload.js +106 -0
  20. package/lib/components/atoms/FuroCheckbox/FuroCheckbox.vue +173 -0
  21. package/lib/components/atoms/FuroCheckbox/FuroCheckboxContext.js +682 -0
  22. package/lib/components/atoms/FuroEmailField/EmailFieldEmitPayload.js +74 -0
  23. package/lib/components/atoms/FuroEmailField/FuroEmailField.vue +119 -0
  24. package/lib/components/atoms/FuroEmailField/FuroEmailFieldContext.js +311 -0
  25. package/lib/components/atoms/FuroFileField/FileFieldEmitPayload.js +80 -0
  26. package/lib/components/atoms/FuroFileField/FuroFileField.vue +128 -0
  27. package/lib/components/atoms/FuroFileField/FuroFileFieldContext.js +195 -0
  28. package/lib/components/atoms/FuroIcon/FuroIcon.vue +74 -0
  29. package/lib/components/atoms/FuroIcon/FuroIconContext.js +293 -0
  30. package/lib/components/atoms/FuroIcon/FuroIconRegistry.js +617 -0
  31. package/lib/components/atoms/FuroIcon/FuroIconifyRendererContext.js +101 -0
  32. package/lib/components/atoms/FuroIcon/furoIconData.js +164 -0
  33. package/lib/components/atoms/FuroIcon/iconRenderers.js +62 -0
  34. package/lib/components/atoms/FuroIcon/icons.js +7 -0
  35. package/lib/components/atoms/FuroNumberField/FuroNumberField.vue +213 -0
  36. package/lib/components/atoms/FuroNumberField/FuroNumberFieldContext.js +442 -0
  37. package/lib/components/atoms/FuroNumberField/NumberFieldEmitPayload.js +162 -0
  38. package/lib/components/atoms/FuroPasswordField/FuroPasswordField.vue +119 -0
  39. package/lib/components/atoms/FuroPasswordField/FuroPasswordFieldContext.js +311 -0
  40. package/lib/components/atoms/FuroPasswordField/PasswordFieldEmitPayload.js +74 -0
  41. package/lib/components/atoms/FuroRadio/FuroRadio.vue +193 -0
  42. package/lib/components/atoms/FuroRadio/FuroRadioContext.js +557 -0
  43. package/lib/components/atoms/FuroRadio/RadioEmitPayload.js +72 -0
  44. package/lib/components/atoms/FuroSwitch/FuroSwitch.vue +165 -0
  45. package/lib/components/atoms/FuroSwitch/FuroSwitchContext.js +440 -0
  46. package/lib/components/atoms/FuroSwitch/SwitchEmitPayload.js +86 -0
  47. package/lib/components/atoms/FuroTextField/FuroTextField.vue +119 -0
  48. package/lib/components/atoms/FuroTextField/FuroTextFieldContext.js +311 -0
  49. package/lib/components/atoms/FuroTextField/TextFieldEmitPayload.js +83 -0
  50. package/lib/components/atoms/FuroTextarea/FuroTextarea.vue +121 -0
  51. package/lib/components/atoms/FuroTextarea/FuroTextareaContext.js +322 -0
  52. package/lib/components/atoms/FuroTextarea/TextareaEmitPayload.js +83 -0
  53. package/lib/components/atoms/FuroToggle/FuroToggle.vue +172 -0
  54. package/lib/components/atoms/FuroToggle/FuroToggleContext.js +410 -0
  55. package/lib/components/atoms/FuroToggle/ToggleEmitPayload.js +86 -0
  56. package/lib/components/molecules/FuroAccordion/AccordionEmitPayload.js +80 -0
  57. package/lib/components/molecules/FuroAccordion/FuroAccordion.vue +219 -0
  58. package/lib/components/molecules/FuroAccordion/FuroAccordionContext.js +547 -0
  59. package/lib/components/molecules/FuroAttachment/FuroAttachment.vue +376 -0
  60. package/lib/components/molecules/FuroAttachment/FuroAttachmentContext.js +628 -0
  61. package/lib/components/molecules/FuroAutocompleteField/AutocompleteEmitPayload.js +225 -0
  62. package/lib/components/molecules/FuroAutocompleteField/FuroAutocompleteField.vue +669 -0
  63. package/lib/components/molecules/FuroAutocompleteField/FuroAutocompleteFieldContext.js +1525 -0
  64. package/lib/components/molecules/FuroAvatarGroup/FuroAvatarGroup.vue +126 -0
  65. package/lib/components/molecules/FuroAvatarGroup/FuroAvatarGroupContext.js +245 -0
  66. package/lib/components/molecules/FuroBreadcrumb/FuroBreadcrumb.vue +219 -0
  67. package/lib/components/molecules/FuroBreadcrumb/FuroBreadcrumbContext.js +257 -0
  68. package/lib/components/molecules/FuroCollapsible/CollapsibleEmitPayload.js +69 -0
  69. package/lib/components/molecules/FuroCollapsible/FuroCollapsible.vue +177 -0
  70. package/lib/components/molecules/FuroCollapsible/FuroCollapsibleContext.js +389 -0
  71. package/lib/components/molecules/FuroControlBlock/FuroControlBlock.vue +149 -0
  72. package/lib/components/molecules/FuroControlBlock/FuroControlBlockContext.js +81 -0
  73. package/lib/components/molecules/FuroDatePicker/DatePickerEmitPayload.js +74 -0
  74. package/lib/components/molecules/FuroDatePicker/FuroDatePicker.vue +661 -0
  75. package/lib/components/molecules/FuroDatePicker/FuroDatePickerContext.js +1038 -0
  76. package/lib/components/molecules/FuroDateTimePicker/DateTimePickerEmitPayload.js +96 -0
  77. package/lib/components/molecules/FuroDateTimePicker/FuroDateTimePicker.vue +153 -0
  78. package/lib/components/molecules/FuroDateTimePicker/FuroDateTimePickerContext.js +840 -0
  79. package/lib/components/molecules/FuroDropdownMenu/DropdownMenuOptionSelectEmitPayload.js +100 -0
  80. package/lib/components/molecules/FuroDropdownMenu/FuroDropdownMenu.vue +348 -0
  81. package/lib/components/molecules/FuroDropdownMenu/FuroDropdownMenuContext.js +714 -0
  82. package/lib/components/molecules/FuroDropdownMenu/FuroDropdownMenuOptionRows.vue +222 -0
  83. package/lib/components/molecules/FuroEditableField/EditableEmitPayload.js +89 -0
  84. package/lib/components/molecules/FuroEditableField/FuroEditableField.vue +314 -0
  85. package/lib/components/molecules/FuroEditableField/FuroEditableFieldContext.js +1018 -0
  86. package/lib/components/molecules/FuroEditableField/processors/EditorCollisionProcessor.js +236 -0
  87. package/lib/components/molecules/FuroEditableField/processors/ObjectProcessor.js +101 -0
  88. package/lib/components/molecules/FuroEmptyState/FuroEmptyState.vue +124 -0
  89. package/lib/components/molecules/FuroEmptyState/FuroEmptyStateContext.js +42 -0
  90. package/lib/components/molecules/FuroErrorState/FuroErrorState.vue +125 -0
  91. package/lib/components/molecules/FuroErrorState/FuroErrorStateContext.js +42 -0
  92. package/lib/components/molecules/FuroPagination/FuroPagination.vue +246 -0
  93. package/lib/components/molecules/FuroPagination/FuroPaginationContext.js +489 -0
  94. package/lib/components/molecules/FuroPopover/FuroPopover.vue +171 -0
  95. package/lib/components/molecules/FuroPopover/FuroPopoverContext.js +279 -0
  96. package/lib/components/molecules/FuroScrollArea/FuroScrollArea.vue +181 -0
  97. package/lib/components/molecules/FuroScrollArea/FuroScrollAreaContext.js +149 -0
  98. package/lib/components/molecules/FuroSearchField/FuroSearchField.vue +155 -0
  99. package/lib/components/molecules/FuroSearchField/FuroSearchFieldContext.js +231 -0
  100. package/lib/components/molecules/FuroSectionHeader/FuroSectionHeader.vue +140 -0
  101. package/lib/components/molecules/FuroSectionHeader/FuroSectionHeaderContext.js +204 -0
  102. package/lib/components/molecules/FuroSelect/FuroSelect.vue +474 -0
  103. package/lib/components/molecules/FuroSelect/FuroSelectContext.js +743 -0
  104. package/lib/components/molecules/FuroSelect/SelectEmitPayload.js +181 -0
  105. package/lib/components/molecules/FuroSeparator/FuroSeparator.vue +88 -0
  106. package/lib/components/molecules/FuroSeparator/FuroSeparatorContext.js +40 -0
  107. package/lib/components/molecules/FuroSkeleton/FuroSkeleton.vue +101 -0
  108. package/lib/components/molecules/FuroSkeleton/FuroSkeletonContext.js +82 -0
  109. package/lib/components/molecules/FuroSplitter/FuroSplitter.vue +237 -0
  110. package/lib/components/molecules/FuroSplitter/FuroSplitterContext.js +429 -0
  111. package/lib/components/molecules/FuroSplitter/SplitterEmitPayload.js +69 -0
  112. package/lib/components/molecules/FuroTimeField/FuroTimeField.vue +251 -0
  113. package/lib/components/molecules/FuroTimeField/FuroTimeFieldContext.js +1138 -0
  114. package/lib/components/molecules/FuroTimeField/TimeFieldEmitPayload.js +74 -0
  115. package/lib/components/molecules/FuroToggleGroup/FuroToggleGroup.vue +211 -0
  116. package/lib/components/molecules/FuroToggleGroup/FuroToggleGroupContext.js +551 -0
  117. package/lib/components/molecules/FuroToggleGroup/ToggleGroupEmitPayload.js +80 -0
  118. package/lib/components/molecules/FuroToolBar/FuroToolBar.vue +91 -0
  119. package/lib/components/molecules/FuroToolBar/FuroToolBarContext.js +75 -0
  120. package/lib/components/molecules/FuroTooltip/FuroTooltip.vue +183 -0
  121. package/lib/components/molecules/FuroTooltip/FuroTooltipContext.js +290 -0
  122. package/lib/components/organisms/FuroAlertDialog/FuroAlertDialog.vue +324 -0
  123. package/lib/components/organisms/FuroAlertDialog/FuroAlertDialogContext.js +608 -0
  124. package/lib/components/organisms/FuroDialog/FuroDialog.vue +362 -0
  125. package/lib/components/organisms/FuroDialog/FuroDialogContext.js +535 -0
  126. package/lib/components/organisms/FuroDrawer/FuroDrawer.vue +618 -0
  127. package/lib/components/organisms/FuroDrawer/FuroDrawerContext.js +676 -0
  128. package/lib/components/organisms/FuroEditor/FuroEditor.vue +613 -0
  129. package/lib/components/organisms/FuroEditor/FuroEditorCommandContext.js +420 -0
  130. package/lib/components/organisms/FuroEditor/FuroEditorContext.js +2048 -0
  131. package/lib/components/organisms/FuroEditor/FuroEditorMentionMenu.vue +120 -0
  132. package/lib/components/organisms/FuroEditor/FuroEditorMentionMenuContext.js +261 -0
  133. package/lib/components/organisms/FuroEditor/PreserveNewlinesPasteExtension.js +267 -0
  134. package/lib/components/organisms/FuroEditor/build-editor-extensions.js +97 -0
  135. package/lib/components/organisms/FuroEditor/mention-suggestion.js +320 -0
  136. package/lib/components/organisms/FuroEditor/paste-link-segments.js +124 -0
  137. package/lib/components/organisms/FuroSidebar/FuroSidebar.vue +473 -0
  138. package/lib/components/organisms/FuroSidebar/FuroSidebarContext.js +1014 -0
  139. package/lib/components/organisms/FuroStepper/FuroStepper.vue +345 -0
  140. package/lib/components/organisms/FuroStepper/FuroStepperContext.js +481 -0
  141. package/lib/components/organisms/FuroTable/FuroTable.vue +707 -0
  142. package/lib/components/organisms/FuroTable/FuroTableContext.js +1965 -0
  143. package/lib/components/organisms/FuroTable/FuroTableRowItemContext.js +111 -0
  144. package/lib/components/organisms/FuroTabs/FuroTabs.vue +403 -0
  145. package/lib/components/organisms/FuroTabs/FuroTabsContext.js +846 -0
  146. package/lib/components/organisms/FuroToast/FuroToast.vue +624 -0
  147. package/lib/components/organisms/FuroToast/FuroToastContext.js +1089 -0
  148. package/lib/components/organisms/FuroToast/FuroToaster.vue +44 -0
  149. package/lib/components/organisms/FuroToast/FuroToasterContext.js +113 -0
  150. package/lib/components/organisms/FuroToast/ToastQueue.js +325 -0
  151. package/lib/components/organisms/FuroToast/toast.js +64 -0
  152. package/lib/contexts/BaseFuroContext.js +318 -0
  153. package/lib/contexts/BaseFuroContextAccessor.js +47 -0
  154. package/lib/emit-payload/BaseEmitPayload.js +91 -0
  155. package/lib/index.components.js +61 -0
  156. package/lib/index.core.js +18 -0
  157. package/lib/tools/TimerClerk.js +75 -0
  158. package/nuxt/index.js +109 -0
  159. package/nuxt/runtime/furo-icon-renderer.js +24 -0
  160. package/package.json +137 -0
  161. package/public/furo-vue/components.json +4619 -0
  162. package/public/furo-vue/llms.txt +66 -0
  163. package/types/furo-nuxt.d.ts +48 -0
  164. package/types/generated/components/atoms/FuroAvatar/FuroAvatar.vue.d.ts +74 -0
  165. package/types/generated/components/atoms/FuroAvatar/FuroAvatarContext.d.ts +82 -0
  166. package/types/generated/components/atoms/FuroBadge/FuroBadge.vue.d.ts +12 -0
  167. package/types/generated/components/atoms/FuroBadge/FuroBadgeContext.d.ts +160 -0
  168. package/types/generated/components/atoms/FuroButton/ButtonEmitPayload.d.ts +19 -0
  169. package/types/generated/components/atoms/FuroButton/FuroButton.vue.d.ts +53 -0
  170. package/types/generated/components/atoms/FuroButton/FuroButtonContext.d.ts +156 -0
  171. package/types/generated/components/atoms/FuroCheckbox/CheckboxEmitPayload.d.ts +55 -0
  172. package/types/generated/components/atoms/FuroCheckbox/FuroCheckbox.vue.d.ts +87 -0
  173. package/types/generated/components/atoms/FuroCheckbox/FuroCheckboxContext.d.ts +342 -0
  174. package/types/generated/components/atoms/FuroEmailField/EmailFieldEmitPayload.d.ts +46 -0
  175. package/types/generated/components/atoms/FuroEmailField/FuroEmailField.vue.d.ts +458 -0
  176. package/types/generated/components/atoms/FuroEmailField/FuroEmailFieldContext.d.ts +161 -0
  177. package/types/generated/components/atoms/FuroFileField/FileFieldEmitPayload.d.ts +46 -0
  178. package/types/generated/components/atoms/FuroFileField/FuroFileField.vue.d.ts +454 -0
  179. package/types/generated/components/atoms/FuroFileField/FuroFileFieldContext.d.ts +109 -0
  180. package/types/generated/components/atoms/FuroIcon/FuroIcon.vue.d.ts +14 -0
  181. package/types/generated/components/atoms/FuroIcon/FuroIconContext.d.ts +152 -0
  182. package/types/generated/components/atoms/FuroIcon/FuroIconRegistry.d.ts +457 -0
  183. package/types/generated/components/atoms/FuroIcon/FuroIconifyRendererContext.d.ts +65 -0
  184. package/types/generated/components/atoms/FuroIcon/furoIconData.d.ts +154 -0
  185. package/types/generated/components/atoms/FuroIcon/iconRenderers.d.ts +6 -0
  186. package/types/generated/components/atoms/FuroIcon/icons.d.ts +6 -0
  187. package/types/generated/components/atoms/FuroNumberField/FuroNumberField.vue.d.ts +500 -0
  188. package/types/generated/components/atoms/FuroNumberField/FuroNumberFieldContext.d.ts +243 -0
  189. package/types/generated/components/atoms/FuroNumberField/NumberFieldEmitPayload.d.ts +74 -0
  190. package/types/generated/components/atoms/FuroPasswordField/FuroPasswordField.vue.d.ts +458 -0
  191. package/types/generated/components/atoms/FuroPasswordField/FuroPasswordFieldContext.d.ts +161 -0
  192. package/types/generated/components/atoms/FuroPasswordField/PasswordFieldEmitPayload.d.ts +46 -0
  193. package/types/generated/components/atoms/FuroRadio/FuroRadio.vue.d.ts +96 -0
  194. package/types/generated/components/atoms/FuroRadio/FuroRadioContext.d.ts +290 -0
  195. package/types/generated/components/atoms/FuroRadio/RadioEmitPayload.d.ts +39 -0
  196. package/types/generated/components/atoms/FuroSwitch/FuroSwitch.vue.d.ts +74 -0
  197. package/types/generated/components/atoms/FuroSwitch/FuroSwitchContext.d.ts +218 -0
  198. package/types/generated/components/atoms/FuroSwitch/SwitchEmitPayload.d.ts +42 -0
  199. package/types/generated/components/atoms/FuroTextField/FuroTextField.vue.d.ts +458 -0
  200. package/types/generated/components/atoms/FuroTextField/FuroTextFieldContext.d.ts +161 -0
  201. package/types/generated/components/atoms/FuroTextField/TextFieldEmitPayload.d.ts +52 -0
  202. package/types/generated/components/atoms/FuroTextarea/FuroTextarea.vue.d.ts +422 -0
  203. package/types/generated/components/atoms/FuroTextarea/FuroTextareaContext.d.ts +161 -0
  204. package/types/generated/components/atoms/FuroTextarea/TextareaEmitPayload.d.ts +52 -0
  205. package/types/generated/components/atoms/FuroToggle/FuroToggle.vue.d.ts +51 -0
  206. package/types/generated/components/atoms/FuroToggle/FuroToggleContext.d.ts +191 -0
  207. package/types/generated/components/atoms/FuroToggle/ToggleEmitPayload.d.ts +42 -0
  208. package/types/generated/components/molecules/FuroAccordion/AccordionEmitPayload.d.ts +41 -0
  209. package/types/generated/components/molecules/FuroAccordion/FuroAccordion.vue.d.ts +133 -0
  210. package/types/generated/components/molecules/FuroAccordion/FuroAccordionContext.d.ts +279 -0
  211. package/types/generated/components/molecules/FuroAttachment/FuroAttachment.vue.d.ts +79 -0
  212. package/types/generated/components/molecules/FuroAttachment/FuroAttachmentContext.d.ts +363 -0
  213. package/types/generated/components/molecules/FuroAutocompleteField/AutocompleteEmitPayload.d.ts +129 -0
  214. package/types/generated/components/molecules/FuroAutocompleteField/FuroAutocompleteField.vue.d.ts +751 -0
  215. package/types/generated/components/molecules/FuroAutocompleteField/FuroAutocompleteFieldContext.d.ts +722 -0
  216. package/types/generated/components/molecules/FuroAvatarGroup/FuroAvatarGroup.vue.d.ts +84 -0
  217. package/types/generated/components/molecules/FuroAvatarGroup/FuroAvatarGroupContext.d.ts +150 -0
  218. package/types/generated/components/molecules/FuroBreadcrumb/FuroBreadcrumb.vue.d.ts +24 -0
  219. package/types/generated/components/molecules/FuroBreadcrumb/FuroBreadcrumbContext.d.ts +152 -0
  220. package/types/generated/components/molecules/FuroCollapsible/CollapsibleEmitPayload.d.ts +36 -0
  221. package/types/generated/components/molecules/FuroCollapsible/FuroCollapsible.vue.d.ts +98 -0
  222. package/types/generated/components/molecules/FuroCollapsible/FuroCollapsibleContext.d.ts +191 -0
  223. package/types/generated/components/molecules/FuroControlBlock/FuroControlBlock.vue.d.ts +30 -0
  224. package/types/generated/components/molecules/FuroControlBlock/FuroControlBlockContext.d.ts +57 -0
  225. package/types/generated/components/molecules/FuroDatePicker/DatePickerEmitPayload.d.ts +41 -0
  226. package/types/generated/components/molecules/FuroDatePicker/FuroDatePicker.vue.d.ts +456 -0
  227. package/types/generated/components/molecules/FuroDatePicker/FuroDatePickerContext.d.ts +516 -0
  228. package/types/generated/components/molecules/FuroDateTimePicker/DateTimePickerEmitPayload.d.ts +55 -0
  229. package/types/generated/components/molecules/FuroDateTimePicker/FuroDateTimePicker.vue.d.ts +1365 -0
  230. package/types/generated/components/molecules/FuroDateTimePicker/FuroDateTimePickerContext.d.ts +435 -0
  231. package/types/generated/components/molecules/FuroDropdownMenu/DropdownMenuOptionSelectEmitPayload.d.ts +48 -0
  232. package/types/generated/components/molecules/FuroDropdownMenu/FuroDropdownMenu.vue.d.ts +773 -0
  233. package/types/generated/components/molecules/FuroDropdownMenu/FuroDropdownMenuContext.d.ts +380 -0
  234. package/types/generated/components/molecules/FuroDropdownMenu/FuroDropdownMenuOptionRows.vue.d.ts +261 -0
  235. package/types/generated/components/molecules/FuroEditableField/EditableEmitPayload.d.ts +39 -0
  236. package/types/generated/components/molecules/FuroEditableField/FuroEditableField.vue.d.ts +646 -0
  237. package/types/generated/components/molecules/FuroEditableField/FuroEditableFieldContext.d.ts +477 -0
  238. package/types/generated/components/molecules/FuroEditableField/processors/EditorCollisionProcessor.d.ts +121 -0
  239. package/types/generated/components/molecules/FuroEditableField/processors/ObjectProcessor.d.ts +45 -0
  240. package/types/generated/components/molecules/FuroEmptyState/FuroEmptyState.vue.d.ts +21 -0
  241. package/types/generated/components/molecules/FuroEmptyState/FuroEmptyStateContext.d.ts +32 -0
  242. package/types/generated/components/molecules/FuroErrorState/FuroErrorState.vue.d.ts +21 -0
  243. package/types/generated/components/molecules/FuroErrorState/FuroErrorStateContext.d.ts +32 -0
  244. package/types/generated/components/molecules/FuroPagination/FuroPagination.vue.d.ts +534 -0
  245. package/types/generated/components/molecules/FuroPagination/FuroPaginationContext.d.ts +271 -0
  246. package/types/generated/components/molecules/FuroPopover/FuroPopover.vue.d.ts +513 -0
  247. package/types/generated/components/molecules/FuroPopover/FuroPopoverContext.d.ts +160 -0
  248. package/types/generated/components/molecules/FuroScrollArea/FuroScrollArea.vue.d.ts +124 -0
  249. package/types/generated/components/molecules/FuroScrollArea/FuroScrollAreaContext.d.ts +86 -0
  250. package/types/generated/components/molecules/FuroSearchField/FuroSearchField.vue.d.ts +487 -0
  251. package/types/generated/components/molecules/FuroSearchField/FuroSearchFieldContext.d.ts +137 -0
  252. package/types/generated/components/molecules/FuroSectionHeader/FuroSectionHeader.vue.d.ts +49 -0
  253. package/types/generated/components/molecules/FuroSectionHeader/FuroSectionHeaderContext.d.ts +121 -0
  254. package/types/generated/components/molecules/FuroSelect/FuroSelect.vue.d.ts +719 -0
  255. package/types/generated/components/molecules/FuroSelect/FuroSelectContext.d.ts +402 -0
  256. package/types/generated/components/molecules/FuroSelect/SelectEmitPayload.d.ts +102 -0
  257. package/types/generated/components/molecules/FuroSeparator/FuroSeparator.vue.d.ts +39 -0
  258. package/types/generated/components/molecules/FuroSeparator/FuroSeparatorContext.d.ts +31 -0
  259. package/types/generated/components/molecules/FuroSkeleton/FuroSkeleton.vue.d.ts +27 -0
  260. package/types/generated/components/molecules/FuroSkeleton/FuroSkeletonContext.d.ts +61 -0
  261. package/types/generated/components/molecules/FuroSplitter/FuroSplitter.vue.d.ts +139 -0
  262. package/types/generated/components/molecules/FuroSplitter/FuroSplitterContext.d.ts +226 -0
  263. package/types/generated/components/molecules/FuroSplitter/SplitterEmitPayload.d.ts +41 -0
  264. package/types/generated/components/molecules/FuroTimeField/FuroTimeField.vue.d.ts +498 -0
  265. package/types/generated/components/molecules/FuroTimeField/FuroTimeFieldContext.d.ts +555 -0
  266. package/types/generated/components/molecules/FuroTimeField/TimeFieldEmitPayload.d.ts +41 -0
  267. package/types/generated/components/molecules/FuroToggleGroup/FuroToggleGroup.vue.d.ts +70 -0
  268. package/types/generated/components/molecules/FuroToggleGroup/FuroToggleGroupContext.d.ts +270 -0
  269. package/types/generated/components/molecules/FuroToggleGroup/ToggleGroupEmitPayload.d.ts +41 -0
  270. package/types/generated/components/molecules/FuroToolBar/FuroToolBar.vue.d.ts +30 -0
  271. package/types/generated/components/molecules/FuroToolBar/FuroToolBarContext.d.ts +48 -0
  272. package/types/generated/components/molecules/FuroTooltip/FuroTooltip.vue.d.ts +524 -0
  273. package/types/generated/components/molecules/FuroTooltip/FuroTooltipContext.d.ts +166 -0
  274. package/types/generated/components/organisms/FuroAlertDialog/FuroAlertDialog.vue.d.ts +651 -0
  275. package/types/generated/components/organisms/FuroAlertDialog/FuroAlertDialogContext.d.ts +299 -0
  276. package/types/generated/components/organisms/FuroDialog/FuroDialog.vue.d.ts +583 -0
  277. package/types/generated/components/organisms/FuroDialog/FuroDialogContext.d.ts +264 -0
  278. package/types/generated/components/organisms/FuroDrawer/FuroDrawer.vue.d.ts +635 -0
  279. package/types/generated/components/organisms/FuroDrawer/FuroDrawerContext.d.ts +347 -0
  280. package/types/generated/components/organisms/FuroEditor/FuroEditor.vue.d.ts +2487 -0
  281. package/types/generated/components/organisms/FuroEditor/FuroEditorCommandContext.d.ts +192 -0
  282. package/types/generated/components/organisms/FuroEditor/FuroEditorContext.d.ts +904 -0
  283. package/types/generated/components/organisms/FuroEditor/FuroEditorMentionMenu.vue.d.ts +43 -0
  284. package/types/generated/components/organisms/FuroEditor/FuroEditorMentionMenuContext.d.ts +159 -0
  285. package/types/generated/components/organisms/FuroEditor/PreserveNewlinesPasteExtension.d.ts +43 -0
  286. package/types/generated/components/organisms/FuroEditor/build-editor-extensions.d.ts +22 -0
  287. package/types/generated/components/organisms/FuroEditor/mention-suggestion.d.ts +25 -0
  288. package/types/generated/components/organisms/FuroEditor/paste-link-segments.d.ts +31 -0
  289. package/types/generated/components/organisms/FuroSidebar/FuroSidebar.vue.d.ts +898 -0
  290. package/types/generated/components/organisms/FuroSidebar/FuroSidebarContext.d.ts +596 -0
  291. package/types/generated/components/organisms/FuroStepper/FuroStepper.vue.d.ts +589 -0
  292. package/types/generated/components/organisms/FuroStepper/FuroStepperContext.d.ts +266 -0
  293. package/types/generated/components/organisms/FuroTable/FuroTable.vue.d.ts +528 -0
  294. package/types/generated/components/organisms/FuroTable/FuroTableContext.d.ts +1035 -0
  295. package/types/generated/components/organisms/FuroTable/FuroTableRowItemContext.d.ts +62 -0
  296. package/types/generated/components/organisms/FuroTabs/FuroTabs.vue.d.ts +515 -0
  297. package/types/generated/components/organisms/FuroTabs/FuroTabsContext.d.ts +438 -0
  298. package/types/generated/components/organisms/FuroToast/FuroToast.vue.d.ts +725 -0
  299. package/types/generated/components/organisms/FuroToast/FuroToastContext.d.ts +543 -0
  300. package/types/generated/components/organisms/FuroToast/FuroToaster.vue.d.ts +729 -0
  301. package/types/generated/components/organisms/FuroToast/FuroToasterContext.d.ts +62 -0
  302. package/types/generated/components/organisms/FuroToast/ToastQueue.d.ts +201 -0
  303. package/types/generated/components/organisms/FuroToast/toast.d.ts +23 -0
  304. package/types/generated/contexts/BaseFuroContext.d.ts +207 -0
  305. package/types/generated/contexts/BaseFuroContextAccessor.d.ts +28 -0
  306. package/types/generated/emit-payload/BaseEmitPayload.d.ts +62 -0
  307. package/types/generated/index.components.d.ts +50 -0
  308. package/types/generated/index.core.d.ts +6 -0
  309. package/types/generated/tools/TimerClerk.d.ts +50 -0
  310. package/types/index.d.ts +12 -0
@@ -0,0 +1,96 @@
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{
4
+ parcel?: import("./FuroRadioContext.js").FuroRadioParcel | null;
5
+ }, {
6
+ context: FuroRadioContext;
7
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ 'change-value': (payload: import("./RadioEmitPayload.js").default) => void;
9
+ 'update:value': (value: FuroRadioValue | null) => void;
10
+ }, string, import("vue").PublicProps, Readonly<{
11
+ parcel?: import("./FuroRadioContext.js").FuroRadioParcel | null;
12
+ }> & Readonly<{
13
+ "onChange-value"?: (payload: import("./RadioEmitPayload.js").default) => any;
14
+ "onUpdate:value"?: (value: import("./FuroRadioContext.js").FuroRadioValue) => any;
15
+ }>, {
16
+ parcel: import("./FuroRadioContext.js").FuroRadioParcel;
17
+ }, {}, {
18
+ RadioGroupRoot: {
19
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").RadioGroupRootProps> & Readonly<{
20
+ "onUpdate:modelValue"?: ((payload: import("reka-ui").AcceptableValue) => any) | undefined;
21
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ "update:modelValue": (payload: import("reka-ui").AcceptableValue) => any;
23
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
24
+ P: {};
25
+ B: {};
26
+ D: {};
27
+ C: {};
28
+ M: {};
29
+ Defaults: {};
30
+ }, Readonly<import("reka-ui").RadioGroupRootProps> & Readonly<{
31
+ "onUpdate:modelValue"?: ((payload: import("reka-ui").AcceptableValue) => any) | undefined;
32
+ }>, {}, {}, {}, {}, {}>;
33
+ __isFragment?: never;
34
+ __isTeleport?: never;
35
+ __isSuspense?: never;
36
+ } & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").RadioGroupRootProps> & Readonly<{
37
+ "onUpdate:modelValue"?: ((payload: import("reka-ui").AcceptableValue) => any) | undefined;
38
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
+ "update:modelValue": (payload: import("reka-ui").AcceptableValue) => any;
40
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
41
+ $slots: {
42
+ default?: (props: {
43
+ modelValue: import("reka-ui").AcceptableValue | undefined;
44
+ }) => any;
45
+ };
46
+ });
47
+ RadioGroupOption: {
48
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").RadioGroupItemProps> & Readonly<{
49
+ onSelect?: ((event: import("reka-ui").RadioGroupItemSelectEvent) => any) | undefined;
50
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
51
+ select: (event: import("reka-ui").RadioGroupItemSelectEvent) => any;
52
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
53
+ P: {};
54
+ B: {};
55
+ D: {};
56
+ C: {};
57
+ M: {};
58
+ Defaults: {};
59
+ }, Readonly<import("reka-ui").RadioGroupItemProps> & Readonly<{
60
+ onSelect?: ((event: import("reka-ui").RadioGroupItemSelectEvent) => any) | undefined;
61
+ }>, {}, {}, {}, {}, {}>;
62
+ __isFragment?: never;
63
+ __isTeleport?: never;
64
+ __isSuspense?: never;
65
+ } & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").RadioGroupItemProps> & Readonly<{
66
+ onSelect?: ((event: import("reka-ui").RadioGroupItemSelectEvent) => any) | undefined;
67
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
68
+ select: (event: import("reka-ui").RadioGroupItemSelectEvent) => any;
69
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
70
+ $slots: {
71
+ default?: (props: {
72
+ checked: boolean;
73
+ required: boolean;
74
+ disabled: boolean;
75
+ }) => any;
76
+ };
77
+ });
78
+ RadioGroupIndicator: {
79
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").RadioGroupIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
80
+ P: {};
81
+ B: {};
82
+ D: {};
83
+ C: {};
84
+ M: {};
85
+ Defaults: {};
86
+ }, Readonly<import("reka-ui").RadioGroupIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
87
+ __isFragment?: never;
88
+ __isTeleport?: never;
89
+ __isSuspense?: never;
90
+ } & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").RadioGroupIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
91
+ $slots: {
92
+ default?: (props: {}) => any;
93
+ };
94
+ });
95
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
96
+ import FuroRadioContext from './FuroRadioContext.js';
@@ -0,0 +1,290 @@
1
+ /**
2
+ * Context class for managing FuroRadio component.
3
+ *
4
+ * @extends {BaseFuroContext<null, Props, EmitEventName>}
5
+ */
6
+ export default class FuroRadioContext extends BaseFuroContext<null, Props, "CHANGE_VALUE" | "UPDATE_VALUE"> {
7
+ /**
8
+ * Factory method.
9
+ *
10
+ * @template {X extends typeof FuroRadioContext ? X : never} T, X
11
+ * @override
12
+ * @param {FuroRadioContextFactoryParams} params - Parameters of this factory method.
13
+ * @returns {InstanceType<T>} An instance of this class.
14
+ * @this {T}
15
+ */
16
+ static override create<T extends X extends typeof FuroRadioContext ? X : never, X>(this: T, { props, componentContext, refHash, }: FuroRadioContextFactoryParams): InstanceType<T>;
17
+ /**
18
+ * Build ref hash.
19
+ *
20
+ * @override
21
+ */
22
+ static override buildRefHash(): {
23
+ internalValueRef: import("vue").Ref<any, any>;
24
+ radioRootElementRef: import("vue").Ref<any, any>;
25
+ };
26
+ /**
27
+ * Get emit event name.
28
+ *
29
+ * @override
30
+ * @returns {Readonly<{
31
+ * CHANGE_VALUE: 'change-value'
32
+ * UPDATE_VALUE: 'update:value'
33
+ * }>}
34
+ */
35
+ static override get EMIT_EVENT_NAME(): Readonly<{
36
+ CHANGE_VALUE: "change-value";
37
+ UPDATE_VALUE: "update:value";
38
+ }>;
39
+ /**
40
+ * Get emit options.
41
+ *
42
+ * @returns {{
43
+ * 'change-value': (payload: import('./RadioEmitPayload.js').default) => void
44
+ * 'update:value': (value: FuroRadioValue | null) => void
45
+ * }}
46
+ */
47
+ static get EMIT_EVENT_HASH(): {
48
+ "change-value": (payload: import("./RadioEmitPayload.js").default) => void;
49
+ "update:value": (value: FuroRadioValue | null) => void;
50
+ };
51
+ /**
52
+ * Default control size (width and height of one radio circle).
53
+ *
54
+ * @returns {string}
55
+ */
56
+ static get DEFAULT_RADIO_SIZE(): string;
57
+ /**
58
+ * Indicator dot size as a fraction of control size.
59
+ *
60
+ * The design draws a dot of 8px inside a control of 18px.
61
+ *
62
+ * @returns {number}
63
+ */
64
+ static get RADIO_DOT_SIZE_RATIO(): number;
65
+ /**
66
+ * get: Constructor of `EmitPayload`.
67
+ *
68
+ * @returns {typeof RadioEmitPayload}
69
+ */
70
+ static get EmitPayloadCtor(): typeof RadioEmitPayload;
71
+ /**
72
+ * Constructor.
73
+ *
74
+ * @param {FuroRadioContextParams} params
75
+ */
76
+ constructor({ props, componentContext, refHash, }: FuroRadioContextParams);
77
+ refHash: {
78
+ internalValueRef: import("vue").Ref<FuroRadioValue | null>;
79
+ radioRootElementRef: import("vue").Ref<HTMLElement | null>;
80
+ };
81
+ /**
82
+ * get: Constructor of this class.
83
+ *
84
+ * @override
85
+ * @returns {typeof FuroRadioContext}
86
+ */
87
+ override get Ctor(): typeof FuroRadioContext;
88
+ /**
89
+ * Get the internal chosen-value ref.
90
+ *
91
+ * @returns {import('vue').Ref<FuroRadioValue | null>}
92
+ */
93
+ get internalValueRef(): import("vue").Ref<FuroRadioValue | null>;
94
+ /**
95
+ * Get radio group root element ref.
96
+ *
97
+ * @returns {import('vue').Ref<HTMLElement | null>}
98
+ */
99
+ get radioRootElementRef(): import("vue").Ref<HTMLElement | null>;
100
+ /**
101
+ * Whether the parent controls `parcel.value`.
102
+ *
103
+ * @returns {boolean}
104
+ */
105
+ isControlled(): boolean;
106
+ /**
107
+ * Resolve the chosen value from parcel or fallthrough attrs.
108
+ *
109
+ * @returns {FuroRadioValue | null}
110
+ */
111
+ resolveSyncedValue(): FuroRadioValue | null;
112
+ /**
113
+ * Extract the options the group renders.
114
+ *
115
+ * @returns {Array<FuroRadioOption>}
116
+ */
117
+ extractOptions(): Array<FuroRadioOption>;
118
+ /**
119
+ * Whether the group is invalid.
120
+ *
121
+ * @returns {boolean}
122
+ */
123
+ isInvalid(): boolean;
124
+ /**
125
+ * Whether the whole group is disabled.
126
+ *
127
+ * @returns {boolean}
128
+ */
129
+ isDisabled(): boolean;
130
+ /**
131
+ * Whether the group is required.
132
+ *
133
+ * @returns {boolean}
134
+ */
135
+ isRequired(): boolean;
136
+ /**
137
+ * Whether one option is disabled.
138
+ *
139
+ * An option follows the group when it says nothing of its own.
140
+ *
141
+ * @param {{
142
+ * option: FuroRadioOption
143
+ * }} params - Parameters.
144
+ * @returns {boolean}
145
+ */
146
+ isOptionDisabled({ option, }: {
147
+ option: FuroRadioOption;
148
+ }): boolean;
149
+ /**
150
+ * Whether one option is the chosen one.
151
+ *
152
+ * @param {{
153
+ * option: FuroRadioOption
154
+ * }} params - Parameters.
155
+ * @returns {boolean}
156
+ */
157
+ isOptionSelected({ option, }: {
158
+ option: FuroRadioOption;
159
+ }): boolean;
160
+ /**
161
+ * Parse a simple CSS length (`rem`, `px`, `em`).
162
+ *
163
+ * @param {{
164
+ * length: string
165
+ * }} params - Parameters.
166
+ * @returns {{ amount: number, unit: string } | null}
167
+ */
168
+ parseCssLength({ length, }: {
169
+ length: string;
170
+ }): {
171
+ amount: number;
172
+ unit: string;
173
+ } | null;
174
+ /**
175
+ * Extract indicator dot size proportional to control size.
176
+ *
177
+ * @returns {string}
178
+ */
179
+ extractRadioDotSize(): string;
180
+ /**
181
+ * Extract the dot size derived from the default control size.
182
+ *
183
+ * @returns {string}
184
+ */
185
+ extractDefaultRadioDotSize(): string;
186
+ /**
187
+ * Extract inline style for radio dimensions (CSS custom properties).
188
+ *
189
+ * @returns {{
190
+ * '--furo-radio-size': string
191
+ * '--furo-radio-dot-size': string
192
+ * }}
193
+ */
194
+ extractRadioRootStyle(): {
195
+ "--furo-radio-size": string;
196
+ "--furo-radio-dot-size": string;
197
+ };
198
+ /**
199
+ * Extract root attributes forwarded to the underlying group root.
200
+ *
201
+ * @returns {Record<string, unknown>}
202
+ */
203
+ extractRootAttributes(): Record<string, unknown>;
204
+ /**
205
+ * Build a custom event for radio value changes.
206
+ *
207
+ * @param {{
208
+ * name: string
209
+ * value: FuroRadioValue | null
210
+ * }} params - Parameters.
211
+ * @returns {import('./RadioEmitPayload.js').RadioRawEvent}
212
+ */
213
+ buildCustomEvent({ name, value, }: {
214
+ name: string;
215
+ value: FuroRadioValue | null;
216
+ }): import("./RadioEmitPayload.js").RadioRawEvent;
217
+ /**
218
+ * Setup component context.
219
+ *
220
+ * @template {X extends FuroRadioContext ? X : never} T, X
221
+ * @override
222
+ * @returns {T} - For method chaining.
223
+ * @this {T}
224
+ */
225
+ override setupComponent<T extends X extends FuroRadioContext ? X : never, X>(this: T): T;
226
+ /**
227
+ * Handle a value update emitted by the underlying group root.
228
+ *
229
+ * @param {{
230
+ * rawValue: FuroRadioValue | null
231
+ * }} params - Parameters.
232
+ */
233
+ onChangeValue({ rawValue, }: {
234
+ rawValue: FuroRadioValue | null;
235
+ }): void;
236
+ /**
237
+ * Apply an interaction result to the internal chosen value.
238
+ *
239
+ * A controlled group only follows its parent, never its own interaction.
240
+ *
241
+ * @param {{
242
+ * value: FuroRadioValue | null
243
+ * }} params - Parameters.
244
+ */
245
+ applyInternalValue({ value, }: {
246
+ value: FuroRadioValue | null;
247
+ }): void;
248
+ }
249
+ export type FuroRadioContextParams = import("../../../contexts/BaseFuroContext.js").BaseFuroContextParams & {
250
+ props: Props;
251
+ componentContext: ComponentContext;
252
+ refHash: {
253
+ internalValueRef: import("vue").Ref<FuroRadioValue | null>;
254
+ radioRootElementRef: import("vue").Ref<HTMLElement | null>;
255
+ };
256
+ };
257
+ export type FuroRadioContextFactoryParams = Omit<FuroRadioContextParams, "refHash"> & {
258
+ refHash?: {
259
+ internalValueRef: import("vue").Ref<FuroRadioValue | null>;
260
+ radioRootElementRef: import("vue").Ref<HTMLElement | null>;
261
+ };
262
+ };
263
+ export type EmitEventName = keyof typeof FuroRadioContext.EMIT_EVENT_NAME;
264
+ /**
265
+ * Public chosen model (`v-model:value`, `parcel.value`).
266
+ */
267
+ export type FuroRadioValue = string | number;
268
+ export type FuroRadioOption = {
269
+ label: string;
270
+ value: FuroRadioValue;
271
+ disabled?: boolean;
272
+ };
273
+ export type Props = {
274
+ parcel?: FuroRadioParcel | null;
275
+ };
276
+ export type FuroRadioParcel = {
277
+ value?: FuroRadioValue | null;
278
+ options?: Array<FuroRadioOption>;
279
+ invalid?: boolean;
280
+ disabled?: boolean;
281
+ required?: boolean;
282
+ size?: string;
283
+ };
284
+ export type ComponentContext = import("vue").SetupContext<typeof FuroRadioContext.EMIT_EVENT_HASH>;
285
+ export type FuroRadioEmitHash = typeof FuroRadioContext.EMIT_EVENT_HASH;
286
+ export type FuroRadioSetup = (props: Props, componentContext: ComponentContext) => {
287
+ context: FuroRadioContext;
288
+ };
289
+ import BaseFuroContext from '../../../contexts/BaseFuroContext.js';
290
+ import RadioEmitPayload from './RadioEmitPayload.js';
@@ -0,0 +1,39 @@
1
+ /**
2
+ * RadioEmitPayload.
3
+ *
4
+ * @extends {BaseEmitPayload<RadioRawEvent, HTMLElement>}
5
+ */
6
+ export default class RadioEmitPayload extends BaseEmitPayload<RadioRawEvent, HTMLElement> {
7
+ constructor({ rawEvent, }: import("../../../emit-payload/BaseEmitPayload.js").BaseEmitPayloadParams<RadioRawEvent>);
8
+ /**
9
+ * Get the event detail.
10
+ *
11
+ * @returns {RadioRawEvent['detail'] | null}
12
+ */
13
+ get eventDetail(): RadioRawEvent["detail"] | null;
14
+ /**
15
+ * Value of the option chosen by the change.
16
+ *
17
+ * @returns {FuroRadioValue | null}
18
+ */
19
+ get value(): FuroRadioValue | null;
20
+ /**
21
+ * Whether an option is chosen after the change.
22
+ *
23
+ * A group with nothing chosen reports a null value, which is distinct from an
24
+ * option whose own value is null.
25
+ *
26
+ * @returns {boolean}
27
+ */
28
+ isSelected(): boolean;
29
+ }
30
+ export type FuroRadioValue = import("./FuroRadioContext.js").FuroRadioValue;
31
+ export type RadioEmitPayloadParams = {
32
+ rawEvent: RadioRawEvent;
33
+ };
34
+ export type RadioRawEvent = CustomEvent<{
35
+ target: HTMLElement | null;
36
+ value: FuroRadioValue | null;
37
+ }>;
38
+ export type RadioEmitPayloadFactoryParams = RadioEmitPayloadParams;
39
+ import BaseEmitPayload from '../../../emit-payload/BaseEmitPayload.js';
@@ -0,0 +1,74 @@
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import("vue").DefineComponent<{
4
+ parcel?: import("./FuroSwitchContext.js").FuroSwitchParcel | null;
5
+ }, {
6
+ context: FuroSwitchContext;
7
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ 'change-value': (payload: import("./SwitchEmitPayload.js").default) => void;
9
+ 'update:value': (value: FuroSwitchValue) => void;
10
+ }, string, import("vue").PublicProps, Readonly<{
11
+ parcel?: import("./FuroSwitchContext.js").FuroSwitchParcel | null;
12
+ }> & Readonly<{
13
+ "onChange-value"?: (payload: import("./SwitchEmitPayload.js").default) => any;
14
+ "onUpdate:value"?: (value: boolean) => any;
15
+ }>, {
16
+ parcel: import("./FuroSwitchContext.js").FuroSwitchParcel;
17
+ }, {}, {
18
+ SwitchRoot: <T = boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
19
+ attrs: any;
20
+ slots: {
21
+ default?: (props: {
22
+ modelValue: T;
23
+ checked: boolean;
24
+ }) => any;
25
+ };
26
+ emit: (evt: "update:modelValue", payload: T) => void;
27
+ }, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
28
+ props: import("vue").PublicProps & {
29
+ defaultValue?: T;
30
+ modelValue?: T;
31
+ disabled?: boolean;
32
+ id?: string;
33
+ value?: string;
34
+ trueValue?: T;
35
+ falseValue?: T;
36
+ asChild?: boolean;
37
+ as?: import("reka-ui").AsTag | import("vue").Component;
38
+ name?: string;
39
+ required?: boolean;
40
+ "onUpdate:modelValue"?: ((payload: T) => any) | undefined;
41
+ } & (typeof globalThis extends {
42
+ __VLS_PROPS_FALLBACK: infer P;
43
+ } ? P : {});
44
+ expose: (exposed: {}) => void;
45
+ attrs: any;
46
+ slots: {
47
+ default?: (props: {
48
+ modelValue: T;
49
+ checked: boolean;
50
+ }) => any;
51
+ };
52
+ emit: (evt: "update:modelValue", payload: T) => void;
53
+ }>) => import("vue").VNode & {
54
+ __ctx?: Awaited<typeof __VLS_setup>;
55
+ };
56
+ SwitchThumb: {
57
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("reka-ui").SwitchThumbProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
58
+ P: {};
59
+ B: {};
60
+ D: {};
61
+ C: {};
62
+ M: {};
63
+ Defaults: {};
64
+ }, Readonly<import("reka-ui").SwitchThumbProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
65
+ __isFragment?: never;
66
+ __isTeleport?: never;
67
+ __isSuspense?: never;
68
+ } & import("vue").ComponentOptionsBase<Readonly<import("reka-ui").SwitchThumbProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
69
+ $slots: {
70
+ default?: (props: {}) => any;
71
+ };
72
+ });
73
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
74
+ import FuroSwitchContext from './FuroSwitchContext.js';