@lotte-innovate/ui-component-test 0.2.25 → 0.2.26
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +172 -15
- package/dist/globals.css +4 -0
- package/dist/lib/Typography/Header/index.d.ts +15 -0
- package/dist/lib/Typography/Header/index.js +56 -0
- package/dist/lib/Typography/Text/index.d.ts +15 -0
- package/dist/lib/Typography/Text/index.js +45 -0
- package/dist/lib/Typography/index.d.ts +2 -0
- package/dist/lib/Typography/index.js +2 -0
- package/dist/lib/_virtual/_commonjsHelpers.mjs +2 -0
- package/dist/lib/_virtual/_commonjsHelpers.mjs.map +1 -0
- package/dist/lib/_virtual/index.mjs +2 -0
- package/dist/lib/_virtual/index2.mjs +2 -0
- package/dist/lib/_virtual/index2.mjs.map +1 -0
- package/dist/lib/_virtual/index3.mjs +2 -0
- package/dist/lib/_virtual/index3.mjs.map +1 -0
- package/dist/lib/_virtual/react-is.development.mjs +2 -0
- package/dist/lib/_virtual/react-is.development.mjs.map +1 -0
- package/dist/lib/_virtual/react-is.production.min.mjs +2 -0
- package/dist/lib/_virtual/react-is.production.min.mjs.map +1 -0
- package/dist/lib/color/alpha.d.ts +784 -0
- package/dist/lib/color/alpha.js +784 -0
- package/dist/lib/color/constants.d.ts +15 -0
- package/dist/lib/color/constants.js +265 -0
- package/dist/lib/color/dark.d.ts +392 -0
- package/dist/lib/color/dark.js +392 -0
- package/dist/lib/color/krdsColors.d.ts +309 -0
- package/dist/lib/color/krdsColors.js +309 -0
- package/dist/lib/color/light.d.ts +392 -0
- package/dist/lib/color/light.js +393 -0
- package/dist/lib/components/Accordion/index.d.ts +22 -0
- package/dist/lib/components/Accordion/index.js +81 -0
- package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +14 -0
- package/dist/lib/components/AlertDialog/AlertDialogAction.js +63 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +13 -0
- package/dist/lib/components/AlertDialog/AlertDialogCancel.js +61 -0
- package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +11 -0
- package/dist/lib/components/AlertDialog/AlertDialogContent.js +52 -0
- package/dist/lib/components/AlertDialog/AlertDialogDescription.d.ts +10 -0
- package/dist/lib/components/AlertDialog/AlertDialogDescription.js +48 -0
- package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
- package/dist/lib/components/AlertDialog/AlertDialogRoot.js +50 -0
- package/dist/lib/components/AlertDialog/AlertDialogTitle.d.ts +10 -0
- package/dist/lib/components/AlertDialog/AlertDialogTitle.js +48 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +17 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +67 -0
- package/dist/lib/components/AlertDialog/index.d.ts +11 -0
- package/dist/lib/components/AlertDialog/index.js +17 -0
- package/dist/lib/components/AspectRatio/index.d.ts +10 -0
- package/dist/lib/components/AspectRatio/index.js +45 -0
- package/dist/lib/components/Avatar/index.d.ts +21 -0
- package/dist/lib/components/Avatar/index.js +67 -0
- package/dist/lib/components/Badge/index.d.ts +18 -0
- package/dist/lib/components/Badge/index.js +65 -0
- package/dist/lib/components/BarChart/index.d.ts +33 -0
- package/dist/lib/components/BarChart/index.js +63 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +34 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +32 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.d.ts +10 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +47 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbList.d.ts +6 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbList.js +34 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.d.ts +8 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +45 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.d.ts +14 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +59 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.d.ts +9 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +34 -0
- package/dist/lib/components/Breadcrumb/index.d.ts +21 -0
- package/dist/lib/components/Breadcrumb/index.js +17 -0
- package/dist/lib/components/BubbleChart/index.d.ts +28 -0
- package/dist/lib/components/BubbleChart/index.js +82 -0
- package/dist/lib/components/Button/index.d.ts +16 -0
- package/dist/lib/components/Button/index.js +67 -0
- package/dist/lib/components/Calendar/index.d.ts +8 -0
- package/dist/lib/components/Calendar/index.js +45 -0
- package/dist/lib/components/Callout/CalloutIcon.d.ts +13 -0
- package/dist/lib/components/Callout/CalloutIcon.js +58 -0
- package/dist/lib/components/Callout/CalloutRoot.d.ts +18 -0
- package/dist/lib/components/Callout/CalloutRoot.js +80 -0
- package/dist/lib/components/Callout/CalloutText.d.ts +10 -0
- package/dist/lib/components/Callout/CalloutText.js +53 -0
- package/dist/lib/components/Callout/index.d.ts +7 -0
- package/dist/lib/components/Callout/index.js +9 -0
- package/dist/lib/components/Card/index.d.ts +14 -0
- package/dist/lib/components/Card/index.js +72 -0
- package/dist/lib/components/Checkbox/index.d.ts +17 -0
- package/dist/lib/components/Checkbox/index.js +98 -0
- package/dist/lib/components/CheckboxCard/index.d.ts +20 -0
- package/dist/lib/components/CheckboxCard/index.js +66 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +5 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +34 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +21 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +59 -0
- package/dist/lib/components/CheckboxGroup/index.d.ts +6 -0
- package/dist/lib/components/CheckboxGroup/index.js +4 -0
- package/dist/lib/components/Collapsible/index.d.ts +21 -0
- package/dist/lib/components/Collapsible/index.js +75 -0
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +43 -0
- package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +11 -0
- package/dist/lib/components/ContextMenu/ContextMenuContent.js +57 -0
- package/dist/lib/components/ContextMenu/ContextMenuGroup.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuGroup.js +30 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +13 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.js +61 -0
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +10 -0
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +51 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.d.ts +11 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.js +49 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +8 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +32 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +45 -0
- package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
- package/dist/lib/components/ContextMenu/ContextMenuRoot.js +52 -0
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.d.ts +3 -0
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +31 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +11 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +55 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +42 -0
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.d.ts +4 -0
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +31 -0
- package/dist/lib/components/ContextMenu/index.d.ts +17 -0
- package/dist/lib/components/ContextMenu/index.js +29 -0
- package/dist/lib/components/DataList/DataListItem.d.ts +9 -0
- package/dist/lib/components/DataList/DataListItem.js +44 -0
- package/dist/lib/components/DataList/DataListLabel.d.ts +10 -0
- package/dist/lib/components/DataList/DataListLabel.js +50 -0
- package/dist/lib/components/DataList/DataListRoot.d.ts +14 -0
- package/dist/lib/components/DataList/DataListRoot.js +61 -0
- package/dist/lib/components/DataList/DataListValue.d.ts +11 -0
- package/dist/lib/components/DataList/DataListValue.js +52 -0
- package/dist/lib/components/DataList/index.d.ts +8 -0
- package/dist/lib/components/DataList/index.js +6 -0
- package/dist/lib/components/Datepicker/index.d.ts +14 -0
- package/dist/lib/components/Datepicker/index.js +35 -0
- package/dist/lib/components/Dialog/DialogAction.d.ts +11 -0
- package/dist/lib/components/Dialog/DialogAction.js +61 -0
- package/dist/lib/components/Dialog/DialogCancel.d.ts +10 -0
- package/dist/lib/components/Dialog/DialogCancel.js +56 -0
- package/dist/lib/components/Dialog/DialogContent.d.ts +11 -0
- package/dist/lib/components/Dialog/DialogContent.js +58 -0
- package/dist/lib/components/Dialog/DialogDescription.d.ts +9 -0
- package/dist/lib/components/Dialog/DialogDescription.js +48 -0
- package/dist/lib/components/Dialog/DialogRoot.d.ts +12 -0
- package/dist/lib/components/Dialog/DialogRoot.js +46 -0
- package/dist/lib/components/Dialog/DialogSlot.d.ts +8 -0
- package/dist/lib/components/Dialog/DialogSlot.js +47 -0
- package/dist/lib/components/Dialog/DialogTitle.d.ts +9 -0
- package/dist/lib/components/Dialog/DialogTitle.js +48 -0
- package/dist/lib/components/Dialog/DialogTrigger.d.ts +3 -0
- package/dist/lib/components/Dialog/DialogTrigger.js +30 -0
- package/dist/lib/components/Dialog/index.d.ts +15 -0
- package/dist/lib/components/Dialog/index.js +19 -0
- package/dist/lib/components/DoughnutChart/index.d.ts +22 -0
- package/dist/lib/components/DoughnutChart/index.js +65 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +3 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +30 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +11 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +61 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +7 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +42 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +11 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +57 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +15 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +60 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +10 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +49 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.d.ts +10 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +46 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +6 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +42 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +14 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +48 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +31 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.d.ts +3 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.js +30 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +4 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +42 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +14 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +54 -0
- package/dist/lib/components/DropdownMenu/index.d.ts +20 -0
- package/dist/lib/components/DropdownMenu/index.js +29 -0
- package/dist/lib/components/Editor/index.d.ts +1 -1
- package/dist/lib/components/Editor/index.js +1 -2
- package/dist/lib/components/Footer/index.d.ts +11 -0
- package/dist/lib/components/Footer/index.js +57 -0
- package/dist/lib/components/Gnb/GnbInfo.d.ts +9 -0
- package/dist/lib/components/Gnb/GnbInfo.js +46 -0
- package/dist/lib/components/Gnb/GnbLogo.d.ts +10 -0
- package/dist/lib/components/Gnb/GnbLogo.js +46 -0
- package/dist/lib/components/Gnb/GnbMenu.d.ts +9 -0
- package/dist/lib/components/Gnb/GnbMenu.js +46 -0
- package/dist/lib/components/Gnb/GnbMenuItem.d.ts +11 -0
- package/dist/lib/components/Gnb/GnbMenuItem.js +46 -0
- package/dist/lib/components/Gnb/GnbRoot.d.ts +11 -0
- package/dist/lib/components/Gnb/GnbRoot.js +53 -0
- package/dist/lib/components/Gnb/index.d.ts +9 -0
- package/dist/lib/components/Gnb/index.js +13 -0
- package/dist/lib/components/Grid/Pagination.d.ts +2 -0
- package/dist/lib/components/Grid/Pagination.js +18 -0
- package/dist/lib/components/Grid/index.d.ts +7 -0
- package/dist/lib/components/Grid/index.js +59 -0
- package/dist/lib/components/Grid/useGrid.d.ts +3 -0
- package/dist/lib/components/Grid/useGrid.js +81 -0
- package/dist/lib/components/HoverCard/HoverCardContent.d.ts +13 -0
- package/dist/lib/components/HoverCard/HoverCardContent.js +62 -0
- package/dist/lib/components/HoverCard/HoverCardRoot.d.ts +11 -0
- package/dist/lib/components/HoverCard/HoverCardRoot.js +48 -0
- package/dist/lib/components/HoverCard/HoverCardTrigger.d.ts +3 -0
- package/dist/lib/components/HoverCard/HoverCardTrigger.js +30 -0
- package/dist/lib/components/HoverCard/index.d.ts +10 -0
- package/dist/lib/components/HoverCard/index.js +9 -0
- package/dist/lib/components/IconButton/index.d.ts +15 -0
- package/dist/lib/components/IconButton/index.js +73 -0
- package/dist/lib/components/Inset/index.d.ts +10 -0
- package/dist/lib/components/Inset/index.js +57 -0
- package/dist/lib/components/Label/index.d.ts +20 -0
- package/dist/lib/components/Label/index.js +64 -0
- package/dist/lib/components/LineChart/index.d.ts +43 -0
- package/dist/lib/components/LineChart/index.js +61 -0
- package/dist/lib/components/Menubar/MenubarCheckboxItem.d.ts +4 -0
- package/dist/lib/components/Menubar/MenubarCheckboxItem.js +40 -0
- package/dist/lib/components/Menubar/MenubarContent.d.ts +11 -0
- package/dist/lib/components/Menubar/MenubarContent.js +61 -0
- package/dist/lib/components/Menubar/MenubarItem.d.ts +13 -0
- package/dist/lib/components/Menubar/MenubarItem.js +56 -0
- package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +10 -0
- package/dist/lib/components/Menubar/MenubarItemIndicator.js +50 -0
- package/dist/lib/components/Menubar/MenubarMenu.d.ts +5 -0
- package/dist/lib/components/Menubar/MenubarMenu.js +30 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.d.ts +8 -0
- package/dist/lib/components/Menubar/MenubarRadioGroup.js +32 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.d.ts +4 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.js +42 -0
- package/dist/lib/components/Menubar/MenubarRoot.d.ts +19 -0
- package/dist/lib/components/Menubar/MenubarRoot.js +73 -0
- package/dist/lib/components/Menubar/MenubarSeparator.d.ts +3 -0
- package/dist/lib/components/Menubar/MenubarSeparator.js +31 -0
- package/dist/lib/components/Menubar/MenubarSub.d.ts +3 -0
- package/dist/lib/components/Menubar/MenubarSub.js +30 -0
- package/dist/lib/components/Menubar/MenubarSubContent.d.ts +10 -0
- package/dist/lib/components/Menubar/MenubarSubContent.js +52 -0
- package/dist/lib/components/Menubar/MenubarSubTrigger.d.ts +4 -0
- package/dist/lib/components/Menubar/MenubarSubTrigger.js +43 -0
- package/dist/lib/components/Menubar/MenubarTrigger.d.ts +12 -0
- package/dist/lib/components/Menubar/MenubarTrigger.js +58 -0
- package/dist/lib/components/Menubar/index.d.ts +19 -0
- package/dist/lib/components/Menubar/index.js +29 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +11 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +49 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +3 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +31 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.d.ts +3 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.js +30 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +13 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +53 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +12 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuList.js +49 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +53 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +13 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +60 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +12 -0
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +54 -0
- package/dist/lib/components/NavigationMenu/index.d.ts +12 -0
- package/dist/lib/components/NavigationMenu/index.js +10 -0
- package/dist/lib/components/PieChart/index.d.ts +22 -0
- package/dist/lib/components/PieChart/index.js +65 -0
- package/dist/lib/components/Popover/PopoverClose.d.ts +9 -0
- package/dist/lib/components/Popover/PopoverClose.js +49 -0
- package/dist/lib/components/Popover/PopoverContent.d.ts +13 -0
- package/dist/lib/components/Popover/PopoverContent.js +66 -0
- package/dist/lib/components/Popover/PopoverRoot.d.ts +11 -0
- package/dist/lib/components/Popover/PopoverRoot.js +43 -0
- package/dist/lib/components/Popover/PopoverTrigger.d.ts +3 -0
- package/dist/lib/components/Popover/PopoverTrigger.js +30 -0
- package/dist/lib/components/Popover/index.d.ts +11 -0
- package/dist/lib/components/Popover/index.js +11 -0
- package/dist/lib/components/Progress/index.d.ts +13 -0
- package/dist/lib/components/Progress/index.js +67 -0
- package/dist/lib/components/RadarChart/index.d.ts +32 -0
- package/dist/lib/components/RadarChart/index.js +85 -0
- package/dist/lib/components/Radio/index.d.ts +13 -0
- package/dist/lib/components/Radio/index.js +60 -0
- package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +10 -0
- package/dist/lib/components/RadioCards/RadioCardsItem.js +55 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.js +56 -0
- package/dist/lib/components/RadioCards/index.d.ts +6 -0
- package/dist/lib/components/RadioCards/index.js +7 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +12 -0
- package/dist/lib/components/RadioGroup/RadioGroupItem.js +47 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.js +62 -0
- package/dist/lib/components/RadioGroup/index.d.ts +6 -0
- package/dist/lib/components/RadioGroup/index.js +7 -0
- package/dist/lib/components/ScrollArea/index.d.ts +9 -0
- package/dist/lib/components/ScrollArea/index.js +39 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.d.ts +6 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +35 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +55 -0
- package/dist/lib/components/SegmentedControl/index.d.ts +6 -0
- package/dist/lib/components/SegmentedControl/index.js +7 -0
- package/dist/lib/components/Select/index.d.ts +36 -0
- package/dist/lib/components/Select/index.js +112 -0
- package/dist/lib/components/Separator/index.d.ts +11 -0
- package/dist/lib/components/Separator/index.js +55 -0
- package/dist/lib/components/SideBar/index.d.ts +21 -0
- package/dist/lib/components/SideBar/index.js +71 -0
- package/dist/lib/components/Skeleton/index.d.ts +14 -0
- package/dist/lib/components/Skeleton/index.js +46 -0
- package/dist/lib/components/Slider/index.d.ts +15 -0
- package/dist/lib/components/Slider/index.js +56 -0
- package/dist/lib/components/Spinner/index.d.ts +15 -0
- package/dist/lib/components/Spinner/index.js +50 -0
- package/dist/lib/components/TabNav/index.d.ts +15 -0
- package/dist/lib/components/TabNav/index.js +53 -0
- package/dist/lib/components/Table/index.d.ts +30 -0
- package/dist/lib/components/Table/index.js +104 -0
- package/dist/lib/components/Tabs/DynamicTabs.d.ts +30 -0
- package/dist/lib/components/Tabs/DynamicTabs.js +72 -0
- package/dist/lib/components/Tabs/index.d.ts +23 -0
- package/dist/lib/components/Tabs/index.js +68 -0
- package/dist/lib/components/TextArea/index.d.ts +16 -0
- package/dist/lib/components/TextArea/index.js +66 -0
- package/dist/lib/components/TextField/index.d.ts +21 -0
- package/dist/lib/components/TextField/index.js +64 -0
- package/dist/lib/components/Timeline/TimelineConnector.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineConnector.js +34 -0
- package/dist/lib/components/Timeline/TimelineContent.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineContent.js +34 -0
- package/dist/lib/components/Timeline/TimelineDescription.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineDescription.js +34 -0
- package/dist/lib/components/Timeline/TimelineHeader.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineHeader.js +34 -0
- package/dist/lib/components/Timeline/TimelineIcon.d.ts +8 -0
- package/dist/lib/components/Timeline/TimelineIcon.js +43 -0
- package/dist/lib/components/Timeline/TimelineItem.d.ts +6 -0
- package/dist/lib/components/Timeline/TimelineItem.js +34 -0
- package/dist/lib/components/Timeline/TimelineRoot.d.ts +11 -0
- package/dist/lib/components/Timeline/TimelineRoot.js +53 -0
- package/dist/lib/components/Timeline/TimelineTime.d.ts +8 -0
- package/dist/lib/components/Timeline/TimelineTime.js +46 -0
- package/dist/lib/components/Timeline/TimelineTitle.d.ts +8 -0
- package/dist/lib/components/Timeline/TimelineTitle.js +46 -0
- package/dist/lib/components/Timeline/index.d.ts +13 -0
- package/dist/lib/components/Timeline/index.js +21 -0
- package/dist/lib/components/Toast/ToastActionButton.d.ts +14 -0
- package/dist/lib/components/Toast/ToastActionButton.js +72 -0
- package/dist/lib/components/Toast/ToastDescription.d.ts +13 -0
- package/dist/lib/components/Toast/ToastDescription.js +54 -0
- package/dist/lib/components/Toast/ToastRoot.d.ts +27 -0
- package/dist/lib/components/Toast/ToastRoot.js +98 -0
- package/dist/lib/components/Toast/ToastTitle.d.ts +13 -0
- package/dist/lib/components/Toast/ToastTitle.js +54 -0
- package/dist/lib/components/Toast/index.d.ts +8 -0
- package/dist/lib/components/Toast/index.js +11 -0
- package/dist/lib/components/Toggle/ToggleWithText.d.ts +21 -0
- package/dist/lib/components/Toggle/ToggleWithText.js +69 -0
- package/dist/lib/components/Toggle/index.d.ts +21 -0
- package/dist/lib/components/Toggle/index.js +69 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +17 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +55 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +58 -0
- package/dist/lib/components/ToggleGroup/index.d.ts +6 -0
- package/dist/lib/components/ToggleGroup/index.js +7 -0
- package/dist/lib/components/ToggleSwitch/index.d.ts +13 -0
- package/dist/lib/components/ToggleSwitch/index.js +82 -0
- package/dist/lib/components/Tooltip/index.d.ts +19 -0
- package/dist/lib/components/Tooltip/index.js +54 -0
- package/dist/lib/components/index.d.ts +61 -1
- package/dist/lib/components/index.js +64 -1
- package/dist/lib/constants.d.ts +647 -0
- package/dist/lib/constants.js +895 -0
- package/dist/lib/dist/lib/Typography/Header/index.mjs +3 -0
- package/dist/lib/dist/lib/Typography/Text/index.mjs +3 -0
- package/dist/lib/dist/lib/Typography/Text/index.mjs.map +1 -0
- package/dist/lib/dist/lib/color/alpha.mjs +2 -0
- package/dist/lib/dist/lib/color/alpha.mjs.map +1 -0
- package/dist/lib/dist/lib/color/constants.mjs +2 -0
- package/dist/lib/dist/lib/color/constants.mjs.map +1 -0
- package/dist/lib/dist/lib/color/light.mjs +2 -0
- package/dist/lib/dist/lib/color/light.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Accordion/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Accordion/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/index.mjs +2 -0
- package/dist/lib/dist/lib/components/AlertDialog/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AspectRatio/index.mjs +3 -0
- package/dist/lib/dist/lib/components/AspectRatio/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Avatar/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Avatar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Badge/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Badge/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/BarChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/BarChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/BubbleChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/BubbleChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Button/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Button/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Calendar/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Calendar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs +3 -0
- package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/CalloutText.mjs +3 -0
- package/dist/lib/dist/lib/components/Callout/CalloutText.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Callout/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Card/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Card/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Checkbox/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Checkbox/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/CheckboxCard/index.mjs +3 -0
- package/dist/lib/dist/lib/components/CheckboxCard/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs +3 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs +2 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Collapsible/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Collapsible/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs +2 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs +2 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs +2 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/index.mjs +2 -0
- package/dist/lib/dist/lib/components/ContextMenu/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListItem.mjs +3 -0
- package/dist/lib/dist/lib/components/DataList/DataListItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs +3 -0
- package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListValue.mjs +3 -0
- package/dist/lib/dist/lib/components/DataList/DataListValue.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/index.mjs +2 -0
- package/dist/lib/dist/lib/components/DataList/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Datepicker/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Datepicker/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs +2 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Dialog/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DoughnutChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs +2 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs +2 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs +2 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/index.mjs +2 -0
- package/dist/lib/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Footer/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Footer/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs +3 -0
- package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs +2 -0
- package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs +3 -0
- package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/GnbMenuItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Gnb/GnbMenuItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Gnb/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Gnb/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Grid/Pagination.mjs +2 -0
- package/dist/lib/dist/lib/components/Grid/Pagination.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Grid/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Grid/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Grid/useGrid.mjs +3 -0
- package/dist/lib/dist/lib/components/Grid/useGrid.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs +3 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs +2 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/index.mjs +2 -0
- package/dist/lib/dist/lib/components/HoverCard/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/IconButton/index.mjs +3 -0
- package/dist/lib/dist/lib/components/IconButton/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Inset/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Inset/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Label/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Label/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/LineChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/LineChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs +2 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioGroup.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs +2 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs +2 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Menubar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +2 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs +2 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/index.mjs +2 -0
- package/dist/lib/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/PieChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/PieChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs +3 -0
- package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs +3 -0
- package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs +2 -0
- package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Popover/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Progress/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Progress/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadarChart/index.mjs +2 -0
- package/dist/lib/dist/lib/components/RadarChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Radio/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Radio/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioCards/index.mjs +2 -0
- package/dist/lib/dist/lib/components/RadioCards/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioGroup/index.mjs +2 -0
- package/dist/lib/dist/lib/components/RadioGroup/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ScrollArea/index.mjs +3 -0
- package/dist/lib/dist/lib/components/ScrollArea/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs +2 -0
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SegmentedControl/index.mjs +2 -0
- package/dist/lib/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Select/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Select/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Separator/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Separator/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SideBar/index.mjs +3 -0
- package/dist/lib/dist/lib/components/SideBar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Skeleton/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Skeleton/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Slider/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Slider/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Spinner/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Spinner/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/TabNav/index.mjs +3 -0
- package/dist/lib/dist/lib/components/TabNav/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Table/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Table/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Tabs/DynamicTabs.mjs +2 -0
- package/dist/lib/dist/lib/components/Tabs/DynamicTabs.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Tabs/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Tabs/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/TextArea/index.mjs +3 -0
- package/dist/lib/dist/lib/components/TextArea/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/TextField/index.mjs +3 -0
- package/dist/lib/dist/lib/components/TextField/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs +3 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs +3 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs +3 -0
- package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Timeline/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Timeline/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs +3 -0
- package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs +3 -0
- package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs +3 -0
- package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Toast/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs +3 -0
- package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toggle/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Toggle/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleGroup/index.mjs +2 -0
- package/dist/lib/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs +3 -0
- package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Tooltip/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Tooltip/index.mjs.map +1 -0
- package/dist/lib/dist/lib/constants.mjs +2 -0
- package/dist/lib/dist/lib/constants.mjs.map +1 -0
- package/dist/lib/dist/lib/index.mjs +2 -0
- package/dist/lib/dist/lib/index.mjs.map +1 -0
- package/dist/lib/dist/lib/theme/ThemeProvider.mjs +3 -0
- package/dist/lib/dist/lib/theme/ThemeProvider.mjs.map +1 -0
- package/dist/lib/dist/lib/utils/useDarkMode.mjs +3 -0
- package/dist/lib/dist/lib/utils/useDarkMode.mjs.map +1 -0
- package/dist/lib/dist/lib/utils/useWindowSize.mjs +2 -0
- package/dist/lib/dist/lib/utils/useWindowSize.mjs.map +1 -0
- package/dist/lib/dist/lib/utils/utils.mjs.map +1 -0
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.js +2 -0
- package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs +2 -0
- package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/addDays/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/addDays/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/addMonths/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/addMonths/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/addWeeks/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/addWeeks/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/addYears/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/addYears/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/differenceInCalendarDays/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/differenceInCalendarDays/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/differenceInCalendarMonths/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/differenceInCalendarMonths/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/differenceInCalendarWeeks/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/differenceInCalendarWeeks/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/endOfISOWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/endOfISOWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/endOfMonth/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/endOfMonth/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/endOfWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/endOfWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/format/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/format/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getDaysInMonth/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getDaysInMonth/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getISOWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getISOWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getISOWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getISOWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getTime/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getTime/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getUnixTime/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getUnixTime/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/getWeeksInMonth/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/getWeeksInMonth/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isAfter/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isAfter/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isBefore/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isBefore/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isSameDay/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isSameDay/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isSameMonth/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isSameMonth/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isSameYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isSameYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/lastDayOfMonth/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/lastDayOfMonth/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/max/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/max/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/min/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/min/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/setMonth/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/setMonth/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/setYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/setYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/startOfDay/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/startOfDay/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/startOfISOWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/startOfISOWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/startOfISOWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/startOfISOWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/startOfMonth/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/startOfMonth/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/startOfWeek/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/startOfWeek/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/startOfWeekYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/startOfWeekYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/startOfYear/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/startOfYear/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/subDays/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/subDays/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs.map +1 -0
- package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs +2 -0
- package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs.map +1 -0
- package/dist/lib/node_modules/object-assign/index.mjs +7 -0
- package/dist/lib/node_modules/object-assign/index.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/checkPropTypes.mjs +2 -0
- package/dist/lib/node_modules/prop-types/checkPropTypes.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs +2 -0
- package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs +2 -0
- package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/index.mjs +2 -0
- package/dist/lib/node_modules/prop-types/index.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +2 -0
- package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/lib/has.mjs +2 -0
- package/dist/lib/node_modules/prop-types/lib/has.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs +10 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs +10 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs.map +1 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs +2 -0
- package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs.map +1 -0
- package/dist/lib/node_modules/react-day-picker/dist/index.esm.mjs +2 -0
- package/dist/lib/node_modules/react-day-picker/dist/index.esm.mjs.map +1 -0
- package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs +21 -0
- package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs.map +1 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs +2 -0
- package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs.map +1 -0
- package/dist/lib/theme/ThemeProvider.d.ts +16 -0
- package/dist/lib/theme/ThemeProvider.js +29 -0
- package/dist/lib/theme/index.d.ts +2 -0
- package/dist/lib/theme/index.js +2 -0
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/lib/types.d.ts +85 -0
- package/dist/lib/utils/classPrefixes.d.ts +3 -0
- package/dist/lib/utils/classPrefixes.js +29 -0
- package/dist/lib/utils/useDarkMode.d.ts +1 -0
- package/dist/lib/utils/useDarkMode.js +50 -0
- package/dist/lib/utils/useWindowSize.d.ts +1 -0
- package/dist/lib/utils/useWindowSize.js +17 -0
- package/dist/tailwind.config.js +98 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +57 -10
- package/dist/lib/components/Editor/index.mjs +0 -3
- package/dist/lib/constants.mjs +0 -2
- package/dist/lib/constants.mjs.map +0 -1
- package/dist/lib/index.mjs +0 -2
- package/dist/lib/utils/utils.mjs.map +0 -1
- package/dist/post-tinymce.js +0 -29
- package/public/tinymce/CHANGELOG.md +0 -3453
- package/public/tinymce/README.md +0 -73
- package/public/tinymce/bower.json +0 -27
- package/public/tinymce/composer.json +0 -52
- package/public/tinymce/icons/default/icons.js +0 -194
- package/public/tinymce/icons/default/icons.min.js +0 -1
- package/public/tinymce/icons/default/icons.mjs +0 -2
- package/public/tinymce/icons/default/icons.mjs.map +0 -1
- package/public/tinymce/icons/default/index.d.ts +0 -1
- package/public/tinymce/icons/default/index.js +0 -7
- package/public/tinymce/icons/default/index.mjs +0 -2
- package/public/tinymce/icons/default/index.mjs.map +0 -1
- package/public/tinymce/license.txt +0 -21
- package/public/tinymce/models/dom/index.d.ts +0 -1
- package/public/tinymce/models/dom/index.js +0 -7
- package/public/tinymce/models/dom/index.mjs +0 -2
- package/public/tinymce/models/dom/index.mjs.map +0 -1
- package/public/tinymce/models/dom/model.js +0 -8040
- package/public/tinymce/models/dom/model.min.js +0 -4
- package/public/tinymce/models/dom/model.mjs +0 -2
- package/public/tinymce/models/dom/model.mjs.map +0 -1
- package/public/tinymce/package.json +0 -32
- package/public/tinymce/plugins/advlist/index.d.ts +0 -1
- package/public/tinymce/plugins/advlist/index.js +0 -7
- package/public/tinymce/plugins/advlist/index.mjs +0 -2
- package/public/tinymce/plugins/advlist/index.mjs.map +0 -1
- package/public/tinymce/plugins/advlist/plugin.js +0 -259
- package/public/tinymce/plugins/advlist/plugin.min.js +0 -4
- package/public/tinymce/plugins/advlist/plugin.mjs +0 -2
- package/public/tinymce/plugins/advlist/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/autolink/index.js +0 -7
- package/public/tinymce/plugins/autolink/plugin.js +0 -228
- package/public/tinymce/plugins/autolink/plugin.min.js +0 -4
- package/public/tinymce/plugins/code/index.d.ts +0 -1
- package/public/tinymce/plugins/code/index.js +0 -7
- package/public/tinymce/plugins/code/index.mjs +0 -2
- package/public/tinymce/plugins/code/index.mjs.map +0 -1
- package/public/tinymce/plugins/code/plugin.js +0 -85
- package/public/tinymce/plugins/code/plugin.min.js +0 -4
- package/public/tinymce/plugins/code/plugin.mjs +0 -2
- package/public/tinymce/plugins/code/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/codesample/index.d.ts +0 -1
- package/public/tinymce/plugins/codesample/index.js +0 -7
- package/public/tinymce/plugins/codesample/index.mjs +0 -2
- package/public/tinymce/plugins/codesample/index.mjs.map +0 -1
- package/public/tinymce/plugins/codesample/plugin.d.ts +0 -45
- package/public/tinymce/plugins/codesample/plugin.js +0 -2463
- package/public/tinymce/plugins/codesample/plugin.min.js +0 -4
- package/public/tinymce/plugins/codesample/plugin.mjs +0 -2
- package/public/tinymce/plugins/codesample/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/image/index.d.ts +0 -1
- package/public/tinymce/plugins/image/index.js +0 -7
- package/public/tinymce/plugins/image/index.mjs +0 -2
- package/public/tinymce/plugins/image/index.mjs.map +0 -1
- package/public/tinymce/plugins/image/plugin.js +0 -1505
- package/public/tinymce/plugins/image/plugin.min.js +0 -4
- package/public/tinymce/plugins/image/plugin.mjs +0 -2
- package/public/tinymce/plugins/image/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/link/index.d.ts +0 -1
- package/public/tinymce/plugins/link/index.js +0 -7
- package/public/tinymce/plugins/link/index.mjs +0 -2
- package/public/tinymce/plugins/link/index.mjs.map +0 -1
- package/public/tinymce/plugins/link/plugin.js +0 -1242
- package/public/tinymce/plugins/link/plugin.min.js +0 -4
- package/public/tinymce/plugins/link/plugin.mjs +0 -2
- package/public/tinymce/plugins/link/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/lists/index.d.ts +0 -1
- package/public/tinymce/plugins/lists/index.js +0 -7
- package/public/tinymce/plugins/lists/index.mjs +0 -2
- package/public/tinymce/plugins/lists/index.mjs.map +0 -1
- package/public/tinymce/plugins/lists/plugin.js +0 -2172
- package/public/tinymce/plugins/lists/plugin.min.js +0 -4
- package/public/tinymce/plugins/lists/plugin.mjs +0 -2
- package/public/tinymce/plugins/lists/plugin.mjs.map +0 -1
- package/public/tinymce/plugins/table/index.d.ts +0 -1
- package/public/tinymce/plugins/table/index.js +0 -7
- package/public/tinymce/plugins/table/index.mjs +0 -2
- package/public/tinymce/plugins/table/index.mjs.map +0 -1
- package/public/tinymce/plugins/table/plugin.js +0 -3462
- package/public/tinymce/plugins/table/plugin.min.js +0 -4
- package/public/tinymce/plugins/table/plugin.mjs +0 -2
- package/public/tinymce/plugins/table/plugin.mjs.map +0 -1
- package/public/tinymce/skins/content/default/content.css +0 -61
- package/public/tinymce/skins/content/default/content.js +0 -2
- package/public/tinymce/skins/content/default/content.min.css +0 -1
- package/public/tinymce/skins/content/default/content.mjs +0 -2
- package/public/tinymce/skins/content/default/content.mjs.map +0 -1
- package/public/tinymce/skins/ui/oxide/content.css +0 -785
- package/public/tinymce/skins/ui/oxide/content.inline.css +0 -779
- package/public/tinymce/skins/ui/oxide/content.inline.js +0 -2
- package/public/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
- package/public/tinymce/skins/ui/oxide/content.js +0 -2
- package/public/tinymce/skins/ui/oxide/content.min.css +0 -1
- package/public/tinymce/skins/ui/oxide/content.mjs +0 -2
- package/public/tinymce/skins/ui/oxide/content.mjs.map +0 -1
- package/public/tinymce/skins/ui/oxide/skin.css +0 -3763
- package/public/tinymce/skins/ui/oxide/skin.js +0 -2
- package/public/tinymce/skins/ui/oxide/skin.min.css +0 -1
- package/public/tinymce/skins/ui/oxide/skin.mjs +0 -2
- package/public/tinymce/skins/ui/oxide/skin.mjs.map +0 -1
- package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
- package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
- package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/content.css +0 -766
- package/public/tinymce/skins/ui/oxide-dark/content.inline.css +0 -779
- package/public/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/content.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
- package/public/tinymce/skins/ui/oxide-dark/skin.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
- package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
- package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
- package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
- package/public/tinymce/themes/silver/index.d.ts +0 -1
- package/public/tinymce/themes/silver/index.js +0 -7
- package/public/tinymce/themes/silver/index.mjs +0 -2
- package/public/tinymce/themes/silver/index.mjs.map +0 -1
- package/public/tinymce/themes/silver/theme.js +0 -30775
- package/public/tinymce/themes/silver/theme.min.js +0 -384
- package/public/tinymce/themes/silver/theme.mjs +0 -2
- package/public/tinymce/themes/silver/theme.mjs.map +0 -1
- package/public/tinymce/tinymce.d.ts +0 -3238
- package/public/tinymce/tinymce.js +0 -31779
- package/public/tinymce/tinymce.min.js +0 -384
- package/public/tinymce/tinymce.mjs +0 -2
- package/public/tinymce/tinymce.mjs.map +0 -1
- /package/dist/lib/{index.mjs.map → _virtual/index.mjs.map} +0 -0
- /package/dist/lib/{components/Editor → dist/lib/Typography/Header}/index.mjs.map +0 -0
- /package/dist/lib/{utils → dist/lib/utils}/utils.mjs +0 -0
- /package/dist/{post-tinymce.d.ts → lib/types.js} +0 -0
@@ -1,32 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "tinymce",
|
3
|
-
"version": "6.8.5",
|
4
|
-
"repository": {
|
5
|
-
"type": "git",
|
6
|
-
"url": "https://github.com/tinymce/tinymce.git",
|
7
|
-
"directory": "modules/tinymce"
|
8
|
-
},
|
9
|
-
"description": "Web based JavaScript HTML WYSIWYG editor control.",
|
10
|
-
"author": "Ephox Corporation DBA Tiny Technologies, Inc",
|
11
|
-
"main": "tinymce.js",
|
12
|
-
"types": "tinymce.d.ts",
|
13
|
-
"license": "MIT",
|
14
|
-
"keywords": [
|
15
|
-
"wysiwyg",
|
16
|
-
"tinymce",
|
17
|
-
"richtext",
|
18
|
-
"javascript",
|
19
|
-
"html",
|
20
|
-
"text",
|
21
|
-
"rich editor",
|
22
|
-
"rich text editor",
|
23
|
-
"rte",
|
24
|
-
"rich text",
|
25
|
-
"contenteditable",
|
26
|
-
"editing"
|
27
|
-
],
|
28
|
-
"homepage": "https://www.tiny.cloud/",
|
29
|
-
"bugs": {
|
30
|
-
"url": "https://github.com/tinymce/tinymce/issues"
|
31
|
-
}
|
32
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../../public/tinymce/plugins/advlist/index.js"],"sourcesContent":["// Exports the \"advlist\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/advlist')\n// ES2015:\n// import 'tinymce/plugins/advlist'\nrequire('./plugin.js');"],"names":["require$$0"],"mappings":"uIAMsBA"}
|
@@ -1,259 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* TinyMCE version 6.8.5 (TBD)
|
3
|
-
*/
|
4
|
-
|
5
|
-
(function () {
|
6
|
-
'use strict';
|
7
|
-
|
8
|
-
var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
9
|
-
|
10
|
-
const applyListFormat = (editor, listName, styleValue) => {
|
11
|
-
const cmd = listName === 'UL' ? 'InsertUnorderedList' : 'InsertOrderedList';
|
12
|
-
editor.execCommand(cmd, false, styleValue === false ? null : { 'list-style-type': styleValue });
|
13
|
-
};
|
14
|
-
|
15
|
-
const register$2 = editor => {
|
16
|
-
editor.addCommand('ApplyUnorderedListStyle', (ui, value) => {
|
17
|
-
applyListFormat(editor, 'UL', value['list-style-type']);
|
18
|
-
});
|
19
|
-
editor.addCommand('ApplyOrderedListStyle', (ui, value) => {
|
20
|
-
applyListFormat(editor, 'OL', value['list-style-type']);
|
21
|
-
});
|
22
|
-
};
|
23
|
-
|
24
|
-
const option = name => editor => editor.options.get(name);
|
25
|
-
const register$1 = editor => {
|
26
|
-
const registerOption = editor.options.register;
|
27
|
-
registerOption('advlist_number_styles', {
|
28
|
-
processor: 'string[]',
|
29
|
-
default: 'default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman'.split(',')
|
30
|
-
});
|
31
|
-
registerOption('advlist_bullet_styles', {
|
32
|
-
processor: 'string[]',
|
33
|
-
default: 'default,circle,square'.split(',')
|
34
|
-
});
|
35
|
-
};
|
36
|
-
const getNumberStyles = option('advlist_number_styles');
|
37
|
-
const getBulletStyles = option('advlist_bullet_styles');
|
38
|
-
|
39
|
-
const isNullable = a => a === null || a === undefined;
|
40
|
-
const isNonNullable = a => !isNullable(a);
|
41
|
-
|
42
|
-
var global = tinymce.util.Tools.resolve('tinymce.util.Tools');
|
43
|
-
|
44
|
-
class Optional {
|
45
|
-
constructor(tag, value) {
|
46
|
-
this.tag = tag;
|
47
|
-
this.value = value;
|
48
|
-
}
|
49
|
-
static some(value) {
|
50
|
-
return new Optional(true, value);
|
51
|
-
}
|
52
|
-
static none() {
|
53
|
-
return Optional.singletonNone;
|
54
|
-
}
|
55
|
-
fold(onNone, onSome) {
|
56
|
-
if (this.tag) {
|
57
|
-
return onSome(this.value);
|
58
|
-
} else {
|
59
|
-
return onNone();
|
60
|
-
}
|
61
|
-
}
|
62
|
-
isSome() {
|
63
|
-
return this.tag;
|
64
|
-
}
|
65
|
-
isNone() {
|
66
|
-
return !this.tag;
|
67
|
-
}
|
68
|
-
map(mapper) {
|
69
|
-
if (this.tag) {
|
70
|
-
return Optional.some(mapper(this.value));
|
71
|
-
} else {
|
72
|
-
return Optional.none();
|
73
|
-
}
|
74
|
-
}
|
75
|
-
bind(binder) {
|
76
|
-
if (this.tag) {
|
77
|
-
return binder(this.value);
|
78
|
-
} else {
|
79
|
-
return Optional.none();
|
80
|
-
}
|
81
|
-
}
|
82
|
-
exists(predicate) {
|
83
|
-
return this.tag && predicate(this.value);
|
84
|
-
}
|
85
|
-
forall(predicate) {
|
86
|
-
return !this.tag || predicate(this.value);
|
87
|
-
}
|
88
|
-
filter(predicate) {
|
89
|
-
if (!this.tag || predicate(this.value)) {
|
90
|
-
return this;
|
91
|
-
} else {
|
92
|
-
return Optional.none();
|
93
|
-
}
|
94
|
-
}
|
95
|
-
getOr(replacement) {
|
96
|
-
return this.tag ? this.value : replacement;
|
97
|
-
}
|
98
|
-
or(replacement) {
|
99
|
-
return this.tag ? this : replacement;
|
100
|
-
}
|
101
|
-
getOrThunk(thunk) {
|
102
|
-
return this.tag ? this.value : thunk();
|
103
|
-
}
|
104
|
-
orThunk(thunk) {
|
105
|
-
return this.tag ? this : thunk();
|
106
|
-
}
|
107
|
-
getOrDie(message) {
|
108
|
-
if (!this.tag) {
|
109
|
-
throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');
|
110
|
-
} else {
|
111
|
-
return this.value;
|
112
|
-
}
|
113
|
-
}
|
114
|
-
static from(value) {
|
115
|
-
return isNonNullable(value) ? Optional.some(value) : Optional.none();
|
116
|
-
}
|
117
|
-
getOrNull() {
|
118
|
-
return this.tag ? this.value : null;
|
119
|
-
}
|
120
|
-
getOrUndefined() {
|
121
|
-
return this.value;
|
122
|
-
}
|
123
|
-
each(worker) {
|
124
|
-
if (this.tag) {
|
125
|
-
worker(this.value);
|
126
|
-
}
|
127
|
-
}
|
128
|
-
toArray() {
|
129
|
-
return this.tag ? [this.value] : [];
|
130
|
-
}
|
131
|
-
toString() {
|
132
|
-
return this.tag ? `some(${ this.value })` : 'none()';
|
133
|
-
}
|
134
|
-
}
|
135
|
-
Optional.singletonNone = new Optional(false);
|
136
|
-
|
137
|
-
const findUntil = (xs, pred, until) => {
|
138
|
-
for (let i = 0, len = xs.length; i < len; i++) {
|
139
|
-
const x = xs[i];
|
140
|
-
if (pred(x, i)) {
|
141
|
-
return Optional.some(x);
|
142
|
-
} else if (until(x, i)) {
|
143
|
-
break;
|
144
|
-
}
|
145
|
-
}
|
146
|
-
return Optional.none();
|
147
|
-
};
|
148
|
-
|
149
|
-
const isCustomList = list => /\btox\-/.test(list.className);
|
150
|
-
const isChildOfBody = (editor, elm) => {
|
151
|
-
return editor.dom.isChildOf(elm, editor.getBody());
|
152
|
-
};
|
153
|
-
const matchNodeNames = regex => node => isNonNullable(node) && regex.test(node.nodeName);
|
154
|
-
const isListNode = matchNodeNames(/^(OL|UL|DL)$/);
|
155
|
-
const isTableCellNode = matchNodeNames(/^(TH|TD)$/);
|
156
|
-
const inList = (editor, parents, nodeName) => findUntil(parents, parent => isListNode(parent) && !isCustomList(parent), isTableCellNode).exists(list => list.nodeName === nodeName && isChildOfBody(editor, list));
|
157
|
-
const getSelectedStyleType = editor => {
|
158
|
-
const listElm = editor.dom.getParent(editor.selection.getNode(), 'ol,ul');
|
159
|
-
const style = editor.dom.getStyle(listElm, 'listStyleType');
|
160
|
-
return Optional.from(style);
|
161
|
-
};
|
162
|
-
const isWithinNonEditable = (editor, element) => element !== null && !editor.dom.isEditable(element);
|
163
|
-
const isWithinNonEditableList = (editor, element) => {
|
164
|
-
const parentList = editor.dom.getParent(element, 'ol,ul,dl');
|
165
|
-
return isWithinNonEditable(editor, parentList) && editor.selection.isEditable();
|
166
|
-
};
|
167
|
-
const setNodeChangeHandler = (editor, nodeChangeHandler) => {
|
168
|
-
const initialNode = editor.selection.getNode();
|
169
|
-
nodeChangeHandler({
|
170
|
-
parents: editor.dom.getParents(initialNode),
|
171
|
-
element: initialNode
|
172
|
-
});
|
173
|
-
editor.on('NodeChange', nodeChangeHandler);
|
174
|
-
return () => editor.off('NodeChange', nodeChangeHandler);
|
175
|
-
};
|
176
|
-
|
177
|
-
const styleValueToText = styleValue => {
|
178
|
-
return styleValue.replace(/\-/g, ' ').replace(/\b\w/g, chr => {
|
179
|
-
return chr.toUpperCase();
|
180
|
-
});
|
181
|
-
};
|
182
|
-
const normalizeStyleValue = styleValue => isNullable(styleValue) || styleValue === 'default' ? '' : styleValue;
|
183
|
-
const makeSetupHandler = (editor, nodeName) => api => {
|
184
|
-
const updateButtonState = (editor, parents) => {
|
185
|
-
const element = editor.selection.getStart(true);
|
186
|
-
api.setActive(inList(editor, parents, nodeName));
|
187
|
-
api.setEnabled(!isWithinNonEditableList(editor, element) && editor.selection.isEditable());
|
188
|
-
};
|
189
|
-
const nodeChangeHandler = e => updateButtonState(editor, e.parents);
|
190
|
-
return setNodeChangeHandler(editor, nodeChangeHandler);
|
191
|
-
};
|
192
|
-
const addSplitButton = (editor, id, tooltip, cmd, nodeName, styles) => {
|
193
|
-
editor.ui.registry.addSplitButton(id, {
|
194
|
-
tooltip,
|
195
|
-
icon: nodeName === 'OL' ? 'ordered-list' : 'unordered-list',
|
196
|
-
presets: 'listpreview',
|
197
|
-
columns: 3,
|
198
|
-
fetch: callback => {
|
199
|
-
const items = global.map(styles, styleValue => {
|
200
|
-
const iconStyle = nodeName === 'OL' ? 'num' : 'bull';
|
201
|
-
const iconName = styleValue === 'disc' || styleValue === 'decimal' ? 'default' : styleValue;
|
202
|
-
const itemValue = normalizeStyleValue(styleValue);
|
203
|
-
const displayText = styleValueToText(styleValue);
|
204
|
-
return {
|
205
|
-
type: 'choiceitem',
|
206
|
-
value: itemValue,
|
207
|
-
icon: 'list-' + iconStyle + '-' + iconName,
|
208
|
-
text: displayText
|
209
|
-
};
|
210
|
-
});
|
211
|
-
callback(items);
|
212
|
-
},
|
213
|
-
onAction: () => editor.execCommand(cmd),
|
214
|
-
onItemAction: (_splitButtonApi, value) => {
|
215
|
-
applyListFormat(editor, nodeName, value);
|
216
|
-
},
|
217
|
-
select: value => {
|
218
|
-
const listStyleType = getSelectedStyleType(editor);
|
219
|
-
return listStyleType.map(listStyle => value === listStyle).getOr(false);
|
220
|
-
},
|
221
|
-
onSetup: makeSetupHandler(editor, nodeName)
|
222
|
-
});
|
223
|
-
};
|
224
|
-
const addButton = (editor, id, tooltip, cmd, nodeName, styleValue) => {
|
225
|
-
editor.ui.registry.addToggleButton(id, {
|
226
|
-
active: false,
|
227
|
-
tooltip,
|
228
|
-
icon: nodeName === 'OL' ? 'ordered-list' : 'unordered-list',
|
229
|
-
onSetup: makeSetupHandler(editor, nodeName),
|
230
|
-
onAction: () => editor.queryCommandState(cmd) || styleValue === '' ? editor.execCommand(cmd) : applyListFormat(editor, nodeName, styleValue)
|
231
|
-
});
|
232
|
-
};
|
233
|
-
const addControl = (editor, id, tooltip, cmd, nodeName, styles) => {
|
234
|
-
if (styles.length > 1) {
|
235
|
-
addSplitButton(editor, id, tooltip, cmd, nodeName, styles);
|
236
|
-
} else {
|
237
|
-
addButton(editor, id, tooltip, cmd, nodeName, normalizeStyleValue(styles[0]));
|
238
|
-
}
|
239
|
-
};
|
240
|
-
const register = editor => {
|
241
|
-
addControl(editor, 'numlist', 'Numbered list', 'InsertOrderedList', 'OL', getNumberStyles(editor));
|
242
|
-
addControl(editor, 'bullist', 'Bullet list', 'InsertUnorderedList', 'UL', getBulletStyles(editor));
|
243
|
-
};
|
244
|
-
|
245
|
-
var Plugin = () => {
|
246
|
-
global$1.add('advlist', editor => {
|
247
|
-
if (editor.hasPlugin('lists')) {
|
248
|
-
register$1(editor);
|
249
|
-
register(editor);
|
250
|
-
register$2(editor);
|
251
|
-
} else {
|
252
|
-
console.error('Please use the Lists plugin together with the Advanced List plugin.');
|
253
|
-
}
|
254
|
-
});
|
255
|
-
};
|
256
|
-
|
257
|
-
Plugin();
|
258
|
-
|
259
|
-
})();
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* TinyMCE version 6.8.5 (TBD)
|
3
|
-
*/
|
4
|
-
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=(t,e,s)=>{const r="UL"===e?"InsertUnorderedList":"InsertOrderedList";t.execCommand(r,!1,!1===s?null:{"list-style-type":s})},s=t=>e=>e.options.get(t),r=s("advlist_number_styles"),n=s("advlist_bullet_styles"),i=t=>null==t,l=t=>!i(t);var o=tinymce.util.Tools.resolve("tinymce.util.Tools");class a{constructor(t,e){this.tag=t,this.value=e}static some(t){return new a(!0,t)}static none(){return a.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?a.some(t(this.value)):a.none()}bind(t){return this.tag?t(this.value):a.none()}exists(t){return this.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:a.none()}getOr(t){return this.tag?this.value:t}or(t){return this.tag?this:t}getOrThunk(t){return this.tag?this.value:t()}orThunk(t){return this.tag?this:t()}getOrDie(t){if(this.tag)return this.value;throw new Error(null!=t?t:"Called getOrDie on None")}static from(t){return l(t)?a.some(t):a.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(t){this.tag&&t(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}a.singletonNone=new a(!1);const u=t=>e=>l(e)&&t.test(e.nodeName),d=u(/^(OL|UL|DL)$/),g=u(/^(TH|TD)$/),c=t=>i(t)||"default"===t?"":t,h=(t,e)=>s=>((t,e)=>{const s=t.selection.getNode();return e({parents:t.dom.getParents(s),element:s}),t.on("NodeChange",e),()=>t.off("NodeChange",e)})(t,(r=>((t,r)=>{const n=t.selection.getStart(!0);s.setActive(((t,e,s)=>((t,e,s)=>{for(let e=0,n=t.length;e<n;e++){const n=t[e];if(d(r=n)&&!/\btox\-/.test(r.className))return a.some(n);if(s(n,e))break}var r;return a.none()})(e,0,g).exists((e=>e.nodeName===s&&((t,e)=>t.dom.isChildOf(e,t.getBody()))(t,e))))(t,r,e)),s.setEnabled(!((t,e)=>{const s=t.dom.getParent(e,"ol,ul,dl");return((t,e)=>null!==e&&!t.dom.isEditable(e))(t,s)&&t.selection.isEditable()})(t,n)&&t.selection.isEditable())})(t,r.parents))),m=(t,s,r,n,i,l)=>{l.length>1?((t,s,r,n,i,l)=>{t.ui.registry.addSplitButton(s,{tooltip:r,icon:"OL"===i?"ordered-list":"unordered-list",presets:"listpreview",columns:3,fetch:t=>{t(o.map(l,(t=>{const e="OL"===i?"num":"bull",s="disc"===t||"decimal"===t?"default":t,r=c(t),n=(t=>t.replace(/\-/g," ").replace(/\b\w/g,(t=>t.toUpperCase())))(t);return{type:"choiceitem",value:r,icon:"list-"+e+"-"+s,text:n}})))},onAction:()=>t.execCommand(n),onItemAction:(s,r)=>{e(t,i,r)},select:e=>{const s=(t=>{const e=t.dom.getParent(t.selection.getNode(),"ol,ul"),s=t.dom.getStyle(e,"listStyleType");return a.from(s)})(t);return s.map((t=>e===t)).getOr(!1)},onSetup:h(t,i)})})(t,s,r,n,i,l):((t,s,r,n,i,l)=>{t.ui.registry.addToggleButton(s,{active:!1,tooltip:r,icon:"OL"===i?"ordered-list":"unordered-list",onSetup:h(t,i),onAction:()=>t.queryCommandState(n)||""===l?t.execCommand(n):e(t,i,l)})})(t,s,r,n,i,c(l[0]))};t.add("advlist",(t=>{t.hasPlugin("lists")?((t=>{const e=t.options.register;e("advlist_number_styles",{processor:"string[]",default:"default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman".split(",")}),e("advlist_bullet_styles",{processor:"string[]",default:"default,circle,square".split(",")})})(t),(t=>{m(t,"numlist","Numbered list","InsertOrderedList","OL",r(t)),m(t,"bullist","Bullet list","InsertUnorderedList","UL",n(t))})(t),(t=>{t.addCommand("ApplyUnorderedListStyle",((s,r)=>{e(t,"UL",r["list-style-type"])})),t.addCommand("ApplyOrderedListStyle",((s,r)=>{e(t,"OL",r["list-style-type"])}))})(t)):console.error("Please use the Lists plugin together with the Advanced List plugin.")}))}();
|
@@ -1,2 +0,0 @@
|
|
1
|
-
import{__exports as t}from"../../../../_virtual/plugin.mjs";var e;function s(){return e||(e=1,function(){var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=(t,e,s)=>{const r="UL"===e?"InsertUnorderedList":"InsertOrderedList";t.execCommand(r,!1,!1===s?null:{"list-style-type":s})},s=t=>e=>e.options.get(t),r=s("advlist_number_styles"),n=s("advlist_bullet_styles"),i=t=>null==t,l=t=>!i(t);var o=tinymce.util.Tools.resolve("tinymce.util.Tools");class a{constructor(t,e){this.tag=t,this.value=e}static some(t){return new a(!0,t)}static none(){return a.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?a.some(t(this.value)):a.none()}bind(t){return this.tag?t(this.value):a.none()}exists(t){return this.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:a.none()}getOr(t){return this.tag?this.value:t}or(t){return this.tag?this:t}getOrThunk(t){return this.tag?this.value:t()}orThunk(t){return this.tag?this:t()}getOrDie(t){if(this.tag)return this.value;throw new Error(null!=t?t:"Called getOrDie on None")}static from(t){return l(t)?a.some(t):a.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(t){this.tag&&t(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}a.singletonNone=new a(!1);const u=t=>e=>l(e)&&t.test(e.nodeName),d=u(/^(OL|UL|DL)$/),g=u(/^(TH|TD)$/),c=(t,e,s)=>((t,e,s)=>{for(let r=0,n=t.length;r<n;r++){const n=t[r];if(e(n,r))return a.some(n);if(s(n,r))break}return a.none()})(e,(t=>d(t)&&!/\btox\-/.test(t.className)),g).exists((e=>e.nodeName===s&&((t,e)=>t.dom.isChildOf(e,t.getBody()))(t,e))),h=t=>i(t)||"default"===t?"":t,m=(t,e)=>s=>((t,e)=>{const s=t.selection.getNode();return e({parents:t.dom.getParents(s),element:s}),t.on("NodeChange",e),()=>t.off("NodeChange",e)})(t,(r=>((t,r)=>{const n=t.selection.getStart(!0);s.setActive(c(t,r,e)),s.setEnabled(!((t,e)=>{const s=t.dom.getParent(e,"ol,ul,dl");return((t,e)=>null!==e&&!t.dom.isEditable(e))(t,s)&&t.selection.isEditable()})(t,n)&&t.selection.isEditable())})(t,r.parents))),p=(t,s,r,n,i,l)=>{t.ui.registry.addSplitButton(s,{tooltip:r,icon:"OL"===i?"ordered-list":"unordered-list",presets:"listpreview",columns:3,fetch:t=>{t(o.map(l,(t=>{const e="OL"===i?"num":"bull",s="disc"===t||"decimal"===t?"default":t,r=h(t),n=(t=>t.replace(/\-/g," ").replace(/\b\w/g,(t=>t.toUpperCase())))(t);return{type:"choiceitem",value:r,icon:"list-"+e+"-"+s,text:n}})))},onAction:()=>t.execCommand(n),onItemAction:(s,r)=>{e(t,i,r)},select:e=>{const s=(t=>{const e=t.dom.getParent(t.selection.getNode(),"ol,ul"),s=t.dom.getStyle(e,"listStyleType");return a.from(s)})(t);return s.map((t=>e===t)).getOr(!1)},onSetup:m(t,i)})},v=(t,s,r,n,i,l)=>{l.length>1?p(t,s,r,n,i,l):((t,s,r,n,i,l)=>{t.ui.registry.addToggleButton(s,{active:!1,tooltip:r,icon:"OL"===i?"ordered-list":"unordered-list",onSetup:m(t,i),onAction:()=>t.queryCommandState(n)||""===l?t.execCommand(n):e(t,i,l)})})(t,s,r,n,i,h(l[0]))};t.add("advlist",(t=>{t.hasPlugin("lists")?((t=>{const e=t.options.register;e("advlist_number_styles",{processor:"string[]",default:"default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman".split(",")}),e("advlist_bullet_styles",{processor:"string[]",default:"default,circle,square".split(",")})})(t),(t=>{v(t,"numlist","Numbered list","InsertOrderedList","OL",r(t)),v(t,"bullist","Bullet list","InsertUnorderedList","UL",n(t))})(t),(t=>{t.addCommand("ApplyUnorderedListStyle",((s,r)=>{e(t,"UL",r["list-style-type"])})),t.addCommand("ApplyOrderedListStyle",((s,r)=>{e(t,"OL",r["list-style-type"])}))})(t)):console.error("Please use the Lists plugin together with the Advanced List plugin.")}))}()),t}export{s as __require};
|
2
|
-
//# sourceMappingURL=plugin.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"plugin.mjs","sources":["../../../../../../public/tinymce/plugins/advlist/plugin.js"],"sourcesContent":["/**\n * TinyMCE version 6.8.5 (TBD)\n */\n\n(function () {\n 'use strict';\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n const applyListFormat = (editor, listName, styleValue) => {\n const cmd = listName === 'UL' ? 'InsertUnorderedList' : 'InsertOrderedList';\n editor.execCommand(cmd, false, styleValue === false ? null : { 'list-style-type': styleValue });\n };\n\n const register$2 = editor => {\n editor.addCommand('ApplyUnorderedListStyle', (ui, value) => {\n applyListFormat(editor, 'UL', value['list-style-type']);\n });\n editor.addCommand('ApplyOrderedListStyle', (ui, value) => {\n applyListFormat(editor, 'OL', value['list-style-type']);\n });\n };\n\n const option = name => editor => editor.options.get(name);\n const register$1 = editor => {\n const registerOption = editor.options.register;\n registerOption('advlist_number_styles', {\n processor: 'string[]',\n default: 'default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman'.split(',')\n });\n registerOption('advlist_bullet_styles', {\n processor: 'string[]',\n default: 'default,circle,square'.split(',')\n });\n };\n const getNumberStyles = option('advlist_number_styles');\n const getBulletStyles = option('advlist_bullet_styles');\n\n const isNullable = a => a === null || a === undefined;\n const isNonNullable = a => !isNullable(a);\n\n var global = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n class Optional {\n constructor(tag, value) {\n this.tag = tag;\n this.value = value;\n }\n static some(value) {\n return new Optional(true, value);\n }\n static none() {\n return Optional.singletonNone;\n }\n fold(onNone, onSome) {\n if (this.tag) {\n return onSome(this.value);\n } else {\n return onNone();\n }\n }\n isSome() {\n return this.tag;\n }\n isNone() {\n return !this.tag;\n }\n map(mapper) {\n if (this.tag) {\n return Optional.some(mapper(this.value));\n } else {\n return Optional.none();\n }\n }\n bind(binder) {\n if (this.tag) {\n return binder(this.value);\n } else {\n return Optional.none();\n }\n }\n exists(predicate) {\n return this.tag && predicate(this.value);\n }\n forall(predicate) {\n return !this.tag || predicate(this.value);\n }\n filter(predicate) {\n if (!this.tag || predicate(this.value)) {\n return this;\n } else {\n return Optional.none();\n }\n }\n getOr(replacement) {\n return this.tag ? this.value : replacement;\n }\n or(replacement) {\n return this.tag ? this : replacement;\n }\n getOrThunk(thunk) {\n return this.tag ? this.value : thunk();\n }\n orThunk(thunk) {\n return this.tag ? this : thunk();\n }\n getOrDie(message) {\n if (!this.tag) {\n throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');\n } else {\n return this.value;\n }\n }\n static from(value) {\n return isNonNullable(value) ? Optional.some(value) : Optional.none();\n }\n getOrNull() {\n return this.tag ? this.value : null;\n }\n getOrUndefined() {\n return this.value;\n }\n each(worker) {\n if (this.tag) {\n worker(this.value);\n }\n }\n toArray() {\n return this.tag ? [this.value] : [];\n }\n toString() {\n return this.tag ? `some(${ this.value })` : 'none()';\n }\n }\n Optional.singletonNone = new Optional(false);\n\n const findUntil = (xs, pred, until) => {\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n if (pred(x, i)) {\n return Optional.some(x);\n } else if (until(x, i)) {\n break;\n }\n }\n return Optional.none();\n };\n\n const isCustomList = list => /\\btox\\-/.test(list.className);\n const isChildOfBody = (editor, elm) => {\n return editor.dom.isChildOf(elm, editor.getBody());\n };\n const matchNodeNames = regex => node => isNonNullable(node) && regex.test(node.nodeName);\n const isListNode = matchNodeNames(/^(OL|UL|DL)$/);\n const isTableCellNode = matchNodeNames(/^(TH|TD)$/);\n const inList = (editor, parents, nodeName) => findUntil(parents, parent => isListNode(parent) && !isCustomList(parent), isTableCellNode).exists(list => list.nodeName === nodeName && isChildOfBody(editor, list));\n const getSelectedStyleType = editor => {\n const listElm = editor.dom.getParent(editor.selection.getNode(), 'ol,ul');\n const style = editor.dom.getStyle(listElm, 'listStyleType');\n return Optional.from(style);\n };\n const isWithinNonEditable = (editor, element) => element !== null && !editor.dom.isEditable(element);\n const isWithinNonEditableList = (editor, element) => {\n const parentList = editor.dom.getParent(element, 'ol,ul,dl');\n return isWithinNonEditable(editor, parentList) && editor.selection.isEditable();\n };\n const setNodeChangeHandler = (editor, nodeChangeHandler) => {\n const initialNode = editor.selection.getNode();\n nodeChangeHandler({\n parents: editor.dom.getParents(initialNode),\n element: initialNode\n });\n editor.on('NodeChange', nodeChangeHandler);\n return () => editor.off('NodeChange', nodeChangeHandler);\n };\n\n const styleValueToText = styleValue => {\n return styleValue.replace(/\\-/g, ' ').replace(/\\b\\w/g, chr => {\n return chr.toUpperCase();\n });\n };\n const normalizeStyleValue = styleValue => isNullable(styleValue) || styleValue === 'default' ? '' : styleValue;\n const makeSetupHandler = (editor, nodeName) => api => {\n const updateButtonState = (editor, parents) => {\n const element = editor.selection.getStart(true);\n api.setActive(inList(editor, parents, nodeName));\n api.setEnabled(!isWithinNonEditableList(editor, element) && editor.selection.isEditable());\n };\n const nodeChangeHandler = e => updateButtonState(editor, e.parents);\n return setNodeChangeHandler(editor, nodeChangeHandler);\n };\n const addSplitButton = (editor, id, tooltip, cmd, nodeName, styles) => {\n editor.ui.registry.addSplitButton(id, {\n tooltip,\n icon: nodeName === 'OL' ? 'ordered-list' : 'unordered-list',\n presets: 'listpreview',\n columns: 3,\n fetch: callback => {\n const items = global.map(styles, styleValue => {\n const iconStyle = nodeName === 'OL' ? 'num' : 'bull';\n const iconName = styleValue === 'disc' || styleValue === 'decimal' ? 'default' : styleValue;\n const itemValue = normalizeStyleValue(styleValue);\n const displayText = styleValueToText(styleValue);\n return {\n type: 'choiceitem',\n value: itemValue,\n icon: 'list-' + iconStyle + '-' + iconName,\n text: displayText\n };\n });\n callback(items);\n },\n onAction: () => editor.execCommand(cmd),\n onItemAction: (_splitButtonApi, value) => {\n applyListFormat(editor, nodeName, value);\n },\n select: value => {\n const listStyleType = getSelectedStyleType(editor);\n return listStyleType.map(listStyle => value === listStyle).getOr(false);\n },\n onSetup: makeSetupHandler(editor, nodeName)\n });\n };\n const addButton = (editor, id, tooltip, cmd, nodeName, styleValue) => {\n editor.ui.registry.addToggleButton(id, {\n active: false,\n tooltip,\n icon: nodeName === 'OL' ? 'ordered-list' : 'unordered-list',\n onSetup: makeSetupHandler(editor, nodeName),\n onAction: () => editor.queryCommandState(cmd) || styleValue === '' ? editor.execCommand(cmd) : applyListFormat(editor, nodeName, styleValue)\n });\n };\n const addControl = (editor, id, tooltip, cmd, nodeName, styles) => {\n if (styles.length > 1) {\n addSplitButton(editor, id, tooltip, cmd, nodeName, styles);\n } else {\n addButton(editor, id, tooltip, cmd, nodeName, normalizeStyleValue(styles[0]));\n }\n };\n const register = editor => {\n addControl(editor, 'numlist', 'Numbered list', 'InsertOrderedList', 'OL', getNumberStyles(editor));\n addControl(editor, 'bullist', 'Bullet list', 'InsertUnorderedList', 'UL', getBulletStyles(editor));\n };\n\n var Plugin = () => {\n global$1.add('advlist', editor => {\n if (editor.hasPlugin('lists')) {\n register$1(editor);\n register(editor);\n register$2(editor);\n } else {\n console.error('Please use the Lists plugin together with the Advanced List plugin.');\n }\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global$1","tinymce","util","Tools","resolve","applyListFormat","editor","listName","styleValue","cmd","execCommand","option","name","options","get","getNumberStyles","getBulletStyles","isNullable","a","isNonNullable","global","Optional","constructor","tag","value","this","some","none","singletonNone","fold","onNone","onSome","isSome","isNone","map","mapper","bind","binder","exists","predicate","forall","filter","getOr","replacement","or","getOrThunk","thunk","orThunk","getOrDie","message","Error","from","getOrNull","getOrUndefined","each","worker","toArray","toString","matchNodeNames","regex","node","test","nodeName","isListNode","isTableCellNode","inList","parents","xs","pred","until","i","len","length","x","findUntil","parent","className","list","elm","dom","isChildOf","getBody","isChildOfBody","normalizeStyleValue","makeSetupHandler","api","nodeChangeHandler","initialNode","selection","getNode","getParents","element","on","off","setNodeChangeHandler","e","getStart","setActive","setEnabled","parentList","getParent","isEditable","isWithinNonEditable","isWithinNonEditableList","updateButtonState","addSplitButton","id","tooltip","styles","ui","registry","icon","presets","columns","fetch","callback","iconStyle","iconName","itemValue","displayText","replace","chr","toUpperCase","styleValueToText","type","text","onAction","onItemAction","_splitButtonApi","select","listStyleType","listElm","style","getStyle","getSelectedStyleType","listStyle","onSetup","addControl","addToggleButton","active","queryCommandState","addButton","add","hasPlugin","registerOption","register","processor","default","split","register$1","addCommand","register$2","console","error"],"mappings":"8FAIA,WAGI,IAAIA,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAE1C,MAAMC,EAAkB,CAACC,EAAQC,EAAUC,KACzC,MAAMC,EAAmB,OAAbF,EAAoB,sBAAwB,oBACxDD,EAAOI,YAAYD,GAAK,GAAsB,IAAfD,EAAuB,KAAO,CAAE,kBAAmBA,GAAa,EAY3FG,EAASC,GAAQN,GAAUA,EAAOO,QAAQC,IAAIF,GAY9CG,EAAkBJ,EAAO,yBACzBK,EAAkBL,EAAO,yBAEzBM,EAAaC,GAAKA,QAClBC,EAAgBD,IAAMD,EAAWC,GAEvC,IAAIE,EAASnB,QAAQC,KAAKC,MAAMC,QAAQ,sBAExC,MAAMiB,EACJ,WAAAC,CAAYC,EAAKC,GACfC,KAAKF,IAAMA,EACXE,KAAKD,MAAQA,CACrB,CACM,WAAOE,CAAKF,GACV,OAAO,IAAIH,GAAS,EAAMG,EAClC,CACM,WAAOG,GACL,OAAON,EAASO,aACxB,CACM,IAAAC,CAAKC,EAAQC,GACX,OAAIN,KAAKF,IACAQ,EAAON,KAAKD,OAEZM,GAEjB,CACM,MAAAE,GACE,OAAOP,KAAKF,GACpB,CACM,MAAAU,GACE,OAAQR,KAAKF,GACrB,CACM,GAAAW,CAAIC,GACF,OAAIV,KAAKF,IACAF,EAASK,KAAKS,EAAOV,KAAKD,QAE1BH,EAASM,MAE1B,CACM,IAAAS,CAAKC,GACH,OAAIZ,KAAKF,IACAc,EAAOZ,KAAKD,OAEZH,EAASM,MAE1B,CACM,MAAAW,CAAOC,GACL,OAAOd,KAAKF,KAAOgB,EAAUd,KAAKD,MAC1C,CACM,MAAAgB,CAAOD,GACL,OAAQd,KAAKF,KAAOgB,EAAUd,KAAKD,MAC3C,CACM,MAAAiB,CAAOF,GACL,OAAKd,KAAKF,KAAOgB,EAAUd,KAAKD,OACvBC,KAEAJ,EAASM,MAE1B,CACM,KAAAe,CAAMC,GACJ,OAAOlB,KAAKF,IAAME,KAAKD,MAAQmB,CACvC,CACM,EAAAC,CAAGD,GACD,OAAOlB,KAAKF,IAAME,KAAOkB,CACjC,CACM,UAAAE,CAAWC,GACT,OAAOrB,KAAKF,IAAME,KAAKD,MAAQsB,GACvC,CACM,OAAAC,CAAQD,GACN,OAAOrB,KAAKF,IAAME,KAAOqB,GACjC,CACM,QAAAE,CAASC,GACP,GAAKxB,KAAKF,IAGR,OAAOE,KAAKD,MAFZ,MAAM,IAAI0B,MAAMD,QAAyCA,EAAU,0BAI7E,CACM,WAAOE,CAAK3B,GACV,OAAOL,EAAcK,GAASH,EAASK,KAAKF,GAASH,EAASM,MACtE,CACM,SAAAyB,GACE,OAAO3B,KAAKF,IAAME,KAAKD,MAAQ,IACvC,CACM,cAAA6B,GACE,OAAO5B,KAAKD,KACpB,CACM,IAAA8B,CAAKC,GACC9B,KAAKF,KACPgC,EAAO9B,KAAKD,MAEtB,CACM,OAAAgC,GACE,OAAO/B,KAAKF,IAAM,CAACE,KAAKD,OAAS,EACzC,CACM,QAAAiC,GACE,OAAOhC,KAAKF,IAAM,QAASE,KAAKD,SAAY,QACpD,EAEIH,EAASO,cAAgB,IAAIP,GAAS,GAEtC,MAgBMqC,EAAiBC,GAASC,GAAQzC,EAAcyC,IAASD,EAAME,KAAKD,EAAKE,UACzEC,EAAaL,EAAe,gBAC5BM,EAAkBN,EAAe,aACjCO,EAAS,CAAC3D,EAAQ4D,EAASJ,IAnBf,EAACK,EAAIC,EAAMC,KAC3B,IAAK,IAAIC,EAAI,EAAGC,EAAMJ,EAAGK,OAAQF,EAAIC,EAAKD,IAAK,CAC7C,MAAMG,EAAIN,EAAGG,GACb,GAAIF,EAAKK,EAAGH,GACV,OAAOjD,EAASK,KAAK+C,GAChB,GAAIJ,EAAMI,EAAGH,GAClB,KAEV,CACM,OAAOjD,EAASM,MAAM,EAUsB+C,CAAUR,GAASS,GAAUZ,EAAWY,KAPzD,UAAUd,KAOwEc,EAP9DC,YAOuEZ,GAAiB1B,QAAOuC,GAAQA,EAAKf,WAAaA,GANpJ,EAACxD,EAAQwE,IACtBxE,EAAOyE,IAAIC,UAAUF,EAAKxE,EAAO2E,WAK4IC,CAAc5E,EAAQuE,KA0BtMM,EAAsB3E,GAAcS,EAAWT,IAA8B,YAAfA,EAA2B,GAAKA,EAC9F4E,EAAmB,CAAC9E,EAAQwD,IAAauB,GAhBlB,EAAC/E,EAAQgF,KACpC,MAAMC,EAAcjF,EAAOkF,UAAUC,UAMrC,OALAH,EAAkB,CAChBpB,QAAS5D,EAAOyE,IAAIW,WAAWH,GAC/BI,QAASJ,IAEXjF,EAAOsF,GAAG,aAAcN,GACjB,IAAMhF,EAAOuF,IAAI,aAAcP,EAAkB,EAgBjDQ,CAAqBxF,GADFyF,GALA,EAACzF,EAAQ4D,KACjC,MAAMyB,EAAUrF,EAAOkF,UAAUQ,UAAS,GAC1CX,EAAIY,UAAUhC,EAAO3D,EAAQ4D,EAASJ,IACtCuB,EAAIa,YAxBwB,EAAC5F,EAAQqF,KACvC,MAAMQ,EAAa7F,EAAOyE,IAAIqB,UAAUT,EAAS,YACjD,MAH0B,EAACrF,EAAQqF,IAAwB,OAAZA,IAAqBrF,EAAOyE,IAAIsB,WAAWV,GAGnFW,CAAoBhG,EAAQ6F,IAAe7F,EAAOkF,UAAUa,YAAY,EAsB7DE,CAAwBjG,EAAQqF,IAAYrF,EAAOkF,UAAUa,aAAa,EAE7DG,CAAkBlG,EAAQyF,EAAE7B,WAGvDuC,EAAiB,CAACnG,EAAQoG,EAAIC,EAASlG,EAAKqD,EAAU8C,KAC1DtG,EAAOuG,GAAGC,SAASL,eAAeC,EAAI,CACpCC,UACAI,KAAmB,OAAbjD,EAAoB,eAAiB,iBAC3CkD,QAAS,cACTC,QAAS,EACTC,MAAOC,IAaLA,EAZc/F,EAAOc,IAAI0E,GAAQpG,IAC/B,MAAM4G,EAAyB,OAAbtD,EAAoB,MAAQ,OACxCuD,EAA0B,SAAf7G,GAAwC,YAAfA,EAA2B,UAAYA,EAC3E8G,EAAYnC,EAAoB3E,GAChC+G,EA1BW/G,IAChBA,EAAWgH,QAAQ,MAAO,KAAKA,QAAQ,SAASC,GAC9CA,EAAIC,gBAwBaC,CAAiBnH,GACrC,MAAO,CACLoH,KAAM,aACNpG,MAAO8F,EACPP,KAAM,QAAUK,EAAY,IAAMC,EAClCQ,KAAMN,EACP,IAEY,EAEjBO,SAAU,IAAMxH,EAAOI,YAAYD,GACnCsH,aAAc,CAACC,EAAiBxG,KAC9BnB,EAAgBC,EAAQwD,EAAUtC,EAAM,EAE1CyG,OAAQzG,IACN,MAAM0G,EA7DiB5H,KAC3B,MAAM6H,EAAU7H,EAAOyE,IAAIqB,UAAU9F,EAAOkF,UAAUC,UAAW,SAC3D2C,EAAQ9H,EAAOyE,IAAIsD,SAASF,EAAS,iBAC3C,OAAO9G,EAAS8B,KAAKiF,EAAM,EA0DDE,CAAqBhI,GAC3C,OAAO4H,EAAchG,KAAIqG,GAAa/G,IAAU+G,IAAW7F,OAAM,EAAM,EAEzE8F,QAASpD,EAAiB9E,EAAQwD,IAClC,EAWE2E,EAAa,CAACnI,EAAQoG,EAAIC,EAASlG,EAAKqD,EAAU8C,KAClDA,EAAOpC,OAAS,EAClBiC,EAAenG,EAAQoG,EAAIC,EAASlG,EAAKqD,EAAU8C,GAXrC,EAACtG,EAAQoG,EAAIC,EAASlG,EAAKqD,EAAUtD,KACrDF,EAAOuG,GAAGC,SAAS4B,gBAAgBhC,EAAI,CACrCiC,QAAQ,EACRhC,UACAI,KAAmB,OAAbjD,EAAoB,eAAiB,iBAC3C0E,QAASpD,EAAiB9E,EAAQwD,GAClCgE,SAAU,IAAMxH,EAAOsI,kBAAkBnI,IAAuB,KAAfD,EAAoBF,EAAOI,YAAYD,GAAOJ,EAAgBC,EAAQwD,EAAUtD,IACjI,EAMAqI,CAAUvI,EAAQoG,EAAIC,EAASlG,EAAKqD,EAAUqB,EAAoByB,EAAO,IACjF,EAQM5G,EAAS8I,IAAI,WAAWxI,IAClBA,EAAOyI,UAAU,UA9NNzI,KACjB,MAAM0I,EAAiB1I,EAAOO,QAAQoI,SACtCD,EAAe,wBAAyB,CACtCE,UAAW,WACXC,QAAS,sEAAsEC,MAAM,OAEvFJ,EAAe,wBAAyB,CACtCE,UAAW,WACXC,QAAS,wBAAwBC,MAAM,MACvC,EAsNEC,CAAW/I,GARAA,KACfmI,EAAWnI,EAAQ,UAAW,gBAAiB,oBAAqB,KAAMS,EAAgBT,IAC1FmI,EAAWnI,EAAQ,UAAW,cAAe,sBAAuB,KAAMU,EAAgBV,GAAQ,EAO9F2I,CAAS3I,GA1OIA,KACjBA,EAAOgJ,WAAW,2BAA2B,CAACzC,EAAIrF,KAChDnB,EAAgBC,EAAQ,KAAMkB,EAAM,mBAAmB,IAEzDlB,EAAOgJ,WAAW,yBAAyB,CAACzC,EAAIrF,KAC9CnB,EAAgBC,EAAQ,KAAMkB,EAAM,mBAAmB,GACvD,EAqOE+H,CAAWjJ,IAEXkJ,QAAQC,MAAM,sEACxB,GAMC,CA9PD"}
|
@@ -1,228 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* TinyMCE version 6.8.5 (TBD)
|
3
|
-
*/
|
4
|
-
|
5
|
-
(function () {
|
6
|
-
'use strict';
|
7
|
-
|
8
|
-
var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
9
|
-
|
10
|
-
const link = () => /(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g;
|
11
|
-
|
12
|
-
const option = name => editor => editor.options.get(name);
|
13
|
-
const register = editor => {
|
14
|
-
const registerOption = editor.options.register;
|
15
|
-
registerOption('autolink_pattern', {
|
16
|
-
processor: 'regexp',
|
17
|
-
default: new RegExp('^' + link().source + '$', 'i')
|
18
|
-
});
|
19
|
-
registerOption('link_default_target', { processor: 'string' });
|
20
|
-
registerOption('link_default_protocol', {
|
21
|
-
processor: 'string',
|
22
|
-
default: 'https'
|
23
|
-
});
|
24
|
-
};
|
25
|
-
const getAutoLinkPattern = option('autolink_pattern');
|
26
|
-
const getDefaultLinkTarget = option('link_default_target');
|
27
|
-
const getDefaultLinkProtocol = option('link_default_protocol');
|
28
|
-
const allowUnsafeLinkTarget = option('allow_unsafe_link_target');
|
29
|
-
|
30
|
-
const hasProto = (v, constructor, predicate) => {
|
31
|
-
var _a;
|
32
|
-
if (predicate(v, constructor.prototype)) {
|
33
|
-
return true;
|
34
|
-
} else {
|
35
|
-
return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;
|
36
|
-
}
|
37
|
-
};
|
38
|
-
const typeOf = x => {
|
39
|
-
const t = typeof x;
|
40
|
-
if (x === null) {
|
41
|
-
return 'null';
|
42
|
-
} else if (t === 'object' && Array.isArray(x)) {
|
43
|
-
return 'array';
|
44
|
-
} else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {
|
45
|
-
return 'string';
|
46
|
-
} else {
|
47
|
-
return t;
|
48
|
-
}
|
49
|
-
};
|
50
|
-
const isType = type => value => typeOf(value) === type;
|
51
|
-
const eq = t => a => t === a;
|
52
|
-
const isString = isType('string');
|
53
|
-
const isUndefined = eq(undefined);
|
54
|
-
const isNullable = a => a === null || a === undefined;
|
55
|
-
const isNonNullable = a => !isNullable(a);
|
56
|
-
|
57
|
-
const not = f => t => !f(t);
|
58
|
-
|
59
|
-
const hasOwnProperty = Object.hasOwnProperty;
|
60
|
-
const has = (obj, key) => hasOwnProperty.call(obj, key);
|
61
|
-
|
62
|
-
const checkRange = (str, substr, start) => substr === '' || str.length >= substr.length && str.substr(start, start + substr.length) === substr;
|
63
|
-
const contains = (str, substr, start = 0, end) => {
|
64
|
-
const idx = str.indexOf(substr, start);
|
65
|
-
if (idx !== -1) {
|
66
|
-
return isUndefined(end) ? true : idx + substr.length <= end;
|
67
|
-
} else {
|
68
|
-
return false;
|
69
|
-
}
|
70
|
-
};
|
71
|
-
const startsWith = (str, prefix) => {
|
72
|
-
return checkRange(str, prefix, 0);
|
73
|
-
};
|
74
|
-
|
75
|
-
const zeroWidth = '\uFEFF';
|
76
|
-
const isZwsp = char => char === zeroWidth;
|
77
|
-
const removeZwsp = s => s.replace(/\uFEFF/g, '');
|
78
|
-
|
79
|
-
var global = tinymce.util.Tools.resolve('tinymce.dom.TextSeeker');
|
80
|
-
|
81
|
-
const isTextNode = node => node.nodeType === 3;
|
82
|
-
const isElement = node => node.nodeType === 1;
|
83
|
-
const isBracketOrSpace = char => /^[(\[{ \u00a0]$/.test(char);
|
84
|
-
const hasProtocol = url => /^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(url);
|
85
|
-
const isPunctuation = char => /[?!,.;:]/.test(char);
|
86
|
-
const findChar = (text, index, predicate) => {
|
87
|
-
for (let i = index - 1; i >= 0; i--) {
|
88
|
-
const char = text.charAt(i);
|
89
|
-
if (!isZwsp(char) && predicate(char)) {
|
90
|
-
return i;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
return -1;
|
94
|
-
};
|
95
|
-
const freefallRtl = (container, offset) => {
|
96
|
-
let tempNode = container;
|
97
|
-
let tempOffset = offset;
|
98
|
-
while (isElement(tempNode) && tempNode.childNodes[tempOffset]) {
|
99
|
-
tempNode = tempNode.childNodes[tempOffset];
|
100
|
-
tempOffset = isTextNode(tempNode) ? tempNode.data.length : tempNode.childNodes.length;
|
101
|
-
}
|
102
|
-
return {
|
103
|
-
container: tempNode,
|
104
|
-
offset: tempOffset
|
105
|
-
};
|
106
|
-
};
|
107
|
-
|
108
|
-
const parseCurrentLine = (editor, offset) => {
|
109
|
-
var _a;
|
110
|
-
const voidElements = editor.schema.getVoidElements();
|
111
|
-
const autoLinkPattern = getAutoLinkPattern(editor);
|
112
|
-
const {dom, selection} = editor;
|
113
|
-
if (dom.getParent(selection.getNode(), 'a[href]') !== null) {
|
114
|
-
return null;
|
115
|
-
}
|
116
|
-
const rng = selection.getRng();
|
117
|
-
const textSeeker = global(dom, node => {
|
118
|
-
return dom.isBlock(node) || has(voidElements, node.nodeName.toLowerCase()) || dom.getContentEditable(node) === 'false';
|
119
|
-
});
|
120
|
-
const {
|
121
|
-
container: endContainer,
|
122
|
-
offset: endOffset
|
123
|
-
} = freefallRtl(rng.endContainer, rng.endOffset);
|
124
|
-
const root = (_a = dom.getParent(endContainer, dom.isBlock)) !== null && _a !== void 0 ? _a : dom.getRoot();
|
125
|
-
const endSpot = textSeeker.backwards(endContainer, endOffset + offset, (node, offset) => {
|
126
|
-
const text = node.data;
|
127
|
-
const idx = findChar(text, offset, not(isBracketOrSpace));
|
128
|
-
return idx === -1 || isPunctuation(text[idx]) ? idx : idx + 1;
|
129
|
-
}, root);
|
130
|
-
if (!endSpot) {
|
131
|
-
return null;
|
132
|
-
}
|
133
|
-
let lastTextNode = endSpot.container;
|
134
|
-
const startSpot = textSeeker.backwards(endSpot.container, endSpot.offset, (node, offset) => {
|
135
|
-
lastTextNode = node;
|
136
|
-
const idx = findChar(node.data, offset, isBracketOrSpace);
|
137
|
-
return idx === -1 ? idx : idx + 1;
|
138
|
-
}, root);
|
139
|
-
const newRng = dom.createRng();
|
140
|
-
if (!startSpot) {
|
141
|
-
newRng.setStart(lastTextNode, 0);
|
142
|
-
} else {
|
143
|
-
newRng.setStart(startSpot.container, startSpot.offset);
|
144
|
-
}
|
145
|
-
newRng.setEnd(endSpot.container, endSpot.offset);
|
146
|
-
const rngText = removeZwsp(newRng.toString());
|
147
|
-
const matches = rngText.match(autoLinkPattern);
|
148
|
-
if (matches) {
|
149
|
-
let url = matches[0];
|
150
|
-
if (startsWith(url, 'www.')) {
|
151
|
-
const protocol = getDefaultLinkProtocol(editor);
|
152
|
-
url = protocol + '://' + url;
|
153
|
-
} else if (contains(url, '@') && !hasProtocol(url)) {
|
154
|
-
url = 'mailto:' + url;
|
155
|
-
}
|
156
|
-
return {
|
157
|
-
rng: newRng,
|
158
|
-
url
|
159
|
-
};
|
160
|
-
} else {
|
161
|
-
return null;
|
162
|
-
}
|
163
|
-
};
|
164
|
-
const convertToLink = (editor, result) => {
|
165
|
-
const {dom, selection} = editor;
|
166
|
-
const {rng, url} = result;
|
167
|
-
const bookmark = selection.getBookmark();
|
168
|
-
selection.setRng(rng);
|
169
|
-
const command = 'createlink';
|
170
|
-
const args = {
|
171
|
-
command,
|
172
|
-
ui: false,
|
173
|
-
value: url
|
174
|
-
};
|
175
|
-
const beforeExecEvent = editor.dispatch('BeforeExecCommand', args);
|
176
|
-
if (!beforeExecEvent.isDefaultPrevented()) {
|
177
|
-
editor.getDoc().execCommand(command, false, url);
|
178
|
-
editor.dispatch('ExecCommand', args);
|
179
|
-
const defaultLinkTarget = getDefaultLinkTarget(editor);
|
180
|
-
if (isString(defaultLinkTarget)) {
|
181
|
-
const anchor = selection.getNode();
|
182
|
-
dom.setAttrib(anchor, 'target', defaultLinkTarget);
|
183
|
-
if (defaultLinkTarget === '_blank' && !allowUnsafeLinkTarget(editor)) {
|
184
|
-
dom.setAttrib(anchor, 'rel', 'noopener');
|
185
|
-
}
|
186
|
-
}
|
187
|
-
}
|
188
|
-
selection.moveToBookmark(bookmark);
|
189
|
-
editor.nodeChanged();
|
190
|
-
};
|
191
|
-
const handleSpacebar = editor => {
|
192
|
-
const result = parseCurrentLine(editor, -1);
|
193
|
-
if (isNonNullable(result)) {
|
194
|
-
convertToLink(editor, result);
|
195
|
-
}
|
196
|
-
};
|
197
|
-
const handleBracket = handleSpacebar;
|
198
|
-
const handleEnter = editor => {
|
199
|
-
const result = parseCurrentLine(editor, 0);
|
200
|
-
if (isNonNullable(result)) {
|
201
|
-
convertToLink(editor, result);
|
202
|
-
}
|
203
|
-
};
|
204
|
-
const setup = editor => {
|
205
|
-
editor.on('keydown', e => {
|
206
|
-
if (e.keyCode === 13 && !e.isDefaultPrevented()) {
|
207
|
-
handleEnter(editor);
|
208
|
-
}
|
209
|
-
});
|
210
|
-
editor.on('keyup', e => {
|
211
|
-
if (e.keyCode === 32) {
|
212
|
-
handleSpacebar(editor);
|
213
|
-
} else if (e.keyCode === 48 && e.shiftKey || e.keyCode === 221) {
|
214
|
-
handleBracket(editor);
|
215
|
-
}
|
216
|
-
});
|
217
|
-
};
|
218
|
-
|
219
|
-
var Plugin = () => {
|
220
|
-
global$1.add('autolink', editor => {
|
221
|
-
register(editor);
|
222
|
-
setup(editor);
|
223
|
-
});
|
224
|
-
};
|
225
|
-
|
226
|
-
Plugin();
|
227
|
-
|
228
|
-
})();
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* TinyMCE version 6.8.5 (TBD)
|
3
|
-
*/
|
4
|
-
!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),n=t("autolink_pattern"),o=t("link_default_target"),r=t("link_default_protocol"),a=t("allow_unsafe_link_target"),s=("string",e=>"string"===(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=o=e,(r=String).prototype.isPrototypeOf(n)||(null===(a=o.constructor)||void 0===a?void 0:a.name)===r.name)?"string":t;var n,o,r,a})(e));const l=(void 0,e=>undefined===e);const i=e=>!(e=>null==e)(e),c=Object.hasOwnProperty,d=e=>"\ufeff"===e;var u=tinymce.util.Tools.resolve("tinymce.dom.TextSeeker");const f=e=>/^[(\[{ \u00a0]$/.test(e),g=(e,t,n)=>{for(let o=t-1;o>=0;o--){const t=e.charAt(o);if(!d(t)&&n(t))return o}return-1},m=(e,t)=>{var o;const a=e.schema.getVoidElements(),s=n(e),{dom:i,selection:d}=e;if(null!==i.getParent(d.getNode(),"a[href]"))return null;const m=d.getRng(),k=u(i,(e=>{return i.isBlock(e)||(t=a,n=e.nodeName.toLowerCase(),c.call(t,n))||"false"===i.getContentEditable(e);var t,n})),{container:p,offset:y}=((e,t)=>{let n=e,o=t;for(;1===n.nodeType&&n.childNodes[o];)n=n.childNodes[o],o=3===n.nodeType?n.data.length:n.childNodes.length;return{container:n,offset:o}})(m.endContainer,m.endOffset),w=null!==(o=i.getParent(p,i.isBlock))&&void 0!==o?o:i.getRoot(),h=k.backwards(p,y+t,((e,t)=>{const n=e.data,o=g(n,t,(r=f,e=>!r(e)));var r,a;return-1===o||(a=n[o],/[?!,.;:]/.test(a))?o:o+1}),w);if(!h)return null;let v=h.container;const _=k.backwards(h.container,h.offset,((e,t)=>{v=e;const n=g(e.data,t,f);return-1===n?n:n+1}),w),A=i.createRng();_?A.setStart(_.container,_.offset):A.setStart(v,0),A.setEnd(h.container,h.offset);const C=A.toString().replace(/\uFEFF/g,"").match(s);if(C){let t=C[0];return $="www.",(b=t).length>=4&&b.substr(0,4)===$?t=r(e)+"://"+t:((e,t,n=0,o)=>{const r=e.indexOf(t,n);return-1!==r&&(!!l(o)||r+t.length<=o)})(t,"@")&&!(e=>/^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(e))(t)&&(t="mailto:"+t),{rng:A,url:t}}var b,$;return null},k=(e,t)=>{const{dom:n,selection:r}=e,{rng:l,url:i}=t,c=r.getBookmark();r.setRng(l);const d="createlink",u={command:d,ui:!1,value:i};if(!e.dispatch("BeforeExecCommand",u).isDefaultPrevented()){e.getDoc().execCommand(d,!1,i),e.dispatch("ExecCommand",u);const t=o(e);if(s(t)){const o=r.getNode();n.setAttrib(o,"target",t),"_blank"!==t||a(e)||n.setAttrib(o,"rel","noopener")}}r.moveToBookmark(c),e.nodeChanged()},p=e=>{const t=m(e,-1);i(t)&&k(e,t)},y=p;e.add("autolink",(e=>{(e=>{const t=e.options.register;t("autolink_pattern",{processor:"regexp",default:new RegExp("^"+/(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g.source+"$","i")}),t("link_default_target",{processor:"string"}),t("link_default_protocol",{processor:"string",default:"https"})})(e),(e=>{e.on("keydown",(t=>{13!==t.keyCode||t.isDefaultPrevented()||(e=>{const t=m(e,0);i(t)&&k(e,t)})(e)})),e.on("keyup",(t=>{32===t.keyCode?p(e):(48===t.keyCode&&t.shiftKey||221===t.keyCode)&&y(e)}))})(e)}))}();
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../../public/tinymce/plugins/code/index.js"],"sourcesContent":["// Exports the \"code\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/code')\n// ES2015:\n// import 'tinymce/plugins/code'\nrequire('./plugin.js');"],"names":["require$$0"],"mappings":"wIAMsBA"}
|