@lotte-innovate/ui-component-test 0.2.24 → 0.2.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1100) hide show
  1. package/README.md +172 -15
  2. package/dist/globals.css +4 -0
  3. package/dist/lib/Typography/Header/index.d.ts +15 -0
  4. package/dist/lib/Typography/Header/index.js +56 -0
  5. package/dist/lib/Typography/Text/index.d.ts +15 -0
  6. package/dist/lib/Typography/Text/index.js +45 -0
  7. package/dist/lib/Typography/index.d.ts +2 -0
  8. package/dist/lib/Typography/index.js +2 -0
  9. package/dist/lib/_virtual/_commonjsHelpers.mjs +2 -0
  10. package/dist/lib/_virtual/_commonjsHelpers.mjs.map +1 -0
  11. package/dist/lib/_virtual/index.mjs +2 -0
  12. package/dist/lib/_virtual/index2.mjs +2 -0
  13. package/dist/lib/_virtual/index2.mjs.map +1 -0
  14. package/dist/lib/_virtual/index3.mjs +2 -0
  15. package/dist/lib/_virtual/index3.mjs.map +1 -0
  16. package/dist/lib/_virtual/react-is.development.mjs +2 -0
  17. package/dist/lib/_virtual/react-is.development.mjs.map +1 -0
  18. package/dist/lib/_virtual/react-is.production.min.mjs +2 -0
  19. package/dist/lib/_virtual/react-is.production.min.mjs.map +1 -0
  20. package/dist/lib/color/alpha.d.ts +784 -0
  21. package/dist/lib/color/alpha.js +784 -0
  22. package/dist/lib/color/constants.d.ts +15 -0
  23. package/dist/lib/color/constants.js +265 -0
  24. package/dist/lib/color/dark.d.ts +392 -0
  25. package/dist/lib/color/dark.js +392 -0
  26. package/dist/lib/color/krdsColors.d.ts +309 -0
  27. package/dist/lib/color/krdsColors.js +309 -0
  28. package/dist/lib/color/light.d.ts +392 -0
  29. package/dist/lib/color/light.js +393 -0
  30. package/dist/lib/components/Accordion/index.d.ts +22 -0
  31. package/dist/lib/components/Accordion/index.js +81 -0
  32. package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +14 -0
  33. package/dist/lib/components/AlertDialog/AlertDialogAction.js +63 -0
  34. package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +13 -0
  35. package/dist/lib/components/AlertDialog/AlertDialogCancel.js +61 -0
  36. package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +11 -0
  37. package/dist/lib/components/AlertDialog/AlertDialogContent.js +52 -0
  38. package/dist/lib/components/AlertDialog/AlertDialogDescription.d.ts +10 -0
  39. package/dist/lib/components/AlertDialog/AlertDialogDescription.js +48 -0
  40. package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
  41. package/dist/lib/components/AlertDialog/AlertDialogRoot.js +50 -0
  42. package/dist/lib/components/AlertDialog/AlertDialogTitle.d.ts +10 -0
  43. package/dist/lib/components/AlertDialog/AlertDialogTitle.js +48 -0
  44. package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +17 -0
  45. package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +67 -0
  46. package/dist/lib/components/AlertDialog/index.d.ts +11 -0
  47. package/dist/lib/components/AlertDialog/index.js +17 -0
  48. package/dist/lib/components/AspectRatio/index.d.ts +10 -0
  49. package/dist/lib/components/AspectRatio/index.js +45 -0
  50. package/dist/lib/components/Avatar/index.d.ts +21 -0
  51. package/dist/lib/components/Avatar/index.js +67 -0
  52. package/dist/lib/components/Badge/index.d.ts +18 -0
  53. package/dist/lib/components/Badge/index.js +65 -0
  54. package/dist/lib/components/BarChart/index.d.ts +33 -0
  55. package/dist/lib/components/BarChart/index.js +63 -0
  56. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
  57. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +34 -0
  58. package/dist/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
  59. package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +32 -0
  60. package/dist/lib/components/Breadcrumb/BreadcrumbLink.d.ts +10 -0
  61. package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +47 -0
  62. package/dist/lib/components/Breadcrumb/BreadcrumbList.d.ts +6 -0
  63. package/dist/lib/components/Breadcrumb/BreadcrumbList.js +34 -0
  64. package/dist/lib/components/Breadcrumb/BreadcrumbPage.d.ts +8 -0
  65. package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +45 -0
  66. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.d.ts +14 -0
  67. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +59 -0
  68. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.d.ts +9 -0
  69. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +34 -0
  70. package/dist/lib/components/Breadcrumb/index.d.ts +21 -0
  71. package/dist/lib/components/Breadcrumb/index.js +17 -0
  72. package/dist/lib/components/BubbleChart/index.d.ts +28 -0
  73. package/dist/lib/components/BubbleChart/index.js +82 -0
  74. package/dist/lib/components/Button/index.d.ts +16 -0
  75. package/dist/lib/components/Button/index.js +67 -0
  76. package/dist/lib/components/Calendar/index.d.ts +8 -0
  77. package/dist/lib/components/Calendar/index.js +45 -0
  78. package/dist/lib/components/Callout/CalloutIcon.d.ts +13 -0
  79. package/dist/lib/components/Callout/CalloutIcon.js +58 -0
  80. package/dist/lib/components/Callout/CalloutRoot.d.ts +18 -0
  81. package/dist/lib/components/Callout/CalloutRoot.js +80 -0
  82. package/dist/lib/components/Callout/CalloutText.d.ts +10 -0
  83. package/dist/lib/components/Callout/CalloutText.js +53 -0
  84. package/dist/lib/components/Callout/index.d.ts +7 -0
  85. package/dist/lib/components/Callout/index.js +9 -0
  86. package/dist/lib/components/Card/index.d.ts +14 -0
  87. package/dist/lib/components/Card/index.js +72 -0
  88. package/dist/lib/components/Checkbox/index.d.ts +17 -0
  89. package/dist/lib/components/Checkbox/index.js +98 -0
  90. package/dist/lib/components/CheckboxCard/index.d.ts +20 -0
  91. package/dist/lib/components/CheckboxCard/index.js +66 -0
  92. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +5 -0
  93. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +34 -0
  94. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +21 -0
  95. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +59 -0
  96. package/dist/lib/components/CheckboxGroup/index.d.ts +6 -0
  97. package/dist/lib/components/CheckboxGroup/index.js +4 -0
  98. package/dist/lib/components/Collapsible/index.d.ts +21 -0
  99. package/dist/lib/components/Collapsible/index.js +75 -0
  100. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +4 -0
  101. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +43 -0
  102. package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +11 -0
  103. package/dist/lib/components/ContextMenu/ContextMenuContent.js +57 -0
  104. package/dist/lib/components/ContextMenu/ContextMenuGroup.d.ts +4 -0
  105. package/dist/lib/components/ContextMenu/ContextMenuGroup.js +30 -0
  106. package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +13 -0
  107. package/dist/lib/components/ContextMenu/ContextMenuItem.js +61 -0
  108. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +10 -0
  109. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +51 -0
  110. package/dist/lib/components/ContextMenu/ContextMenuLabel.d.ts +11 -0
  111. package/dist/lib/components/ContextMenu/ContextMenuLabel.js +49 -0
  112. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +8 -0
  113. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +32 -0
  114. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +4 -0
  115. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +45 -0
  116. package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
  117. package/dist/lib/components/ContextMenu/ContextMenuRoot.js +52 -0
  118. package/dist/lib/components/ContextMenu/ContextMenuSeparator.d.ts +3 -0
  119. package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +31 -0
  120. package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +11 -0
  121. package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +55 -0
  122. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +4 -0
  123. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +42 -0
  124. package/dist/lib/components/ContextMenu/ContextMenuTrigger.d.ts +4 -0
  125. package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +31 -0
  126. package/dist/lib/components/ContextMenu/index.d.ts +17 -0
  127. package/dist/lib/components/ContextMenu/index.js +29 -0
  128. package/dist/lib/components/DataList/DataListItem.d.ts +9 -0
  129. package/dist/lib/components/DataList/DataListItem.js +44 -0
  130. package/dist/lib/components/DataList/DataListLabel.d.ts +10 -0
  131. package/dist/lib/components/DataList/DataListLabel.js +50 -0
  132. package/dist/lib/components/DataList/DataListRoot.d.ts +14 -0
  133. package/dist/lib/components/DataList/DataListRoot.js +61 -0
  134. package/dist/lib/components/DataList/DataListValue.d.ts +11 -0
  135. package/dist/lib/components/DataList/DataListValue.js +52 -0
  136. package/dist/lib/components/DataList/index.d.ts +8 -0
  137. package/dist/lib/components/DataList/index.js +6 -0
  138. package/dist/lib/components/Datepicker/index.d.ts +14 -0
  139. package/dist/lib/components/Datepicker/index.js +35 -0
  140. package/dist/lib/components/Dialog/DialogAction.d.ts +11 -0
  141. package/dist/lib/components/Dialog/DialogAction.js +61 -0
  142. package/dist/lib/components/Dialog/DialogCancel.d.ts +10 -0
  143. package/dist/lib/components/Dialog/DialogCancel.js +56 -0
  144. package/dist/lib/components/Dialog/DialogContent.d.ts +11 -0
  145. package/dist/lib/components/Dialog/DialogContent.js +58 -0
  146. package/dist/lib/components/Dialog/DialogDescription.d.ts +9 -0
  147. package/dist/lib/components/Dialog/DialogDescription.js +48 -0
  148. package/dist/lib/components/Dialog/DialogRoot.d.ts +12 -0
  149. package/dist/lib/components/Dialog/DialogRoot.js +46 -0
  150. package/dist/lib/components/Dialog/DialogSlot.d.ts +8 -0
  151. package/dist/lib/components/Dialog/DialogSlot.js +47 -0
  152. package/dist/lib/components/Dialog/DialogTitle.d.ts +9 -0
  153. package/dist/lib/components/Dialog/DialogTitle.js +48 -0
  154. package/dist/lib/components/Dialog/DialogTrigger.d.ts +3 -0
  155. package/dist/lib/components/Dialog/DialogTrigger.js +30 -0
  156. package/dist/lib/components/Dialog/index.d.ts +15 -0
  157. package/dist/lib/components/Dialog/index.js +19 -0
  158. package/dist/lib/components/DoughnutChart/index.d.ts +22 -0
  159. package/dist/lib/components/DoughnutChart/index.js +65 -0
  160. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +3 -0
  161. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +30 -0
  162. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +11 -0
  163. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +61 -0
  164. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +7 -0
  165. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +42 -0
  166. package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +11 -0
  167. package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +57 -0
  168. package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +15 -0
  169. package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +60 -0
  170. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +10 -0
  171. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +49 -0
  172. package/dist/lib/components/DropdownMenu/DropdownMenuLable.d.ts +10 -0
  173. package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +46 -0
  174. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +6 -0
  175. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +42 -0
  176. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +14 -0
  177. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +48 -0
  178. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +3 -0
  179. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +31 -0
  180. package/dist/lib/components/DropdownMenu/DropdownMenuSub.d.ts +3 -0
  181. package/dist/lib/components/DropdownMenu/DropdownMenuSub.js +30 -0
  182. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +4 -0
  183. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +42 -0
  184. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +14 -0
  185. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +54 -0
  186. package/dist/lib/components/DropdownMenu/index.d.ts +20 -0
  187. package/dist/lib/components/DropdownMenu/index.js +29 -0
  188. package/dist/lib/components/Editor/index.d.ts +12 -15
  189. package/dist/lib/components/Editor/index.js +12 -16
  190. package/dist/lib/components/Footer/index.d.ts +11 -0
  191. package/dist/lib/components/Footer/index.js +57 -0
  192. package/dist/lib/components/Gnb/GnbInfo.d.ts +9 -0
  193. package/dist/lib/components/Gnb/GnbInfo.js +46 -0
  194. package/dist/lib/components/Gnb/GnbLogo.d.ts +10 -0
  195. package/dist/lib/components/Gnb/GnbLogo.js +46 -0
  196. package/dist/lib/components/Gnb/GnbMenu.d.ts +9 -0
  197. package/dist/lib/components/Gnb/GnbMenu.js +46 -0
  198. package/dist/lib/components/Gnb/GnbMenuItem.d.ts +11 -0
  199. package/dist/lib/components/Gnb/GnbMenuItem.js +46 -0
  200. package/dist/lib/components/Gnb/GnbRoot.d.ts +11 -0
  201. package/dist/lib/components/Gnb/GnbRoot.js +53 -0
  202. package/dist/lib/components/Gnb/index.d.ts +9 -0
  203. package/dist/lib/components/Gnb/index.js +13 -0
  204. package/dist/lib/components/Grid/Pagination.d.ts +2 -0
  205. package/dist/lib/components/Grid/Pagination.js +18 -0
  206. package/dist/lib/components/Grid/index.d.ts +7 -0
  207. package/dist/lib/components/Grid/index.js +59 -0
  208. package/dist/lib/components/Grid/useGrid.d.ts +3 -0
  209. package/dist/lib/components/Grid/useGrid.js +81 -0
  210. package/dist/lib/components/HoverCard/HoverCardContent.d.ts +13 -0
  211. package/dist/lib/components/HoverCard/HoverCardContent.js +62 -0
  212. package/dist/lib/components/HoverCard/HoverCardRoot.d.ts +11 -0
  213. package/dist/lib/components/HoverCard/HoverCardRoot.js +48 -0
  214. package/dist/lib/components/HoverCard/HoverCardTrigger.d.ts +3 -0
  215. package/dist/lib/components/HoverCard/HoverCardTrigger.js +30 -0
  216. package/dist/lib/components/HoverCard/index.d.ts +10 -0
  217. package/dist/lib/components/HoverCard/index.js +9 -0
  218. package/dist/lib/components/IconButton/index.d.ts +15 -0
  219. package/dist/lib/components/IconButton/index.js +73 -0
  220. package/dist/lib/components/Inset/index.d.ts +10 -0
  221. package/dist/lib/components/Inset/index.js +57 -0
  222. package/dist/lib/components/Label/index.d.ts +20 -0
  223. package/dist/lib/components/Label/index.js +64 -0
  224. package/dist/lib/components/LineChart/index.d.ts +43 -0
  225. package/dist/lib/components/LineChart/index.js +61 -0
  226. package/dist/lib/components/Menubar/MenubarCheckboxItem.d.ts +4 -0
  227. package/dist/lib/components/Menubar/MenubarCheckboxItem.js +40 -0
  228. package/dist/lib/components/Menubar/MenubarContent.d.ts +11 -0
  229. package/dist/lib/components/Menubar/MenubarContent.js +61 -0
  230. package/dist/lib/components/Menubar/MenubarItem.d.ts +13 -0
  231. package/dist/lib/components/Menubar/MenubarItem.js +56 -0
  232. package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +10 -0
  233. package/dist/lib/components/Menubar/MenubarItemIndicator.js +50 -0
  234. package/dist/lib/components/Menubar/MenubarMenu.d.ts +5 -0
  235. package/dist/lib/components/Menubar/MenubarMenu.js +30 -0
  236. package/dist/lib/components/Menubar/MenubarRadioGroup.d.ts +8 -0
  237. package/dist/lib/components/Menubar/MenubarRadioGroup.js +32 -0
  238. package/dist/lib/components/Menubar/MenubarRadioItem.d.ts +4 -0
  239. package/dist/lib/components/Menubar/MenubarRadioItem.js +42 -0
  240. package/dist/lib/components/Menubar/MenubarRoot.d.ts +19 -0
  241. package/dist/lib/components/Menubar/MenubarRoot.js +73 -0
  242. package/dist/lib/components/Menubar/MenubarSeparator.d.ts +3 -0
  243. package/dist/lib/components/Menubar/MenubarSeparator.js +31 -0
  244. package/dist/lib/components/Menubar/MenubarSub.d.ts +3 -0
  245. package/dist/lib/components/Menubar/MenubarSub.js +30 -0
  246. package/dist/lib/components/Menubar/MenubarSubContent.d.ts +10 -0
  247. package/dist/lib/components/Menubar/MenubarSubContent.js +52 -0
  248. package/dist/lib/components/Menubar/MenubarSubTrigger.d.ts +4 -0
  249. package/dist/lib/components/Menubar/MenubarSubTrigger.js +43 -0
  250. package/dist/lib/components/Menubar/MenubarTrigger.d.ts +12 -0
  251. package/dist/lib/components/Menubar/MenubarTrigger.js +58 -0
  252. package/dist/lib/components/Menubar/index.d.ts +19 -0
  253. package/dist/lib/components/Menubar/index.js +29 -0
  254. package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +11 -0
  255. package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +49 -0
  256. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +3 -0
  257. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +31 -0
  258. package/dist/lib/components/NavigationMenu/NavigationMenuItem.d.ts +3 -0
  259. package/dist/lib/components/NavigationMenu/NavigationMenuItem.js +30 -0
  260. package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +13 -0
  261. package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +53 -0
  262. package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +12 -0
  263. package/dist/lib/components/NavigationMenu/NavigationMenuList.js +49 -0
  264. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
  265. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +53 -0
  266. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +13 -0
  267. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +60 -0
  268. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +12 -0
  269. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +54 -0
  270. package/dist/lib/components/NavigationMenu/index.d.ts +12 -0
  271. package/dist/lib/components/NavigationMenu/index.js +10 -0
  272. package/dist/lib/components/PieChart/index.d.ts +22 -0
  273. package/dist/lib/components/PieChart/index.js +65 -0
  274. package/dist/lib/components/Popover/PopoverClose.d.ts +9 -0
  275. package/dist/lib/components/Popover/PopoverClose.js +49 -0
  276. package/dist/lib/components/Popover/PopoverContent.d.ts +13 -0
  277. package/dist/lib/components/Popover/PopoverContent.js +66 -0
  278. package/dist/lib/components/Popover/PopoverRoot.d.ts +11 -0
  279. package/dist/lib/components/Popover/PopoverRoot.js +43 -0
  280. package/dist/lib/components/Popover/PopoverTrigger.d.ts +3 -0
  281. package/dist/lib/components/Popover/PopoverTrigger.js +30 -0
  282. package/dist/lib/components/Popover/index.d.ts +11 -0
  283. package/dist/lib/components/Popover/index.js +11 -0
  284. package/dist/lib/components/Progress/index.d.ts +13 -0
  285. package/dist/lib/components/Progress/index.js +67 -0
  286. package/dist/lib/components/RadarChart/index.d.ts +32 -0
  287. package/dist/lib/components/RadarChart/index.js +85 -0
  288. package/dist/lib/components/Radio/index.d.ts +13 -0
  289. package/dist/lib/components/Radio/index.js +60 -0
  290. package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +10 -0
  291. package/dist/lib/components/RadioCards/RadioCardsItem.js +55 -0
  292. package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
  293. package/dist/lib/components/RadioCards/RadioCardsRoot.js +56 -0
  294. package/dist/lib/components/RadioCards/index.d.ts +6 -0
  295. package/dist/lib/components/RadioCards/index.js +7 -0
  296. package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +12 -0
  297. package/dist/lib/components/RadioGroup/RadioGroupItem.js +47 -0
  298. package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
  299. package/dist/lib/components/RadioGroup/RadioGroupRoot.js +62 -0
  300. package/dist/lib/components/RadioGroup/index.d.ts +6 -0
  301. package/dist/lib/components/RadioGroup/index.js +7 -0
  302. package/dist/lib/components/ScrollArea/index.d.ts +9 -0
  303. package/dist/lib/components/ScrollArea/index.js +39 -0
  304. package/dist/lib/components/SegmentedControl/SegmentedControlItem.d.ts +6 -0
  305. package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +35 -0
  306. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
  307. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +55 -0
  308. package/dist/lib/components/SegmentedControl/index.d.ts +6 -0
  309. package/dist/lib/components/SegmentedControl/index.js +7 -0
  310. package/dist/lib/components/Select/index.d.ts +36 -0
  311. package/dist/lib/components/Select/index.js +112 -0
  312. package/dist/lib/components/Separator/index.d.ts +11 -0
  313. package/dist/lib/components/Separator/index.js +55 -0
  314. package/dist/lib/components/SideBar/index.d.ts +21 -0
  315. package/dist/lib/components/SideBar/index.js +71 -0
  316. package/dist/lib/components/Skeleton/index.d.ts +14 -0
  317. package/dist/lib/components/Skeleton/index.js +46 -0
  318. package/dist/lib/components/Slider/index.d.ts +15 -0
  319. package/dist/lib/components/Slider/index.js +56 -0
  320. package/dist/lib/components/Spinner/index.d.ts +15 -0
  321. package/dist/lib/components/Spinner/index.js +50 -0
  322. package/dist/lib/components/TabNav/index.d.ts +15 -0
  323. package/dist/lib/components/TabNav/index.js +53 -0
  324. package/dist/lib/components/Table/index.d.ts +30 -0
  325. package/dist/lib/components/Table/index.js +104 -0
  326. package/dist/lib/components/Tabs/DynamicTabs.d.ts +30 -0
  327. package/dist/lib/components/Tabs/DynamicTabs.js +72 -0
  328. package/dist/lib/components/Tabs/index.d.ts +23 -0
  329. package/dist/lib/components/Tabs/index.js +68 -0
  330. package/dist/lib/components/TextArea/index.d.ts +16 -0
  331. package/dist/lib/components/TextArea/index.js +66 -0
  332. package/dist/lib/components/TextField/index.d.ts +21 -0
  333. package/dist/lib/components/TextField/index.js +64 -0
  334. package/dist/lib/components/Timeline/TimelineConnector.d.ts +6 -0
  335. package/dist/lib/components/Timeline/TimelineConnector.js +34 -0
  336. package/dist/lib/components/Timeline/TimelineContent.d.ts +6 -0
  337. package/dist/lib/components/Timeline/TimelineContent.js +34 -0
  338. package/dist/lib/components/Timeline/TimelineDescription.d.ts +6 -0
  339. package/dist/lib/components/Timeline/TimelineDescription.js +34 -0
  340. package/dist/lib/components/Timeline/TimelineHeader.d.ts +6 -0
  341. package/dist/lib/components/Timeline/TimelineHeader.js +34 -0
  342. package/dist/lib/components/Timeline/TimelineIcon.d.ts +8 -0
  343. package/dist/lib/components/Timeline/TimelineIcon.js +43 -0
  344. package/dist/lib/components/Timeline/TimelineItem.d.ts +6 -0
  345. package/dist/lib/components/Timeline/TimelineItem.js +34 -0
  346. package/dist/lib/components/Timeline/TimelineRoot.d.ts +11 -0
  347. package/dist/lib/components/Timeline/TimelineRoot.js +53 -0
  348. package/dist/lib/components/Timeline/TimelineTime.d.ts +8 -0
  349. package/dist/lib/components/Timeline/TimelineTime.js +46 -0
  350. package/dist/lib/components/Timeline/TimelineTitle.d.ts +8 -0
  351. package/dist/lib/components/Timeline/TimelineTitle.js +46 -0
  352. package/dist/lib/components/Timeline/index.d.ts +13 -0
  353. package/dist/lib/components/Timeline/index.js +21 -0
  354. package/dist/lib/components/Toast/ToastActionButton.d.ts +14 -0
  355. package/dist/lib/components/Toast/ToastActionButton.js +72 -0
  356. package/dist/lib/components/Toast/ToastDescription.d.ts +13 -0
  357. package/dist/lib/components/Toast/ToastDescription.js +54 -0
  358. package/dist/lib/components/Toast/ToastRoot.d.ts +27 -0
  359. package/dist/lib/components/Toast/ToastRoot.js +98 -0
  360. package/dist/lib/components/Toast/ToastTitle.d.ts +13 -0
  361. package/dist/lib/components/Toast/ToastTitle.js +54 -0
  362. package/dist/lib/components/Toast/index.d.ts +8 -0
  363. package/dist/lib/components/Toast/index.js +11 -0
  364. package/dist/lib/components/Toggle/ToggleWithText.d.ts +21 -0
  365. package/dist/lib/components/Toggle/ToggleWithText.js +69 -0
  366. package/dist/lib/components/Toggle/index.d.ts +21 -0
  367. package/dist/lib/components/Toggle/index.js +69 -0
  368. package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +17 -0
  369. package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +55 -0
  370. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
  371. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +58 -0
  372. package/dist/lib/components/ToggleGroup/index.d.ts +6 -0
  373. package/dist/lib/components/ToggleGroup/index.js +7 -0
  374. package/dist/lib/components/ToggleSwitch/index.d.ts +13 -0
  375. package/dist/lib/components/ToggleSwitch/index.js +82 -0
  376. package/dist/lib/components/Tooltip/index.d.ts +19 -0
  377. package/dist/lib/components/Tooltip/index.js +54 -0
  378. package/dist/lib/components/index.d.ts +61 -1
  379. package/dist/lib/components/index.js +64 -1
  380. package/dist/lib/constants.d.ts +647 -0
  381. package/dist/lib/constants.js +895 -0
  382. package/dist/lib/dist/lib/Typography/Header/index.mjs +3 -0
  383. package/dist/lib/dist/lib/Typography/Text/index.mjs +3 -0
  384. package/dist/lib/dist/lib/Typography/Text/index.mjs.map +1 -0
  385. package/dist/lib/dist/lib/color/alpha.mjs +2 -0
  386. package/dist/lib/dist/lib/color/alpha.mjs.map +1 -0
  387. package/dist/lib/dist/lib/color/constants.mjs +2 -0
  388. package/dist/lib/dist/lib/color/constants.mjs.map +1 -0
  389. package/dist/lib/dist/lib/color/light.mjs +2 -0
  390. package/dist/lib/dist/lib/color/light.mjs.map +1 -0
  391. package/dist/lib/dist/lib/components/Accordion/index.mjs +3 -0
  392. package/dist/lib/dist/lib/components/Accordion/index.mjs.map +1 -0
  393. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs +3 -0
  394. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -0
  395. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +3 -0
  396. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -0
  397. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs +3 -0
  398. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -0
  399. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +3 -0
  400. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -0
  401. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +3 -0
  402. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -0
  403. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +3 -0
  404. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -0
  405. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +3 -0
  406. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -0
  407. package/dist/lib/dist/lib/components/AlertDialog/index.mjs +2 -0
  408. package/dist/lib/dist/lib/components/AlertDialog/index.mjs.map +1 -0
  409. package/dist/lib/dist/lib/components/AspectRatio/index.mjs +3 -0
  410. package/dist/lib/dist/lib/components/AspectRatio/index.mjs.map +1 -0
  411. package/dist/lib/dist/lib/components/Avatar/index.mjs +3 -0
  412. package/dist/lib/dist/lib/components/Avatar/index.mjs.map +1 -0
  413. package/dist/lib/dist/lib/components/Badge/index.mjs +3 -0
  414. package/dist/lib/dist/lib/components/Badge/index.mjs.map +1 -0
  415. package/dist/lib/dist/lib/components/BarChart/index.mjs +2 -0
  416. package/dist/lib/dist/lib/components/BarChart/index.mjs.map +1 -0
  417. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +2 -0
  418. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
  419. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +2 -0
  420. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
  421. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +2 -0
  422. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
  423. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +2 -0
  424. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
  425. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +2 -0
  426. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
  427. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +3 -0
  428. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +1 -0
  429. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +2 -0
  430. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
  431. package/dist/lib/dist/lib/components/Breadcrumb/index.mjs +2 -0
  432. package/dist/lib/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
  433. package/dist/lib/dist/lib/components/BubbleChart/index.mjs +2 -0
  434. package/dist/lib/dist/lib/components/BubbleChart/index.mjs.map +1 -0
  435. package/dist/lib/dist/lib/components/Button/index.mjs +3 -0
  436. package/dist/lib/dist/lib/components/Button/index.mjs.map +1 -0
  437. package/dist/lib/dist/lib/components/Calendar/index.mjs +3 -0
  438. package/dist/lib/dist/lib/components/Calendar/index.mjs.map +1 -0
  439. package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs +3 -0
  440. package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -0
  441. package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs +3 -0
  442. package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -0
  443. package/dist/lib/dist/lib/components/Callout/CalloutText.mjs +3 -0
  444. package/dist/lib/dist/lib/components/Callout/CalloutText.mjs.map +1 -0
  445. package/dist/lib/dist/lib/components/Callout/index.mjs +2 -0
  446. package/dist/lib/dist/lib/components/Callout/index.mjs.map +1 -0
  447. package/dist/lib/dist/lib/components/Card/index.mjs +3 -0
  448. package/dist/lib/dist/lib/components/Card/index.mjs.map +1 -0
  449. package/dist/lib/dist/lib/components/Checkbox/index.mjs +3 -0
  450. package/dist/lib/dist/lib/components/Checkbox/index.mjs.map +1 -0
  451. package/dist/lib/dist/lib/components/CheckboxCard/index.mjs +3 -0
  452. package/dist/lib/dist/lib/components/CheckboxCard/index.mjs.map +1 -0
  453. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs +3 -0
  454. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -0
  455. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +3 -0
  456. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -0
  457. package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs +2 -0
  458. package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
  459. package/dist/lib/dist/lib/components/Collapsible/index.mjs +3 -0
  460. package/dist/lib/dist/lib/components/Collapsible/index.mjs.map +1 -0
  461. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs +3 -0
  462. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -0
  463. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs +3 -0
  464. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -0
  465. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs +2 -0
  466. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
  467. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs +3 -0
  468. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -0
  469. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +3 -0
  470. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -0
  471. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +3 -0
  472. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -0
  473. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +3 -0
  474. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -0
  475. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs +3 -0
  476. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -0
  477. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +3 -0
  478. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -0
  479. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs +2 -0
  480. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
  481. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +3 -0
  482. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -0
  483. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +3 -0
  484. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -0
  485. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs +2 -0
  486. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
  487. package/dist/lib/dist/lib/components/ContextMenu/index.mjs +2 -0
  488. package/dist/lib/dist/lib/components/ContextMenu/index.mjs.map +1 -0
  489. package/dist/lib/dist/lib/components/DataList/DataListItem.mjs +3 -0
  490. package/dist/lib/dist/lib/components/DataList/DataListItem.mjs.map +1 -0
  491. package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs +3 -0
  492. package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs.map +1 -0
  493. package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs +3 -0
  494. package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs.map +1 -0
  495. package/dist/lib/dist/lib/components/DataList/DataListValue.mjs +3 -0
  496. package/dist/lib/dist/lib/components/DataList/DataListValue.mjs.map +1 -0
  497. package/dist/lib/dist/lib/components/DataList/index.mjs +2 -0
  498. package/dist/lib/dist/lib/components/DataList/index.mjs.map +1 -0
  499. package/dist/lib/dist/lib/components/Datepicker/index.mjs +3 -0
  500. package/dist/lib/dist/lib/components/Datepicker/index.mjs.map +1 -0
  501. package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs +3 -0
  502. package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs.map +1 -0
  503. package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs +3 -0
  504. package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -0
  505. package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs +3 -0
  506. package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs.map +1 -0
  507. package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs +3 -0
  508. package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -0
  509. package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs +3 -0
  510. package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -0
  511. package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs +3 -0
  512. package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -0
  513. package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs +3 -0
  514. package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -0
  515. package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs +2 -0
  516. package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
  517. package/dist/lib/dist/lib/components/Dialog/index.mjs +2 -0
  518. package/dist/lib/dist/lib/components/Dialog/index.mjs.map +1 -0
  519. package/dist/lib/dist/lib/components/DoughnutChart/index.mjs +2 -0
  520. package/dist/lib/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
  521. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs +2 -0
  522. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
  523. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +3 -0
  524. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -0
  525. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +3 -0
  526. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -0
  527. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +3 -0
  528. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -0
  529. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +3 -0
  530. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -0
  531. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +3 -0
  532. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -0
  533. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +3 -0
  534. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -0
  535. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +3 -0
  536. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -0
  537. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +3 -0
  538. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -0
  539. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs +2 -0
  540. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
  541. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs +2 -0
  542. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
  543. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +3 -0
  544. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -0
  545. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +3 -0
  546. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -0
  547. package/dist/lib/dist/lib/components/DropdownMenu/index.mjs +2 -0
  548. package/dist/lib/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
  549. package/dist/lib/dist/lib/components/Footer/index.mjs +3 -0
  550. package/dist/lib/dist/lib/components/Footer/index.mjs.map +1 -0
  551. package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs +3 -0
  552. package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs.map +1 -0
  553. package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs +2 -0
  554. package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -0
  555. package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs +3 -0
  556. package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs.map +1 -0
  557. package/dist/lib/dist/lib/components/Gnb/GnbMenuItem.mjs +3 -0
  558. package/dist/lib/dist/lib/components/Gnb/GnbMenuItem.mjs.map +1 -0
  559. package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs +3 -0
  560. package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs.map +1 -0
  561. package/dist/lib/dist/lib/components/Gnb/index.mjs +2 -0
  562. package/dist/lib/dist/lib/components/Gnb/index.mjs.map +1 -0
  563. package/dist/lib/dist/lib/components/Grid/Pagination.mjs +2 -0
  564. package/dist/lib/dist/lib/components/Grid/Pagination.mjs.map +1 -0
  565. package/dist/lib/dist/lib/components/Grid/index.mjs +3 -0
  566. package/dist/lib/dist/lib/components/Grid/index.mjs.map +1 -0
  567. package/dist/lib/dist/lib/components/Grid/useGrid.mjs +3 -0
  568. package/dist/lib/dist/lib/components/Grid/useGrid.mjs.map +1 -0
  569. package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs +3 -0
  570. package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -0
  571. package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs +3 -0
  572. package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -0
  573. package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs +2 -0
  574. package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
  575. package/dist/lib/dist/lib/components/HoverCard/index.mjs +2 -0
  576. package/dist/lib/dist/lib/components/HoverCard/index.mjs.map +1 -0
  577. package/dist/lib/dist/lib/components/IconButton/index.mjs +3 -0
  578. package/dist/lib/dist/lib/components/IconButton/index.mjs.map +1 -0
  579. package/dist/lib/dist/lib/components/Inset/index.mjs +3 -0
  580. package/dist/lib/dist/lib/components/Inset/index.mjs.map +1 -0
  581. package/dist/lib/dist/lib/components/Label/index.mjs +3 -0
  582. package/dist/lib/dist/lib/components/Label/index.mjs.map +1 -0
  583. package/dist/lib/dist/lib/components/LineChart/index.mjs +2 -0
  584. package/dist/lib/dist/lib/components/LineChart/index.mjs.map +1 -0
  585. package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +3 -0
  586. package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -0
  587. package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs +3 -0
  588. package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -0
  589. package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs +3 -0
  590. package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -0
  591. package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs +3 -0
  592. package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -0
  593. package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs +2 -0
  594. package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
  595. package/dist/lib/dist/lib/components/Menubar/MenubarRadioGroup.mjs +3 -0
  596. package/dist/lib/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -0
  597. package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs +3 -0
  598. package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -0
  599. package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs +3 -0
  600. package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -0
  601. package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs +2 -0
  602. package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
  603. package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs +2 -0
  604. package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
  605. package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs +3 -0
  606. package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -0
  607. package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs +3 -0
  608. package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -0
  609. package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs +3 -0
  610. package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -0
  611. package/dist/lib/dist/lib/components/Menubar/index.mjs +2 -0
  612. package/dist/lib/dist/lib/components/Menubar/index.mjs.map +1 -0
  613. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +3 -0
  614. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -0
  615. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +2 -0
  616. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
  617. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs +2 -0
  618. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
  619. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +3 -0
  620. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -0
  621. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +3 -0
  622. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -0
  623. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +3 -0
  624. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -0
  625. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +3 -0
  626. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -0
  627. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +3 -0
  628. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -0
  629. package/dist/lib/dist/lib/components/NavigationMenu/index.mjs +2 -0
  630. package/dist/lib/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
  631. package/dist/lib/dist/lib/components/PieChart/index.mjs +2 -0
  632. package/dist/lib/dist/lib/components/PieChart/index.mjs.map +1 -0
  633. package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs +3 -0
  634. package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs.map +1 -0
  635. package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs +3 -0
  636. package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs.map +1 -0
  637. package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs +3 -0
  638. package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -0
  639. package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs +2 -0
  640. package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
  641. package/dist/lib/dist/lib/components/Popover/index.mjs +2 -0
  642. package/dist/lib/dist/lib/components/Popover/index.mjs.map +1 -0
  643. package/dist/lib/dist/lib/components/Progress/index.mjs +3 -0
  644. package/dist/lib/dist/lib/components/Progress/index.mjs.map +1 -0
  645. package/dist/lib/dist/lib/components/RadarChart/index.mjs +2 -0
  646. package/dist/lib/dist/lib/components/RadarChart/index.mjs.map +1 -0
  647. package/dist/lib/dist/lib/components/Radio/index.mjs +3 -0
  648. package/dist/lib/dist/lib/components/Radio/index.mjs.map +1 -0
  649. package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs +3 -0
  650. package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -0
  651. package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs +3 -0
  652. package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -0
  653. package/dist/lib/dist/lib/components/RadioCards/index.mjs +2 -0
  654. package/dist/lib/dist/lib/components/RadioCards/index.mjs.map +1 -0
  655. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs +3 -0
  656. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -0
  657. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +3 -0
  658. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -0
  659. package/dist/lib/dist/lib/components/RadioGroup/index.mjs +2 -0
  660. package/dist/lib/dist/lib/components/RadioGroup/index.mjs.map +1 -0
  661. package/dist/lib/dist/lib/components/ScrollArea/index.mjs +3 -0
  662. package/dist/lib/dist/lib/components/ScrollArea/index.mjs.map +1 -0
  663. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs +2 -0
  664. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
  665. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +3 -0
  666. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -0
  667. package/dist/lib/dist/lib/components/SegmentedControl/index.mjs +2 -0
  668. package/dist/lib/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
  669. package/dist/lib/dist/lib/components/Select/index.mjs +3 -0
  670. package/dist/lib/dist/lib/components/Select/index.mjs.map +1 -0
  671. package/dist/lib/dist/lib/components/Separator/index.mjs +3 -0
  672. package/dist/lib/dist/lib/components/Separator/index.mjs.map +1 -0
  673. package/dist/lib/dist/lib/components/SideBar/index.mjs +3 -0
  674. package/dist/lib/dist/lib/components/SideBar/index.mjs.map +1 -0
  675. package/dist/lib/dist/lib/components/Skeleton/index.mjs +3 -0
  676. package/dist/lib/dist/lib/components/Skeleton/index.mjs.map +1 -0
  677. package/dist/lib/dist/lib/components/Slider/index.mjs +3 -0
  678. package/dist/lib/dist/lib/components/Slider/index.mjs.map +1 -0
  679. package/dist/lib/dist/lib/components/Spinner/index.mjs +3 -0
  680. package/dist/lib/dist/lib/components/Spinner/index.mjs.map +1 -0
  681. package/dist/lib/dist/lib/components/TabNav/index.mjs +3 -0
  682. package/dist/lib/dist/lib/components/TabNav/index.mjs.map +1 -0
  683. package/dist/lib/dist/lib/components/Table/index.mjs +3 -0
  684. package/dist/lib/dist/lib/components/Table/index.mjs.map +1 -0
  685. package/dist/lib/dist/lib/components/Tabs/DynamicTabs.mjs +2 -0
  686. package/dist/lib/dist/lib/components/Tabs/DynamicTabs.mjs.map +1 -0
  687. package/dist/lib/dist/lib/components/Tabs/index.mjs +3 -0
  688. package/dist/lib/dist/lib/components/Tabs/index.mjs.map +1 -0
  689. package/dist/lib/dist/lib/components/TextArea/index.mjs +3 -0
  690. package/dist/lib/dist/lib/components/TextArea/index.mjs.map +1 -0
  691. package/dist/lib/dist/lib/components/TextField/index.mjs +3 -0
  692. package/dist/lib/dist/lib/components/TextField/index.mjs.map +1 -0
  693. package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs +2 -0
  694. package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs.map +1 -0
  695. package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs +2 -0
  696. package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs.map +1 -0
  697. package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs +2 -0
  698. package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs.map +1 -0
  699. package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs +2 -0
  700. package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs.map +1 -0
  701. package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs +3 -0
  702. package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs.map +1 -0
  703. package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs +2 -0
  704. package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs.map +1 -0
  705. package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs +3 -0
  706. package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs.map +1 -0
  707. package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs +3 -0
  708. package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs.map +1 -0
  709. package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs +3 -0
  710. package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs.map +1 -0
  711. package/dist/lib/dist/lib/components/Timeline/index.mjs +2 -0
  712. package/dist/lib/dist/lib/components/Timeline/index.mjs.map +1 -0
  713. package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs +3 -0
  714. package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -0
  715. package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs +3 -0
  716. package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs.map +1 -0
  717. package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs +3 -0
  718. package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs.map +1 -0
  719. package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs +3 -0
  720. package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs.map +1 -0
  721. package/dist/lib/dist/lib/components/Toast/index.mjs +2 -0
  722. package/dist/lib/dist/lib/components/Toast/index.mjs.map +1 -0
  723. package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs +3 -0
  724. package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -0
  725. package/dist/lib/dist/lib/components/Toggle/index.mjs +3 -0
  726. package/dist/lib/dist/lib/components/Toggle/index.mjs.map +1 -0
  727. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +3 -0
  728. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -0
  729. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +3 -0
  730. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -0
  731. package/dist/lib/dist/lib/components/ToggleGroup/index.mjs +2 -0
  732. package/dist/lib/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
  733. package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs +3 -0
  734. package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs.map +1 -0
  735. package/dist/lib/dist/lib/components/Tooltip/index.mjs +3 -0
  736. package/dist/lib/dist/lib/components/Tooltip/index.mjs.map +1 -0
  737. package/dist/lib/dist/lib/constants.mjs +2 -0
  738. package/dist/lib/dist/lib/constants.mjs.map +1 -0
  739. package/dist/lib/dist/lib/index.mjs +2 -0
  740. package/dist/lib/dist/lib/index.mjs.map +1 -0
  741. package/dist/lib/dist/lib/theme/ThemeProvider.mjs +3 -0
  742. package/dist/lib/dist/lib/theme/ThemeProvider.mjs.map +1 -0
  743. package/dist/lib/dist/lib/utils/useDarkMode.mjs +3 -0
  744. package/dist/lib/dist/lib/utils/useDarkMode.mjs.map +1 -0
  745. package/dist/lib/dist/lib/utils/useWindowSize.mjs +2 -0
  746. package/dist/lib/dist/lib/utils/useWindowSize.mjs.map +1 -0
  747. package/dist/lib/dist/lib/utils/utils.mjs.map +1 -0
  748. package/dist/lib/index.d.ts +2 -0
  749. package/dist/lib/index.js +2 -0
  750. package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs +2 -0
  751. package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs.map +1 -0
  752. package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs +2 -0
  753. package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs.map +1 -0
  754. package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs +2 -0
  755. package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs.map +1 -0
  756. package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs +2 -0
  757. package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs.map +1 -0
  758. package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs +2 -0
  759. package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs.map +1 -0
  760. package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs +2 -0
  761. package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs.map +1 -0
  762. package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs +2 -0
  763. package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs.map +1 -0
  764. package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs +2 -0
  765. package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs.map +1 -0
  766. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs +2 -0
  767. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs.map +1 -0
  768. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs +2 -0
  769. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs.map +1 -0
  770. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs +2 -0
  771. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs.map +1 -0
  772. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs +2 -0
  773. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs.map +1 -0
  774. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs +2 -0
  775. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs.map +1 -0
  776. package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs +2 -0
  777. package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs.map +1 -0
  778. package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs +2 -0
  779. package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs.map +1 -0
  780. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs +2 -0
  781. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs.map +1 -0
  782. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs +2 -0
  783. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs.map +1 -0
  784. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs +2 -0
  785. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs.map +1 -0
  786. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs +2 -0
  787. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs.map +1 -0
  788. package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs +2 -0
  789. package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs.map +1 -0
  790. package/dist/lib/node_modules/date-fns/esm/addDays/index.mjs +2 -0
  791. package/dist/lib/node_modules/date-fns/esm/addDays/index.mjs.map +1 -0
  792. package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs +2 -0
  793. package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs.map +1 -0
  794. package/dist/lib/node_modules/date-fns/esm/addMonths/index.mjs +2 -0
  795. package/dist/lib/node_modules/date-fns/esm/addMonths/index.mjs.map +1 -0
  796. package/dist/lib/node_modules/date-fns/esm/addWeeks/index.mjs +2 -0
  797. package/dist/lib/node_modules/date-fns/esm/addWeeks/index.mjs.map +1 -0
  798. package/dist/lib/node_modules/date-fns/esm/addYears/index.mjs +2 -0
  799. package/dist/lib/node_modules/date-fns/esm/addYears/index.mjs.map +1 -0
  800. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarDays/index.mjs +2 -0
  801. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarDays/index.mjs.map +1 -0
  802. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarMonths/index.mjs +2 -0
  803. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarMonths/index.mjs.map +1 -0
  804. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarWeeks/index.mjs +2 -0
  805. package/dist/lib/node_modules/date-fns/esm/differenceInCalendarWeeks/index.mjs.map +1 -0
  806. package/dist/lib/node_modules/date-fns/esm/endOfISOWeek/index.mjs +2 -0
  807. package/dist/lib/node_modules/date-fns/esm/endOfISOWeek/index.mjs.map +1 -0
  808. package/dist/lib/node_modules/date-fns/esm/endOfMonth/index.mjs +2 -0
  809. package/dist/lib/node_modules/date-fns/esm/endOfMonth/index.mjs.map +1 -0
  810. package/dist/lib/node_modules/date-fns/esm/endOfWeek/index.mjs +2 -0
  811. package/dist/lib/node_modules/date-fns/esm/endOfWeek/index.mjs.map +1 -0
  812. package/dist/lib/node_modules/date-fns/esm/format/index.mjs +2 -0
  813. package/dist/lib/node_modules/date-fns/esm/format/index.mjs.map +1 -0
  814. package/dist/lib/node_modules/date-fns/esm/getDaysInMonth/index.mjs +2 -0
  815. package/dist/lib/node_modules/date-fns/esm/getDaysInMonth/index.mjs.map +1 -0
  816. package/dist/lib/node_modules/date-fns/esm/getISOWeek/index.mjs +2 -0
  817. package/dist/lib/node_modules/date-fns/esm/getISOWeek/index.mjs.map +1 -0
  818. package/dist/lib/node_modules/date-fns/esm/getISOWeekYear/index.mjs +2 -0
  819. package/dist/lib/node_modules/date-fns/esm/getISOWeekYear/index.mjs.map +1 -0
  820. package/dist/lib/node_modules/date-fns/esm/getTime/index.mjs +2 -0
  821. package/dist/lib/node_modules/date-fns/esm/getTime/index.mjs.map +1 -0
  822. package/dist/lib/node_modules/date-fns/esm/getUnixTime/index.mjs +2 -0
  823. package/dist/lib/node_modules/date-fns/esm/getUnixTime/index.mjs.map +1 -0
  824. package/dist/lib/node_modules/date-fns/esm/getWeek/index.mjs +2 -0
  825. package/dist/lib/node_modules/date-fns/esm/getWeek/index.mjs.map +1 -0
  826. package/dist/lib/node_modules/date-fns/esm/getWeekYear/index.mjs +2 -0
  827. package/dist/lib/node_modules/date-fns/esm/getWeekYear/index.mjs.map +1 -0
  828. package/dist/lib/node_modules/date-fns/esm/getWeeksInMonth/index.mjs +2 -0
  829. package/dist/lib/node_modules/date-fns/esm/getWeeksInMonth/index.mjs.map +1 -0
  830. package/dist/lib/node_modules/date-fns/esm/isAfter/index.mjs +2 -0
  831. package/dist/lib/node_modules/date-fns/esm/isAfter/index.mjs.map +1 -0
  832. package/dist/lib/node_modules/date-fns/esm/isBefore/index.mjs +2 -0
  833. package/dist/lib/node_modules/date-fns/esm/isBefore/index.mjs.map +1 -0
  834. package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs +2 -0
  835. package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs.map +1 -0
  836. package/dist/lib/node_modules/date-fns/esm/isSameDay/index.mjs +2 -0
  837. package/dist/lib/node_modules/date-fns/esm/isSameDay/index.mjs.map +1 -0
  838. package/dist/lib/node_modules/date-fns/esm/isSameMonth/index.mjs +2 -0
  839. package/dist/lib/node_modules/date-fns/esm/isSameMonth/index.mjs.map +1 -0
  840. package/dist/lib/node_modules/date-fns/esm/isSameYear/index.mjs +2 -0
  841. package/dist/lib/node_modules/date-fns/esm/isSameYear/index.mjs.map +1 -0
  842. package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs +2 -0
  843. package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs.map +1 -0
  844. package/dist/lib/node_modules/date-fns/esm/lastDayOfMonth/index.mjs +2 -0
  845. package/dist/lib/node_modules/date-fns/esm/lastDayOfMonth/index.mjs.map +1 -0
  846. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs +2 -0
  847. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs.map +1 -0
  848. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs +2 -0
  849. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs.map +1 -0
  850. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs +2 -0
  851. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs.map +1 -0
  852. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs +2 -0
  853. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs.map +1 -0
  854. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs +2 -0
  855. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs.map +1 -0
  856. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs +2 -0
  857. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs.map +1 -0
  858. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs +2 -0
  859. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs.map +1 -0
  860. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs +2 -0
  861. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs.map +1 -0
  862. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs +2 -0
  863. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs.map +1 -0
  864. package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs +2 -0
  865. package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs.map +1 -0
  866. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs +2 -0
  867. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs.map +1 -0
  868. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs +2 -0
  869. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs.map +1 -0
  870. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs +2 -0
  871. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs.map +1 -0
  872. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs +2 -0
  873. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs.map +1 -0
  874. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs +2 -0
  875. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs.map +1 -0
  876. package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs +2 -0
  877. package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs.map +1 -0
  878. package/dist/lib/node_modules/date-fns/esm/max/index.mjs +2 -0
  879. package/dist/lib/node_modules/date-fns/esm/max/index.mjs.map +1 -0
  880. package/dist/lib/node_modules/date-fns/esm/min/index.mjs +2 -0
  881. package/dist/lib/node_modules/date-fns/esm/min/index.mjs.map +1 -0
  882. package/dist/lib/node_modules/date-fns/esm/setMonth/index.mjs +2 -0
  883. package/dist/lib/node_modules/date-fns/esm/setMonth/index.mjs.map +1 -0
  884. package/dist/lib/node_modules/date-fns/esm/setYear/index.mjs +2 -0
  885. package/dist/lib/node_modules/date-fns/esm/setYear/index.mjs.map +1 -0
  886. package/dist/lib/node_modules/date-fns/esm/startOfDay/index.mjs +2 -0
  887. package/dist/lib/node_modules/date-fns/esm/startOfDay/index.mjs.map +1 -0
  888. package/dist/lib/node_modules/date-fns/esm/startOfISOWeek/index.mjs +2 -0
  889. package/dist/lib/node_modules/date-fns/esm/startOfISOWeek/index.mjs.map +1 -0
  890. package/dist/lib/node_modules/date-fns/esm/startOfISOWeekYear/index.mjs +2 -0
  891. package/dist/lib/node_modules/date-fns/esm/startOfISOWeekYear/index.mjs.map +1 -0
  892. package/dist/lib/node_modules/date-fns/esm/startOfMonth/index.mjs +2 -0
  893. package/dist/lib/node_modules/date-fns/esm/startOfMonth/index.mjs.map +1 -0
  894. package/dist/lib/node_modules/date-fns/esm/startOfWeek/index.mjs +2 -0
  895. package/dist/lib/node_modules/date-fns/esm/startOfWeek/index.mjs.map +1 -0
  896. package/dist/lib/node_modules/date-fns/esm/startOfWeekYear/index.mjs +2 -0
  897. package/dist/lib/node_modules/date-fns/esm/startOfWeekYear/index.mjs.map +1 -0
  898. package/dist/lib/node_modules/date-fns/esm/startOfYear/index.mjs +2 -0
  899. package/dist/lib/node_modules/date-fns/esm/startOfYear/index.mjs.map +1 -0
  900. package/dist/lib/node_modules/date-fns/esm/subDays/index.mjs +2 -0
  901. package/dist/lib/node_modules/date-fns/esm/subDays/index.mjs.map +1 -0
  902. package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs +2 -0
  903. package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs.map +1 -0
  904. package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs +2 -0
  905. package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs.map +1 -0
  906. package/dist/lib/node_modules/object-assign/index.mjs +7 -0
  907. package/dist/lib/node_modules/object-assign/index.mjs.map +1 -0
  908. package/dist/lib/node_modules/prop-types/checkPropTypes.mjs +2 -0
  909. package/dist/lib/node_modules/prop-types/checkPropTypes.mjs.map +1 -0
  910. package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs +2 -0
  911. package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs.map +1 -0
  912. package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs +2 -0
  913. package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs.map +1 -0
  914. package/dist/lib/node_modules/prop-types/index.mjs +2 -0
  915. package/dist/lib/node_modules/prop-types/index.mjs.map +1 -0
  916. package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +2 -0
  917. package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs.map +1 -0
  918. package/dist/lib/node_modules/prop-types/lib/has.mjs +2 -0
  919. package/dist/lib/node_modules/prop-types/lib/has.mjs.map +1 -0
  920. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs +10 -0
  921. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs.map +1 -0
  922. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs +10 -0
  923. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs.map +1 -0
  924. package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs +2 -0
  925. package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs.map +1 -0
  926. package/dist/lib/node_modules/react-day-picker/dist/index.esm.mjs +2 -0
  927. package/dist/lib/node_modules/react-day-picker/dist/index.esm.mjs.map +1 -0
  928. package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs +21 -0
  929. package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs.map +1 -0
  930. package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs +2 -0
  931. package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs.map +1 -0
  932. package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs +2 -0
  933. package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs.map +1 -0
  934. package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs +2 -0
  935. package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs.map +1 -0
  936. package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs +2 -0
  937. package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs.map +1 -0
  938. package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs +2 -0
  939. package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs.map +1 -0
  940. package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs +2 -0
  941. package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs.map +1 -0
  942. package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs +2 -0
  943. package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs.map +1 -0
  944. package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs +2 -0
  945. package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs.map +1 -0
  946. package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs +2 -0
  947. package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs.map +1 -0
  948. package/dist/lib/theme/ThemeProvider.d.ts +16 -0
  949. package/dist/lib/theme/ThemeProvider.js +29 -0
  950. package/dist/lib/theme/index.d.ts +2 -0
  951. package/dist/lib/theme/index.js +2 -0
  952. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  953. package/dist/lib/types.d.ts +85 -0
  954. package/dist/lib/utils/classPrefixes.d.ts +3 -0
  955. package/dist/lib/utils/classPrefixes.js +29 -0
  956. package/dist/lib/utils/useDarkMode.d.ts +1 -0
  957. package/dist/lib/utils/useDarkMode.js +50 -0
  958. package/dist/lib/utils/useWindowSize.d.ts +1 -0
  959. package/dist/lib/utils/useWindowSize.js +17 -0
  960. package/dist/tailwind.config.js +98 -0
  961. package/dist/tsconfig.tsbuildinfo +1 -1
  962. package/package.json +57 -10
  963. package/dist/lib/components/Editor/index.mjs +0 -3
  964. package/dist/lib/constants.mjs +0 -2
  965. package/dist/lib/constants.mjs.map +0 -1
  966. package/dist/lib/index.mjs +0 -2
  967. package/dist/lib/utils/utils.mjs.map +0 -1
  968. package/dist/post-tinymce.js +0 -22
  969. package/public/tinymce/CHANGELOG.md +0 -3453
  970. package/public/tinymce/README.md +0 -73
  971. package/public/tinymce/bower.json +0 -27
  972. package/public/tinymce/composer.json +0 -52
  973. package/public/tinymce/icons/default/icons.js +0 -194
  974. package/public/tinymce/icons/default/icons.min.js +0 -1
  975. package/public/tinymce/icons/default/icons.mjs +0 -2
  976. package/public/tinymce/icons/default/icons.mjs.map +0 -1
  977. package/public/tinymce/icons/default/index.d.ts +0 -1
  978. package/public/tinymce/icons/default/index.js +0 -7
  979. package/public/tinymce/icons/default/index.mjs +0 -2
  980. package/public/tinymce/icons/default/index.mjs.map +0 -1
  981. package/public/tinymce/license.txt +0 -21
  982. package/public/tinymce/models/dom/index.d.ts +0 -1
  983. package/public/tinymce/models/dom/index.js +0 -7
  984. package/public/tinymce/models/dom/index.mjs +0 -2
  985. package/public/tinymce/models/dom/index.mjs.map +0 -1
  986. package/public/tinymce/models/dom/model.js +0 -8040
  987. package/public/tinymce/models/dom/model.min.js +0 -4
  988. package/public/tinymce/models/dom/model.mjs +0 -2
  989. package/public/tinymce/models/dom/model.mjs.map +0 -1
  990. package/public/tinymce/package.json +0 -32
  991. package/public/tinymce/plugins/advlist/index.d.ts +0 -1
  992. package/public/tinymce/plugins/advlist/index.js +0 -7
  993. package/public/tinymce/plugins/advlist/index.mjs +0 -2
  994. package/public/tinymce/plugins/advlist/index.mjs.map +0 -1
  995. package/public/tinymce/plugins/advlist/plugin.js +0 -259
  996. package/public/tinymce/plugins/advlist/plugin.min.js +0 -4
  997. package/public/tinymce/plugins/advlist/plugin.mjs +0 -2
  998. package/public/tinymce/plugins/advlist/plugin.mjs.map +0 -1
  999. package/public/tinymce/plugins/autolink/index.js +0 -7
  1000. package/public/tinymce/plugins/autolink/plugin.js +0 -228
  1001. package/public/tinymce/plugins/autolink/plugin.min.js +0 -4
  1002. package/public/tinymce/plugins/code/index.d.ts +0 -1
  1003. package/public/tinymce/plugins/code/index.js +0 -7
  1004. package/public/tinymce/plugins/code/index.mjs +0 -2
  1005. package/public/tinymce/plugins/code/index.mjs.map +0 -1
  1006. package/public/tinymce/plugins/code/plugin.js +0 -85
  1007. package/public/tinymce/plugins/code/plugin.min.js +0 -4
  1008. package/public/tinymce/plugins/code/plugin.mjs +0 -2
  1009. package/public/tinymce/plugins/code/plugin.mjs.map +0 -1
  1010. package/public/tinymce/plugins/codesample/index.d.ts +0 -1
  1011. package/public/tinymce/plugins/codesample/index.js +0 -7
  1012. package/public/tinymce/plugins/codesample/index.mjs +0 -2
  1013. package/public/tinymce/plugins/codesample/index.mjs.map +0 -1
  1014. package/public/tinymce/plugins/codesample/plugin.d.ts +0 -45
  1015. package/public/tinymce/plugins/codesample/plugin.js +0 -2463
  1016. package/public/tinymce/plugins/codesample/plugin.min.js +0 -4
  1017. package/public/tinymce/plugins/codesample/plugin.mjs +0 -2
  1018. package/public/tinymce/plugins/codesample/plugin.mjs.map +0 -1
  1019. package/public/tinymce/plugins/image/index.d.ts +0 -1
  1020. package/public/tinymce/plugins/image/index.js +0 -7
  1021. package/public/tinymce/plugins/image/index.mjs +0 -2
  1022. package/public/tinymce/plugins/image/index.mjs.map +0 -1
  1023. package/public/tinymce/plugins/image/plugin.js +0 -1505
  1024. package/public/tinymce/plugins/image/plugin.min.js +0 -4
  1025. package/public/tinymce/plugins/image/plugin.mjs +0 -2
  1026. package/public/tinymce/plugins/image/plugin.mjs.map +0 -1
  1027. package/public/tinymce/plugins/link/index.d.ts +0 -1
  1028. package/public/tinymce/plugins/link/index.js +0 -7
  1029. package/public/tinymce/plugins/link/index.mjs +0 -2
  1030. package/public/tinymce/plugins/link/index.mjs.map +0 -1
  1031. package/public/tinymce/plugins/link/plugin.js +0 -1242
  1032. package/public/tinymce/plugins/link/plugin.min.js +0 -4
  1033. package/public/tinymce/plugins/link/plugin.mjs +0 -2
  1034. package/public/tinymce/plugins/link/plugin.mjs.map +0 -1
  1035. package/public/tinymce/plugins/lists/index.d.ts +0 -1
  1036. package/public/tinymce/plugins/lists/index.js +0 -7
  1037. package/public/tinymce/plugins/lists/index.mjs +0 -2
  1038. package/public/tinymce/plugins/lists/index.mjs.map +0 -1
  1039. package/public/tinymce/plugins/lists/plugin.js +0 -2172
  1040. package/public/tinymce/plugins/lists/plugin.min.js +0 -4
  1041. package/public/tinymce/plugins/lists/plugin.mjs +0 -2
  1042. package/public/tinymce/plugins/lists/plugin.mjs.map +0 -1
  1043. package/public/tinymce/plugins/table/index.d.ts +0 -1
  1044. package/public/tinymce/plugins/table/index.js +0 -7
  1045. package/public/tinymce/plugins/table/index.mjs +0 -2
  1046. package/public/tinymce/plugins/table/index.mjs.map +0 -1
  1047. package/public/tinymce/plugins/table/plugin.js +0 -3462
  1048. package/public/tinymce/plugins/table/plugin.min.js +0 -4
  1049. package/public/tinymce/plugins/table/plugin.mjs +0 -2
  1050. package/public/tinymce/plugins/table/plugin.mjs.map +0 -1
  1051. package/public/tinymce/skins/content/default/content.css +0 -61
  1052. package/public/tinymce/skins/content/default/content.js +0 -2
  1053. package/public/tinymce/skins/content/default/content.min.css +0 -1
  1054. package/public/tinymce/skins/content/default/content.mjs +0 -2
  1055. package/public/tinymce/skins/content/default/content.mjs.map +0 -1
  1056. package/public/tinymce/skins/ui/oxide/content.css +0 -785
  1057. package/public/tinymce/skins/ui/oxide/content.inline.css +0 -779
  1058. package/public/tinymce/skins/ui/oxide/content.inline.js +0 -2
  1059. package/public/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
  1060. package/public/tinymce/skins/ui/oxide/content.js +0 -2
  1061. package/public/tinymce/skins/ui/oxide/content.min.css +0 -1
  1062. package/public/tinymce/skins/ui/oxide/content.mjs +0 -2
  1063. package/public/tinymce/skins/ui/oxide/content.mjs.map +0 -1
  1064. package/public/tinymce/skins/ui/oxide/skin.css +0 -3763
  1065. package/public/tinymce/skins/ui/oxide/skin.js +0 -2
  1066. package/public/tinymce/skins/ui/oxide/skin.min.css +0 -1
  1067. package/public/tinymce/skins/ui/oxide/skin.mjs +0 -2
  1068. package/public/tinymce/skins/ui/oxide/skin.mjs.map +0 -1
  1069. package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
  1070. package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
  1071. package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
  1072. package/public/tinymce/skins/ui/oxide-dark/content.css +0 -766
  1073. package/public/tinymce/skins/ui/oxide-dark/content.inline.css +0 -779
  1074. package/public/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
  1075. package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
  1076. package/public/tinymce/skins/ui/oxide-dark/content.js +0 -2
  1077. package/public/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
  1078. package/public/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
  1079. package/public/tinymce/skins/ui/oxide-dark/skin.js +0 -2
  1080. package/public/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
  1081. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
  1082. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
  1083. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
  1084. package/public/tinymce/themes/silver/index.d.ts +0 -1
  1085. package/public/tinymce/themes/silver/index.js +0 -7
  1086. package/public/tinymce/themes/silver/index.mjs +0 -2
  1087. package/public/tinymce/themes/silver/index.mjs.map +0 -1
  1088. package/public/tinymce/themes/silver/theme.js +0 -30775
  1089. package/public/tinymce/themes/silver/theme.min.js +0 -384
  1090. package/public/tinymce/themes/silver/theme.mjs +0 -2
  1091. package/public/tinymce/themes/silver/theme.mjs.map +0 -1
  1092. package/public/tinymce/tinymce.d.ts +0 -3238
  1093. package/public/tinymce/tinymce.js +0 -31779
  1094. package/public/tinymce/tinymce.min.js +0 -384
  1095. package/public/tinymce/tinymce.mjs +0 -2
  1096. package/public/tinymce/tinymce.mjs.map +0 -1
  1097. /package/dist/lib/{index.mjs.map → _virtual/index.mjs.map} +0 -0
  1098. /package/dist/lib/{components/Editor → dist/lib/Typography/Header}/index.mjs.map +0 -0
  1099. /package/dist/lib/{utils → dist/lib/utils}/utils.mjs +0 -0
  1100. /package/dist/{post-tinymce.d.ts → lib/types.js} +0 -0
@@ -1,4 +0,0 @@
1
- /**
2
- * TinyMCE version 6.8.5 (TBD)
3
- */
4
- !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=Object.getPrototypeOf,a=(e,t,a)=>{var i;return!!a(e,t.prototype)||(null===(i=e.constructor)||void 0===i?void 0:i.name)===t.name},i=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&a(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(t)===e,s=e=>t=>typeof t===e,r=i("string"),o=i("object"),n=e=>((e,i)=>o(e)&&a(e,i,((e,a)=>t(e)===a)))(e,Object),l=i("array"),c=(null,e=>null===e);const m=s("boolean"),d=e=>!(e=>null==e)(e),g=s("function"),u=s("number"),p=()=>{};class h{constructor(e,t){this.tag=e,this.value=t}static some(e){return new h(!0,e)}static none(){return h.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?h.some(e(this.value)):h.none()}bind(e){return this.tag?e(this.value):h.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:h.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return d(e)?h.some(e):h.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}h.singletonNone=new h(!1);const b=Object.keys,v=Object.hasOwnProperty,y=(e,t)=>v.call(e,t),f=Array.prototype.push,w=e=>{const t=[];for(let a=0,i=e.length;a<i;++a){if(!l(e[a]))throw new Error("Arr.flatten item "+a+" was not an array, input: "+e);f.apply(t,e[a])}return t};"undefined"!=typeof window?window:Function("return this;")();const A=(e,t,a)=>{((e,t,a)=>{if(!(r(a)||m(a)||u(a)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",a,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,a+"")})(e.dom,t,a)},D=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},_=D;var C=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),I=tinymce.util.Tools.resolve("tinymce.util.URI");const U=e=>e.length>0,x=e=>t=>t.options.get(e),S=x("image_dimensions"),N=x("image_advtab"),T=x("image_uploadtab"),O=x("image_prepend_url"),E=x("image_class_list"),L=x("image_description"),j=x("image_title"),M=x("image_caption"),R=x("image_list"),k=x("a11y_advanced_options"),z=x("automatic_uploads"),B=(e,t)=>Math.max(parseInt(e,10),parseInt(t,10)),P=e=>(e&&(e=e.replace(/px$/,"")),e),F=e=>(e.length>0&&/^[0-9]+$/.test(e)&&(e+="px"),e),H=e=>"IMG"===e.nodeName&&(e.hasAttribute("data-mce-object")||e.hasAttribute("data-mce-placeholder")),G=(e,t)=>{const a=e.options.get;return I.isDomSafe(t,"img",{allow_html_data_urls:a("allow_html_data_urls"),allow_script_urls:a("allow_script_urls"),allow_svg_data_urls:a("allow_svg_data_urls")})},W=C.DOM,$=e=>e.style.marginLeft&&e.style.marginRight&&e.style.marginLeft===e.style.marginRight?P(e.style.marginLeft):"",V=e=>e.style.marginTop&&e.style.marginBottom&&e.style.marginTop===e.style.marginBottom?P(e.style.marginTop):"",K=e=>e.style.borderWidth?P(e.style.borderWidth):"",Z=(e,t)=>{var a;return e.hasAttribute(t)&&null!==(a=e.getAttribute(t))&&void 0!==a?a:""},q=e=>null!==e.parentNode&&"FIGURE"===e.parentNode.nodeName,J=(e,t,a)=>{""===a||null===a?e.removeAttribute(t):e.setAttribute(t,a)},Q=(e,t)=>{const a=e.getAttribute("style"),i=t(null!==a?a:"");i.length>0?(e.setAttribute("style",i),e.setAttribute("data-mce-style",i)):e.removeAttribute("style")},X=(e,t)=>(e,a,i)=>{const s=e.style;s[a]?(s[a]=F(i),Q(e,t)):J(e,a,i)},Y=(e,t)=>e.style[t]?P(e.style[t]):Z(e,t),ee=(e,t)=>{const a=F(t);e.style.marginLeft=a,e.style.marginRight=a},te=(e,t)=>{const a=F(t);e.style.marginTop=a,e.style.marginBottom=a},ae=(e,t)=>{const a=F(t);e.style.borderWidth=a},ie=(e,t)=>{e.style.borderStyle=t},se=e=>{var t;return null!==(t=e.style.borderStyle)&&void 0!==t?t:""},re=e=>d(e)&&"FIGURE"===e.nodeName,oe=e=>0===W.getAttrib(e,"alt").length&&"presentation"===W.getAttrib(e,"role"),ne=e=>oe(e)?"":Z(e,"alt"),le=(e,t)=>{var a;const i=document.createElement("img");return J(i,"style",t.style),($(i)||""!==t.hspace)&&ee(i,t.hspace),(V(i)||""!==t.vspace)&&te(i,t.vspace),(K(i)||""!==t.border)&&ae(i,t.border),(se(i)||""!==t.borderStyle)&&ie(i,t.borderStyle),e(null!==(a=i.getAttribute("style"))&&void 0!==a?a:"")},ce=(e,t)=>({src:Z(t,"src"),alt:ne(t),title:Z(t,"title"),width:Y(t,"width"),height:Y(t,"height"),class:Z(t,"class"),style:e(Z(t,"style")),caption:q(t),hspace:$(t),vspace:V(t),border:K(t),borderStyle:se(t),isDecorative:oe(t)}),me=(e,t,a,i,s)=>{a[i]!==t[i]&&s(e,i,String(a[i]))},de=(e,t,a)=>{if(a){W.setAttrib(e,"role","presentation");const t=_(e);A(t,"alt","")}else{if(c(t)){"alt",_(e).dom.removeAttribute("alt")}else{const a=_(e);A(a,"alt",t)}"presentation"===W.getAttrib(e,"role")&&W.setAttrib(e,"role","")}},ge=(e,t)=>(a,i,s)=>{e(a,s),Q(a,t)},ue=(e,t,a)=>{const i=ce(e,a);me(a,i,t,"caption",((e,t,a)=>(e=>{q(e)?(e=>{const t=e.parentNode;d(t)&&(W.insertAfter(e,t),W.remove(t))})(e):(e=>{const t=W.create("figure",{class:"image"});W.insertAfter(t,e),t.appendChild(e),t.appendChild(W.create("figcaption",{contentEditable:"true"},"Caption")),t.contentEditable="false"})(e)})(e))),me(a,i,t,"src",J),me(a,i,t,"title",J),me(a,i,t,"width",X(0,e)),me(a,i,t,"height",X(0,e)),me(a,i,t,"class",J),me(a,i,t,"style",ge(((e,t)=>J(e,"style",t)),e)),me(a,i,t,"hspace",ge(ee,e)),me(a,i,t,"vspace",ge(te,e)),me(a,i,t,"border",ge(ae,e)),me(a,i,t,"borderStyle",ge(ie,e)),((e,t,a)=>{a.alt===t.alt&&a.isDecorative===t.isDecorative||de(e,a.alt,a.isDecorative)})(a,i,t)},pe=(e,t)=>{const a=(e=>{if(e.margin){const t=String(e.margin).split(" ");switch(t.length){case 1:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[0],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[0];break;case 2:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[1];break;case 3:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[1];break;case 4:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[3]}delete e.margin}return e})(e.dom.styles.parse(t)),i=e.dom.styles.parse(e.dom.styles.serialize(a));return e.dom.styles.serialize(i)},he=e=>{const t=e.selection.getNode(),a=e.dom.getParent(t,"figure.image");return a?e.dom.select("img",a)[0]:t&&("IMG"!==t.nodeName||H(t))?null:t},be=(e,t)=>{var a;const i=e.dom,s=((t,a)=>{const i={};var s;return((e,t,a,i)=>{((e,t)=>{const a=b(e);for(let i=0,s=a.length;i<s;i++){const s=a[i];t(e[s],s)}})(e,((e,s)=>{(t(e,s)?a:i)(e,s)}))})(t,((t,a)=>!e.schema.isValidChild(a,"figure")),(s=i,(e,t)=>{s[t]=e}),p),i})(e.schema.getTextBlockElements()),r=i.getParent(t.parentNode,(e=>{return t=s,a=e.nodeName,y(t,a)&&void 0!==t[a]&&null!==t[a];var t,a}),e.getBody());return r&&null!==(a=i.split(r,t))&&void 0!==a?a:t},ve=(e,t)=>{const a=((t,a)=>{const i=document.createElement("img");if(ue((t=>pe(e,t)),{...a,caption:!1},i),de(i,a.alt,a.isDecorative),a.caption){const e=W.create("figure",{class:"image"});return e.appendChild(i),e.appendChild(W.create("figcaption",{contentEditable:"true"},"Caption")),e.contentEditable="false",e}return i})(0,t);e.dom.setAttrib(a,"data-mce-id","__mcenew"),e.focus(),e.selection.setContent(a.outerHTML);const i=e.dom.select('*[data-mce-id="__mcenew"]')[0];if(e.dom.setAttrib(i,"data-mce-id",null),re(i)){const t=be(e,i);e.selection.select(t)}else e.selection.select(i)},ye=(e,t)=>{const a=he(e);if(a){const i={...ce((t=>pe(e,t)),a),...t},s=((e,t)=>{const a=t.src;return{...t,src:G(e,a)?a:""}})(e,i);i.src?((e,t)=>{const a=he(e);if(a)if(ue((t=>pe(e,t)),t,a),((e,t)=>{e.dom.setAttrib(t,"src",t.getAttribute("src"))})(e,a),re(a.parentNode)){const t=a.parentNode;be(e,t),e.selection.select(a.parentNode)}else e.selection.select(a),((e,t,a)=>{const i=()=>{a.onload=a.onerror=null,e.selection&&(e.selection.select(a),e.nodeChanged())};a.onload=()=>{t.width||t.height||!S(e)||e.dom.setAttribs(a,{width:String(a.clientWidth),height:String(a.clientHeight)}),i()},a.onerror=i})(e,t,a)})(e,s):((e,t)=>{if(t){const a=e.dom.is(t.parentNode,"figure.image")?t.parentNode:t;e.dom.remove(a),e.focus(),e.nodeChanged(),e.dom.isEmpty(e.getBody())&&(e.setContent(""),e.selection.setCursorLocation())}})(e,a)}else t.src&&ve(e,{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1,...t})},fe=(we=(e,t)=>n(e)&&n(t)?fe(e,t):t,(...e)=>{if(0===e.length)throw new Error("Can't merge zero objects");const t={};for(let a=0;a<e.length;a++){const i=e[a];for(const e in i)y(i,e)&&(t[e]=we(t[e],i[e]))}return t});var we,Ae=tinymce.util.Tools.resolve("tinymce.util.ImageUploader"),De=tinymce.util.Tools.resolve("tinymce.util.Tools");const _e=e=>r(e.value)?e.value:"",Ce=(e,t)=>{const a=[];return De.each(e,(e=>{const i=(e=>r(e.text)?e.text:r(e.title)?e.title:"")(e);if(void 0!==e.menu){const s=Ce(e.menu,t);a.push({text:i,items:s})}else{const s=t(e);a.push({text:i,value:s})}})),a},Ie=(e=_e)=>t=>t?h.from(t).map((t=>Ce(t,e))):h.none(),Ue=(e,t)=>((e,a)=>{for(let a=0;a<e.length;a++){const s=(e=>y(e,"items"))(i=e[a])?Ue(i.items,t):i.value===t?h.some(i):h.none();if(s.isSome())return s}var i;return h.none()})(e),xe=Ie,Se=(e,t)=>e.bind((e=>Ue(e,t))),Ne=e=>{const t=xe((t=>e.convertURL(t.value||t.url||"","src"))),a=new Promise((a=>{((e,t)=>{const a=R(e);r(a)?fetch(a).then((e=>{e.ok&&e.json().then(t)})):g(a)?a(t):t(a)})(e,(e=>{a(t(e).map((e=>w([[{text:"None",value:""}],e]))))}))})),i=(A=E(e),Ie(_e)(A)),s=N(e),o=T(e),n=(e=>U(e.options.get("images_upload_url")))(e),l=(e=>d(e.options.get("images_upload_handler")))(e),c=(e=>{const t=he(e);return t?ce((t=>pe(e,t)),t):{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1}})(e),m=L(e),u=j(e),p=S(e),b=M(e),v=k(e),y=z(e),f=h.some(O(e)).filter((e=>r(e)&&e.length>0));var A;return a.then((e=>({image:c,imageList:e,classList:i,hasAdvTab:s,hasUploadTab:o,hasUploadUrl:n,hasUploadHandler:l,hasDescription:m,hasImageTitle:u,hasDimensions:p,hasImageCaption:b,prependURL:f,hasAccessibilityOptions:v,automaticUploads:y})))},Te=e=>{const t=e.imageList.map((e=>({name:"images",type:"listbox",label:"Image list",items:e}))),a={name:"alt",type:"input",label:"Alternative description",enabled:!(e.hasAccessibilityOptions&&e.image.isDecorative)},i=e.classList.map((e=>({name:"classes",type:"listbox",label:"Class",items:e})));return w([[{name:"src",type:"urlinput",filetype:"image",label:"Source",picker_text:"Browse files"}],t.toArray(),e.hasAccessibilityOptions&&e.hasDescription?[{type:"label",label:"Accessibility",items:[{name:"isDecorative",type:"checkbox",label:"Image is decorative"}]}]:[],e.hasDescription?[a]:[],e.hasImageTitle?[{name:"title",type:"input",label:"Image title"}]:[],e.hasDimensions?[{name:"dimensions",type:"sizeinput"}]:[],[{...(s=e.classList.isSome()&&e.hasImageCaption,s?{type:"grid",columns:2}:{type:"panel"}),items:w([i.toArray(),e.hasImageCaption?[{type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]}]:[]])}]]);var s},Oe=e=>({title:"General",name:"general",items:Te(e)}),Ee=Te,Le=e=>({src:{value:e.src,meta:{}},images:e.src,alt:e.alt,title:e.title,dimensions:{width:e.width,height:e.height},classes:e.class,caption:e.caption,style:e.style,vspace:e.vspace,border:e.border,hspace:e.hspace,borderstyle:e.borderStyle,fileinput:[],isDecorative:e.isDecorative}),je=(e,t)=>({src:e.src.value,alt:null!==e.alt&&0!==e.alt.length||!t?e.alt:null,title:e.title,width:e.dimensions.width,height:e.dimensions.height,class:e.classes,style:e.style,caption:e.caption,hspace:e.hspace,vspace:e.vspace,border:e.border,borderStyle:e.borderstyle,isDecorative:e.isDecorative}),Me=(e,t,a,i)=>{((e,t)=>{const a=t.getData();((e,t)=>/^(?:[a-zA-Z]+:)?\/\//.test(t)?h.none():e.prependURL.bind((e=>t.substring(0,e.length)!==e?h.some(e+t):h.none())))(e,a.src.value).each((e=>{t.setData({src:{value:e,meta:a.src.meta}})}))})(t,i),((e,t)=>{const a=t.getData(),i=a.src.meta;if(void 0!==i){const s=fe({},a);((e,t,a)=>{e.hasDescription&&r(a.alt)&&(t.alt=a.alt),e.hasAccessibilityOptions&&(t.isDecorative=a.isDecorative||t.isDecorative||!1),e.hasImageTitle&&r(a.title)&&(t.title=a.title),e.hasDimensions&&(r(a.width)&&(t.dimensions.width=a.width),r(a.height)&&(t.dimensions.height=a.height)),r(a.class)&&Se(e.classList,a.class).each((e=>{t.classes=e.value})),e.hasImageCaption&&m(a.caption)&&(t.caption=a.caption),e.hasAdvTab&&(r(a.style)&&(t.style=a.style),r(a.vspace)&&(t.vspace=a.vspace),r(a.border)&&(t.border=a.border),r(a.hspace)&&(t.hspace=a.hspace),r(a.borderstyle)&&(t.borderstyle=a.borderstyle))})(e,s,i),t.setData(s)}})(t,i),((e,t,a,i)=>{const s=i.getData(),r=s.src.value,o=s.src.meta||{};o.width||o.height||!t.hasDimensions||(U(r)?e.imageSize(r).then((e=>{a.open&&i.setData({dimensions:e})})).catch((e=>console.error(e))):i.setData({dimensions:{width:"",height:""}}))})(e,t,a,i),((e,t,a)=>{const i=a.getData(),s=Se(e.imageList,i.src.value);t.prevImage=s,a.setData({images:s.map((e=>e.value)).getOr("")})})(t,a,i)},Re=(e,t,a,i)=>{const s=i.getData();var r;i.block("Uploading image"),(r=s.fileinput,((e,t)=>0<e.length?h.some(e[0]):h.none())(r)).fold((()=>{i.unblock()}),(s=>{const r=URL.createObjectURL(s),o=()=>{i.unblock(),URL.revokeObjectURL(r)},n=s=>{i.setData({src:{value:s,meta:{}}}),i.showTab("general"),Me(e,t,a,i)};var l;(l=s,new Promise(((e,t)=>{const a=new FileReader;a.onload=()=>{e(a.result)},a.onerror=()=>{var e;t(null===(e=a.error)||void 0===e?void 0:e.message)},a.readAsDataURL(l)}))).then((a=>{const l=e.createBlobCache(s,r,a);t.automaticUploads?e.uploadImage(l).then((e=>{n(e.url),o()})).catch((t=>{o(),e.alertErr(t)})):(e.addToBlobCache(l),n(l.blobUri()),i.unblock())}))}))},ke=(e,t,a)=>(i,s)=>{"src"===s.name?Me(e,t,a,i):"images"===s.name?((e,t,a,i)=>{const s=i.getData(),r=Se(t.imageList,s.images);r.each((e=>{const t=""===s.alt||a.prevImage.map((e=>e.text===s.alt)).getOr(!1);t?""===e.value?i.setData({src:e,alt:a.prevAlt}):i.setData({src:e,alt:e.text}):i.setData({src:e})})),a.prevImage=r,Me(e,t,a,i)})(e,t,a,i):"alt"===s.name?a.prevAlt=i.getData().alt:"fileinput"===s.name?Re(e,t,a,i):"isDecorative"===s.name&&i.setEnabled("alt",!i.getData().isDecorative)},ze=e=>()=>{e.open=!1},Be=e=>e.hasAdvTab||e.hasUploadUrl||e.hasUploadHandler?{type:"tabpanel",tabs:w([[Oe(e)],e.hasAdvTab?[{title:"Advanced",name:"advanced",items:[{type:"grid",columns:2,items:[{type:"input",label:"Vertical space",name:"vspace",inputMode:"numeric"},{type:"input",label:"Horizontal space",name:"hspace",inputMode:"numeric"},{type:"input",label:"Border width",name:"border",inputMode:"numeric"},{type:"listbox",name:"borderstyle",label:"Border style",items:[{text:"Select...",value:""},{text:"Solid",value:"solid"},{text:"Dotted",value:"dotted"},{text:"Dashed",value:"dashed"},{text:"Double",value:"double"},{text:"Groove",value:"groove"},{text:"Ridge",value:"ridge"},{text:"Inset",value:"inset"},{text:"Outset",value:"outset"},{text:"None",value:"none"},{text:"Hidden",value:"hidden"}]}]}]}]:[],e.hasUploadTab&&(e.hasUploadUrl||e.hasUploadHandler)?[{title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput"}]}]:[]])}:{type:"panel",items:Ee(e)},Pe=(e,t,a)=>i=>{const s=fe(Le(t.image),i.getData()),r={...s,style:le(a.normalizeCss,je(s,!1))};e.execCommand("mceUpdateImage",!1,je(r,t.hasAccessibilityOptions)),e.editorUpload.uploadImagesAuto(),i.close()},Fe=e=>t=>G(e,t)?(e=>new Promise((t=>{const a=document.createElement("img"),i=e=>{a.onload=a.onerror=null,a.parentNode&&a.parentNode.removeChild(a),t(e)};a.onload=()=>{const e={width:B(a.width,a.clientWidth),height:B(a.height,a.clientHeight)};i(Promise.resolve(e))},a.onerror=()=>{i(Promise.reject(`Failed to get image dimensions for: ${e}`))};const s=a.style;s.visibility="hidden",s.position="fixed",s.bottom=s.left="0px",s.width=s.height="auto",document.body.appendChild(a),a.src=e})))(e.documentBaseURI.toAbsolute(t)).then((e=>({width:String(e.width),height:String(e.height)}))):Promise.resolve({width:"",height:""}),He=e=>(t,a,i)=>{var s;return e.editorUpload.blobCache.create({blob:t,blobUri:a,name:null===(s=t.name)||void 0===s?void 0:s.replace(/\.[^\.]+$/,""),filename:t.name,base64:i.split(",")[1]})},Ge=e=>t=>{e.editorUpload.blobCache.add(t)},We=e=>t=>{e.windowManager.alert(t)},$e=e=>t=>pe(e,t),Ve=e=>t=>e.dom.parseStyle(t),Ke=e=>(t,a)=>e.dom.serializeStyle(t,a),Ze=e=>t=>Ae(e).upload([t],!1).then((e=>{var t;return 0===e.length?Promise.reject("Failed to upload image"):!1===e[0].status?Promise.reject(null===(t=e[0].error)||void 0===t?void 0:t.message):e[0]})),qe=e=>{const t={imageSize:Fe(e),addToBlobCache:Ge(e),createBlobCache:He(e),alertErr:We(e),normalizeCss:$e(e),parseStyle:Ve(e),serializeStyle:Ke(e),uploadImage:Ze(e)};return{open:()=>{Ne(e).then((a=>{const i=(e=>({prevImage:Se(e.imageList,e.image.src),prevAlt:e.image.alt,open:!0}))(a);return{title:"Insert/Edit Image",size:"normal",body:Be(a),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:Le(a.image),onSubmit:Pe(e,a,t),onChange:ke(t,a,i),onClose:ze(i)}})).then(e.windowManager.open)}}},Je=e=>{const t=e.attr("class");return d(t)&&/\bimage\b/.test(t)},Qe=e=>t=>{let a=t.length;const i=t=>{t.attr("contenteditable",e?"true":null)};for(;a--;){const s=t[a];Je(s)&&(s.attr("contenteditable",e?"false":null),De.each(s.getAll("figcaption"),i))}},Xe=e=>t=>{const a=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",a),a(),()=>{e.off("NodeChange",a)}};e.add("image",(e=>{(e=>{const t=e.options.register;t("image_dimensions",{processor:"boolean",default:!0}),t("image_advtab",{processor:"boolean",default:!1}),t("image_uploadtab",{processor:"boolean",default:!0}),t("image_prepend_url",{processor:"string",default:""}),t("image_class_list",{processor:"object[]"}),t("image_description",{processor:"boolean",default:!0}),t("image_title",{processor:"boolean",default:!1}),t("image_caption",{processor:"boolean",default:!1}),t("image_list",{processor:e=>{const t=!1===e||r(e)||((e,t)=>{if(l(e)){for(let a=0,i=e.length;a<i;++a)if(!t(e[a]))return!1;return!0}return!1})(e,o)||g(e);return t?{value:e,valid:t}:{valid:!1,message:"Must be false, a string, an array or a function."}},default:!1})})(e),(e=>{e.on("PreInit",(()=>{e.parser.addNodeFilter("figure",Qe(!0)),e.serializer.addNodeFilter("figure",Qe(!1))}))})(e),(e=>{e.ui.registry.addToggleButton("image",{icon:"image",tooltip:"Insert/edit image",onAction:qe(e).open,onSetup:t=>{t.setActive(d(he(e)));const a=e.selection.selectorChangedWithUnbind("img:not([data-mce-object]):not([data-mce-placeholder]),figure.image",t.setActive).unbind,i=Xe(e)(t);return()=>{a(),i()}}}),e.ui.registry.addMenuItem("image",{icon:"image",text:"Image...",onAction:qe(e).open,onSetup:Xe(e)}),e.ui.registry.addContextMenu("image",{update:t=>e.selection.isEditable()&&(re(t)||"IMG"===t.nodeName&&!H(t))?["image"]:[]})})(e),(e=>{e.addCommand("mceImage",qe(e).open),e.addCommand("mceUpdateImage",((t,a)=>{e.undoManager.transact((()=>ye(e,a)))}))})(e)}))}();
@@ -1,2 +0,0 @@
1
- import{__exports as e}from"../../../../_virtual/plugin7.mjs";var t;function a(){return t||(t=1,function(){var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=Object.getPrototypeOf,a=(e,t,a)=>{var i;return!!a(e,t.prototype)||(null===(i=e.constructor)||void 0===i?void 0:i.name)===t.name},i=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&a(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(t)===e,o=e=>t=>typeof t===e,r=i("string"),s=i("object"),n=e=>((e,i)=>s(e)&&a(e,i,((e,a)=>t(e)===a)))(e,Object),l=i("array"),c=(m=null,e=>m===e);var m;const d=o("boolean"),g=e=>!(e=>null==e)(e),u=o("function"),p=o("number"),h=()=>{};class b{constructor(e,t){this.tag=e,this.value=t}static some(e){return new b(!0,e)}static none(){return b.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?b.some(e(this.value)):b.none()}bind(e){return this.tag?e(this.value):b.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:b.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return g(e)?b.some(e):b.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}b.singletonNone=new b(!1);const v=Object.keys,y=Object.hasOwnProperty,f=(e,t,a,i)=>{((e,t)=>{const a=v(e);for(let i=0,o=a.length;i<o;i++){const o=a[i];t(e[o],o)}})(e,((e,o)=>{(t(e,o)?a:i)(e,o)}))},w=(e,t)=>y.call(e,t),A=Array.prototype.push,D=e=>{const t=[];for(let a=0,i=e.length;a<i;++a){if(!l(e[a]))throw new Error("Arr.flatten item "+a+" was not an array, input: "+e);A.apply(t,e[a])}return t},_=e=>((e,t)=>t>=0&&t<e.length?b.some(e[t]):b.none())(e,0);"undefined"!=typeof window?window:Function("return this;")();const C=(e,t,a)=>{((e,t,a)=>{if(!(r(a)||d(a)||p(a)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",a,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,a+"")})(e.dom,t,a)},x=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},I={fromHtml:(e,t)=>{const a=(t||document).createElement("div");if(a.innerHTML=e,!a.hasChildNodes()||a.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return x(a.childNodes[0])},fromTag:(e,t)=>{const a=(t||document).createElement(e);return x(a)},fromText:(e,t)=>{const a=(t||document).createTextNode(e);return x(a)},fromDom:x,fromPoint:(e,t,a)=>b.from(e.dom.elementFromPoint(t,a)).map(x)};var U=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),S=tinymce.util.Tools.resolve("tinymce.util.URI");const N=e=>e.length>0,T=e=>t=>t.options.get(e),E=e=>{const t=e.options.register;t("image_dimensions",{processor:"boolean",default:!0}),t("image_advtab",{processor:"boolean",default:!1}),t("image_uploadtab",{processor:"boolean",default:!0}),t("image_prepend_url",{processor:"string",default:""}),t("image_class_list",{processor:"object[]"}),t("image_description",{processor:"boolean",default:!0}),t("image_title",{processor:"boolean",default:!1}),t("image_caption",{processor:"boolean",default:!1}),t("image_list",{processor:e=>{const t=!1===e||r(e)||((e,t)=>{if(l(e)){for(let a=0,i=e.length;a<i;++a)if(!t(e[a]))return!1;return!0}return!1})(e,s)||u(e);return t?{value:e,valid:t}:{valid:!1,message:"Must be false, a string, an array or a function."}},default:!1})},L=T("image_dimensions"),O=T("image_advtab"),M=T("image_uploadtab"),j=T("image_prepend_url"),P=T("image_class_list"),R=T("image_description"),k=T("image_title"),z=T("image_caption"),B=T("image_list"),H=T("a11y_advanced_options"),F=T("automatic_uploads"),G=(e,t)=>Math.max(parseInt(e,10),parseInt(t,10)),W=e=>(e&&(e=e.replace(/px$/,"")),e),$=e=>(e.length>0&&/^[0-9]+$/.test(e)&&(e+="px"),e),V=e=>"IMG"===e.nodeName&&(e.hasAttribute("data-mce-object")||e.hasAttribute("data-mce-placeholder")),q=(e,t)=>{const a=e.options.get;return S.isDomSafe(t,"img",{allow_html_data_urls:a("allow_html_data_urls"),allow_script_urls:a("allow_script_urls"),allow_svg_data_urls:a("allow_svg_data_urls")})},K=U.DOM,Z=e=>e.style.marginLeft&&e.style.marginRight&&e.style.marginLeft===e.style.marginRight?W(e.style.marginLeft):"",J=e=>e.style.marginTop&&e.style.marginBottom&&e.style.marginTop===e.style.marginBottom?W(e.style.marginTop):"",Q=e=>e.style.borderWidth?W(e.style.borderWidth):"",X=(e,t)=>{var a;return e.hasAttribute(t)&&null!==(a=e.getAttribute(t))&&void 0!==a?a:""},Y=e=>null!==e.parentNode&&"FIGURE"===e.parentNode.nodeName,ee=(e,t,a)=>{""===a||null===a?e.removeAttribute(t):e.setAttribute(t,a)},te=e=>{Y(e)?(e=>{const t=e.parentNode;g(t)&&(K.insertAfter(e,t),K.remove(t))})(e):(e=>{const t=K.create("figure",{class:"image"});K.insertAfter(t,e),t.appendChild(e),t.appendChild(K.create("figcaption",{contentEditable:"true"},"Caption")),t.contentEditable="false"})(e)},ae=(e,t)=>{const a=e.getAttribute("style"),i=t(null!==a?a:"");i.length>0?(e.setAttribute("style",i),e.setAttribute("data-mce-style",i)):e.removeAttribute("style")},ie=(e,t)=>(e,a,i)=>{const o=e.style;o[a]?(o[a]=$(i),ae(e,t)):ee(e,a,i)},oe=(e,t)=>e.style[t]?W(e.style[t]):X(e,t),re=(e,t)=>{const a=$(t);e.style.marginLeft=a,e.style.marginRight=a},se=(e,t)=>{const a=$(t);e.style.marginTop=a,e.style.marginBottom=a},ne=(e,t)=>{const a=$(t);e.style.borderWidth=a},le=(e,t)=>{e.style.borderStyle=t},ce=e=>{var t;return null!==(t=e.style.borderStyle)&&void 0!==t?t:""},me=e=>g(e)&&"FIGURE"===e.nodeName,de=e=>0===K.getAttrib(e,"alt").length&&"presentation"===K.getAttrib(e,"role"),ge=e=>de(e)?"":X(e,"alt"),ue=(e,t)=>{var a;const i=document.createElement("img");return ee(i,"style",t.style),(Z(i)||""!==t.hspace)&&re(i,t.hspace),(J(i)||""!==t.vspace)&&se(i,t.vspace),(Q(i)||""!==t.border)&&ne(i,t.border),(ce(i)||""!==t.borderStyle)&&le(i,t.borderStyle),e(null!==(a=i.getAttribute("style"))&&void 0!==a?a:"")},pe=(e,t)=>({src:X(t,"src"),alt:ge(t),title:X(t,"title"),width:oe(t,"width"),height:oe(t,"height"),class:X(t,"class"),style:e(X(t,"style")),caption:Y(t),hspace:Z(t),vspace:J(t),border:Q(t),borderStyle:ce(t),isDecorative:de(t)}),he=(e,t,a,i,o)=>{a[i]!==t[i]&&o(e,i,String(a[i]))},be=(e,t,a)=>{if(a){K.setAttrib(e,"role","presentation");const t=I.fromDom(e);C(t,"alt","")}else{if(c(t)){const t=I.fromDom(e);i="alt",t.dom.removeAttribute(i)}else{const a=I.fromDom(e);C(a,"alt",t)}"presentation"===K.getAttrib(e,"role")&&K.setAttrib(e,"role","")}var i},ve=(e,t)=>(a,i,o)=>{e(a,o),ae(a,t)},ye=(e,t,a)=>{const i=pe(e,a);he(a,i,t,"caption",((e,t,a)=>te(e))),he(a,i,t,"src",ee),he(a,i,t,"title",ee),he(a,i,t,"width",ie(0,e)),he(a,i,t,"height",ie(0,e)),he(a,i,t,"class",ee),he(a,i,t,"style",ve(((e,t)=>ee(e,"style",t)),e)),he(a,i,t,"hspace",ve(re,e)),he(a,i,t,"vspace",ve(se,e)),he(a,i,t,"border",ve(ne,e)),he(a,i,t,"borderStyle",ve(le,e)),((e,t,a)=>{a.alt===t.alt&&a.isDecorative===t.isDecorative||be(e,a.alt,a.isDecorative)})(a,i,t)},fe=(e,t)=>{const a=(e=>{if(e.margin){const t=String(e.margin).split(" ");switch(t.length){case 1:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[0],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[0];break;case 2:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[0],e["margin-left"]=e["margin-left"]||t[1];break;case 3:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[1];break;case 4:e["margin-top"]=e["margin-top"]||t[0],e["margin-right"]=e["margin-right"]||t[1],e["margin-bottom"]=e["margin-bottom"]||t[2],e["margin-left"]=e["margin-left"]||t[3]}delete e.margin}return e})(e.dom.styles.parse(t)),i=e.dom.styles.parse(e.dom.styles.serialize(a));return e.dom.styles.serialize(i)},we=e=>{const t=e.selection.getNode(),a=e.dom.getParent(t,"figure.image");return a?e.dom.select("img",a)[0]:t&&("IMG"!==t.nodeName||V(t))?null:t},Ae=(e,t)=>{var a;const i=e.dom,o=((e,t)=>{const a={};var i;return f(e,t,(i=a,(e,t)=>{i[t]=e}),h),a})(e.schema.getTextBlockElements(),((t,a)=>!e.schema.isValidChild(a,"figure"))),r=i.getParent(t.parentNode,(e=>{return t=o,a=e.nodeName,w(t,a)&&void 0!==t[a]&&null!==t[a];var t,a}),e.getBody());return r&&null!==(a=i.split(r,t))&&void 0!==a?a:t},De=(e,t)=>{const a=((e,t)=>{const a=document.createElement("img");if(ye(e,{...t,caption:!1},a),be(a,t.alt,t.isDecorative),t.caption){const e=K.create("figure",{class:"image"});return e.appendChild(a),e.appendChild(K.create("figcaption",{contentEditable:"true"},"Caption")),e.contentEditable="false",e}return a})((t=>fe(e,t)),t);e.dom.setAttrib(a,"data-mce-id","__mcenew"),e.focus(),e.selection.setContent(a.outerHTML);const i=e.dom.select('*[data-mce-id="__mcenew"]')[0];if(e.dom.setAttrib(i,"data-mce-id",null),me(i)){const t=Ae(e,i);e.selection.select(t)}else e.selection.select(i)},_e=(e,t)=>{const a=we(e);if(a)if(ye((t=>fe(e,t)),t,a),((e,t)=>{e.dom.setAttrib(t,"src",t.getAttribute("src"))})(e,a),me(a.parentNode)){const t=a.parentNode;Ae(e,t),e.selection.select(a.parentNode)}else e.selection.select(a),((e,t,a)=>{const i=()=>{a.onload=a.onerror=null,e.selection&&(e.selection.select(a),e.nodeChanged())};a.onload=()=>{t.width||t.height||!L(e)||e.dom.setAttribs(a,{width:String(a.clientWidth),height:String(a.clientHeight)}),i()},a.onerror=i})(e,t,a)},Ce=(e,t)=>{const a=we(e);if(a){const i={...pe((t=>fe(e,t)),a),...t},o=((e,t)=>{const a=t.src;return{...t,src:q(e,a)?a:""}})(e,i);i.src?_e(e,o):((e,t)=>{if(t){const a=e.dom.is(t.parentNode,"figure.image")?t.parentNode:t;e.dom.remove(a),e.focus(),e.nodeChanged(),e.dom.isEmpty(e.getBody())&&(e.setContent(""),e.selection.setCursorLocation())}})(e,a)}else t.src&&De(e,{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1,...t})},xe=(Ie=(e,t)=>n(e)&&n(t)?xe(e,t):t,(...e)=>{if(0===e.length)throw new Error("Can't merge zero objects");const t={};for(let a=0;a<e.length;a++){const i=e[a];for(const e in i)w(i,e)&&(t[e]=Ie(t[e],i[e]))}return t});var Ie,Ue=tinymce.util.Tools.resolve("tinymce.util.ImageUploader"),Se=tinymce.util.Tools.resolve("tinymce.util.Tools");const Ne=e=>r(e.value)?e.value:"",Te=(e,t)=>{const a=[];return Se.each(e,(e=>{const i=(e=>r(e.text)?e.text:r(e.title)?e.title:"")(e);if(void 0!==e.menu){const o=Te(e.menu,t);a.push({text:i,items:o})}else{const o=t(e);a.push({text:i,value:o})}})),a},Ee=(e=Ne)=>t=>t?b.from(t).map((t=>Te(t,e))):b.none(),Le=(e,t)=>((e,t)=>{for(let a=0;a<e.length;a++){const i=t(e[a],a);if(i.isSome())return i}return b.none()})(e,(e=>(e=>w(e,"items"))(e)?Le(e.items,t):e.value===t?b.some(e):b.none())),Oe=Ee,Me=e=>Ee(Ne)(e),je=(e,t)=>e.bind((e=>Le(e,t))),Pe=e=>({title:"Advanced",name:"advanced",items:[{type:"grid",columns:2,items:[{type:"input",label:"Vertical space",name:"vspace",inputMode:"numeric"},{type:"input",label:"Horizontal space",name:"hspace",inputMode:"numeric"},{type:"input",label:"Border width",name:"border",inputMode:"numeric"},{type:"listbox",name:"borderstyle",label:"Border style",items:[{text:"Select...",value:""},{text:"Solid",value:"solid"},{text:"Dotted",value:"dotted"},{text:"Dashed",value:"dashed"},{text:"Double",value:"double"},{text:"Groove",value:"groove"},{text:"Ridge",value:"ridge"},{text:"Inset",value:"inset"},{text:"Outset",value:"outset"},{text:"None",value:"none"},{text:"Hidden",value:"hidden"}]}]}]}),Re=e=>{const t=Oe((t=>e.convertURL(t.value||t.url||"","src"))),a=new Promise((a=>{((e,t)=>{const a=B(e);r(a)?fetch(a).then((e=>{e.ok&&e.json().then(t)})):u(a)?a(t):t(a)})(e,(e=>{a(t(e).map((e=>D([[{text:"None",value:""}],e]))))}))})),i=Me(P(e)),o=O(e),s=M(e),n=(e=>N(e.options.get("images_upload_url")))(e),l=(e=>g(e.options.get("images_upload_handler")))(e),c=(e=>{const t=we(e);return t?pe((t=>fe(e,t)),t):{src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1}})(e),m=R(e),d=k(e),p=L(e),h=z(e),v=H(e),y=F(e),f=b.some(j(e)).filter((e=>r(e)&&e.length>0));return a.then((e=>({image:c,imageList:e,classList:i,hasAdvTab:o,hasUploadTab:s,hasUploadUrl:n,hasUploadHandler:l,hasDescription:m,hasImageTitle:d,hasDimensions:p,hasImageCaption:h,prependURL:f,hasAccessibilityOptions:v,automaticUploads:y})))},ke=e=>{const t=e.imageList.map((e=>({name:"images",type:"listbox",label:"Image list",items:e}))),a={name:"alt",type:"input",label:"Alternative description",enabled:!(e.hasAccessibilityOptions&&e.image.isDecorative)},i=e.classList.map((e=>({name:"classes",type:"listbox",label:"Class",items:e})));return D([[{name:"src",type:"urlinput",filetype:"image",label:"Source",picker_text:"Browse files"}],t.toArray(),e.hasAccessibilityOptions&&e.hasDescription?[{type:"label",label:"Accessibility",items:[{name:"isDecorative",type:"checkbox",label:"Image is decorative"}]}]:[],e.hasDescription?[a]:[],e.hasImageTitle?[{name:"title",type:"input",label:"Image title"}]:[],e.hasDimensions?[{name:"dimensions",type:"sizeinput"}]:[],[{...(o=e.classList.isSome()&&e.hasImageCaption,o?{type:"grid",columns:2}:{type:"panel"}),items:D([i.toArray(),e.hasImageCaption?[{type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]}]:[]])}]]);var o},ze=e=>({title:"General",name:"general",items:ke(e)}),Be=ke,He=e=>({title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput"}]}),Fe=e=>({src:{value:e.src,meta:{}},images:e.src,alt:e.alt,title:e.title,dimensions:{width:e.width,height:e.height},classes:e.class,caption:e.caption,style:e.style,vspace:e.vspace,border:e.border,hspace:e.hspace,borderstyle:e.borderStyle,fileinput:[],isDecorative:e.isDecorative}),Ge=(e,t)=>({src:e.src.value,alt:null!==e.alt&&0!==e.alt.length||!t?e.alt:null,title:e.title,width:e.dimensions.width,height:e.dimensions.height,class:e.classes,style:e.style,caption:e.caption,hspace:e.hspace,vspace:e.vspace,border:e.border,borderStyle:e.borderstyle,isDecorative:e.isDecorative}),We=(e,t)=>{const a=t.getData();((e,t)=>/^(?:[a-zA-Z]+:)?\/\//.test(t)?b.none():e.prependURL.bind((e=>t.substring(0,e.length)!==e?b.some(e+t):b.none())))(e,a.src.value).each((e=>{t.setData({src:{value:e,meta:a.src.meta}})}))},$e=(e,t)=>{const a=t.getData(),i=a.src.meta;if(void 0!==i){const o=xe({},a);((e,t,a)=>{e.hasDescription&&r(a.alt)&&(t.alt=a.alt),e.hasAccessibilityOptions&&(t.isDecorative=a.isDecorative||t.isDecorative||!1),e.hasImageTitle&&r(a.title)&&(t.title=a.title),e.hasDimensions&&(r(a.width)&&(t.dimensions.width=a.width),r(a.height)&&(t.dimensions.height=a.height)),r(a.class)&&je(e.classList,a.class).each((e=>{t.classes=e.value})),e.hasImageCaption&&d(a.caption)&&(t.caption=a.caption),e.hasAdvTab&&(r(a.style)&&(t.style=a.style),r(a.vspace)&&(t.vspace=a.vspace),r(a.border)&&(t.border=a.border),r(a.hspace)&&(t.hspace=a.hspace),r(a.borderstyle)&&(t.borderstyle=a.borderstyle))})(e,o,i),t.setData(o)}},Ve=(e,t,a,i)=>{We(t,i),$e(t,i),((e,t,a,i)=>{const o=i.getData(),r=o.src.value,s=o.src.meta||{};s.width||s.height||!t.hasDimensions||(N(r)?e.imageSize(r).then((e=>{a.open&&i.setData({dimensions:e})})).catch((e=>console.error(e))):i.setData({dimensions:{width:"",height:""}}))})(e,t,a,i),((e,t,a)=>{const i=a.getData(),o=je(e.imageList,i.src.value);t.prevImage=o,a.setData({images:o.map((e=>e.value)).getOr("")})})(t,a,i)},qe=(e,t,a,i)=>{const o=i.getData();i.block("Uploading image"),_(o.fileinput).fold((()=>{i.unblock()}),(o=>{const r=URL.createObjectURL(o),s=()=>{i.unblock(),URL.revokeObjectURL(r)},n=o=>{i.setData({src:{value:o,meta:{}}}),i.showTab("general"),Ve(e,t,a,i)};var l;(l=o,new Promise(((e,t)=>{const a=new FileReader;a.onload=()=>{e(a.result)},a.onerror=()=>{var e;t(null===(e=a.error)||void 0===e?void 0:e.message)},a.readAsDataURL(l)}))).then((a=>{const l=e.createBlobCache(o,r,a);t.automaticUploads?e.uploadImage(l).then((e=>{n(e.url),s()})).catch((t=>{s(),e.alertErr(t)})):(e.addToBlobCache(l),n(l.blobUri()),i.unblock())}))}))},Ke=(e,t,a)=>(i,o)=>{"src"===o.name?Ve(e,t,a,i):"images"===o.name?((e,t,a,i)=>{const o=i.getData(),r=je(t.imageList,o.images);r.each((e=>{const t=""===o.alt||a.prevImage.map((e=>e.text===o.alt)).getOr(!1);t?""===e.value?i.setData({src:e,alt:a.prevAlt}):i.setData({src:e,alt:e.text}):i.setData({src:e})})),a.prevImage=r,Ve(e,t,a,i)})(e,t,a,i):"alt"===o.name?a.prevAlt=i.getData().alt:"fileinput"===o.name?qe(e,t,a,i):"isDecorative"===o.name&&i.setEnabled("alt",!i.getData().isDecorative)},Ze=e=>()=>{e.open=!1},Je=e=>{if(e.hasAdvTab||e.hasUploadUrl||e.hasUploadHandler){return{type:"tabpanel",tabs:D([[ze(e)],e.hasAdvTab?[Pe(e)]:[],e.hasUploadTab&&(e.hasUploadUrl||e.hasUploadHandler)?[He(e)]:[]])}}return{type:"panel",items:Be(e)}},Qe=(e,t,a)=>i=>{const o=xe(Fe(t.image),i.getData()),r={...o,style:ue(a.normalizeCss,Ge(o,!1))};e.execCommand("mceUpdateImage",!1,Ge(r,t.hasAccessibilityOptions)),e.editorUpload.uploadImagesAuto(),i.close()},Xe=e=>t=>q(e,t)?(e=>new Promise((t=>{const a=document.createElement("img"),i=e=>{a.onload=a.onerror=null,a.parentNode&&a.parentNode.removeChild(a),t(e)};a.onload=()=>{const e={width:G(a.width,a.clientWidth),height:G(a.height,a.clientHeight)};i(Promise.resolve(e))},a.onerror=()=>{i(Promise.reject(`Failed to get image dimensions for: ${e}`))};const o=a.style;o.visibility="hidden",o.position="fixed",o.bottom=o.left="0px",o.width=o.height="auto",document.body.appendChild(a),a.src=e})))(e.documentBaseURI.toAbsolute(t)).then((e=>({width:String(e.width),height:String(e.height)}))):Promise.resolve({width:"",height:""}),Ye=e=>(t,a,i)=>{var o;return e.editorUpload.blobCache.create({blob:t,blobUri:a,name:null===(o=t.name)||void 0===o?void 0:o.replace(/\.[^\.]+$/,""),filename:t.name,base64:i.split(",")[1]})},et=e=>t=>{e.editorUpload.blobCache.add(t)},tt=e=>t=>{e.windowManager.alert(t)},at=e=>t=>fe(e,t),it=e=>t=>e.dom.parseStyle(t),ot=e=>(t,a)=>e.dom.serializeStyle(t,a),rt=e=>t=>Ue(e).upload([t],!1).then((e=>{var t;return 0===e.length?Promise.reject("Failed to upload image"):!1===e[0].status?Promise.reject(null===(t=e[0].error)||void 0===t?void 0:t.message):e[0]})),st=e=>{const t={imageSize:Xe(e),addToBlobCache:et(e),createBlobCache:Ye(e),alertErr:tt(e),normalizeCss:at(e),parseStyle:it(e),serializeStyle:ot(e),uploadImage:rt(e)};return{open:()=>{Re(e).then((a=>{const i=(e=>({prevImage:je(e.imageList,e.image.src),prevAlt:e.image.alt,open:!0}))(a);return{title:"Insert/Edit Image",size:"normal",body:Je(a),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:Fe(a.image),onSubmit:Qe(e,a,t),onChange:Ke(t,a,i),onClose:Ze(i)}})).then(e.windowManager.open)}}},nt=e=>{const t=e.attr("class");return g(t)&&/\bimage\b/.test(t)},lt=e=>t=>{let a=t.length;const i=t=>{t.attr("contenteditable",e?"true":null)};for(;a--;){const o=t[a];nt(o)&&(o.attr("contenteditable",e?"false":null),Se.each(o.getAll("figcaption"),i))}},ct=e=>t=>{const a=()=>{t.setEnabled(e.selection.isEditable())};return e.on("NodeChange",a),a(),()=>{e.off("NodeChange",a)}};e.add("image",(e=>{E(e),(e=>{e.on("PreInit",(()=>{e.parser.addNodeFilter("figure",lt(!0)),e.serializer.addNodeFilter("figure",lt(!1))}))})(e),(e=>{e.ui.registry.addToggleButton("image",{icon:"image",tooltip:"Insert/edit image",onAction:st(e).open,onSetup:t=>{t.setActive(g(we(e)));const a=e.selection.selectorChangedWithUnbind("img:not([data-mce-object]):not([data-mce-placeholder]),figure.image",t.setActive).unbind,i=ct(e)(t);return()=>{a(),i()}}}),e.ui.registry.addMenuItem("image",{icon:"image",text:"Image...",onAction:st(e).open,onSetup:ct(e)}),e.ui.registry.addContextMenu("image",{update:t=>e.selection.isEditable()&&(me(t)||"IMG"===t.nodeName&&!V(t))?["image"]:[]})})(e),(e=>{e.addCommand("mceImage",st(e).open),e.addCommand("mceUpdateImage",((t,a)=>{e.undoManager.transact((()=>Ce(e,a)))}))})(e)}))}()),e}export{a as __require};
2
- //# sourceMappingURL=plugin.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.mjs","sources":["../../../../../../public/tinymce/plugins/image/plugin.js"],"sourcesContent":["/**\n * TinyMCE version 6.8.5 (TBD)\n */\n\n(function () {\n 'use strict';\n\n var global$4 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\n const getPrototypeOf = Object.getPrototypeOf;\n const hasProto = (v, constructor, predicate) => {\n var _a;\n if (predicate(v, constructor.prototype)) {\n return true;\n } else {\n return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;\n }\n };\n const typeOf = x => {\n const t = typeof x;\n if (x === null) {\n return 'null';\n } else if (t === 'object' && Array.isArray(x)) {\n return 'array';\n } else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {\n return 'string';\n } else {\n return t;\n }\n };\n const isType = type => value => typeOf(value) === type;\n const isSimpleType = type => value => typeof value === type;\n const eq = t => a => t === a;\n const is = (value, constructor) => isObject(value) && hasProto(value, constructor, (o, proto) => getPrototypeOf(o) === proto);\n const isString = isType('string');\n const isObject = isType('object');\n const isPlainObject = value => is(value, Object);\n const isArray = isType('array');\n const isNull = eq(null);\n const isBoolean = isSimpleType('boolean');\n const isNullable = a => a === null || a === undefined;\n const isNonNullable = a => !isNullable(a);\n const isFunction = isSimpleType('function');\n const isNumber = isSimpleType('number');\n const isArrayOf = (value, pred) => {\n if (isArray(value)) {\n for (let i = 0, len = value.length; i < len; ++i) {\n if (!pred(value[i])) {\n return false;\n }\n }\n return true;\n }\n return false;\n };\n\n const noop = () => {\n };\n\n class Optional {\n constructor(tag, value) {\n this.tag = tag;\n this.value = value;\n }\n static some(value) {\n return new Optional(true, value);\n }\n static none() {\n return Optional.singletonNone;\n }\n fold(onNone, onSome) {\n if (this.tag) {\n return onSome(this.value);\n } else {\n return onNone();\n }\n }\n isSome() {\n return this.tag;\n }\n isNone() {\n return !this.tag;\n }\n map(mapper) {\n if (this.tag) {\n return Optional.some(mapper(this.value));\n } else {\n return Optional.none();\n }\n }\n bind(binder) {\n if (this.tag) {\n return binder(this.value);\n } else {\n return Optional.none();\n }\n }\n exists(predicate) {\n return this.tag && predicate(this.value);\n }\n forall(predicate) {\n return !this.tag || predicate(this.value);\n }\n filter(predicate) {\n if (!this.tag || predicate(this.value)) {\n return this;\n } else {\n return Optional.none();\n }\n }\n getOr(replacement) {\n return this.tag ? this.value : replacement;\n }\n or(replacement) {\n return this.tag ? this : replacement;\n }\n getOrThunk(thunk) {\n return this.tag ? this.value : thunk();\n }\n orThunk(thunk) {\n return this.tag ? this : thunk();\n }\n getOrDie(message) {\n if (!this.tag) {\n throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');\n } else {\n return this.value;\n }\n }\n static from(value) {\n return isNonNullable(value) ? Optional.some(value) : Optional.none();\n }\n getOrNull() {\n return this.tag ? this.value : null;\n }\n getOrUndefined() {\n return this.value;\n }\n each(worker) {\n if (this.tag) {\n worker(this.value);\n }\n }\n toArray() {\n return this.tag ? [this.value] : [];\n }\n toString() {\n return this.tag ? `some(${ this.value })` : 'none()';\n }\n }\n Optional.singletonNone = new Optional(false);\n\n const keys = Object.keys;\n const hasOwnProperty = Object.hasOwnProperty;\n const each = (obj, f) => {\n const props = keys(obj);\n for (let k = 0, len = props.length; k < len; k++) {\n const i = props[k];\n const x = obj[i];\n f(x, i);\n }\n };\n const objAcc = r => (x, i) => {\n r[i] = x;\n };\n const internalFilter = (obj, pred, onTrue, onFalse) => {\n each(obj, (x, i) => {\n (pred(x, i) ? onTrue : onFalse)(x, i);\n });\n };\n const filter = (obj, pred) => {\n const t = {};\n internalFilter(obj, pred, objAcc(t), noop);\n return t;\n };\n const has = (obj, key) => hasOwnProperty.call(obj, key);\n const hasNonNullableKey = (obj, key) => has(obj, key) && obj[key] !== undefined && obj[key] !== null;\n\n const nativePush = Array.prototype.push;\n const flatten = xs => {\n const r = [];\n for (let i = 0, len = xs.length; i < len; ++i) {\n if (!isArray(xs[i])) {\n throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);\n }\n nativePush.apply(r, xs[i]);\n }\n return r;\n };\n const get = (xs, i) => i >= 0 && i < xs.length ? Optional.some(xs[i]) : Optional.none();\n const head = xs => get(xs, 0);\n const findMap = (arr, f) => {\n for (let i = 0; i < arr.length; i++) {\n const r = f(arr[i], i);\n if (r.isSome()) {\n return r;\n }\n }\n return Optional.none();\n };\n\n typeof window !== 'undefined' ? window : Function('return this;')();\n\n const rawSet = (dom, key, value) => {\n if (isString(value) || isBoolean(value) || isNumber(value)) {\n dom.setAttribute(key, value + '');\n } else {\n console.error('Invalid call to Attribute.set. Key ', key, ':: Value ', value, ':: Element ', dom);\n throw new Error('Attribute value was not simple');\n }\n };\n const set = (element, key, value) => {\n rawSet(element.dom, key, value);\n };\n const remove = (element, key) => {\n element.dom.removeAttribute(key);\n };\n\n const fromHtml = (html, scope) => {\n const doc = scope || document;\n const div = doc.createElement('div');\n div.innerHTML = html;\n if (!div.hasChildNodes() || div.childNodes.length > 1) {\n const message = 'HTML does not have a single root node';\n console.error(message, html);\n throw new Error(message);\n }\n return fromDom(div.childNodes[0]);\n };\n const fromTag = (tag, scope) => {\n const doc = scope || document;\n const node = doc.createElement(tag);\n return fromDom(node);\n };\n const fromText = (text, scope) => {\n const doc = scope || document;\n const node = doc.createTextNode(text);\n return fromDom(node);\n };\n const fromDom = node => {\n if (node === null || node === undefined) {\n throw new Error('Node cannot be null or undefined');\n }\n return { dom: node };\n };\n const fromPoint = (docElm, x, y) => Optional.from(docElm.dom.elementFromPoint(x, y)).map(fromDom);\n const SugarElement = {\n fromHtml,\n fromTag,\n fromText,\n fromDom,\n fromPoint\n };\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.util.URI');\n\n const isNotEmpty = s => s.length > 0;\n\n const option = name => editor => editor.options.get(name);\n const register$2 = editor => {\n const registerOption = editor.options.register;\n registerOption('image_dimensions', {\n processor: 'boolean',\n default: true\n });\n registerOption('image_advtab', {\n processor: 'boolean',\n default: false\n });\n registerOption('image_uploadtab', {\n processor: 'boolean',\n default: true\n });\n registerOption('image_prepend_url', {\n processor: 'string',\n default: ''\n });\n registerOption('image_class_list', { processor: 'object[]' });\n registerOption('image_description', {\n processor: 'boolean',\n default: true\n });\n registerOption('image_title', {\n processor: 'boolean',\n default: false\n });\n registerOption('image_caption', {\n processor: 'boolean',\n default: false\n });\n registerOption('image_list', {\n processor: value => {\n const valid = value === false || isString(value) || isArrayOf(value, isObject) || isFunction(value);\n return valid ? {\n value,\n valid\n } : {\n valid: false,\n message: 'Must be false, a string, an array or a function.'\n };\n },\n default: false\n });\n };\n const hasDimensions = option('image_dimensions');\n const hasAdvTab = option('image_advtab');\n const hasUploadTab = option('image_uploadtab');\n const getPrependUrl = option('image_prepend_url');\n const getClassList = option('image_class_list');\n const hasDescription = option('image_description');\n const hasImageTitle = option('image_title');\n const hasImageCaption = option('image_caption');\n const getImageList = option('image_list');\n const showAccessibilityOptions = option('a11y_advanced_options');\n const isAutomaticUploadsEnabled = option('automatic_uploads');\n const hasUploadUrl = editor => isNotEmpty(editor.options.get('images_upload_url'));\n const hasUploadHandler = editor => isNonNullable(editor.options.get('images_upload_handler'));\n\n const parseIntAndGetMax = (val1, val2) => Math.max(parseInt(val1, 10), parseInt(val2, 10));\n const getImageSize = url => new Promise(callback => {\n const img = document.createElement('img');\n const done = dimensions => {\n img.onload = img.onerror = null;\n if (img.parentNode) {\n img.parentNode.removeChild(img);\n }\n callback(dimensions);\n };\n img.onload = () => {\n const width = parseIntAndGetMax(img.width, img.clientWidth);\n const height = parseIntAndGetMax(img.height, img.clientHeight);\n const dimensions = {\n width,\n height\n };\n done(Promise.resolve(dimensions));\n };\n img.onerror = () => {\n done(Promise.reject(`Failed to get image dimensions for: ${ url }`));\n };\n const style = img.style;\n style.visibility = 'hidden';\n style.position = 'fixed';\n style.bottom = style.left = '0px';\n style.width = style.height = 'auto';\n document.body.appendChild(img);\n img.src = url;\n });\n const removePixelSuffix = value => {\n if (value) {\n value = value.replace(/px$/, '');\n }\n return value;\n };\n const addPixelSuffix = value => {\n if (value.length > 0 && /^[0-9]+$/.test(value)) {\n value += 'px';\n }\n return value;\n };\n const mergeMargins = css => {\n if (css.margin) {\n const splitMargin = String(css.margin).split(' ');\n switch (splitMargin.length) {\n case 1:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[0];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[0];\n css['margin-left'] = css['margin-left'] || splitMargin[0];\n break;\n case 2:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[1];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[0];\n css['margin-left'] = css['margin-left'] || splitMargin[1];\n break;\n case 3:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[1];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[2];\n css['margin-left'] = css['margin-left'] || splitMargin[1];\n break;\n case 4:\n css['margin-top'] = css['margin-top'] || splitMargin[0];\n css['margin-right'] = css['margin-right'] || splitMargin[1];\n css['margin-bottom'] = css['margin-bottom'] || splitMargin[2];\n css['margin-left'] = css['margin-left'] || splitMargin[3];\n }\n delete css.margin;\n }\n return css;\n };\n const createImageList = (editor, callback) => {\n const imageList = getImageList(editor);\n if (isString(imageList)) {\n fetch(imageList).then(res => {\n if (res.ok) {\n res.json().then(callback);\n }\n });\n } else if (isFunction(imageList)) {\n imageList(callback);\n } else {\n callback(imageList);\n }\n };\n const waitLoadImage = (editor, data, imgElm) => {\n const selectImage = () => {\n imgElm.onload = imgElm.onerror = null;\n if (editor.selection) {\n editor.selection.select(imgElm);\n editor.nodeChanged();\n }\n };\n imgElm.onload = () => {\n if (!data.width && !data.height && hasDimensions(editor)) {\n editor.dom.setAttribs(imgElm, {\n width: String(imgElm.clientWidth),\n height: String(imgElm.clientHeight)\n });\n }\n selectImage();\n };\n imgElm.onerror = selectImage;\n };\n const blobToDataUri = blob => new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.onload = () => {\n resolve(reader.result);\n };\n reader.onerror = () => {\n var _a;\n reject((_a = reader.error) === null || _a === void 0 ? void 0 : _a.message);\n };\n reader.readAsDataURL(blob);\n });\n const isPlaceholderImage = imgElm => imgElm.nodeName === 'IMG' && (imgElm.hasAttribute('data-mce-object') || imgElm.hasAttribute('data-mce-placeholder'));\n const isSafeImageUrl = (editor, src) => {\n const getOption = editor.options.get;\n return global$2.isDomSafe(src, 'img', {\n allow_html_data_urls: getOption('allow_html_data_urls'),\n allow_script_urls: getOption('allow_script_urls'),\n allow_svg_data_urls: getOption('allow_svg_data_urls')\n });\n };\n\n const DOM = global$3.DOM;\n const getHspace = image => {\n if (image.style.marginLeft && image.style.marginRight && image.style.marginLeft === image.style.marginRight) {\n return removePixelSuffix(image.style.marginLeft);\n } else {\n return '';\n }\n };\n const getVspace = image => {\n if (image.style.marginTop && image.style.marginBottom && image.style.marginTop === image.style.marginBottom) {\n return removePixelSuffix(image.style.marginTop);\n } else {\n return '';\n }\n };\n const getBorder = image => {\n if (image.style.borderWidth) {\n return removePixelSuffix(image.style.borderWidth);\n } else {\n return '';\n }\n };\n const getAttrib = (image, name) => {\n var _a;\n if (image.hasAttribute(name)) {\n return (_a = image.getAttribute(name)) !== null && _a !== void 0 ? _a : '';\n } else {\n return '';\n }\n };\n const hasCaption = image => image.parentNode !== null && image.parentNode.nodeName === 'FIGURE';\n const updateAttrib = (image, name, value) => {\n if (value === '' || value === null) {\n image.removeAttribute(name);\n } else {\n image.setAttribute(name, value);\n }\n };\n const wrapInFigure = image => {\n const figureElm = DOM.create('figure', { class: 'image' });\n DOM.insertAfter(figureElm, image);\n figureElm.appendChild(image);\n figureElm.appendChild(DOM.create('figcaption', { contentEditable: 'true' }, 'Caption'));\n figureElm.contentEditable = 'false';\n };\n const removeFigure = image => {\n const figureElm = image.parentNode;\n if (isNonNullable(figureElm)) {\n DOM.insertAfter(image, figureElm);\n DOM.remove(figureElm);\n }\n };\n const toggleCaption = image => {\n if (hasCaption(image)) {\n removeFigure(image);\n } else {\n wrapInFigure(image);\n }\n };\n const normalizeStyle = (image, normalizeCss) => {\n const attrValue = image.getAttribute('style');\n const value = normalizeCss(attrValue !== null ? attrValue : '');\n if (value.length > 0) {\n image.setAttribute('style', value);\n image.setAttribute('data-mce-style', value);\n } else {\n image.removeAttribute('style');\n }\n };\n const setSize = (name, normalizeCss) => (image, name, value) => {\n const styles = image.style;\n if (styles[name]) {\n styles[name] = addPixelSuffix(value);\n normalizeStyle(image, normalizeCss);\n } else {\n updateAttrib(image, name, value);\n }\n };\n const getSize = (image, name) => {\n if (image.style[name]) {\n return removePixelSuffix(image.style[name]);\n } else {\n return getAttrib(image, name);\n }\n };\n const setHspace = (image, value) => {\n const pxValue = addPixelSuffix(value);\n image.style.marginLeft = pxValue;\n image.style.marginRight = pxValue;\n };\n const setVspace = (image, value) => {\n const pxValue = addPixelSuffix(value);\n image.style.marginTop = pxValue;\n image.style.marginBottom = pxValue;\n };\n const setBorder = (image, value) => {\n const pxValue = addPixelSuffix(value);\n image.style.borderWidth = pxValue;\n };\n const setBorderStyle = (image, value) => {\n image.style.borderStyle = value;\n };\n const getBorderStyle = image => {\n var _a;\n return (_a = image.style.borderStyle) !== null && _a !== void 0 ? _a : '';\n };\n const isFigure = elm => isNonNullable(elm) && elm.nodeName === 'FIGURE';\n const isImage = elm => elm.nodeName === 'IMG';\n const getIsDecorative = image => DOM.getAttrib(image, 'alt').length === 0 && DOM.getAttrib(image, 'role') === 'presentation';\n const getAlt = image => {\n if (getIsDecorative(image)) {\n return '';\n } else {\n return getAttrib(image, 'alt');\n }\n };\n const defaultData = () => ({\n src: '',\n alt: '',\n title: '',\n width: '',\n height: '',\n class: '',\n style: '',\n caption: false,\n hspace: '',\n vspace: '',\n border: '',\n borderStyle: '',\n isDecorative: false\n });\n const getStyleValue = (normalizeCss, data) => {\n var _a;\n const image = document.createElement('img');\n updateAttrib(image, 'style', data.style);\n if (getHspace(image) || data.hspace !== '') {\n setHspace(image, data.hspace);\n }\n if (getVspace(image) || data.vspace !== '') {\n setVspace(image, data.vspace);\n }\n if (getBorder(image) || data.border !== '') {\n setBorder(image, data.border);\n }\n if (getBorderStyle(image) || data.borderStyle !== '') {\n setBorderStyle(image, data.borderStyle);\n }\n return normalizeCss((_a = image.getAttribute('style')) !== null && _a !== void 0 ? _a : '');\n };\n const create = (normalizeCss, data) => {\n const image = document.createElement('img');\n write(normalizeCss, {\n ...data,\n caption: false\n }, image);\n setAlt(image, data.alt, data.isDecorative);\n if (data.caption) {\n const figure = DOM.create('figure', { class: 'image' });\n figure.appendChild(image);\n figure.appendChild(DOM.create('figcaption', { contentEditable: 'true' }, 'Caption'));\n figure.contentEditable = 'false';\n return figure;\n } else {\n return image;\n }\n };\n const read = (normalizeCss, image) => ({\n src: getAttrib(image, 'src'),\n alt: getAlt(image),\n title: getAttrib(image, 'title'),\n width: getSize(image, 'width'),\n height: getSize(image, 'height'),\n class: getAttrib(image, 'class'),\n style: normalizeCss(getAttrib(image, 'style')),\n caption: hasCaption(image),\n hspace: getHspace(image),\n vspace: getVspace(image),\n border: getBorder(image),\n borderStyle: getBorderStyle(image),\n isDecorative: getIsDecorative(image)\n });\n const updateProp = (image, oldData, newData, name, set) => {\n if (newData[name] !== oldData[name]) {\n set(image, name, String(newData[name]));\n }\n };\n const setAlt = (image, alt, isDecorative) => {\n if (isDecorative) {\n DOM.setAttrib(image, 'role', 'presentation');\n const sugarImage = SugarElement.fromDom(image);\n set(sugarImage, 'alt', '');\n } else {\n if (isNull(alt)) {\n const sugarImage = SugarElement.fromDom(image);\n remove(sugarImage, 'alt');\n } else {\n const sugarImage = SugarElement.fromDom(image);\n set(sugarImage, 'alt', alt);\n }\n if (DOM.getAttrib(image, 'role') === 'presentation') {\n DOM.setAttrib(image, 'role', '');\n }\n }\n };\n const updateAlt = (image, oldData, newData) => {\n if (newData.alt !== oldData.alt || newData.isDecorative !== oldData.isDecorative) {\n setAlt(image, newData.alt, newData.isDecorative);\n }\n };\n const normalized = (set, normalizeCss) => (image, name, value) => {\n set(image, value);\n normalizeStyle(image, normalizeCss);\n };\n const write = (normalizeCss, newData, image) => {\n const oldData = read(normalizeCss, image);\n updateProp(image, oldData, newData, 'caption', (image, _name, _value) => toggleCaption(image));\n updateProp(image, oldData, newData, 'src', updateAttrib);\n updateProp(image, oldData, newData, 'title', updateAttrib);\n updateProp(image, oldData, newData, 'width', setSize('width', normalizeCss));\n updateProp(image, oldData, newData, 'height', setSize('height', normalizeCss));\n updateProp(image, oldData, newData, 'class', updateAttrib);\n updateProp(image, oldData, newData, 'style', normalized((image, value) => updateAttrib(image, 'style', value), normalizeCss));\n updateProp(image, oldData, newData, 'hspace', normalized(setHspace, normalizeCss));\n updateProp(image, oldData, newData, 'vspace', normalized(setVspace, normalizeCss));\n updateProp(image, oldData, newData, 'border', normalized(setBorder, normalizeCss));\n updateProp(image, oldData, newData, 'borderStyle', normalized(setBorderStyle, normalizeCss));\n updateAlt(image, oldData, newData);\n };\n\n const normalizeCss$1 = (editor, cssText) => {\n const css = editor.dom.styles.parse(cssText);\n const mergedCss = mergeMargins(css);\n const compressed = editor.dom.styles.parse(editor.dom.styles.serialize(mergedCss));\n return editor.dom.styles.serialize(compressed);\n };\n const getSelectedImage = editor => {\n const imgElm = editor.selection.getNode();\n const figureElm = editor.dom.getParent(imgElm, 'figure.image');\n if (figureElm) {\n return editor.dom.select('img', figureElm)[0];\n }\n if (imgElm && (imgElm.nodeName !== 'IMG' || isPlaceholderImage(imgElm))) {\n return null;\n }\n return imgElm;\n };\n const splitTextBlock = (editor, figure) => {\n var _a;\n const dom = editor.dom;\n const textBlockElements = filter(editor.schema.getTextBlockElements(), (_, parentElm) => !editor.schema.isValidChild(parentElm, 'figure'));\n const textBlock = dom.getParent(figure.parentNode, node => hasNonNullableKey(textBlockElements, node.nodeName), editor.getBody());\n if (textBlock) {\n return (_a = dom.split(textBlock, figure)) !== null && _a !== void 0 ? _a : figure;\n } else {\n return figure;\n }\n };\n const readImageDataFromSelection = editor => {\n const image = getSelectedImage(editor);\n return image ? read(css => normalizeCss$1(editor, css), image) : defaultData();\n };\n const insertImageAtCaret = (editor, data) => {\n const elm = create(css => normalizeCss$1(editor, css), data);\n editor.dom.setAttrib(elm, 'data-mce-id', '__mcenew');\n editor.focus();\n editor.selection.setContent(elm.outerHTML);\n const insertedElm = editor.dom.select('*[data-mce-id=\"__mcenew\"]')[0];\n editor.dom.setAttrib(insertedElm, 'data-mce-id', null);\n if (isFigure(insertedElm)) {\n const figure = splitTextBlock(editor, insertedElm);\n editor.selection.select(figure);\n } else {\n editor.selection.select(insertedElm);\n }\n };\n const syncSrcAttr = (editor, image) => {\n editor.dom.setAttrib(image, 'src', image.getAttribute('src'));\n };\n const deleteImage = (editor, image) => {\n if (image) {\n const elm = editor.dom.is(image.parentNode, 'figure.image') ? image.parentNode : image;\n editor.dom.remove(elm);\n editor.focus();\n editor.nodeChanged();\n if (editor.dom.isEmpty(editor.getBody())) {\n editor.setContent('');\n editor.selection.setCursorLocation();\n }\n }\n };\n const writeImageDataToSelection = (editor, data) => {\n const image = getSelectedImage(editor);\n if (image) {\n write(css => normalizeCss$1(editor, css), data, image);\n syncSrcAttr(editor, image);\n if (isFigure(image.parentNode)) {\n const figure = image.parentNode;\n splitTextBlock(editor, figure);\n editor.selection.select(image.parentNode);\n } else {\n editor.selection.select(image);\n waitLoadImage(editor, data, image);\n }\n }\n };\n const sanitizeImageData = (editor, data) => {\n const src = data.src;\n return {\n ...data,\n src: isSafeImageUrl(editor, src) ? src : ''\n };\n };\n const insertOrUpdateImage = (editor, partialData) => {\n const image = getSelectedImage(editor);\n if (image) {\n const selectedImageData = read(css => normalizeCss$1(editor, css), image);\n const data = {\n ...selectedImageData,\n ...partialData\n };\n const sanitizedData = sanitizeImageData(editor, data);\n if (data.src) {\n writeImageDataToSelection(editor, sanitizedData);\n } else {\n deleteImage(editor, image);\n }\n } else if (partialData.src) {\n insertImageAtCaret(editor, {\n ...defaultData(),\n ...partialData\n });\n }\n };\n\n const deep = (old, nu) => {\n const bothObjects = isPlainObject(old) && isPlainObject(nu);\n return bothObjects ? deepMerge(old, nu) : nu;\n };\n const baseMerge = merger => {\n return (...objects) => {\n if (objects.length === 0) {\n throw new Error(`Can't merge zero objects`);\n }\n const ret = {};\n for (let j = 0; j < objects.length; j++) {\n const curObject = objects[j];\n for (const key in curObject) {\n if (has(curObject, key)) {\n ret[key] = merger(ret[key], curObject[key]);\n }\n }\n }\n return ret;\n };\n };\n const deepMerge = baseMerge(deep);\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.util.ImageUploader');\n\n var global = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n const getValue = item => isString(item.value) ? item.value : '';\n const getText = item => {\n if (isString(item.text)) {\n return item.text;\n } else if (isString(item.title)) {\n return item.title;\n } else {\n return '';\n }\n };\n const sanitizeList = (list, extractValue) => {\n const out = [];\n global.each(list, item => {\n const text = getText(item);\n if (item.menu !== undefined) {\n const items = sanitizeList(item.menu, extractValue);\n out.push({\n text,\n items\n });\n } else {\n const value = extractValue(item);\n out.push({\n text,\n value\n });\n }\n });\n return out;\n };\n const sanitizer = (extractor = getValue) => list => {\n if (list) {\n return Optional.from(list).map(list => sanitizeList(list, extractor));\n } else {\n return Optional.none();\n }\n };\n const sanitize = list => sanitizer(getValue)(list);\n const isGroup = item => has(item, 'items');\n const findEntryDelegate = (list, value) => findMap(list, item => {\n if (isGroup(item)) {\n return findEntryDelegate(item.items, value);\n } else if (item.value === value) {\n return Optional.some(item);\n } else {\n return Optional.none();\n }\n });\n const findEntry = (optList, value) => optList.bind(list => findEntryDelegate(list, value));\n const ListUtils = {\n sanitizer,\n sanitize,\n findEntry\n };\n\n const makeTab$2 = _info => ({\n title: 'Advanced',\n name: 'advanced',\n items: [{\n type: 'grid',\n columns: 2,\n items: [\n {\n type: 'input',\n label: 'Vertical space',\n name: 'vspace',\n inputMode: 'numeric'\n },\n {\n type: 'input',\n label: 'Horizontal space',\n name: 'hspace',\n inputMode: 'numeric'\n },\n {\n type: 'input',\n label: 'Border width',\n name: 'border',\n inputMode: 'numeric'\n },\n {\n type: 'listbox',\n name: 'borderstyle',\n label: 'Border style',\n items: [\n {\n text: 'Select...',\n value: ''\n },\n {\n text: 'Solid',\n value: 'solid'\n },\n {\n text: 'Dotted',\n value: 'dotted'\n },\n {\n text: 'Dashed',\n value: 'dashed'\n },\n {\n text: 'Double',\n value: 'double'\n },\n {\n text: 'Groove',\n value: 'groove'\n },\n {\n text: 'Ridge',\n value: 'ridge'\n },\n {\n text: 'Inset',\n value: 'inset'\n },\n {\n text: 'Outset',\n value: 'outset'\n },\n {\n text: 'None',\n value: 'none'\n },\n {\n text: 'Hidden',\n value: 'hidden'\n }\n ]\n }\n ]\n }]\n });\n const AdvTab = { makeTab: makeTab$2 };\n\n const collect = editor => {\n const urlListSanitizer = ListUtils.sanitizer(item => editor.convertURL(item.value || item.url || '', 'src'));\n const futureImageList = new Promise(completer => {\n createImageList(editor, imageList => {\n completer(urlListSanitizer(imageList).map(items => flatten([\n [{\n text: 'None',\n value: ''\n }],\n items\n ])));\n });\n });\n const classList = ListUtils.sanitize(getClassList(editor));\n const hasAdvTab$1 = hasAdvTab(editor);\n const hasUploadTab$1 = hasUploadTab(editor);\n const hasUploadUrl$1 = hasUploadUrl(editor);\n const hasUploadHandler$1 = hasUploadHandler(editor);\n const image = readImageDataFromSelection(editor);\n const hasDescription$1 = hasDescription(editor);\n const hasImageTitle$1 = hasImageTitle(editor);\n const hasDimensions$1 = hasDimensions(editor);\n const hasImageCaption$1 = hasImageCaption(editor);\n const hasAccessibilityOptions = showAccessibilityOptions(editor);\n const automaticUploads = isAutomaticUploadsEnabled(editor);\n const prependURL = Optional.some(getPrependUrl(editor)).filter(preUrl => isString(preUrl) && preUrl.length > 0);\n return futureImageList.then(imageList => ({\n image,\n imageList,\n classList,\n hasAdvTab: hasAdvTab$1,\n hasUploadTab: hasUploadTab$1,\n hasUploadUrl: hasUploadUrl$1,\n hasUploadHandler: hasUploadHandler$1,\n hasDescription: hasDescription$1,\n hasImageTitle: hasImageTitle$1,\n hasDimensions: hasDimensions$1,\n hasImageCaption: hasImageCaption$1,\n prependURL,\n hasAccessibilityOptions,\n automaticUploads\n }));\n };\n\n const makeItems = info => {\n const imageUrl = {\n name: 'src',\n type: 'urlinput',\n filetype: 'image',\n label: 'Source',\n picker_text: 'Browse files'\n };\n const imageList = info.imageList.map(items => ({\n name: 'images',\n type: 'listbox',\n label: 'Image list',\n items\n }));\n const imageDescription = {\n name: 'alt',\n type: 'input',\n label: 'Alternative description',\n enabled: !(info.hasAccessibilityOptions && info.image.isDecorative)\n };\n const imageTitle = {\n name: 'title',\n type: 'input',\n label: 'Image title'\n };\n const imageDimensions = {\n name: 'dimensions',\n type: 'sizeinput'\n };\n const isDecorative = {\n type: 'label',\n label: 'Accessibility',\n items: [{\n name: 'isDecorative',\n type: 'checkbox',\n label: 'Image is decorative'\n }]\n };\n const classList = info.classList.map(items => ({\n name: 'classes',\n type: 'listbox',\n label: 'Class',\n items\n }));\n const caption = {\n type: 'label',\n label: 'Caption',\n items: [{\n type: 'checkbox',\n name: 'caption',\n label: 'Show caption'\n }]\n };\n const getDialogContainerType = useColumns => useColumns ? {\n type: 'grid',\n columns: 2\n } : { type: 'panel' };\n return flatten([\n [imageUrl],\n imageList.toArray(),\n info.hasAccessibilityOptions && info.hasDescription ? [isDecorative] : [],\n info.hasDescription ? [imageDescription] : [],\n info.hasImageTitle ? [imageTitle] : [],\n info.hasDimensions ? [imageDimensions] : [],\n [{\n ...getDialogContainerType(info.classList.isSome() && info.hasImageCaption),\n items: flatten([\n classList.toArray(),\n info.hasImageCaption ? [caption] : []\n ])\n }]\n ]);\n };\n const makeTab$1 = info => ({\n title: 'General',\n name: 'general',\n items: makeItems(info)\n });\n const MainTab = {\n makeTab: makeTab$1,\n makeItems\n };\n\n const makeTab = _info => {\n const items = [{\n type: 'dropzone',\n name: 'fileinput'\n }];\n return {\n title: 'Upload',\n name: 'upload',\n items\n };\n };\n const UploadTab = { makeTab };\n\n const createState = info => ({\n prevImage: ListUtils.findEntry(info.imageList, info.image.src),\n prevAlt: info.image.alt,\n open: true\n });\n const fromImageData = image => ({\n src: {\n value: image.src,\n meta: {}\n },\n images: image.src,\n alt: image.alt,\n title: image.title,\n dimensions: {\n width: image.width,\n height: image.height\n },\n classes: image.class,\n caption: image.caption,\n style: image.style,\n vspace: image.vspace,\n border: image.border,\n hspace: image.hspace,\n borderstyle: image.borderStyle,\n fileinput: [],\n isDecorative: image.isDecorative\n });\n const toImageData = (data, removeEmptyAlt) => ({\n src: data.src.value,\n alt: (data.alt === null || data.alt.length === 0) && removeEmptyAlt ? null : data.alt,\n title: data.title,\n width: data.dimensions.width,\n height: data.dimensions.height,\n class: data.classes,\n style: data.style,\n caption: data.caption,\n hspace: data.hspace,\n vspace: data.vspace,\n border: data.border,\n borderStyle: data.borderstyle,\n isDecorative: data.isDecorative\n });\n const addPrependUrl2 = (info, srcURL) => {\n if (!/^(?:[a-zA-Z]+:)?\\/\\//.test(srcURL)) {\n return info.prependURL.bind(prependUrl => {\n if (srcURL.substring(0, prependUrl.length) !== prependUrl) {\n return Optional.some(prependUrl + srcURL);\n }\n return Optional.none();\n });\n }\n return Optional.none();\n };\n const addPrependUrl = (info, api) => {\n const data = api.getData();\n addPrependUrl2(info, data.src.value).each(srcURL => {\n api.setData({\n src: {\n value: srcURL,\n meta: data.src.meta\n }\n });\n });\n };\n const formFillFromMeta2 = (info, data, meta) => {\n if (info.hasDescription && isString(meta.alt)) {\n data.alt = meta.alt;\n }\n if (info.hasAccessibilityOptions) {\n data.isDecorative = meta.isDecorative || data.isDecorative || false;\n }\n if (info.hasImageTitle && isString(meta.title)) {\n data.title = meta.title;\n }\n if (info.hasDimensions) {\n if (isString(meta.width)) {\n data.dimensions.width = meta.width;\n }\n if (isString(meta.height)) {\n data.dimensions.height = meta.height;\n }\n }\n if (isString(meta.class)) {\n ListUtils.findEntry(info.classList, meta.class).each(entry => {\n data.classes = entry.value;\n });\n }\n if (info.hasImageCaption) {\n if (isBoolean(meta.caption)) {\n data.caption = meta.caption;\n }\n }\n if (info.hasAdvTab) {\n if (isString(meta.style)) {\n data.style = meta.style;\n }\n if (isString(meta.vspace)) {\n data.vspace = meta.vspace;\n }\n if (isString(meta.border)) {\n data.border = meta.border;\n }\n if (isString(meta.hspace)) {\n data.hspace = meta.hspace;\n }\n if (isString(meta.borderstyle)) {\n data.borderstyle = meta.borderstyle;\n }\n }\n };\n const formFillFromMeta = (info, api) => {\n const data = api.getData();\n const meta = data.src.meta;\n if (meta !== undefined) {\n const newData = deepMerge({}, data);\n formFillFromMeta2(info, newData, meta);\n api.setData(newData);\n }\n };\n const calculateImageSize = (helpers, info, state, api) => {\n const data = api.getData();\n const url = data.src.value;\n const meta = data.src.meta || {};\n if (!meta.width && !meta.height && info.hasDimensions) {\n if (isNotEmpty(url)) {\n helpers.imageSize(url).then(size => {\n if (state.open) {\n api.setData({ dimensions: size });\n }\n }).catch(e => console.error(e));\n } else {\n api.setData({\n dimensions: {\n width: '',\n height: ''\n }\n });\n }\n }\n };\n const updateImagesDropdown = (info, state, api) => {\n const data = api.getData();\n const image = ListUtils.findEntry(info.imageList, data.src.value);\n state.prevImage = image;\n api.setData({ images: image.map(entry => entry.value).getOr('') });\n };\n const changeSrc = (helpers, info, state, api) => {\n addPrependUrl(info, api);\n formFillFromMeta(info, api);\n calculateImageSize(helpers, info, state, api);\n updateImagesDropdown(info, state, api);\n };\n const changeImages = (helpers, info, state, api) => {\n const data = api.getData();\n const image = ListUtils.findEntry(info.imageList, data.images);\n image.each(img => {\n const updateAlt = data.alt === '' || state.prevImage.map(image => image.text === data.alt).getOr(false);\n if (updateAlt) {\n if (img.value === '') {\n api.setData({\n src: img,\n alt: state.prevAlt\n });\n } else {\n api.setData({\n src: img,\n alt: img.text\n });\n }\n } else {\n api.setData({ src: img });\n }\n });\n state.prevImage = image;\n changeSrc(helpers, info, state, api);\n };\n const changeFileInput = (helpers, info, state, api) => {\n const data = api.getData();\n api.block('Uploading image');\n head(data.fileinput).fold(() => {\n api.unblock();\n }, file => {\n const blobUri = URL.createObjectURL(file);\n const finalize = () => {\n api.unblock();\n URL.revokeObjectURL(blobUri);\n };\n const updateSrcAndSwitchTab = url => {\n api.setData({\n src: {\n value: url,\n meta: {}\n }\n });\n api.showTab('general');\n changeSrc(helpers, info, state, api);\n };\n blobToDataUri(file).then(dataUrl => {\n const blobInfo = helpers.createBlobCache(file, blobUri, dataUrl);\n if (info.automaticUploads) {\n helpers.uploadImage(blobInfo).then(result => {\n updateSrcAndSwitchTab(result.url);\n finalize();\n }).catch(err => {\n finalize();\n helpers.alertErr(err);\n });\n } else {\n helpers.addToBlobCache(blobInfo);\n updateSrcAndSwitchTab(blobInfo.blobUri());\n api.unblock();\n }\n });\n });\n };\n const changeHandler = (helpers, info, state) => (api, evt) => {\n if (evt.name === 'src') {\n changeSrc(helpers, info, state, api);\n } else if (evt.name === 'images') {\n changeImages(helpers, info, state, api);\n } else if (evt.name === 'alt') {\n state.prevAlt = api.getData().alt;\n } else if (evt.name === 'fileinput') {\n changeFileInput(helpers, info, state, api);\n } else if (evt.name === 'isDecorative') {\n api.setEnabled('alt', !api.getData().isDecorative);\n }\n };\n const closeHandler = state => () => {\n state.open = false;\n };\n const makeDialogBody = info => {\n if (info.hasAdvTab || info.hasUploadUrl || info.hasUploadHandler) {\n const tabPanel = {\n type: 'tabpanel',\n tabs: flatten([\n [MainTab.makeTab(info)],\n info.hasAdvTab ? [AdvTab.makeTab(info)] : [],\n info.hasUploadTab && (info.hasUploadUrl || info.hasUploadHandler) ? [UploadTab.makeTab(info)] : []\n ])\n };\n return tabPanel;\n } else {\n const panel = {\n type: 'panel',\n items: MainTab.makeItems(info)\n };\n return panel;\n }\n };\n const submitHandler = (editor, info, helpers) => api => {\n const data = deepMerge(fromImageData(info.image), api.getData());\n const finalData = {\n ...data,\n style: getStyleValue(helpers.normalizeCss, toImageData(data, false))\n };\n editor.execCommand('mceUpdateImage', false, toImageData(finalData, info.hasAccessibilityOptions));\n editor.editorUpload.uploadImagesAuto();\n api.close();\n };\n const imageSize = editor => url => {\n if (!isSafeImageUrl(editor, url)) {\n return Promise.resolve({\n width: '',\n height: ''\n });\n } else {\n return getImageSize(editor.documentBaseURI.toAbsolute(url)).then(dimensions => ({\n width: String(dimensions.width),\n height: String(dimensions.height)\n }));\n }\n };\n const createBlobCache = editor => (file, blobUri, dataUrl) => {\n var _a;\n return editor.editorUpload.blobCache.create({\n blob: file,\n blobUri,\n name: (_a = file.name) === null || _a === void 0 ? void 0 : _a.replace(/\\.[^\\.]+$/, ''),\n filename: file.name,\n base64: dataUrl.split(',')[1]\n });\n };\n const addToBlobCache = editor => blobInfo => {\n editor.editorUpload.blobCache.add(blobInfo);\n };\n const alertErr = editor => message => {\n editor.windowManager.alert(message);\n };\n const normalizeCss = editor => cssText => normalizeCss$1(editor, cssText);\n const parseStyle = editor => cssText => editor.dom.parseStyle(cssText);\n const serializeStyle = editor => (stylesArg, name) => editor.dom.serializeStyle(stylesArg, name);\n const uploadImage = editor => blobInfo => global$1(editor).upload([blobInfo], false).then(results => {\n var _a;\n if (results.length === 0) {\n return Promise.reject('Failed to upload image');\n } else if (results[0].status === false) {\n return Promise.reject((_a = results[0].error) === null || _a === void 0 ? void 0 : _a.message);\n } else {\n return results[0];\n }\n });\n const Dialog = editor => {\n const helpers = {\n imageSize: imageSize(editor),\n addToBlobCache: addToBlobCache(editor),\n createBlobCache: createBlobCache(editor),\n alertErr: alertErr(editor),\n normalizeCss: normalizeCss(editor),\n parseStyle: parseStyle(editor),\n serializeStyle: serializeStyle(editor),\n uploadImage: uploadImage(editor)\n };\n const open = () => {\n collect(editor).then(info => {\n const state = createState(info);\n return {\n title: 'Insert/Edit Image',\n size: 'normal',\n body: makeDialogBody(info),\n buttons: [\n {\n type: 'cancel',\n name: 'cancel',\n text: 'Cancel'\n },\n {\n type: 'submit',\n name: 'save',\n text: 'Save',\n primary: true\n }\n ],\n initialData: fromImageData(info.image),\n onSubmit: submitHandler(editor, info, helpers),\n onChange: changeHandler(helpers, info, state),\n onClose: closeHandler(state)\n };\n }).then(editor.windowManager.open);\n };\n return { open };\n };\n\n const register$1 = editor => {\n editor.addCommand('mceImage', Dialog(editor).open);\n editor.addCommand('mceUpdateImage', (_ui, data) => {\n editor.undoManager.transact(() => insertOrUpdateImage(editor, data));\n });\n };\n\n const hasImageClass = node => {\n const className = node.attr('class');\n return isNonNullable(className) && /\\bimage\\b/.test(className);\n };\n const toggleContentEditableState = state => nodes => {\n let i = nodes.length;\n const toggleContentEditable = node => {\n node.attr('contenteditable', state ? 'true' : null);\n };\n while (i--) {\n const node = nodes[i];\n if (hasImageClass(node)) {\n node.attr('contenteditable', state ? 'false' : null);\n global.each(node.getAll('figcaption'), toggleContentEditable);\n }\n }\n };\n const setup = editor => {\n editor.on('PreInit', () => {\n editor.parser.addNodeFilter('figure', toggleContentEditableState(true));\n editor.serializer.addNodeFilter('figure', toggleContentEditableState(false));\n });\n };\n\n const onSetupEditable = editor => api => {\n const nodeChanged = () => {\n api.setEnabled(editor.selection.isEditable());\n };\n editor.on('NodeChange', nodeChanged);\n nodeChanged();\n return () => {\n editor.off('NodeChange', nodeChanged);\n };\n };\n const register = editor => {\n editor.ui.registry.addToggleButton('image', {\n icon: 'image',\n tooltip: 'Insert/edit image',\n onAction: Dialog(editor).open,\n onSetup: buttonApi => {\n buttonApi.setActive(isNonNullable(getSelectedImage(editor)));\n const unbindSelectorChanged = editor.selection.selectorChangedWithUnbind('img:not([data-mce-object]):not([data-mce-placeholder]),figure.image', buttonApi.setActive).unbind;\n const unbindEditable = onSetupEditable(editor)(buttonApi);\n return () => {\n unbindSelectorChanged();\n unbindEditable();\n };\n }\n });\n editor.ui.registry.addMenuItem('image', {\n icon: 'image',\n text: 'Image...',\n onAction: Dialog(editor).open,\n onSetup: onSetupEditable(editor)\n });\n editor.ui.registry.addContextMenu('image', { update: element => editor.selection.isEditable() && (isFigure(element) || isImage(element) && !isPlaceholderImage(element)) ? ['image'] : [] });\n };\n\n var Plugin = () => {\n global$4.add('image', editor => {\n register$2(editor);\n setup(editor);\n register(editor);\n register$1(editor);\n });\n };\n\n Plugin();\n\n})();\n"],"names":["global$4","tinymce","util","Tools","resolve","getPrototypeOf","Object","hasProto","v","constructor","predicate","_a","prototype","name","isType","type","value","x","t","Array","isArray","String","o","proto","isPrototypeOf","typeOf","isSimpleType","isString","isObject","isPlainObject","is","isNull","a","isBoolean","isNonNullable","isNullable","isFunction","isNumber","noop","Optional","tag","this","some","none","singletonNone","fold","onNone","onSome","isSome","isNone","map","mapper","bind","binder","exists","forall","filter","getOr","replacement","or","getOrThunk","thunk","orThunk","getOrDie","message","Error","from","getOrNull","getOrUndefined","each","worker","toArray","toString","keys","hasOwnProperty","internalFilter","obj","pred","onTrue","onFalse","f","props","k","len","length","i","has","key","call","nativePush","push","flatten","xs","r","apply","head","get","window","Function","set","element","dom","console","error","setAttribute","rawSet","fromDom","node","SugarElement","fromHtml","html","scope","div","document","createElement","innerHTML","hasChildNodes","childNodes","fromTag","fromText","text","createTextNode","fromPoint","docElm","y","elementFromPoint","global$3","global$2","isNotEmpty","s","option","editor","options","register$2","registerOption","register","processor","default","valid","isArrayOf","hasDimensions","hasAdvTab","hasUploadTab","getPrependUrl","getClassList","hasDescription","hasImageTitle","hasImageCaption","getImageList","showAccessibilityOptions","isAutomaticUploadsEnabled","parseIntAndGetMax","val1","val2","Math","max","parseInt","removePixelSuffix","replace","addPixelSuffix","test","isPlaceholderImage","imgElm","nodeName","hasAttribute","isSafeImageUrl","src","getOption","isDomSafe","allow_html_data_urls","allow_script_urls","allow_svg_data_urls","DOM","getHspace","image","style","marginLeft","marginRight","getVspace","marginTop","marginBottom","getBorder","borderWidth","getAttrib","getAttribute","hasCaption","parentNode","updateAttrib","removeAttribute","toggleCaption","figureElm","insertAfter","remove","removeFigure","create","class","appendChild","contentEditable","wrapInFigure","normalizeStyle","normalizeCss","attrValue","setSize","styles","getSize","setHspace","pxValue","setVspace","setBorder","setBorderStyle","borderStyle","getBorderStyle","isFigure","elm","getIsDecorative","getAlt","getStyleValue","data","hspace","vspace","border","read","alt","title","width","height","caption","isDecorative","updateProp","oldData","newData","setAlt","setAttrib","sugarImage","normalized","write","_name","_value","updateAlt","normalizeCss$1","cssText","mergedCss","css","margin","splitMargin","split","mergeMargins","parse","compressed","serialize","getSelectedImage","selection","getNode","getParent","select","splitTextBlock","figure","textBlockElements","schema","getTextBlockElements","_","parentElm","isValidChild","textBlock","hasNonNullableKey","undefined","getBody","insertImageAtCaret","focus","setContent","outerHTML","insertedElm","writeImageDataToSelection","syncSrcAttr","selectImage","onload","onerror","nodeChanged","setAttribs","clientWidth","clientHeight","waitLoadImage","insertOrUpdateImage","partialData","sanitizedData","sanitizeImageData","isEmpty","setCursorLocation","deleteImage","deepMerge","merger","old","nu","objects","ret","j","curObject","global$1","global","getValue","item","sanitizeList","list","extractValue","out","getText","menu","items","sanitizer","extractor","findEntryDelegate","arr","findMap","isGroup","ListUtils","optList","AdvTab","_info","columns","label","inputMode","collect","urlListSanitizer","convertURL","url","futureImageList","Promise","completer","callback","imageList","fetch","then","res","ok","json","createImageList","classList","hasAdvTab$1","hasUploadTab$1","hasUploadUrl$1","hasUploadUrl","hasUploadHandler$1","hasUploadHandler","readImageDataFromSelection","hasDescription$1","hasImageTitle$1","hasDimensions$1","hasImageCaption$1","hasAccessibilityOptions","automaticUploads","prependURL","preUrl","makeItems","info","imageDescription","enabled","filetype","picker_text","useColumns","MainTab","UploadTab","fromImageData","meta","images","dimensions","classes","borderstyle","fileinput","toImageData","removeEmptyAlt","addPrependUrl","api","getData","srcURL","prependUrl","substring","addPrependUrl2","setData","formFillFromMeta","entry","formFillFromMeta2","changeSrc","helpers","state","imageSize","size","open","catch","e","calculateImageSize","prevImage","updateImagesDropdown","changeFileInput","block","unblock","file","blobUri","URL","createObjectURL","finalize","revokeObjectURL","updateSrcAndSwitchTab","showTab","blob","reject","reader","FileReader","result","readAsDataURL","dataUrl","blobInfo","createBlobCache","uploadImage","err","alertErr","addToBlobCache","changeHandler","evt","img","prevAlt","changeImages","setEnabled","closeHandler","makeDialogBody","tabs","submitHandler","finalData","execCommand","editorUpload","uploadImagesAuto","close","done","removeChild","visibility","position","bottom","left","body","getImageSize","documentBaseURI","toAbsolute","blobCache","filename","base64","add","windowManager","alert","parseStyle","serializeStyle","stylesArg","upload","results","status","Dialog","createState","buttons","primary","initialData","onSubmit","onChange","onClose","hasImageClass","className","attr","toggleContentEditableState","nodes","toggleContentEditable","getAll","onSetupEditable","isEditable","on","off","parser","addNodeFilter","serializer","setup","ui","registry","addToggleButton","icon","tooltip","onAction","onSetup","buttonApi","setActive","unbindSelectorChanged","selectorChangedWithUnbind","unbind","unbindEditable","addMenuItem","addContextMenu","update","addCommand","_ui","undoManager","transact","register$1"],"mappings":"+FAIA,WAGI,IAAIA,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAE1C,MAAMC,EAAiBC,OAAOD,eACxBE,EAAW,CAACC,EAAGC,EAAaC,KAChC,IAAIC,EACJ,QAAID,EAAUF,EAAGC,EAAYG,aAGM,QAAxBD,EAAKH,EAAEC,mBAAgC,IAAPE,OAAgB,EAASA,EAAGE,QAAUJ,EAAYI,IACnG,EAcUC,EAASC,GAAQC,GAZRC,KACb,MAAMC,SAAWD,EACjB,OAAU,OAANA,EACK,OACQ,WAANC,GAAkBC,MAAMC,QAAQH,GAClC,QACQ,WAANC,GAAkBX,EAASU,EAAGI,QAAQ,CAACC,EAAGC,IAAUA,EAAMC,cAAcF,KAC1E,SAEAJ,CACf,EAEoCO,CAAOT,KAAWD,EAC5CW,EAAeX,GAAQC,UAAgBA,IAAUD,EAGjDY,EAAWb,EAAO,UAClBc,EAAWd,EAAO,UAClBe,EAAgBb,GAHX,EAACA,EAAOP,IAAgBmB,EAASZ,IAAUT,EAASS,EAAOP,GAAa,CAACa,EAAGC,IAAUlB,EAAeiB,KAAOC,I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ASzT,IACpBE,EAAWF,GA3CDA,KACZA,EAAOmV,GAAG,WAAW,KACnBnV,EAAOqV,OAAOC,cAAc,SAAUT,IAA2B,IACjE7U,EAAOuV,WAAWD,cAAc,SAAUT,IAA2B,GAAO,GAC5E,EAwCAW,CAAMxV,GA3BOA,KACfA,EAAOyV,GAAGC,SAASC,gBAAgB,QAAS,CAC1CC,KAAM,QACNC,QAAS,oBACTC,SAAU5B,GAAOlU,GAAQ+P,KACzBgG,QAASC,IACPA,EAAUC,UAAUlc,EAAcwN,GAAiBvH,KACnD,MAAMkW,EAAwBlW,EAAOwH,UAAU2O,0BAA0B,sEAAuEH,EAAUC,WAAWG,OAC/JC,EAAiBpB,GAAgBjV,EAAhBiV,CAAwBe,GAC/C,MAAO,KACLE,IACAG,GAAgB,CACjB,IAGLrW,EAAOyV,GAAGC,SAASY,YAAY,QAAS,CACtCV,KAAM,QACNvW,KAAM,WACNyW,SAAU5B,GAAOlU,GAAQ+P,KACzBgG,QAASd,GAAgBjV,KAE3BA,EAAOyV,GAAGC,SAASa,eAAe,QAAS,CAAEC,OAAQvY,GAAW+B,EAAOwH,UAAU0N,eAAiBjQ,GAAShH,IAv6BrE,QAu6ByFA,EAv6BtG+D,WAu6BmHF,EAAmB7D,IAAY,CAAC,SAAW,IAAK,EAO1LmC,CAASJ,GArEMA,KACjBA,EAAOyW,WAAW,WAAYvC,GAAOlU,GAAQ+P,MAC7C/P,EAAOyW,WAAW,kBAAkB,CAACC,EAAKpR,KACxCtF,EAAO2W,YAAYC,UAAS,IAAMrN,GAAoBvJ,EAAQsF,IAAM,GACpE,EAkEAuR,CAAW7W,EAAO,GAMzB,CA59CD"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- // Exports the "link" plugin for usage with module loaders
2
- // Usage:
3
- // CommonJS:
4
- // require('tinymce/plugins/link')
5
- // ES2015:
6
- // import 'tinymce/plugins/link'
7
- require('./plugin.js');
@@ -1,2 +0,0 @@
1
- import{__exports as r}from"../../../../_virtual/index18.mjs";import{__require as e}from"./plugin.mjs";var i;function o(){return i||(i=1,e()),r}export{o as __require};
2
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../../public/tinymce/plugins/link/index.js"],"sourcesContent":["// Exports the \"link\" plugin for usage with module loaders\n// Usage:\n// CommonJS:\n// require('tinymce/plugins/link')\n// ES2015:\n// import 'tinymce/plugins/link'\nrequire('./plugin.js');"],"names":["require$$0"],"mappings":"wIAMsBA"}