@bridge-ui/vue 0.24.0 → 0.26.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.
- package/ai/AGENTS.md +1 -1
- package/ai/README.md +3 -4
- package/ai/guidelines/core.md +1 -1
- package/ai/llms.txt +1 -1
- package/ai/skills/bridge-ui-setup/SKILL.md +1 -1
- package/bin/__tests__/ai.test.ts +3 -1
- package/bin/ai.mjs +2 -2
- package/dist/Actions/BridgeUIHosts.vue.d.ts +5 -3
- package/dist/Actions/Dialog/BridgeDialogAction.vue_vue_type_script_setup_true_lang.js +6 -6
- package/dist/Actions/Dialog/BridgeDialogHost.vue.d.ts +5 -3
- package/dist/Actions/Dialog/BridgeDialogItem.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/Actions/Drawer/BridgeDrawerHost.vue.d.ts +5 -3
- package/dist/Actions/Drawer/BridgeDrawerHost.vue_vue_type_script_setup_true_lang.js +16 -16
- package/dist/Actions/Modal/BridgeModalHost.vue.d.ts +5 -3
- package/dist/Actions/Modal/BridgeModalHost.vue_vue_type_script_setup_true_lang.js +16 -16
- package/dist/Actions/Snackbar/BridgeSnackbarAction.vue_vue_type_script_setup_true_lang.js +6 -6
- package/dist/Actions/Snackbar/BridgeSnackbarHost.vue.d.ts +6 -4
- package/dist/Actions/Snackbar/BridgeSnackbarHost.vue_vue_type_script_setup_true_lang.js +11 -11
- package/dist/Actions/Snackbar/BridgeSnackbarItem.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/Actions/index.js +10 -10
- package/dist/Components/Accordion/index.js +4 -4
- package/dist/Components/AccordionItem/AccordionItem.vue_vue_type_script_setup_true_lang.js +6 -6
- package/dist/Components/AccordionItem/index.js +3 -3
- package/dist/Components/ActionFooter/ActionFooter.vue.d.ts +2 -2
- package/dist/Components/ActionFooter/index.js +3 -3
- package/dist/Components/Alert/Alert.vue_vue_type_script_setup_true_lang.js +17 -13
- package/dist/Components/Alert/composables/useAlert.js +9 -9
- package/dist/Components/Alert/index.js +3 -3
- package/dist/Components/Autocomplete/Autocomplete.vue.d.ts +4 -4
- package/dist/Components/Autocomplete/Autocomplete.vue_vue_type_script_setup_true_lang.js +16 -16
- package/dist/Components/Autocomplete/composables/useAutocomplete.d.ts +98 -97
- package/dist/Components/Autocomplete/composables/useAutocomplete.js +205 -199
- package/dist/Components/Autocomplete/index.js +4 -4
- package/dist/Components/Avatar/Avatar.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/Components/Badge/Badge.vue.d.ts +5 -3
- package/dist/Components/Badge/index.js +3 -3
- package/dist/Components/BaseField/BaseField.vue_vue_type_script_setup_true_lang.js +14 -14
- package/dist/Components/BaseField/BaseFieldCorner.vue.d.ts +5 -3
- package/dist/Components/BaseField/BaseFieldCorner.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/Components/BaseField/BaseFieldLabel.vue.d.ts +5 -3
- package/dist/Components/BaseField/BaseFieldLabel.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/Components/Breadcrumb/Breadcrumb.vue_vue_type_script_setup_true_lang.js +4 -1
- package/dist/Components/Breadcrumb/composables/useBreadcrumb.js +9 -9
- package/dist/Components/Breadcrumb/index.js +4 -4
- package/dist/Components/BreadcrumbItem/BreadcrumbItem.vue_vue_type_script_setup_true_lang.js +7 -7
- package/dist/Components/BreadcrumbItem/composables/useBreadcrumbItem.js +19 -19
- package/dist/Components/BreadcrumbItem/index.js +3 -3
- package/dist/Components/Button/Button.vue_vue_type_script_setup_true_lang.js +15 -15
- package/dist/Components/Button/composables/useButton.js +14 -14
- package/dist/Components/Button/index.js +3 -3
- package/dist/Components/ButtonGroup/composables/useButtonGroup.js +10 -10
- package/dist/Components/ButtonGroup/index.js +4 -4
- package/dist/Components/Calendar/Calendar.vue_vue_type_script_setup_true_lang.js +71 -63
- package/dist/Components/Calendar/calendar.types.d.ts +8 -0
- package/dist/Components/Calendar/composables/useCalendar.d.ts +2 -1
- package/dist/Components/Calendar/composables/useCalendar.js +188 -177
- package/dist/Components/Calendar/index.js +3 -3
- package/dist/Components/CalendarDate/CalendarDate.vue_vue_type_script_setup_true_lang.js +8 -4
- package/dist/Components/CalendarDate/index.js +3 -3
- package/dist/Components/CalendarMonth/CalendarMonth.vue_vue_type_script_setup_true_lang.js +8 -4
- package/dist/Components/CalendarMonth/index.js +3 -3
- package/dist/Components/CalendarRange/CalendarRange.vue_vue_type_script_setup_true_lang.js +112 -104
- package/dist/Components/CalendarRange/calendarRange.types.d.ts +8 -0
- package/dist/Components/CalendarRange/composables/useCalendarRange.d.ts +2 -1
- package/dist/Components/CalendarRange/composables/useCalendarRange.js +203 -220
- package/dist/Components/CalendarRange/index.js +3 -3
- package/dist/Components/CalendarYear/CalendarYear.vue_vue_type_script_setup_true_lang.js +8 -4
- package/dist/Components/CalendarYear/index.js +3 -3
- package/dist/Components/Card/Card.vue_vue_type_script_setup_true_lang.js +11 -11
- package/dist/Components/Card/index.js +3 -3
- package/dist/Components/Carousel/Carousel.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/Components/Carousel/composables/useCarousel.js +27 -27
- package/dist/Components/Carousel/index.js +4 -4
- package/dist/Components/CarouselSlide/composables/useCarouselSlide.js +6 -6
- package/dist/Components/CarouselSlide/index.js +3 -3
- package/dist/Components/ChartAxis/index.js +3 -3
- package/dist/Components/ChartBar/ChartBar.vue_vue_type_script_setup_true_lang.js +9 -9
- package/dist/Components/ChartBar/index.js +3 -3
- package/dist/Components/ChartBarSeries/index.js +3 -3
- package/dist/Components/ChartFunnel/ChartFunnel.vue_vue_type_script_setup_true_lang.js +9 -9
- package/dist/Components/ChartFunnel/index.js +3 -3
- package/dist/Components/ChartLegend/index.js +3 -3
- package/dist/Components/ChartLine/ChartLine.vue_vue_type_script_setup_true_lang.js +9 -9
- package/dist/Components/ChartLine/index.js +3 -3
- package/dist/Components/ChartLineSeries/index.js +3 -3
- package/dist/Components/ChartPie/ChartPie.vue_vue_type_script_setup_true_lang.js +12 -12
- package/dist/Components/ChartPie/index.js +3 -3
- package/dist/Components/ChartScatter/ChartScatter.vue_vue_type_script_setup_true_lang.js +9 -9
- package/dist/Components/ChartScatter/composables/useChartScatter.js +11 -11
- package/dist/Components/ChartScatter/index.js +3 -3
- package/dist/Components/ChartScatterSeries/index.js +3 -3
- package/dist/Components/ChartTooltip/index.js +3 -3
- package/dist/Components/Checkbox/Checkbox.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/Components/Checkbox/composables/useCheckbox.js +61 -57
- package/dist/Components/Checkbox/index.js +3 -3
- package/dist/Components/Chip/Chip.vue_vue_type_script_setup_true_lang.js +6 -6
- package/dist/Components/Chip/index.js +3 -3
- package/dist/Components/ColorField/ColorField.vue.d.ts +2 -2
- package/dist/Components/ColorField/ColorField.vue_vue_type_script_setup_true_lang.js +14 -14
- package/dist/Components/ColorField/composables/useColorField.d.ts +96 -95
- package/dist/Components/ColorField/composables/useColorField.js +102 -98
- package/dist/Components/ColorField/index.js +3 -3
- package/dist/Components/ColorPicker/ColorPicker.vue.d.ts +2 -2
- package/dist/Components/ColorPicker/ColorPicker.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/Components/ColorPicker/composables/useColorPicker.js +12 -12
- package/dist/Components/ColorPicker/index.js +3 -3
- package/dist/Components/DataTable/DataTable.vue_vue_type_script_setup_true_lang.js +73 -73
- package/dist/Components/DataTable/DataTableCellContent.vue.d.ts +7 -5
- package/dist/Components/DataTable/DataTableColumnsMenu.vue_vue_type_script_setup_true_lang.js +10 -10
- package/dist/Components/DataTable/DataTableFilterMenu.vue_vue_type_script_setup_true_lang.js +14 -14
- package/dist/Components/DataTable/DataTablePagination.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/Components/DataTable/DataTableToolbarButton.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/DateField/DateField.vue.d.ts +2 -2
- package/dist/Components/DateField/DateField.vue_vue_type_script_setup_true_lang.js +14 -14
- package/dist/Components/DateField/composables/useDateField.d.ts +96 -95
- package/dist/Components/DateField/composables/useDateField.js +97 -90
- package/dist/Components/DatePicker/DatePicker.vue.d.ts +2 -2
- package/dist/Components/DatePicker/DatePicker.vue_vue_type_script_setup_true_lang.js +10 -9
- package/dist/Components/DatePicker/composables/useDatePicker.js +9 -9
- package/dist/Components/DateRangeField/DateRangeField.vue.d.ts +2 -2
- package/dist/Components/DateRangeField/DateRangeField.vue_vue_type_script_setup_true_lang.js +14 -14
- package/dist/Components/DateRangeField/composables/useDateRangeField.d.ts +96 -95
- package/dist/Components/DateRangeField/composables/useDateRangeField.js +91 -84
- package/dist/Components/DateRangePicker/DateRangePicker.vue.d.ts +2 -2
- package/dist/Components/DateRangePicker/DateRangePicker.vue_vue_type_script_setup_true_lang.js +10 -9
- package/dist/Components/DateRangePicker/composables/useDateRangePicker.js +9 -9
- package/dist/Components/DateTimeField/DateTimeField.vue.d.ts +2 -2
- package/dist/Components/DateTimeField/DateTimeField.vue_vue_type_script_setup_true_lang.js +14 -14
- package/dist/Components/DateTimeField/composables/useDateTimeField.d.ts +96 -95
- package/dist/Components/DateTimeField/composables/useDateTimeField.js +92 -85
- package/dist/Components/DateTimePicker/DateTimePicker.vue.d.ts +2 -2
- package/dist/Components/DateTimePicker/DateTimePicker.vue_vue_type_script_setup_true_lang.js +17 -16
- package/dist/Components/DateTimePicker/composables/useDateTimePicker.js +7 -7
- package/dist/Components/DateTimeRangeField/DateTimeRangeField.vue.d.ts +2 -2
- package/dist/Components/DateTimeRangeField/DateTimeRangeField.vue_vue_type_script_setup_true_lang.js +14 -14
- package/dist/Components/DateTimeRangeField/composables/useDateTimeRangeField.d.ts +96 -95
- package/dist/Components/DateTimeRangeField/composables/useDateTimeRangeField.js +88 -81
- package/dist/Components/DateTimeRangePicker/DateTimeRangePicker.vue.d.ts +2 -2
- package/dist/Components/DateTimeRangePicker/DateTimeRangePicker.vue_vue_type_script_setup_true_lang.js +10 -9
- package/dist/Components/DateTimeRangePicker/composables/useDateTimeRangePicker.js +7 -7
- package/dist/Components/Drawer/Drawer.vue.d.ts +3 -3
- package/dist/Components/Drawer/composables/useDrawer.d.ts +1 -1
- package/dist/Components/EmptyState/EmptyState.vue_vue_type_script_setup_true_lang.js +11 -11
- package/dist/Components/FieldOverlay/FieldOverlay.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/Components/FieldOverlay/composables/useFieldOverlay.js +4 -4
- package/dist/Components/FieldOverlay/index.js +3 -3
- package/dist/Components/FileUpload/FileUpload.vue_vue_type_script_setup_true_lang.js +61 -61
- package/dist/Components/FileUpload/composables/useFileUpload.js +14 -14
- package/dist/Components/FileUploadItem/FileUploadItem.vue_vue_type_script_setup_true_lang.js +10 -10
- package/dist/Components/FormControl/FormControl.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/Components/FormControl/FormControlLabel.vue.d.ts +6 -3
- package/dist/Components/FormControl/FormControlLabel.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/Components/FormControl/composables/useFormControl.js +61 -61
- package/dist/Components/FormField/FilledFormField.vue.d.ts +17 -15
- package/dist/Components/FormField/FilledFormField.vue_vue_type_script_setup_true_lang.js +11 -11
- package/dist/Components/FormField/FormField.vue_vue_type_script_setup_true_lang.js +30 -30
- package/dist/Components/FormField/FormFieldCorner.vue.d.ts +5 -3
- package/dist/Components/FormField/FormFieldCorner.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/Components/FormField/FormFieldLabel.vue.d.ts +5 -3
- package/dist/Components/FormField/FormFieldLabel.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/Components/FormField/NotchedFormField.vue.d.ts +17 -15
- package/dist/Components/FormField/NotchedFormField.vue_vue_type_script_setup_true_lang.js +9 -9
- package/dist/Components/FormField/OutlinedFormField.vue.d.ts +17 -15
- package/dist/Components/FormField/OutlinedFormField.vue_vue_type_script_setup_true_lang.js +11 -11
- package/dist/Components/FormField/StackedFormField.vue.d.ts +17 -15
- package/dist/Components/FormField/StackedFormField.vue_vue_type_script_setup_true_lang.js +11 -11
- package/dist/Components/FormField/UnderlinedFormField.vue.d.ts +17 -15
- package/dist/Components/FormField/UnderlinedFormField.vue_vue_type_script_setup_true_lang.js +11 -11
- package/dist/Components/FormField/composables/useFormField.d.ts +116 -96
- package/dist/Components/FormField/composables/useFormField.js +187 -171
- package/dist/Components/Icon/Icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/Label/Label.vue.d.ts +5 -3
- package/dist/Components/Link/Link.vue_vue_type_script_setup_true_lang.js +10 -10
- package/dist/Components/List/List.vue.d.ts +6 -4
- package/dist/Components/List/List.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/Components/List/composables/useList.d.ts +1 -1
- package/dist/Components/List/composables/useList.js +11 -7
- package/dist/Components/List/index.d.ts +1 -1
- package/dist/Components/List/index.js +4 -4
- package/dist/Components/List/list.types.d.ts +10 -1
- package/dist/Components/List/listInjectionKey.d.ts +2 -0
- package/dist/Components/ListItem/ListItem.vue_vue_type_script_setup_true_lang.js +12 -11
- package/dist/Components/ListItem/composables/useListItem.d.ts +1 -2
- package/dist/Components/ListItem/composables/useListItem.js +96 -90
- package/dist/Components/ListItem/listItem.types.d.ts +8 -0
- package/dist/Components/ListSection/ListSection.vue.d.ts +1 -1
- package/dist/Components/ListSection/ListSection.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/Components/ListSection/composables/useListSection.js +35 -33
- package/dist/Components/Listbox/Listbox.vue.d.ts +3 -3
- package/dist/Components/Listbox/Listbox.vue_vue_type_script_setup_true_lang.js +49 -49
- package/dist/Components/Listbox/composables/useListbox.js +11 -11
- package/dist/Components/Listbox/index.js +5 -5
- package/dist/Components/Listbox/listbox.types.d.ts +2 -2
- package/dist/Components/Menu/Menu.vue.d.ts +4 -4
- package/dist/Components/Menu/Menu.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/Components/Menu/composables/useMenu.js +10 -10
- package/dist/Components/Modal/Modal.vue.d.ts +2 -2
- package/dist/Components/Modal/composables/useModal.d.ts +1 -1
- package/dist/Components/NumberField/NumberField.vue_vue_type_script_setup_true_lang.js +21 -21
- package/dist/Components/NumberField/composables/useNumberField.d.ts +96 -95
- package/dist/Components/NumberField/composables/useNumberField.js +6 -6
- package/dist/Components/OtpField/OtpField.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/Components/OtpField/composables/useOtpField.js +17 -17
- package/dist/Components/Pagination/Pagination.vue.d.ts +2 -2
- package/dist/Components/PasswordField/PasswordField.vue.d.ts +1 -1
- package/dist/Components/PasswordField/PasswordField.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/Components/PasswordField/composables/usePasswordField.d.ts +96 -95
- package/dist/Components/PasswordField/composables/usePasswordField.js +6 -6
- package/dist/Components/Popover/Popover.vue.d.ts +4 -4
- package/dist/Components/Popover/Popover.vue_vue_type_script_setup_true_lang.js +7 -7
- package/dist/Components/Popover/composables/usePopover.js +12 -12
- package/dist/Components/Radio/Radio.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/Components/Radio/composables/useRadio.js +66 -62
- package/dist/Components/Rating/Rating.vue_vue_type_script_setup_true_lang.js +12 -12
- package/dist/Components/Rating/composables/useRating.js +18 -18
- package/dist/Components/Resizable/composables/useResizable.js +6 -6
- package/dist/Components/Resizable/index.js +4 -4
- package/dist/Components/ResizableHandle/composables/useResizableHandle.js +10 -10
- package/dist/Components/ResizablePanel/composables/useResizablePanel.js +8 -8
- package/dist/Components/RichTextEditor/RichTextEditor.vue_vue_type_script_setup_true_lang.js +17 -17
- package/dist/Components/RichTextEditor/composables/useRichTextEditor.d.ts +95 -94
- package/dist/Components/RichTextEditor/composables/useRichTextEditor.js +107 -96
- package/dist/Components/Select/Select.vue.d.ts +4 -4
- package/dist/Components/Select/Select.vue_vue_type_script_setup_true_lang.js +16 -16
- package/dist/Components/Select/composables/useSelect.d.ts +98 -97
- package/dist/Components/Select/composables/useSelect.js +221 -215
- package/dist/Components/Sidebar/Sidebar.vue.d.ts +3 -3
- package/dist/Components/Sidebar/Sidebar.vue_vue_type_script_setup_true_lang.js +12 -12
- package/dist/Components/Sidebar/SidebarList.vue.d.ts +5 -3
- package/dist/Components/Sidebar/SidebarList.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/Components/Sidebar/SidebarListItem.vue_vue_type_script_setup_true_lang.js +34 -29
- package/dist/Components/Sidebar/composables/useSidebarInset.js +5 -5
- package/dist/Components/Sidebar/composables/useSidebarListItem.js +9 -9
- package/dist/Components/Sidebar/composables/useSidebarProvider.js +6 -6
- package/dist/Components/Sidebar/composables/useSidebarShell.js +14 -14
- package/dist/Components/Sidebar/composables/useSidebarTrigger.js +4 -4
- package/dist/Components/Sidebar/index.js +10 -10
- package/dist/Components/Slider/Slider.vue_vue_type_script_setup_true_lang.js +12 -12
- package/dist/Components/Slider/composables/useSlider.d.ts +2 -2
- package/dist/Components/Slider/composables/useSlider.js +24 -24
- package/dist/Components/Snackbar/Snackbar.vue.d.ts +3 -3
- package/dist/Components/Snackbar/Snackbar.vue_vue_type_script_setup_true_lang.js +79 -79
- package/dist/Components/Snackbar/composables/useSnackbar.d.ts +1 -1
- package/dist/Components/Snackbar/composables/useSnackbar.js +15 -15
- package/dist/Components/Step/Step.vue_vue_type_script_setup_true_lang.js +9 -9
- package/dist/Components/Step/composables/useStep.js +13 -13
- package/dist/Components/Stepper/composables/useStepper.js +7 -7
- package/dist/Components/Stepper/index.js +4 -4
- package/dist/Components/Switch/Switch.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/Components/Switch/composables/useSwitch.js +61 -57
- package/dist/Components/Tab/Tab.vue_vue_type_script_setup_true_lang.js +12 -12
- package/dist/Components/Tab/composables/useTab.js +20 -20
- package/dist/Components/TabItem/TabItem.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/Components/TabList/composables/useTabList.js +11 -11
- package/dist/Components/TabPanel/composables/useTabPanel.js +11 -11
- package/dist/Components/Table/composables/useTable.js +10 -10
- package/dist/Components/Table/composables/useTableCell.js +7 -7
- package/dist/Components/Table/composables/useTablePart.js +11 -11
- package/dist/Components/Table/composables/useTableRow.js +9 -9
- package/dist/Components/Table/index.js +13 -13
- package/dist/Components/Tabs/Tabs.vue_vue_type_script_setup_true_lang.js +25 -25
- package/dist/Components/Tabs/composables/useTabs.js +6 -6
- package/dist/Components/Tabs/index.js +4 -4
- package/dist/Components/TextField/TextField.vue_vue_type_script_setup_true_lang.js +9 -9
- package/dist/Components/TextField/composables/useTextField.d.ts +96 -95
- package/dist/Components/Textarea/Textarea.vue_vue_type_script_setup_true_lang.js +9 -9
- package/dist/Components/Textarea/composables/useTextarea.d.ts +96 -95
- package/dist/Components/Textarea/composables/useTextarea.js +6 -6
- package/dist/Components/TimeField/TimeField.vue.d.ts +2 -2
- package/dist/Components/TimeField/TimeField.vue_vue_type_script_setup_true_lang.js +16 -16
- package/dist/Components/TimeField/composables/useTimeField.d.ts +96 -95
- package/dist/Components/TimeField/composables/useTimeField.js +93 -86
- package/dist/Components/TimePanel/TimePanel.vue_vue_type_script_setup_true_lang.js +8 -4
- package/dist/Components/TimePicker/TimePicker.vue.d.ts +2 -2
- package/dist/Components/TimePicker/TimePicker.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/Components/TimePicker/composables/useTimePicker.js +9 -9
- package/dist/Components/TimeRangeField/TimeRangeField.vue.d.ts +2 -2
- package/dist/Components/TimeRangeField/TimeRangeField.vue_vue_type_script_setup_true_lang.js +16 -16
- package/dist/Components/TimeRangeField/composables/useTimeRangeField.d.ts +96 -95
- package/dist/Components/TimeRangeField/composables/useTimeRangeField.js +89 -82
- package/dist/Components/TimeRangePicker/TimeRangePicker.vue.d.ts +2 -2
- package/dist/Components/TimeRangePicker/TimeRangePicker.vue_vue_type_script_setup_true_lang.js +12 -12
- package/dist/Components/TimeRangePicker/composables/useTimeRangePicker.js +10 -10
- package/dist/Components/ToggleGroup/composables/useToggleGroup.js +6 -6
- package/dist/Components/ToggleGroup/index.js +4 -4
- package/dist/Components/ToggleItem/ToggleItem.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/Components/ToggleItem/composables/useToggleItem.js +11 -11
- package/dist/Components/Tooltip/Tooltip.vue.d.ts +4 -4
- package/dist/Components/Tooltip/Tooltip.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/Provider/BridgeUIProvider.vue.d.ts +5 -3
- package/dist/Provider/BridgeUIProvider.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/Provider/createBridgeUI.js +4 -4
- package/dist/Provider/index.js +4 -4
- package/dist/Utils/Charts/ChartFrame.vue.d.ts +11 -9
- package/dist/Utils/index.d.ts +7 -0
- package/dist/Utils/index.js +42 -36
- package/dist/Utils/useWheelNavigation.d.ts +11 -0
- package/dist/Utils/useWheelNavigation.js +20 -0
- package/dist/augments.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +193 -193
- package/docs/components/Autocomplete.md +4 -0
- package/docs/components/Calendar.md +31 -30
- package/docs/components/CalendarRange.md +29 -28
- package/docs/components/ColorField.md +4 -0
- package/docs/components/DateField.md +4 -0
- package/docs/components/DateRangeField.md +4 -0
- package/docs/components/DateTimeField.md +4 -0
- package/docs/components/DateTimeRangeField.md +4 -0
- package/docs/components/Drawer.md +8 -5
- package/docs/components/List.md +43 -27
- package/docs/components/Modal.md +8 -5
- package/docs/components/RichTextEditor.md +4 -0
- package/docs/components/Select.md +4 -0
- package/docs/components/TimeField.md +4 -0
- package/docs/components/TimeRangeField.md +4 -0
- package/package.json +36 -36
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
1
|
+
import { useCarousel as e } from "./composables/useCarousel.js";
|
|
2
|
+
import t from "../Icon/Icon.js";
|
|
3
3
|
import { Fragment as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, guardReactiveProps as c, mergeModels as l, mergeProps as u, normalizeClass as d, normalizeProps as f, openBlock as p, renderList as m, renderSlot as h, toDisplayString as g, unref as _, useModel as v } from "vue";
|
|
4
4
|
// src/Components/Carousel/Carousel.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var y = /*@__PURE__*/ s({
|
|
@@ -25,7 +25,7 @@ var y = /*@__PURE__*/ s({
|
|
|
25
25
|
}),
|
|
26
26
|
emits: ["update:index"],
|
|
27
27
|
setup(s) {
|
|
28
|
-
let l = s, y = v(s, "index"), { liveBind: b, nextBind: x, prevBind: S, rootBind: C, nextIcon: w, prevIcon: T, trackBind: E, activeIndex: D, controlsBind: O, nextIconBind: k, prevIconBind: A, showControls: j, viewportBind: M, announcement: N, frameClassName: P, indicatorsBind: F, showIndicators: I, getIndicatorBind: L, indicatorIndexes: R } =
|
|
28
|
+
let l = s, y = v(s, "index"), { liveBind: b, nextBind: x, prevBind: S, rootBind: C, nextIcon: w, prevIcon: T, trackBind: E, activeIndex: D, controlsBind: O, nextIconBind: k, prevIconBind: A, showControls: j, viewportBind: M, announcement: N, frameClassName: P, indicatorsBind: F, showIndicators: I, getIndicatorBind: L, indicatorIndexes: R } = e(l, {
|
|
29
29
|
gap: 0,
|
|
30
30
|
size: "md",
|
|
31
31
|
loop: !1,
|
|
@@ -35,11 +35,11 @@ var y = /*@__PURE__*/ s({
|
|
|
35
35
|
slidesPerView: 1,
|
|
36
36
|
orientation: "horizontal"
|
|
37
37
|
}, y);
|
|
38
|
-
return (
|
|
39
|
-
a("div", { class: d(_(P)) }, [a("div", f(c(_(M))), [a("div", f(c(_(E))), [h(
|
|
40
|
-
_(I) ? (p(), i("div", f(u({ key: 0 }, _(F))), [(p(!0), i(n, null, m(_(R), (
|
|
41
|
-
index:
|
|
42
|
-
selected:
|
|
38
|
+
return (e, s) => (p(), i("section", f(c(_(C))), [
|
|
39
|
+
a("div", { class: d(_(P)) }, [a("div", f(c(_(M))), [a("div", f(c(_(E))), [h(e.$slots, "default")], 16)], 16), _(j) ? (p(), i("div", f(u({ key: 0 }, _(O))), [a("button", f(c(_(S))), [h(e.$slots, "prev", {}, () => [o(_(t), u({ icon: _(T) }, _(A)), null, 16, ["icon"])])], 16), a("button", f(c(_(x))), [h(e.$slots, "next", {}, () => [o(_(t), u({ icon: _(w) }, _(k)), null, 16, ["icon"])])], 16)], 16)) : r("", !0)], 2),
|
|
40
|
+
_(I) ? (p(), i("div", f(u({ key: 0 }, _(F))), [(p(!0), i(n, null, m(_(R), (t) => (p(), i("button", u({ key: t }, { ref_for: !0 }, _(L)(t)), [h(e.$slots, "indicator", {
|
|
41
|
+
index: t,
|
|
42
|
+
selected: t === _(D)
|
|
43
43
|
})], 16))), 128))], 16)) : r("", !0),
|
|
44
44
|
a("div", f(c(_(b))), g(_(N)), 17)
|
|
45
45
|
], 16));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useResolveMessage as e } from "../../../Adapters/I18n/useI18nAdapter.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { CAROUSEL_INJECTION_KEY as t } from "../carouselInjectionKey.js";
|
|
3
|
+
import { mergePartBind as n, useBridgeUIComponent as r, useBridgeUIMergedRegistryClasses as i } from "../../../Utils/index.js";
|
|
4
4
|
import { computed as a, onMounted as o, onScopeDispose as s, provide as c, ref as l, useAttrs as ee, useId as te, watch as u } from "vue";
|
|
5
5
|
import { get as d, isFunction as f, omit as p } from "es-toolkit/compat";
|
|
6
6
|
import { canMoveCarousel as m, clampCarouselIndex as h, getAdjacentCarouselIndex as g, getCarouselMaxIndex as _, getCarouselSlideStyle as v, getCarouselTrackStyle as y, resolveCarouselAutoPlayInterval as b, resolveCarouselSwipeDirection as ne, shouldPauseCarouselAutoPlay as re } from "@bridge-ui/core/Domain";
|
|
@@ -45,7 +45,7 @@ function w(w, T, E) {
|
|
|
45
45
|
...w
|
|
46
46
|
},
|
|
47
47
|
bridgeKeys: se
|
|
48
|
-
})), { merged: L, entry: R } =
|
|
48
|
+
})), { merged: L, entry: R } = r({
|
|
49
49
|
libDefaults: T,
|
|
50
50
|
componentName: "Carousel",
|
|
51
51
|
props: () => I.value.componentProps
|
|
@@ -54,7 +54,7 @@ function w(w, T, E) {
|
|
|
54
54
|
if (t <= 0) return e;
|
|
55
55
|
let n = _(t, L.value.slidesPerView);
|
|
56
56
|
return h(e, n + 1);
|
|
57
|
-
}), B =
|
|
57
|
+
}), B = i({
|
|
58
58
|
entry: R,
|
|
59
59
|
props: () => I.value.componentProps
|
|
60
60
|
}), V = a(() => ae(ie, R.value?.tokens?.size)), H = a(() => d(V.value, L.value.size)), U = a(() => d(H.value, "icon") ?? "sm");
|
|
@@ -154,15 +154,15 @@ function w(w, T, E) {
|
|
|
154
154
|
slideClassName: d(B.value, "slide") ?? "",
|
|
155
155
|
slideStyle: v(L.value.slidesPerView, L.value.gap, L.value.orientation)
|
|
156
156
|
}));
|
|
157
|
-
c(
|
|
157
|
+
c(t, be);
|
|
158
158
|
let xe = a(() => {
|
|
159
|
-
let e = C(I.value.inheritedAttrs.onBlur),
|
|
160
|
-
return
|
|
159
|
+
let e = C(I.value.inheritedAttrs.onBlur), t = C(I.value.inheritedAttrs.onFocus), r = C(I.value.inheritedAttrs.onKeydown), i = C(I.value.inheritedAttrs.onMouseenter), a = C(I.value.inheritedAttrs.onMouseleave), o = p(I.value.inheritedAttrs, [...ce]);
|
|
160
|
+
return n(L.value.customProps?.root, o, {
|
|
161
161
|
role: "region",
|
|
162
162
|
"aria-roledescription": "carousel",
|
|
163
163
|
"data-orientation": L.value.orientation,
|
|
164
164
|
onFocus: (e) => {
|
|
165
|
-
j.value = !0,
|
|
165
|
+
j.value = !0, t?.(e);
|
|
166
166
|
},
|
|
167
167
|
onMouseenter: (e) => {
|
|
168
168
|
A.value = !0, i?.(e);
|
|
@@ -184,8 +184,8 @@ function w(w, T, E) {
|
|
|
184
184
|
}
|
|
185
185
|
});
|
|
186
186
|
}), Se = a(() => {
|
|
187
|
-
let e = L.value.customProps?.viewport,
|
|
188
|
-
return
|
|
187
|
+
let e = L.value.customProps?.viewport, t = C(e?.onPointerup), r = C(e?.onPointerdown), i = C(e?.onPointercancel);
|
|
188
|
+
return n(p(e, [...le]), {}, {
|
|
189
189
|
"data-part": "viewport",
|
|
190
190
|
onPointercancel: (e) => {
|
|
191
191
|
F.value = null, i?.(e);
|
|
@@ -203,18 +203,18 @@ function w(w, T, E) {
|
|
|
203
203
|
}), r?.(e);
|
|
204
204
|
},
|
|
205
205
|
onPointerup: (e) => {
|
|
206
|
-
let
|
|
207
|
-
if (F.value = null,
|
|
208
|
-
let
|
|
206
|
+
let n = F.value;
|
|
207
|
+
if (F.value = null, n && n.pointerId === e.pointerId) {
|
|
208
|
+
let t = ne(e.clientX - n.x, e.clientY - n.y, {
|
|
209
209
|
rtl: Q.value,
|
|
210
210
|
orientation: L.value.orientation
|
|
211
211
|
});
|
|
212
|
-
|
|
212
|
+
t && G(t);
|
|
213
213
|
}
|
|
214
|
-
|
|
214
|
+
t?.(e);
|
|
215
215
|
}
|
|
216
216
|
});
|
|
217
|
-
}), $ = a(() =>
|
|
217
|
+
}), $ = a(() => n(L.value.customProps?.track, {}, {
|
|
218
218
|
"data-part": "track",
|
|
219
219
|
class: x({
|
|
220
220
|
[d(H.value, "track") ?? ""]: !0,
|
|
@@ -228,14 +228,14 @@ function w(w, T, E) {
|
|
|
228
228
|
orientation: L.value.orientation,
|
|
229
229
|
slidesPerView: L.value.slidesPerView
|
|
230
230
|
})
|
|
231
|
-
})), Ce = a(() =>
|
|
231
|
+
})), Ce = a(() => n(L.value.customProps?.controls, {}, {
|
|
232
232
|
"data-part": "controls",
|
|
233
233
|
class: x({
|
|
234
234
|
[d(H.value, "controls") ?? ""]: !0,
|
|
235
235
|
[d(H.value, "controlsVertical") ?? ""]: Z.value,
|
|
236
236
|
[d(B.value, "controls") ?? ""]: !0
|
|
237
237
|
})
|
|
238
|
-
})), we = a(() => X.value ? Z.value ? d(H.value, "frameVertical") ?? "relative" : d(H.value, "frame") ?? "relative" : "relative"), Te = a(() =>
|
|
238
|
+
})), we = a(() => X.value ? Z.value ? d(H.value, "frameVertical") ?? "relative" : d(H.value, "frame") ?? "relative" : "relative"), Te = a(() => n(L.value.customProps?.prev, {}, {
|
|
239
239
|
"data-part": "prev",
|
|
240
240
|
type: "button",
|
|
241
241
|
disabled: _e.value,
|
|
@@ -248,7 +248,7 @@ function w(w, T, E) {
|
|
|
248
248
|
[d(B.value, "prev") ?? ""]: !0,
|
|
249
249
|
[d(B.value, "control") ?? ""]: !0
|
|
250
250
|
})
|
|
251
|
-
})), Ee = a(() =>
|
|
251
|
+
})), Ee = a(() => n(L.value.customProps?.next, {}, {
|
|
252
252
|
"data-part": "next",
|
|
253
253
|
type: "button",
|
|
254
254
|
disabled: ve.value,
|
|
@@ -261,15 +261,15 @@ function w(w, T, E) {
|
|
|
261
261
|
[d(B.value, "next") ?? ""]: !0,
|
|
262
262
|
[d(B.value, "control") ?? ""]: !0
|
|
263
263
|
})
|
|
264
|
-
})), De = a(() =>
|
|
264
|
+
})), De = a(() => n(L.value.customProps?.prevIcon, {}, {
|
|
265
265
|
"aria-hidden": !0,
|
|
266
266
|
size: U.value,
|
|
267
267
|
class: Z.value ? void 0 : "rtl:rotate-180"
|
|
268
|
-
})), Oe = a(() =>
|
|
268
|
+
})), Oe = a(() => n(L.value.customProps?.nextIcon, {}, {
|
|
269
269
|
"aria-hidden": !0,
|
|
270
270
|
size: U.value,
|
|
271
271
|
class: Z.value ? void 0 : "rtl:rotate-180"
|
|
272
|
-
})), ke = a(() =>
|
|
272
|
+
})), ke = a(() => n(L.value.customProps?.indicators, {}, {
|
|
273
273
|
role: "group",
|
|
274
274
|
"data-part": "indicators",
|
|
275
275
|
"aria-label": D("Slides"),
|
|
@@ -277,7 +277,7 @@ function w(w, T, E) {
|
|
|
277
277
|
[d(H.value, "indicators") ?? ""]: !0,
|
|
278
278
|
[d(B.value, "indicators") ?? ""]: !0
|
|
279
279
|
})
|
|
280
|
-
})), Ae = a(() =>
|
|
280
|
+
})), Ae = a(() => n(L.value.customProps?.live, {}, {
|
|
281
281
|
"aria-atomic": !0,
|
|
282
282
|
"data-part": "live",
|
|
283
283
|
"aria-live": "polite",
|
|
@@ -287,18 +287,18 @@ function w(w, T, E) {
|
|
|
287
287
|
})
|
|
288
288
|
}));
|
|
289
289
|
function je(e) {
|
|
290
|
-
let
|
|
291
|
-
return
|
|
290
|
+
let t = e === z.value;
|
|
291
|
+
return n(L.value.customProps?.indicator, {}, {
|
|
292
292
|
type: "button",
|
|
293
293
|
"data-part": "indicator",
|
|
294
|
-
"aria-current":
|
|
294
|
+
"aria-current": t ? "true" : void 0,
|
|
295
295
|
onClick: () => {
|
|
296
296
|
K(e);
|
|
297
297
|
},
|
|
298
298
|
"aria-label": D("Go to slide {{index}}", { index: e + 1 }),
|
|
299
299
|
class: x({
|
|
300
300
|
[d(H.value, "indicator") ?? ""]: !0,
|
|
301
|
-
[d(H.value, "indicatorSelected") ?? ""]:
|
|
301
|
+
[d(H.value, "indicatorSelected") ?? ""]: t,
|
|
302
302
|
[d(B.value, "indicator") ?? ""]: !0
|
|
303
303
|
})
|
|
304
304
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import n from "./
|
|
4
|
-
export {
|
|
1
|
+
import e from "./Carousel.js";
|
|
2
|
+
import { CAROUSEL_INJECTION_KEY as t } from "./carouselInjectionKey.js";
|
|
3
|
+
import { useCarousel as n } from "./composables/useCarousel.js";
|
|
4
|
+
export { t as CAROUSEL_INJECTION_KEY, e as Carousel, n as useCarousel };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useResolveMessage as e } from "../../../Adapters/I18n/useI18nAdapter.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { CAROUSEL_INJECTION_KEY as t } from "../../Carousel/carouselInjectionKey.js";
|
|
3
|
+
import { mergePartBind as n, useBridgeUIComponent as r, useBridgeUIMergedRegistryClasses as i } from "../../../Utils/index.js";
|
|
4
4
|
import { computed as a, inject as o, onBeforeUnmount as s, useAttrs as c, useId as l, watchEffect as u } from "vue";
|
|
5
5
|
import { get as d, omit as f } from "es-toolkit/compat";
|
|
6
6
|
import { getCarouselSlideId as p, isCarouselSlideInView as m } from "@bridge-ui/core/Domain";
|
|
@@ -11,7 +11,7 @@ function v(e) {
|
|
|
11
11
|
return e && typeof e == "object" && !Array.isArray(e) ? e : {};
|
|
12
12
|
}
|
|
13
13
|
function y(y) {
|
|
14
|
-
let b = c(), x = l(), S = e(), C = o(
|
|
14
|
+
let b = c(), x = l(), S = e(), C = o(t, null);
|
|
15
15
|
if (!C) throw Error("CarouselSlide must be used within a Carousel provider");
|
|
16
16
|
let w = C, T = null;
|
|
17
17
|
T = w.value.registerSlide(x), s(() => {
|
|
@@ -27,10 +27,10 @@ function y(y) {
|
|
|
27
27
|
...y
|
|
28
28
|
},
|
|
29
29
|
bridgeKeys: _
|
|
30
|
-
})), { merged: j, entry: M } =
|
|
30
|
+
})), { merged: j, entry: M } = r({
|
|
31
31
|
componentName: "CarouselSlide",
|
|
32
32
|
props: () => A.value.componentProps
|
|
33
|
-
}), N =
|
|
33
|
+
}), N = i({
|
|
34
34
|
entry: M,
|
|
35
35
|
props: () => A.value.componentProps
|
|
36
36
|
}), P = a(() => {
|
|
@@ -47,7 +47,7 @@ function y(y) {
|
|
|
47
47
|
index: E,
|
|
48
48
|
rootBind: a(() => {
|
|
49
49
|
let e = j.value.customProps?.root;
|
|
50
|
-
return
|
|
50
|
+
return n({
|
|
51
51
|
...A.value.inheritedAttrs,
|
|
52
52
|
...e,
|
|
53
53
|
class: h(A.value.inheritedAttrs.class, e?.class),
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "./
|
|
3
|
-
export {
|
|
1
|
+
import e from "./CarouselSlide.js";
|
|
2
|
+
import { useCarouselSlide as t } from "./composables/useCarouselSlide.js";
|
|
3
|
+
export { e as CarouselSlide, t as useCarouselSlide };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "./
|
|
3
|
-
export {
|
|
1
|
+
import e from "./ChartAxis.js";
|
|
2
|
+
import { useChartAxis as t } from "./composables/useChartAxis.js";
|
|
3
|
+
export { e as ChartAxis, t as useChartAxis };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
1
|
+
import { useChartBar as e } from "./composables/useChartBar.js";
|
|
2
|
+
import t from "../../Utils/Charts/ChartFrame.js";
|
|
3
3
|
import { createBlock as n, createSlots as r, defineComponent as i, openBlock as a, renderSlot as o, unref as s, withCtx as c } from "vue";
|
|
4
4
|
// src/Components/ChartBar/ChartBar.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var l = /*@__PURE__*/ i({
|
|
@@ -38,7 +38,7 @@ var l = /*@__PURE__*/ i({
|
|
|
38
38
|
width: {}
|
|
39
39
|
},
|
|
40
40
|
setup(i) {
|
|
41
|
-
let { frame: l } =
|
|
41
|
+
let { frame: l } = e(i, {
|
|
42
42
|
radius: 4,
|
|
43
43
|
size: "md",
|
|
44
44
|
height: 280,
|
|
@@ -46,16 +46,16 @@ var l = /*@__PURE__*/ i({
|
|
|
46
46
|
animation: !0,
|
|
47
47
|
orientation: "vertical"
|
|
48
48
|
});
|
|
49
|
-
return (
|
|
50
|
-
default: c(() => [o(
|
|
49
|
+
return (e, i) => (a(), n(s(t), { frame: s(l) }, r({
|
|
50
|
+
default: c(() => [o(e.$slots, "default")]),
|
|
51
51
|
_: 2
|
|
52
|
-
}, [
|
|
52
|
+
}, [e.$slots.empty ? {
|
|
53
53
|
name: "empty",
|
|
54
|
-
fn: c(() => [o(
|
|
54
|
+
fn: c(() => [o(e.$slots, "empty")]),
|
|
55
55
|
key: "0"
|
|
56
|
-
} : void 0,
|
|
56
|
+
} : void 0, e.$slots.loading ? {
|
|
57
57
|
name: "loading",
|
|
58
|
-
fn: c(() => [o(
|
|
58
|
+
fn: c(() => [o(e.$slots, "loading")]),
|
|
59
59
|
key: "1"
|
|
60
60
|
} : void 0]), 1032, ["frame"]));
|
|
61
61
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from "./ChartBar.js";
|
|
2
2
|
import { useChartBar as t } from "./composables/useChartBar.js";
|
|
3
|
-
import n from "
|
|
4
|
-
export {
|
|
3
|
+
import { useChartContext as n } from "../../Utils/Charts/chartInjectionKey.js";
|
|
4
|
+
export { e as ChartBar, t as useChartBar, n as useChartContext };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "./
|
|
3
|
-
export {
|
|
1
|
+
import e from "./ChartBarSeries.js";
|
|
2
|
+
import { useChartBarSeries as t } from "./composables/useChartBarSeries.js";
|
|
3
|
+
export { e as ChartBarSeries, t as useChartBarSeries };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
1
|
+
import { useChartFunnel as e } from "./composables/useChartFunnel.js";
|
|
2
|
+
import t from "../../Utils/Charts/ChartFrame.js";
|
|
3
3
|
import { createBlock as n, createSlots as r, defineComponent as i, openBlock as a, renderSlot as o, unref as s, withCtx as c } from "vue";
|
|
4
4
|
// src/Components/ChartFunnel/ChartFunnel.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var l = /*@__PURE__*/ i({
|
|
@@ -32,7 +32,7 @@ var l = /*@__PURE__*/ i({
|
|
|
32
32
|
width: {}
|
|
33
33
|
},
|
|
34
34
|
setup(i) {
|
|
35
|
-
let { frame: l } =
|
|
35
|
+
let { frame: l } = e(i, {
|
|
36
36
|
size: "md",
|
|
37
37
|
height: 280,
|
|
38
38
|
labels: !0,
|
|
@@ -41,16 +41,16 @@ var l = /*@__PURE__*/ i({
|
|
|
41
41
|
sort: "descending",
|
|
42
42
|
labelPosition: "inside"
|
|
43
43
|
});
|
|
44
|
-
return (
|
|
45
|
-
default: c(() => [o(
|
|
44
|
+
return (e, i) => (a(), n(s(t), { frame: s(l) }, r({
|
|
45
|
+
default: c(() => [o(e.$slots, "default")]),
|
|
46
46
|
_: 2
|
|
47
|
-
}, [
|
|
47
|
+
}, [e.$slots.empty ? {
|
|
48
48
|
name: "empty",
|
|
49
|
-
fn: c(() => [o(
|
|
49
|
+
fn: c(() => [o(e.$slots, "empty")]),
|
|
50
50
|
key: "0"
|
|
51
|
-
} : void 0,
|
|
51
|
+
} : void 0, e.$slots.loading ? {
|
|
52
52
|
name: "loading",
|
|
53
|
-
fn: c(() => [o(
|
|
53
|
+
fn: c(() => [o(e.$slots, "loading")]),
|
|
54
54
|
key: "1"
|
|
55
55
|
} : void 0]), 1032, ["frame"]));
|
|
56
56
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from "./ChartFunnel.js";
|
|
2
2
|
import { useChartFunnel as t } from "./composables/useChartFunnel.js";
|
|
3
|
-
import n from "
|
|
4
|
-
export {
|
|
3
|
+
import { useChartContext as n } from "../../Utils/Charts/chartInjectionKey.js";
|
|
4
|
+
export { e as ChartFunnel, n as useChartContext, t as useChartFunnel };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "./
|
|
3
|
-
export {
|
|
1
|
+
import e from "./ChartLegend.js";
|
|
2
|
+
import { useChartLegend as t } from "./composables/useChartLegend.js";
|
|
3
|
+
export { e as ChartLegend, t as useChartLegend };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
1
|
+
import { useChartLine as e } from "./composables/useChartLine.js";
|
|
2
|
+
import t from "../../Utils/Charts/ChartFrame.js";
|
|
3
3
|
import { createBlock as n, createSlots as r, defineComponent as i, openBlock as a, renderSlot as o, unref as s, withCtx as c } from "vue";
|
|
4
4
|
// src/Components/ChartLine/ChartLine.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var l = /*@__PURE__*/ i({
|
|
@@ -49,7 +49,7 @@ var l = /*@__PURE__*/ i({
|
|
|
49
49
|
width: {}
|
|
50
50
|
},
|
|
51
51
|
setup(i) {
|
|
52
|
-
let { frame: l } =
|
|
52
|
+
let { frame: l } = e(i, {
|
|
53
53
|
size: "md",
|
|
54
54
|
area: !1,
|
|
55
55
|
step: !1,
|
|
@@ -59,16 +59,16 @@ var l = /*@__PURE__*/ i({
|
|
|
59
59
|
curve: "linear",
|
|
60
60
|
showPoints: !1
|
|
61
61
|
});
|
|
62
|
-
return (
|
|
63
|
-
default: c(() => [o(
|
|
62
|
+
return (e, i) => (a(), n(s(t), { frame: s(l) }, r({
|
|
63
|
+
default: c(() => [o(e.$slots, "default")]),
|
|
64
64
|
_: 2
|
|
65
|
-
}, [
|
|
65
|
+
}, [e.$slots.empty ? {
|
|
66
66
|
name: "empty",
|
|
67
|
-
fn: c(() => [o(
|
|
67
|
+
fn: c(() => [o(e.$slots, "empty")]),
|
|
68
68
|
key: "0"
|
|
69
|
-
} : void 0,
|
|
69
|
+
} : void 0, e.$slots.loading ? {
|
|
70
70
|
name: "loading",
|
|
71
|
-
fn: c(() => [o(
|
|
71
|
+
fn: c(() => [o(e.$slots, "loading")]),
|
|
72
72
|
key: "1"
|
|
73
73
|
} : void 0]), 1032, ["frame"]));
|
|
74
74
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from "./ChartLine.js";
|
|
2
2
|
import { useChartLine as t } from "./composables/useChartLine.js";
|
|
3
|
-
import n from "
|
|
4
|
-
export {
|
|
3
|
+
import { useChartContext as n } from "../../Utils/Charts/chartInjectionKey.js";
|
|
4
|
+
export { e as ChartLine, n as useChartContext, t as useChartLine };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "./
|
|
3
|
-
export {
|
|
1
|
+
import e from "./ChartLineSeries.js";
|
|
2
|
+
import { useChartLineSeries as t } from "./composables/useChartLineSeries.js";
|
|
3
|
+
export { e as ChartLineSeries, t as useChartLineSeries };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
1
|
+
import { useChartPie as e } from "./composables/useChartPie.js";
|
|
2
|
+
import t from "../../Utils/Charts/ChartFrame.js";
|
|
3
3
|
import { createBlock as n, createSlots as r, defineComponent as i, openBlock as a, renderSlot as o, unref as s, withCtx as c } from "vue";
|
|
4
4
|
// src/Components/ChartPie/ChartPie.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var l = /*@__PURE__*/ i({
|
|
@@ -37,7 +37,7 @@ var l = /*@__PURE__*/ i({
|
|
|
37
37
|
width: {}
|
|
38
38
|
},
|
|
39
39
|
setup(i) {
|
|
40
|
-
let { frame: l, variant: u } =
|
|
40
|
+
let { frame: l, variant: u } = e(i, {
|
|
41
41
|
size: "md",
|
|
42
42
|
minAngle: 2,
|
|
43
43
|
height: 280,
|
|
@@ -47,26 +47,26 @@ var l = /*@__PURE__*/ i({
|
|
|
47
47
|
animation: !0,
|
|
48
48
|
labelPosition: "outside"
|
|
49
49
|
});
|
|
50
|
-
return (
|
|
50
|
+
return (e, i) => (a(), n(s(t), {
|
|
51
51
|
frame: s(l),
|
|
52
|
-
"show-center": s(u) === "donut" && !!
|
|
52
|
+
"show-center": s(u) === "donut" && !!e.$slots.center
|
|
53
53
|
}, r({
|
|
54
|
-
default: c(() => [o(
|
|
54
|
+
default: c(() => [o(e.$slots, "default")]),
|
|
55
55
|
_: 2
|
|
56
56
|
}, [
|
|
57
|
-
|
|
57
|
+
e.$slots.center ? {
|
|
58
58
|
name: "center",
|
|
59
|
-
fn: c(() => [o(
|
|
59
|
+
fn: c(() => [o(e.$slots, "center")]),
|
|
60
60
|
key: "0"
|
|
61
61
|
} : void 0,
|
|
62
|
-
|
|
62
|
+
e.$slots.empty ? {
|
|
63
63
|
name: "empty",
|
|
64
|
-
fn: c(() => [o(
|
|
64
|
+
fn: c(() => [o(e.$slots, "empty")]),
|
|
65
65
|
key: "1"
|
|
66
66
|
} : void 0,
|
|
67
|
-
|
|
67
|
+
e.$slots.loading ? {
|
|
68
68
|
name: "loading",
|
|
69
|
-
fn: c(() => [o(
|
|
69
|
+
fn: c(() => [o(e.$slots, "loading")]),
|
|
70
70
|
key: "2"
|
|
71
71
|
} : void 0
|
|
72
72
|
]), 1032, ["frame", "show-center"]));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from "./ChartPie.js";
|
|
2
2
|
import { useChartPie as t } from "./composables/useChartPie.js";
|
|
3
|
-
import n from "
|
|
4
|
-
export {
|
|
3
|
+
import { useChartContext as n } from "../../Utils/Charts/chartInjectionKey.js";
|
|
4
|
+
export { e as ChartPie, n as useChartContext, t as useChartPie };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
1
|
+
import { useChartScatter as e } from "./composables/useChartScatter.js";
|
|
2
|
+
import t from "../../Utils/Charts/ChartFrame.js";
|
|
3
3
|
import { createBlock as n, createSlots as r, defineComponent as i, openBlock as a, renderSlot as o, unref as s, withCtx as c } from "vue";
|
|
4
4
|
// src/Components/ChartScatter/ChartScatter.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var l = /*@__PURE__*/ i({
|
|
@@ -25,22 +25,22 @@ var l = /*@__PURE__*/ i({
|
|
|
25
25
|
width: {}
|
|
26
26
|
},
|
|
27
27
|
setup(i) {
|
|
28
|
-
let { frame: l } =
|
|
28
|
+
let { frame: l } = e(i, {
|
|
29
29
|
size: "md",
|
|
30
30
|
height: 280,
|
|
31
31
|
symbolSize: 8,
|
|
32
32
|
animation: !0
|
|
33
33
|
});
|
|
34
|
-
return (
|
|
35
|
-
default: c(() => [o(
|
|
34
|
+
return (e, i) => (a(), n(s(t), { frame: s(l) }, r({
|
|
35
|
+
default: c(() => [o(e.$slots, "default")]),
|
|
36
36
|
_: 2
|
|
37
|
-
}, [
|
|
37
|
+
}, [e.$slots.empty ? {
|
|
38
38
|
name: "empty",
|
|
39
|
-
fn: c(() => [o(
|
|
39
|
+
fn: c(() => [o(e.$slots, "empty")]),
|
|
40
40
|
key: "0"
|
|
41
|
-
} : void 0,
|
|
41
|
+
} : void 0, e.$slots.loading ? {
|
|
42
42
|
name: "loading",
|
|
43
|
-
fn: c(() => [o(
|
|
43
|
+
fn: c(() => [o(e.$slots, "loading")]),
|
|
44
44
|
key: "1"
|
|
45
45
|
} : void 0]), 1032, ["frame"]));
|
|
46
46
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { chartRootBridgeKeys as e, toChartLegendItems as t, useChartColors as n, useChartContextValue as r, useChartFrame as i, useChartPlot as a, useChartRoot as o } from "../../../Utils/Charts/useChartRoot.js";
|
|
2
|
+
import { useChartRegistry as s } from "../../../Utils/Charts/useChartRegistry.js";
|
|
3
3
|
import { computed as c } from "vue";
|
|
4
4
|
import { isNil as l } from "es-toolkit/compat";
|
|
5
5
|
import { DEFAULT_CHART_BUBBLE_SIZE as u, DEFAULT_CHART_SYMBOL_SIZE as d, getChartBubbleSizeDomain as f, getChartRangeColorItems as p, getChartScatterPoints as m, getChartScatterTable as h, getChartScatterTooltip as g, isChartScatterEmpty as _, resolveChartRangeColors as v } from "@bridge-ui/core/Domain";
|
|
6
6
|
import { mountEchartsScatter as y } from "@bridge-ui/core/Integrations/Echarts";
|
|
7
7
|
// src/Components/ChartScatter/composables/useChartScatter.ts
|
|
8
8
|
var b = [
|
|
9
|
-
...
|
|
9
|
+
...e,
|
|
10
10
|
"bubbleSize",
|
|
11
11
|
"symbolSize"
|
|
12
12
|
], x = [
|
|
@@ -17,14 +17,14 @@ var b = [
|
|
|
17
17
|
"symbolSize",
|
|
18
18
|
"customProps"
|
|
19
19
|
];
|
|
20
|
-
function S(
|
|
21
|
-
let C =
|
|
22
|
-
props:
|
|
20
|
+
function S(e, S) {
|
|
21
|
+
let C = o({
|
|
22
|
+
props: e,
|
|
23
23
|
libDefaults: S,
|
|
24
24
|
componentName: "ChartScatter",
|
|
25
25
|
bridgeKeys: b,
|
|
26
26
|
registryKeys: x
|
|
27
|
-
}), w =
|
|
27
|
+
}), w = s(), { merged: T, hidden: E, locale: D, resolveMessage: O } = C, k = c(() => JSON.stringify(e.bubbleSize ?? T.value.bubbleSize ?? u)), A = c(() => JSON.parse(k.value)), j = n(C, () => [...w.entries.value, ...p(w.entries.value)]), M = c(() => w.entries.value.filter((e) => !E.value.includes(e.id)).map((e) => ({
|
|
28
28
|
...e,
|
|
29
29
|
color: j.value[e.id] ?? "",
|
|
30
30
|
colorRanges: v({
|
|
@@ -48,7 +48,7 @@ function S(t, S) {
|
|
|
48
48
|
symbolSize: T.value.symbolSize ?? d
|
|
49
49
|
};
|
|
50
50
|
});
|
|
51
|
-
|
|
51
|
+
a(C, {
|
|
52
52
|
options: P,
|
|
53
53
|
mount: y
|
|
54
54
|
});
|
|
@@ -68,7 +68,7 @@ function S(t, S) {
|
|
|
68
68
|
});
|
|
69
69
|
});
|
|
70
70
|
return {
|
|
71
|
-
frame:
|
|
71
|
+
frame: i(C, c(() => {
|
|
72
72
|
let e = w.entries.value;
|
|
73
73
|
return {
|
|
74
74
|
tooltip: I.value,
|
|
@@ -92,14 +92,14 @@ function S(t, S) {
|
|
|
92
92
|
};
|
|
93
93
|
})),
|
|
94
94
|
merged: T,
|
|
95
|
-
context:
|
|
95
|
+
context: r(C, c(() => ({
|
|
96
96
|
tooltip: I.value,
|
|
97
97
|
setAxis: w.setAxis,
|
|
98
98
|
family: "scatter",
|
|
99
99
|
removeAxis: w.removeAxis,
|
|
100
100
|
upsertSeries: w.upsertSeries,
|
|
101
101
|
removeSeries: w.removeSeries,
|
|
102
|
-
legendItems:
|
|
102
|
+
legendItems: t(w.entries.value, j.value, E.value)
|
|
103
103
|
}))),
|
|
104
104
|
options: P
|
|
105
105
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from "./ChartScatter.js";
|
|
2
2
|
import { useChartScatter as t } from "./composables/useChartScatter.js";
|
|
3
|
-
import n from "
|
|
4
|
-
export {
|
|
3
|
+
import { useChartContext as n } from "../../Utils/Charts/chartInjectionKey.js";
|
|
4
|
+
export { e as ChartScatter, n as useChartContext, t as useChartScatter };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "./
|
|
3
|
-
export {
|
|
1
|
+
import e from "./ChartScatterSeries.js";
|
|
2
|
+
import { useChartScatterSeries as t } from "./composables/useChartScatterSeries.js";
|
|
3
|
+
export { e as ChartScatterSeries, t as useChartScatterSeries };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "./
|
|
3
|
-
export {
|
|
1
|
+
import e from "./ChartTooltip.js";
|
|
2
|
+
import { useChartTooltip as t } from "./composables/useChartTooltip.js";
|
|
3
|
+
export { e as ChartTooltip, t as useChartTooltip };
|