@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.
- package/LICENSE +9 -0
- package/README.ja.md +334 -0
- package/README.md +333 -0
- package/index.js +11 -0
- package/lib/assets/css/furo/0010.variables-palette-color-scale.css +298 -0
- package/lib/assets/css/furo/0020.variables-z-index.css +10 -0
- package/lib/assets/css/furo/0030.variables-semantic-color.css +178 -0
- package/lib/assets/css/furo/0035.variables-semantic-dimension.css +104 -0
- package/lib/assets/css/furo/0040.variables-component-furo.css +28 -0
- package/lib/assets/css/furo/0050.furo-editor-content.css +22 -0
- package/lib/assets/css/furo.css +15 -0
- package/lib/components/atoms/FuroAvatar/FuroAvatar.vue +135 -0
- package/lib/components/atoms/FuroAvatar/FuroAvatarContext.js +147 -0
- package/lib/components/atoms/FuroBadge/FuroBadge.vue +240 -0
- package/lib/components/atoms/FuroBadge/FuroBadgeContext.js +298 -0
- package/lib/components/atoms/FuroButton/ButtonEmitPayload.js +44 -0
- package/lib/components/atoms/FuroButton/FuroButton.vue +301 -0
- package/lib/components/atoms/FuroButton/FuroButtonContext.js +328 -0
- package/lib/components/atoms/FuroCheckbox/CheckboxEmitPayload.js +106 -0
- package/lib/components/atoms/FuroCheckbox/FuroCheckbox.vue +173 -0
- package/lib/components/atoms/FuroCheckbox/FuroCheckboxContext.js +682 -0
- package/lib/components/atoms/FuroEmailField/EmailFieldEmitPayload.js +74 -0
- package/lib/components/atoms/FuroEmailField/FuroEmailField.vue +119 -0
- package/lib/components/atoms/FuroEmailField/FuroEmailFieldContext.js +311 -0
- package/lib/components/atoms/FuroFileField/FileFieldEmitPayload.js +80 -0
- package/lib/components/atoms/FuroFileField/FuroFileField.vue +128 -0
- package/lib/components/atoms/FuroFileField/FuroFileFieldContext.js +195 -0
- package/lib/components/atoms/FuroIcon/FuroIcon.vue +74 -0
- package/lib/components/atoms/FuroIcon/FuroIconContext.js +293 -0
- package/lib/components/atoms/FuroIcon/FuroIconRegistry.js +617 -0
- package/lib/components/atoms/FuroIcon/FuroIconifyRendererContext.js +101 -0
- package/lib/components/atoms/FuroIcon/furoIconData.js +164 -0
- package/lib/components/atoms/FuroIcon/iconRenderers.js +62 -0
- package/lib/components/atoms/FuroIcon/icons.js +7 -0
- package/lib/components/atoms/FuroNumberField/FuroNumberField.vue +213 -0
- package/lib/components/atoms/FuroNumberField/FuroNumberFieldContext.js +442 -0
- package/lib/components/atoms/FuroNumberField/NumberFieldEmitPayload.js +162 -0
- package/lib/components/atoms/FuroPasswordField/FuroPasswordField.vue +119 -0
- package/lib/components/atoms/FuroPasswordField/FuroPasswordFieldContext.js +311 -0
- package/lib/components/atoms/FuroPasswordField/PasswordFieldEmitPayload.js +74 -0
- package/lib/components/atoms/FuroRadio/FuroRadio.vue +193 -0
- package/lib/components/atoms/FuroRadio/FuroRadioContext.js +557 -0
- package/lib/components/atoms/FuroRadio/RadioEmitPayload.js +72 -0
- package/lib/components/atoms/FuroSwitch/FuroSwitch.vue +165 -0
- package/lib/components/atoms/FuroSwitch/FuroSwitchContext.js +440 -0
- package/lib/components/atoms/FuroSwitch/SwitchEmitPayload.js +86 -0
- package/lib/components/atoms/FuroTextField/FuroTextField.vue +119 -0
- package/lib/components/atoms/FuroTextField/FuroTextFieldContext.js +311 -0
- package/lib/components/atoms/FuroTextField/TextFieldEmitPayload.js +83 -0
- package/lib/components/atoms/FuroTextarea/FuroTextarea.vue +121 -0
- package/lib/components/atoms/FuroTextarea/FuroTextareaContext.js +322 -0
- package/lib/components/atoms/FuroTextarea/TextareaEmitPayload.js +83 -0
- package/lib/components/atoms/FuroToggle/FuroToggle.vue +172 -0
- package/lib/components/atoms/FuroToggle/FuroToggleContext.js +410 -0
- package/lib/components/atoms/FuroToggle/ToggleEmitPayload.js +86 -0
- package/lib/components/molecules/FuroAccordion/AccordionEmitPayload.js +80 -0
- package/lib/components/molecules/FuroAccordion/FuroAccordion.vue +219 -0
- package/lib/components/molecules/FuroAccordion/FuroAccordionContext.js +547 -0
- package/lib/components/molecules/FuroAttachment/FuroAttachment.vue +376 -0
- package/lib/components/molecules/FuroAttachment/FuroAttachmentContext.js +628 -0
- package/lib/components/molecules/FuroAutocompleteField/AutocompleteEmitPayload.js +225 -0
- package/lib/components/molecules/FuroAutocompleteField/FuroAutocompleteField.vue +669 -0
- package/lib/components/molecules/FuroAutocompleteField/FuroAutocompleteFieldContext.js +1525 -0
- package/lib/components/molecules/FuroAvatarGroup/FuroAvatarGroup.vue +126 -0
- package/lib/components/molecules/FuroAvatarGroup/FuroAvatarGroupContext.js +245 -0
- package/lib/components/molecules/FuroBreadcrumb/FuroBreadcrumb.vue +219 -0
- package/lib/components/molecules/FuroBreadcrumb/FuroBreadcrumbContext.js +257 -0
- package/lib/components/molecules/FuroCollapsible/CollapsibleEmitPayload.js +69 -0
- package/lib/components/molecules/FuroCollapsible/FuroCollapsible.vue +177 -0
- package/lib/components/molecules/FuroCollapsible/FuroCollapsibleContext.js +389 -0
- package/lib/components/molecules/FuroControlBlock/FuroControlBlock.vue +149 -0
- package/lib/components/molecules/FuroControlBlock/FuroControlBlockContext.js +81 -0
- package/lib/components/molecules/FuroDatePicker/DatePickerEmitPayload.js +74 -0
- package/lib/components/molecules/FuroDatePicker/FuroDatePicker.vue +661 -0
- package/lib/components/molecules/FuroDatePicker/FuroDatePickerContext.js +1038 -0
- package/lib/components/molecules/FuroDateTimePicker/DateTimePickerEmitPayload.js +96 -0
- package/lib/components/molecules/FuroDateTimePicker/FuroDateTimePicker.vue +153 -0
- package/lib/components/molecules/FuroDateTimePicker/FuroDateTimePickerContext.js +840 -0
- package/lib/components/molecules/FuroDropdownMenu/DropdownMenuOptionSelectEmitPayload.js +100 -0
- package/lib/components/molecules/FuroDropdownMenu/FuroDropdownMenu.vue +348 -0
- package/lib/components/molecules/FuroDropdownMenu/FuroDropdownMenuContext.js +714 -0
- package/lib/components/molecules/FuroDropdownMenu/FuroDropdownMenuOptionRows.vue +222 -0
- package/lib/components/molecules/FuroEditableField/EditableEmitPayload.js +89 -0
- package/lib/components/molecules/FuroEditableField/FuroEditableField.vue +314 -0
- package/lib/components/molecules/FuroEditableField/FuroEditableFieldContext.js +1018 -0
- package/lib/components/molecules/FuroEditableField/processors/EditorCollisionProcessor.js +236 -0
- package/lib/components/molecules/FuroEditableField/processors/ObjectProcessor.js +101 -0
- package/lib/components/molecules/FuroEmptyState/FuroEmptyState.vue +124 -0
- package/lib/components/molecules/FuroEmptyState/FuroEmptyStateContext.js +42 -0
- package/lib/components/molecules/FuroErrorState/FuroErrorState.vue +125 -0
- package/lib/components/molecules/FuroErrorState/FuroErrorStateContext.js +42 -0
- package/lib/components/molecules/FuroPagination/FuroPagination.vue +246 -0
- package/lib/components/molecules/FuroPagination/FuroPaginationContext.js +489 -0
- package/lib/components/molecules/FuroPopover/FuroPopover.vue +171 -0
- package/lib/components/molecules/FuroPopover/FuroPopoverContext.js +279 -0
- package/lib/components/molecules/FuroScrollArea/FuroScrollArea.vue +181 -0
- package/lib/components/molecules/FuroScrollArea/FuroScrollAreaContext.js +149 -0
- package/lib/components/molecules/FuroSearchField/FuroSearchField.vue +155 -0
- package/lib/components/molecules/FuroSearchField/FuroSearchFieldContext.js +231 -0
- package/lib/components/molecules/FuroSectionHeader/FuroSectionHeader.vue +140 -0
- package/lib/components/molecules/FuroSectionHeader/FuroSectionHeaderContext.js +204 -0
- package/lib/components/molecules/FuroSelect/FuroSelect.vue +474 -0
- package/lib/components/molecules/FuroSelect/FuroSelectContext.js +743 -0
- package/lib/components/molecules/FuroSelect/SelectEmitPayload.js +181 -0
- package/lib/components/molecules/FuroSeparator/FuroSeparator.vue +88 -0
- package/lib/components/molecules/FuroSeparator/FuroSeparatorContext.js +40 -0
- package/lib/components/molecules/FuroSkeleton/FuroSkeleton.vue +101 -0
- package/lib/components/molecules/FuroSkeleton/FuroSkeletonContext.js +82 -0
- package/lib/components/molecules/FuroSplitter/FuroSplitter.vue +237 -0
- package/lib/components/molecules/FuroSplitter/FuroSplitterContext.js +429 -0
- package/lib/components/molecules/FuroSplitter/SplitterEmitPayload.js +69 -0
- package/lib/components/molecules/FuroTimeField/FuroTimeField.vue +251 -0
- package/lib/components/molecules/FuroTimeField/FuroTimeFieldContext.js +1138 -0
- package/lib/components/molecules/FuroTimeField/TimeFieldEmitPayload.js +74 -0
- package/lib/components/molecules/FuroToggleGroup/FuroToggleGroup.vue +211 -0
- package/lib/components/molecules/FuroToggleGroup/FuroToggleGroupContext.js +551 -0
- package/lib/components/molecules/FuroToggleGroup/ToggleGroupEmitPayload.js +80 -0
- package/lib/components/molecules/FuroToolBar/FuroToolBar.vue +91 -0
- package/lib/components/molecules/FuroToolBar/FuroToolBarContext.js +75 -0
- package/lib/components/molecules/FuroTooltip/FuroTooltip.vue +183 -0
- package/lib/components/molecules/FuroTooltip/FuroTooltipContext.js +290 -0
- package/lib/components/organisms/FuroAlertDialog/FuroAlertDialog.vue +324 -0
- package/lib/components/organisms/FuroAlertDialog/FuroAlertDialogContext.js +608 -0
- package/lib/components/organisms/FuroDialog/FuroDialog.vue +362 -0
- package/lib/components/organisms/FuroDialog/FuroDialogContext.js +535 -0
- package/lib/components/organisms/FuroDrawer/FuroDrawer.vue +618 -0
- package/lib/components/organisms/FuroDrawer/FuroDrawerContext.js +676 -0
- package/lib/components/organisms/FuroEditor/FuroEditor.vue +613 -0
- package/lib/components/organisms/FuroEditor/FuroEditorCommandContext.js +420 -0
- package/lib/components/organisms/FuroEditor/FuroEditorContext.js +2048 -0
- package/lib/components/organisms/FuroEditor/FuroEditorMentionMenu.vue +120 -0
- package/lib/components/organisms/FuroEditor/FuroEditorMentionMenuContext.js +261 -0
- package/lib/components/organisms/FuroEditor/PreserveNewlinesPasteExtension.js +267 -0
- package/lib/components/organisms/FuroEditor/build-editor-extensions.js +97 -0
- package/lib/components/organisms/FuroEditor/mention-suggestion.js +320 -0
- package/lib/components/organisms/FuroEditor/paste-link-segments.js +124 -0
- package/lib/components/organisms/FuroSidebar/FuroSidebar.vue +473 -0
- package/lib/components/organisms/FuroSidebar/FuroSidebarContext.js +1014 -0
- package/lib/components/organisms/FuroStepper/FuroStepper.vue +345 -0
- package/lib/components/organisms/FuroStepper/FuroStepperContext.js +481 -0
- package/lib/components/organisms/FuroTable/FuroTable.vue +707 -0
- package/lib/components/organisms/FuroTable/FuroTableContext.js +1965 -0
- package/lib/components/organisms/FuroTable/FuroTableRowItemContext.js +111 -0
- package/lib/components/organisms/FuroTabs/FuroTabs.vue +403 -0
- package/lib/components/organisms/FuroTabs/FuroTabsContext.js +846 -0
- package/lib/components/organisms/FuroToast/FuroToast.vue +624 -0
- package/lib/components/organisms/FuroToast/FuroToastContext.js +1089 -0
- package/lib/components/organisms/FuroToast/FuroToaster.vue +44 -0
- package/lib/components/organisms/FuroToast/FuroToasterContext.js +113 -0
- package/lib/components/organisms/FuroToast/ToastQueue.js +325 -0
- package/lib/components/organisms/FuroToast/toast.js +64 -0
- package/lib/contexts/BaseFuroContext.js +318 -0
- package/lib/contexts/BaseFuroContextAccessor.js +47 -0
- package/lib/emit-payload/BaseEmitPayload.js +91 -0
- package/lib/index.components.js +61 -0
- package/lib/index.core.js +18 -0
- package/lib/tools/TimerClerk.js +75 -0
- package/nuxt/index.js +109 -0
- package/nuxt/runtime/furo-icon-renderer.js +24 -0
- package/package.json +137 -0
- package/public/furo-vue/components.json +4619 -0
- package/public/furo-vue/llms.txt +66 -0
- package/types/furo-nuxt.d.ts +48 -0
- package/types/generated/components/atoms/FuroAvatar/FuroAvatar.vue.d.ts +74 -0
- package/types/generated/components/atoms/FuroAvatar/FuroAvatarContext.d.ts +82 -0
- package/types/generated/components/atoms/FuroBadge/FuroBadge.vue.d.ts +12 -0
- package/types/generated/components/atoms/FuroBadge/FuroBadgeContext.d.ts +160 -0
- package/types/generated/components/atoms/FuroButton/ButtonEmitPayload.d.ts +19 -0
- package/types/generated/components/atoms/FuroButton/FuroButton.vue.d.ts +53 -0
- package/types/generated/components/atoms/FuroButton/FuroButtonContext.d.ts +156 -0
- package/types/generated/components/atoms/FuroCheckbox/CheckboxEmitPayload.d.ts +55 -0
- package/types/generated/components/atoms/FuroCheckbox/FuroCheckbox.vue.d.ts +87 -0
- package/types/generated/components/atoms/FuroCheckbox/FuroCheckboxContext.d.ts +342 -0
- package/types/generated/components/atoms/FuroEmailField/EmailFieldEmitPayload.d.ts +46 -0
- package/types/generated/components/atoms/FuroEmailField/FuroEmailField.vue.d.ts +458 -0
- package/types/generated/components/atoms/FuroEmailField/FuroEmailFieldContext.d.ts +161 -0
- package/types/generated/components/atoms/FuroFileField/FileFieldEmitPayload.d.ts +46 -0
- package/types/generated/components/atoms/FuroFileField/FuroFileField.vue.d.ts +454 -0
- package/types/generated/components/atoms/FuroFileField/FuroFileFieldContext.d.ts +109 -0
- package/types/generated/components/atoms/FuroIcon/FuroIcon.vue.d.ts +14 -0
- package/types/generated/components/atoms/FuroIcon/FuroIconContext.d.ts +152 -0
- package/types/generated/components/atoms/FuroIcon/FuroIconRegistry.d.ts +457 -0
- package/types/generated/components/atoms/FuroIcon/FuroIconifyRendererContext.d.ts +65 -0
- package/types/generated/components/atoms/FuroIcon/furoIconData.d.ts +154 -0
- package/types/generated/components/atoms/FuroIcon/iconRenderers.d.ts +6 -0
- package/types/generated/components/atoms/FuroIcon/icons.d.ts +6 -0
- package/types/generated/components/atoms/FuroNumberField/FuroNumberField.vue.d.ts +500 -0
- package/types/generated/components/atoms/FuroNumberField/FuroNumberFieldContext.d.ts +243 -0
- package/types/generated/components/atoms/FuroNumberField/NumberFieldEmitPayload.d.ts +74 -0
- package/types/generated/components/atoms/FuroPasswordField/FuroPasswordField.vue.d.ts +458 -0
- package/types/generated/components/atoms/FuroPasswordField/FuroPasswordFieldContext.d.ts +161 -0
- package/types/generated/components/atoms/FuroPasswordField/PasswordFieldEmitPayload.d.ts +46 -0
- package/types/generated/components/atoms/FuroRadio/FuroRadio.vue.d.ts +96 -0
- package/types/generated/components/atoms/FuroRadio/FuroRadioContext.d.ts +290 -0
- package/types/generated/components/atoms/FuroRadio/RadioEmitPayload.d.ts +39 -0
- package/types/generated/components/atoms/FuroSwitch/FuroSwitch.vue.d.ts +74 -0
- package/types/generated/components/atoms/FuroSwitch/FuroSwitchContext.d.ts +218 -0
- package/types/generated/components/atoms/FuroSwitch/SwitchEmitPayload.d.ts +42 -0
- package/types/generated/components/atoms/FuroTextField/FuroTextField.vue.d.ts +458 -0
- package/types/generated/components/atoms/FuroTextField/FuroTextFieldContext.d.ts +161 -0
- package/types/generated/components/atoms/FuroTextField/TextFieldEmitPayload.d.ts +52 -0
- package/types/generated/components/atoms/FuroTextarea/FuroTextarea.vue.d.ts +422 -0
- package/types/generated/components/atoms/FuroTextarea/FuroTextareaContext.d.ts +161 -0
- package/types/generated/components/atoms/FuroTextarea/TextareaEmitPayload.d.ts +52 -0
- package/types/generated/components/atoms/FuroToggle/FuroToggle.vue.d.ts +51 -0
- package/types/generated/components/atoms/FuroToggle/FuroToggleContext.d.ts +191 -0
- package/types/generated/components/atoms/FuroToggle/ToggleEmitPayload.d.ts +42 -0
- package/types/generated/components/molecules/FuroAccordion/AccordionEmitPayload.d.ts +41 -0
- package/types/generated/components/molecules/FuroAccordion/FuroAccordion.vue.d.ts +133 -0
- package/types/generated/components/molecules/FuroAccordion/FuroAccordionContext.d.ts +279 -0
- package/types/generated/components/molecules/FuroAttachment/FuroAttachment.vue.d.ts +79 -0
- package/types/generated/components/molecules/FuroAttachment/FuroAttachmentContext.d.ts +363 -0
- package/types/generated/components/molecules/FuroAutocompleteField/AutocompleteEmitPayload.d.ts +129 -0
- package/types/generated/components/molecules/FuroAutocompleteField/FuroAutocompleteField.vue.d.ts +751 -0
- package/types/generated/components/molecules/FuroAutocompleteField/FuroAutocompleteFieldContext.d.ts +722 -0
- package/types/generated/components/molecules/FuroAvatarGroup/FuroAvatarGroup.vue.d.ts +84 -0
- package/types/generated/components/molecules/FuroAvatarGroup/FuroAvatarGroupContext.d.ts +150 -0
- package/types/generated/components/molecules/FuroBreadcrumb/FuroBreadcrumb.vue.d.ts +24 -0
- package/types/generated/components/molecules/FuroBreadcrumb/FuroBreadcrumbContext.d.ts +152 -0
- package/types/generated/components/molecules/FuroCollapsible/CollapsibleEmitPayload.d.ts +36 -0
- package/types/generated/components/molecules/FuroCollapsible/FuroCollapsible.vue.d.ts +98 -0
- package/types/generated/components/molecules/FuroCollapsible/FuroCollapsibleContext.d.ts +191 -0
- package/types/generated/components/molecules/FuroControlBlock/FuroControlBlock.vue.d.ts +30 -0
- package/types/generated/components/molecules/FuroControlBlock/FuroControlBlockContext.d.ts +57 -0
- package/types/generated/components/molecules/FuroDatePicker/DatePickerEmitPayload.d.ts +41 -0
- package/types/generated/components/molecules/FuroDatePicker/FuroDatePicker.vue.d.ts +456 -0
- package/types/generated/components/molecules/FuroDatePicker/FuroDatePickerContext.d.ts +516 -0
- package/types/generated/components/molecules/FuroDateTimePicker/DateTimePickerEmitPayload.d.ts +55 -0
- package/types/generated/components/molecules/FuroDateTimePicker/FuroDateTimePicker.vue.d.ts +1365 -0
- package/types/generated/components/molecules/FuroDateTimePicker/FuroDateTimePickerContext.d.ts +435 -0
- package/types/generated/components/molecules/FuroDropdownMenu/DropdownMenuOptionSelectEmitPayload.d.ts +48 -0
- package/types/generated/components/molecules/FuroDropdownMenu/FuroDropdownMenu.vue.d.ts +773 -0
- package/types/generated/components/molecules/FuroDropdownMenu/FuroDropdownMenuContext.d.ts +380 -0
- package/types/generated/components/molecules/FuroDropdownMenu/FuroDropdownMenuOptionRows.vue.d.ts +261 -0
- package/types/generated/components/molecules/FuroEditableField/EditableEmitPayload.d.ts +39 -0
- package/types/generated/components/molecules/FuroEditableField/FuroEditableField.vue.d.ts +646 -0
- package/types/generated/components/molecules/FuroEditableField/FuroEditableFieldContext.d.ts +477 -0
- package/types/generated/components/molecules/FuroEditableField/processors/EditorCollisionProcessor.d.ts +121 -0
- package/types/generated/components/molecules/FuroEditableField/processors/ObjectProcessor.d.ts +45 -0
- package/types/generated/components/molecules/FuroEmptyState/FuroEmptyState.vue.d.ts +21 -0
- package/types/generated/components/molecules/FuroEmptyState/FuroEmptyStateContext.d.ts +32 -0
- package/types/generated/components/molecules/FuroErrorState/FuroErrorState.vue.d.ts +21 -0
- package/types/generated/components/molecules/FuroErrorState/FuroErrorStateContext.d.ts +32 -0
- package/types/generated/components/molecules/FuroPagination/FuroPagination.vue.d.ts +534 -0
- package/types/generated/components/molecules/FuroPagination/FuroPaginationContext.d.ts +271 -0
- package/types/generated/components/molecules/FuroPopover/FuroPopover.vue.d.ts +513 -0
- package/types/generated/components/molecules/FuroPopover/FuroPopoverContext.d.ts +160 -0
- package/types/generated/components/molecules/FuroScrollArea/FuroScrollArea.vue.d.ts +124 -0
- package/types/generated/components/molecules/FuroScrollArea/FuroScrollAreaContext.d.ts +86 -0
- package/types/generated/components/molecules/FuroSearchField/FuroSearchField.vue.d.ts +487 -0
- package/types/generated/components/molecules/FuroSearchField/FuroSearchFieldContext.d.ts +137 -0
- package/types/generated/components/molecules/FuroSectionHeader/FuroSectionHeader.vue.d.ts +49 -0
- package/types/generated/components/molecules/FuroSectionHeader/FuroSectionHeaderContext.d.ts +121 -0
- package/types/generated/components/molecules/FuroSelect/FuroSelect.vue.d.ts +719 -0
- package/types/generated/components/molecules/FuroSelect/FuroSelectContext.d.ts +402 -0
- package/types/generated/components/molecules/FuroSelect/SelectEmitPayload.d.ts +102 -0
- package/types/generated/components/molecules/FuroSeparator/FuroSeparator.vue.d.ts +39 -0
- package/types/generated/components/molecules/FuroSeparator/FuroSeparatorContext.d.ts +31 -0
- package/types/generated/components/molecules/FuroSkeleton/FuroSkeleton.vue.d.ts +27 -0
- package/types/generated/components/molecules/FuroSkeleton/FuroSkeletonContext.d.ts +61 -0
- package/types/generated/components/molecules/FuroSplitter/FuroSplitter.vue.d.ts +139 -0
- package/types/generated/components/molecules/FuroSplitter/FuroSplitterContext.d.ts +226 -0
- package/types/generated/components/molecules/FuroSplitter/SplitterEmitPayload.d.ts +41 -0
- package/types/generated/components/molecules/FuroTimeField/FuroTimeField.vue.d.ts +498 -0
- package/types/generated/components/molecules/FuroTimeField/FuroTimeFieldContext.d.ts +555 -0
- package/types/generated/components/molecules/FuroTimeField/TimeFieldEmitPayload.d.ts +41 -0
- package/types/generated/components/molecules/FuroToggleGroup/FuroToggleGroup.vue.d.ts +70 -0
- package/types/generated/components/molecules/FuroToggleGroup/FuroToggleGroupContext.d.ts +270 -0
- package/types/generated/components/molecules/FuroToggleGroup/ToggleGroupEmitPayload.d.ts +41 -0
- package/types/generated/components/molecules/FuroToolBar/FuroToolBar.vue.d.ts +30 -0
- package/types/generated/components/molecules/FuroToolBar/FuroToolBarContext.d.ts +48 -0
- package/types/generated/components/molecules/FuroTooltip/FuroTooltip.vue.d.ts +524 -0
- package/types/generated/components/molecules/FuroTooltip/FuroTooltipContext.d.ts +166 -0
- package/types/generated/components/organisms/FuroAlertDialog/FuroAlertDialog.vue.d.ts +651 -0
- package/types/generated/components/organisms/FuroAlertDialog/FuroAlertDialogContext.d.ts +299 -0
- package/types/generated/components/organisms/FuroDialog/FuroDialog.vue.d.ts +583 -0
- package/types/generated/components/organisms/FuroDialog/FuroDialogContext.d.ts +264 -0
- package/types/generated/components/organisms/FuroDrawer/FuroDrawer.vue.d.ts +635 -0
- package/types/generated/components/organisms/FuroDrawer/FuroDrawerContext.d.ts +347 -0
- package/types/generated/components/organisms/FuroEditor/FuroEditor.vue.d.ts +2487 -0
- package/types/generated/components/organisms/FuroEditor/FuroEditorCommandContext.d.ts +192 -0
- package/types/generated/components/organisms/FuroEditor/FuroEditorContext.d.ts +904 -0
- package/types/generated/components/organisms/FuroEditor/FuroEditorMentionMenu.vue.d.ts +43 -0
- package/types/generated/components/organisms/FuroEditor/FuroEditorMentionMenuContext.d.ts +159 -0
- package/types/generated/components/organisms/FuroEditor/PreserveNewlinesPasteExtension.d.ts +43 -0
- package/types/generated/components/organisms/FuroEditor/build-editor-extensions.d.ts +22 -0
- package/types/generated/components/organisms/FuroEditor/mention-suggestion.d.ts +25 -0
- package/types/generated/components/organisms/FuroEditor/paste-link-segments.d.ts +31 -0
- package/types/generated/components/organisms/FuroSidebar/FuroSidebar.vue.d.ts +898 -0
- package/types/generated/components/organisms/FuroSidebar/FuroSidebarContext.d.ts +596 -0
- package/types/generated/components/organisms/FuroStepper/FuroStepper.vue.d.ts +589 -0
- package/types/generated/components/organisms/FuroStepper/FuroStepperContext.d.ts +266 -0
- package/types/generated/components/organisms/FuroTable/FuroTable.vue.d.ts +528 -0
- package/types/generated/components/organisms/FuroTable/FuroTableContext.d.ts +1035 -0
- package/types/generated/components/organisms/FuroTable/FuroTableRowItemContext.d.ts +62 -0
- package/types/generated/components/organisms/FuroTabs/FuroTabs.vue.d.ts +515 -0
- package/types/generated/components/organisms/FuroTabs/FuroTabsContext.d.ts +438 -0
- package/types/generated/components/organisms/FuroToast/FuroToast.vue.d.ts +725 -0
- package/types/generated/components/organisms/FuroToast/FuroToastContext.d.ts +543 -0
- package/types/generated/components/organisms/FuroToast/FuroToaster.vue.d.ts +729 -0
- package/types/generated/components/organisms/FuroToast/FuroToasterContext.d.ts +62 -0
- package/types/generated/components/organisms/FuroToast/ToastQueue.d.ts +201 -0
- package/types/generated/components/organisms/FuroToast/toast.d.ts +23 -0
- package/types/generated/contexts/BaseFuroContext.d.ts +207 -0
- package/types/generated/contexts/BaseFuroContextAccessor.d.ts +28 -0
- package/types/generated/emit-payload/BaseEmitPayload.d.ts +62 -0
- package/types/generated/index.components.d.ts +50 -0
- package/types/generated/index.core.d.ts +6 -0
- package/types/generated/tools/TimerClerk.d.ts +50 -0
- package/types/index.d.ts +12 -0
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Context class for managing FuroSwitch component.
|
|
3
|
+
*
|
|
4
|
+
* @extends {BaseFuroContext<null, Props, EmitEventName>}
|
|
5
|
+
*/
|
|
6
|
+
export default class FuroSwitchContext extends BaseFuroContext<null, Props, "CHANGE_VALUE" | "UPDATE_VALUE"> {
|
|
7
|
+
/**
|
|
8
|
+
* Factory method.
|
|
9
|
+
*
|
|
10
|
+
* @template {X extends typeof FuroSwitchContext ? X : never} T, X
|
|
11
|
+
* @override
|
|
12
|
+
* @param {FuroSwitchContextFactoryParams} 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 FuroSwitchContext ? X : never, X>(this: T, { props, componentContext, refHash, }: FuroSwitchContextFactoryParams): InstanceType<T>;
|
|
17
|
+
/**
|
|
18
|
+
* Build ref hash.
|
|
19
|
+
*
|
|
20
|
+
* @override
|
|
21
|
+
* @returns {{
|
|
22
|
+
* internalValueRef: import('vue').Ref<FuroSwitchValue>
|
|
23
|
+
* switchRootElementRef: import('vue').Ref<HTMLElement | null>
|
|
24
|
+
* }} Ref hash.
|
|
25
|
+
*/
|
|
26
|
+
static override buildRefHash(): {
|
|
27
|
+
internalValueRef: import("vue").Ref<FuroSwitchValue>;
|
|
28
|
+
switchRootElementRef: import("vue").Ref<HTMLElement | null>;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Get emit event name.
|
|
32
|
+
*
|
|
33
|
+
* @override
|
|
34
|
+
* @returns {Readonly<{
|
|
35
|
+
* CHANGE_VALUE: 'change-value'
|
|
36
|
+
* UPDATE_VALUE: 'update:value'
|
|
37
|
+
* }>} Emit event names.
|
|
38
|
+
*/
|
|
39
|
+
static override get EMIT_EVENT_NAME(): Readonly<{
|
|
40
|
+
CHANGE_VALUE: "change-value";
|
|
41
|
+
UPDATE_VALUE: "update:value";
|
|
42
|
+
}>;
|
|
43
|
+
/**
|
|
44
|
+
* Get emit options.
|
|
45
|
+
*
|
|
46
|
+
* @returns {{
|
|
47
|
+
* 'change-value': (payload: import('./SwitchEmitPayload.js').default) => void
|
|
48
|
+
* 'update:value': (value: FuroSwitchValue) => void
|
|
49
|
+
* }} Emit event hash.
|
|
50
|
+
*/
|
|
51
|
+
static get EMIT_EVENT_HASH(): {
|
|
52
|
+
"change-value": (payload: import("./SwitchEmitPayload.js").default) => void;
|
|
53
|
+
"update:value": (value: FuroSwitchValue) => void;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Sizes the switch can take.
|
|
57
|
+
*
|
|
58
|
+
* @returns {Array<FuroSwitchSize>} Sizes, largest first.
|
|
59
|
+
*/
|
|
60
|
+
static get SIZES(): Array<FuroSwitchSize>;
|
|
61
|
+
/**
|
|
62
|
+
* Default size.
|
|
63
|
+
*
|
|
64
|
+
* @returns {FuroSwitchSize} Default size.
|
|
65
|
+
*/
|
|
66
|
+
static get DEFAULT_SIZE(): FuroSwitchSize;
|
|
67
|
+
/**
|
|
68
|
+
* get: Constructor of `EmitPayload`.
|
|
69
|
+
*
|
|
70
|
+
* @returns {typeof SwitchEmitPayload} Constructor of the emit payload.
|
|
71
|
+
*/
|
|
72
|
+
static get EmitPayloadCtor(): typeof SwitchEmitPayload;
|
|
73
|
+
/**
|
|
74
|
+
* Constructor.
|
|
75
|
+
*
|
|
76
|
+
* @param {FuroSwitchContextParams} params - Parameters.
|
|
77
|
+
*/
|
|
78
|
+
constructor({ props, componentContext, refHash, }: FuroSwitchContextParams);
|
|
79
|
+
refHash: {
|
|
80
|
+
internalValueRef: import("vue").Ref<FuroSwitchValue>;
|
|
81
|
+
switchRootElementRef: import("vue").Ref<HTMLElement | null>;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* get: Constructor of this class.
|
|
85
|
+
*
|
|
86
|
+
* @override
|
|
87
|
+
* @returns {typeof FuroSwitchContext} Constructor of this class.
|
|
88
|
+
*/
|
|
89
|
+
override get Ctor(): typeof FuroSwitchContext;
|
|
90
|
+
/**
|
|
91
|
+
* Get internal value ref.
|
|
92
|
+
*
|
|
93
|
+
* @returns {import('vue').Ref<FuroSwitchValue>} Internal on/off model.
|
|
94
|
+
*/
|
|
95
|
+
get internalValueRef(): import("vue").Ref<FuroSwitchValue>;
|
|
96
|
+
/**
|
|
97
|
+
* Get switch root element ref.
|
|
98
|
+
*
|
|
99
|
+
* @returns {import('vue').Ref<HTMLElement | null>} Root element of the switch.
|
|
100
|
+
*/
|
|
101
|
+
get switchRootElementRef(): import("vue").Ref<HTMLElement | null>;
|
|
102
|
+
/**
|
|
103
|
+
* get: size of the switch.
|
|
104
|
+
*
|
|
105
|
+
* @returns {FuroSwitchSize} Size; defaults to medium.
|
|
106
|
+
*/
|
|
107
|
+
get size(): FuroSwitchSize;
|
|
108
|
+
/**
|
|
109
|
+
* Whether the parent controls `parcel.value`.
|
|
110
|
+
*
|
|
111
|
+
* @returns {boolean} Whether the parent owns the value.
|
|
112
|
+
*/
|
|
113
|
+
isControlled(): boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Resolve synced on/off value from parcel or fallthrough attrs.
|
|
116
|
+
*
|
|
117
|
+
* @returns {FuroSwitchValue} Value the parent currently declares.
|
|
118
|
+
*/
|
|
119
|
+
resolveSyncedValue(): FuroSwitchValue;
|
|
120
|
+
/**
|
|
121
|
+
* Whether the switch is disabled.
|
|
122
|
+
*
|
|
123
|
+
* @returns {boolean} Whether the switch is disabled.
|
|
124
|
+
*/
|
|
125
|
+
isDisabled(): boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Whether the switch is required.
|
|
128
|
+
*
|
|
129
|
+
* @returns {boolean} Whether the switch is required.
|
|
130
|
+
*/
|
|
131
|
+
isRequired(): boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Extract CSS class map for the root.
|
|
134
|
+
*
|
|
135
|
+
* @returns {Record<string, boolean>} Class map for the root element.
|
|
136
|
+
*/
|
|
137
|
+
extractRootClassNames(): Record<string, boolean>;
|
|
138
|
+
/**
|
|
139
|
+
* Extract attributes forwarded to the underlying primitive.
|
|
140
|
+
*
|
|
141
|
+
* @returns {Record<string, unknown>} Attributes for the root element.
|
|
142
|
+
*/
|
|
143
|
+
extractRootAttributes(): Record<string, unknown>;
|
|
144
|
+
/**
|
|
145
|
+
* Build a custom event for switch value changes.
|
|
146
|
+
*
|
|
147
|
+
* @param {{
|
|
148
|
+
* name: string
|
|
149
|
+
* value: FuroSwitchValue
|
|
150
|
+
* }} params - Parameters.
|
|
151
|
+
* @returns {import('./SwitchEmitPayload.js').SwitchRawEvent} Raw event carrying the new value.
|
|
152
|
+
*/
|
|
153
|
+
buildCustomEvent({ name, value, }: {
|
|
154
|
+
name: string;
|
|
155
|
+
value: FuroSwitchValue;
|
|
156
|
+
}): import("./SwitchEmitPayload.js").SwitchRawEvent;
|
|
157
|
+
/**
|
|
158
|
+
* Setup component context.
|
|
159
|
+
*
|
|
160
|
+
* @template {X extends FuroSwitchContext ? X : never} T, X
|
|
161
|
+
* @override
|
|
162
|
+
* @returns {T} - For method chaining.
|
|
163
|
+
* @this {T}
|
|
164
|
+
*/
|
|
165
|
+
override setupComponent<T extends X extends FuroSwitchContext ? X : never, X>(this: T): T;
|
|
166
|
+
/**
|
|
167
|
+
* Handle a value update emitted by the underlying primitive.
|
|
168
|
+
*
|
|
169
|
+
* @param {{
|
|
170
|
+
* rawValue: FuroSwitchValue
|
|
171
|
+
* }} params - Parameters.
|
|
172
|
+
*/
|
|
173
|
+
onChangeValue({ rawValue, }: {
|
|
174
|
+
rawValue: FuroSwitchValue;
|
|
175
|
+
}): void;
|
|
176
|
+
/**
|
|
177
|
+
* Whether the switch is on.
|
|
178
|
+
*
|
|
179
|
+
* @returns {boolean} Whether the switch is on.
|
|
180
|
+
*/
|
|
181
|
+
isChecked(): boolean;
|
|
182
|
+
}
|
|
183
|
+
export type FuroSwitchContextParams = import("../../../contexts/BaseFuroContext.js").BaseFuroContextParams & {
|
|
184
|
+
props: Props;
|
|
185
|
+
componentContext: ComponentContext;
|
|
186
|
+
refHash: {
|
|
187
|
+
internalValueRef: import("vue").Ref<FuroSwitchValue>;
|
|
188
|
+
switchRootElementRef: import("vue").Ref<HTMLElement | null>;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
export type FuroSwitchContextFactoryParams = Omit<FuroSwitchContextParams, "refHash"> & {
|
|
192
|
+
refHash?: {
|
|
193
|
+
internalValueRef: import("vue").Ref<FuroSwitchValue>;
|
|
194
|
+
switchRootElementRef: import("vue").Ref<HTMLElement | null>;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
export type EmitEventName = keyof typeof FuroSwitchContext.EMIT_EVENT_NAME;
|
|
198
|
+
/**
|
|
199
|
+
* Public on/off model (`v-model:value`, `parcel.value`).
|
|
200
|
+
*/
|
|
201
|
+
export type FuroSwitchValue = boolean;
|
|
202
|
+
export type FuroSwitchSize = "medium" | "small";
|
|
203
|
+
export type Props = {
|
|
204
|
+
parcel?: FuroSwitchParcel | null;
|
|
205
|
+
};
|
|
206
|
+
export type FuroSwitchParcel = {
|
|
207
|
+
value?: FuroSwitchValue;
|
|
208
|
+
size?: FuroSwitchSize;
|
|
209
|
+
disabled?: boolean;
|
|
210
|
+
required?: boolean;
|
|
211
|
+
};
|
|
212
|
+
export type FuroSwitchEmitHash = typeof FuroSwitchContext.EMIT_EVENT_HASH;
|
|
213
|
+
export type ComponentContext = import("vue").SetupContext<FuroSwitchEmitHash>;
|
|
214
|
+
export type FuroSwitchSetup = (props: Props, componentContext: ComponentContext) => {
|
|
215
|
+
context: FuroSwitchContext;
|
|
216
|
+
};
|
|
217
|
+
import BaseFuroContext from '../../../contexts/BaseFuroContext.js';
|
|
218
|
+
import SwitchEmitPayload from './SwitchEmitPayload.js';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SwitchEmitPayload.
|
|
3
|
+
*
|
|
4
|
+
* @extends {BaseEmitPayload<SwitchRawEvent, HTMLElement>}
|
|
5
|
+
*/
|
|
6
|
+
export default class SwitchEmitPayload extends BaseEmitPayload<SwitchRawEvent, HTMLElement> {
|
|
7
|
+
constructor({ rawEvent, }: import("../../../emit-payload/BaseEmitPayload.js").BaseEmitPayloadParams<SwitchRawEvent>);
|
|
8
|
+
/**
|
|
9
|
+
* Get the event detail.
|
|
10
|
+
*
|
|
11
|
+
* @returns {SwitchRawEvent['detail'] | null} Detail of the raw event, or null when absent.
|
|
12
|
+
*/
|
|
13
|
+
get eventDetail(): SwitchRawEvent["detail"] | null;
|
|
14
|
+
/**
|
|
15
|
+
* Current checked state after the change.
|
|
16
|
+
*
|
|
17
|
+
* @returns {FuroSwitchValue | null} Checked state, or null when absent.
|
|
18
|
+
*/
|
|
19
|
+
get value(): FuroSwitchValue | null;
|
|
20
|
+
/**
|
|
21
|
+
* Whether the switch is on after the change.
|
|
22
|
+
*
|
|
23
|
+
* @returns {boolean | null} Whether the switch is on, or null when the value is absent.
|
|
24
|
+
*/
|
|
25
|
+
isChecked(): boolean | null;
|
|
26
|
+
/**
|
|
27
|
+
* Whether the switch is off after the change.
|
|
28
|
+
*
|
|
29
|
+
* @returns {boolean | null} Whether the switch is off, or null when the value is absent.
|
|
30
|
+
*/
|
|
31
|
+
isUnchecked(): boolean | null;
|
|
32
|
+
}
|
|
33
|
+
export type FuroSwitchValue = import("./FuroSwitchContext.js").FuroSwitchValue;
|
|
34
|
+
export type SwitchEmitPayloadParams = {
|
|
35
|
+
rawEvent: SwitchRawEvent;
|
|
36
|
+
};
|
|
37
|
+
export type SwitchRawEvent = CustomEvent<{
|
|
38
|
+
target: HTMLElement | null;
|
|
39
|
+
value: FuroSwitchValue | null;
|
|
40
|
+
}>;
|
|
41
|
+
export type SwitchEmitPayloadFactoryParams = SwitchEmitPayloadParams;
|
|
42
|
+
import BaseEmitPayload from '../../../emit-payload/BaseEmitPayload.js';
|