@lotte-innovate/ui-component-test 0.1.90 → 0.1.91
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +133 -133
- package/dist/globals.css +4 -4
- package/dist/lib/Typography/Header/index.mjs +1 -1
- package/dist/lib/Typography/Header/index.mjs.map +1 -1
- package/dist/lib/Typography/Text/index.mjs +1 -1
- package/dist/lib/Typography/Text/index.mjs.map +1 -1
- package/dist/lib/components/Accordion/index.mjs +1 -1
- package/dist/lib/components/Accordion/index.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +1 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -1
- package/dist/lib/components/AspectRatio/index.mjs +1 -1
- package/dist/lib/components/AspectRatio/index.mjs.map +1 -1
- package/dist/lib/components/Avatar/index.mjs +1 -1
- package/dist/lib/components/Avatar/index.mjs.map +1 -1
- package/dist/lib/components/Badge/index.mjs +1 -1
- package/dist/lib/components/Badge/index.mjs.map +1 -1
- package/dist/lib/components/BarChart/index.mjs +1 -1
- package/dist/lib/components/BarChart/index.mjs.map +1 -1
- package/dist/lib/components/BubbleChart/index.mjs +1 -1
- package/dist/lib/components/BubbleChart/index.mjs.map +1 -1
- package/dist/lib/components/Button/index.mjs +1 -1
- package/dist/lib/components/Button/index.mjs.map +1 -1
- package/dist/lib/components/Callout/CalloutIcon.mjs +1 -1
- package/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -1
- package/dist/lib/components/Callout/CalloutRoot.mjs +1 -1
- package/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -1
- package/dist/lib/components/Callout/CalloutText.mjs +1 -1
- package/dist/lib/components/Callout/CalloutText.mjs.map +1 -1
- package/dist/lib/components/Card/index.mjs +1 -1
- package/dist/lib/components/Card/index.mjs.map +1 -1
- package/dist/lib/components/Checkbox/index.mjs +1 -1
- package/dist/lib/components/Checkbox/index.mjs.map +1 -1
- package/dist/lib/components/CheckboxCard/index.mjs +1 -1
- package/dist/lib/components/CheckboxCard/index.mjs.map +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +1 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +1 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListItem.mjs +1 -1
- package/dist/lib/components/DataList/DataListItem.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListLabel.mjs +1 -1
- package/dist/lib/components/DataList/DataListLabel.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListRoot.mjs +1 -1
- package/dist/lib/components/DataList/DataListRoot.mjs.map +1 -1
- package/dist/lib/components/DataList/DataListValue.mjs +1 -1
- package/dist/lib/components/DataList/DataListValue.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogAction.mjs +1 -1
- package/dist/lib/components/Dialog/DialogAction.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogCancel.mjs +1 -1
- package/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogContent.mjs +1 -1
- package/dist/lib/components/Dialog/DialogContent.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogDescription.mjs +1 -1
- package/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogSlot.mjs +1 -1
- package/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -1
- package/dist/lib/components/Dialog/DialogTitle.mjs +1 -1
- package/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -1
- package/dist/lib/components/DoughnutChart/index.mjs +1 -1
- package/dist/lib/components/DoughnutChart/index.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +1 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -1
- package/dist/lib/components/HoverCard/HoverCardContent.mjs +1 -1
- package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -1
- package/dist/lib/components/IconButton/index.mjs +1 -1
- package/dist/lib/components/IconButton/index.mjs.map +1 -1
- package/dist/lib/components/Inset/index.mjs +1 -1
- package/dist/lib/components/Inset/index.mjs.map +1 -1
- package/dist/lib/components/Label/index.mjs +1 -1
- package/dist/lib/components/Label/index.mjs.map +1 -1
- package/dist/lib/components/LineChart/index.mjs +1 -1
- package/dist/lib/components/LineChart/index.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarContent.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarItem.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarRoot.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -1
- package/dist/lib/components/Menubar/MenubarTrigger.mjs +1 -1
- package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -1
- package/dist/lib/components/PieChart/index.mjs +1 -1
- package/dist/lib/components/PieChart/index.mjs.map +1 -1
- package/dist/lib/components/Popover/PopoverClose.mjs +1 -1
- package/dist/lib/components/Popover/PopoverClose.mjs.map +1 -1
- package/dist/lib/components/Popover/PopoverContent.mjs +1 -1
- package/dist/lib/components/Popover/PopoverContent.mjs.map +1 -1
- package/dist/lib/components/Progress/index.mjs +1 -1
- package/dist/lib/components/Progress/index.mjs.map +1 -1
- package/dist/lib/components/RadarChart/index.mjs +1 -1
- package/dist/lib/components/RadarChart/index.mjs.map +1 -1
- package/dist/lib/components/Radio/index.mjs +1 -1
- package/dist/lib/components/Radio/index.mjs.map +1 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs +1 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +1 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +1 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +1 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -1
- package/dist/lib/components/Select/index.mjs +1 -1
- package/dist/lib/components/Select/index.mjs.map +1 -1
- package/dist/lib/components/Separator/index.mjs +1 -1
- package/dist/lib/components/Separator/index.mjs.map +1 -1
- package/dist/lib/components/Skeleton/index.mjs +1 -1
- package/dist/lib/components/Skeleton/index.mjs.map +1 -1
- package/dist/lib/components/Slider/index.mjs +1 -1
- package/dist/lib/components/Slider/index.mjs.map +1 -1
- package/dist/lib/components/Spinner/index.mjs +1 -1
- package/dist/lib/components/Spinner/index.mjs.map +1 -1
- package/dist/lib/components/TabNav/index.mjs +1 -1
- package/dist/lib/components/TabNav/index.mjs.map +1 -1
- package/dist/lib/components/Table/index.mjs +1 -1
- package/dist/lib/components/Table/index.mjs.map +1 -1
- package/dist/lib/components/Tabs/index.mjs +1 -1
- package/dist/lib/components/Tabs/index.mjs.map +1 -1
- package/dist/lib/components/TextArea/index.mjs +1 -1
- package/dist/lib/components/TextArea/index.mjs.map +1 -1
- package/dist/lib/components/TextField/index.mjs +1 -1
- package/dist/lib/components/TextField/index.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastActionButton.mjs +1 -1
- package/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastDescription.mjs +1 -1
- package/dist/lib/components/Toast/ToastDescription.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastRoot.mjs +1 -1
- package/dist/lib/components/Toast/ToastRoot.mjs.map +1 -1
- package/dist/lib/components/Toast/ToastTitle.mjs +1 -1
- package/dist/lib/components/Toast/ToastTitle.mjs.map +1 -1
- package/dist/lib/components/Toggle/ToggleWithText.mjs +1 -1
- package/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -1
- package/dist/lib/components/Toggle/index.mjs +1 -1
- package/dist/lib/components/Toggle/index.mjs.map +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +1 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -1
- package/dist/lib/components/ToggleSwitch/index.mjs +1 -1
- package/dist/lib/components/ToggleSwitch/index.mjs.map +1 -1
- package/dist/lib/components/Tooltip/index.mjs +1 -1
- package/dist/lib/components/Tooltip/index.mjs.map +1 -1
- package/dist/lib/utils/utils.mjs +1 -1
- package/dist/lib/utils/utils.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-menu/dist/index.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/react-select/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-select/dist/index.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/callout.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/checkbox-group.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/data-list.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/dialog.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/flex.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/grid.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/heading.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/hover-card.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/inset.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/popover.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/progress.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-cards.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio-group.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/radio.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/segmented-control.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/select.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/separator.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/skeleton.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/slider.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/spinner.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/switch.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tab-nav.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tab-nav.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/table.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tabs.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/tabs.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-area.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text-field.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/text.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/components/theme.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.mjs.map +1 -1
- package/dist/node_modules/@radix-ui/themes/node_modules/@radix-ui/react-popover/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/themes/node_modules/@radix-ui/react-popover/dist/index.mjs.map +1 -1
- package/dist/node_modules/chart.js/dist/chart.mjs +2 -2
- package/dist/node_modules/chart.js/dist/chart.mjs.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +135 -135
- package/dist/_virtual/_commonjsHelpers.mjs +0 -2
- package/dist/_virtual/_commonjsHelpers.mjs.map +0 -1
- package/dist/_virtual/index.mjs +0 -2
- package/dist/_virtual/index.mjs.map +0 -1
- package/dist/_virtual/index2.mjs +0 -2
- package/dist/_virtual/index2.mjs.map +0 -1
- package/dist/node_modules/aria-hidden/dist/es2015/index.mjs +0 -2
- package/dist/node_modules/aria-hidden/dist/es2015/index.mjs.map +0 -1
- package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.mjs +0 -8
- package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.mjs.map +0 -1
- package/dist/node_modules/class-variance-authority/dist/index.mjs +0 -2
- package/dist/node_modules/class-variance-authority/dist/index.mjs.map +0 -1
- package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs +0 -2
- package/dist/node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs.map +0 -1
- package/dist/node_modules/classnames/index.mjs +0 -7
- package/dist/node_modules/classnames/index.mjs.map +0 -1
- package/dist/node_modules/clsx/dist/clsx.mjs +0 -2
- package/dist/node_modules/clsx/dist/clsx.mjs.map +0 -1
- package/dist/node_modules/get-nonce/dist/es2015/index.mjs +0 -2
- package/dist/node_modules/get-nonce/dist/es2015/index.mjs.map +0 -1
- package/dist/node_modules/react-chartjs-2/dist/index.mjs +0 -2
- package/dist/node_modules/react-chartjs-2/dist/index.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/UI.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/medium.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs +0 -2
- package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs +0 -2
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.mjs +0 -2
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.mjs.map +0 -1
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.mjs +0 -2
- package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.mjs.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/component.mjs +0 -2
- package/dist/node_modules/react-style-singleton/dist/es2015/component.mjs.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.mjs +0 -2
- package/dist/node_modules/react-style-singleton/dist/es2015/hook.mjs.map +0 -1
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.mjs +0 -2
- package/dist/node_modules/react-style-singleton/dist/es2015/singleton.mjs.map +0 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.mjs +0 -2
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.mjs.map +0 -1
- package/dist/node_modules/tslib/tslib.es6.mjs +0 -2
- package/dist/node_modules/tslib/tslib.es6.mjs.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.mjs +0 -2
- package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.mjs.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.mjs +0 -2
- package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.mjs.map +0 -1
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.mjs +0 -2
- package/dist/node_modules/use-callback-ref/dist/es2015/useRef.mjs.map +0 -1
- package/dist/node_modules/use-sidecar/dist/es2015/exports.mjs +0 -2
- package/dist/node_modules/use-sidecar/dist/es2015/exports.mjs.map +0 -1
- package/dist/node_modules/use-sidecar/dist/es2015/medium.mjs +0 -2
- package/dist/node_modules/use-sidecar/dist/es2015/medium.mjs.map +0 -1
package/package.json
CHANGED
@@ -1,135 +1,135 @@
|
|
1
|
-
{
|
2
|
-
"name": "@lotte-innovate/ui-component-test",
|
3
|
-
"description": "Lotte UI Library",
|
4
|
-
"version": "0.1.
|
5
|
-
"private": false,
|
6
|
-
"type": "module",
|
7
|
-
"files": [
|
8
|
-
"dist",
|
9
|
-
"dist/globals.css"
|
10
|
-
],
|
11
|
-
"main": "dist/lib/index.js",
|
12
|
-
"module": "dist/lib/index.mjs",
|
13
|
-
"types": "dist/lib/index.d.ts",
|
14
|
-
"publishConfig": {
|
15
|
-
"access": "public"
|
16
|
-
},
|
17
|
-
"browser": "./browser/specific/main.js",
|
18
|
-
"babel": {
|
19
|
-
"presets": [
|
20
|
-
"@babel/preset-react",
|
21
|
-
"@babel/preset-env"
|
22
|
-
]
|
23
|
-
},
|
24
|
-
"browserslist": {
|
25
|
-
"production": [
|
26
|
-
">0.2%",
|
27
|
-
"not dead",
|
28
|
-
"not op_mini all"
|
29
|
-
],
|
30
|
-
"development": [
|
31
|
-
"last 1 chrome version",
|
32
|
-
"last 1 firefox version",
|
33
|
-
"last 1 safari version"
|
34
|
-
]
|
35
|
-
},
|
36
|
-
"scripts": {
|
37
|
-
"dev": "next dev",
|
38
|
-
"lint": "next lint",
|
39
|
-
"prepare": "next build",
|
40
|
-
"start": "next start",
|
41
|
-
"storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
|
42
|
-
"chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
|
43
|
-
"compile": "tsc --jsx react-jsx",
|
44
|
-
"clean": "rimraf dist && mkdir dist && rimraf .rollup.cache",
|
45
|
-
"update-tailwind": "node update-tailwind-import.js",
|
46
|
-
"build": "next build && npm run compile",
|
47
|
-
"build-storybook": "storybook build",
|
48
|
-
"build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css --minify",
|
49
|
-
"build:esm": "rollup -c && node src/utils/post-rollup.js",
|
50
|
-
"build:all": "npm run clean && npm run compile && node src/utils/post-build.js && npm run build:css && tsc-alias && npm run update-tailwind",
|
51
|
-
"publish:npm": "npm run build:all && npm run build:esm && npm publish && node src/utils/post-publish.js"
|
52
|
-
},
|
53
|
-
"dependencies": {
|
54
|
-
"@babel/runtime": "^7.24.7",
|
55
|
-
"@babel/runtime-corejs3": "^7.24.7",
|
56
|
-
"@radix-ui/colors": "^3.0.0",
|
57
|
-
"@radix-ui/react-accordion": "^1.2.0",
|
58
|
-
"@radix-ui/react-checkbox": "^1.0.4",
|
59
|
-
"@radix-ui/react-dialog": "^1.1.1",
|
60
|
-
"@radix-ui/react-dropdown-menu": "^2.1.1",
|
61
|
-
"@radix-ui/react-hover-card": "^1.1.1",
|
62
|
-
"@radix-ui/react-icons": "^1.3.0",
|
63
|
-
"@radix-ui/react-label": "^2.1.0",
|
64
|
-
"@radix-ui/react-menubar": "^1.1.1",
|
65
|
-
"@radix-ui/react-navigation-menu": "^1.2.0",
|
66
|
-
"@radix-ui/react-popover": "1.0.7",
|
67
|
-
"@radix-ui/react-radio-group": "^1.1.3",
|
68
|
-
"@radix-ui/react-select": "^2.1.1",
|
69
|
-
"@radix-ui/react-separator": "^1.1.0",
|
70
|
-
"@radix-ui/react-slider": "^1.2.0",
|
71
|
-
"@radix-ui/react-switch": "^1.1.0",
|
72
|
-
"@radix-ui/react-tabs": "^1.1.0",
|
73
|
-
"@radix-ui/react-toast": "^1.2.1",
|
74
|
-
"@radix-ui/react-tooltip": "^1.1.1",
|
75
|
-
"@radix-ui/themes": "^3.1.1",
|
76
|
-
"@stitches/core": "^1.2.8",
|
77
|
-
"@stitches/react": "^1.2.8",
|
78
|
-
"@storybook/addon-a11y": "^8.3.5",
|
79
|
-
"@storybook/manager-api": "^8.3.5",
|
80
|
-
"chart.js": "^4.4.4",
|
81
|
-
"chartjs-plugin-datalabels": "^2.2.0",
|
82
|
-
"class-variance-authority": "^0.7.0",
|
83
|
-
"clsx": "^2.1.0",
|
84
|
-
"cross-env": "^7.0.3",
|
85
|
-
"dotenv": "^16.4.5",
|
86
|
-
"lucide-react": "^0.364.0",
|
87
|
-
"next": "14.1.4",
|
88
|
-
"react": "^18",
|
89
|
-
"react-chartjs-2": "^5.2.0",
|
90
|
-
"react-dom": "^18",
|
91
|
-
"react-tabs": "^6.0.2",
|
92
|
-
"storybook-addon-deep-controls": "^0.7.1",
|
93
|
-
"storybook-dark-mode": "^4.0.2",
|
94
|
-
"tailwind-merge": "^2.2.2"
|
95
|
-
},
|
96
|
-
"devDependencies": {
|
97
|
-
"@babel/cli": "^7.24.7",
|
98
|
-
"@babel/core": "^7.24.7",
|
99
|
-
"@babel/plugin-transform-runtime": "^7.24.7",
|
100
|
-
"@babel/preset-env": "^7.25.8",
|
101
|
-
"@babel/preset-react": "^7.25.7",
|
102
|
-
"@babel/preset-typescript": "^7.24.7",
|
103
|
-
"@chromatic-com/storybook": "^1.2.25",
|
104
|
-
"@rollup/plugin-babel": "^6.0.4",
|
105
|
-
"@rollup/plugin-commonjs": "^28.0.0",
|
106
|
-
"@rollup/plugin-node-resolve": "^15.3.0",
|
107
|
-
"@rollup/plugin-typescript": "^12.1.0",
|
108
|
-
"@storybook/addon-essentials": "^8.3.5",
|
109
|
-
"@storybook/addon-interactions": "^8.3.5",
|
110
|
-
"@storybook/addon-links": "^8.0.4",
|
111
|
-
"@storybook/addon-styling-webpack": "^1.0.0",
|
112
|
-
"@storybook/blocks": "^8.3.5",
|
113
|
-
"@storybook/nextjs": "^8.3.5",
|
114
|
-
"@storybook/react": "^8.3.5",
|
115
|
-
"@storybook/test": "^8.3.5",
|
116
|
-
"@storybook/theming": "^8.2.4",
|
117
|
-
"@types/node": "^20",
|
118
|
-
"@types/react": "^18",
|
119
|
-
"@types/react-dom": "^18",
|
120
|
-
"autoprefixer": "^10.0.1",
|
121
|
-
"chromatic": "^11.5.4",
|
122
|
-
"eslint": "^8",
|
123
|
-
"eslint-config-next": "14.1.4",
|
124
|
-
"eslint-plugin-storybook": "^0.8.0",
|
125
|
-
"postcss": "^8",
|
126
|
-
"prettier": "^3.3.3",
|
127
|
-
"prettier-plugin-tailwindcss": "^0.6.6",
|
128
|
-
"rimraf": "^6.0.1",
|
129
|
-
"rollup-plugin-terser": "^7.0.2",
|
130
|
-
"storybook": "^8.3.5",
|
131
|
-
"tailwindcss": "^3.3.0",
|
132
|
-
"tsc-alias": "^1.8.10",
|
133
|
-
"typescript": "^5"
|
134
|
-
}
|
135
|
-
}
|
1
|
+
{
|
2
|
+
"name": "@lotte-innovate/ui-component-test",
|
3
|
+
"description": "Lotte UI Library",
|
4
|
+
"version": "0.1.91",
|
5
|
+
"private": false,
|
6
|
+
"type": "module",
|
7
|
+
"files": [
|
8
|
+
"dist",
|
9
|
+
"dist/globals.css"
|
10
|
+
],
|
11
|
+
"main": "dist/lib/index.js",
|
12
|
+
"module": "dist/lib/index.mjs",
|
13
|
+
"types": "dist/lib/index.d.ts",
|
14
|
+
"publishConfig": {
|
15
|
+
"access": "public"
|
16
|
+
},
|
17
|
+
"browser": "./browser/specific/main.js",
|
18
|
+
"babel": {
|
19
|
+
"presets": [
|
20
|
+
"@babel/preset-react",
|
21
|
+
"@babel/preset-env"
|
22
|
+
]
|
23
|
+
},
|
24
|
+
"browserslist": {
|
25
|
+
"production": [
|
26
|
+
">0.2%",
|
27
|
+
"not dead",
|
28
|
+
"not op_mini all"
|
29
|
+
],
|
30
|
+
"development": [
|
31
|
+
"last 1 chrome version",
|
32
|
+
"last 1 firefox version",
|
33
|
+
"last 1 safari version"
|
34
|
+
]
|
35
|
+
},
|
36
|
+
"scripts": {
|
37
|
+
"dev": "next dev",
|
38
|
+
"lint": "next lint",
|
39
|
+
"prepare": "next build",
|
40
|
+
"start": "next start",
|
41
|
+
"storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
|
42
|
+
"chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
|
43
|
+
"compile": "tsc --jsx react-jsx",
|
44
|
+
"clean": "rimraf dist && mkdir dist && rimraf .rollup.cache",
|
45
|
+
"update-tailwind": "node update-tailwind-import.js",
|
46
|
+
"build": "next build && npm run compile",
|
47
|
+
"build-storybook": "storybook build",
|
48
|
+
"build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css --minify",
|
49
|
+
"build:esm": "rollup -c && node src/utils/post-rollup.js",
|
50
|
+
"build:all": "npm run clean && npm run compile && node src/utils/post-build.js && npm run build:css && tsc-alias && npm run update-tailwind",
|
51
|
+
"publish:npm": "npm run build:all && npm run build:esm && npm publish && node src/utils/post-publish.js"
|
52
|
+
},
|
53
|
+
"dependencies": {
|
54
|
+
"@babel/runtime": "^7.24.7",
|
55
|
+
"@babel/runtime-corejs3": "^7.24.7",
|
56
|
+
"@radix-ui/colors": "^3.0.0",
|
57
|
+
"@radix-ui/react-accordion": "^1.2.0",
|
58
|
+
"@radix-ui/react-checkbox": "^1.0.4",
|
59
|
+
"@radix-ui/react-dialog": "^1.1.1",
|
60
|
+
"@radix-ui/react-dropdown-menu": "^2.1.1",
|
61
|
+
"@radix-ui/react-hover-card": "^1.1.1",
|
62
|
+
"@radix-ui/react-icons": "^1.3.0",
|
63
|
+
"@radix-ui/react-label": "^2.1.0",
|
64
|
+
"@radix-ui/react-menubar": "^1.1.1",
|
65
|
+
"@radix-ui/react-navigation-menu": "^1.2.0",
|
66
|
+
"@radix-ui/react-popover": "1.0.7",
|
67
|
+
"@radix-ui/react-radio-group": "^1.1.3",
|
68
|
+
"@radix-ui/react-select": "^2.1.1",
|
69
|
+
"@radix-ui/react-separator": "^1.1.0",
|
70
|
+
"@radix-ui/react-slider": "^1.2.0",
|
71
|
+
"@radix-ui/react-switch": "^1.1.0",
|
72
|
+
"@radix-ui/react-tabs": "^1.1.0",
|
73
|
+
"@radix-ui/react-toast": "^1.2.1",
|
74
|
+
"@radix-ui/react-tooltip": "^1.1.1",
|
75
|
+
"@radix-ui/themes": "^3.1.1",
|
76
|
+
"@stitches/core": "^1.2.8",
|
77
|
+
"@stitches/react": "^1.2.8",
|
78
|
+
"@storybook/addon-a11y": "^8.3.5",
|
79
|
+
"@storybook/manager-api": "^8.3.5",
|
80
|
+
"chart.js": "^4.4.4",
|
81
|
+
"chartjs-plugin-datalabels": "^2.2.0",
|
82
|
+
"class-variance-authority": "^0.7.0",
|
83
|
+
"clsx": "^2.1.0",
|
84
|
+
"cross-env": "^7.0.3",
|
85
|
+
"dotenv": "^16.4.5",
|
86
|
+
"lucide-react": "^0.364.0",
|
87
|
+
"next": "14.1.4",
|
88
|
+
"react": "^18",
|
89
|
+
"react-chartjs-2": "^5.2.0",
|
90
|
+
"react-dom": "^18",
|
91
|
+
"react-tabs": "^6.0.2",
|
92
|
+
"storybook-addon-deep-controls": "^0.7.1",
|
93
|
+
"storybook-dark-mode": "^4.0.2",
|
94
|
+
"tailwind-merge": "^2.2.2"
|
95
|
+
},
|
96
|
+
"devDependencies": {
|
97
|
+
"@babel/cli": "^7.24.7",
|
98
|
+
"@babel/core": "^7.24.7",
|
99
|
+
"@babel/plugin-transform-runtime": "^7.24.7",
|
100
|
+
"@babel/preset-env": "^7.25.8",
|
101
|
+
"@babel/preset-react": "^7.25.7",
|
102
|
+
"@babel/preset-typescript": "^7.24.7",
|
103
|
+
"@chromatic-com/storybook": "^1.2.25",
|
104
|
+
"@rollup/plugin-babel": "^6.0.4",
|
105
|
+
"@rollup/plugin-commonjs": "^28.0.0",
|
106
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
107
|
+
"@rollup/plugin-typescript": "^12.1.0",
|
108
|
+
"@storybook/addon-essentials": "^8.3.5",
|
109
|
+
"@storybook/addon-interactions": "^8.3.5",
|
110
|
+
"@storybook/addon-links": "^8.0.4",
|
111
|
+
"@storybook/addon-styling-webpack": "^1.0.0",
|
112
|
+
"@storybook/blocks": "^8.3.5",
|
113
|
+
"@storybook/nextjs": "^8.3.5",
|
114
|
+
"@storybook/react": "^8.3.5",
|
115
|
+
"@storybook/test": "^8.3.5",
|
116
|
+
"@storybook/theming": "^8.2.4",
|
117
|
+
"@types/node": "^20",
|
118
|
+
"@types/react": "^18",
|
119
|
+
"@types/react-dom": "^18",
|
120
|
+
"autoprefixer": "^10.0.1",
|
121
|
+
"chromatic": "^11.5.4",
|
122
|
+
"eslint": "^8",
|
123
|
+
"eslint-config-next": "14.1.4",
|
124
|
+
"eslint-plugin-storybook": "^0.8.0",
|
125
|
+
"postcss": "^8",
|
126
|
+
"prettier": "^3.3.3",
|
127
|
+
"prettier-plugin-tailwindcss": "^0.6.6",
|
128
|
+
"rimraf": "^6.0.1",
|
129
|
+
"rollup-plugin-terser": "^7.0.2",
|
130
|
+
"storybook": "^8.3.5",
|
131
|
+
"tailwindcss": "^3.3.0",
|
132
|
+
"tsc-alias": "^1.8.10",
|
133
|
+
"typescript": "^5"
|
134
|
+
}
|
135
|
+
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"_commonjsHelpers.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/_virtual/index.mjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/_virtual/index2.mjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
var e=new WeakMap,r=new WeakMap,n={},t=0,a=function(e){return e&&(e.host||a(e.parentNode))},o=function(o,i,u,c){var f=function(e,r){return r.map((function(r){if(e.contains(r))return r;var n=a(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(i,Array.isArray(o)?o:[o]);n[u]||(n[u]=new WeakMap);var l=n[u],s=[],d=new Set,p=new Set(f),h=function(e){e&&!d.has(e)&&(d.add(e),h(e.parentNode))};f.forEach(h);var y=function(n){n&&!p.has(n)&&Array.prototype.forEach.call(n.children,(function(n){if(d.has(n))y(n);else try{var t=n.getAttribute(c),a=null!==t&&"false"!==t,o=(e.get(n)||0)+1,i=(l.get(n)||0)+1;e.set(n,o),l.set(n,i),s.push(n),1===o&&a&&r.set(n,!0),1===i&&n.setAttribute(u,"true"),a||n.setAttribute(c,"true")}catch(e){console.error("aria-hidden: cannot operate on ",n,e)}}))};return y(i),d.clear(),t++,function(){s.forEach((function(n){var t=e.get(n)-1,a=l.get(n)-1;e.set(n,t),l.set(n,a),t||(r.has(n)||n.removeAttribute(c),r.delete(n)),a||n.removeAttribute(u)})),--t||(e=new WeakMap,e=new WeakMap,r=new WeakMap,n={})}},i=function(e,r,n){void 0===n&&(n="data-aria-hidden");var t=Array.from(Array.isArray(e)?e:[e]),a=r||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return a?(t.push.apply(t,Array.from(a.querySelectorAll("[aria-live]"))),o(t,a,n,"aria-hidden")):function(){return null}};export{i as hideOthers};
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["counterMap","WeakMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","host","parentNode","applyAttributeToOthers","originalTarget","markerName","controlAttribute","targets","parent","map","target","contains","correctedTarget","console","error","filter","x","Boolean","correctTargets","Array","isArray","markerCounter","hiddenNodes","elementsToKeep","Set","elementsToStop","keep","el","has","add","forEach","deep","prototype","call","children","attr","getAttribute","alreadyHidden","counterValue","get","markerValue","set","push","setAttribute","e","clear","removeAttribute","delete","hideOthers","from","activeParentNode","document","ownerDocument","body","getDefaultParent","apply","querySelectorAll"],"mappings":"AAAA,IAOIA,EAAa,IAAIC,QACjBC,EAAoB,IAAID,QACxBE,EAAY,CAAA,EACZC,EAAY,EACZC,EAAa,SAAUC,GACvB,OAAOA,IAASA,EAAKC,MAAQF,EAAWC,EAAKE,YACjD,EAwBIC,EAAyB,SAAUC,EAAgBF,EAAYG,EAAYC,GAC3E,IAAIC,EAxBa,SAAUC,EAAQD,GACnC,OAAOA,EACFE,KAAI,SAAUC,GACf,GAAIF,EAAOG,SAASD,GAChB,OAAOA,EAEX,IAAIE,EAAkBb,EAAWW,GACjC,OAAIE,GAAmBJ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,GAAQ,EACtCwC,EAAcnB,EAAckB,IAAIvC,GAAQ,EAC5CN,EAAW+C,IAAIzC,EAAMsC,GACrBjB,EAAcoB,IAAIzC,EAAMwC,GACnBF,IACI1C,EAAkBgC,IAAI5B,IACvBA,EAAK8C,gBAAgBxC,GAEzBV,EAAkBmD,OAAO/C,IAExBwC,GACDxC,EAAK8C,gBAAgBzC,EAErC,MACQP,IAGIJ,EAAa,IAAIC,QACjBD,EAAa,IAAIC,QACjBC,EAAoB,IAAID,QACxBE,EAAY,CAAA,EAExB,CACA,EAQWmD,EAAa,SAAU5C,EAAgBF,EAAYG,QACvC,IAAfA,IAAyBA,EAAa,oBAC1C,IAAIE,EAAUY,MAAM8B,KAAK9B,MAAMC,QAAQhB,GAAkBA,EAAiB,CAACA,IACvE8C,EAAmBhD,GA9HJ,SAAUE,GAC7B,MAAwB,oBAAb+C,SACA,MAEQhC,MAAMC,QAAQhB,GAAkBA,EAAe,GAAKA,GACnDgD,cAAcC,IACtC,CAwHyCC,CAAiBlD,GACtD,OAAK8C,GAIL3C,EAAQmC,KAAKa,MAAMhD,EAASY,MAAM8B,KAAKC,EAAiBM,iBAAiB,iBAClErD,EAAuBI,EAAS2C,EAAkB7C,EAAY,gBAJ1D,WAAc,OAAO,KAKpC"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import{ArcElement as t,PointElement as e,BarElement as r}from"../../chart.js/dist/chart.mjs";import{a4 as n,a0 as a,a as o,d as i,E as l,v as s,Q as u,k as c,F as h,i as d}from"../../chart.js/dist/chunks/helpers.segment.mjs";
|
2
|
-
/*!
|
3
|
-
* chartjs-plugin-datalabels v2.2.0
|
4
|
-
* https://chartjs-plugin-datalabels.netlify.app
|
5
|
-
* (c) 2017-2022 chartjs-plugin-datalabels contributors
|
6
|
-
* Released under the MIT license
|
7
|
-
*/var f=function(){if("undefined"!=typeof window){if(window.devicePixelRatio)return window.devicePixelRatio;var t=window.screen;if(t)return(t.deviceXDPI||1)/(t.logicalXDPI||1)}return 1}(),x=function(t){var e,r=[];for(t=[].concat(t);t.length;)"string"==typeof(e=t.pop())?r.unshift.apply(r,e.split("\n")):Array.isArray(e)?t.push.apply(t,e):c(t)||r.unshift(""+e);return r},y=function(t,e,r){var n,a=[].concat(e),o=a.length,i=t.font,l=0;for(t.font=r.string,n=0;n<o;++n)l=Math.max(t.measureText(a[n]).width,l);return t.font=i,{height:o*r.lineHeight,width:l}},v=function(t,e,r){return Math.max(t,Math.min(e,r))},_=function(t,e){var r,n,a,o,i=t.slice(),l=[];for(r=0,a=e.length;r<a;++r)o=e[r],-1===(n=i.indexOf(o))?l.push([o,1]):i.splice(n,1);for(r=0,a=i.length;r<a;++r)l.push([i[r],-1]);return l};function b(t,e){var r=e.x,n=e.y;if(null===r)return{x:0,y:-1};if(null===n)return{x:1,y:0};var a=t.x-r,o=t.y-n,i=Math.sqrt(a*a+o*o);return{x:i?a/i:0,y:i?o/i:-1}}var p=0,g=1,m=2,w=4,M=8;function k(t,e,r){var n=p;return t<r.left?n|=g:t>r.right&&(n|=m),e<r.top?n|=M:e>r.bottom&&(n|=w),n}function S(t,e){var r,n,a=e.anchor,o=t;return e.clamp&&(o=function(t,e){for(var r,n,a,o=t.x0,i=t.y0,l=t.x1,s=t.y1,u=k(o,i,e),c=k(l,s,e);u|c&&!(u&c);)(r=u||c)&M?(n=o+(l-o)*(e.top-i)/(s-i),a=e.top):r&w?(n=o+(l-o)*(e.bottom-i)/(s-i),a=e.bottom):r&m?(a=i+(s-i)*(e.right-o)/(l-o),n=e.right):r&g&&(a=i+(s-i)*(e.left-o)/(l-o),n=e.left),r===u?u=k(o=n,i=a,e):c=k(l=n,s=a,e);return{x0:o,x1:l,y0:i,y1:s}}(o,e.area)),"start"===a?(r=o.x0,n=o.y0):"end"===a?(r=o.x1,n=o.y1):(r=(o.x0+o.x1)/2,n=(o.y0+o.y1)/2),function(t,e,r,n,a){switch(a){case"center":r=n=0;break;case"bottom":r=0,n=1;break;case"right":r=1,n=0;break;case"left":r=-1,n=0;break;case"top":r=0,n=-1;break;case"start":r=-r,n=-n;break;case"end":break;default:a*=Math.PI/180,r=Math.cos(a),n=Math.sin(a)}return{x:t,y:e,vx:r,vy:n}}(r,n,t.vx,t.vy,e.align)}var C=function(t,e){var r=(t.startAngle+t.endAngle)/2,n=Math.cos(r),a=Math.sin(r),o=t.innerRadius,i=t.outerRadius;return S({x0:t.x+n*o,y0:t.y+a*o,x1:t.x+n*i,y1:t.y+a*i,vx:n,vy:a},e)},P=function(t,e){var r=b(t,e.origin),n=r.x*t.options.radius,a=r.y*t.options.radius;return S({x0:t.x-n,y0:t.y-a,x1:t.x+n,y1:t.y+a,vx:r.x,vy:r.y},e)},I=function(t,e){var r=b(t,e.origin),n=t.x,a=t.y,o=0,i=0;return t.horizontal?(n=Math.min(t.x,t.base),o=Math.abs(t.base-t.x)):(a=Math.min(t.y,t.base),i=Math.abs(t.base-t.y)),S({x0:n,y0:a+i,x1:n+o,y1:a,vx:r.x,vy:r.y},e)},$=function(t,e){var r=b(t,e.origin);return S({x0:t.x,y0:t.y,x1:t.x+(t.width||0),y1:t.y+(t.height||0),vx:r.x,vy:r.y},e)},A=function(t){return Math.round(t*f)/f};function E(t,e){var r=e.chart.getDatasetMeta(e.datasetIndex).vScale;if(!r)return null;if(void 0!==r.xCenter&&void 0!==r.yCenter)return{x:r.xCenter,y:r.yCenter};var n=r.getBasePixel();return t.horizontal?{x:n,y:null}:{x:null,y:n}}function W(t,e,r){var n=r.backgroundColor,a=r.borderColor,o=r.borderWidth;(n||a&&o)&&(t.beginPath(),function(t,e,r,n,a,o){var i=Math.PI/2;if(o){var l=Math.min(o,a/2,n/2),s=e+l,u=r+l,c=e+n-l,h=r+a-l;t.moveTo(e,u),s<c&&u<h?(t.arc(s,u,l,-Math.PI,-i),t.arc(c,u,l,-i,0),t.arc(c,h,l,0,i),t.arc(s,h,l,i,Math.PI)):s<c?(t.moveTo(s,r),t.arc(c,u,l,-i,i),t.arc(s,u,l,i,Math.PI+i)):u<h?(t.arc(s,u,l,-Math.PI,0),t.arc(s,h,l,0,Math.PI)):t.arc(s,u,l,-Math.PI,Math.PI),t.closePath(),t.moveTo(e,r)}else t.rect(e,r,n,a)}(t,A(e.x)+o/2,A(e.y)+o/2,A(e.w)-o,A(e.h)-o,r.borderRadius),t.closePath(),n&&(t.fillStyle=n,t.fill()),a&&o&&(t.strokeStyle=a,t.lineWidth=o,t.lineJoin="miter",t.stroke()))}function B(t,e,r){var n=t.shadowBlur,a=r.stroked,o=A(r.x),i=A(r.y),l=A(r.w);a&&t.strokeText(e,o,i,l),r.filled&&(n&&a&&(t.shadowBlur=0),t.fillText(e,o,i,l),n&&a&&(t.shadowBlur=n))}var R=function(t,e,r,n){var a=this;a._config=t,a._index=n,a._model=null,a._rects=null,a._ctx=e,a._el=r};n(R.prototype,{_modelize:function(n,s,u,c){var h,d=this,f=d._index,x=a(o([u.font,{}],c,f)),v=o([u.color,i.color],c,f);return{align:o([u.align,"center"],c,f),anchor:o([u.anchor,"center"],c,f),area:c.chart.chartArea,backgroundColor:o([u.backgroundColor,null],c,f),borderColor:o([u.borderColor,null],c,f),borderRadius:o([u.borderRadius,0],c,f),borderWidth:o([u.borderWidth,0],c,f),clamp:o([u.clamp,!1],c,f),clip:o([u.clip,!1],c,f),color:v,display:n,font:x,lines:s,offset:o([u.offset,4],c,f),opacity:o([u.opacity,1],c,f),origin:E(d._el,c),padding:l(o([u.padding,4],c,f)),positioner:(h=d._el,h instanceof t?C:h instanceof e?P:h instanceof r?I:$),rotation:o([u.rotation,0],c,f)*(Math.PI/180),size:y(d._ctx,s,x),textAlign:o([u.textAlign,"start"],c,f),textShadowBlur:o([u.textShadowBlur,0],c,f),textShadowColor:o([u.textShadowColor,v],c,f),textStrokeColor:o([u.textStrokeColor,v],c,f),textStrokeWidth:o([u.textStrokeWidth,0],c,f)}},update:function(t){var e,r,n,a=this,i=null,l=null,h=a._index,d=a._config,f=o([d.display,!0],t,h);f&&(e=t.dataset.data[h],r=s(u(d.formatter,[e,t]),e),(n=c(r)?[]:x(r)).length&&(l=function(t){var e=t.borderWidth||0,r=t.padding,n=t.size.height,a=t.size.width,o=-a/2,i=-n/2;return{frame:{x:o-r.left-e,y:i-r.top-e,w:a+r.width+2*e,h:n+r.height+2*e},text:{x:o,y:i,w:a,h:n}}}(i=a._modelize(f,n,d,t)))),a._model=i,a._rects=l},geometry:function(){return this._rects?this._rects.frame:{}},rotation:function(){return this._model?this._model.rotation:0},visible:function(){return this._model&&this._model.opacity},model:function(){return this._model},draw:function(t,e){var r,n=t.ctx,a=this._model,o=this._rects;this.visible()&&(n.save(),a.clip&&(r=a.area,n.beginPath(),n.rect(r.left,r.top,r.right-r.left,r.bottom-r.top),n.clip()),n.globalAlpha=v(0,a.opacity,1),n.translate(A(e.x),A(e.y)),n.rotate(a.rotation),W(n,o.frame,a),function(t,e,r,n){var a,o=n.textAlign,i=n.color,l=!!i,s=n.font,u=e.length,c=n.textStrokeColor,h=n.textStrokeWidth,d=c&&h;if(u&&(l||d))for(r=function(t,e,r){var n=r.lineHeight,a=t.w,o=t.x;return"center"===e?o+=a/2:"end"!==e&&"right"!==e||(o+=a),{h:n,w:a,x:o,y:t.y+n/2}}(r,o,s),t.font=s.string,t.textAlign=o,t.textBaseline="middle",t.shadowBlur=n.textShadowBlur,t.shadowColor=n.textShadowColor,l&&(t.fillStyle=i),d&&(t.lineJoin="round",t.lineWidth=h,t.strokeStyle=c),a=0,u=e.length;a<u;++a)B(t,e[a],{stroked:d,filled:l,w:r.w,x:r.x,y:r.y+r.h*a})}(n,a.lines,o.text,a),n.restore())}});var z=Number.MIN_SAFE_INTEGER||-9007199254740991,D=Number.MAX_SAFE_INTEGER||9007199254740991;function T(t,e,r){var n=Math.cos(r),a=Math.sin(r),o=e.x,i=e.y;return{x:o+n*(t.x-o)-a*(t.y-i),y:i+a*(t.x-o)+n*(t.y-i)}}function j(t,e){var r,n,a,o,i,l=D,s=z,u=e.origin;for(r=0;r<t.length;++r)a=(n=t[r]).x-u.x,o=n.y-u.y,i=e.vx*a+e.vy*o,l=Math.min(l,i),s=Math.max(s,i);return{min:l,max:s}}function N(t,e){var r=e.x-t.x,n=e.y-t.y,a=Math.sqrt(r*r+n*n);return{vx:(e.x-t.x)/a,vy:(e.y-t.y)/a,origin:t,ln:a}}var F=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};function H(t,e,r){var n=e.positioner(t,e),a=n.vx,o=n.vy;if(!a&&!o)return{x:n.x,y:n.y};var i=r.w,l=r.h,s=e.rotation,u=Math.abs(i/2*Math.cos(s))+Math.abs(l/2*Math.sin(s)),c=Math.abs(i/2*Math.sin(s))+Math.abs(l/2*Math.cos(s)),h=1/Math.max(Math.abs(a),Math.abs(o));return u*=a*h,c*=o*h,u+=e.offset*a,c+=e.offset*o,{x:n.x+u,y:n.y+c}}n(F.prototype,{center:function(){var t=this._rect;return{x:t.x+t.w/2,y:t.y+t.h/2}},update:function(t,e,r){this._rotation=r,this._rect={x:e.x+t.x,y:e.y+t.y,w:e.w,h:e.h}},contains:function(t){var e=this,r=e._rect;return!((t=T(t,e.center(),-e._rotation)).x<r.x-1||t.y<r.y-1||t.x>r.x+r.w+2||t.y>r.y+r.h+2)},intersects:function(t){var e,r,n,a=this._points(),o=t._points(),i=[N(a[0],a[1]),N(a[0],a[3])];for(this._rotation!==t._rotation&&i.push(N(o[0],o[1]),N(o[0],o[3])),e=0;e<i.length;++e)if(r=j(a,i[e]),n=j(o,i[e]),r.max<n.min||n.max<r.min)return!1;return!0},_points:function(){var t=this,e=t._rect,r=t._rotation,n=t.center();return[T({x:e.x,y:e.y},n,r),T({x:e.x+e.w,y:e.y},n,r),T({x:e.x+e.w,y:e.y+e.h},n,r),T({x:e.x,y:e.y+e.h},n,r)]}});var O={prepare:function(t){var e,r,n,a,o,i=[];for(e=0,n=t.length;e<n;++e)for(r=0,a=t[e].length;r<a;++r)o=t[e][r],i.push(o),o.$layout={_box:new F,_hidable:!1,_visible:!0,_set:e,_idx:o._index};return i.sort((function(t,e){var r=t.$layout,n=e.$layout;return r._idx===n._idx?n._set-r._set:n._idx-r._idx})),this.update(i),i},update:function(t){var e,r,n,a,o,i=!1;for(e=0,r=t.length;e<r;++e)a=(n=t[e]).model(),(o=n.$layout)._hidable=a&&"auto"===a.display,o._visible=n.visible(),i|=o._hidable;i&&function(t){var e,r,n,a,o,i,l;for(e=0,r=t.length;e<r;++e)(a=(n=t[e]).$layout)._visible&&(l=new Proxy(n._el,{get:(t,e)=>t.getProps([e],!0)[e]}),o=n.geometry(),i=H(l,n.model(),o),a._box.update(i,o,n.rotation()));(function(t,e){var r,n,a,o;for(r=t.length-1;r>=0;--r)for(a=t[r].$layout,n=r-1;n>=0&&a._visible;--n)(o=t[n].$layout)._visible&&a._box.intersects(o._box)&&e(a,o)})(t,(function(t,e){var r=t._hidable,n=e._hidable;r&&n||n?e._visible=!1:r&&(t._visible=!1)}))}(t)},lookup:function(t,e){var r,n;for(r=t.length-1;r>=0;--r)if((n=t[r].$layout)&&n._visible&&n._box.contains(e))return t[r];return null},draw:function(t,e){var r,n,a,o,i,l;for(r=0,n=e.length;r<n;++r)(o=(a=e[r]).$layout)._visible&&(i=a.geometry(),l=H(a._el,a.model(),i),o._box.update(l,i,a.rotation()),a.draw(t,l))}},U="$datalabels",X="$default";function q(t,e,r,n){if(e){var a,o=r.$context,i=r.$groups;e[i._set]&&(a=e[i._set][i._key])&&!0===u(a,[o,n])&&(t[U]._dirty=!0,r.update(o))}}function G(t,e){var r,n,a=t[U],o=a._listeners;if(o.enter||o.leave){if("mousemove"===e.type)n=O.lookup(a._labels,e);else if("mouseout"!==e.type)return;r=a._hovered,a._hovered=n,function(t,e,r,n,a){var o,i;(r||n)&&(r?n?r!==n&&(i=o=!0):i=!0:o=!0,i&&q(t,e.leave,r,a),o&&q(t,e.enter,n,a))}(t,o,r,n,e)}}var J={id:"datalabels",defaults:{align:"center",anchor:"center",backgroundColor:null,borderColor:null,borderRadius:0,borderWidth:0,clamp:!1,clip:!1,color:void 0,display:!0,font:{family:void 0,lineHeight:1.2,size:void 0,style:void 0,weight:null},formatter:function(t){if(c(t))return null;var e,r,n,a=t;if(d(t))if(c(t.label))if(c(t.r))for(a="",n=0,r=(e=Object.keys(t)).length;n<r;++n)a+=(0!==n?", ":"")+e[n]+": "+t[e[n]];else a=t.r;else a=t.label;return""+a},labels:void 0,listeners:{},offset:4,opacity:1,padding:{top:4,right:4,bottom:4,left:4},rotation:0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,textShadowBlur:0,textShadowColor:void 0},beforeInit:function(t){t[U]={_actives:[]}},beforeUpdate:function(t){var e=t[U];e._listened=!1,e._listeners={},e._datasets=[],e._labels=[]},afterDatasetUpdate:function(t,e,r){var a,o,i,l,s,u,c,d,f=e.index,x=t[U],y=x._datasets[f]=[],v=t.isDatasetVisible(f),_=t.data.datasets[f],b=function(t,e){var r,a,o,i=t.datalabels,l=[];return!1===i?null:(!0===i&&(i={}),e=n({},[e,i]),a=e.labels||{},o=Object.keys(a),delete e.labels,o.length?o.forEach((function(t){a[t]&&l.push(n({},[e,a[t],{_key:t}]))})):l.push(e),r=l.reduce((function(t,e){return h(e.listeners||{},(function(r,n){t[n]=t[n]||{},t[n][e._key||X]=r})),delete e.listeners,t}),{}),{labels:l,listeners:r})}(_,r),p=e.meta.data||[],g=t.ctx;for(g.save(),a=0,i=p.length;a<i;++a)if((c=p[a])[U]=[],v&&c&&t.getDataVisibility(a)&&!c.skip)for(o=0,l=b.labels.length;o<l;++o)u=(s=b.labels[o])._key,(d=new R(s,g,c,a)).$groups={_set:f,_key:u||X},d.$context={active:!1,chart:t,dataIndex:a,dataset:_,datasetIndex:f},d.update(d.$context),c[U].push(d),y.push(d);g.restore(),n(x._listeners,b.listeners,{merger:function(t,r,n){r[t]=r[t]||{},r[t][e.index]=n[t],x._listened=!0}})},afterUpdate:function(t){t[U]._labels=O.prepare(t[U]._datasets)},afterDatasetsDraw:function(t){O.draw(t,t[U]._labels)},beforeEvent:function(t,e){if(t[U]._listened){var r=e.event;switch(r.type){case"mousemove":case"mouseout":G(t,r);break;case"click":!function(t,e){var r=t[U],n=r._listeners.click,a=n&&O.lookup(r._labels,e);a&&q(t,n,a,e)}(t,r)}}},afterEvent:function(t){var e,r,n,a,o,i,l,s=t[U],u=s._actives,c=s._actives=t.getActiveElements(),h=_(u,c);for(e=0,r=h.length;e<r;++e)if((o=h[e])[1])for(n=0,a=(l=o[0].element[U]||[]).length;n<a;++n)(i=l[n]).$context.active=1===o[1],i.update(i.$context);(s._dirty||h.length)&&(O.update(s._labels),t.render()),delete s._dirty}};export{J as default};
|
8
|
-
//# sourceMappingURL=chartjs-plugin-datalabels.esm.mjs.map
|
package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.mjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"chartjs-plugin-datalabels.esm.mjs","sources":["../../../../node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js"],"sourcesContent":["/*!\n * chartjs-plugin-datalabels v2.2.0\n * https://chartjs-plugin-datalabels.netlify.app\n * (c) 2017-2022 chartjs-plugin-datalabels contributors\n * Released under the MIT license\n */\nimport { isNullOrUndef, merge, toFont, resolve, toPadding, valueOrDefault, callback, isObject, each } from 'chart.js/helpers';\nimport { defaults as defaults$1, ArcElement, PointElement, BarElement } from 'chart.js';\n\nvar devicePixelRatio = (function() {\n if (typeof window !== 'undefined') {\n if (window.devicePixelRatio) {\n return window.devicePixelRatio;\n }\n\n // devicePixelRatio is undefined on IE10\n // https://stackoverflow.com/a/20204180/8837887\n // https://github.com/chartjs/chartjs-plugin-datalabels/issues/85\n var screen = window.screen;\n if (screen) {\n return (screen.deviceXDPI || 1) / (screen.logicalXDPI || 1);\n }\n }\n\n return 1;\n}());\n\nvar utils = {\n // @todo move this in Chart.helpers.toTextLines\n toTextLines: function(inputs) {\n var lines = [];\n var input;\n\n inputs = [].concat(inputs);\n while (inputs.length) {\n input = inputs.pop();\n if (typeof input === 'string') {\n lines.unshift.apply(lines, input.split('\\n'));\n } else if (Array.isArray(input)) {\n inputs.push.apply(inputs, input);\n } else if (!isNullOrUndef(inputs)) {\n lines.unshift('' + input);\n }\n }\n\n return lines;\n },\n\n // @todo move this in Chart.helpers.canvas.textSize\n // @todo cache calls of measureText if font doesn't change?!\n textSize: function(ctx, lines, font) {\n var items = [].concat(lines);\n var ilen = items.length;\n var prev = ctx.font;\n var width = 0;\n var i;\n\n ctx.font = font.string;\n\n for (i = 0; i < ilen; ++i) {\n width = Math.max(ctx.measureText(items[i]).width, width);\n }\n\n ctx.font = prev;\n\n return {\n height: ilen * font.lineHeight,\n width: width\n };\n },\n\n /**\n * Returns value bounded by min and max. This is equivalent to max(min, min(value, max)).\n * @todo move this method in Chart.helpers.bound\n * https://doc.qt.io/qt-5/qtglobal.html#qBound\n */\n bound: function(min, value, max) {\n return Math.max(min, Math.min(value, max));\n },\n\n /**\n * Returns an array of pair [value, state] where state is:\n * * -1: value is only in a0 (removed)\n * * 1: value is only in a1 (added)\n */\n arrayDiff: function(a0, a1) {\n var prev = a0.slice();\n var updates = [];\n var i, j, ilen, v;\n\n for (i = 0, ilen = a1.length; i < ilen; ++i) {\n v = a1[i];\n j = prev.indexOf(v);\n\n if (j === -1) {\n updates.push([v, 1]);\n } else {\n prev.splice(j, 1);\n }\n }\n\n for (i = 0, ilen = prev.length; i < ilen; ++i) {\n updates.push([prev[i], -1]);\n }\n\n return updates;\n },\n\n /**\n * https://github.com/chartjs/chartjs-plugin-datalabels/issues/70\n */\n rasterize: function(v) {\n return Math.round(v * devicePixelRatio) / devicePixelRatio;\n }\n};\n\nfunction orient(point, origin) {\n var x0 = origin.x;\n var y0 = origin.y;\n\n if (x0 === null) {\n return {x: 0, y: -1};\n }\n if (y0 === null) {\n return {x: 1, y: 0};\n }\n\n var dx = point.x - x0;\n var dy = point.y - y0;\n var ln = Math.sqrt(dx * dx + dy * dy);\n\n return {\n x: ln ? dx / ln : 0,\n y: ln ? dy / ln : -1\n };\n}\n\nfunction aligned(x, y, vx, vy, align) {\n switch (align) {\n case 'center':\n vx = vy = 0;\n break;\n case 'bottom':\n vx = 0;\n vy = 1;\n break;\n case 'right':\n vx = 1;\n vy = 0;\n break;\n case 'left':\n vx = -1;\n vy = 0;\n break;\n case 'top':\n vx = 0;\n vy = -1;\n break;\n case 'start':\n vx = -vx;\n vy = -vy;\n break;\n case 'end':\n // keep natural orientation\n break;\n default:\n // clockwise rotation (in degree)\n align *= (Math.PI / 180);\n vx = Math.cos(align);\n vy = Math.sin(align);\n break;\n }\n\n return {\n x: x,\n y: y,\n vx: vx,\n vy: vy\n };\n}\n\n// Line clipping (Cohen–Sutherland algorithm)\n// https://en.wikipedia.org/wiki/Cohen–Sutherland_algorithm\n\nvar R_INSIDE = 0;\nvar R_LEFT = 1;\nvar R_RIGHT = 2;\nvar R_BOTTOM = 4;\nvar R_TOP = 8;\n\nfunction region(x, y, rect) {\n var res = R_INSIDE;\n\n if (x < rect.left) {\n res |= R_LEFT;\n } else if (x > rect.right) {\n res |= R_RIGHT;\n }\n if (y < rect.top) {\n res |= R_TOP;\n } else if (y > rect.bottom) {\n res |= R_BOTTOM;\n }\n\n return res;\n}\n\nfunction clipped(segment, area) {\n var x0 = segment.x0;\n var y0 = segment.y0;\n var x1 = segment.x1;\n var y1 = segment.y1;\n var r0 = region(x0, y0, area);\n var r1 = region(x1, y1, area);\n var r, x, y;\n\n // eslint-disable-next-line no-constant-condition\n while (true) {\n if (!(r0 | r1) || (r0 & r1)) {\n // both points inside or on the same side: no clipping\n break;\n }\n\n // at least one point is outside\n r = r0 || r1;\n\n if (r & R_TOP) {\n x = x0 + (x1 - x0) * (area.top - y0) / (y1 - y0);\n y = area.top;\n } else if (r & R_BOTTOM) {\n x = x0 + (x1 - x0) * (area.bottom - y0) / (y1 - y0);\n y = area.bottom;\n } else if (r & R_RIGHT) {\n y = y0 + (y1 - y0) * (area.right - x0) / (x1 - x0);\n x = area.right;\n } else if (r & R_LEFT) {\n y = y0 + (y1 - y0) * (area.left - x0) / (x1 - x0);\n x = area.left;\n }\n\n if (r === r0) {\n x0 = x;\n y0 = y;\n r0 = region(x0, y0, area);\n } else {\n x1 = x;\n y1 = y;\n r1 = region(x1, y1, area);\n }\n }\n\n return {\n x0: x0,\n x1: x1,\n y0: y0,\n y1: y1\n };\n}\n\nfunction compute$1(range, config) {\n var anchor = config.anchor;\n var segment = range;\n var x, y;\n\n if (config.clamp) {\n segment = clipped(segment, config.area);\n }\n\n if (anchor === 'start') {\n x = segment.x0;\n y = segment.y0;\n } else if (anchor === 'end') {\n x = segment.x1;\n y = segment.y1;\n } else {\n x = (segment.x0 + segment.x1) / 2;\n y = (segment.y0 + segment.y1) / 2;\n }\n\n return aligned(x, y, range.vx, range.vy, config.align);\n}\n\nvar positioners = {\n arc: function(el, config) {\n var angle = (el.startAngle + el.endAngle) / 2;\n var vx = Math.cos(angle);\n var vy = Math.sin(angle);\n var r0 = el.innerRadius;\n var r1 = el.outerRadius;\n\n return compute$1({\n x0: el.x + vx * r0,\n y0: el.y + vy * r0,\n x1: el.x + vx * r1,\n y1: el.y + vy * r1,\n vx: vx,\n vy: vy\n }, config);\n },\n\n point: function(el, config) {\n var v = orient(el, config.origin);\n var rx = v.x * el.options.radius;\n var ry = v.y * el.options.radius;\n\n return compute$1({\n x0: el.x - rx,\n y0: el.y - ry,\n x1: el.x + rx,\n y1: el.y + ry,\n vx: v.x,\n vy: v.y\n }, config);\n },\n\n bar: function(el, config) {\n var v = orient(el, config.origin);\n var x = el.x;\n var y = el.y;\n var sx = 0;\n var sy = 0;\n\n if (el.horizontal) {\n x = Math.min(el.x, el.base);\n sx = Math.abs(el.base - el.x);\n } else {\n y = Math.min(el.y, el.base);\n sy = Math.abs(el.base - el.y);\n }\n\n return compute$1({\n x0: x,\n y0: y + sy,\n x1: x + sx,\n y1: y,\n vx: v.x,\n vy: v.y\n }, config);\n },\n\n fallback: function(el, config) {\n var v = orient(el, config.origin);\n\n return compute$1({\n x0: el.x,\n y0: el.y,\n x1: el.x + (el.width || 0),\n y1: el.y + (el.height || 0),\n vx: v.x,\n vy: v.y\n }, config);\n }\n};\n\nvar rasterize = utils.rasterize;\n\nfunction boundingRects(model) {\n var borderWidth = model.borderWidth || 0;\n var padding = model.padding;\n var th = model.size.height;\n var tw = model.size.width;\n var tx = -tw / 2;\n var ty = -th / 2;\n\n return {\n frame: {\n x: tx - padding.left - borderWidth,\n y: ty - padding.top - borderWidth,\n w: tw + padding.width + borderWidth * 2,\n h: th + padding.height + borderWidth * 2\n },\n text: {\n x: tx,\n y: ty,\n w: tw,\n h: th\n }\n };\n}\n\nfunction getScaleOrigin(el, context) {\n var scale = context.chart.getDatasetMeta(context.datasetIndex).vScale;\n\n if (!scale) {\n return null;\n }\n\n if (scale.xCenter !== undefined && scale.yCenter !== undefined) {\n return {x: scale.xCenter, y: scale.yCenter};\n }\n\n var pixel = scale.getBasePixel();\n return el.horizontal ?\n {x: pixel, y: null} :\n {x: null, y: pixel};\n}\n\nfunction getPositioner(el) {\n if (el instanceof ArcElement) {\n return positioners.arc;\n }\n if (el instanceof PointElement) {\n return positioners.point;\n }\n if (el instanceof BarElement) {\n return positioners.bar;\n }\n return positioners.fallback;\n}\n\nfunction drawRoundedRect(ctx, x, y, w, h, radius) {\n var HALF_PI = Math.PI / 2;\n\n if (radius) {\n var r = Math.min(radius, h / 2, w / 2);\n var left = x + r;\n var top = y + r;\n var right = x + w - r;\n var bottom = y + h - r;\n\n ctx.moveTo(x, top);\n if (left < right && top < bottom) {\n ctx.arc(left, top, r, -Math.PI, -HALF_PI);\n ctx.arc(right, top, r, -HALF_PI, 0);\n ctx.arc(right, bottom, r, 0, HALF_PI);\n ctx.arc(left, bottom, r, HALF_PI, Math.PI);\n } else if (left < right) {\n ctx.moveTo(left, y);\n ctx.arc(right, top, r, -HALF_PI, HALF_PI);\n ctx.arc(left, top, r, HALF_PI, Math.PI + HALF_PI);\n } else if (top < bottom) {\n ctx.arc(left, top, r, -Math.PI, 0);\n ctx.arc(left, bottom, r, 0, Math.PI);\n } else {\n ctx.arc(left, top, r, -Math.PI, Math.PI);\n }\n ctx.closePath();\n ctx.moveTo(x, y);\n } else {\n ctx.rect(x, y, w, h);\n }\n}\n\nfunction drawFrame(ctx, rect, model) {\n var bgColor = model.backgroundColor;\n var borderColor = model.borderColor;\n var borderWidth = model.borderWidth;\n\n if (!bgColor && (!borderColor || !borderWidth)) {\n return;\n }\n\n ctx.beginPath();\n\n drawRoundedRect(\n ctx,\n rasterize(rect.x) + borderWidth / 2,\n rasterize(rect.y) + borderWidth / 2,\n rasterize(rect.w) - borderWidth,\n rasterize(rect.h) - borderWidth,\n model.borderRadius);\n\n ctx.closePath();\n\n if (bgColor) {\n ctx.fillStyle = bgColor;\n ctx.fill();\n }\n\n if (borderColor && borderWidth) {\n ctx.strokeStyle = borderColor;\n ctx.lineWidth = borderWidth;\n ctx.lineJoin = 'miter';\n ctx.stroke();\n }\n}\n\nfunction textGeometry(rect, align, font) {\n var h = font.lineHeight;\n var w = rect.w;\n var x = rect.x;\n var y = rect.y + h / 2;\n\n if (align === 'center') {\n x += w / 2;\n } else if (align === 'end' || align === 'right') {\n x += w;\n }\n\n return {\n h: h,\n w: w,\n x: x,\n y: y\n };\n}\n\nfunction drawTextLine(ctx, text, cfg) {\n var shadow = ctx.shadowBlur;\n var stroked = cfg.stroked;\n var x = rasterize(cfg.x);\n var y = rasterize(cfg.y);\n var w = rasterize(cfg.w);\n\n if (stroked) {\n ctx.strokeText(text, x, y, w);\n }\n\n if (cfg.filled) {\n if (shadow && stroked) {\n // Prevent drawing shadow on both the text stroke and fill, so\n // if the text is stroked, remove the shadow for the text fill.\n ctx.shadowBlur = 0;\n }\n\n ctx.fillText(text, x, y, w);\n\n if (shadow && stroked) {\n ctx.shadowBlur = shadow;\n }\n }\n}\n\nfunction drawText(ctx, lines, rect, model) {\n var align = model.textAlign;\n var color = model.color;\n var filled = !!color;\n var font = model.font;\n var ilen = lines.length;\n var strokeColor = model.textStrokeColor;\n var strokeWidth = model.textStrokeWidth;\n var stroked = strokeColor && strokeWidth;\n var i;\n\n if (!ilen || (!filled && !stroked)) {\n return;\n }\n\n // Adjust coordinates based on text alignment and line height\n rect = textGeometry(rect, align, font);\n\n ctx.font = font.string;\n ctx.textAlign = align;\n ctx.textBaseline = 'middle';\n ctx.shadowBlur = model.textShadowBlur;\n ctx.shadowColor = model.textShadowColor;\n\n if (filled) {\n ctx.fillStyle = color;\n }\n if (stroked) {\n ctx.lineJoin = 'round';\n ctx.lineWidth = strokeWidth;\n ctx.strokeStyle = strokeColor;\n }\n\n for (i = 0, ilen = lines.length; i < ilen; ++i) {\n drawTextLine(ctx, lines[i], {\n stroked: stroked,\n filled: filled,\n w: rect.w,\n x: rect.x,\n y: rect.y + rect.h * i\n });\n }\n}\n\nvar Label = function(config, ctx, el, index) {\n var me = this;\n\n me._config = config;\n me._index = index;\n me._model = null;\n me._rects = null;\n me._ctx = ctx;\n me._el = el;\n};\n\nmerge(Label.prototype, {\n /**\n * @private\n */\n _modelize: function(display, lines, config, context) {\n var me = this;\n var index = me._index;\n var font = toFont(resolve([config.font, {}], context, index));\n var color = resolve([config.color, defaults$1.color], context, index);\n\n return {\n align: resolve([config.align, 'center'], context, index),\n anchor: resolve([config.anchor, 'center'], context, index),\n area: context.chart.chartArea,\n backgroundColor: resolve([config.backgroundColor, null], context, index),\n borderColor: resolve([config.borderColor, null], context, index),\n borderRadius: resolve([config.borderRadius, 0], context, index),\n borderWidth: resolve([config.borderWidth, 0], context, index),\n clamp: resolve([config.clamp, false], context, index),\n clip: resolve([config.clip, false], context, index),\n color: color,\n display: display,\n font: font,\n lines: lines,\n offset: resolve([config.offset, 4], context, index),\n opacity: resolve([config.opacity, 1], context, index),\n origin: getScaleOrigin(me._el, context),\n padding: toPadding(resolve([config.padding, 4], context, index)),\n positioner: getPositioner(me._el),\n rotation: resolve([config.rotation, 0], context, index) * (Math.PI / 180),\n size: utils.textSize(me._ctx, lines, font),\n textAlign: resolve([config.textAlign, 'start'], context, index),\n textShadowBlur: resolve([config.textShadowBlur, 0], context, index),\n textShadowColor: resolve([config.textShadowColor, color], context, index),\n textStrokeColor: resolve([config.textStrokeColor, color], context, index),\n textStrokeWidth: resolve([config.textStrokeWidth, 0], context, index)\n };\n },\n\n update: function(context) {\n var me = this;\n var model = null;\n var rects = null;\n var index = me._index;\n var config = me._config;\n var value, label, lines;\n\n // We first resolve the display option (separately) to avoid computing\n // other options in case the label is hidden (i.e. display: false).\n var display = resolve([config.display, true], context, index);\n\n if (display) {\n value = context.dataset.data[index];\n label = valueOrDefault(callback(config.formatter, [value, context]), value);\n lines = isNullOrUndef(label) ? [] : utils.toTextLines(label);\n\n if (lines.length) {\n model = me._modelize(display, lines, config, context);\n rects = boundingRects(model);\n }\n }\n\n me._model = model;\n me._rects = rects;\n },\n\n geometry: function() {\n return this._rects ? this._rects.frame : {};\n },\n\n rotation: function() {\n return this._model ? this._model.rotation : 0;\n },\n\n visible: function() {\n return this._model && this._model.opacity;\n },\n\n model: function() {\n return this._model;\n },\n\n draw: function(chart, center) {\n var me = this;\n var ctx = chart.ctx;\n var model = me._model;\n var rects = me._rects;\n var area;\n\n if (!this.visible()) {\n return;\n }\n\n ctx.save();\n\n if (model.clip) {\n area = model.area;\n ctx.beginPath();\n ctx.rect(\n area.left,\n area.top,\n area.right - area.left,\n area.bottom - area.top);\n ctx.clip();\n }\n\n ctx.globalAlpha = utils.bound(0, model.opacity, 1);\n ctx.translate(rasterize(center.x), rasterize(center.y));\n ctx.rotate(model.rotation);\n\n drawFrame(ctx, rects.frame, model);\n drawText(ctx, model.lines, rects.text, model);\n\n ctx.restore();\n }\n});\n\nvar MIN_INTEGER = Number.MIN_SAFE_INTEGER || -9007199254740991; // eslint-disable-line es/no-number-minsafeinteger\nvar MAX_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991; // eslint-disable-line es/no-number-maxsafeinteger\n\nfunction rotated(point, center, angle) {\n var cos = Math.cos(angle);\n var sin = Math.sin(angle);\n var cx = center.x;\n var cy = center.y;\n\n return {\n x: cx + cos * (point.x - cx) - sin * (point.y - cy),\n y: cy + sin * (point.x - cx) + cos * (point.y - cy)\n };\n}\n\nfunction projected(points, axis) {\n var min = MAX_INTEGER;\n var max = MIN_INTEGER;\n var origin = axis.origin;\n var i, pt, vx, vy, dp;\n\n for (i = 0; i < points.length; ++i) {\n pt = points[i];\n vx = pt.x - origin.x;\n vy = pt.y - origin.y;\n dp = axis.vx * vx + axis.vy * vy;\n min = Math.min(min, dp);\n max = Math.max(max, dp);\n }\n\n return {\n min: min,\n max: max\n };\n}\n\nfunction toAxis(p0, p1) {\n var vx = p1.x - p0.x;\n var vy = p1.y - p0.y;\n var ln = Math.sqrt(vx * vx + vy * vy);\n\n return {\n vx: (p1.x - p0.x) / ln,\n vy: (p1.y - p0.y) / ln,\n origin: p0,\n ln: ln\n };\n}\n\nvar HitBox = function() {\n this._rotation = 0;\n this._rect = {\n x: 0,\n y: 0,\n w: 0,\n h: 0\n };\n};\n\nmerge(HitBox.prototype, {\n center: function() {\n var r = this._rect;\n return {\n x: r.x + r.w / 2,\n y: r.y + r.h / 2\n };\n },\n\n update: function(center, rect, rotation) {\n this._rotation = rotation;\n this._rect = {\n x: rect.x + center.x,\n y: rect.y + center.y,\n w: rect.w,\n h: rect.h\n };\n },\n\n contains: function(point) {\n var me = this;\n var margin = 1;\n var rect = me._rect;\n\n point = rotated(point, me.center(), -me._rotation);\n\n return !(point.x < rect.x - margin\n || point.y < rect.y - margin\n || point.x > rect.x + rect.w + margin * 2\n || point.y > rect.y + rect.h + margin * 2);\n },\n\n // Separating Axis Theorem\n // https://gamedevelopment.tutsplus.com/tutorials/collision-detection-using-the-separating-axis-theorem--gamedev-169\n intersects: function(other) {\n var r0 = this._points();\n var r1 = other._points();\n var axes = [\n toAxis(r0[0], r0[1]),\n toAxis(r0[0], r0[3])\n ];\n var i, pr0, pr1;\n\n if (this._rotation !== other._rotation) {\n // Only separate with r1 axis if the rotation is different,\n // else it's enough to separate r0 and r1 with r0 axis only!\n axes.push(\n toAxis(r1[0], r1[1]),\n toAxis(r1[0], r1[3])\n );\n }\n\n for (i = 0; i < axes.length; ++i) {\n pr0 = projected(r0, axes[i]);\n pr1 = projected(r1, axes[i]);\n\n if (pr0.max < pr1.min || pr1.max < pr0.min) {\n return false;\n }\n }\n\n return true;\n },\n\n /**\n * @private\n */\n _points: function() {\n var me = this;\n var rect = me._rect;\n var angle = me._rotation;\n var center = me.center();\n\n return [\n rotated({x: rect.x, y: rect.y}, center, angle),\n rotated({x: rect.x + rect.w, y: rect.y}, center, angle),\n rotated({x: rect.x + rect.w, y: rect.y + rect.h}, center, angle),\n rotated({x: rect.x, y: rect.y + rect.h}, center, angle)\n ];\n }\n});\n\nfunction coordinates(el, model, geometry) {\n var point = model.positioner(el, model);\n var vx = point.vx;\n var vy = point.vy;\n\n if (!vx && !vy) {\n // if aligned center, we don't want to offset the center point\n return {x: point.x, y: point.y};\n }\n\n var w = geometry.w;\n var h = geometry.h;\n\n // take in account the label rotation\n var rotation = model.rotation;\n var dx = Math.abs(w / 2 * Math.cos(rotation)) + Math.abs(h / 2 * Math.sin(rotation));\n var dy = Math.abs(w / 2 * Math.sin(rotation)) + Math.abs(h / 2 * Math.cos(rotation));\n\n // scale the unit vector (vx, vy) to get at least dx or dy equal to\n // w or h respectively (else we would calculate the distance to the\n // ellipse inscribed in the bounding rect)\n var vs = 1 / Math.max(Math.abs(vx), Math.abs(vy));\n dx *= vx * vs;\n dy *= vy * vs;\n\n // finally, include the explicit offset\n dx += model.offset * vx;\n dy += model.offset * vy;\n\n return {\n x: point.x + dx,\n y: point.y + dy\n };\n}\n\nfunction collide(labels, collider) {\n var i, j, s0, s1;\n\n // IMPORTANT Iterate in the reverse order since items at the end of the\n // list have an higher weight/priority and thus should be less impacted\n // by the overlapping strategy.\n\n for (i = labels.length - 1; i >= 0; --i) {\n s0 = labels[i].$layout;\n\n for (j = i - 1; j >= 0 && s0._visible; --j) {\n s1 = labels[j].$layout;\n\n if (s1._visible && s0._box.intersects(s1._box)) {\n collider(s0, s1);\n }\n }\n }\n\n return labels;\n}\n\nfunction compute(labels) {\n var i, ilen, label, state, geometry, center, proxy;\n\n // Initialize labels for overlap detection\n for (i = 0, ilen = labels.length; i < ilen; ++i) {\n label = labels[i];\n state = label.$layout;\n\n if (state._visible) {\n // Chart.js 3 removed el._model in favor of getProps(), making harder to\n // abstract reading values in positioners. Also, using string arrays to\n // read values (i.e. var {a,b,c} = el.getProps([\"a\",\"b\",\"c\"])) would make\n // positioners inefficient in the normal case (i.e. not the final values)\n // and the code a bit ugly, so let's use a Proxy instead.\n proxy = new Proxy(label._el, {get: (el, p) => el.getProps([p], true)[p]});\n\n geometry = label.geometry();\n center = coordinates(proxy, label.model(), geometry);\n state._box.update(center, geometry, label.rotation());\n }\n }\n\n // Auto hide overlapping labels\n return collide(labels, function(s0, s1) {\n var h0 = s0._hidable;\n var h1 = s1._hidable;\n\n if ((h0 && h1) || h1) {\n s1._visible = false;\n } else if (h0) {\n s0._visible = false;\n }\n });\n}\n\nvar layout = {\n prepare: function(datasets) {\n var labels = [];\n var i, j, ilen, jlen, label;\n\n for (i = 0, ilen = datasets.length; i < ilen; ++i) {\n for (j = 0, jlen = datasets[i].length; j < jlen; ++j) {\n label = datasets[i][j];\n labels.push(label);\n label.$layout = {\n _box: new HitBox(),\n _hidable: false,\n _visible: true,\n _set: i,\n _idx: label._index\n };\n }\n }\n\n // TODO New `z` option: labels with a higher z-index are drawn\n // of top of the ones with a lower index. Lowest z-index labels\n // are also discarded first when hiding overlapping labels.\n labels.sort(function(a, b) {\n var sa = a.$layout;\n var sb = b.$layout;\n\n return sa._idx === sb._idx\n ? sb._set - sa._set\n : sb._idx - sa._idx;\n });\n\n this.update(labels);\n\n return labels;\n },\n\n update: function(labels) {\n var dirty = false;\n var i, ilen, label, model, state;\n\n for (i = 0, ilen = labels.length; i < ilen; ++i) {\n label = labels[i];\n model = label.model();\n state = label.$layout;\n state._hidable = model && model.display === 'auto';\n state._visible = label.visible();\n dirty |= state._hidable;\n }\n\n if (dirty) {\n compute(labels);\n }\n },\n\n lookup: function(labels, point) {\n var i, state;\n\n // IMPORTANT Iterate in the reverse order since items at the end of\n // the list have an higher z-index, thus should be picked first.\n\n for (i = labels.length - 1; i >= 0; --i) {\n state = labels[i].$layout;\n\n if (state && state._visible && state._box.contains(point)) {\n return labels[i];\n }\n }\n\n return null;\n },\n\n draw: function(chart, labels) {\n var i, ilen, label, state, geometry, center;\n\n for (i = 0, ilen = labels.length; i < ilen; ++i) {\n label = labels[i];\n state = label.$layout;\n\n if (state._visible) {\n geometry = label.geometry();\n center = coordinates(label._el, label.model(), geometry);\n state._box.update(center, geometry, label.rotation());\n label.draw(chart, center);\n }\n }\n }\n};\n\nvar formatter = function(value) {\n if (isNullOrUndef(value)) {\n return null;\n }\n\n var label = value;\n var keys, klen, k;\n if (isObject(value)) {\n if (!isNullOrUndef(value.label)) {\n label = value.label;\n } else if (!isNullOrUndef(value.r)) {\n label = value.r;\n } else {\n label = '';\n keys = Object.keys(value);\n for (k = 0, klen = keys.length; k < klen; ++k) {\n label += (k !== 0 ? ', ' : '') + keys[k] + ': ' + value[keys[k]];\n }\n }\n }\n\n return '' + label;\n};\n\n/**\n * IMPORTANT: make sure to also update tests and TypeScript definition\n * files (`/test/specs/defaults.spec.js` and `/types/options.d.ts`)\n */\n\nvar defaults = {\n align: 'center',\n anchor: 'center',\n backgroundColor: null,\n borderColor: null,\n borderRadius: 0,\n borderWidth: 0,\n clamp: false,\n clip: false,\n color: undefined,\n display: true,\n font: {\n family: undefined,\n lineHeight: 1.2,\n size: undefined,\n style: undefined,\n weight: null\n },\n formatter: formatter,\n labels: undefined,\n listeners: {},\n offset: 4,\n opacity: 1,\n padding: {\n top: 4,\n right: 4,\n bottom: 4,\n left: 4\n },\n rotation: 0,\n textAlign: 'start',\n textStrokeColor: undefined,\n textStrokeWidth: 0,\n textShadowBlur: 0,\n textShadowColor: undefined\n};\n\n/**\n * @see https://github.com/chartjs/Chart.js/issues/4176\n */\n\nvar EXPANDO_KEY = '$datalabels';\nvar DEFAULT_KEY = '$default';\n\nfunction configure(dataset, options) {\n var override = dataset.datalabels;\n var listeners = {};\n var configs = [];\n var labels, keys;\n\n if (override === false) {\n return null;\n }\n if (override === true) {\n override = {};\n }\n\n options = merge({}, [options, override]);\n labels = options.labels || {};\n keys = Object.keys(labels);\n delete options.labels;\n\n if (keys.length) {\n keys.forEach(function(key) {\n if (labels[key]) {\n configs.push(merge({}, [\n options,\n labels[key],\n {_key: key}\n ]));\n }\n });\n } else {\n // Default label if no \"named\" label defined.\n configs.push(options);\n }\n\n // listeners: {<event-type>: {<label-key>: <fn>}}\n listeners = configs.reduce(function(target, config) {\n each(config.listeners || {}, function(fn, event) {\n target[event] = target[event] || {};\n target[event][config._key || DEFAULT_KEY] = fn;\n });\n\n delete config.listeners;\n return target;\n }, {});\n\n return {\n labels: configs,\n listeners: listeners\n };\n}\n\nfunction dispatchEvent(chart, listeners, label, event) {\n if (!listeners) {\n return;\n }\n\n var context = label.$context;\n var groups = label.$groups;\n var callback$1;\n\n if (!listeners[groups._set]) {\n return;\n }\n\n callback$1 = listeners[groups._set][groups._key];\n if (!callback$1) {\n return;\n }\n\n if (callback(callback$1, [context, event]) === true) {\n // Users are allowed to tweak the given context by injecting values that can be\n // used in scriptable options to display labels differently based on the current\n // event (e.g. highlight an hovered label). That's why we update the label with\n // the output context and schedule a new chart render by setting it dirty.\n chart[EXPANDO_KEY]._dirty = true;\n label.update(context);\n }\n}\n\nfunction dispatchMoveEvents(chart, listeners, previous, label, event) {\n var enter, leave;\n\n if (!previous && !label) {\n return;\n }\n\n if (!previous) {\n enter = true;\n } else if (!label) {\n leave = true;\n } else if (previous !== label) {\n leave = enter = true;\n }\n\n if (leave) {\n dispatchEvent(chart, listeners.leave, previous, event);\n }\n if (enter) {\n dispatchEvent(chart, listeners.enter, label, event);\n }\n}\n\nfunction handleMoveEvents(chart, event) {\n var expando = chart[EXPANDO_KEY];\n var listeners = expando._listeners;\n var previous, label;\n\n if (!listeners.enter && !listeners.leave) {\n return;\n }\n\n if (event.type === 'mousemove') {\n label = layout.lookup(expando._labels, event);\n } else if (event.type !== 'mouseout') {\n return;\n }\n\n previous = expando._hovered;\n expando._hovered = label;\n dispatchMoveEvents(chart, listeners, previous, label, event);\n}\n\nfunction handleClickEvents(chart, event) {\n var expando = chart[EXPANDO_KEY];\n var handlers = expando._listeners.click;\n var label = handlers && layout.lookup(expando._labels, event);\n if (label) {\n dispatchEvent(chart, handlers, label, event);\n }\n}\n\nvar plugin = {\n id: 'datalabels',\n\n defaults: defaults,\n\n beforeInit: function(chart) {\n chart[EXPANDO_KEY] = {\n _actives: []\n };\n },\n\n beforeUpdate: function(chart) {\n var expando = chart[EXPANDO_KEY];\n expando._listened = false;\n expando._listeners = {}; // {<event-type>: {<dataset-index>: {<label-key>: <fn>}}}\n expando._datasets = []; // per dataset labels: [Label[]]\n expando._labels = []; // layouted labels: Label[]\n },\n\n afterDatasetUpdate: function(chart, args, options) {\n var datasetIndex = args.index;\n var expando = chart[EXPANDO_KEY];\n var labels = expando._datasets[datasetIndex] = [];\n var visible = chart.isDatasetVisible(datasetIndex);\n var dataset = chart.data.datasets[datasetIndex];\n var config = configure(dataset, options);\n var elements = args.meta.data || [];\n var ctx = chart.ctx;\n var i, j, ilen, jlen, cfg, key, el, label;\n\n ctx.save();\n\n for (i = 0, ilen = elements.length; i < ilen; ++i) {\n el = elements[i];\n el[EXPANDO_KEY] = [];\n\n if (visible && el && chart.getDataVisibility(i) && !el.skip) {\n for (j = 0, jlen = config.labels.length; j < jlen; ++j) {\n cfg = config.labels[j];\n key = cfg._key;\n\n label = new Label(cfg, ctx, el, i);\n label.$groups = {\n _set: datasetIndex,\n _key: key || DEFAULT_KEY\n };\n label.$context = {\n active: false,\n chart: chart,\n dataIndex: i,\n dataset: dataset,\n datasetIndex: datasetIndex\n };\n\n label.update(label.$context);\n el[EXPANDO_KEY].push(label);\n labels.push(label);\n }\n }\n }\n\n ctx.restore();\n\n // Store listeners at the chart level and per event type to optimize\n // cases where no listeners are registered for a specific event.\n merge(expando._listeners, config.listeners, {\n merger: function(event, target, source) {\n target[event] = target[event] || {};\n target[event][args.index] = source[event];\n expando._listened = true;\n }\n });\n },\n\n afterUpdate: function(chart) {\n chart[EXPANDO_KEY]._labels = layout.prepare(chart[EXPANDO_KEY]._datasets);\n },\n\n // Draw labels on top of all dataset elements\n // https://github.com/chartjs/chartjs-plugin-datalabels/issues/29\n // https://github.com/chartjs/chartjs-plugin-datalabels/issues/32\n afterDatasetsDraw: function(chart) {\n layout.draw(chart, chart[EXPANDO_KEY]._labels);\n },\n\n beforeEvent: function(chart, args) {\n // If there is no listener registered for this chart, `listened` will be false,\n // meaning we can immediately ignore the incoming event and avoid useless extra\n // computation for users who don't implement label interactions.\n if (chart[EXPANDO_KEY]._listened) {\n var event = args.event;\n switch (event.type) {\n case 'mousemove':\n case 'mouseout':\n handleMoveEvents(chart, event);\n break;\n case 'click':\n handleClickEvents(chart, event);\n break;\n }\n }\n },\n\n afterEvent: function(chart) {\n var expando = chart[EXPANDO_KEY];\n var previous = expando._actives;\n var actives = expando._actives = chart.getActiveElements();\n var updates = utils.arrayDiff(previous, actives);\n var i, ilen, j, jlen, update, label, labels;\n\n for (i = 0, ilen = updates.length; i < ilen; ++i) {\n update = updates[i];\n if (update[1]) {\n labels = update[0].element[EXPANDO_KEY] || [];\n for (j = 0, jlen = labels.length; j < jlen; ++j) {\n label = labels[j];\n label.$context.active = (update[1] === 1);\n label.update(label.$context);\n }\n }\n }\n\n if (expando._dirty || updates.length) {\n layout.update(expando._labels);\n chart.render();\n }\n\n delete expando._dirty;\n }\n};\n\nexport { plugin as default };\n"],"names":["devicePixelRatio","window","screen","deviceXDPI","logicalXDPI","utils","inputs","input","lines","concat","length","pop","unshift","apply","split","Array","isArray","push","isNullOrUndef","ctx","font","i","items","ilen","prev","width","string","Math","max","measureText","height","lineHeight","min","value","a0","a1","j","v","slice","updates","indexOf","splice","orient","point","origin","x0","x","y0","y","dx","dy","ln","sqrt","R_INSIDE","R_LEFT","R_RIGHT","R_BOTTOM","R_TOP","region","rect","res","left","right","top","bottom","compute$1","range","config","anchor","segment","clamp","area","r","x1","y1","r0","r1","clipped","vx","vy","align","PI","cos","sin","aligned","positioners","el","angle","startAngle","endAngle","innerRadius","outerRadius","rx","options","radius","ry","sx","sy","horizontal","base","abs","rasterize","round","getScaleOrigin","context","scale","chart","getDatasetMeta","datasetIndex","vScale","undefined","xCenter","yCenter","pixel","getBasePixel","drawFrame","model","bgColor","backgroundColor","borderColor","borderWidth","beginPath","w","h","HALF_PI","moveTo","arc","closePath","drawRoundedRect","borderRadius","fillStyle","fill","strokeStyle","lineWidth","lineJoin","stroke","drawTextLine","text","cfg","shadow","shadowBlur","stroked","strokeText","filled","fillText","Label","index","me","this","_config","_index","_model","_rects","_ctx","_el","merge","prototype","_modelize","display","toFont","resolve","color","defaults$1","chartArea","clip","offset","opacity","padding","toPadding","positioner","ArcElement","PointElement","BarElement","rotation","size","textAlign","textShadowBlur","textShadowColor","textStrokeColor","textStrokeWidth","update","label","rects","dataset","data","valueOrDefault","callback","formatter","th","tw","tx","ty","frame","boundingRects","geometry","visible","draw","center","save","globalAlpha","translate","rotate","strokeColor","strokeWidth","textGeometry","textBaseline","shadowColor","drawText","restore","MIN_INTEGER","Number","MIN_SAFE_INTEGER","MAX_INTEGER","MAX_SAFE_INTEGER","rotated","cx","cy","projected","points","axis","pt","dp","toAxis","p0","p1","HitBox","_rotation","_rect","coordinates","vs","contains","margin","intersects","other","pr0","pr1","_points","axes","layout","prepare","datasets","jlen","labels","$layout","_box","_hidable","_visible","_set","_idx","sort","a","b","sa","sb","state","dirty","proxy","Proxy","get","p","getProps","collider","s0","s1","collide","h0","h1","compute","lookup","EXPANDO_KEY","DEFAULT_KEY","dispatchEvent","listeners","event","callback$1","$context","groups","$groups","_key","_dirty","handleMoveEvents","previous","expando","_listeners","enter","leave","type","_labels","_hovered","dispatchMoveEvents","plugin","id","defaults","family","style","weight","keys","klen","k","isObject","Object","beforeInit","_actives","beforeUpdate","_listened","_datasets","afterDatasetUpdate","args","key","isDatasetVisible","override","datalabels","configs","forEach","reduce","target","each","fn","configure","elements","meta","getDataVisibility","skip","active","dataIndex","merger","source","afterUpdate","afterDatasetsDraw","beforeEvent","handlers","click","handleClickEvents","afterEvent","actives","getActiveElements","element","render"],"mappings":";;;;;;GASA,IAAIA,EAAoB,WACtB,GAAsB,oBAAXC,OAAwB,CACjC,GAAIA,OAAOD,iBACT,OAAOC,OAAOD,iBAMhB,IAAIE,EAASD,OAAOC,OACpB,GAAIA,EACF,OAAQA,EAAOC,YAAc,IAAMD,EAAOE,aAAe,EAE5D,CAED,OAAO,CACT,IAEIC,EAEW,SAASC,GACpB,IACIC,EADAC,EAAQ,GAIZ,IADAF,EAAS,GAAGG,OAAOH,GACZA,EAAOI,QAES,iBADrBH,EAAQD,EAAOK,OAEbH,EAAMI,QAAQC,MAAML,EAAOD,EAAMO,MAAM,OAC9BC,MAAMC,QAAQT,GACvBD,EAAOW,KAAKJ,MAAMP,EAAQC,GAChBW,EAAcZ,IACxBE,EAAMI,QAAQ,GAAKL,GAIvB,OAAOC,CACR,EAnBCH,EAuBQ,SAASc,EAAKX,EAAOY,GAC7B,IAIIC,EAJAC,EAAQ,GAAGb,OAAOD,GAClBe,EAAOD,EAAMZ,OACbc,EAAOL,EAAIC,KACXK,EAAQ,EAKZ,IAFAN,EAAIC,KAAOA,EAAKM,OAEXL,EAAI,EAAGA,EAAIE,IAAQF,EACtBI,EAAQE,KAAKC,IAAIT,EAAIU,YAAYP,EAAMD,IAAII,MAAOA,GAKpD,OAFAN,EAAIC,KAAOI,EAEJ,CACLM,OAAQP,EAAOH,EAAKW,WACpBN,MAAOA,EAEV,EA1CCpB,EAiDK,SAAS2B,EAAKC,EAAOL,GAC1B,OAAOD,KAA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ACT+O,SAASgD,OAAwB,IAAd/I,EAAO,GAChCC,EAAMD,OAAOC,EAAM8F,WAKrBO,EAAQH,QAAUhP,EAAQ7B,UAC5BoO,EAAO1D,OAAOsG,EAAQK,SACtBrL,EAAMuO,iBAGDvD,EAAQH,MAChB"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{clsx as l}from"../node_modules/clsx/dist/clsx.mjs";const e=l=>"boolean"==typeof l?"".concat(l):0===l?"0":l,n=l,r=(l,r)=>s=>{var t;if(null==(null==r?void 0:r.variants))return n(l,null==s?void 0:s.class,null==s?void 0:s.className);const{variants:o,defaultVariants:u}=r,a=Object.keys(o).map((l=>{const n=null==s?void 0:s[l],r=null==u?void 0:u[l];if(null===n)return null;const t=e(n)||e(r);return o[l][t]})),i=s&&Object.entries(s).reduce(((l,e)=>{let[n,r]=e;return void 0===r||(l[n]=r),l}),{}),c=null==r||null===(t=r.compoundVariants)||void 0===t?void 0:t.reduce(((l,e)=>{let{class:n,className:r,...s}=e;return Object.entries(s).every((l=>{let[e,n]=l;return Array.isArray(n)?n.includes({...u,...i}[e]):{...u,...i}[e]===n}))?[...l,n,r]:l}),[]);return n(l,a,c,null==s?void 0:s.class,null==s?void 0:s.className)};export{r as cva,n as cx};
|
2
|
-
//# sourceMappingURL=index.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../node_modules/class-variance-authority/dist/index.mjs"],"sourcesContent":["import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? \"\".concat(value) : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>{\n return (props)=>{\n var ref;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants , defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (ref = config.compoundVariants) === null || ref === void 0 ? void 0 : ref.reduce((acc, param1)=>{\n let { class: cvClass , className: cvClassName , ...compoundVariantOptions } = param1;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n};\n\n\n//# sourceMappingURL=index.mjs.map"],"names":["falsyToString","value","concat","cx","clsx","cva","base","config","props","ref","variants","class","className","defaultVariants","getVariantClassNames","Object","keys","map","variant","variantProp","defaultVariantProp","variantKey","propsWithoutUndefined","entries","reduce","acc","param","key","undefined","getCompoundVariantClassNames","compoundVariants","param1","cvClass","cvClassName","compoundVariantOptions","every","Array","isArray","includes"],"mappings":"0DACA,MAAMA,EAAiBC,GAAyB,kBAAVA,EAAsB,GAAGC,OAAOD,GAAmB,IAAVA,EAAc,IAAMA,EACtFE,EAAKC,EACLC,EAAM,CAACC,EAAMC,IACdC,IACJ,IAAIC,EACJ,GAAyE,OAApEF,aAAuC,EAASA,EAAOG,UAAmB,OAAOP,EAAGG,EAAME,aAAqC,EAASA,EAAMG,MAAOH,aAAqC,EAASA,EAAMI,WAC9M,MAAMF,SAAEA,EAAQG,gBAAGA,GAAqBN,EAClCO,EAAuBC,OAAOC,KAAKN,GAAUO,KAAKC,IACpD,MAAMC,EAAcX,aAAqC,EAASA,EAAMU,GAClEE,EAAqBP,aAAyD,EAASA,EAAgBK,GAC7G,GAAoB,OAAhBC,EAAsB,OAAO,KACjC,MAAME,EAAarB,EAAcmB,IAAgBnB,EAAcoB,GAC/D,OAAOV,EAASQ,GAASG,EAAW,IAElCC,EAAwBd,GAASO,OAAOQ,QAAQf,GAAOgB,QAAO,CAACC,EAAKC,KACtE,IAAKC,EAAK1B,GAASyB,EACnB,YAAcE,IAAV3B,IAGJwB,EAAIE,GAAO1B,GAFAwB,CAGD,GACX,CAAE,GACCI,EAA+BtB,SAAoF,QAAnCE,EAAMF,EAAOuB,wBAAsC,IAARrB,OAArD,EAA+EA,EAAIe,QAAO,CAACC,EAAKM,KACxK,IAAMpB,MAAOqB,EAAUpB,UAAWqB,KAAiBC,GAA2BH,EAC9E,OAAOhB,OAAOQ,QAAQW,GAAwBC,OAAOT,IACjD,IAAKC,EAAK1B,GAASyB,EACnB,OAAOU,MAAMC,QAAQpC,GAASA,EAAMqC,SAAS,IACtCzB,KACAS,GACLK,IAAQ,IACHd,KACAS,GACJK,KAAS1B,CAAK,IAChB,IACEwB,EACHO,EACAC,GACAR,CAAG,GACR,IACH,OAAOtB,EAAGG,EAAMQ,EAAsBe,EAA8BrB,aAAqC,EAASA,EAAMG,MAAOH,aAAqC,EAASA,EAAMI,UAAU"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function e(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}export{e as clsx,e as default};
|
2
|
-
//# sourceMappingURL=clsx.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"clsx.mjs","sources":["../../../../../../node_modules/class-variance-authority/node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f);else for(t in e)e[t]&&(n&&(n+=\" \"),n+=t);return n}export function clsx(){for(var e,t,f=0,n=\"\";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"names":["r","e","t","f","n","Array","isArray","length","clsx","arguments"],"mappings":"AAAA,SAASA,EAAEC,GAAG,IAAIC,EAAEC,EAAEC,EAAE,GAAG,GAAG,iBAAiBH,GAAG,iBAAiBA,EAAEG,GAAGH,OAAO,GAAG,iBAAiBA,EAAE,GAAGI,MAAMC,QAAQL,GAAG,IAAIC,EAAE,EAAEA,EAAED,EAAEM,OAAOL,IAAID,EAAEC,KAAKC,EAAEH,EAAEC,EAAEC,OAAOE,IAAIA,GAAG,KAAKA,GAAGD,QAAQ,IAAID,KAAKD,EAAEA,EAAEC,KAAKE,IAAIA,GAAG,KAAKA,GAAGF,GAAG,OAAOE,CAAC,CAAQ,SAASI,IAAO,IAAI,IAAIP,EAAEC,EAAEC,EAAE,EAAEC,EAAE,GAAGD,EAAEM,UAAUF,SAASN,EAAEQ,UAAUN,QAAQD,EAAEF,EAAEC,MAAMG,IAAIA,GAAG,KAAKA,GAAGF,GAAG,OAAOE,CAAC"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import{__module as r}from"../../_virtual/index2.mjs";
|
2
|
-
/*!
|
3
|
-
Copyright (c) 2018 Jed Watson.
|
4
|
-
Licensed under the MIT License (MIT), see
|
5
|
-
http://jedwatson.github.io/classnames
|
6
|
-
*/var t;function e(){return t||(t=1,e=r,function(){var r={}.hasOwnProperty;function t(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)){if(o.length){var a=t.apply(null,o);a&&e.push(a)}}else if("object"===i){if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]")){e.push(o.toString());continue}for(var s in o)r.call(o,s)&&o[s]&&e.push(s)}}}return e.join(" ")}e.exports?(t.default=t,e.exports=t):window.classNames=t}()),r.exports;var e}r.exports;export{e as __require};
|
7
|
-
//# sourceMappingURL=index.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../node_modules/classnames/index.js"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\tvar nativeCodeString = '[native code]';\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n"],"names":["hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","argType","push","Array","isArray","inner","apply","toString","Object","prototype","includes","key","call","join","module","exports","default","window"],"mappings":";;;;;wCAOC,WAGA,IAAIA,EAAS,CAAE,EAACC,eAGhB,SAASC,IAGR,IAFA,IAAIC,EAAU,GAELC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAC1C,IAAIG,EAAMF,UAAUD,GACpB,GAAKG,EAAL,CAEA,IAAIC,SAAiBD,EAErB,GAAgB,WAAZC,GAAoC,WAAZA,EAC3BL,EAAQM,KAAKF,QACP,GAAIG,MAAMC,QAAQJ,IACxB,GAAIA,EAAID,OAAQ,CACf,IAAIM,EAAQV,EAAWW,MAAM,KAAMN,GAC/BK,GACHT,EAAQM,KAAKG,EAEnB,OACU,GAAgB,WAAZJ,EAAsB,CAChC,GAAID,EAAIO,WAAaC,OAAOC,UAAUF,WAAaP,EAAIO,SAASA,WAAWG,SAAS,iBAAkB,CACrGd,EAAQM,KAAKF,EAAIO,YACjB,QACL,CAEI,IAAK,IAAII,KAAOX,EACXP,EAAOmB,KAAKZ,EAAKW,IAAQX,EAAIW,IAChCf,EAAQM,KAAKS,EAGnB,CAxBa,CAyBb,CAEE,OAAOf,EAAQiB,KAAK,IACtB,CAEsCC,EAAOC,SAC3CpB,EAAWqB,QAAUrB,EACrBmB,UAAiBnB,GAOjBsB,OAAOtB,WAAaA,CAEtB,CApDA"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f)}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function e(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}export{e as clsx,e as default};
|
2
|
-
//# sourceMappingURL=clsx.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"clsx.mjs","sources":["../../../../node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"names":["r","e","t","f","n","Array","isArray","o","length","clsx","arguments"],"mappings":"AAAA,SAASA,EAAEC,GAAG,IAAIC,EAAEC,EAAEC,EAAE,GAAG,GAAG,iBAAiBH,GAAG,iBAAiBA,EAAEG,GAAGH,OAAO,GAAG,iBAAiBA,EAAE,GAAGI,MAAMC,QAAQL,GAAG,CAAC,IAAIM,EAAEN,EAAEO,OAAO,IAAIN,EAAE,EAAEA,EAAEK,EAAEL,IAAID,EAAEC,KAAKC,EAAEH,EAAEC,EAAEC,OAAOE,IAAIA,GAAG,KAAKA,GAAGD,EAAE,MAAM,IAAIA,KAAKF,EAAEA,EAAEE,KAAKC,IAAIA,GAAG,KAAKA,GAAGD,GAAG,OAAOC,CAAC,CAAQ,SAASK,IAAO,IAAI,IAAIR,EAAEC,EAAEC,EAAE,EAAEC,EAAE,GAAGG,EAAEG,UAAUF,OAAOL,EAAEI,EAAEJ,KAAKF,EAAES,UAAUP,MAAMD,EAAEF,EAAEC,MAAMG,IAAIA,GAAG,KAAKA,GAAGF,GAAG,OAAOE,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce","__webpack_nonce__"],"mappings":"AAIU,IAACA,EAAW,WAIlB,GAAiC,oBAAtBC,kBACP,OAAOA,iBAGf"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import t,{forwardRef as e,useRef as n,useEffect as r}from"react";import{Chart as a,LineController as s,BarController as c,RadarController as u,DoughnutController as o,BubbleController as i,PieController as l}from"../../chart.js/dist/chart.mjs";const d="label";function f(t,e){"function"==typeof t?t(e):t&&(t.current=e)}function p(t,e){t.labels=e}function b(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d;const r=[];t.datasets=e.map((e=>{const a=t.datasets.find((t=>t[n]===e[n]));return a&&e.data&&!r.includes(a)?(r.push(a),Object.assign(a,e),a):{...e}}))}function g(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d;const n={labels:[],datasets:[]};return p(n,t.labels),b(n,t.datasets,e),n}function h(e,s){const{height:c=150,width:u=300,redraw:o=!1,datasetIdKey:i,type:l,data:d,options:h,plugins:m=[],fallbackContent:j,updateMode:y,...w}=e,O=n(null),v=n(),C=()=>{O.current&&(v.current=new a(O.current,{type:l,data:g(d,i),options:h&&{...h},plugins:m}),f(s,v.current))},E=()=>{f(s,null),v.current&&(v.current.destroy(),v.current=null)};return r((()=>{!o&&v.current&&h&&function(t,e){const n=t.options;n&&e&&Object.assign(n,e)}(v.current,h)}),[o,h]),r((()=>{!o&&v.current&&p(v.current.config.data,d.labels)}),[o,d.labels]),r((()=>{!o&&v.current&&d.datasets&&b(v.current.config.data,d.datasets,i)}),[o,d.datasets]),r((()=>{v.current&&(o?(E(),setTimeout(C)):v.current.update(y))}),[o,h,d.labels,d.datasets,y]),r((()=>{v.current&&(E(),setTimeout(C))}),[l]),r((()=>(C(),()=>E())),[]),t.createElement("canvas",Object.assign({ref:O,role:"img",height:c,width:u},w),j)}const m=e(h);function j(n,r){return a.register(r),e(((e,r)=>t.createElement(m,Object.assign({},e,{ref:r,type:n}))))}const y=j("line",s),w=j("bar",c),O=j("radar",u),v=j("doughnut",o),C=j("bubble",i),E=j("pie",l);export{w as Bar,C as Bubble,m as Chart,v as Doughnut,y as Line,E as Pie,O as Radar};
|
2
|
-
//# sourceMappingURL=index.mjs.map
|