@lotte-innovate/ui-component-test 0.1.114 → 0.1.115

Sign up to get free protection for your applications and to get access to all the features.
Files changed (827) hide show
  1. package/dist/globals.css +3 -3
  2. package/dist/lib/Typography/Header/index.d.ts +1 -1
  3. package/dist/lib/Typography/Header/index.js +2 -2
  4. package/dist/lib/Typography/Text/index.d.ts +1 -1
  5. package/dist/lib/Typography/Text/index.js +2 -2
  6. package/dist/lib/_virtual/icons.mjs +2 -0
  7. package/dist/lib/_virtual/icons.mjs.map +1 -0
  8. package/dist/lib/_virtual/index.mjs +2 -0
  9. package/dist/lib/_virtual/index10.mjs +2 -0
  10. package/dist/lib/_virtual/index10.mjs.map +1 -0
  11. package/dist/lib/_virtual/index11.mjs +2 -0
  12. package/dist/lib/_virtual/index11.mjs.map +1 -0
  13. package/dist/lib/_virtual/index12.mjs +2 -0
  14. package/dist/lib/_virtual/index12.mjs.map +1 -0
  15. package/dist/lib/_virtual/index13.mjs +2 -0
  16. package/dist/lib/_virtual/index13.mjs.map +1 -0
  17. package/dist/lib/_virtual/index14.mjs +2 -0
  18. package/dist/lib/_virtual/index14.mjs.map +1 -0
  19. package/dist/lib/_virtual/index15.mjs +2 -0
  20. package/dist/lib/_virtual/index15.mjs.map +1 -0
  21. package/dist/lib/_virtual/index16.mjs +2 -0
  22. package/dist/lib/_virtual/index16.mjs.map +1 -0
  23. package/dist/lib/_virtual/index17.mjs +2 -0
  24. package/dist/lib/_virtual/index17.mjs.map +1 -0
  25. package/dist/lib/_virtual/index18.mjs +2 -0
  26. package/dist/lib/_virtual/index18.mjs.map +1 -0
  27. package/dist/lib/_virtual/index19.mjs +2 -0
  28. package/dist/lib/_virtual/index19.mjs.map +1 -0
  29. package/dist/lib/_virtual/index2.mjs +2 -0
  30. package/dist/lib/_virtual/index2.mjs.map +1 -0
  31. package/dist/lib/_virtual/index20.mjs +2 -0
  32. package/dist/lib/_virtual/index20.mjs.map +1 -0
  33. package/dist/lib/_virtual/index3.mjs +2 -0
  34. package/dist/lib/_virtual/index3.mjs.map +1 -0
  35. package/dist/lib/_virtual/index4.mjs +2 -0
  36. package/dist/lib/_virtual/index4.mjs.map +1 -0
  37. package/dist/lib/_virtual/index5.mjs +2 -0
  38. package/dist/lib/_virtual/index5.mjs.map +1 -0
  39. package/dist/lib/_virtual/index6.mjs +2 -0
  40. package/dist/lib/_virtual/index6.mjs.map +1 -0
  41. package/dist/lib/_virtual/index7.mjs +2 -0
  42. package/dist/lib/_virtual/index7.mjs.map +1 -0
  43. package/dist/lib/_virtual/index8.mjs +2 -0
  44. package/dist/lib/_virtual/index8.mjs.map +1 -0
  45. package/dist/lib/_virtual/index9.mjs +2 -0
  46. package/dist/lib/_virtual/index9.mjs.map +1 -0
  47. package/dist/lib/_virtual/model.mjs +2 -0
  48. package/dist/lib/_virtual/model.mjs.map +1 -0
  49. package/dist/lib/_virtual/plugin.mjs +2 -0
  50. package/dist/lib/_virtual/plugin.mjs.map +1 -0
  51. package/dist/lib/_virtual/plugin2.mjs +2 -0
  52. package/dist/lib/_virtual/plugin2.mjs.map +1 -0
  53. package/dist/lib/_virtual/plugin3.mjs +2 -0
  54. package/dist/lib/_virtual/plugin3.mjs.map +1 -0
  55. package/dist/lib/_virtual/plugin4.mjs +2 -0
  56. package/dist/lib/_virtual/plugin4.mjs.map +1 -0
  57. package/dist/lib/_virtual/plugin5.mjs +2 -0
  58. package/dist/lib/_virtual/plugin5.mjs.map +1 -0
  59. package/dist/lib/_virtual/plugin6.mjs +2 -0
  60. package/dist/lib/_virtual/plugin6.mjs.map +1 -0
  61. package/dist/lib/_virtual/plugin7.mjs +2 -0
  62. package/dist/lib/_virtual/plugin7.mjs.map +1 -0
  63. package/dist/lib/_virtual/theme.mjs +2 -0
  64. package/dist/lib/_virtual/theme.mjs.map +1 -0
  65. package/dist/lib/_virtual/tinymce.mjs +2 -0
  66. package/dist/lib/_virtual/tinymce.mjs.map +1 -0
  67. package/dist/lib/_virtual/tinymce2.mjs +2 -0
  68. package/dist/lib/_virtual/tinymce2.mjs.map +1 -0
  69. package/dist/lib/components/Accordion/index.d.ts +1 -1
  70. package/dist/lib/components/Accordion/index.js +4 -4
  71. package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +1 -1
  72. package/dist/lib/components/AlertDialog/AlertDialogAction.js +3 -3
  73. package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +1 -1
  74. package/dist/lib/components/AlertDialog/AlertDialogCancel.js +2 -2
  75. package/dist/lib/components/AlertDialog/AlertDialogContent.js +2 -2
  76. package/dist/lib/components/AlertDialog/AlertDialogDescription.js +1 -1
  77. package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +1 -1
  78. package/dist/lib/components/AlertDialog/AlertDialogRoot.js +2 -2
  79. package/dist/lib/components/AlertDialog/AlertDialogTitle.js +1 -1
  80. package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +1 -1
  81. package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +4 -4
  82. package/dist/lib/components/AspectRatio/index.js +3 -3
  83. package/dist/lib/components/Avatar/index.js +4 -4
  84. package/dist/lib/components/Badge/index.d.ts +1 -1
  85. package/dist/lib/components/Badge/index.js +4 -4
  86. package/dist/lib/components/BarChart/index.d.ts +1 -1
  87. package/dist/lib/components/BarChart/index.js +4 -4
  88. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +1 -1
  89. package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +1 -1
  90. package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +1 -1
  91. package/dist/lib/components/Breadcrumb/BreadcrumbList.js +1 -1
  92. package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +1 -1
  93. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +3 -3
  94. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +1 -1
  95. package/dist/lib/components/BubbleChart/index.d.ts +1 -1
  96. package/dist/lib/components/BubbleChart/index.js +4 -4
  97. package/dist/lib/components/Button/index.d.ts +1 -1
  98. package/dist/lib/components/Button/index.js +4 -4
  99. package/dist/lib/components/Callout/CalloutIcon.js +2 -2
  100. package/dist/lib/components/Callout/CalloutRoot.d.ts +1 -1
  101. package/dist/lib/components/Callout/CalloutRoot.js +3 -3
  102. package/dist/lib/components/Callout/CalloutText.js +1 -1
  103. package/dist/lib/components/Card/index.d.ts +1 -1
  104. package/dist/lib/components/Card/index.js +3 -3
  105. package/dist/lib/components/Checkbox/index.d.ts +1 -1
  106. package/dist/lib/components/Checkbox/index.js +4 -4
  107. package/dist/lib/components/CheckboxCard/index.d.ts +2 -2
  108. package/dist/lib/components/CheckboxCard/index.js +5 -5
  109. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +1 -1
  110. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +1 -1
  111. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +2 -2
  112. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +3 -3
  113. package/dist/lib/components/Collapsible/index.d.ts +1 -1
  114. package/dist/lib/components/Collapsible/index.js +4 -4
  115. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +2 -2
  116. package/dist/lib/components/ContextMenu/ContextMenuContent.js +2 -2
  117. package/dist/lib/components/ContextMenu/ContextMenuItem.js +3 -3
  118. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +2 -2
  119. package/dist/lib/components/ContextMenu/ContextMenuLabel.js +2 -2
  120. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +2 -2
  121. package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +1 -1
  122. package/dist/lib/components/ContextMenu/ContextMenuRoot.js +2 -2
  123. package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +1 -1
  124. package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +2 -2
  125. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +3 -3
  126. package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +1 -1
  127. package/dist/lib/components/DataList/DataListItem.js +2 -2
  128. package/dist/lib/components/DataList/DataListLabel.js +2 -2
  129. package/dist/lib/components/DataList/DataListRoot.js +2 -2
  130. package/dist/lib/components/DataList/DataListValue.js +2 -2
  131. package/dist/lib/components/Dialog/DialogAction.js +3 -3
  132. package/dist/lib/components/Dialog/DialogCancel.js +1 -1
  133. package/dist/lib/components/Dialog/DialogContent.js +2 -2
  134. package/dist/lib/components/Dialog/DialogDescription.js +1 -1
  135. package/dist/lib/components/Dialog/DialogRoot.js +2 -2
  136. package/dist/lib/components/Dialog/DialogSlot.js +1 -1
  137. package/dist/lib/components/Dialog/DialogTitle.js +1 -1
  138. package/dist/lib/components/DoughnutChart/index.d.ts +1 -1
  139. package/dist/lib/components/DoughnutChart/index.js +3 -3
  140. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +2 -2
  141. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -2
  142. package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +2 -2
  143. package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +1 -1
  144. package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +3 -3
  145. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +2 -2
  146. package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +1 -1
  147. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +2 -2
  148. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +1 -1
  149. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +2 -2
  150. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +1 -1
  151. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +3 -3
  152. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
  153. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -1
  154. package/dist/lib/components/Editor/index copy.js +2 -2
  155. package/dist/lib/components/Editor/index.d.ts +14 -15
  156. package/dist/lib/components/Editor/index.js +52 -52
  157. package/dist/lib/components/Footer/index.js +3 -3
  158. package/dist/lib/components/Gnb/GnbInfo.js +1 -1
  159. package/dist/lib/components/Gnb/GnbLogo.js +2 -2
  160. package/dist/lib/components/Gnb/GnbMenu.d.ts +1 -1
  161. package/dist/lib/components/Gnb/GnbMenu.js +1 -1
  162. package/dist/lib/components/Gnb/GnbRoot.js +3 -3
  163. package/dist/lib/components/Grid/index.js +2 -2
  164. package/dist/lib/components/HoverCard/HoverCardContent.js +2 -2
  165. package/dist/lib/components/HoverCard/HoverCardRoot.js +2 -2
  166. package/dist/lib/components/IconButton/index.d.ts +1 -1
  167. package/dist/lib/components/IconButton/index.js +4 -4
  168. package/dist/lib/components/Inset/index.js +3 -3
  169. package/dist/lib/components/Label/index.d.ts +1 -1
  170. package/dist/lib/components/Label/index.js +3 -3
  171. package/dist/lib/components/LineChart/index.d.ts +1 -1
  172. package/dist/lib/components/LineChart/index.js +4 -4
  173. package/dist/lib/components/Menubar/MenubarCheckboxItem.js +3 -3
  174. package/dist/lib/components/Menubar/MenubarContent.js +2 -2
  175. package/dist/lib/components/Menubar/MenubarItem.js +3 -3
  176. package/dist/lib/components/Menubar/MenubarItemIndicator.js +2 -2
  177. package/dist/lib/components/Menubar/MenubarRadioItem.js +3 -3
  178. package/dist/lib/components/Menubar/MenubarRoot.d.ts +1 -1
  179. package/dist/lib/components/Menubar/MenubarRoot.js +4 -4
  180. package/dist/lib/components/Menubar/MenubarSeparator.js +1 -1
  181. package/dist/lib/components/Menubar/MenubarSubContent.js +2 -2
  182. package/dist/lib/components/Menubar/MenubarSubTrigger.js +3 -3
  183. package/dist/lib/components/Menubar/MenubarTrigger.js +2 -2
  184. package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -2
  185. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
  186. package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +3 -3
  187. package/dist/lib/components/NavigationMenu/NavigationMenuList.js +3 -3
  188. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +1 -1
  189. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +3 -3
  190. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +3 -3
  191. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +2 -2
  192. package/dist/lib/components/PieChart/index.d.ts +1 -1
  193. package/dist/lib/components/PieChart/index.js +3 -3
  194. package/dist/lib/components/Popover/PopoverClose.js +1 -1
  195. package/dist/lib/components/Popover/PopoverContent.d.ts +1 -1
  196. package/dist/lib/components/Popover/PopoverContent.js +2 -2
  197. package/dist/lib/components/Popover/PopoverRoot.js +1 -1
  198. package/dist/lib/components/Progress/index.js +4 -4
  199. package/dist/lib/components/RadarChart/index.d.ts +1 -1
  200. package/dist/lib/components/RadarChart/index.js +4 -4
  201. package/dist/lib/components/Radio/index.d.ts +1 -1
  202. package/dist/lib/components/Radio/index.js +4 -4
  203. package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -1
  204. package/dist/lib/components/RadioCards/RadioCardsRoot.js +4 -4
  205. package/dist/lib/components/RadioGroup/RadioGroupItem.js +1 -1
  206. package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +1 -1
  207. package/dist/lib/components/RadioGroup/RadioGroupRoot.js +3 -3
  208. package/dist/lib/components/ScrollArea/index.js +1 -1
  209. package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +1 -1
  210. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +1 -1
  211. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +3 -3
  212. package/dist/lib/components/Select/index.d.ts +1 -1
  213. package/dist/lib/components/Select/index.js +4 -4
  214. package/dist/lib/components/Separator/index.js +3 -3
  215. package/dist/lib/components/Skeleton/index.d.ts +1 -1
  216. package/dist/lib/components/Skeleton/index.js +3 -3
  217. package/dist/lib/components/Slider/index.d.ts +1 -1
  218. package/dist/lib/components/Slider/index.js +4 -4
  219. package/dist/lib/components/Spinner/index.d.ts +1 -1
  220. package/dist/lib/components/Spinner/index.js +3 -3
  221. package/dist/lib/components/TabNav/index.js +3 -3
  222. package/dist/lib/components/Table/index.d.ts +1 -1
  223. package/dist/lib/components/Table/index.js +3 -3
  224. package/dist/lib/components/Tabs/index.d.ts +1 -1
  225. package/dist/lib/components/Tabs/index.js +4 -4
  226. package/dist/lib/components/TextArea/index.d.ts +1 -1
  227. package/dist/lib/components/TextArea/index.js +4 -4
  228. package/dist/lib/components/TextField/index.d.ts +1 -1
  229. package/dist/lib/components/TextField/index.js +4 -4
  230. package/dist/lib/components/Timeline/TimelineConnector.js +1 -1
  231. package/dist/lib/components/Timeline/TimelineContent.js +1 -1
  232. package/dist/lib/components/Timeline/TimelineDescription.js +1 -1
  233. package/dist/lib/components/Timeline/TimelineHeader.js +1 -1
  234. package/dist/lib/components/Timeline/TimelineIcon.js +2 -2
  235. package/dist/lib/components/Timeline/TimelineItem.js +1 -1
  236. package/dist/lib/components/Timeline/TimelineRoot.js +2 -2
  237. package/dist/lib/components/Timeline/TimelineTime.js +1 -1
  238. package/dist/lib/components/Timeline/TimelineTitle.js +1 -1
  239. package/dist/lib/components/Toast/ToastActionButton.d.ts +1 -1
  240. package/dist/lib/components/Toast/ToastActionButton.js +5 -5
  241. package/dist/lib/components/Toast/ToastDescription.d.ts +1 -1
  242. package/dist/lib/components/Toast/ToastDescription.js +1 -1
  243. package/dist/lib/components/Toast/ToastRoot.js +3 -3
  244. package/dist/lib/components/Toast/ToastTitle.d.ts +1 -1
  245. package/dist/lib/components/Toast/ToastTitle.js +1 -1
  246. package/dist/lib/components/Toggle/ToggleWithText.d.ts +1 -1
  247. package/dist/lib/components/Toggle/ToggleWithText.js +5 -5
  248. package/dist/lib/components/Toggle/index.d.ts +1 -1
  249. package/dist/lib/components/Toggle/index.js +4 -4
  250. package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +1 -1
  251. package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +2 -2
  252. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +1 -1
  253. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +4 -4
  254. package/dist/lib/components/ToggleSwitch/index.js +5 -5
  255. package/dist/lib/components/Tooltip/index.d.ts +1 -1
  256. package/dist/lib/components/Tooltip/index.js +3 -3
  257. package/dist/lib/constants.js +1 -1
  258. package/dist/lib/dist/lib/color/alpha.mjs.map +1 -0
  259. package/dist/lib/dist/lib/color/constants.mjs.map +1 -0
  260. package/dist/lib/dist/lib/color/light.mjs.map +1 -0
  261. package/dist/lib/dist/lib/components/AlertDialog/index.mjs.map +1 -0
  262. package/dist/lib/dist/lib/components/BarChart/index.mjs.map +1 -0
  263. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
  264. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
  265. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
  266. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
  267. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
  268. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
  269. package/dist/lib/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
  270. package/dist/lib/dist/lib/components/BubbleChart/index.mjs.map +1 -0
  271. package/dist/lib/dist/lib/components/Callout/index.mjs.map +1 -0
  272. package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
  273. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
  274. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
  275. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
  276. package/dist/lib/dist/lib/components/ContextMenu/index.mjs.map +1 -0
  277. package/dist/lib/dist/lib/components/DataList/index.mjs.map +1 -0
  278. package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
  279. package/dist/lib/dist/lib/components/Dialog/index.mjs.map +1 -0
  280. package/dist/lib/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
  281. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
  282. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
  283. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
  284. package/dist/lib/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
  285. package/dist/lib/dist/lib/components/Editor/index.mjs +3 -0
  286. package/dist/lib/dist/lib/components/Gnb/index.mjs.map +1 -0
  287. package/dist/lib/dist/lib/components/Grid/Pagination.mjs.map +1 -0
  288. package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
  289. package/dist/lib/dist/lib/components/HoverCard/index.mjs.map +1 -0
  290. package/dist/lib/dist/lib/components/LineChart/index.mjs.map +1 -0
  291. package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
  292. package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
  293. package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
  294. package/dist/lib/dist/lib/components/Menubar/index.mjs.map +1 -0
  295. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
  296. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
  297. package/dist/lib/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
  298. package/dist/lib/dist/lib/components/PieChart/index.mjs.map +1 -0
  299. package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
  300. package/dist/lib/dist/lib/components/Popover/index.mjs.map +1 -0
  301. package/dist/lib/dist/lib/components/RadarChart/index.mjs.map +1 -0
  302. package/dist/lib/dist/lib/components/RadioCards/index.mjs.map +1 -0
  303. package/dist/lib/dist/lib/components/RadioGroup/index.mjs.map +1 -0
  304. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
  305. package/dist/lib/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
  306. package/dist/lib/dist/lib/components/Toast/index.mjs.map +1 -0
  307. package/dist/lib/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
  308. package/dist/lib/dist/lib/constants.mjs.map +1 -0
  309. package/dist/lib/dist/lib/index.mjs.map +1 -0
  310. package/dist/lib/dist/lib/utils/utils.mjs.map +1 -0
  311. package/dist/lib/public/tinymce/icons/default/icons.mjs +2 -0
  312. package/dist/lib/public/tinymce/icons/default/icons.mjs.map +1 -0
  313. package/dist/lib/public/tinymce/icons/default/index.d.ts +1 -0
  314. package/dist/lib/public/tinymce/icons/default/index.mjs +2 -0
  315. package/dist/lib/public/tinymce/icons/default/index.mjs.map +1 -0
  316. package/dist/lib/public/tinymce/models/dom/index.d.ts +1 -0
  317. package/dist/lib/public/tinymce/models/dom/index.mjs +2 -0
  318. package/dist/lib/public/tinymce/models/dom/index.mjs.map +1 -0
  319. package/dist/lib/public/tinymce/models/dom/model.mjs +2 -0
  320. package/dist/lib/public/tinymce/models/dom/model.mjs.map +1 -0
  321. package/dist/lib/public/tinymce/plugins/advlist/index.d.ts +1 -0
  322. package/dist/lib/public/tinymce/plugins/advlist/index.mjs +2 -0
  323. package/dist/lib/public/tinymce/plugins/advlist/index.mjs.map +1 -0
  324. package/dist/lib/public/tinymce/plugins/advlist/plugin.mjs +2 -0
  325. package/dist/lib/public/tinymce/plugins/advlist/plugin.mjs.map +1 -0
  326. package/dist/lib/public/tinymce/plugins/code/index.d.ts +1 -0
  327. package/dist/lib/public/tinymce/plugins/code/index.mjs +2 -0
  328. package/dist/lib/public/tinymce/plugins/code/index.mjs.map +1 -0
  329. package/dist/lib/public/tinymce/plugins/code/plugin.mjs +2 -0
  330. package/dist/lib/public/tinymce/plugins/code/plugin.mjs.map +1 -0
  331. package/dist/lib/public/tinymce/plugins/codesample/index.d.ts +1 -0
  332. package/dist/lib/public/tinymce/plugins/codesample/index.mjs +2 -0
  333. package/dist/lib/public/tinymce/plugins/codesample/index.mjs.map +1 -0
  334. package/dist/lib/public/tinymce/plugins/codesample/plugin.d.ts +45 -0
  335. package/dist/lib/public/tinymce/plugins/codesample/plugin.mjs +2 -0
  336. package/dist/lib/public/tinymce/plugins/codesample/plugin.mjs.map +1 -0
  337. package/dist/lib/public/tinymce/plugins/image/index.d.ts +1 -0
  338. package/dist/lib/public/tinymce/plugins/image/index.mjs +2 -0
  339. package/dist/lib/public/tinymce/plugins/image/index.mjs.map +1 -0
  340. package/dist/lib/public/tinymce/plugins/image/plugin.mjs +2 -0
  341. package/dist/lib/public/tinymce/plugins/image/plugin.mjs.map +1 -0
  342. package/dist/lib/public/tinymce/plugins/link/index.d.ts +1 -0
  343. package/dist/lib/public/tinymce/plugins/link/index.mjs +2 -0
  344. package/dist/lib/public/tinymce/plugins/link/index.mjs.map +1 -0
  345. package/dist/lib/public/tinymce/plugins/link/plugin.mjs +2 -0
  346. package/dist/lib/public/tinymce/plugins/link/plugin.mjs.map +1 -0
  347. package/dist/lib/public/tinymce/plugins/lists/index.d.ts +1 -0
  348. package/dist/lib/public/tinymce/plugins/lists/index.mjs +2 -0
  349. package/dist/lib/public/tinymce/plugins/lists/index.mjs.map +1 -0
  350. package/dist/lib/public/tinymce/plugins/lists/plugin.mjs +2 -0
  351. package/dist/lib/public/tinymce/plugins/lists/plugin.mjs.map +1 -0
  352. package/dist/lib/public/tinymce/plugins/table/index.d.ts +1 -0
  353. package/dist/lib/public/tinymce/plugins/table/index.mjs +2 -0
  354. package/dist/lib/public/tinymce/plugins/table/index.mjs.map +1 -0
  355. package/dist/lib/public/tinymce/plugins/table/plugin.mjs +2 -0
  356. package/dist/lib/public/tinymce/plugins/table/plugin.mjs.map +1 -0
  357. package/dist/lib/public/tinymce/skins/content/default/content.mjs +2 -0
  358. package/dist/lib/public/tinymce/skins/content/default/content.mjs.map +1 -0
  359. package/dist/lib/public/tinymce/skins/ui/oxide/content.mjs +2 -0
  360. package/dist/lib/public/tinymce/skins/ui/oxide/content.mjs.map +1 -0
  361. package/dist/lib/public/tinymce/skins/ui/oxide/skin.mjs +2 -0
  362. package/dist/lib/public/tinymce/skins/ui/oxide/skin.mjs.map +1 -0
  363. package/dist/lib/public/tinymce/themes/silver/index.d.ts +1 -0
  364. package/dist/lib/public/tinymce/themes/silver/index.mjs +2 -0
  365. package/dist/lib/public/tinymce/themes/silver/index.mjs.map +1 -0
  366. package/dist/lib/public/tinymce/themes/silver/theme.mjs +2 -0
  367. package/dist/lib/public/tinymce/themes/silver/theme.mjs.map +1 -0
  368. package/dist/lib/public/tinymce/tinymce.mjs +2 -0
  369. package/dist/lib/public/tinymce/tinymce.mjs.map +1 -0
  370. package/dist/lib/theme/ThemeProvider.d.ts +1 -1
  371. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  372. package/dist/lib/utils/useDarkMode.js +1 -1
  373. package/dist/public/tinymce/icons/default/icons.d.ts +0 -0
  374. package/dist/public/tinymce/icons/default/icons.js +195 -0
  375. package/dist/public/tinymce/icons/default/index.d.ts +1 -0
  376. package/dist/public/tinymce/icons/default/index.js +8 -0
  377. package/dist/public/tinymce/models/dom/index.d.ts +1 -0
  378. package/dist/public/tinymce/models/dom/index.js +8 -0
  379. package/dist/public/tinymce/models/dom/model.d.ts +0 -0
  380. package/dist/public/tinymce/models/dom/model.js +7988 -0
  381. package/dist/public/tinymce/plugins/advlist/index.d.ts +1 -0
  382. package/dist/public/tinymce/plugins/advlist/index.js +8 -0
  383. package/dist/public/tinymce/plugins/advlist/plugin.d.ts +0 -0
  384. package/dist/public/tinymce/plugins/advlist/plugin.js +255 -0
  385. package/dist/public/tinymce/plugins/code/index.d.ts +1 -0
  386. package/dist/public/tinymce/plugins/code/index.js +8 -0
  387. package/dist/public/tinymce/plugins/code/plugin.d.ts +0 -0
  388. package/dist/public/tinymce/plugins/code/plugin.js +77 -0
  389. package/dist/public/tinymce/plugins/codesample/index.d.ts +1 -0
  390. package/dist/public/tinymce/plugins/codesample/index.js +8 -0
  391. package/dist/public/tinymce/plugins/codesample/plugin.d.ts +45 -0
  392. package/dist/public/tinymce/plugins/codesample/plugin.js +2462 -0
  393. package/dist/public/tinymce/plugins/image/index.d.ts +1 -0
  394. package/dist/public/tinymce/plugins/image/index.js +8 -0
  395. package/dist/public/tinymce/plugins/image/plugin.d.ts +0 -0
  396. package/dist/public/tinymce/plugins/image/plugin.js +1523 -0
  397. package/dist/public/tinymce/plugins/link/index.d.ts +1 -0
  398. package/dist/public/tinymce/plugins/link/index.js +8 -0
  399. package/dist/public/tinymce/plugins/link/plugin.d.ts +0 -0
  400. package/dist/public/tinymce/plugins/link/plugin.js +1246 -0
  401. package/dist/public/tinymce/plugins/lists/index.d.ts +1 -0
  402. package/dist/public/tinymce/plugins/lists/index.js +8 -0
  403. package/dist/public/tinymce/plugins/lists/plugin.d.ts +0 -0
  404. package/dist/public/tinymce/plugins/lists/plugin.js +2191 -0
  405. package/dist/public/tinymce/plugins/table/index.d.ts +1 -0
  406. package/dist/public/tinymce/plugins/table/index.js +8 -0
  407. package/dist/public/tinymce/plugins/table/plugin.d.ts +0 -0
  408. package/dist/public/tinymce/plugins/table/plugin.js +3399 -0
  409. package/dist/public/tinymce/skins/content/default/content.d.ts +0 -0
  410. package/dist/public/tinymce/skins/content/default/content.js +3 -0
  411. package/dist/public/tinymce/skins/ui/oxide/content.d.ts +0 -0
  412. package/dist/public/tinymce/skins/ui/oxide/content.js +3 -0
  413. package/dist/public/tinymce/skins/ui/oxide/skin.d.ts +0 -0
  414. package/dist/public/tinymce/skins/ui/oxide/skin.js +3 -0
  415. package/dist/public/tinymce/themes/silver/index.d.ts +1 -0
  416. package/dist/public/tinymce/themes/silver/index.js +8 -0
  417. package/dist/public/tinymce/themes/silver/theme.d.ts +0 -0
  418. package/dist/public/tinymce/themes/silver/theme.js +29731 -0
  419. package/dist/tsconfig.tsbuildinfo +1 -1
  420. package/package.json +3 -2
  421. package/public/tinymce/CHANGELOG.md +3453 -0
  422. package/public/tinymce/README.md +73 -0
  423. package/public/tinymce/bower.json +27 -0
  424. package/public/tinymce/composer.json +52 -0
  425. package/public/tinymce/icons/default/icons.js +194 -0
  426. package/public/tinymce/icons/default/icons.min.js +1 -0
  427. package/public/tinymce/icons/default/index.js +7 -0
  428. package/public/tinymce/license.txt +21 -0
  429. package/public/tinymce/models/dom/index.js +7 -0
  430. package/public/tinymce/models/dom/model.js +8040 -0
  431. package/public/tinymce/models/dom/model.min.js +4 -0
  432. package/public/tinymce/package.json +32 -0
  433. package/public/tinymce/plugins/advlist/index.js +7 -0
  434. package/public/tinymce/plugins/advlist/plugin.js +259 -0
  435. package/public/tinymce/plugins/advlist/plugin.min.js +4 -0
  436. package/public/tinymce/plugins/autolink/index.js +7 -0
  437. package/public/tinymce/plugins/autolink/plugin.js +228 -0
  438. package/public/tinymce/plugins/autolink/plugin.min.js +4 -0
  439. package/public/tinymce/plugins/code/index.js +7 -0
  440. package/public/tinymce/plugins/code/plugin.js +85 -0
  441. package/public/tinymce/plugins/code/plugin.min.js +4 -0
  442. package/public/tinymce/plugins/codesample/index.js +7 -0
  443. package/public/tinymce/plugins/codesample/plugin.js +2463 -0
  444. package/public/tinymce/plugins/codesample/plugin.min.js +4 -0
  445. package/public/tinymce/plugins/image/index.js +7 -0
  446. package/public/tinymce/plugins/image/plugin.js +1505 -0
  447. package/public/tinymce/plugins/image/plugin.min.js +4 -0
  448. package/public/tinymce/plugins/link/index.js +7 -0
  449. package/public/tinymce/plugins/link/plugin.js +1242 -0
  450. package/public/tinymce/plugins/link/plugin.min.js +4 -0
  451. package/public/tinymce/plugins/lists/index.js +7 -0
  452. package/public/tinymce/plugins/lists/plugin.js +2172 -0
  453. package/public/tinymce/plugins/lists/plugin.min.js +4 -0
  454. package/public/tinymce/plugins/table/index.js +7 -0
  455. package/public/tinymce/plugins/table/plugin.js +3462 -0
  456. package/public/tinymce/plugins/table/plugin.min.js +4 -0
  457. package/public/tinymce/skins/content/default/content.js +2 -0
  458. package/public/tinymce/skins/content/default/content.min.css +1 -0
  459. package/public/tinymce/skins/ui/oxide/content.css +785 -0
  460. package/public/tinymce/skins/ui/oxide/content.inline.css +779 -0
  461. package/public/tinymce/skins/ui/oxide/content.inline.js +2 -0
  462. package/public/tinymce/skins/ui/oxide/content.inline.min.css +1 -0
  463. package/public/tinymce/skins/ui/oxide/content.js +2 -0
  464. package/public/tinymce/skins/ui/oxide/skin.css +3763 -0
  465. package/public/tinymce/skins/ui/oxide/skin.js +2 -0
  466. package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +30 -0
  467. package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
  468. package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
  469. package/public/tinymce/skins/ui/oxide-dark/content.css +766 -0
  470. package/public/tinymce/skins/ui/oxide-dark/content.inline.css +779 -0
  471. package/public/tinymce/skins/ui/oxide-dark/content.inline.js +2 -0
  472. package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -0
  473. package/public/tinymce/skins/ui/oxide-dark/content.js +2 -0
  474. package/public/tinymce/skins/ui/oxide-dark/content.min.css +1 -0
  475. package/public/tinymce/skins/ui/oxide-dark/skin.css +3766 -0
  476. package/public/tinymce/skins/ui/oxide-dark/skin.js +2 -0
  477. package/public/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
  478. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
  479. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
  480. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
  481. package/public/tinymce/themes/silver/index.js +7 -0
  482. package/public/tinymce/themes/silver/theme.js +30775 -0
  483. package/public/tinymce/themes/silver/theme.min.js +384 -0
  484. package/public/tinymce/tinymce.d.ts +3238 -0
  485. package/public/tinymce/tinymce.js +31779 -0
  486. package/public/tinymce/tinymce.min.js +384 -0
  487. package/dist/lib/color/alpha.mjs.map +0 -1
  488. package/dist/lib/color/constants.mjs.map +0 -1
  489. package/dist/lib/color/light.mjs.map +0 -1
  490. package/dist/lib/components/AlertDialog/index.mjs.map +0 -1
  491. package/dist/lib/components/BarChart/index.mjs.map +0 -1
  492. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +0 -1
  493. package/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +0 -1
  494. package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +0 -1
  495. package/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +0 -1
  496. package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +0 -1
  497. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +0 -1
  498. package/dist/lib/components/Breadcrumb/index.mjs.map +0 -1
  499. package/dist/lib/components/BubbleChart/index.mjs.map +0 -1
  500. package/dist/lib/components/Callout/index.mjs.map +0 -1
  501. package/dist/lib/components/CheckboxGroup/index.mjs.map +0 -1
  502. package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +0 -1
  503. package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +0 -1
  504. package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +0 -1
  505. package/dist/lib/components/ContextMenu/index.mjs.map +0 -1
  506. package/dist/lib/components/DataList/index.mjs.map +0 -1
  507. package/dist/lib/components/Dialog/DialogTrigger.mjs.map +0 -1
  508. package/dist/lib/components/Dialog/index.mjs.map +0 -1
  509. package/dist/lib/components/DoughnutChart/index.mjs.map +0 -1
  510. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +0 -1
  511. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +0 -1
  512. package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +0 -1
  513. package/dist/lib/components/DropdownMenu/index.mjs.map +0 -1
  514. package/dist/lib/components/Editor/index.mjs +0 -3
  515. package/dist/lib/components/Gnb/index.mjs.map +0 -1
  516. package/dist/lib/components/Grid/Pagination.mjs.map +0 -1
  517. package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +0 -1
  518. package/dist/lib/components/HoverCard/index.mjs.map +0 -1
  519. package/dist/lib/components/LineChart/index.mjs.map +0 -1
  520. package/dist/lib/components/Menubar/MenubarMenu.mjs.map +0 -1
  521. package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +0 -1
  522. package/dist/lib/components/Menubar/MenubarSub.mjs.map +0 -1
  523. package/dist/lib/components/Menubar/index.mjs.map +0 -1
  524. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +0 -1
  525. package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +0 -1
  526. package/dist/lib/components/NavigationMenu/index.mjs.map +0 -1
  527. package/dist/lib/components/PieChart/index.mjs.map +0 -1
  528. package/dist/lib/components/Popover/PopoverTrigger.mjs.map +0 -1
  529. package/dist/lib/components/Popover/index.mjs.map +0 -1
  530. package/dist/lib/components/RadarChart/index.mjs.map +0 -1
  531. package/dist/lib/components/RadioCards/index.mjs.map +0 -1
  532. package/dist/lib/components/RadioGroup/index.mjs.map +0 -1
  533. package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +0 -1
  534. package/dist/lib/components/SegmentedControl/index.mjs.map +0 -1
  535. package/dist/lib/components/Toast/index.mjs.map +0 -1
  536. package/dist/lib/components/ToggleGroup/index.mjs.map +0 -1
  537. package/dist/lib/constants.mjs.map +0 -1
  538. package/dist/lib/utils/utils.mjs.map +0 -1
  539. /package/dist/lib/{index.mjs.map → _virtual/index.mjs.map} +0 -0
  540. /package/dist/lib/{Typography → dist/lib/Typography}/Header/index.mjs +0 -0
  541. /package/dist/lib/{Typography → dist/lib/Typography}/Header/index.mjs.map +0 -0
  542. /package/dist/lib/{Typography → dist/lib/Typography}/Text/index.mjs +0 -0
  543. /package/dist/lib/{Typography → dist/lib/Typography}/Text/index.mjs.map +0 -0
  544. /package/dist/lib/{color → dist/lib/color}/alpha.mjs +0 -0
  545. /package/dist/lib/{color → dist/lib/color}/constants.mjs +0 -0
  546. /package/dist/lib/{color → dist/lib/color}/light.mjs +0 -0
  547. /package/dist/lib/{components → dist/lib/components}/Accordion/index.mjs +0 -0
  548. /package/dist/lib/{components → dist/lib/components}/Accordion/index.mjs.map +0 -0
  549. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogAction.mjs +0 -0
  550. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogAction.mjs.map +0 -0
  551. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogCancel.mjs +0 -0
  552. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogCancel.mjs.map +0 -0
  553. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogContent.mjs +0 -0
  554. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogContent.mjs.map +0 -0
  555. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogDescription.mjs +0 -0
  556. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogDescription.mjs.map +0 -0
  557. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogRoot.mjs +0 -0
  558. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogRoot.mjs.map +0 -0
  559. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogTitle.mjs +0 -0
  560. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogTitle.mjs.map +0 -0
  561. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogTrigger.mjs +0 -0
  562. /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogTrigger.mjs.map +0 -0
  563. /package/dist/lib/{components → dist/lib/components}/AlertDialog/index.mjs +0 -0
  564. /package/dist/lib/{components → dist/lib/components}/AspectRatio/index.mjs +0 -0
  565. /package/dist/lib/{components → dist/lib/components}/AspectRatio/index.mjs.map +0 -0
  566. /package/dist/lib/{components → dist/lib/components}/Avatar/index.mjs +0 -0
  567. /package/dist/lib/{components → dist/lib/components}/Avatar/index.mjs.map +0 -0
  568. /package/dist/lib/{components → dist/lib/components}/Badge/index.mjs +0 -0
  569. /package/dist/lib/{components → dist/lib/components}/Badge/index.mjs.map +0 -0
  570. /package/dist/lib/{components → dist/lib/components}/BarChart/index.mjs +0 -0
  571. /package/dist/lib/{components → dist/lib/components}/Breadcrumb/BreadcrumbEllipsis.mjs +0 -0
  572. /package/dist/lib/{components → dist/lib/components}/Breadcrumb/BreadcrumbItem.mjs +0 -0
  573. /package/dist/lib/{components → dist/lib/components}/Breadcrumb/BreadcrumbLink.mjs +0 -0
  574. /package/dist/lib/{components → dist/lib/components}/Breadcrumb/BreadcrumbList.mjs +0 -0
  575. /package/dist/lib/{components → dist/lib/components}/Breadcrumb/BreadcrumbPage.mjs +0 -0
  576. /package/dist/lib/{components → dist/lib/components}/Breadcrumb/BreadcrumbRoot.mjs +0 -0
  577. /package/dist/lib/{components → dist/lib/components}/Breadcrumb/BreadcrumbRoot.mjs.map +0 -0
  578. /package/dist/lib/{components → dist/lib/components}/Breadcrumb/BreadcrumbSeparator.mjs +0 -0
  579. /package/dist/lib/{components → dist/lib/components}/Breadcrumb/index.mjs +0 -0
  580. /package/dist/lib/{components → dist/lib/components}/BubbleChart/index.mjs +0 -0
  581. /package/dist/lib/{components → dist/lib/components}/Button/index.mjs +0 -0
  582. /package/dist/lib/{components → dist/lib/components}/Button/index.mjs.map +0 -0
  583. /package/dist/lib/{components → dist/lib/components}/Callout/CalloutIcon.mjs +0 -0
  584. /package/dist/lib/{components → dist/lib/components}/Callout/CalloutIcon.mjs.map +0 -0
  585. /package/dist/lib/{components → dist/lib/components}/Callout/CalloutRoot.mjs +0 -0
  586. /package/dist/lib/{components → dist/lib/components}/Callout/CalloutRoot.mjs.map +0 -0
  587. /package/dist/lib/{components → dist/lib/components}/Callout/CalloutText.mjs +0 -0
  588. /package/dist/lib/{components → dist/lib/components}/Callout/CalloutText.mjs.map +0 -0
  589. /package/dist/lib/{components → dist/lib/components}/Callout/index.mjs +0 -0
  590. /package/dist/lib/{components → dist/lib/components}/Card/index.mjs +0 -0
  591. /package/dist/lib/{components → dist/lib/components}/Card/index.mjs.map +0 -0
  592. /package/dist/lib/{components → dist/lib/components}/Checkbox/index.mjs +0 -0
  593. /package/dist/lib/{components → dist/lib/components}/Checkbox/index.mjs.map +0 -0
  594. /package/dist/lib/{components → dist/lib/components}/CheckboxCard/index.mjs +0 -0
  595. /package/dist/lib/{components → dist/lib/components}/CheckboxCard/index.mjs.map +0 -0
  596. /package/dist/lib/{components → dist/lib/components}/CheckboxGroup/CheckboxGroupItem.mjs +0 -0
  597. /package/dist/lib/{components → dist/lib/components}/CheckboxGroup/CheckboxGroupItem.mjs.map +0 -0
  598. /package/dist/lib/{components → dist/lib/components}/CheckboxGroup/CheckboxGroupRoot.mjs +0 -0
  599. /package/dist/lib/{components → dist/lib/components}/CheckboxGroup/CheckboxGroupRoot.mjs.map +0 -0
  600. /package/dist/lib/{components → dist/lib/components}/CheckboxGroup/index.mjs +0 -0
  601. /package/dist/lib/{components → dist/lib/components}/Collapsible/index.mjs +0 -0
  602. /package/dist/lib/{components → dist/lib/components}/Collapsible/index.mjs.map +0 -0
  603. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuCheckboxItem.mjs +0 -0
  604. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuCheckboxItem.mjs.map +0 -0
  605. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuContent.mjs +0 -0
  606. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuContent.mjs.map +0 -0
  607. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuGroup.mjs +0 -0
  608. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuItem.mjs +0 -0
  609. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuItem.mjs.map +0 -0
  610. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuItemIndicator.mjs +0 -0
  611. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuItemIndicator.mjs.map +0 -0
  612. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuLabel.mjs +0 -0
  613. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuLabel.mjs.map +0 -0
  614. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioGroup.mjs +0 -0
  615. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioGroup.mjs.map +0 -0
  616. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioItem.mjs +0 -0
  617. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioItem.mjs.map +0 -0
  618. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRoot.mjs +0 -0
  619. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRoot.mjs.map +0 -0
  620. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuSeparator.mjs +0 -0
  621. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuSubContent.mjs +0 -0
  622. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuSubContent.mjs.map +0 -0
  623. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuSubTrigger.mjs +0 -0
  624. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuSubTrigger.mjs.map +0 -0
  625. /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuTrigger.mjs +0 -0
  626. /package/dist/lib/{components → dist/lib/components}/ContextMenu/index.mjs +0 -0
  627. /package/dist/lib/{components → dist/lib/components}/DataList/DataListItem.mjs +0 -0
  628. /package/dist/lib/{components → dist/lib/components}/DataList/DataListItem.mjs.map +0 -0
  629. /package/dist/lib/{components → dist/lib/components}/DataList/DataListLabel.mjs +0 -0
  630. /package/dist/lib/{components → dist/lib/components}/DataList/DataListLabel.mjs.map +0 -0
  631. /package/dist/lib/{components → dist/lib/components}/DataList/DataListRoot.mjs +0 -0
  632. /package/dist/lib/{components → dist/lib/components}/DataList/DataListRoot.mjs.map +0 -0
  633. /package/dist/lib/{components → dist/lib/components}/DataList/DataListValue.mjs +0 -0
  634. /package/dist/lib/{components → dist/lib/components}/DataList/DataListValue.mjs.map +0 -0
  635. /package/dist/lib/{components → dist/lib/components}/DataList/index.mjs +0 -0
  636. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogAction.mjs +0 -0
  637. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogAction.mjs.map +0 -0
  638. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogCancel.mjs +0 -0
  639. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogCancel.mjs.map +0 -0
  640. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogContent.mjs +0 -0
  641. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogContent.mjs.map +0 -0
  642. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogDescription.mjs +0 -0
  643. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogDescription.mjs.map +0 -0
  644. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogRoot.mjs +0 -0
  645. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogRoot.mjs.map +0 -0
  646. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogSlot.mjs +0 -0
  647. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogSlot.mjs.map +0 -0
  648. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogTitle.mjs +0 -0
  649. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogTitle.mjs.map +0 -0
  650. /package/dist/lib/{components → dist/lib/components}/Dialog/DialogTrigger.mjs +0 -0
  651. /package/dist/lib/{components → dist/lib/components}/Dialog/index.mjs +0 -0
  652. /package/dist/lib/{components → dist/lib/components}/DoughnutChart/index.mjs +0 -0
  653. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdonMenuRadioGroup.mjs +0 -0
  654. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdonMenuSubContent.mjs +0 -0
  655. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdonMenuSubContent.mjs.map +0 -0
  656. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuCheckboxItem.mjs +0 -0
  657. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +0 -0
  658. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuContent.mjs +0 -0
  659. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuContent.mjs.map +0 -0
  660. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuItem.mjs +0 -0
  661. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuItem.mjs.map +0 -0
  662. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuItemIndicator.mjs +0 -0
  663. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuItemIndicator.mjs.map +0 -0
  664. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuLable.mjs +0 -0
  665. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuLable.mjs.map +0 -0
  666. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuRadioItem.mjs +0 -0
  667. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuRadioItem.mjs.map +0 -0
  668. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuRoot.mjs +0 -0
  669. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuRoot.mjs.map +0 -0
  670. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuSeparator.mjs +0 -0
  671. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuSub.mjs +0 -0
  672. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuSubTrigger.mjs +0 -0
  673. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuSubTrigger.mjs.map +0 -0
  674. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuTrigger.mjs +0 -0
  675. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuTrigger.mjs.map +0 -0
  676. /package/dist/lib/{components → dist/lib/components}/DropdownMenu/index.mjs +0 -0
  677. /package/dist/lib/{components → dist/lib/components}/Editor/index.mjs.map +0 -0
  678. /package/dist/lib/{components → dist/lib/components}/Footer/index.mjs +0 -0
  679. /package/dist/lib/{components → dist/lib/components}/Footer/index.mjs.map +0 -0
  680. /package/dist/lib/{components → dist/lib/components}/Gnb/GnbInfo.mjs +0 -0
  681. /package/dist/lib/{components → dist/lib/components}/Gnb/GnbInfo.mjs.map +0 -0
  682. /package/dist/lib/{components → dist/lib/components}/Gnb/GnbLogo.mjs +0 -0
  683. /package/dist/lib/{components → dist/lib/components}/Gnb/GnbLogo.mjs.map +0 -0
  684. /package/dist/lib/{components → dist/lib/components}/Gnb/GnbMenu.mjs +0 -0
  685. /package/dist/lib/{components → dist/lib/components}/Gnb/GnbMenu.mjs.map +0 -0
  686. /package/dist/lib/{components → dist/lib/components}/Gnb/GnbRoot.mjs +0 -0
  687. /package/dist/lib/{components → dist/lib/components}/Gnb/GnbRoot.mjs.map +0 -0
  688. /package/dist/lib/{components → dist/lib/components}/Gnb/index.mjs +0 -0
  689. /package/dist/lib/{components → dist/lib/components}/Grid/Pagination.mjs +0 -0
  690. /package/dist/lib/{components → dist/lib/components}/Grid/index.mjs +0 -0
  691. /package/dist/lib/{components → dist/lib/components}/Grid/index.mjs.map +0 -0
  692. /package/dist/lib/{components → dist/lib/components}/Grid/useGrid.mjs +0 -0
  693. /package/dist/lib/{components → dist/lib/components}/Grid/useGrid.mjs.map +0 -0
  694. /package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardContent.mjs +0 -0
  695. /package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardContent.mjs.map +0 -0
  696. /package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardRoot.mjs +0 -0
  697. /package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardRoot.mjs.map +0 -0
  698. /package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardTrigger.mjs +0 -0
  699. /package/dist/lib/{components → dist/lib/components}/HoverCard/index.mjs +0 -0
  700. /package/dist/lib/{components → dist/lib/components}/IconButton/index.mjs +0 -0
  701. /package/dist/lib/{components → dist/lib/components}/IconButton/index.mjs.map +0 -0
  702. /package/dist/lib/{components → dist/lib/components}/Inset/index.mjs +0 -0
  703. /package/dist/lib/{components → dist/lib/components}/Inset/index.mjs.map +0 -0
  704. /package/dist/lib/{components → dist/lib/components}/Label/index.mjs +0 -0
  705. /package/dist/lib/{components → dist/lib/components}/Label/index.mjs.map +0 -0
  706. /package/dist/lib/{components → dist/lib/components}/LineChart/index.mjs +0 -0
  707. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarCheckboxItem.mjs +0 -0
  708. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarCheckboxItem.mjs.map +0 -0
  709. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarContent.mjs +0 -0
  710. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarContent.mjs.map +0 -0
  711. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarItem.mjs +0 -0
  712. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarItem.mjs.map +0 -0
  713. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarItemIndicator.mjs +0 -0
  714. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarItemIndicator.mjs.map +0 -0
  715. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarMenu.mjs +0 -0
  716. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRadioGroup.mjs +0 -0
  717. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRadioGroup.mjs.map +0 -0
  718. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRadioItem.mjs +0 -0
  719. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRadioItem.mjs.map +0 -0
  720. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRoot.mjs +0 -0
  721. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRoot.mjs.map +0 -0
  722. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSeparator.mjs +0 -0
  723. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSub.mjs +0 -0
  724. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSubContent.mjs +0 -0
  725. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSubContent.mjs.map +0 -0
  726. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSubTrigger.mjs +0 -0
  727. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSubTrigger.mjs.map +0 -0
  728. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarTrigger.mjs +0 -0
  729. /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarTrigger.mjs.map +0 -0
  730. /package/dist/lib/{components → dist/lib/components}/Menubar/index.mjs +0 -0
  731. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuContent.mjs +0 -0
  732. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuContent.mjs.map +0 -0
  733. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuIndicator.mjs +0 -0
  734. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuItem.mjs +0 -0
  735. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuLink.mjs +0 -0
  736. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuLink.mjs.map +0 -0
  737. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuList.mjs +0 -0
  738. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuList.mjs.map +0 -0
  739. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuRoot.mjs +0 -0
  740. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuRoot.mjs.map +0 -0
  741. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuTrigger.mjs +0 -0
  742. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuTrigger.mjs.map +0 -0
  743. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuViewport.mjs +0 -0
  744. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuViewport.mjs.map +0 -0
  745. /package/dist/lib/{components → dist/lib/components}/NavigationMenu/index.mjs +0 -0
  746. /package/dist/lib/{components → dist/lib/components}/PieChart/index.mjs +0 -0
  747. /package/dist/lib/{components → dist/lib/components}/Popover/PopoverClose.mjs +0 -0
  748. /package/dist/lib/{components → dist/lib/components}/Popover/PopoverClose.mjs.map +0 -0
  749. /package/dist/lib/{components → dist/lib/components}/Popover/PopoverContent.mjs +0 -0
  750. /package/dist/lib/{components → dist/lib/components}/Popover/PopoverContent.mjs.map +0 -0
  751. /package/dist/lib/{components → dist/lib/components}/Popover/PopoverRoot.mjs +0 -0
  752. /package/dist/lib/{components → dist/lib/components}/Popover/PopoverRoot.mjs.map +0 -0
  753. /package/dist/lib/{components → dist/lib/components}/Popover/PopoverTrigger.mjs +0 -0
  754. /package/dist/lib/{components → dist/lib/components}/Popover/index.mjs +0 -0
  755. /package/dist/lib/{components → dist/lib/components}/Progress/index.mjs +0 -0
  756. /package/dist/lib/{components → dist/lib/components}/Progress/index.mjs.map +0 -0
  757. /package/dist/lib/{components → dist/lib/components}/RadarChart/index.mjs +0 -0
  758. /package/dist/lib/{components → dist/lib/components}/Radio/index.mjs +0 -0
  759. /package/dist/lib/{components → dist/lib/components}/Radio/index.mjs.map +0 -0
  760. /package/dist/lib/{components → dist/lib/components}/RadioCards/RadioCardsItem.mjs +0 -0
  761. /package/dist/lib/{components → dist/lib/components}/RadioCards/RadioCardsItem.mjs.map +0 -0
  762. /package/dist/lib/{components → dist/lib/components}/RadioCards/RadioCardsRoot.mjs +0 -0
  763. /package/dist/lib/{components → dist/lib/components}/RadioCards/RadioCardsRoot.mjs.map +0 -0
  764. /package/dist/lib/{components → dist/lib/components}/RadioCards/index.mjs +0 -0
  765. /package/dist/lib/{components → dist/lib/components}/RadioGroup/RadioGroupItem.mjs +0 -0
  766. /package/dist/lib/{components → dist/lib/components}/RadioGroup/RadioGroupItem.mjs.map +0 -0
  767. /package/dist/lib/{components → dist/lib/components}/RadioGroup/RadioGroupRoot.mjs +0 -0
  768. /package/dist/lib/{components → dist/lib/components}/RadioGroup/RadioGroupRoot.mjs.map +0 -0
  769. /package/dist/lib/{components → dist/lib/components}/RadioGroup/index.mjs +0 -0
  770. /package/dist/lib/{components → dist/lib/components}/ScrollArea/index.mjs +0 -0
  771. /package/dist/lib/{components → dist/lib/components}/ScrollArea/index.mjs.map +0 -0
  772. /package/dist/lib/{components → dist/lib/components}/SegmentedControl/SegmentedControlItem.mjs +0 -0
  773. /package/dist/lib/{components → dist/lib/components}/SegmentedControl/SegmentedControlRoot.mjs +0 -0
  774. /package/dist/lib/{components → dist/lib/components}/SegmentedControl/SegmentedControlRoot.mjs.map +0 -0
  775. /package/dist/lib/{components → dist/lib/components}/SegmentedControl/index.mjs +0 -0
  776. /package/dist/lib/{components → dist/lib/components}/Select/index.mjs +0 -0
  777. /package/dist/lib/{components → dist/lib/components}/Select/index.mjs.map +0 -0
  778. /package/dist/lib/{components → dist/lib/components}/Separator/index.mjs +0 -0
  779. /package/dist/lib/{components → dist/lib/components}/Separator/index.mjs.map +0 -0
  780. /package/dist/lib/{components → dist/lib/components}/Skeleton/index.mjs +0 -0
  781. /package/dist/lib/{components → dist/lib/components}/Skeleton/index.mjs.map +0 -0
  782. /package/dist/lib/{components → dist/lib/components}/Slider/index.mjs +0 -0
  783. /package/dist/lib/{components → dist/lib/components}/Slider/index.mjs.map +0 -0
  784. /package/dist/lib/{components → dist/lib/components}/Spinner/index.mjs +0 -0
  785. /package/dist/lib/{components → dist/lib/components}/Spinner/index.mjs.map +0 -0
  786. /package/dist/lib/{components → dist/lib/components}/TabNav/index.mjs +0 -0
  787. /package/dist/lib/{components → dist/lib/components}/TabNav/index.mjs.map +0 -0
  788. /package/dist/lib/{components → dist/lib/components}/Table/index.mjs +0 -0
  789. /package/dist/lib/{components → dist/lib/components}/Table/index.mjs.map +0 -0
  790. /package/dist/lib/{components → dist/lib/components}/Tabs/index.mjs +0 -0
  791. /package/dist/lib/{components → dist/lib/components}/Tabs/index.mjs.map +0 -0
  792. /package/dist/lib/{components → dist/lib/components}/TextArea/index.mjs +0 -0
  793. /package/dist/lib/{components → dist/lib/components}/TextArea/index.mjs.map +0 -0
  794. /package/dist/lib/{components → dist/lib/components}/TextField/index.mjs +0 -0
  795. /package/dist/lib/{components → dist/lib/components}/TextField/index.mjs.map +0 -0
  796. /package/dist/lib/{components → dist/lib/components}/Toast/ToastActionButton.mjs +0 -0
  797. /package/dist/lib/{components → dist/lib/components}/Toast/ToastActionButton.mjs.map +0 -0
  798. /package/dist/lib/{components → dist/lib/components}/Toast/ToastDescription.mjs +0 -0
  799. /package/dist/lib/{components → dist/lib/components}/Toast/ToastDescription.mjs.map +0 -0
  800. /package/dist/lib/{components → dist/lib/components}/Toast/ToastRoot.mjs +0 -0
  801. /package/dist/lib/{components → dist/lib/components}/Toast/ToastRoot.mjs.map +0 -0
  802. /package/dist/lib/{components → dist/lib/components}/Toast/ToastTitle.mjs +0 -0
  803. /package/dist/lib/{components → dist/lib/components}/Toast/ToastTitle.mjs.map +0 -0
  804. /package/dist/lib/{components → dist/lib/components}/Toast/index.mjs +0 -0
  805. /package/dist/lib/{components → dist/lib/components}/Toggle/ToggleWithText.mjs +0 -0
  806. /package/dist/lib/{components → dist/lib/components}/Toggle/ToggleWithText.mjs.map +0 -0
  807. /package/dist/lib/{components → dist/lib/components}/Toggle/index.mjs +0 -0
  808. /package/dist/lib/{components → dist/lib/components}/Toggle/index.mjs.map +0 -0
  809. /package/dist/lib/{components → dist/lib/components}/ToggleGroup/ToggleGroupItem.mjs +0 -0
  810. /package/dist/lib/{components → dist/lib/components}/ToggleGroup/ToggleGroupItem.mjs.map +0 -0
  811. /package/dist/lib/{components → dist/lib/components}/ToggleGroup/ToggleGroupRoot.mjs +0 -0
  812. /package/dist/lib/{components → dist/lib/components}/ToggleGroup/ToggleGroupRoot.mjs.map +0 -0
  813. /package/dist/lib/{components → dist/lib/components}/ToggleGroup/index.mjs +0 -0
  814. /package/dist/lib/{components → dist/lib/components}/ToggleSwitch/index.mjs +0 -0
  815. /package/dist/lib/{components → dist/lib/components}/ToggleSwitch/index.mjs.map +0 -0
  816. /package/dist/lib/{components → dist/lib/components}/Tooltip/index.mjs +0 -0
  817. /package/dist/lib/{components → dist/lib/components}/Tooltip/index.mjs.map +0 -0
  818. /package/dist/lib/{constants.mjs → dist/lib/constants.mjs} +0 -0
  819. /package/dist/lib/{index.mjs → dist/lib/index.mjs} +0 -0
  820. /package/dist/lib/{theme → dist/lib/theme}/ThemeProvider.mjs +0 -0
  821. /package/dist/lib/{theme → dist/lib/theme}/ThemeProvider.mjs.map +0 -0
  822. /package/dist/lib/{utils → dist/lib/utils}/useDarkMode.mjs +0 -0
  823. /package/dist/lib/{utils → dist/lib/utils}/useDarkMode.mjs.map +0 -0
  824. /package/dist/lib/{utils → dist/lib/utils}/utils.mjs +0 -0
  825. /package/public/{skins → tinymce/skins}/content/default/content.css +0 -0
  826. /package/public/{skins → tinymce/skins}/ui/oxide/content.min.css +0 -0
  827. /package/public/{skins → tinymce/skins}/ui/oxide/skin.min.css +0 -0
@@ -0,0 +1,1246 @@
1
+ "use strict";
2
+ /**
3
+ * TinyMCE version 6.8.5 (TBD)
4
+ */
5
+ var __assign = (this && this.__assign) || function () {
6
+ __assign = Object.assign || function(t) {
7
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
8
+ s = arguments[i];
9
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
10
+ t[p] = s[p];
11
+ }
12
+ return t;
13
+ };
14
+ return __assign.apply(this, arguments);
15
+ };
16
+ (function () {
17
+ 'use strict';
18
+ var global$5 = tinymce.util.Tools.resolve('tinymce.PluginManager');
19
+ var hasProto = function (v, constructor, predicate) {
20
+ var _a;
21
+ if (predicate(v, constructor.prototype)) {
22
+ return true;
23
+ }
24
+ else {
25
+ return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;
26
+ }
27
+ };
28
+ var typeOf = function (x) {
29
+ var t = typeof x;
30
+ if (x === null) {
31
+ return 'null';
32
+ }
33
+ else if (t === 'object' && Array.isArray(x)) {
34
+ return 'array';
35
+ }
36
+ else if (t === 'object' && hasProto(x, String, function (o, proto) { return proto.isPrototypeOf(o); })) {
37
+ return 'string';
38
+ }
39
+ else {
40
+ return t;
41
+ }
42
+ };
43
+ var isType = function (type) { return function (value) { return typeOf(value) === type; }; };
44
+ var isSimpleType = function (type) { return function (value) { return typeof value === type; }; };
45
+ var eq = function (t) { return function (a) { return t === a; }; };
46
+ var isString = isType('string');
47
+ var isObject = isType('object');
48
+ var isArray = isType('array');
49
+ var isNull = eq(null);
50
+ var isBoolean = isSimpleType('boolean');
51
+ var isNullable = function (a) { return a === null || a === undefined; };
52
+ var isNonNullable = function (a) { return !isNullable(a); };
53
+ var isFunction = isSimpleType('function');
54
+ var isArrayOf = function (value, pred) {
55
+ if (isArray(value)) {
56
+ for (var i = 0, len = value.length; i < len; ++i) {
57
+ if (!pred(value[i])) {
58
+ return false;
59
+ }
60
+ }
61
+ return true;
62
+ }
63
+ return false;
64
+ };
65
+ var noop = function () {
66
+ };
67
+ var constant = function (value) {
68
+ return function () {
69
+ return value;
70
+ };
71
+ };
72
+ var tripleEquals = function (a, b) {
73
+ return a === b;
74
+ };
75
+ var Optional = /** @class */ (function () {
76
+ function Optional(tag, value) {
77
+ this.tag = tag;
78
+ this.value = value;
79
+ }
80
+ Optional.some = function (value) {
81
+ return new Optional(true, value);
82
+ };
83
+ Optional.none = function () {
84
+ return Optional.singletonNone;
85
+ };
86
+ Optional.prototype.fold = function (onNone, onSome) {
87
+ if (this.tag) {
88
+ return onSome(this.value);
89
+ }
90
+ else {
91
+ return onNone();
92
+ }
93
+ };
94
+ Optional.prototype.isSome = function () {
95
+ return this.tag;
96
+ };
97
+ Optional.prototype.isNone = function () {
98
+ return !this.tag;
99
+ };
100
+ Optional.prototype.map = function (mapper) {
101
+ if (this.tag) {
102
+ return Optional.some(mapper(this.value));
103
+ }
104
+ else {
105
+ return Optional.none();
106
+ }
107
+ };
108
+ Optional.prototype.bind = function (binder) {
109
+ if (this.tag) {
110
+ return binder(this.value);
111
+ }
112
+ else {
113
+ return Optional.none();
114
+ }
115
+ };
116
+ Optional.prototype.exists = function (predicate) {
117
+ return this.tag && predicate(this.value);
118
+ };
119
+ Optional.prototype.forall = function (predicate) {
120
+ return !this.tag || predicate(this.value);
121
+ };
122
+ Optional.prototype.filter = function (predicate) {
123
+ if (!this.tag || predicate(this.value)) {
124
+ return this;
125
+ }
126
+ else {
127
+ return Optional.none();
128
+ }
129
+ };
130
+ Optional.prototype.getOr = function (replacement) {
131
+ return this.tag ? this.value : replacement;
132
+ };
133
+ Optional.prototype.or = function (replacement) {
134
+ return this.tag ? this : replacement;
135
+ };
136
+ Optional.prototype.getOrThunk = function (thunk) {
137
+ return this.tag ? this.value : thunk();
138
+ };
139
+ Optional.prototype.orThunk = function (thunk) {
140
+ return this.tag ? this : thunk();
141
+ };
142
+ Optional.prototype.getOrDie = function (message) {
143
+ if (!this.tag) {
144
+ throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');
145
+ }
146
+ else {
147
+ return this.value;
148
+ }
149
+ };
150
+ Optional.from = function (value) {
151
+ return isNonNullable(value) ? Optional.some(value) : Optional.none();
152
+ };
153
+ Optional.prototype.getOrNull = function () {
154
+ return this.tag ? this.value : null;
155
+ };
156
+ Optional.prototype.getOrUndefined = function () {
157
+ return this.value;
158
+ };
159
+ Optional.prototype.each = function (worker) {
160
+ if (this.tag) {
161
+ worker(this.value);
162
+ }
163
+ };
164
+ Optional.prototype.toArray = function () {
165
+ return this.tag ? [this.value] : [];
166
+ };
167
+ Optional.prototype.toString = function () {
168
+ return this.tag ? "some(".concat(this.value, ")") : 'none()';
169
+ };
170
+ return Optional;
171
+ }());
172
+ Optional.singletonNone = new Optional(false);
173
+ var nativeIndexOf = Array.prototype.indexOf;
174
+ var nativePush = Array.prototype.push;
175
+ var rawIndexOf = function (ts, t) { return nativeIndexOf.call(ts, t); };
176
+ var contains = function (xs, x) { return rawIndexOf(xs, x) > -1; };
177
+ var map = function (xs, f) {
178
+ var len = xs.length;
179
+ var r = new Array(len);
180
+ for (var i = 0; i < len; i++) {
181
+ var x = xs[i];
182
+ r[i] = f(x, i);
183
+ }
184
+ return r;
185
+ };
186
+ var each$1 = function (xs, f) {
187
+ for (var i = 0, len = xs.length; i < len; i++) {
188
+ var x = xs[i];
189
+ f(x, i);
190
+ }
191
+ };
192
+ var foldl = function (xs, f, acc) {
193
+ each$1(xs, function (x, i) {
194
+ acc = f(acc, x, i);
195
+ });
196
+ return acc;
197
+ };
198
+ var flatten = function (xs) {
199
+ var r = [];
200
+ for (var i = 0, len = xs.length; i < len; ++i) {
201
+ if (!isArray(xs[i])) {
202
+ throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);
203
+ }
204
+ nativePush.apply(r, xs[i]);
205
+ }
206
+ return r;
207
+ };
208
+ var bind = function (xs, f) { return flatten(map(xs, f)); };
209
+ var findMap = function (arr, f) {
210
+ for (var i = 0; i < arr.length; i++) {
211
+ var r = f(arr[i], i);
212
+ if (r.isSome()) {
213
+ return r;
214
+ }
215
+ }
216
+ return Optional.none();
217
+ };
218
+ var is = function (lhs, rhs, comparator) {
219
+ if (comparator === void 0) { comparator = tripleEquals; }
220
+ return lhs.exists(function (left) { return comparator(left, rhs); });
221
+ };
222
+ var cat = function (arr) {
223
+ var r = [];
224
+ var push = function (x) {
225
+ r.push(x);
226
+ };
227
+ for (var i = 0; i < arr.length; i++) {
228
+ arr[i].each(push);
229
+ }
230
+ return r;
231
+ };
232
+ var someIf = function (b, a) { return b ? Optional.some(a) : Optional.none(); };
233
+ var option = function (name) { return function (editor) { return editor.options.get(name); }; };
234
+ var register$1 = function (editor) {
235
+ var registerOption = editor.options.register;
236
+ registerOption('link_assume_external_targets', {
237
+ processor: function (value) {
238
+ var valid = isString(value) || isBoolean(value);
239
+ if (valid) {
240
+ if (value === true) {
241
+ return {
242
+ value: 1,
243
+ valid: valid
244
+ };
245
+ }
246
+ else if (value === 'http' || value === 'https') {
247
+ return {
248
+ value: value,
249
+ valid: valid
250
+ };
251
+ }
252
+ else {
253
+ return {
254
+ value: 0,
255
+ valid: valid
256
+ };
257
+ }
258
+ }
259
+ else {
260
+ return {
261
+ valid: false,
262
+ message: 'Must be a string or a boolean.'
263
+ };
264
+ }
265
+ },
266
+ default: false
267
+ });
268
+ registerOption('link_context_toolbar', {
269
+ processor: 'boolean',
270
+ default: false
271
+ });
272
+ registerOption('link_list', { processor: function (value) { return isString(value) || isFunction(value) || isArrayOf(value, isObject); } });
273
+ registerOption('link_default_target', { processor: 'string' });
274
+ registerOption('link_default_protocol', {
275
+ processor: 'string',
276
+ default: 'https'
277
+ });
278
+ registerOption('link_target_list', {
279
+ processor: function (value) { return isBoolean(value) || isArrayOf(value, isObject); },
280
+ default: true
281
+ });
282
+ registerOption('link_rel_list', {
283
+ processor: 'object[]',
284
+ default: []
285
+ });
286
+ registerOption('link_class_list', {
287
+ processor: 'object[]',
288
+ default: []
289
+ });
290
+ registerOption('link_title', {
291
+ processor: 'boolean',
292
+ default: true
293
+ });
294
+ registerOption('allow_unsafe_link_target', {
295
+ processor: 'boolean',
296
+ default: false
297
+ });
298
+ registerOption('link_quicklink', {
299
+ processor: 'boolean',
300
+ default: false
301
+ });
302
+ };
303
+ var assumeExternalTargets = option('link_assume_external_targets');
304
+ var hasContextToolbar = option('link_context_toolbar');
305
+ var getLinkList = option('link_list');
306
+ var getDefaultLinkTarget = option('link_default_target');
307
+ var getDefaultLinkProtocol = option('link_default_protocol');
308
+ var getTargetList = option('link_target_list');
309
+ var getRelList = option('link_rel_list');
310
+ var getLinkClassList = option('link_class_list');
311
+ var shouldShowLinkTitle = option('link_title');
312
+ var allowUnsafeLinkTarget = option('allow_unsafe_link_target');
313
+ var useQuickLink = option('link_quicklink');
314
+ var global$4 = tinymce.util.Tools.resolve('tinymce.util.Tools');
315
+ var getValue = function (item) { return isString(item.value) ? item.value : ''; };
316
+ var getText = function (item) {
317
+ if (isString(item.text)) {
318
+ return item.text;
319
+ }
320
+ else if (isString(item.title)) {
321
+ return item.title;
322
+ }
323
+ else {
324
+ return '';
325
+ }
326
+ };
327
+ var sanitizeList = function (list, extractValue) {
328
+ var out = [];
329
+ global$4.each(list, function (item) {
330
+ var text = getText(item);
331
+ if (item.menu !== undefined) {
332
+ var items = sanitizeList(item.menu, extractValue);
333
+ out.push({
334
+ text: text,
335
+ items: items
336
+ });
337
+ }
338
+ else {
339
+ var value = extractValue(item);
340
+ out.push({
341
+ text: text,
342
+ value: value
343
+ });
344
+ }
345
+ });
346
+ return out;
347
+ };
348
+ var sanitizeWith = function (extracter) {
349
+ if (extracter === void 0) { extracter = getValue; }
350
+ return function (list) { return Optional.from(list).map(function (list) { return sanitizeList(list, extracter); }); };
351
+ };
352
+ var sanitize = function (list) { return sanitizeWith(getValue)(list); };
353
+ var createUi = function (name, label) { return function (items) { return ({
354
+ name: name,
355
+ type: 'listbox',
356
+ label: label,
357
+ items: items
358
+ }); }; };
359
+ var ListOptions = {
360
+ sanitize: sanitize,
361
+ sanitizeWith: sanitizeWith,
362
+ createUi: createUi,
363
+ getValue: getValue
364
+ };
365
+ var keys = Object.keys;
366
+ var hasOwnProperty = Object.hasOwnProperty;
367
+ var each = function (obj, f) {
368
+ var props = keys(obj);
369
+ for (var k = 0, len = props.length; k < len; k++) {
370
+ var i = props[k];
371
+ var x = obj[i];
372
+ f(x, i);
373
+ }
374
+ };
375
+ var objAcc = function (r) { return function (x, i) {
376
+ r[i] = x;
377
+ }; };
378
+ var internalFilter = function (obj, pred, onTrue, onFalse) {
379
+ each(obj, function (x, i) {
380
+ (pred(x, i) ? onTrue : onFalse)(x, i);
381
+ });
382
+ };
383
+ var filter = function (obj, pred) {
384
+ var t = {};
385
+ internalFilter(obj, pred, objAcc(t), noop);
386
+ return t;
387
+ };
388
+ var has = function (obj, key) { return hasOwnProperty.call(obj, key); };
389
+ var hasNonNullableKey = function (obj, key) { return has(obj, key) && obj[key] !== undefined && obj[key] !== null; };
390
+ var global$3 = tinymce.util.Tools.resolve('tinymce.dom.TreeWalker');
391
+ var global$2 = tinymce.util.Tools.resolve('tinymce.util.URI');
392
+ var isAnchor = function (elm) { return isNonNullable(elm) && elm.nodeName.toLowerCase() === 'a'; };
393
+ var isLink = function (elm) { return isAnchor(elm) && !!getHref(elm); };
394
+ var collectNodesInRange = function (rng, predicate) {
395
+ if (rng.collapsed) {
396
+ return [];
397
+ }
398
+ else {
399
+ var contents = rng.cloneContents();
400
+ var firstChild = contents.firstChild;
401
+ var walker = new global$3(firstChild, contents);
402
+ var elements = [];
403
+ var current = firstChild;
404
+ do {
405
+ if (predicate(current)) {
406
+ elements.push(current);
407
+ }
408
+ } while (current = walker.next());
409
+ return elements;
410
+ }
411
+ };
412
+ var hasProtocol = function (url) { return /^\w+:/i.test(url); };
413
+ var getHref = function (elm) {
414
+ var _a, _b;
415
+ return (_b = (_a = elm.getAttribute('data-mce-href')) !== null && _a !== void 0 ? _a : elm.getAttribute('href')) !== null && _b !== void 0 ? _b : '';
416
+ };
417
+ var applyRelTargetRules = function (rel, isUnsafe) {
418
+ var rules = ['noopener'];
419
+ var rels = rel ? rel.split(/\s+/) : [];
420
+ var toString = function (rels) { return global$4.trim(rels.sort().join(' ')); };
421
+ var addTargetRules = function (rels) {
422
+ rels = removeTargetRules(rels);
423
+ return rels.length > 0 ? rels.concat(rules) : rules;
424
+ };
425
+ var removeTargetRules = function (rels) { return rels.filter(function (val) { return global$4.inArray(rules, val) === -1; }); };
426
+ var newRels = isUnsafe ? addTargetRules(rels) : removeTargetRules(rels);
427
+ return newRels.length > 0 ? toString(newRels) : '';
428
+ };
429
+ var trimCaretContainers = function (text) { return text.replace(/\uFEFF/g, ''); };
430
+ var getAnchorElement = function (editor, selectedElm) {
431
+ selectedElm = selectedElm || getLinksInSelection(editor.selection.getRng())[0] || editor.selection.getNode();
432
+ if (isImageFigure(selectedElm)) {
433
+ return Optional.from(editor.dom.select('a[href]', selectedElm)[0]);
434
+ }
435
+ else {
436
+ return Optional.from(editor.dom.getParent(selectedElm, 'a[href]'));
437
+ }
438
+ };
439
+ var isInAnchor = function (editor, selectedElm) { return getAnchorElement(editor, selectedElm).isSome(); };
440
+ var getAnchorText = function (selection, anchorElm) {
441
+ var text = anchorElm.fold(function () { return selection.getContent({ format: 'text' }); }, function (anchorElm) { return anchorElm.innerText || anchorElm.textContent || ''; });
442
+ return trimCaretContainers(text);
443
+ };
444
+ var getLinksInSelection = function (rng) { return collectNodesInRange(rng, isLink); };
445
+ var getLinks$1 = function (elements) { return global$4.grep(elements, isLink); };
446
+ var hasLinks = function (elements) { return getLinks$1(elements).length > 0; };
447
+ var hasLinksInSelection = function (rng) { return getLinksInSelection(rng).length > 0; };
448
+ var isOnlyTextSelected = function (editor) {
449
+ var inlineTextElements = editor.schema.getTextInlineElements();
450
+ var isElement = function (elm) { return elm.nodeType === 1 && !isAnchor(elm) && !has(inlineTextElements, elm.nodeName.toLowerCase()); };
451
+ var isInBlockAnchor = getAnchorElement(editor).exists(function (anchor) { return anchor.hasAttribute('data-mce-block'); });
452
+ if (isInBlockAnchor) {
453
+ return false;
454
+ }
455
+ var rng = editor.selection.getRng();
456
+ if (!rng.collapsed) {
457
+ var elements = collectNodesInRange(rng, isElement);
458
+ return elements.length === 0;
459
+ }
460
+ else {
461
+ return true;
462
+ }
463
+ };
464
+ var isImageFigure = function (elm) { return isNonNullable(elm) && elm.nodeName === 'FIGURE' && /\bimage\b/i.test(elm.className); };
465
+ var getLinkAttrs = function (data) {
466
+ var attrs = [
467
+ 'title',
468
+ 'rel',
469
+ 'class',
470
+ 'target'
471
+ ];
472
+ return foldl(attrs, function (acc, key) {
473
+ data[key].each(function (value) {
474
+ acc[key] = value.length > 0 ? value : null;
475
+ });
476
+ return acc;
477
+ }, { href: data.href });
478
+ };
479
+ var handleExternalTargets = function (href, assumeExternalTargets) {
480
+ if ((assumeExternalTargets === 'http' || assumeExternalTargets === 'https') && !hasProtocol(href)) {
481
+ return assumeExternalTargets + '://' + href;
482
+ }
483
+ return href;
484
+ };
485
+ var applyLinkOverrides = function (editor, linkAttrs) {
486
+ var newLinkAttrs = __assign({}, linkAttrs);
487
+ if (getRelList(editor).length === 0 && !allowUnsafeLinkTarget(editor)) {
488
+ var newRel = applyRelTargetRules(newLinkAttrs.rel, newLinkAttrs.target === '_blank');
489
+ newLinkAttrs.rel = newRel ? newRel : null;
490
+ }
491
+ if (Optional.from(newLinkAttrs.target).isNone() && getTargetList(editor) === false) {
492
+ newLinkAttrs.target = getDefaultLinkTarget(editor);
493
+ }
494
+ newLinkAttrs.href = handleExternalTargets(newLinkAttrs.href, assumeExternalTargets(editor));
495
+ return newLinkAttrs;
496
+ };
497
+ var updateLink = function (editor, anchorElm, text, linkAttrs) {
498
+ text.each(function (text) {
499
+ if (has(anchorElm, 'innerText')) {
500
+ anchorElm.innerText = text;
501
+ }
502
+ else {
503
+ anchorElm.textContent = text;
504
+ }
505
+ });
506
+ editor.dom.setAttribs(anchorElm, linkAttrs);
507
+ editor.selection.select(anchorElm);
508
+ };
509
+ var createLink = function (editor, selectedElm, text, linkAttrs) {
510
+ var dom = editor.dom;
511
+ if (isImageFigure(selectedElm)) {
512
+ linkImageFigure(dom, selectedElm, linkAttrs);
513
+ }
514
+ else {
515
+ text.fold(function () {
516
+ editor.execCommand('mceInsertLink', false, linkAttrs);
517
+ }, function (text) {
518
+ editor.insertContent(dom.createHTML('a', linkAttrs, dom.encode(text)));
519
+ });
520
+ }
521
+ };
522
+ var linkDomMutation = function (editor, attachState, data) {
523
+ var selectedElm = editor.selection.getNode();
524
+ var anchorElm = getAnchorElement(editor, selectedElm);
525
+ var linkAttrs = applyLinkOverrides(editor, getLinkAttrs(data));
526
+ editor.undoManager.transact(function () {
527
+ if (data.href === attachState.href) {
528
+ attachState.attach();
529
+ }
530
+ anchorElm.fold(function () {
531
+ createLink(editor, selectedElm, data.text, linkAttrs);
532
+ }, function (elm) {
533
+ editor.focus();
534
+ updateLink(editor, elm, data.text, linkAttrs);
535
+ });
536
+ });
537
+ };
538
+ var unlinkSelection = function (editor) {
539
+ var dom = editor.dom, selection = editor.selection;
540
+ var bookmark = selection.getBookmark();
541
+ var rng = selection.getRng().cloneRange();
542
+ var startAnchorElm = dom.getParent(rng.startContainer, 'a[href]', editor.getBody());
543
+ var endAnchorElm = dom.getParent(rng.endContainer, 'a[href]', editor.getBody());
544
+ if (startAnchorElm) {
545
+ rng.setStartBefore(startAnchorElm);
546
+ }
547
+ if (endAnchorElm) {
548
+ rng.setEndAfter(endAnchorElm);
549
+ }
550
+ selection.setRng(rng);
551
+ editor.execCommand('unlink');
552
+ selection.moveToBookmark(bookmark);
553
+ };
554
+ var unlinkDomMutation = function (editor) {
555
+ editor.undoManager.transact(function () {
556
+ var node = editor.selection.getNode();
557
+ if (isImageFigure(node)) {
558
+ unlinkImageFigure(editor, node);
559
+ }
560
+ else {
561
+ unlinkSelection(editor);
562
+ }
563
+ editor.focus();
564
+ });
565
+ };
566
+ var unwrapOptions = function (data) {
567
+ var cls = data.class, href = data.href, rel = data.rel, target = data.target, text = data.text, title = data.title;
568
+ return filter({
569
+ class: cls.getOrNull(),
570
+ href: href,
571
+ rel: rel.getOrNull(),
572
+ target: target.getOrNull(),
573
+ text: text.getOrNull(),
574
+ title: title.getOrNull()
575
+ }, function (v, _k) { return isNull(v) === false; });
576
+ };
577
+ var sanitizeData = function (editor, data) {
578
+ var getOption = editor.options.get;
579
+ var uriOptions = {
580
+ allow_html_data_urls: getOption('allow_html_data_urls'),
581
+ allow_script_urls: getOption('allow_script_urls'),
582
+ allow_svg_data_urls: getOption('allow_svg_data_urls')
583
+ };
584
+ var href = data.href;
585
+ return __assign(__assign({}, data), { href: global$2.isDomSafe(href, 'a', uriOptions) ? href : '' });
586
+ };
587
+ var link = function (editor, attachState, data) {
588
+ var sanitizedData = sanitizeData(editor, data);
589
+ editor.hasPlugin('rtc', true) ? editor.execCommand('createlink', false, unwrapOptions(sanitizedData)) : linkDomMutation(editor, attachState, sanitizedData);
590
+ };
591
+ var unlink = function (editor) {
592
+ editor.hasPlugin('rtc', true) ? editor.execCommand('unlink') : unlinkDomMutation(editor);
593
+ };
594
+ var unlinkImageFigure = function (editor, fig) {
595
+ var _a;
596
+ var img = editor.dom.select('img', fig)[0];
597
+ if (img) {
598
+ var a = editor.dom.getParents(img, 'a[href]', fig)[0];
599
+ if (a) {
600
+ (_a = a.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(img, a);
601
+ editor.dom.remove(a);
602
+ }
603
+ }
604
+ };
605
+ var linkImageFigure = function (dom, fig, attrs) {
606
+ var _a;
607
+ var img = dom.select('img', fig)[0];
608
+ if (img) {
609
+ var a = dom.create('a', attrs);
610
+ (_a = img.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(a, img);
611
+ a.appendChild(img);
612
+ }
613
+ };
614
+ var isListGroup = function (item) { return hasNonNullableKey(item, 'items'); };
615
+ var findTextByValue = function (value, catalog) { return findMap(catalog, function (item) {
616
+ if (isListGroup(item)) {
617
+ return findTextByValue(value, item.items);
618
+ }
619
+ else {
620
+ return someIf(item.value === value, item);
621
+ }
622
+ }); };
623
+ var getDelta = function (persistentText, fieldName, catalog, data) {
624
+ var value = data[fieldName];
625
+ var hasPersistentText = persistentText.length > 0;
626
+ return value !== undefined ? findTextByValue(value, catalog).map(function (i) { return ({
627
+ url: {
628
+ value: i.value,
629
+ meta: {
630
+ text: hasPersistentText ? persistentText : i.text,
631
+ attach: noop
632
+ }
633
+ },
634
+ text: hasPersistentText ? persistentText : i.text
635
+ }); }) : Optional.none();
636
+ };
637
+ var findCatalog = function (catalogs, fieldName) {
638
+ if (fieldName === 'link') {
639
+ return catalogs.link;
640
+ }
641
+ else if (fieldName === 'anchor') {
642
+ return catalogs.anchor;
643
+ }
644
+ else {
645
+ return Optional.none();
646
+ }
647
+ };
648
+ var init = function (initialData, linkCatalog) {
649
+ var persistentData = {
650
+ text: initialData.text,
651
+ title: initialData.title
652
+ };
653
+ var getTitleFromUrlChange = function (url) {
654
+ var _a;
655
+ return someIf(persistentData.title.length <= 0, Optional.from((_a = url.meta) === null || _a === void 0 ? void 0 : _a.title).getOr(''));
656
+ };
657
+ var getTextFromUrlChange = function (url) {
658
+ var _a;
659
+ return someIf(persistentData.text.length <= 0, Optional.from((_a = url.meta) === null || _a === void 0 ? void 0 : _a.text).getOr(url.value));
660
+ };
661
+ var onUrlChange = function (data) {
662
+ var text = getTextFromUrlChange(data.url);
663
+ var title = getTitleFromUrlChange(data.url);
664
+ if (text.isSome() || title.isSome()) {
665
+ return Optional.some(__assign(__assign({}, text.map(function (text) { return ({ text: text }); }).getOr({})), title.map(function (title) { return ({ title: title }); }).getOr({})));
666
+ }
667
+ else {
668
+ return Optional.none();
669
+ }
670
+ };
671
+ var onCatalogChange = function (data, change) {
672
+ var catalog = findCatalog(linkCatalog, change).getOr([]);
673
+ return getDelta(persistentData.text, change, catalog, data);
674
+ };
675
+ var onChange = function (getData, change) {
676
+ var name = change.name;
677
+ if (name === 'url') {
678
+ return onUrlChange(getData());
679
+ }
680
+ else if (contains([
681
+ 'anchor',
682
+ 'link'
683
+ ], name)) {
684
+ return onCatalogChange(getData(), name);
685
+ }
686
+ else if (name === 'text' || name === 'title') {
687
+ persistentData[name] = getData()[name];
688
+ return Optional.none();
689
+ }
690
+ else {
691
+ return Optional.none();
692
+ }
693
+ };
694
+ return { onChange: onChange };
695
+ };
696
+ var DialogChanges = {
697
+ init: init,
698
+ getDelta: getDelta
699
+ };
700
+ var global$1 = tinymce.util.Tools.resolve('tinymce.util.Delay');
701
+ var delayedConfirm = function (editor, message, callback) {
702
+ var rng = editor.selection.getRng();
703
+ global$1.setEditorTimeout(editor, function () {
704
+ editor.windowManager.confirm(message, function (state) {
705
+ editor.selection.setRng(rng);
706
+ callback(state);
707
+ });
708
+ });
709
+ };
710
+ var tryEmailTransform = function (data) {
711
+ var url = data.href;
712
+ var suggestMailTo = url.indexOf('@') > 0 && url.indexOf('/') === -1 && url.indexOf('mailto:') === -1;
713
+ return suggestMailTo ? Optional.some({
714
+ message: 'The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?',
715
+ preprocess: function (oldData) { return (__assign(__assign({}, oldData), { href: 'mailto:' + url })); }
716
+ }) : Optional.none();
717
+ };
718
+ var tryProtocolTransform = function (assumeExternalTargets, defaultLinkProtocol) { return function (data) {
719
+ var url = data.href;
720
+ var suggestProtocol = assumeExternalTargets === 1 && !hasProtocol(url) || assumeExternalTargets === 0 && /^\s*www(\.|\d\.)/i.test(url);
721
+ return suggestProtocol ? Optional.some({
722
+ message: "The URL you entered seems to be an external link. Do you want to add the required ".concat(defaultLinkProtocol, ":// prefix?"),
723
+ preprocess: function (oldData) { return (__assign(__assign({}, oldData), { href: defaultLinkProtocol + '://' + url })); }
724
+ }) : Optional.none();
725
+ }; };
726
+ var preprocess = function (editor, data) { return findMap([
727
+ tryEmailTransform,
728
+ tryProtocolTransform(assumeExternalTargets(editor), getDefaultLinkProtocol(editor))
729
+ ], function (f) { return f(data); }).fold(function () { return Promise.resolve(data); }, function (transform) { return new Promise(function (callback) {
730
+ delayedConfirm(editor, transform.message, function (state) {
731
+ callback(state ? transform.preprocess(data) : data);
732
+ });
733
+ }); }); };
734
+ var DialogConfirms = { preprocess: preprocess };
735
+ var getAnchors = function (editor) {
736
+ var anchorNodes = editor.dom.select('a:not([href])');
737
+ var anchors = bind(anchorNodes, function (anchor) {
738
+ var id = anchor.name || anchor.id;
739
+ return id ? [{
740
+ text: id,
741
+ value: '#' + id
742
+ }] : [];
743
+ });
744
+ return anchors.length > 0 ? Optional.some([{
745
+ text: 'None',
746
+ value: ''
747
+ }].concat(anchors)) : Optional.none();
748
+ };
749
+ var AnchorListOptions = { getAnchors: getAnchors };
750
+ var getClasses = function (editor) {
751
+ var list = getLinkClassList(editor);
752
+ if (list.length > 0) {
753
+ return ListOptions.sanitize(list);
754
+ }
755
+ return Optional.none();
756
+ };
757
+ var ClassListOptions = { getClasses: getClasses };
758
+ var parseJson = function (text) {
759
+ try {
760
+ return Optional.some(JSON.parse(text));
761
+ }
762
+ catch (err) {
763
+ return Optional.none();
764
+ }
765
+ };
766
+ var getLinks = function (editor) {
767
+ var extractor = function (item) { return editor.convertURL(item.value || item.url || '', 'href'); };
768
+ var linkList = getLinkList(editor);
769
+ return new Promise(function (resolve) {
770
+ if (isString(linkList)) {
771
+ fetch(linkList).then(function (res) { return res.ok ? res.text().then(parseJson) : Promise.reject(); }).then(resolve, function () { return resolve(Optional.none()); });
772
+ }
773
+ else if (isFunction(linkList)) {
774
+ linkList(function (output) { return resolve(Optional.some(output)); });
775
+ }
776
+ else {
777
+ resolve(Optional.from(linkList));
778
+ }
779
+ }).then(function (optItems) { return optItems.bind(ListOptions.sanitizeWith(extractor)).map(function (items) {
780
+ if (items.length > 0) {
781
+ var noneItem = [{
782
+ text: 'None',
783
+ value: ''
784
+ }];
785
+ return noneItem.concat(items);
786
+ }
787
+ else {
788
+ return items;
789
+ }
790
+ }); });
791
+ };
792
+ var LinkListOptions = { getLinks: getLinks };
793
+ var getRels = function (editor, initialTarget) {
794
+ var list = getRelList(editor);
795
+ if (list.length > 0) {
796
+ var isTargetBlank_1 = is(initialTarget, '_blank');
797
+ var enforceSafe = allowUnsafeLinkTarget(editor) === false;
798
+ var safeRelExtractor = function (item) { return applyRelTargetRules(ListOptions.getValue(item), isTargetBlank_1); };
799
+ var sanitizer = enforceSafe ? ListOptions.sanitizeWith(safeRelExtractor) : ListOptions.sanitize;
800
+ return sanitizer(list);
801
+ }
802
+ return Optional.none();
803
+ };
804
+ var RelOptions = { getRels: getRels };
805
+ var fallbacks = [
806
+ {
807
+ text: 'Current window',
808
+ value: ''
809
+ },
810
+ {
811
+ text: 'New window',
812
+ value: '_blank'
813
+ }
814
+ ];
815
+ var getTargets = function (editor) {
816
+ var list = getTargetList(editor);
817
+ if (isArray(list)) {
818
+ return ListOptions.sanitize(list).orThunk(function () { return Optional.some(fallbacks); });
819
+ }
820
+ else if (list === false) {
821
+ return Optional.none();
822
+ }
823
+ return Optional.some(fallbacks);
824
+ };
825
+ var TargetOptions = { getTargets: getTargets };
826
+ var nonEmptyAttr = function (dom, elem, name) {
827
+ var val = dom.getAttrib(elem, name);
828
+ return val !== null && val.length > 0 ? Optional.some(val) : Optional.none();
829
+ };
830
+ var extractFromAnchor = function (editor, anchor) {
831
+ var dom = editor.dom;
832
+ var onlyText = isOnlyTextSelected(editor);
833
+ var text = onlyText ? Optional.some(getAnchorText(editor.selection, anchor)) : Optional.none();
834
+ var url = anchor.bind(function (anchorElm) { return Optional.from(dom.getAttrib(anchorElm, 'href')); });
835
+ var target = anchor.bind(function (anchorElm) { return Optional.from(dom.getAttrib(anchorElm, 'target')); });
836
+ var rel = anchor.bind(function (anchorElm) { return nonEmptyAttr(dom, anchorElm, 'rel'); });
837
+ var linkClass = anchor.bind(function (anchorElm) { return nonEmptyAttr(dom, anchorElm, 'class'); });
838
+ var title = anchor.bind(function (anchorElm) { return nonEmptyAttr(dom, anchorElm, 'title'); });
839
+ return {
840
+ url: url,
841
+ text: text,
842
+ title: title,
843
+ target: target,
844
+ rel: rel,
845
+ linkClass: linkClass
846
+ };
847
+ };
848
+ var collect = function (editor, linkNode) { return LinkListOptions.getLinks(editor).then(function (links) {
849
+ var anchor = extractFromAnchor(editor, linkNode);
850
+ return {
851
+ anchor: anchor,
852
+ catalogs: {
853
+ targets: TargetOptions.getTargets(editor),
854
+ rels: RelOptions.getRels(editor, anchor.target),
855
+ classes: ClassListOptions.getClasses(editor),
856
+ anchor: AnchorListOptions.getAnchors(editor),
857
+ link: links
858
+ },
859
+ optNode: linkNode,
860
+ flags: { titleEnabled: shouldShowLinkTitle(editor) }
861
+ };
862
+ }); };
863
+ var DialogInfo = { collect: collect };
864
+ var handleSubmit = function (editor, info) { return function (api) {
865
+ var data = api.getData();
866
+ if (!data.url.value) {
867
+ unlink(editor);
868
+ api.close();
869
+ return;
870
+ }
871
+ var getChangedValue = function (key) { return Optional.from(data[key]).filter(function (value) { return !is(info.anchor[key], value); }); };
872
+ var changedData = {
873
+ href: data.url.value,
874
+ text: getChangedValue('text'),
875
+ target: getChangedValue('target'),
876
+ rel: getChangedValue('rel'),
877
+ class: getChangedValue('linkClass'),
878
+ title: getChangedValue('title')
879
+ };
880
+ var attachState = {
881
+ href: data.url.value,
882
+ attach: data.url.meta !== undefined && data.url.meta.attach ? data.url.meta.attach : noop
883
+ };
884
+ DialogConfirms.preprocess(editor, changedData).then(function (pData) {
885
+ link(editor, attachState, pData);
886
+ });
887
+ api.close();
888
+ }; };
889
+ var collectData = function (editor) {
890
+ var anchorNode = getAnchorElement(editor);
891
+ return DialogInfo.collect(editor, anchorNode);
892
+ };
893
+ var getInitialData = function (info, defaultTarget) {
894
+ var anchor = info.anchor;
895
+ var url = anchor.url.getOr('');
896
+ return {
897
+ url: {
898
+ value: url,
899
+ meta: { original: { value: url } }
900
+ },
901
+ text: anchor.text.getOr(''),
902
+ title: anchor.title.getOr(''),
903
+ anchor: url,
904
+ link: url,
905
+ rel: anchor.rel.getOr(''),
906
+ target: anchor.target.or(defaultTarget).getOr(''),
907
+ linkClass: anchor.linkClass.getOr('')
908
+ };
909
+ };
910
+ var makeDialog = function (settings, onSubmit, editor) {
911
+ var urlInput = [{
912
+ name: 'url',
913
+ type: 'urlinput',
914
+ filetype: 'file',
915
+ label: 'URL',
916
+ picker_text: 'Browse links'
917
+ }];
918
+ var displayText = settings.anchor.text.map(function () { return ({
919
+ name: 'text',
920
+ type: 'input',
921
+ label: 'Text to display'
922
+ }); }).toArray();
923
+ var titleText = settings.flags.titleEnabled ? [{
924
+ name: 'title',
925
+ type: 'input',
926
+ label: 'Title'
927
+ }] : [];
928
+ var defaultTarget = Optional.from(getDefaultLinkTarget(editor));
929
+ var initialData = getInitialData(settings, defaultTarget);
930
+ var catalogs = settings.catalogs;
931
+ var dialogDelta = DialogChanges.init(initialData, catalogs);
932
+ var body = {
933
+ type: 'panel',
934
+ items: flatten([
935
+ urlInput,
936
+ displayText,
937
+ titleText,
938
+ cat([
939
+ catalogs.anchor.map(ListOptions.createUi('anchor', 'Anchors')),
940
+ catalogs.rels.map(ListOptions.createUi('rel', 'Rel')),
941
+ catalogs.targets.map(ListOptions.createUi('target', 'Open link in...')),
942
+ catalogs.link.map(ListOptions.createUi('link', 'Link list')),
943
+ catalogs.classes.map(ListOptions.createUi('linkClass', 'Class'))
944
+ ])
945
+ ])
946
+ };
947
+ return {
948
+ title: 'Insert/Edit Link',
949
+ size: 'normal',
950
+ body: body,
951
+ buttons: [
952
+ {
953
+ type: 'cancel',
954
+ name: 'cancel',
955
+ text: 'Cancel'
956
+ },
957
+ {
958
+ type: 'submit',
959
+ name: 'save',
960
+ text: 'Save',
961
+ primary: true
962
+ }
963
+ ],
964
+ initialData: initialData,
965
+ onChange: function (api, _c) {
966
+ var name = _c.name;
967
+ dialogDelta.onChange(api.getData, { name: name }).each(function (newData) {
968
+ api.setData(newData);
969
+ });
970
+ },
971
+ onSubmit: onSubmit
972
+ };
973
+ };
974
+ var open$1 = function (editor) {
975
+ var data = collectData(editor);
976
+ data.then(function (info) {
977
+ var onSubmit = handleSubmit(editor, info);
978
+ return makeDialog(info, onSubmit, editor);
979
+ }).then(function (spec) {
980
+ editor.windowManager.open(spec);
981
+ });
982
+ };
983
+ var register = function (editor) {
984
+ editor.addCommand('mceLink', function (_ui, value) {
985
+ if ((value === null || value === void 0 ? void 0 : value.dialog) === true || !useQuickLink(editor)) {
986
+ open$1(editor);
987
+ }
988
+ else {
989
+ editor.dispatch('contexttoolbar-show', { toolbarKey: 'quicklink' });
990
+ }
991
+ });
992
+ };
993
+ var global = tinymce.util.Tools.resolve('tinymce.util.VK');
994
+ var appendClickRemove = function (link, evt) {
995
+ document.body.appendChild(link);
996
+ link.dispatchEvent(evt);
997
+ document.body.removeChild(link);
998
+ };
999
+ var open = function (url) {
1000
+ var link = document.createElement('a');
1001
+ link.target = '_blank';
1002
+ link.href = url;
1003
+ link.rel = 'noreferrer noopener';
1004
+ var evt = document.createEvent('MouseEvents');
1005
+ evt.initMouseEvent('click', true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
1006
+ appendClickRemove(link, evt);
1007
+ };
1008
+ var getLink = function (editor, elm) { return editor.dom.getParent(elm, 'a[href]'); };
1009
+ var getSelectedLink = function (editor) { return getLink(editor, editor.selection.getStart()); };
1010
+ var hasOnlyAltModifier = function (e) {
1011
+ return e.altKey === true && e.shiftKey === false && e.ctrlKey === false && e.metaKey === false;
1012
+ };
1013
+ var gotoLink = function (editor, a) {
1014
+ if (a) {
1015
+ var href = getHref(a);
1016
+ if (/^#/.test(href)) {
1017
+ var targetEl = editor.dom.select(href);
1018
+ if (targetEl.length) {
1019
+ editor.selection.scrollIntoView(targetEl[0], true);
1020
+ }
1021
+ }
1022
+ else {
1023
+ open(a.href);
1024
+ }
1025
+ }
1026
+ };
1027
+ var openDialog = function (editor) { return function () {
1028
+ editor.execCommand('mceLink', false, { dialog: true });
1029
+ }; };
1030
+ var gotoSelectedLink = function (editor) { return function () {
1031
+ gotoLink(editor, getSelectedLink(editor));
1032
+ }; };
1033
+ var setupGotoLinks = function (editor) {
1034
+ editor.on('click', function (e) {
1035
+ var link = getLink(editor, e.target);
1036
+ if (link && global.metaKeyPressed(e)) {
1037
+ e.preventDefault();
1038
+ gotoLink(editor, link);
1039
+ }
1040
+ });
1041
+ editor.on('keydown', function (e) {
1042
+ if (!e.isDefaultPrevented() && e.keyCode === 13 && hasOnlyAltModifier(e)) {
1043
+ var link_1 = getSelectedLink(editor);
1044
+ if (link_1) {
1045
+ e.preventDefault();
1046
+ gotoLink(editor, link_1);
1047
+ }
1048
+ }
1049
+ });
1050
+ };
1051
+ var toggleState = function (editor, toggler) {
1052
+ editor.on('NodeChange', toggler);
1053
+ return function () { return editor.off('NodeChange', toggler); };
1054
+ };
1055
+ var toggleLinkState = function (editor) { return function (api) {
1056
+ var updateState = function () {
1057
+ api.setActive(!editor.mode.isReadOnly() && isInAnchor(editor, editor.selection.getNode()));
1058
+ api.setEnabled(editor.selection.isEditable());
1059
+ };
1060
+ updateState();
1061
+ return toggleState(editor, updateState);
1062
+ }; };
1063
+ var toggleLinkMenuState = function (editor) { return function (api) {
1064
+ var updateState = function () {
1065
+ api.setEnabled(editor.selection.isEditable());
1066
+ };
1067
+ updateState();
1068
+ return toggleState(editor, updateState);
1069
+ }; };
1070
+ var hasExactlyOneLinkInSelection = function (editor) {
1071
+ var links = editor.selection.isCollapsed() ? getLinks$1(editor.dom.getParents(editor.selection.getStart())) : getLinksInSelection(editor.selection.getRng());
1072
+ return links.length === 1;
1073
+ };
1074
+ var toggleGotoLinkState = function (editor) { return function (api) {
1075
+ var updateState = function () { return api.setEnabled(hasExactlyOneLinkInSelection(editor)); };
1076
+ updateState();
1077
+ return toggleState(editor, updateState);
1078
+ }; };
1079
+ var toggleUnlinkState = function (editor) { return function (api) {
1080
+ var hasLinks$1 = function (parents) { return hasLinks(parents) || hasLinksInSelection(editor.selection.getRng()); };
1081
+ var parents = editor.dom.getParents(editor.selection.getStart());
1082
+ var updateEnabled = function (parents) {
1083
+ api.setEnabled(hasLinks$1(parents) && editor.selection.isEditable());
1084
+ };
1085
+ updateEnabled(parents);
1086
+ return toggleState(editor, function (e) { return updateEnabled(e.parents); });
1087
+ }; };
1088
+ var setup = function (editor) {
1089
+ editor.addShortcut('Meta+K', '', function () {
1090
+ editor.execCommand('mceLink');
1091
+ });
1092
+ };
1093
+ var setupButtons = function (editor) {
1094
+ editor.ui.registry.addToggleButton('link', {
1095
+ icon: 'link',
1096
+ tooltip: 'Insert/edit link',
1097
+ onAction: openDialog(editor),
1098
+ onSetup: toggleLinkState(editor)
1099
+ });
1100
+ editor.ui.registry.addButton('openlink', {
1101
+ icon: 'new-tab',
1102
+ tooltip: 'Open link',
1103
+ onAction: gotoSelectedLink(editor),
1104
+ onSetup: toggleGotoLinkState(editor)
1105
+ });
1106
+ editor.ui.registry.addButton('unlink', {
1107
+ icon: 'unlink',
1108
+ tooltip: 'Remove link',
1109
+ onAction: function () { return unlink(editor); },
1110
+ onSetup: toggleUnlinkState(editor)
1111
+ });
1112
+ };
1113
+ var setupMenuItems = function (editor) {
1114
+ editor.ui.registry.addMenuItem('openlink', {
1115
+ text: 'Open link',
1116
+ icon: 'new-tab',
1117
+ onAction: gotoSelectedLink(editor),
1118
+ onSetup: toggleGotoLinkState(editor)
1119
+ });
1120
+ editor.ui.registry.addMenuItem('link', {
1121
+ icon: 'link',
1122
+ text: 'Link...',
1123
+ shortcut: 'Meta+K',
1124
+ onSetup: toggleLinkMenuState(editor),
1125
+ onAction: openDialog(editor)
1126
+ });
1127
+ editor.ui.registry.addMenuItem('unlink', {
1128
+ icon: 'unlink',
1129
+ text: 'Remove link',
1130
+ onAction: function () { return unlink(editor); },
1131
+ onSetup: toggleUnlinkState(editor)
1132
+ });
1133
+ };
1134
+ var setupContextMenu = function (editor) {
1135
+ var inLink = 'link unlink openlink';
1136
+ var noLink = 'link';
1137
+ editor.ui.registry.addContextMenu('link', {
1138
+ update: function (element) {
1139
+ var isEditable = editor.dom.isEditable(element);
1140
+ if (!isEditable) {
1141
+ return '';
1142
+ }
1143
+ return hasLinks(editor.dom.getParents(element, 'a')) ? inLink : noLink;
1144
+ }
1145
+ });
1146
+ };
1147
+ var setupContextToolbars = function (editor) {
1148
+ var collapseSelectionToEnd = function (editor) {
1149
+ editor.selection.collapse(false);
1150
+ };
1151
+ var onSetupLink = function (buttonApi) {
1152
+ var node = editor.selection.getNode();
1153
+ buttonApi.setEnabled(isInAnchor(editor, node));
1154
+ return noop;
1155
+ };
1156
+ var getLinkText = function (value) {
1157
+ var anchor = getAnchorElement(editor);
1158
+ var onlyText = isOnlyTextSelected(editor);
1159
+ if (anchor.isNone() && onlyText) {
1160
+ var text = getAnchorText(editor.selection, anchor);
1161
+ return someIf(text.length === 0, value);
1162
+ }
1163
+ else {
1164
+ return Optional.none();
1165
+ }
1166
+ };
1167
+ editor.ui.registry.addContextForm('quicklink', {
1168
+ launch: {
1169
+ type: 'contextformtogglebutton',
1170
+ icon: 'link',
1171
+ tooltip: 'Link',
1172
+ onSetup: toggleLinkState(editor)
1173
+ },
1174
+ label: 'Link',
1175
+ predicate: function (node) { return hasContextToolbar(editor) && isInAnchor(editor, node); },
1176
+ initValue: function () {
1177
+ var elm = getAnchorElement(editor);
1178
+ return elm.fold(constant(''), getHref);
1179
+ },
1180
+ commands: [
1181
+ {
1182
+ type: 'contextformtogglebutton',
1183
+ icon: 'link',
1184
+ tooltip: 'Link',
1185
+ primary: true,
1186
+ onSetup: function (buttonApi) {
1187
+ var node = editor.selection.getNode();
1188
+ buttonApi.setActive(isInAnchor(editor, node));
1189
+ return toggleLinkState(editor)(buttonApi);
1190
+ },
1191
+ onAction: function (formApi) {
1192
+ var value = formApi.getValue();
1193
+ var text = getLinkText(value);
1194
+ var attachState = {
1195
+ href: value,
1196
+ attach: noop
1197
+ };
1198
+ link(editor, attachState, {
1199
+ href: value,
1200
+ text: text,
1201
+ title: Optional.none(),
1202
+ rel: Optional.none(),
1203
+ target: Optional.none(),
1204
+ class: Optional.none()
1205
+ });
1206
+ collapseSelectionToEnd(editor);
1207
+ formApi.hide();
1208
+ }
1209
+ },
1210
+ {
1211
+ type: 'contextformbutton',
1212
+ icon: 'unlink',
1213
+ tooltip: 'Remove link',
1214
+ onSetup: onSetupLink,
1215
+ onAction: function (formApi) {
1216
+ unlink(editor);
1217
+ formApi.hide();
1218
+ }
1219
+ },
1220
+ {
1221
+ type: 'contextformbutton',
1222
+ icon: 'new-tab',
1223
+ tooltip: 'Open link',
1224
+ onSetup: onSetupLink,
1225
+ onAction: function (formApi) {
1226
+ gotoSelectedLink(editor)();
1227
+ formApi.hide();
1228
+ }
1229
+ }
1230
+ ]
1231
+ });
1232
+ };
1233
+ var Plugin = function () {
1234
+ global$5.add('link', function (editor) {
1235
+ register$1(editor);
1236
+ setupButtons(editor);
1237
+ setupMenuItems(editor);
1238
+ setupContextMenu(editor);
1239
+ setupContextToolbars(editor);
1240
+ setupGotoLinks(editor);
1241
+ register(editor);
1242
+ setup(editor);
1243
+ });
1244
+ };
1245
+ Plugin();
1246
+ })();