@lotte-innovate/ui-component-test 0.2.25 → 0.2.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1026) 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 +1 -1
  189. package/dist/lib/components/Editor/index.js +1 -2
  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/addMilliseconds/index.mjs +2 -0
  791. package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs.map +1 -0
  792. package/dist/lib/node_modules/date-fns/esm/format/index.mjs +2 -0
  793. package/dist/lib/node_modules/date-fns/esm/format/index.mjs.map +1 -0
  794. package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs +2 -0
  795. package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs.map +1 -0
  796. package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs +2 -0
  797. package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs.map +1 -0
  798. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs +2 -0
  799. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs.map +1 -0
  800. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs +2 -0
  801. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs.map +1 -0
  802. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs +2 -0
  803. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs.map +1 -0
  804. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs +2 -0
  805. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs.map +1 -0
  806. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs +2 -0
  807. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs.map +1 -0
  808. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs +2 -0
  809. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs.map +1 -0
  810. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs +2 -0
  811. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs.map +1 -0
  812. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs +2 -0
  813. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs.map +1 -0
  814. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs +2 -0
  815. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs.map +1 -0
  816. package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs +2 -0
  817. package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs.map +1 -0
  818. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs +2 -0
  819. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs.map +1 -0
  820. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs +2 -0
  821. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs.map +1 -0
  822. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs +2 -0
  823. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs.map +1 -0
  824. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs +2 -0
  825. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs.map +1 -0
  826. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs +2 -0
  827. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs.map +1 -0
  828. package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs +2 -0
  829. package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs.map +1 -0
  830. package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs +2 -0
  831. package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs.map +1 -0
  832. package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs +2 -0
  833. package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs.map +1 -0
  834. package/dist/lib/node_modules/object-assign/index.mjs +7 -0
  835. package/dist/lib/node_modules/object-assign/index.mjs.map +1 -0
  836. package/dist/lib/node_modules/prop-types/checkPropTypes.mjs +2 -0
  837. package/dist/lib/node_modules/prop-types/checkPropTypes.mjs.map +1 -0
  838. package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs +2 -0
  839. package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs.map +1 -0
  840. package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs +2 -0
  841. package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs.map +1 -0
  842. package/dist/lib/node_modules/prop-types/index.mjs +2 -0
  843. package/dist/lib/node_modules/prop-types/index.mjs.map +1 -0
  844. package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +2 -0
  845. package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs.map +1 -0
  846. package/dist/lib/node_modules/prop-types/lib/has.mjs +2 -0
  847. package/dist/lib/node_modules/prop-types/lib/has.mjs.map +1 -0
  848. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs +10 -0
  849. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs.map +1 -0
  850. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs +10 -0
  851. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs.map +1 -0
  852. package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs +2 -0
  853. package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs.map +1 -0
  854. package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs +21 -0
  855. package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs.map +1 -0
  856. package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs +2 -0
  857. package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs.map +1 -0
  858. package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs +2 -0
  859. package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs.map +1 -0
  860. package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs +2 -0
  861. package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs.map +1 -0
  862. package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs +2 -0
  863. package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs.map +1 -0
  864. package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs +2 -0
  865. package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs.map +1 -0
  866. package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs +2 -0
  867. package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs.map +1 -0
  868. package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs +2 -0
  869. package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs.map +1 -0
  870. package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs +2 -0
  871. package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs.map +1 -0
  872. package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs +2 -0
  873. package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs.map +1 -0
  874. package/dist/lib/theme/ThemeProvider.d.ts +16 -0
  875. package/dist/lib/theme/ThemeProvider.js +29 -0
  876. package/dist/lib/theme/index.d.ts +2 -0
  877. package/dist/lib/theme/index.js +2 -0
  878. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  879. package/dist/lib/types.d.ts +85 -0
  880. package/dist/lib/utils/classPrefixes.d.ts +3 -0
  881. package/dist/lib/utils/classPrefixes.js +29 -0
  882. package/dist/lib/utils/useDarkMode.d.ts +1 -0
  883. package/dist/lib/utils/useDarkMode.js +50 -0
  884. package/dist/lib/utils/useWindowSize.d.ts +1 -0
  885. package/dist/lib/utils/useWindowSize.js +17 -0
  886. package/dist/tailwind.config.js +98 -0
  887. package/dist/tsconfig.tsbuildinfo +1 -1
  888. package/package.json +57 -10
  889. package/dist/lib/components/Editor/index.mjs +0 -3
  890. package/dist/lib/constants.mjs +0 -2
  891. package/dist/lib/constants.mjs.map +0 -1
  892. package/dist/lib/index.mjs +0 -2
  893. package/dist/lib/utils/utils.mjs.map +0 -1
  894. package/dist/post-tinymce.js +0 -29
  895. package/public/tinymce/CHANGELOG.md +0 -3453
  896. package/public/tinymce/README.md +0 -73
  897. package/public/tinymce/bower.json +0 -27
  898. package/public/tinymce/composer.json +0 -52
  899. package/public/tinymce/icons/default/icons.js +0 -194
  900. package/public/tinymce/icons/default/icons.min.js +0 -1
  901. package/public/tinymce/icons/default/icons.mjs +0 -2
  902. package/public/tinymce/icons/default/icons.mjs.map +0 -1
  903. package/public/tinymce/icons/default/index.d.ts +0 -1
  904. package/public/tinymce/icons/default/index.js +0 -7
  905. package/public/tinymce/icons/default/index.mjs +0 -2
  906. package/public/tinymce/icons/default/index.mjs.map +0 -1
  907. package/public/tinymce/license.txt +0 -21
  908. package/public/tinymce/models/dom/index.d.ts +0 -1
  909. package/public/tinymce/models/dom/index.js +0 -7
  910. package/public/tinymce/models/dom/index.mjs +0 -2
  911. package/public/tinymce/models/dom/index.mjs.map +0 -1
  912. package/public/tinymce/models/dom/model.js +0 -8040
  913. package/public/tinymce/models/dom/model.min.js +0 -4
  914. package/public/tinymce/models/dom/model.mjs +0 -2
  915. package/public/tinymce/models/dom/model.mjs.map +0 -1
  916. package/public/tinymce/package.json +0 -32
  917. package/public/tinymce/plugins/advlist/index.d.ts +0 -1
  918. package/public/tinymce/plugins/advlist/index.js +0 -7
  919. package/public/tinymce/plugins/advlist/index.mjs +0 -2
  920. package/public/tinymce/plugins/advlist/index.mjs.map +0 -1
  921. package/public/tinymce/plugins/advlist/plugin.js +0 -259
  922. package/public/tinymce/plugins/advlist/plugin.min.js +0 -4
  923. package/public/tinymce/plugins/advlist/plugin.mjs +0 -2
  924. package/public/tinymce/plugins/advlist/plugin.mjs.map +0 -1
  925. package/public/tinymce/plugins/autolink/index.js +0 -7
  926. package/public/tinymce/plugins/autolink/plugin.js +0 -228
  927. package/public/tinymce/plugins/autolink/plugin.min.js +0 -4
  928. package/public/tinymce/plugins/code/index.d.ts +0 -1
  929. package/public/tinymce/plugins/code/index.js +0 -7
  930. package/public/tinymce/plugins/code/index.mjs +0 -2
  931. package/public/tinymce/plugins/code/index.mjs.map +0 -1
  932. package/public/tinymce/plugins/code/plugin.js +0 -85
  933. package/public/tinymce/plugins/code/plugin.min.js +0 -4
  934. package/public/tinymce/plugins/code/plugin.mjs +0 -2
  935. package/public/tinymce/plugins/code/plugin.mjs.map +0 -1
  936. package/public/tinymce/plugins/codesample/index.d.ts +0 -1
  937. package/public/tinymce/plugins/codesample/index.js +0 -7
  938. package/public/tinymce/plugins/codesample/index.mjs +0 -2
  939. package/public/tinymce/plugins/codesample/index.mjs.map +0 -1
  940. package/public/tinymce/plugins/codesample/plugin.d.ts +0 -45
  941. package/public/tinymce/plugins/codesample/plugin.js +0 -2463
  942. package/public/tinymce/plugins/codesample/plugin.min.js +0 -4
  943. package/public/tinymce/plugins/codesample/plugin.mjs +0 -2
  944. package/public/tinymce/plugins/codesample/plugin.mjs.map +0 -1
  945. package/public/tinymce/plugins/image/index.d.ts +0 -1
  946. package/public/tinymce/plugins/image/index.js +0 -7
  947. package/public/tinymce/plugins/image/index.mjs +0 -2
  948. package/public/tinymce/plugins/image/index.mjs.map +0 -1
  949. package/public/tinymce/plugins/image/plugin.js +0 -1505
  950. package/public/tinymce/plugins/image/plugin.min.js +0 -4
  951. package/public/tinymce/plugins/image/plugin.mjs +0 -2
  952. package/public/tinymce/plugins/image/plugin.mjs.map +0 -1
  953. package/public/tinymce/plugins/link/index.d.ts +0 -1
  954. package/public/tinymce/plugins/link/index.js +0 -7
  955. package/public/tinymce/plugins/link/index.mjs +0 -2
  956. package/public/tinymce/plugins/link/index.mjs.map +0 -1
  957. package/public/tinymce/plugins/link/plugin.js +0 -1242
  958. package/public/tinymce/plugins/link/plugin.min.js +0 -4
  959. package/public/tinymce/plugins/link/plugin.mjs +0 -2
  960. package/public/tinymce/plugins/link/plugin.mjs.map +0 -1
  961. package/public/tinymce/plugins/lists/index.d.ts +0 -1
  962. package/public/tinymce/plugins/lists/index.js +0 -7
  963. package/public/tinymce/plugins/lists/index.mjs +0 -2
  964. package/public/tinymce/plugins/lists/index.mjs.map +0 -1
  965. package/public/tinymce/plugins/lists/plugin.js +0 -2172
  966. package/public/tinymce/plugins/lists/plugin.min.js +0 -4
  967. package/public/tinymce/plugins/lists/plugin.mjs +0 -2
  968. package/public/tinymce/plugins/lists/plugin.mjs.map +0 -1
  969. package/public/tinymce/plugins/table/index.d.ts +0 -1
  970. package/public/tinymce/plugins/table/index.js +0 -7
  971. package/public/tinymce/plugins/table/index.mjs +0 -2
  972. package/public/tinymce/plugins/table/index.mjs.map +0 -1
  973. package/public/tinymce/plugins/table/plugin.js +0 -3462
  974. package/public/tinymce/plugins/table/plugin.min.js +0 -4
  975. package/public/tinymce/plugins/table/plugin.mjs +0 -2
  976. package/public/tinymce/plugins/table/plugin.mjs.map +0 -1
  977. package/public/tinymce/skins/content/default/content.css +0 -61
  978. package/public/tinymce/skins/content/default/content.js +0 -2
  979. package/public/tinymce/skins/content/default/content.min.css +0 -1
  980. package/public/tinymce/skins/content/default/content.mjs +0 -2
  981. package/public/tinymce/skins/content/default/content.mjs.map +0 -1
  982. package/public/tinymce/skins/ui/oxide/content.css +0 -785
  983. package/public/tinymce/skins/ui/oxide/content.inline.css +0 -779
  984. package/public/tinymce/skins/ui/oxide/content.inline.js +0 -2
  985. package/public/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
  986. package/public/tinymce/skins/ui/oxide/content.js +0 -2
  987. package/public/tinymce/skins/ui/oxide/content.min.css +0 -1
  988. package/public/tinymce/skins/ui/oxide/content.mjs +0 -2
  989. package/public/tinymce/skins/ui/oxide/content.mjs.map +0 -1
  990. package/public/tinymce/skins/ui/oxide/skin.css +0 -3763
  991. package/public/tinymce/skins/ui/oxide/skin.js +0 -2
  992. package/public/tinymce/skins/ui/oxide/skin.min.css +0 -1
  993. package/public/tinymce/skins/ui/oxide/skin.mjs +0 -2
  994. package/public/tinymce/skins/ui/oxide/skin.mjs.map +0 -1
  995. package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
  996. package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
  997. package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
  998. package/public/tinymce/skins/ui/oxide-dark/content.css +0 -766
  999. package/public/tinymce/skins/ui/oxide-dark/content.inline.css +0 -779
  1000. package/public/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
  1001. package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
  1002. package/public/tinymce/skins/ui/oxide-dark/content.js +0 -2
  1003. package/public/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
  1004. package/public/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
  1005. package/public/tinymce/skins/ui/oxide-dark/skin.js +0 -2
  1006. package/public/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
  1007. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
  1008. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
  1009. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
  1010. package/public/tinymce/themes/silver/index.d.ts +0 -1
  1011. package/public/tinymce/themes/silver/index.js +0 -7
  1012. package/public/tinymce/themes/silver/index.mjs +0 -2
  1013. package/public/tinymce/themes/silver/index.mjs.map +0 -1
  1014. package/public/tinymce/themes/silver/theme.js +0 -30775
  1015. package/public/tinymce/themes/silver/theme.min.js +0 -384
  1016. package/public/tinymce/themes/silver/theme.mjs +0 -2
  1017. package/public/tinymce/themes/silver/theme.mjs.map +0 -1
  1018. package/public/tinymce/tinymce.d.ts +0 -3238
  1019. package/public/tinymce/tinymce.js +0 -31779
  1020. package/public/tinymce/tinymce.min.js +0 -384
  1021. package/public/tinymce/tinymce.mjs +0 -2
  1022. package/public/tinymce/tinymce.mjs.map +0 -1
  1023. /package/dist/lib/{index.mjs.map → _virtual/index.mjs.map} +0 -0
  1024. /package/dist/lib/{components/Editor → dist/lib/Typography/Header}/index.mjs.map +0 -0
  1025. /package/dist/lib/{utils → dist/lib/utils}/utils.mjs +0 -0
  1026. /package/dist/{post-tinymce.d.ts → lib/types.js} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.mjs","sources":["../../../../../../public/tinymce/plugins/table/plugin.js"],"sourcesContent":["/**\n * TinyMCE version 6.8.5 (TBD)\n */\n\n(function () {\n 'use strict';\n\n var global$3 = tinymce.util.Tools.resolve('tinymce.PluginManager');\n\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$1 = type => value => typeOf(value) === type;\n const isSimpleType = type => value => typeof value === type;\n const eq$1 = t => a => t === a;\n const isString = isType$1('string');\n const isArray = isType$1('array');\n const isBoolean = isSimpleType('boolean');\n const isUndefined = eq$1(undefined);\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\n const noop = () => {\n };\n const compose1 = (fbc, fab) => a => fbc(fab(a));\n const constant = value => {\n return () => {\n return value;\n };\n };\n const identity = x => {\n return x;\n };\n const tripleEquals = (a, b) => {\n return a === b;\n };\n function curry(fn, ...initialArgs) {\n return (...restArgs) => {\n const all = initialArgs.concat(restArgs);\n return fn.apply(null, all);\n };\n }\n const call = f => {\n f();\n };\n const never = constant(false);\n const always = constant(true);\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$1 = (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$1(obj, (x, i) => {\n (pred(x, i) ? onTrue : onFalse)(x, i);\n });\n };\n const filter$1 = (obj, pred) => {\n const t = {};\n internalFilter(obj, pred, objAcc(t), noop);\n return t;\n };\n const mapToArray = (obj, f) => {\n const r = [];\n each$1(obj, (value, name) => {\n r.push(f(value, name));\n });\n return r;\n };\n const values = obj => {\n return mapToArray(obj, identity);\n };\n const size = obj => {\n return keys(obj).length;\n };\n const get$4 = (obj, key) => {\n return has(obj, key) ? Optional.from(obj[key]) : Optional.none();\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 const isEmpty$1 = r => {\n for (const x in r) {\n if (hasOwnProperty.call(r, x)) {\n return false;\n }\n }\n return true;\n };\n\n const nativeIndexOf = Array.prototype.indexOf;\n const nativePush = Array.prototype.push;\n const rawIndexOf = (ts, t) => nativeIndexOf.call(ts, t);\n const contains = (xs, x) => rawIndexOf(xs, x) > -1;\n const exists = (xs, pred) => {\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n if (pred(x, i)) {\n return true;\n }\n }\n return false;\n };\n const range = (num, f) => {\n const r = [];\n for (let i = 0; i < num; i++) {\n r.push(f(i));\n }\n return r;\n };\n const map = (xs, f) => {\n const len = xs.length;\n const r = new Array(len);\n for (let i = 0; i < len; i++) {\n const x = xs[i];\n r[i] = f(x, i);\n }\n return r;\n };\n const each = (xs, f) => {\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n f(x, i);\n }\n };\n const eachr = (xs, f) => {\n for (let i = xs.length - 1; i >= 0; i--) {\n const x = xs[i];\n f(x, i);\n }\n };\n const partition = (xs, pred) => {\n const pass = [];\n const fail = [];\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n const arr = pred(x, i) ? pass : fail;\n arr.push(x);\n }\n return {\n pass,\n fail\n };\n };\n const filter = (xs, pred) => {\n const r = [];\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n if (pred(x, i)) {\n r.push(x);\n }\n }\n return r;\n };\n const foldr = (xs, f, acc) => {\n eachr(xs, (x, i) => {\n acc = f(acc, x, i);\n });\n return acc;\n };\n const foldl = (xs, f, acc) => {\n each(xs, (x, i) => {\n acc = f(acc, x, i);\n });\n return acc;\n };\n const findUntil = (xs, pred, until) => {\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n if (pred(x, i)) {\n return Optional.some(x);\n } else if (until(x, i)) {\n break;\n }\n }\n return Optional.none();\n };\n const find = (xs, pred) => {\n return findUntil(xs, pred, never);\n };\n const flatten$1 = 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 bind = (xs, f) => flatten$1(map(xs, f));\n const forall = (xs, pred) => {\n for (let i = 0, len = xs.length; i < len; ++i) {\n const x = xs[i];\n if (pred(x, i) !== true) {\n return false;\n }\n }\n return true;\n };\n const mapToObject = (xs, f) => {\n const r = {};\n for (let i = 0, len = xs.length; i < len; i++) {\n const x = xs[i];\n r[String(x)] = f(x, i);\n }\n return r;\n };\n const get$3 = (xs, i) => i >= 0 && i < xs.length ? Optional.some(xs[i]) : Optional.none();\n const head = xs => get$3(xs, 0);\n const last = xs => get$3(xs, xs.length - 1);\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 const COMMENT = 8;\n const DOCUMENT = 9;\n const DOCUMENT_FRAGMENT = 11;\n const ELEMENT = 1;\n const TEXT = 3;\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$1(div.childNodes[0]);\n };\n const fromTag = (tag, scope) => {\n const doc = scope || document;\n const node = doc.createElement(tag);\n return fromDom$1(node);\n };\n const fromText = (text, scope) => {\n const doc = scope || document;\n const node = doc.createTextNode(text);\n return fromDom$1(node);\n };\n const fromDom$1 = 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$1);\n const SugarElement = {\n fromHtml,\n fromTag,\n fromText,\n fromDom: fromDom$1,\n fromPoint\n };\n\n const is$2 = (element, selector) => {\n const dom = element.dom;\n if (dom.nodeType !== ELEMENT) {\n return false;\n } else {\n const elem = dom;\n if (elem.matches !== undefined) {\n return elem.matches(selector);\n } else if (elem.msMatchesSelector !== undefined) {\n return elem.msMatchesSelector(selector);\n } else if (elem.webkitMatchesSelector !== undefined) {\n return elem.webkitMatchesSelector(selector);\n } else if (elem.mozMatchesSelector !== undefined) {\n return elem.mozMatchesSelector(selector);\n } else {\n throw new Error('Browser lacks native selectors');\n }\n }\n };\n const bypassSelector = dom => dom.nodeType !== ELEMENT && dom.nodeType !== DOCUMENT && dom.nodeType !== DOCUMENT_FRAGMENT || dom.childElementCount === 0;\n const all$1 = (selector, scope) => {\n const base = scope === undefined ? document : scope.dom;\n return bypassSelector(base) ? [] : map(base.querySelectorAll(selector), SugarElement.fromDom);\n };\n const one = (selector, scope) => {\n const base = scope === undefined ? document : scope.dom;\n return bypassSelector(base) ? Optional.none() : Optional.from(base.querySelector(selector)).map(SugarElement.fromDom);\n };\n\n const eq = (e1, e2) => e1.dom === e2.dom;\n const is$1 = is$2;\n\n typeof window !== 'undefined' ? window : Function('return this;')();\n\n const name = element => {\n const r = element.dom.nodeName;\n return r.toLowerCase();\n };\n const type = element => element.dom.nodeType;\n const isType = t => element => type(element) === t;\n const isComment = element => type(element) === COMMENT || name(element) === '#comment';\n const isElement = isType(ELEMENT);\n const isText = isType(TEXT);\n const isDocument = isType(DOCUMENT);\n const isDocumentFragment = isType(DOCUMENT_FRAGMENT);\n const isTag = tag => e => isElement(e) && name(e) === tag;\n\n const owner = element => SugarElement.fromDom(element.dom.ownerDocument);\n const documentOrOwner = dos => isDocument(dos) ? dos : owner(dos);\n const parent = element => Optional.from(element.dom.parentNode).map(SugarElement.fromDom);\n const parents = (element, isRoot) => {\n const stop = isFunction(isRoot) ? isRoot : never;\n let dom = element.dom;\n const ret = [];\n while (dom.parentNode !== null && dom.parentNode !== undefined) {\n const rawParent = dom.parentNode;\n const p = SugarElement.fromDom(rawParent);\n ret.push(p);\n if (stop(p) === true) {\n break;\n } else {\n dom = rawParent;\n }\n }\n return ret;\n };\n const prevSibling = element => Optional.from(element.dom.previousSibling).map(SugarElement.fromDom);\n const nextSibling = element => Optional.from(element.dom.nextSibling).map(SugarElement.fromDom);\n const children$3 = element => map(element.dom.childNodes, SugarElement.fromDom);\n const child$3 = (element, index) => {\n const cs = element.dom.childNodes;\n return Optional.from(cs[index]).map(SugarElement.fromDom);\n };\n const firstChild = element => child$3(element, 0);\n\n const isShadowRoot = dos => isDocumentFragment(dos) && isNonNullable(dos.dom.host);\n const supported = isFunction(Element.prototype.attachShadow) && isFunction(Node.prototype.getRootNode);\n const getRootNode = supported ? e => SugarElement.fromDom(e.dom.getRootNode()) : documentOrOwner;\n const getShadowRoot = e => {\n const r = getRootNode(e);\n return isShadowRoot(r) ? Optional.some(r) : Optional.none();\n };\n const getShadowHost = e => SugarElement.fromDom(e.dom.host);\n\n const inBody = element => {\n const dom = isText(element) ? element.dom.parentNode : element.dom;\n if (dom === undefined || dom === null || dom.ownerDocument === null) {\n return false;\n }\n const doc = dom.ownerDocument;\n return getShadowRoot(SugarElement.fromDom(dom)).fold(() => doc.body.contains(dom), compose1(inBody, getShadowHost));\n };\n\n var ClosestOrAncestor = (is, ancestor, scope, a, isRoot) => {\n if (is(scope, a)) {\n return Optional.some(scope);\n } else if (isFunction(isRoot) && isRoot(scope)) {\n return Optional.none();\n } else {\n return ancestor(scope, a, isRoot);\n }\n };\n\n const ancestor$1 = (scope, predicate, isRoot) => {\n let element = scope.dom;\n const stop = isFunction(isRoot) ? isRoot : never;\n while (element.parentNode) {\n element = element.parentNode;\n const el = SugarElement.fromDom(element);\n if (predicate(el)) {\n return Optional.some(el);\n } else if (stop(el)) {\n break;\n }\n }\n return Optional.none();\n };\n const closest$2 = (scope, predicate, isRoot) => {\n const is = (s, test) => test(s);\n return ClosestOrAncestor(is, ancestor$1, scope, predicate, isRoot);\n };\n const child$2 = (scope, predicate) => {\n const pred = node => predicate(SugarElement.fromDom(node));\n const result = find(scope.dom.childNodes, pred);\n return result.map(SugarElement.fromDom);\n };\n\n const ancestor = (scope, selector, isRoot) => ancestor$1(scope, e => is$2(e, selector), isRoot);\n const child$1 = (scope, selector) => child$2(scope, e => is$2(e, selector));\n const descendant = (scope, selector) => one(selector, scope);\n const closest$1 = (scope, selector, isRoot) => {\n const is = (element, selector) => is$2(element, selector);\n return ClosestOrAncestor(is, ancestor, scope, selector, isRoot);\n };\n\n const closest = target => closest$1(target, '[contenteditable]');\n const isEditable = (element, assumeEditable = false) => {\n if (inBody(element)) {\n return element.dom.isContentEditable;\n } else {\n return closest(element).fold(constant(assumeEditable), editable => getRaw$1(editable) === 'true');\n }\n };\n const getRaw$1 = element => element.dom.contentEditable;\n\n const getNodeName = elm => elm.nodeName.toLowerCase();\n const getBody = editor => SugarElement.fromDom(editor.getBody());\n const getIsRoot = editor => element => eq(element, getBody(editor));\n const removePxSuffix = size => size ? size.replace(/px$/, '') : '';\n const addPxSuffix = size => /^\\d+(\\.\\d+)?$/.test(size) ? size + 'px' : size;\n const getSelectionStart = editor => SugarElement.fromDom(editor.selection.getStart());\n const getSelectionEnd = editor => SugarElement.fromDom(editor.selection.getEnd());\n const isInEditableContext = cell => closest$2(cell, isTag('table')).forall(isEditable);\n\n const children$2 = (scope, predicate) => filter(children$3(scope), predicate);\n const descendants$1 = (scope, predicate) => {\n let result = [];\n each(children$3(scope), x => {\n if (predicate(x)) {\n result = result.concat([x]);\n }\n result = result.concat(descendants$1(x, predicate));\n });\n return result;\n };\n\n const children$1 = (scope, selector) => children$2(scope, e => is$2(e, selector));\n const descendants = (scope, selector) => all$1(selector, scope);\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$2 = (element, key, value) => {\n rawSet(element.dom, key, value);\n };\n const setAll = (element, attrs) => {\n const dom = element.dom;\n each$1(attrs, (v, k) => {\n rawSet(dom, k, v);\n });\n };\n const get$2 = (element, key) => {\n const v = element.dom.getAttribute(key);\n return v === null ? undefined : v;\n };\n const getOpt = (element, key) => Optional.from(get$2(element, key));\n const remove$2 = (element, key) => {\n element.dom.removeAttribute(key);\n };\n const clone = element => foldl(element.dom.attributes, (acc, attr) => {\n acc[attr.name] = attr.value;\n return acc;\n }, {});\n\n const is = (lhs, rhs, comparator = tripleEquals) => lhs.exists(left => comparator(left, rhs));\n const cat = arr => {\n const r = [];\n const push = x => {\n r.push(x);\n };\n for (let i = 0; i < arr.length; i++) {\n arr[i].each(push);\n }\n return r;\n };\n const lift2 = (oa, ob, f) => oa.isSome() && ob.isSome() ? Optional.some(f(oa.getOrDie(), ob.getOrDie())) : Optional.none();\n const flatten = oot => oot.bind(identity);\n const someIf = (b, a) => b ? Optional.some(a) : Optional.none();\n\n const removeFromStart = (str, numChars) => {\n return str.substring(numChars);\n };\n\n const checkRange = (str, substr, start) => substr === '' || str.length >= substr.length && str.substr(start, start + substr.length) === substr;\n const removeLeading = (str, prefix) => {\n return startsWith(str, prefix) ? removeFromStart(str, prefix.length) : str;\n };\n const startsWith = (str, prefix) => {\n return checkRange(str, prefix, 0);\n };\n const blank = r => s => s.replace(r, '');\n const trim = blank(/^\\s+|\\s+$/g);\n const isNotEmpty = s => s.length > 0;\n const isEmpty = s => !isNotEmpty(s);\n const toInt = (value, radix = 10) => {\n const num = parseInt(value, radix);\n return isNaN(num) ? Optional.none() : Optional.some(num);\n };\n const toFloat = value => {\n const num = parseFloat(value);\n return isNaN(num) ? Optional.none() : Optional.some(num);\n };\n\n const isSupported = dom => dom.style !== undefined && isFunction(dom.style.getPropertyValue);\n\n const internalSet = (dom, property, value) => {\n if (!isString(value)) {\n console.error('Invalid call to CSS.set. Property ', property, ':: Value ', value, ':: Element ', dom);\n throw new Error('CSS value must be a string: ' + value);\n }\n if (isSupported(dom)) {\n dom.style.setProperty(property, value);\n }\n };\n const internalRemove = (dom, property) => {\n if (isSupported(dom)) {\n dom.style.removeProperty(property);\n }\n };\n const set$1 = (element, property, value) => {\n const dom = element.dom;\n internalSet(dom, property, value);\n };\n const get$1 = (element, property) => {\n const dom = element.dom;\n const styles = window.getComputedStyle(dom);\n const r = styles.getPropertyValue(property);\n return r === '' && !inBody(element) ? getUnsafeProperty(dom, property) : r;\n };\n const getUnsafeProperty = (dom, property) => isSupported(dom) ? dom.style.getPropertyValue(property) : '';\n const getRaw = (element, property) => {\n const dom = element.dom;\n const raw = getUnsafeProperty(dom, property);\n return Optional.from(raw).filter(r => r.length > 0);\n };\n const remove$1 = (element, property) => {\n const dom = element.dom;\n internalRemove(dom, property);\n if (is(getOpt(element, 'style').map(trim), '')) {\n remove$2(element, 'style');\n }\n };\n\n const getAttrValue = (cell, name, fallback = 0) => getOpt(cell, name).map(value => parseInt(value, 10)).getOr(fallback);\n\n const firstLayer = (scope, selector) => {\n return filterFirstLayer(scope, selector, always);\n };\n const filterFirstLayer = (scope, selector, predicate) => {\n return bind(children$3(scope), x => {\n if (is$2(x, selector)) {\n return predicate(x) ? [x] : [];\n } else {\n return filterFirstLayer(x, selector, predicate);\n }\n });\n };\n\n const validSectionList = [\n 'tfoot',\n 'thead',\n 'tbody',\n 'colgroup'\n ];\n const isValidSection = parentName => contains(validSectionList, parentName);\n const grid = (rows, columns) => ({\n rows,\n columns\n });\n const detail = (element, rowspan, colspan) => ({\n element,\n rowspan,\n colspan\n });\n const extended = (element, rowspan, colspan, row, column, isLocked) => ({\n element,\n rowspan,\n colspan,\n row,\n column,\n isLocked\n });\n const rowdetail = (element, cells, section) => ({\n element,\n cells,\n section\n });\n const bounds = (startRow, startCol, finishRow, finishCol) => ({\n startRow,\n startCol,\n finishRow,\n finishCol\n });\n const columnext = (element, colspan, column) => ({\n element,\n colspan,\n column\n });\n const colgroup = (element, columns) => ({\n element,\n columns\n });\n\n const lookup = (tags, element, isRoot = never) => {\n if (isRoot(element)) {\n return Optional.none();\n }\n if (contains(tags, name(element))) {\n return Optional.some(element);\n }\n const isRootOrUpperTable = elm => is$2(elm, 'table') || isRoot(elm);\n return ancestor(element, tags.join(','), isRootOrUpperTable);\n };\n const cell = (element, isRoot) => lookup([\n 'td',\n 'th'\n ], element, isRoot);\n const cells = ancestor => firstLayer(ancestor, 'th,td');\n const columns = ancestor => {\n if (is$2(ancestor, 'colgroup')) {\n return children$1(ancestor, 'col');\n } else {\n return bind(columnGroups(ancestor), columnGroup => children$1(columnGroup, 'col'));\n }\n };\n const table = (element, isRoot) => closest$1(element, 'table', isRoot);\n const rows = ancestor => firstLayer(ancestor, 'tr');\n const columnGroups = ancestor => table(ancestor).fold(constant([]), table => children$1(table, 'colgroup'));\n\n const fromRowsOrColGroups = (elems, getSection) => map(elems, row => {\n if (name(row) === 'colgroup') {\n const cells = map(columns(row), column => {\n const colspan = getAttrValue(column, 'span', 1);\n return detail(column, 1, colspan);\n });\n return rowdetail(row, cells, 'colgroup');\n } else {\n const cells$1 = map(cells(row), cell => {\n const rowspan = getAttrValue(cell, 'rowspan', 1);\n const colspan = getAttrValue(cell, 'colspan', 1);\n return detail(cell, rowspan, colspan);\n });\n return rowdetail(row, cells$1, getSection(row));\n }\n });\n const getParentSection = group => parent(group).map(parent => {\n const parentName = name(parent);\n return isValidSection(parentName) ? parentName : 'tbody';\n }).getOr('tbody');\n const fromTable$1 = table => {\n const rows$1 = rows(table);\n const columnGroups$1 = columnGroups(table);\n const elems = [\n ...columnGroups$1,\n ...rows$1\n ];\n return fromRowsOrColGroups(elems, getParentSection);\n };\n\n const LOCKED_COL_ATTR = 'data-snooker-locked-cols';\n const getLockedColumnsFromTable = table => getOpt(table, LOCKED_COL_ATTR).bind(lockedColStr => Optional.from(lockedColStr.match(/\\d+/g))).map(lockedCols => mapToObject(lockedCols, always));\n\n const key = (row, column) => {\n return row + ',' + column;\n };\n const getAt = (warehouse, row, column) => Optional.from(warehouse.access[key(row, column)]);\n const findItem = (warehouse, item, comparator) => {\n const filtered = filterItems(warehouse, detail => {\n return comparator(item, detail.element);\n });\n return filtered.length > 0 ? Optional.some(filtered[0]) : Optional.none();\n };\n const filterItems = (warehouse, predicate) => {\n const all = bind(warehouse.all, r => {\n return r.cells;\n });\n return filter(all, predicate);\n };\n const generateColumns = rowData => {\n const columnsGroup = {};\n let index = 0;\n each(rowData.cells, column => {\n const colspan = column.colspan;\n range(colspan, columnIndex => {\n const colIndex = index + columnIndex;\n columnsGroup[colIndex] = columnext(column.element, colspan, colIndex);\n });\n index += colspan;\n });\n return columnsGroup;\n };\n const generate$1 = list => {\n const access = {};\n const cells = [];\n const tableOpt = head(list).map(rowData => rowData.element).bind(table);\n const lockedColumns = tableOpt.bind(getLockedColumnsFromTable).getOr({});\n let maxRows = 0;\n let maxColumns = 0;\n let rowCount = 0;\n const {\n pass: colgroupRows,\n fail: rows\n } = partition(list, rowData => rowData.section === 'colgroup');\n each(rows, rowData => {\n const currentRow = [];\n each(rowData.cells, rowCell => {\n let start = 0;\n while (access[key(rowCount, start)] !== undefined) {\n start++;\n }\n const isLocked = hasNonNullableKey(lockedColumns, start.toString());\n const current = extended(rowCell.element, rowCell.rowspan, rowCell.colspan, rowCount, start, isLocked);\n for (let occupiedColumnPosition = 0; occupiedColumnPosition < rowCell.colspan; occupiedColumnPosition++) {\n for (let occupiedRowPosition = 0; occupiedRowPosition < rowCell.rowspan; occupiedRowPosition++) {\n const rowPosition = rowCount + occupiedRowPosition;\n const columnPosition = start + occupiedColumnPosition;\n const newpos = key(rowPosition, columnPosition);\n access[newpos] = current;\n maxColumns = Math.max(maxColumns, columnPosition + 1);\n }\n }\n currentRow.push(current);\n });\n maxRows++;\n cells.push(rowdetail(rowData.element, currentRow, rowData.section));\n rowCount++;\n });\n const {columns, colgroups} = last(colgroupRows).map(rowData => {\n const columns = generateColumns(rowData);\n const colgroup$1 = colgroup(rowData.element, values(columns));\n return {\n colgroups: [colgroup$1],\n columns\n };\n }).getOrThunk(() => ({\n colgroups: [],\n columns: {}\n }));\n const grid$1 = grid(maxRows, maxColumns);\n return {\n grid: grid$1,\n access,\n all: cells,\n columns,\n colgroups\n };\n };\n const fromTable = table => {\n const list = fromTable$1(table);\n return generate$1(list);\n };\n const justCells = warehouse => bind(warehouse.all, w => w.cells);\n const justColumns = warehouse => values(warehouse.columns);\n const hasColumns = warehouse => keys(warehouse.columns).length > 0;\n const getColumnAt = (warehouse, columnIndex) => Optional.from(warehouse.columns[columnIndex]);\n const Warehouse = {\n fromTable,\n generate: generate$1,\n getAt,\n findItem,\n filterItems,\n justCells,\n justColumns,\n hasColumns,\n getColumnAt\n };\n\n var global$2 = tinymce.util.Tools.resolve('tinymce.util.Tools');\n\n const getTDTHOverallStyle = (dom, elm, name) => {\n const cells = dom.select('td,th', elm);\n let firstChildStyle;\n for (let i = 0; i < cells.length; i++) {\n const currentStyle = dom.getStyle(cells[i], name);\n if (isUndefined(firstChildStyle)) {\n firstChildStyle = currentStyle;\n }\n if (firstChildStyle !== currentStyle) {\n return '';\n }\n }\n return firstChildStyle;\n };\n const setAlign = (editor, elm, name) => {\n global$2.each('left center right'.split(' '), align => {\n if (align !== name) {\n editor.formatter.remove('align' + align, {}, elm);\n }\n });\n if (name) {\n editor.formatter.apply('align' + name, {}, elm);\n }\n };\n const setVAlign = (editor, elm, name) => {\n global$2.each('top middle bottom'.split(' '), align => {\n if (align !== name) {\n editor.formatter.remove('valign' + align, {}, elm);\n }\n });\n if (name) {\n editor.formatter.apply('valign' + name, {}, elm);\n }\n };\n\n const fireTableModified = (editor, table, data) => {\n editor.dispatch('TableModified', {\n ...data,\n table\n });\n };\n\n const toNumber = (px, fallback) => toFloat(px).getOr(fallback);\n const getProp = (element, name, fallback) => toNumber(get$1(element, name), fallback);\n const calcContentBoxSize = (element, size, upper, lower) => {\n const paddingUpper = getProp(element, `padding-${ upper }`, 0);\n const paddingLower = getProp(element, `padding-${ lower }`, 0);\n const borderUpper = getProp(element, `border-${ upper }-width`, 0);\n const borderLower = getProp(element, `border-${ lower }-width`, 0);\n return size - paddingUpper - paddingLower - borderUpper - borderLower;\n };\n const getCalculatedWidth = (element, boxSizing) => {\n const dom = element.dom;\n const width = dom.getBoundingClientRect().width || dom.offsetWidth;\n return boxSizing === 'border-box' ? width : calcContentBoxSize(element, width, 'left', 'right');\n };\n const getInnerWidth = element => getCalculatedWidth(element, 'content-box');\n\n const getInner = getInnerWidth;\n\n var global$1 = tinymce.util.Tools.resolve('tinymce.Env');\n\n const defaultTableToolbar = 'tableprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol';\n const defaultCellBorderWidths = range(5, i => {\n const size = `${ i + 1 }px`;\n return {\n title: size,\n value: size\n };\n });\n const defaultCellBorderStyles = map([\n 'Solid',\n 'Dotted',\n 'Dashed',\n 'Double',\n 'Groove',\n 'Ridge',\n 'Inset',\n 'Outset',\n 'None',\n 'Hidden'\n ], type => {\n return {\n title: type,\n value: type.toLowerCase()\n };\n });\n const defaultWidth = '100%';\n const getPixelForcedWidth = editor => {\n var _a;\n const dom = editor.dom;\n const parentBlock = (_a = dom.getParent(editor.selection.getStart(), dom.isBlock)) !== null && _a !== void 0 ? _a : editor.getBody();\n return getInner(SugarElement.fromDom(parentBlock)) + 'px';\n };\n const determineDefaultStyles = (editor, defaultStyles) => {\n if (isResponsiveForced(editor) || !shouldStyleWithCss(editor)) {\n return defaultStyles;\n } else if (isPixelsForced(editor)) {\n return {\n ...defaultStyles,\n width: getPixelForcedWidth(editor)\n };\n } else {\n return {\n ...defaultStyles,\n width: defaultWidth\n };\n }\n };\n const determineDefaultAttributes = (editor, defaultAttributes) => {\n if (isResponsiveForced(editor) || shouldStyleWithCss(editor)) {\n return defaultAttributes;\n } else if (isPixelsForced(editor)) {\n return {\n ...defaultAttributes,\n width: getPixelForcedWidth(editor)\n };\n } else {\n return {\n ...defaultAttributes,\n width: defaultWidth\n };\n }\n };\n const option = name => editor => editor.options.get(name);\n const register = editor => {\n const registerOption = editor.options.register;\n registerOption('table_border_widths', {\n processor: 'object[]',\n default: defaultCellBorderWidths\n });\n registerOption('table_border_styles', {\n processor: 'object[]',\n default: defaultCellBorderStyles\n });\n registerOption('table_cell_advtab', {\n processor: 'boolean',\n default: true\n });\n registerOption('table_row_advtab', {\n processor: 'boolean',\n default: true\n });\n registerOption('table_advtab', {\n processor: 'boolean',\n default: true\n });\n registerOption('table_appearance_options', {\n processor: 'boolean',\n default: true\n });\n registerOption('table_grid', {\n processor: 'boolean',\n default: !global$1.deviceType.isTouch()\n });\n registerOption('table_cell_class_list', {\n processor: 'object[]',\n default: []\n });\n registerOption('table_row_class_list', {\n processor: 'object[]',\n default: []\n });\n registerOption('table_class_list', {\n processor: 'object[]',\n default: []\n });\n registerOption('table_toolbar', {\n processor: 'string',\n default: defaultTableToolbar\n });\n registerOption('table_background_color_map', {\n processor: 'object[]',\n default: []\n });\n registerOption('table_border_color_map', {\n processor: 'object[]',\n default: []\n });\n };\n const getTableSizingMode = option('table_sizing_mode');\n const getTableBorderWidths = option('table_border_widths');\n const getTableBorderStyles = option('table_border_styles');\n const hasAdvancedCellTab = option('table_cell_advtab');\n const hasAdvancedRowTab = option('table_row_advtab');\n const hasAdvancedTableTab = option('table_advtab');\n const hasAppearanceOptions = option('table_appearance_options');\n const hasTableGrid = option('table_grid');\n const shouldStyleWithCss = option('table_style_by_css');\n const getCellClassList = option('table_cell_class_list');\n const getRowClassList = option('table_row_class_list');\n const getTableClassList = option('table_class_list');\n const getToolbar = option('table_toolbar');\n const getTableBackgroundColorMap = option('table_background_color_map');\n const getTableBorderColorMap = option('table_border_color_map');\n const isPixelsForced = editor => getTableSizingMode(editor) === 'fixed';\n const isResponsiveForced = editor => getTableSizingMode(editor) === 'responsive';\n const getDefaultStyles = editor => {\n const options = editor.options;\n const defaultStyles = options.get('table_default_styles');\n return options.isSet('table_default_styles') ? defaultStyles : determineDefaultStyles(editor, defaultStyles);\n };\n const getDefaultAttributes = editor => {\n const options = editor.options;\n const defaultAttributes = options.get('table_default_attributes');\n return options.isSet('table_default_attributes') ? defaultAttributes : determineDefaultAttributes(editor, defaultAttributes);\n };\n\n const isWithin = (bounds, detail) => {\n return detail.column >= bounds.startCol && detail.column + detail.colspan - 1 <= bounds.finishCol && detail.row >= bounds.startRow && detail.row + detail.rowspan - 1 <= bounds.finishRow;\n };\n const isRectangular = (warehouse, bounds) => {\n let isRect = true;\n const detailIsWithin = curry(isWithin, bounds);\n for (let i = bounds.startRow; i <= bounds.finishRow; i++) {\n for (let j = bounds.startCol; j <= bounds.finishCol; j++) {\n isRect = isRect && Warehouse.getAt(warehouse, i, j).exists(detailIsWithin);\n }\n }\n return isRect ? Optional.some(bounds) : Optional.none();\n };\n\n const getBounds = (detailA, detailB) => {\n return bounds(Math.min(detailA.row, detailB.row), Math.min(detailA.column, detailB.column), Math.max(detailA.row + detailA.rowspan - 1, detailB.row + detailB.rowspan - 1), Math.max(detailA.column + detailA.colspan - 1, detailB.column + detailB.colspan - 1));\n };\n const getAnyBox = (warehouse, startCell, finishCell) => {\n const startCoords = Warehouse.findItem(warehouse, startCell, eq);\n const finishCoords = Warehouse.findItem(warehouse, finishCell, eq);\n return startCoords.bind(sc => {\n return finishCoords.map(fc => {\n return getBounds(sc, fc);\n });\n });\n };\n const getBox$1 = (warehouse, startCell, finishCell) => {\n return getAnyBox(warehouse, startCell, finishCell).bind(bounds => {\n return isRectangular(warehouse, bounds);\n });\n };\n\n const getBox = (table, first, last) => {\n const warehouse = getWarehouse(table);\n return getBox$1(warehouse, first, last);\n };\n const getWarehouse = Warehouse.fromTable;\n\n const before = (marker, element) => {\n const parent$1 = parent(marker);\n parent$1.each(v => {\n v.dom.insertBefore(element.dom, marker.dom);\n });\n };\n const after$1 = (marker, element) => {\n const sibling = nextSibling(marker);\n sibling.fold(() => {\n const parent$1 = parent(marker);\n parent$1.each(v => {\n append$1(v, element);\n });\n }, v => {\n before(v, element);\n });\n };\n const prepend = (parent, element) => {\n const firstChild$1 = firstChild(parent);\n firstChild$1.fold(() => {\n append$1(parent, element);\n }, v => {\n parent.dom.insertBefore(element.dom, v.dom);\n });\n };\n const append$1 = (parent, element) => {\n parent.dom.appendChild(element.dom);\n };\n const wrap = (element, wrapper) => {\n before(element, wrapper);\n append$1(wrapper, element);\n };\n\n const after = (marker, elements) => {\n each(elements, (x, i) => {\n const e = i === 0 ? marker : elements[i - 1];\n after$1(e, x);\n });\n };\n const append = (parent, elements) => {\n each(elements, x => {\n append$1(parent, x);\n });\n };\n\n const remove = element => {\n const dom = element.dom;\n if (dom.parentNode !== null) {\n dom.parentNode.removeChild(dom);\n }\n };\n const unwrap = wrapper => {\n const children = children$3(wrapper);\n if (children.length > 0) {\n after(wrapper, children);\n }\n remove(wrapper);\n };\n\n const NodeValue = (is, name) => {\n const get = element => {\n if (!is(element)) {\n throw new Error('Can only get ' + name + ' value of a ' + name + ' node');\n }\n return getOption(element).getOr('');\n };\n const getOption = element => is(element) ? Optional.from(element.dom.nodeValue) : Optional.none();\n const set = (element, value) => {\n if (!is(element)) {\n throw new Error('Can only set raw ' + name + ' value of a ' + name + ' node');\n }\n element.dom.nodeValue = value;\n };\n return {\n get,\n getOption,\n set\n };\n };\n\n const api = NodeValue(isText, 'text');\n const get = element => api.get(element);\n const set = (element, value) => api.set(element, value);\n\n var TagBoundaries = [\n 'body',\n 'p',\n 'div',\n 'article',\n 'aside',\n 'figcaption',\n 'figure',\n 'footer',\n 'header',\n 'nav',\n 'section',\n 'ol',\n 'ul',\n 'li',\n 'table',\n 'thead',\n 'tbody',\n 'tfoot',\n 'caption',\n 'tr',\n 'td',\n 'th',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'blockquote',\n 'pre',\n 'address'\n ];\n\n var DomUniverse = () => {\n const clone$1 = element => {\n return SugarElement.fromDom(element.dom.cloneNode(false));\n };\n const document = element => documentOrOwner(element).dom;\n const isBoundary = element => {\n if (!isElement(element)) {\n return false;\n }\n if (name(element) === 'body') {\n return true;\n }\n return contains(TagBoundaries, name(element));\n };\n const isEmptyTag = element => {\n if (!isElement(element)) {\n return false;\n }\n return contains([\n 'br',\n 'img',\n 'hr',\n 'input'\n ], name(element));\n };\n const isNonEditable = element => isElement(element) && get$2(element, 'contenteditable') === 'false';\n const comparePosition = (element, other) => {\n return element.dom.compareDocumentPosition(other.dom);\n };\n const copyAttributesTo = (source, destination) => {\n const as = clone(source);\n setAll(destination, as);\n };\n const isSpecial = element => {\n const tag = name(element);\n return contains([\n 'script',\n 'noscript',\n 'iframe',\n 'noframes',\n 'noembed',\n 'title',\n 'style',\n 'textarea',\n 'xmp'\n ], tag);\n };\n const getLanguage = element => isElement(element) ? getOpt(element, 'lang') : Optional.none();\n return {\n up: constant({\n selector: ancestor,\n closest: closest$1,\n predicate: ancestor$1,\n all: parents\n }),\n down: constant({\n selector: descendants,\n predicate: descendants$1\n }),\n styles: constant({\n get: get$1,\n getRaw: getRaw,\n set: set$1,\n remove: remove$1\n }),\n attrs: constant({\n get: get$2,\n set: set$2,\n remove: remove$2,\n copyTo: copyAttributesTo\n }),\n insert: constant({\n before: before,\n after: after$1,\n afterAll: after,\n append: append$1,\n appendAll: append,\n prepend: prepend,\n wrap: wrap\n }),\n remove: constant({\n unwrap: unwrap,\n remove: remove\n }),\n create: constant({\n nu: SugarElement.fromTag,\n clone: clone$1,\n text: SugarElement.fromText\n }),\n query: constant({\n comparePosition,\n prevSibling: prevSibling,\n nextSibling: nextSibling\n }),\n property: constant({\n children: children$3,\n name: name,\n parent: parent,\n document,\n isText: isText,\n isComment: isComment,\n isElement: isElement,\n isSpecial,\n getLanguage,\n getText: get,\n setText: set,\n isBoundary,\n isEmptyTag,\n isNonEditable\n }),\n eq: eq,\n is: is$1\n };\n };\n\n const all = (universe, look, elements, f) => {\n const head = elements[0];\n const tail = elements.slice(1);\n return f(universe, look, head, tail);\n };\n const oneAll = (universe, look, elements) => {\n return elements.length > 0 ? all(universe, look, elements, unsafeOne) : Optional.none();\n };\n const unsafeOne = (universe, look, head, tail) => {\n const start = look(universe, head);\n return foldr(tail, (b, a) => {\n const current = look(universe, a);\n return commonElement(universe, b, current);\n }, start);\n };\n const commonElement = (universe, start, end) => {\n return start.bind(s => {\n return end.filter(curry(universe.eq, s));\n });\n };\n\n const sharedOne$1 = oneAll;\n\n const universe = DomUniverse();\n const sharedOne = (look, elements) => {\n return sharedOne$1(universe, (_universe, element) => {\n return look(element);\n }, elements);\n };\n\n const lookupTable = container => {\n return ancestor(container, 'table');\n };\n const retrieve$1 = (container, selector) => {\n const sels = descendants(container, selector);\n return sels.length > 0 ? Optional.some(sels) : Optional.none();\n };\n const getEdges = (container, firstSelectedSelector, lastSelectedSelector) => {\n return descendant(container, firstSelectedSelector).bind(first => {\n return descendant(container, lastSelectedSelector).bind(last => {\n return sharedOne(lookupTable, [\n first,\n last\n ]).map(table => {\n return {\n first,\n last,\n table\n };\n });\n });\n });\n };\n\n const retrieve = (container, selector) => {\n return retrieve$1(container, selector);\n };\n const retrieveBox = (container, firstSelectedSelector, lastSelectedSelector) => {\n return getEdges(container, firstSelectedSelector, lastSelectedSelector).bind(edges => {\n const isRoot = ancestor => {\n return eq(container, ancestor);\n };\n const sectionSelector = 'thead,tfoot,tbody,table';\n const firstAncestor = ancestor(edges.first, sectionSelector, isRoot);\n const lastAncestor = ancestor(edges.last, sectionSelector, isRoot);\n return firstAncestor.bind(fA => {\n return lastAncestor.bind(lA => {\n return eq(fA, lA) ? getBox(edges.table, edges.first, edges.last) : Optional.none();\n });\n });\n });\n };\n\n const fromDom = nodes => map(nodes, SugarElement.fromDom);\n\n const strSelected = 'data-mce-selected';\n const strSelectedSelector = 'td[' + strSelected + '],th[' + strSelected + ']';\n const strFirstSelected = 'data-mce-first-selected';\n const strFirstSelectedSelector = 'td[' + strFirstSelected + '],th[' + strFirstSelected + ']';\n const strLastSelected = 'data-mce-last-selected';\n const strLastSelectedSelector = 'td[' + strLastSelected + '],th[' + strLastSelected + ']';\n const ephemera = {\n selected: strSelected,\n selectedSelector: strSelectedSelector,\n firstSelected: strFirstSelected,\n firstSelectedSelector: strFirstSelectedSelector,\n lastSelected: strLastSelected,\n lastSelectedSelector: strLastSelectedSelector\n };\n\n const getSelectionCellFallback = element => table(element).bind(table => retrieve(table, ephemera.firstSelectedSelector)).fold(constant(element), cells => cells[0]);\n const getSelectionFromSelector = selector => (initCell, isRoot) => {\n const cellName = name(initCell);\n const cell = cellName === 'col' || cellName === 'colgroup' ? getSelectionCellFallback(initCell) : initCell;\n return closest$1(cell, selector, isRoot);\n };\n const getSelectionCellOrCaption = getSelectionFromSelector('th,td,caption');\n const getSelectionCell = getSelectionFromSelector('th,td');\n const getCellsFromSelection = editor => fromDom(editor.model.table.getSelectedCells());\n const getRowsFromSelection = (selected, selector) => {\n const cellOpt = getSelectionCell(selected);\n const rowsOpt = cellOpt.bind(cell => table(cell)).map(table => rows(table));\n return lift2(cellOpt, rowsOpt, (cell, rows) => filter(rows, row => exists(fromDom(row.dom.cells), rowCell => get$2(rowCell, selector) === '1' || eq(rowCell, cell)))).getOr([]);\n };\n\n const verticalAlignValues = [\n {\n text: 'None',\n value: ''\n },\n {\n text: 'Top',\n value: 'top'\n },\n {\n text: 'Middle',\n value: 'middle'\n },\n {\n text: 'Bottom',\n value: 'bottom'\n }\n ];\n\n const hexColour = value => ({ value: normalizeHex(value) });\n const shorthandRegex = /^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i;\n const longformRegex = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i;\n const isHexString = hex => shorthandRegex.test(hex) || longformRegex.test(hex);\n const normalizeHex = hex => removeLeading(hex, '#').toUpperCase();\n const fromString$1 = hex => isHexString(hex) ? Optional.some({ value: normalizeHex(hex) }) : Optional.none();\n const toHex = component => {\n const hex = component.toString(16);\n return (hex.length === 1 ? '0' + hex : hex).toUpperCase();\n };\n const fromRgba = rgbaColour => {\n const value = toHex(rgbaColour.red) + toHex(rgbaColour.green) + toHex(rgbaColour.blue);\n return hexColour(value);\n };\n\n const rgbRegex = /^\\s*rgb\\s*\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*\\)\\s*$/i;\n const rgbaRegex = /^\\s*rgba\\s*\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d?(?:\\.\\d+)?)\\s*\\)\\s*$/i;\n const rgbaColour = (red, green, blue, alpha) => ({\n red,\n green,\n blue,\n alpha\n });\n const fromStringValues = (red, green, blue, alpha) => {\n const r = parseInt(red, 10);\n const g = parseInt(green, 10);\n const b = parseInt(blue, 10);\n const a = parseFloat(alpha);\n return rgbaColour(r, g, b, a);\n };\n const fromString = rgbaString => {\n if (rgbaString === 'transparent') {\n return Optional.some(rgbaColour(0, 0, 0, 0));\n }\n const rgbMatch = rgbRegex.exec(rgbaString);\n if (rgbMatch !== null) {\n return Optional.some(fromStringValues(rgbMatch[1], rgbMatch[2], rgbMatch[3], '1'));\n }\n const rgbaMatch = rgbaRegex.exec(rgbaString);\n if (rgbaMatch !== null) {\n return Optional.some(fromStringValues(rgbaMatch[1], rgbaMatch[2], rgbaMatch[3], rgbaMatch[4]));\n }\n return Optional.none();\n };\n\n const anyToHex = color => fromString$1(color).orThunk(() => fromString(color).map(fromRgba)).getOrThunk(() => {\n const canvas = document.createElement('canvas');\n canvas.height = 1;\n canvas.width = 1;\n const canvasContext = canvas.getContext('2d');\n canvasContext.clearRect(0, 0, canvas.width, canvas.height);\n canvasContext.fillStyle = '#FFFFFF';\n canvasContext.fillStyle = color;\n canvasContext.fillRect(0, 0, 1, 1);\n const rgba = canvasContext.getImageData(0, 0, 1, 1).data;\n const r = rgba[0];\n const g = rgba[1];\n const b = rgba[2];\n const a = rgba[3];\n return fromRgba(rgbaColour(r, g, b, a));\n });\n const rgbaToHexString = color => fromString(color).map(fromRgba).map(h => '#' + h.value).getOr(color);\n\n const Cell = initial => {\n let value = initial;\n const get = () => {\n return value;\n };\n const set = v => {\n value = v;\n };\n return {\n get,\n set\n };\n };\n\n const singleton = doRevoke => {\n const subject = Cell(Optional.none());\n const revoke = () => subject.get().each(doRevoke);\n const clear = () => {\n revoke();\n subject.set(Optional.none());\n };\n const isSet = () => subject.get().isSome();\n const get = () => subject.get();\n const set = s => {\n revoke();\n subject.set(Optional.some(s));\n };\n return {\n clear,\n isSet,\n get,\n set\n };\n };\n const unbindable = () => singleton(s => s.unbind());\n\n const onSetupToggle = (editor, formatName, formatValue) => {\n return api => {\n const boundCallback = unbindable();\n const isNone = isEmpty(formatValue);\n const init = () => {\n const selectedCells = getCellsFromSelection(editor);\n const checkNode = cell => editor.formatter.match(formatName, { value: formatValue }, cell.dom, isNone);\n if (isNone) {\n api.setActive(!exists(selectedCells, checkNode));\n boundCallback.set(editor.formatter.formatChanged(formatName, match => api.setActive(!match), true));\n } else {\n api.setActive(forall(selectedCells, checkNode));\n boundCallback.set(editor.formatter.formatChanged(formatName, api.setActive, false, { value: formatValue }));\n }\n };\n editor.initialized ? init() : editor.on('init', init);\n return boundCallback.clear;\n };\n };\n const isListGroup = item => hasNonNullableKey(item, 'menu');\n const buildListItems = items => map(items, item => {\n const text = item.text || item.title || '';\n if (isListGroup(item)) {\n return {\n text,\n items: buildListItems(item.menu)\n };\n } else {\n return {\n text,\n value: item.value\n };\n }\n });\n const buildMenuItems = (editor, items, format, onAction) => map(items, item => {\n const text = item.text || item.title;\n if (isListGroup(item)) {\n return {\n type: 'nestedmenuitem',\n text,\n getSubmenuItems: () => buildMenuItems(editor, item.menu, format, onAction)\n };\n } else {\n return {\n text,\n type: 'togglemenuitem',\n onAction: () => onAction(item.value),\n onSetup: onSetupToggle(editor, format, item.value)\n };\n }\n });\n const applyTableCellStyle = (editor, style) => value => {\n editor.execCommand('mceTableApplyCellStyle', false, { [style]: value });\n };\n const filterNoneItem = list => bind(list, item => {\n if (isListGroup(item)) {\n return [{\n ...item,\n menu: filterNoneItem(item.menu)\n }];\n } else {\n return isNotEmpty(item.value) ? [item] : [];\n }\n });\n const generateMenuItemsCallback = (editor, items, format, onAction) => callback => callback(buildMenuItems(editor, items, format, onAction));\n const buildColorMenu = (editor, colorList, style) => {\n const colorMap = map(colorList, entry => ({\n text: entry.title,\n value: '#' + anyToHex(entry.value).value,\n type: 'choiceitem'\n }));\n return [{\n type: 'fancymenuitem',\n fancytype: 'colorswatch',\n initData: {\n colors: colorMap.length > 0 ? colorMap : undefined,\n allowCustomColors: false\n },\n onAction: data => {\n const value = data.value === 'remove' ? '' : data.value;\n editor.execCommand('mceTableApplyCellStyle', false, { [style]: value });\n }\n }];\n };\n const changeRowHeader = editor => () => {\n const currentType = editor.queryCommandValue('mceTableRowType');\n const newType = currentType === 'header' ? 'body' : 'header';\n editor.execCommand('mceTableRowType', false, { type: newType });\n };\n const changeColumnHeader = editor => () => {\n const currentType = editor.queryCommandValue('mceTableColType');\n const newType = currentType === 'th' ? 'td' : 'th';\n editor.execCommand('mceTableColType', false, { type: newType });\n };\n\n const getClassList$1 = editor => {\n const classes = buildListItems(getCellClassList(editor));\n if (classes.length > 0) {\n return Optional.some({\n name: 'class',\n type: 'listbox',\n label: 'Class',\n items: classes\n });\n }\n return Optional.none();\n };\n const children = [\n {\n name: 'width',\n type: 'input',\n label: 'Width'\n },\n {\n name: 'height',\n type: 'input',\n label: 'Height'\n },\n {\n name: 'celltype',\n type: 'listbox',\n label: 'Cell type',\n items: [\n {\n text: 'Cell',\n value: 'td'\n },\n {\n text: 'Header cell',\n value: 'th'\n }\n ]\n },\n {\n name: 'scope',\n type: 'listbox',\n label: 'Scope',\n items: [\n {\n text: 'None',\n value: ''\n },\n {\n text: 'Row',\n value: 'row'\n },\n {\n text: 'Column',\n value: 'col'\n },\n {\n text: 'Row group',\n value: 'rowgroup'\n },\n {\n text: 'Column group',\n value: 'colgroup'\n }\n ]\n },\n {\n name: 'halign',\n type: 'listbox',\n label: 'Horizontal align',\n items: [\n {\n text: 'None',\n value: ''\n },\n {\n text: 'Left',\n value: 'left'\n },\n {\n text: 'Center',\n value: 'center'\n },\n {\n text: 'Right',\n value: 'right'\n }\n ]\n },\n {\n name: 'valign',\n type: 'listbox',\n label: 'Vertical align',\n items: verticalAlignValues\n }\n ];\n const getItems$2 = editor => children.concat(getClassList$1(editor).toArray());\n\n const getAdvancedTab = (editor, dialogName) => {\n const emptyBorderStyle = [{\n text: 'Select...',\n value: ''\n }];\n const advTabItems = [\n {\n name: 'borderstyle',\n type: 'listbox',\n label: 'Border style',\n items: emptyBorderStyle.concat(buildListItems(getTableBorderStyles(editor)))\n },\n {\n name: 'bordercolor',\n type: 'colorinput',\n label: 'Border color'\n },\n {\n name: 'backgroundcolor',\n type: 'colorinput',\n label: 'Background color'\n }\n ];\n const borderWidth = {\n name: 'borderwidth',\n type: 'input',\n label: 'Border width'\n };\n const items = dialogName === 'cell' ? [borderWidth].concat(advTabItems) : advTabItems;\n return {\n title: 'Advanced',\n name: 'advanced',\n items\n };\n };\n\n const normal = (editor, element) => {\n const dom = editor.dom;\n const setAttrib = (attr, value) => {\n dom.setAttrib(element, attr, value);\n };\n const setStyle = (prop, value) => {\n dom.setStyle(element, prop, value);\n };\n const setFormat = (formatName, value) => {\n if (value === '') {\n editor.formatter.remove(formatName, { value: null }, element, true);\n } else {\n editor.formatter.apply(formatName, { value }, element);\n }\n };\n return {\n setAttrib,\n setStyle,\n setFormat\n };\n };\n const DomModifier = { normal };\n\n const isHeaderCell = isTag('th');\n const getRowHeaderType = (isHeaderRow, isHeaderCells) => {\n if (isHeaderRow && isHeaderCells) {\n return 'sectionCells';\n } else if (isHeaderRow) {\n return 'section';\n } else {\n return 'cells';\n }\n };\n const getRowType$1 = row => {\n const isHeaderRow = row.section === 'thead';\n const isHeaderCells = is(findCommonCellType(row.cells), 'th');\n if (row.section === 'tfoot') {\n return { type: 'footer' };\n } else if (isHeaderRow || isHeaderCells) {\n return {\n type: 'header',\n subType: getRowHeaderType(isHeaderRow, isHeaderCells)\n };\n } else {\n return { type: 'body' };\n }\n };\n const findCommonCellType = cells => {\n const headerCells = filter(cells, cell => isHeaderCell(cell.element));\n if (headerCells.length === 0) {\n return Optional.some('td');\n } else if (headerCells.length === cells.length) {\n return Optional.some('th');\n } else {\n return Optional.none();\n }\n };\n const findCommonRowType = rows => {\n const rowTypes = map(rows, row => getRowType$1(row).type);\n const hasHeader = contains(rowTypes, 'header');\n const hasFooter = contains(rowTypes, 'footer');\n if (!hasHeader && !hasFooter) {\n return Optional.some('body');\n } else {\n const hasBody = contains(rowTypes, 'body');\n if (hasHeader && !hasBody && !hasFooter) {\n return Optional.some('header');\n } else if (!hasHeader && !hasBody && hasFooter) {\n return Optional.some('footer');\n } else {\n return Optional.none();\n }\n }\n };\n\n const cached = f => {\n let called = false;\n let r;\n return (...args) => {\n if (!called) {\n called = true;\n r = f.apply(null, args);\n }\n return r;\n };\n };\n\n const findInWarehouse = (warehouse, element) => findMap(warehouse.all, r => find(r.cells, e => eq(element, e.element)));\n const extractCells = (warehouse, target, predicate) => {\n const details = map(target.selection, cell$1 => {\n return cell(cell$1).bind(lc => findInWarehouse(warehouse, lc)).filter(predicate);\n });\n const cells = cat(details);\n return someIf(cells.length > 0, cells);\n };\n const onMergable = (_warehouse, target) => target.mergable;\n const onUnmergable = (_warehouse, target) => target.unmergable;\n const onCells = (warehouse, target) => extractCells(warehouse, target, always);\n const isUnlockedTableCell = (warehouse, cell) => findInWarehouse(warehouse, cell).exists(detail => !detail.isLocked);\n const allUnlocked = (warehouse, cells) => forall(cells, cell => isUnlockedTableCell(warehouse, cell));\n const onUnlockedMergable = (warehouse, target) => onMergable(warehouse, target).filter(mergeable => allUnlocked(warehouse, mergeable.cells));\n const onUnlockedUnmergable = (warehouse, target) => onUnmergable(warehouse, target).filter(cells => allUnlocked(warehouse, cells));\n\n const generate = cases => {\n if (!isArray(cases)) {\n throw new Error('cases must be an array');\n }\n if (cases.length === 0) {\n throw new Error('there must be at least one case');\n }\n const constructors = [];\n const adt = {};\n each(cases, (acase, count) => {\n const keys$1 = keys(acase);\n if (keys$1.length !== 1) {\n throw new Error('one and only one name per case');\n }\n const key = keys$1[0];\n const value = acase[key];\n if (adt[key] !== undefined) {\n throw new Error('duplicate key detected:' + key);\n } else if (key === 'cata') {\n throw new Error('cannot have a case named cata (sorry)');\n } else if (!isArray(value)) {\n throw new Error('case arguments must be an array');\n }\n constructors.push(key);\n adt[key] = (...args) => {\n const argLength = args.length;\n if (argLength !== value.length) {\n throw new Error('Wrong number of arguments to case ' + key + '. Expected ' + value.length + ' (' + value + '), got ' + argLength);\n }\n const match = branches => {\n const branchKeys = keys(branches);\n if (constructors.length !== branchKeys.length) {\n throw new Error('Wrong number of arguments to match. Expected: ' + constructors.join(',') + '\\nActual: ' + branchKeys.join(','));\n }\n const allReqd = forall(constructors, reqKey => {\n return contains(branchKeys, reqKey);\n });\n if (!allReqd) {\n throw new Error('Not all branches were specified when using match. Specified: ' + branchKeys.join(', ') + '\\nRequired: ' + constructors.join(', '));\n }\n return branches[key].apply(null, args);\n };\n return {\n fold: (...foldArgs) => {\n if (foldArgs.length !== cases.length) {\n throw new Error('Wrong number of arguments to fold. Expected ' + cases.length + ', got ' + foldArgs.length);\n }\n const target = foldArgs[count];\n return target.apply(null, args);\n },\n match,\n log: label => {\n console.log(label, {\n constructors,\n constructor: key,\n params: args\n });\n }\n };\n };\n });\n return adt;\n };\n const Adt = { generate };\n\n const adt = Adt.generate([\n { none: [] },\n { only: ['index'] },\n {\n left: [\n 'index',\n 'next'\n ]\n },\n {\n middle: [\n 'prev',\n 'index',\n 'next'\n ]\n },\n {\n right: [\n 'prev',\n 'index'\n ]\n }\n ]);\n ({ ...adt });\n\n const opGetRowsType = (table, target) => {\n const house = Warehouse.fromTable(table);\n const details = onCells(house, target);\n return details.bind(selectedCells => {\n const lastSelectedCell = selectedCells[selectedCells.length - 1];\n const minRowRange = selectedCells[0].row;\n const maxRowRange = lastSelectedCell.row + lastSelectedCell.rowspan;\n const selectedRows = house.all.slice(minRowRange, maxRowRange);\n return findCommonRowType(selectedRows);\n }).getOr('');\n };\n const getRowsType = opGetRowsType;\n\n const rgbToHex = value => startsWith(value, 'rgb') ? rgbaToHexString(value) : value;\n const extractAdvancedStyles = elm => {\n const element = SugarElement.fromDom(elm);\n return {\n borderwidth: getRaw(element, 'border-width').getOr(''),\n borderstyle: getRaw(element, 'border-style').getOr(''),\n bordercolor: getRaw(element, 'border-color').map(rgbToHex).getOr(''),\n backgroundcolor: getRaw(element, 'background-color').map(rgbToHex).getOr('')\n };\n };\n const getSharedValues = data => {\n const baseData = data[0];\n const comparisonData = data.slice(1);\n each(comparisonData, items => {\n each(keys(baseData), key => {\n each$1(items, (itemValue, itemKey) => {\n const comparisonValue = baseData[key];\n if (comparisonValue !== '' && key === itemKey) {\n if (comparisonValue !== itemValue) {\n baseData[key] = '';\n }\n }\n });\n });\n });\n return baseData;\n };\n const getAlignment = (formats, formatName, editor, elm) => find(formats, name => !isUndefined(editor.formatter.matchNode(elm, formatName + name))).getOr('');\n const getHAlignment = curry(getAlignment, [\n 'left',\n 'center',\n 'right'\n ], 'align');\n const getVAlignment = curry(getAlignment, [\n 'top',\n 'middle',\n 'bottom'\n ], 'valign');\n const extractDataFromSettings = (editor, hasAdvTableTab) => {\n const style = getDefaultStyles(editor);\n const attrs = getDefaultAttributes(editor);\n const extractAdvancedStyleData = () => ({\n borderstyle: get$4(style, 'border-style').getOr(''),\n bordercolor: rgbToHex(get$4(style, 'border-color').getOr('')),\n backgroundcolor: rgbToHex(get$4(style, 'background-color').getOr(''))\n });\n const defaultData = {\n height: '',\n width: '100%',\n cellspacing: '',\n cellpadding: '',\n caption: false,\n class: '',\n align: '',\n border: ''\n };\n const getBorder = () => {\n const borderWidth = style['border-width'];\n if (shouldStyleWithCss(editor) && borderWidth) {\n return { border: borderWidth };\n }\n return get$4(attrs, 'border').fold(() => ({}), border => ({ border }));\n };\n const advStyle = hasAdvTableTab ? extractAdvancedStyleData() : {};\n const getCellPaddingCellSpacing = () => {\n const spacing = get$4(style, 'border-spacing').or(get$4(attrs, 'cellspacing')).fold(() => ({}), cellspacing => ({ cellspacing }));\n const padding = get$4(style, 'border-padding').or(get$4(attrs, 'cellpadding')).fold(() => ({}), cellpadding => ({ cellpadding }));\n return {\n ...spacing,\n ...padding\n };\n };\n const data = {\n ...defaultData,\n ...style,\n ...attrs,\n ...advStyle,\n ...getBorder(),\n ...getCellPaddingCellSpacing()\n };\n return data;\n };\n const getRowType = elm => table(SugarElement.fromDom(elm)).map(table => {\n const target = { selection: fromDom(elm.cells) };\n return getRowsType(table, target);\n }).getOr('');\n const extractDataFromTableElement = (editor, elm, hasAdvTableTab) => {\n const getBorder = (dom, elm) => {\n const optBorderWidth = getRaw(SugarElement.fromDom(elm), 'border-width');\n if (shouldStyleWithCss(editor) && optBorderWidth.isSome()) {\n return optBorderWidth.getOr('');\n }\n return dom.getAttrib(elm, 'border') || getTDTHOverallStyle(editor.dom, elm, 'border-width') || getTDTHOverallStyle(editor.dom, elm, 'border') || '';\n };\n const dom = editor.dom;\n const cellspacing = shouldStyleWithCss(editor) ? dom.getStyle(elm, 'border-spacing') || dom.getAttrib(elm, 'cellspacing') : dom.getAttrib(elm, 'cellspacing') || dom.getStyle(elm, 'border-spacing');\n const cellpadding = shouldStyleWithCss(editor) ? getTDTHOverallStyle(dom, elm, 'padding') || dom.getAttrib(elm, 'cellpadding') : dom.getAttrib(elm, 'cellpadding') || getTDTHOverallStyle(dom, elm, 'padding');\n return {\n width: dom.getStyle(elm, 'width') || dom.getAttrib(elm, 'width'),\n height: dom.getStyle(elm, 'height') || dom.getAttrib(elm, 'height'),\n cellspacing: cellspacing !== null && cellspacing !== void 0 ? cellspacing : '',\n cellpadding: cellpadding !== null && cellpadding !== void 0 ? cellpadding : '',\n border: getBorder(dom, elm),\n caption: !!dom.select('caption', elm)[0],\n class: dom.getAttrib(elm, 'class', ''),\n align: getHAlignment(editor, elm),\n ...hasAdvTableTab ? extractAdvancedStyles(elm) : {}\n };\n };\n const extractDataFromRowElement = (editor, elm, hasAdvancedRowTab) => {\n const dom = editor.dom;\n return {\n height: dom.getStyle(elm, 'height') || dom.getAttrib(elm, 'height'),\n class: dom.getAttrib(elm, 'class', ''),\n type: getRowType(elm),\n align: getHAlignment(editor, elm),\n ...hasAdvancedRowTab ? extractAdvancedStyles(elm) : {}\n };\n };\n const extractDataFromCellElement = (editor, cell, hasAdvancedCellTab, column) => {\n const dom = editor.dom;\n const colElm = column.getOr(cell);\n const getStyle = (element, style) => dom.getStyle(element, style) || dom.getAttrib(element, style);\n return {\n width: getStyle(colElm, 'width'),\n height: getStyle(cell, 'height'),\n scope: dom.getAttrib(cell, 'scope'),\n celltype: getNodeName(cell),\n class: dom.getAttrib(cell, 'class', ''),\n halign: getHAlignment(editor, cell),\n valign: getVAlignment(editor, cell),\n ...hasAdvancedCellTab ? extractAdvancedStyles(cell) : {}\n };\n };\n\n const getSelectedCells = (table, cells) => {\n const warehouse = Warehouse.fromTable(table);\n const allCells = Warehouse.justCells(warehouse);\n const filtered = filter(allCells, cellA => exists(cells, cellB => eq(cellA.element, cellB)));\n return map(filtered, cell => ({\n element: cell.element.dom,\n column: Warehouse.getColumnAt(warehouse, cell.column).map(col => col.element.dom)\n }));\n };\n const updateSimpleProps$1 = (modifier, colModifier, data, shouldUpdate) => {\n if (shouldUpdate('scope')) {\n modifier.setAttrib('scope', data.scope);\n }\n if (shouldUpdate('class')) {\n modifier.setAttrib('class', data.class);\n }\n if (shouldUpdate('height')) {\n modifier.setStyle('height', addPxSuffix(data.height));\n }\n if (shouldUpdate('width')) {\n colModifier.setStyle('width', addPxSuffix(data.width));\n }\n };\n const updateAdvancedProps$1 = (modifier, data, shouldUpdate) => {\n if (shouldUpdate('backgroundcolor')) {\n modifier.setFormat('tablecellbackgroundcolor', data.backgroundcolor);\n }\n if (shouldUpdate('bordercolor')) {\n modifier.setFormat('tablecellbordercolor', data.bordercolor);\n }\n if (shouldUpdate('borderstyle')) {\n modifier.setFormat('tablecellborderstyle', data.borderstyle);\n }\n if (shouldUpdate('borderwidth')) {\n modifier.setFormat('tablecellborderwidth', addPxSuffix(data.borderwidth));\n }\n };\n const applyStyleData$1 = (editor, cells, data, wasChanged) => {\n const isSingleCell = cells.length === 1;\n each(cells, item => {\n const cellElm = item.element;\n const shouldOverrideCurrentValue = isSingleCell ? always : wasChanged;\n const modifier = DomModifier.normal(editor, cellElm);\n const colModifier = item.column.map(col => DomModifier.normal(editor, col)).getOr(modifier);\n updateSimpleProps$1(modifier, colModifier, data, shouldOverrideCurrentValue);\n if (hasAdvancedCellTab(editor)) {\n updateAdvancedProps$1(modifier, data, shouldOverrideCurrentValue);\n }\n if (wasChanged('halign')) {\n setAlign(editor, cellElm, data.halign);\n }\n if (wasChanged('valign')) {\n setVAlign(editor, cellElm, data.valign);\n }\n });\n };\n const applyStructureData$1 = (editor, data) => {\n editor.execCommand('mceTableCellType', false, {\n type: data.celltype,\n no_events: true\n });\n };\n const applyCellData = (editor, cells, oldData, data) => {\n const modifiedData = filter$1(data, (value, key) => oldData[key] !== value);\n if (size(modifiedData) > 0 && cells.length >= 1) {\n table(cells[0]).each(table => {\n const selectedCells = getSelectedCells(table, cells);\n const styleModified = size(filter$1(modifiedData, (_value, key) => key !== 'scope' && key !== 'celltype')) > 0;\n const structureModified = has(modifiedData, 'celltype');\n if (styleModified || has(modifiedData, 'scope')) {\n applyStyleData$1(editor, selectedCells, data, curry(has, modifiedData));\n }\n if (structureModified) {\n applyStructureData$1(editor, data);\n }\n fireTableModified(editor, table.dom, {\n structure: structureModified,\n style: styleModified\n });\n });\n }\n };\n const onSubmitCellForm = (editor, cells, oldData, api) => {\n const data = api.getData();\n api.close();\n editor.undoManager.transact(() => {\n applyCellData(editor, cells, oldData, data);\n editor.focus();\n });\n };\n const getData$1 = (editor, cells) => {\n const cellsData = table(cells[0]).map(table => map(getSelectedCells(table, cells), item => extractDataFromCellElement(editor, item.element, hasAdvancedCellTab(editor), item.column)));\n return getSharedValues(cellsData.getOrDie());\n };\n const open$2 = editor => {\n const cells = getCellsFromSelection(editor);\n if (cells.length === 0) {\n return;\n }\n const data = getData$1(editor, cells);\n const dialogTabPanel = {\n type: 'tabpanel',\n tabs: [\n {\n title: 'General',\n name: 'general',\n items: getItems$2(editor)\n },\n getAdvancedTab(editor, 'cell')\n ]\n };\n const dialogPanel = {\n type: 'panel',\n items: [{\n type: 'grid',\n columns: 2,\n items: getItems$2(editor)\n }]\n };\n editor.windowManager.open({\n title: 'Cell Properties',\n size: 'normal',\n body: hasAdvancedCellTab(editor) ? dialogTabPanel : dialogPanel,\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: data,\n onSubmit: curry(onSubmitCellForm, editor, cells, data)\n });\n };\n\n const getClassList = editor => {\n const classes = buildListItems(getRowClassList(editor));\n if (classes.length > 0) {\n return Optional.some({\n name: 'class',\n type: 'listbox',\n label: 'Class',\n items: classes\n });\n }\n return Optional.none();\n };\n const formChildren = [\n {\n type: 'listbox',\n name: 'type',\n label: 'Row type',\n items: [\n {\n text: 'Header',\n value: 'header'\n },\n {\n text: 'Body',\n value: 'body'\n },\n {\n text: 'Footer',\n value: 'footer'\n }\n ]\n },\n {\n type: 'listbox',\n name: 'align',\n label: 'Alignment',\n items: [\n {\n text: 'None',\n value: ''\n },\n {\n text: 'Left',\n value: 'left'\n },\n {\n text: 'Center',\n value: 'center'\n },\n {\n text: 'Right',\n value: 'right'\n }\n ]\n },\n {\n label: 'Height',\n name: 'height',\n type: 'input'\n }\n ];\n const getItems$1 = editor => formChildren.concat(getClassList(editor).toArray());\n\n const updateSimpleProps = (modifier, data, shouldUpdate) => {\n if (shouldUpdate('class')) {\n modifier.setAttrib('class', data.class);\n }\n if (shouldUpdate('height')) {\n modifier.setStyle('height', addPxSuffix(data.height));\n }\n };\n const updateAdvancedProps = (modifier, data, shouldUpdate) => {\n if (shouldUpdate('backgroundcolor')) {\n modifier.setStyle('background-color', data.backgroundcolor);\n }\n if (shouldUpdate('bordercolor')) {\n modifier.setStyle('border-color', data.bordercolor);\n }\n if (shouldUpdate('borderstyle')) {\n modifier.setStyle('border-style', data.borderstyle);\n }\n };\n const applyStyleData = (editor, rows, data, wasChanged) => {\n const isSingleRow = rows.length === 1;\n const shouldOverrideCurrentValue = isSingleRow ? always : wasChanged;\n each(rows, rowElm => {\n const modifier = DomModifier.normal(editor, rowElm);\n updateSimpleProps(modifier, data, shouldOverrideCurrentValue);\n if (hasAdvancedRowTab(editor)) {\n updateAdvancedProps(modifier, data, shouldOverrideCurrentValue);\n }\n if (wasChanged('align')) {\n setAlign(editor, rowElm, data.align);\n }\n });\n };\n const applyStructureData = (editor, data) => {\n editor.execCommand('mceTableRowType', false, {\n type: data.type,\n no_events: true\n });\n };\n const applyRowData = (editor, rows, oldData, data) => {\n const modifiedData = filter$1(data, (value, key) => oldData[key] !== value);\n if (size(modifiedData) > 0) {\n const typeModified = has(modifiedData, 'type');\n const styleModified = typeModified ? size(modifiedData) > 1 : true;\n if (styleModified) {\n applyStyleData(editor, rows, data, curry(has, modifiedData));\n }\n if (typeModified) {\n applyStructureData(editor, data);\n }\n table(SugarElement.fromDom(rows[0])).each(table => fireTableModified(editor, table.dom, {\n structure: typeModified,\n style: styleModified\n }));\n }\n };\n const onSubmitRowForm = (editor, rows, oldData, api) => {\n const data = api.getData();\n api.close();\n editor.undoManager.transact(() => {\n applyRowData(editor, rows, oldData, data);\n editor.focus();\n });\n };\n const open$1 = editor => {\n const rows = getRowsFromSelection(getSelectionStart(editor), ephemera.selected);\n if (rows.length === 0) {\n return;\n }\n const rowsData = map(rows, rowElm => extractDataFromRowElement(editor, rowElm.dom, hasAdvancedRowTab(editor)));\n const data = getSharedValues(rowsData);\n const dialogTabPanel = {\n type: 'tabpanel',\n tabs: [\n {\n title: 'General',\n name: 'general',\n items: getItems$1(editor)\n },\n getAdvancedTab(editor, 'row')\n ]\n };\n const dialogPanel = {\n type: 'panel',\n items: [{\n type: 'grid',\n columns: 2,\n items: getItems$1(editor)\n }]\n };\n editor.windowManager.open({\n title: 'Row Properties',\n size: 'normal',\n body: hasAdvancedRowTab(editor) ? dialogTabPanel : dialogPanel,\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: data,\n onSubmit: curry(onSubmitRowForm, editor, map(rows, r => r.dom), data)\n });\n };\n\n const getItems = (editor, classes, insertNewTable) => {\n const rowColCountItems = !insertNewTable ? [] : [\n {\n type: 'input',\n name: 'cols',\n label: 'Cols',\n inputMode: 'numeric'\n },\n {\n type: 'input',\n name: 'rows',\n label: 'Rows',\n inputMode: 'numeric'\n }\n ];\n const alwaysItems = [\n {\n type: 'input',\n name: 'width',\n label: 'Width'\n },\n {\n type: 'input',\n name: 'height',\n label: 'Height'\n }\n ];\n const appearanceItems = hasAppearanceOptions(editor) ? [\n {\n type: 'input',\n name: 'cellspacing',\n label: 'Cell spacing',\n inputMode: 'numeric'\n },\n {\n type: 'input',\n name: 'cellpadding',\n label: 'Cell padding',\n inputMode: 'numeric'\n },\n {\n type: 'input',\n name: 'border',\n label: 'Border width'\n },\n {\n type: 'label',\n label: 'Caption',\n items: [{\n type: 'checkbox',\n name: 'caption',\n label: 'Show caption'\n }]\n }\n ] : [];\n const alignmentItem = [{\n type: 'listbox',\n name: 'align',\n label: 'Alignment',\n items: [\n {\n text: 'None',\n value: ''\n },\n {\n text: 'Left',\n value: 'left'\n },\n {\n text: 'Center',\n value: 'center'\n },\n {\n text: 'Right',\n value: 'right'\n }\n ]\n }];\n const classListItem = classes.length > 0 ? [{\n type: 'listbox',\n name: 'class',\n label: 'Class',\n items: classes\n }] : [];\n return rowColCountItems.concat(alwaysItems).concat(appearanceItems).concat(alignmentItem).concat(classListItem);\n };\n\n const styleTDTH = (dom, elm, name, value) => {\n if (elm.tagName === 'TD' || elm.tagName === 'TH') {\n if (isString(name) && isNonNullable(value)) {\n dom.setStyle(elm, name, value);\n } else {\n dom.setStyles(elm, name);\n }\n } else {\n if (elm.children) {\n for (let i = 0; i < elm.children.length; i++) {\n styleTDTH(dom, elm.children[i], name, value);\n }\n }\n }\n };\n const applyDataToElement = (editor, tableElm, data, shouldApplyOnCell) => {\n const dom = editor.dom;\n const attrs = {};\n const styles = {};\n const shouldStyleWithCss$1 = shouldStyleWithCss(editor);\n const hasAdvancedTableTab$1 = hasAdvancedTableTab(editor);\n if (!isUndefined(data.class)) {\n attrs.class = data.class;\n }\n styles.height = addPxSuffix(data.height);\n if (shouldStyleWithCss$1) {\n styles.width = addPxSuffix(data.width);\n } else if (dom.getAttrib(tableElm, 'width')) {\n attrs.width = removePxSuffix(data.width);\n }\n if (shouldStyleWithCss$1) {\n styles['border-width'] = addPxSuffix(data.border);\n styles['border-spacing'] = addPxSuffix(data.cellspacing);\n } else {\n attrs.border = data.border;\n attrs.cellpadding = data.cellpadding;\n attrs.cellspacing = data.cellspacing;\n }\n if (shouldStyleWithCss$1 && tableElm.children) {\n const cellStyles = {};\n if (shouldApplyOnCell.border) {\n cellStyles['border-width'] = addPxSuffix(data.border);\n }\n if (shouldApplyOnCell.cellpadding) {\n cellStyles.padding = addPxSuffix(data.cellpadding);\n }\n if (hasAdvancedTableTab$1 && shouldApplyOnCell.bordercolor) {\n cellStyles['border-color'] = data.bordercolor;\n }\n if (!isEmpty$1(cellStyles)) {\n for (let i = 0; i < tableElm.children.length; i++) {\n styleTDTH(dom, tableElm.children[i], cellStyles);\n }\n }\n }\n if (hasAdvancedTableTab$1) {\n const advData = data;\n styles['background-color'] = advData.backgroundcolor;\n styles['border-color'] = advData.bordercolor;\n styles['border-style'] = advData.borderstyle;\n }\n dom.setStyles(tableElm, {\n ...getDefaultStyles(editor),\n ...styles\n });\n dom.setAttribs(tableElm, {\n ...getDefaultAttributes(editor),\n ...attrs\n });\n };\n const onSubmitTableForm = (editor, tableElm, oldData, api) => {\n const dom = editor.dom;\n const data = api.getData();\n const modifiedData = filter$1(data, (value, key) => oldData[key] !== value);\n api.close();\n if (data.class === '') {\n delete data.class;\n }\n editor.undoManager.transact(() => {\n if (!tableElm) {\n const cols = toInt(data.cols).getOr(1);\n const rows = toInt(data.rows).getOr(1);\n editor.execCommand('mceInsertTable', false, {\n rows,\n columns: cols\n });\n tableElm = getSelectionCell(getSelectionStart(editor), getIsRoot(editor)).bind(cell => table(cell, getIsRoot(editor))).map(table => table.dom).getOrDie();\n }\n if (size(modifiedData) > 0) {\n const applicableCellProperties = {\n border: has(modifiedData, 'border'),\n bordercolor: has(modifiedData, 'bordercolor'),\n cellpadding: has(modifiedData, 'cellpadding')\n };\n applyDataToElement(editor, tableElm, data, applicableCellProperties);\n const captionElm = dom.select('caption', tableElm)[0];\n if (captionElm && !data.caption || !captionElm && data.caption) {\n editor.execCommand('mceTableToggleCaption');\n }\n setAlign(editor, tableElm, data.align);\n }\n editor.focus();\n editor.addVisual();\n if (size(modifiedData) > 0) {\n const captionModified = has(modifiedData, 'caption');\n const styleModified = captionModified ? size(modifiedData) > 1 : true;\n fireTableModified(editor, tableElm, {\n structure: captionModified,\n style: styleModified\n });\n }\n });\n };\n const open = (editor, insertNewTable) => {\n const dom = editor.dom;\n let tableElm;\n let data = extractDataFromSettings(editor, hasAdvancedTableTab(editor));\n if (insertNewTable) {\n data.cols = '1';\n data.rows = '1';\n if (hasAdvancedTableTab(editor)) {\n data.borderstyle = '';\n data.bordercolor = '';\n data.backgroundcolor = '';\n }\n } else {\n tableElm = dom.getParent(editor.selection.getStart(), 'table', editor.getBody());\n if (tableElm) {\n data = extractDataFromTableElement(editor, tableElm, hasAdvancedTableTab(editor));\n } else {\n if (hasAdvancedTableTab(editor)) {\n data.borderstyle = '';\n data.bordercolor = '';\n data.backgroundcolor = '';\n }\n }\n }\n const classes = buildListItems(getTableClassList(editor));\n if (classes.length > 0) {\n if (data.class) {\n data.class = data.class.replace(/\\s*mce\\-item\\-table\\s*/g, '');\n }\n }\n const generalPanel = {\n type: 'grid',\n columns: 2,\n items: getItems(editor, classes, insertNewTable)\n };\n const nonAdvancedForm = () => ({\n type: 'panel',\n items: [generalPanel]\n });\n const advancedForm = () => ({\n type: 'tabpanel',\n tabs: [\n {\n title: 'General',\n name: 'general',\n items: [generalPanel]\n },\n getAdvancedTab(editor, 'table')\n ]\n });\n const dialogBody = hasAdvancedTableTab(editor) ? advancedForm() : nonAdvancedForm();\n editor.windowManager.open({\n title: 'Table Properties',\n size: 'normal',\n body: dialogBody,\n onSubmit: curry(onSubmitTableForm, editor, tableElm, data),\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: data\n });\n };\n\n const registerCommands = editor => {\n const runAction = f => {\n if (isInEditableContext(getSelectionStart(editor))) {\n f();\n }\n };\n each$1({\n mceTableProps: curry(open, editor, false),\n mceTableRowProps: curry(open$1, editor),\n mceTableCellProps: curry(open$2, editor),\n mceInsertTableDialog: curry(open, editor, true)\n }, (func, name) => editor.addCommand(name, () => runAction(func)));\n };\n\n const child = (scope, selector) => child$1(scope, selector).isSome();\n\n const selection = identity;\n const unmergable = selectedCells => {\n const hasSpan = (elem, type) => getOpt(elem, type).exists(span => parseInt(span, 10) > 1);\n const hasRowOrColSpan = elem => hasSpan(elem, 'rowspan') || hasSpan(elem, 'colspan');\n return selectedCells.length > 0 && forall(selectedCells, hasRowOrColSpan) ? Optional.some(selectedCells) : Optional.none();\n };\n const mergable = (table, selectedCells, ephemera) => {\n if (selectedCells.length <= 1) {\n return Optional.none();\n } else {\n return retrieveBox(table, ephemera.firstSelectedSelector, ephemera.lastSelectedSelector).map(bounds => ({\n bounds,\n cells: selectedCells\n }));\n }\n };\n\n const noMenu = cell => ({\n element: cell,\n mergable: Optional.none(),\n unmergable: Optional.none(),\n selection: [cell]\n });\n const forMenu = (selectedCells, table, cell) => ({\n element: cell,\n mergable: mergable(table, selectedCells, ephemera),\n unmergable: unmergable(selectedCells),\n selection: selection(selectedCells)\n });\n\n const getSelectionTargets = editor => {\n const targets = Cell(Optional.none());\n const changeHandlers = Cell([]);\n let selectionDetails = Optional.none();\n const isCaption = isTag('caption');\n const isDisabledForSelection = key => selectionDetails.forall(details => !details[key]);\n const getStart = () => getSelectionCellOrCaption(getSelectionStart(editor), getIsRoot(editor));\n const getEnd = () => getSelectionCellOrCaption(getSelectionEnd(editor), getIsRoot(editor));\n const findTargets = () => getStart().bind(startCellOrCaption => flatten(lift2(table(startCellOrCaption), getEnd().bind(table), (startTable, endTable) => {\n if (eq(startTable, endTable)) {\n if (isCaption(startCellOrCaption)) {\n return Optional.some(noMenu(startCellOrCaption));\n } else {\n return Optional.some(forMenu(getCellsFromSelection(editor), startTable, startCellOrCaption));\n }\n }\n return Optional.none();\n })));\n const getExtractedDetails = targets => {\n const tableOpt = table(targets.element);\n return tableOpt.map(table => {\n const warehouse = Warehouse.fromTable(table);\n const selectedCells = onCells(warehouse, targets).getOr([]);\n const locked = foldl(selectedCells, (acc, cell) => {\n if (cell.isLocked) {\n acc.onAny = true;\n if (cell.column === 0) {\n acc.onFirst = true;\n } else if (cell.column + cell.colspan >= warehouse.grid.columns) {\n acc.onLast = true;\n }\n }\n return acc;\n }, {\n onAny: false,\n onFirst: false,\n onLast: false\n });\n return {\n mergeable: onUnlockedMergable(warehouse, targets).isSome(),\n unmergeable: onUnlockedUnmergable(warehouse, targets).isSome(),\n locked\n };\n });\n };\n const resetTargets = () => {\n targets.set(cached(findTargets)());\n selectionDetails = targets.get().bind(getExtractedDetails);\n each(changeHandlers.get(), call);\n };\n const setupHandler = handler => {\n handler();\n changeHandlers.set(changeHandlers.get().concat([handler]));\n return () => {\n changeHandlers.set(filter(changeHandlers.get(), h => h !== handler));\n };\n };\n const onSetup = (api, isDisabled) => setupHandler(() => targets.get().fold(() => {\n api.setEnabled(false);\n }, targets => {\n api.setEnabled(!isDisabled(targets) && editor.selection.isEditable());\n }));\n const onSetupWithToggle = (api, isDisabled, isActive) => setupHandler(() => targets.get().fold(() => {\n api.setEnabled(false);\n api.setActive(false);\n }, targets => {\n api.setEnabled(!isDisabled(targets) && editor.selection.isEditable());\n api.setActive(isActive(targets));\n }));\n const isDisabledFromLocked = lockedDisable => selectionDetails.exists(details => details.locked[lockedDisable]);\n const onSetupTable = api => onSetup(api, _ => false);\n const onSetupCellOrRow = api => onSetup(api, targets => isCaption(targets.element));\n const onSetupColumn = lockedDisable => api => onSetup(api, targets => isCaption(targets.element) || isDisabledFromLocked(lockedDisable));\n const onSetupPasteable = getClipboardData => api => onSetup(api, targets => isCaption(targets.element) || getClipboardData().isNone());\n const onSetupPasteableColumn = (getClipboardData, lockedDisable) => api => onSetup(api, targets => isCaption(targets.element) || getClipboardData().isNone() || isDisabledFromLocked(lockedDisable));\n const onSetupMergeable = api => onSetup(api, _targets => isDisabledForSelection('mergeable'));\n const onSetupUnmergeable = api => onSetup(api, _targets => isDisabledForSelection('unmergeable'));\n const onSetupTableWithCaption = api => {\n return onSetupWithToggle(api, never, targets => {\n const tableOpt = table(targets.element, getIsRoot(editor));\n return tableOpt.exists(table => child(table, 'caption'));\n });\n };\n const onSetupTableHeaders = (command, headerType) => api => {\n return onSetupWithToggle(api, targets => isCaption(targets.element), () => editor.queryCommandValue(command) === headerType);\n };\n const onSetupTableRowHeaders = onSetupTableHeaders('mceTableRowType', 'header');\n const onSetupTableColumnHeaders = onSetupTableHeaders('mceTableColType', 'th');\n editor.on('NodeChange ExecCommand TableSelectorChange', resetTargets);\n return {\n onSetupTable,\n onSetupCellOrRow,\n onSetupColumn,\n onSetupPasteable,\n onSetupPasteableColumn,\n onSetupMergeable,\n onSetupUnmergeable,\n resetTargets,\n onSetupTableWithCaption,\n onSetupTableRowHeaders,\n onSetupTableColumnHeaders,\n targets: targets.get\n };\n };\n\n var global = tinymce.util.Tools.resolve('tinymce.FakeClipboard');\n\n const tableTypeBase = 'x-tinymce/dom-table-';\n const tableTypeRow = tableTypeBase + 'rows';\n const tableTypeColumn = tableTypeBase + 'columns';\n const getData = type => {\n var _a;\n const items = (_a = global.read()) !== null && _a !== void 0 ? _a : [];\n return findMap(items, item => Optional.from(item.getType(type)));\n };\n const getRows = () => getData(tableTypeRow);\n const getColumns = () => getData(tableTypeColumn);\n\n const onSetupEditable$1 = 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 addButtons = (editor, selectionTargets) => {\n editor.ui.registry.addMenuButton('table', {\n tooltip: 'Table',\n icon: 'table',\n onSetup: onSetupEditable$1(editor),\n fetch: callback => callback('inserttable | cell row column | advtablesort | tableprops deletetable')\n });\n const cmd = command => () => editor.execCommand(command);\n const addButtonIfRegistered = (name, spec) => {\n if (editor.queryCommandSupported(spec.command)) {\n editor.ui.registry.addButton(name, {\n ...spec,\n onAction: isFunction(spec.onAction) ? spec.onAction : cmd(spec.command)\n });\n }\n };\n const addToggleButtonIfRegistered = (name, spec) => {\n if (editor.queryCommandSupported(spec.command)) {\n editor.ui.registry.addToggleButton(name, {\n ...spec,\n onAction: isFunction(spec.onAction) ? spec.onAction : cmd(spec.command)\n });\n }\n };\n addButtonIfRegistered('tableprops', {\n tooltip: 'Table properties',\n command: 'mceTableProps',\n icon: 'table',\n onSetup: selectionTargets.onSetupTable\n });\n addButtonIfRegistered('tabledelete', {\n tooltip: 'Delete table',\n command: 'mceTableDelete',\n icon: 'table-delete-table',\n onSetup: selectionTargets.onSetupTable\n });\n addButtonIfRegistered('tablecellprops', {\n tooltip: 'Cell properties',\n command: 'mceTableCellProps',\n icon: 'table-cell-properties',\n onSetup: selectionTargets.onSetupCellOrRow\n });\n addButtonIfRegistered('tablemergecells', {\n tooltip: 'Merge cells',\n command: 'mceTableMergeCells',\n icon: 'table-merge-cells',\n onSetup: selectionTargets.onSetupMergeable\n });\n addButtonIfRegistered('tablesplitcells', {\n tooltip: 'Split cell',\n command: 'mceTableSplitCells',\n icon: 'table-split-cells',\n onSetup: selectionTargets.onSetupUnmergeable\n });\n addButtonIfRegistered('tableinsertrowbefore', {\n tooltip: 'Insert row before',\n command: 'mceTableInsertRowBefore',\n icon: 'table-insert-row-above',\n onSetup: selectionTargets.onSetupCellOrRow\n });\n addButtonIfRegistered('tableinsertrowafter', {\n tooltip: 'Insert row after',\n command: 'mceTableInsertRowAfter',\n icon: 'table-insert-row-after',\n onSetup: selectionTargets.onSetupCellOrRow\n });\n addButtonIfRegistered('tabledeleterow', {\n tooltip: 'Delete row',\n command: 'mceTableDeleteRow',\n icon: 'table-delete-row',\n onSetup: selectionTargets.onSetupCellOrRow\n });\n addButtonIfRegistered('tablerowprops', {\n tooltip: 'Row properties',\n command: 'mceTableRowProps',\n icon: 'table-row-properties',\n onSetup: selectionTargets.onSetupCellOrRow\n });\n addButtonIfRegistered('tableinsertcolbefore', {\n tooltip: 'Insert column before',\n command: 'mceTableInsertColBefore',\n icon: 'table-insert-column-before',\n onSetup: selectionTargets.onSetupColumn('onFirst')\n });\n addButtonIfRegistered('tableinsertcolafter', {\n tooltip: 'Insert column after',\n command: 'mceTableInsertColAfter',\n icon: 'table-insert-column-after',\n onSetup: selectionTargets.onSetupColumn('onLast')\n });\n addButtonIfRegistered('tabledeletecol', {\n tooltip: 'Delete column',\n command: 'mceTableDeleteCol',\n icon: 'table-delete-column',\n onSetup: selectionTargets.onSetupColumn('onAny')\n });\n addButtonIfRegistered('tablecutrow', {\n tooltip: 'Cut row',\n command: 'mceTableCutRow',\n icon: 'cut-row',\n onSetup: selectionTargets.onSetupCellOrRow\n });\n addButtonIfRegistered('tablecopyrow', {\n tooltip: 'Copy row',\n command: 'mceTableCopyRow',\n icon: 'duplicate-row',\n onSetup: selectionTargets.onSetupCellOrRow\n });\n addButtonIfRegistered('tablepasterowbefore', {\n tooltip: 'Paste row before',\n command: 'mceTablePasteRowBefore',\n icon: 'paste-row-before',\n onSetup: selectionTargets.onSetupPasteable(getRows)\n });\n addButtonIfRegistered('tablepasterowafter', {\n tooltip: 'Paste row after',\n command: 'mceTablePasteRowAfter',\n icon: 'paste-row-after',\n onSetup: selectionTargets.onSetupPasteable(getRows)\n });\n addButtonIfRegistered('tablecutcol', {\n tooltip: 'Cut column',\n command: 'mceTableCutCol',\n icon: 'cut-column',\n onSetup: selectionTargets.onSetupColumn('onAny')\n });\n addButtonIfRegistered('tablecopycol', {\n tooltip: 'Copy column',\n command: 'mceTableCopyCol',\n icon: 'duplicate-column',\n onSetup: selectionTargets.onSetupColumn('onAny')\n });\n addButtonIfRegistered('tablepastecolbefore', {\n tooltip: 'Paste column before',\n command: 'mceTablePasteColBefore',\n icon: 'paste-column-before',\n onSetup: selectionTargets.onSetupPasteableColumn(getColumns, 'onFirst')\n });\n addButtonIfRegistered('tablepastecolafter', {\n tooltip: 'Paste column after',\n command: 'mceTablePasteColAfter',\n icon: 'paste-column-after',\n onSetup: selectionTargets.onSetupPasteableColumn(getColumns, 'onLast')\n });\n addButtonIfRegistered('tableinsertdialog', {\n tooltip: 'Insert table',\n command: 'mceInsertTableDialog',\n icon: 'table',\n onSetup: onSetupEditable$1(editor)\n });\n const tableClassList = filterNoneItem(getTableClassList(editor));\n if (tableClassList.length !== 0 && editor.queryCommandSupported('mceTableToggleClass')) {\n editor.ui.registry.addMenuButton('tableclass', {\n icon: 'table-classes',\n tooltip: 'Table styles',\n fetch: generateMenuItemsCallback(editor, tableClassList, 'tableclass', value => editor.execCommand('mceTableToggleClass', false, value)),\n onSetup: selectionTargets.onSetupTable\n });\n }\n const tableCellClassList = filterNoneItem(getCellClassList(editor));\n if (tableCellClassList.length !== 0 && editor.queryCommandSupported('mceTableCellToggleClass')) {\n editor.ui.registry.addMenuButton('tablecellclass', {\n icon: 'table-cell-classes',\n tooltip: 'Cell styles',\n fetch: generateMenuItemsCallback(editor, tableCellClassList, 'tablecellclass', value => editor.execCommand('mceTableCellToggleClass', false, value)),\n onSetup: selectionTargets.onSetupCellOrRow\n });\n }\n if (editor.queryCommandSupported('mceTableApplyCellStyle')) {\n editor.ui.registry.addMenuButton('tablecellvalign', {\n icon: 'vertical-align',\n tooltip: 'Vertical align',\n fetch: generateMenuItemsCallback(editor, verticalAlignValues, 'tablecellverticalalign', applyTableCellStyle(editor, 'vertical-align')),\n onSetup: selectionTargets.onSetupCellOrRow\n });\n editor.ui.registry.addMenuButton('tablecellborderwidth', {\n icon: 'border-width',\n tooltip: 'Border width',\n fetch: generateMenuItemsCallback(editor, getTableBorderWidths(editor), 'tablecellborderwidth', applyTableCellStyle(editor, 'border-width')),\n onSetup: selectionTargets.onSetupCellOrRow\n });\n editor.ui.registry.addMenuButton('tablecellborderstyle', {\n icon: 'border-style',\n tooltip: 'Border style',\n fetch: generateMenuItemsCallback(editor, getTableBorderStyles(editor), 'tablecellborderstyle', applyTableCellStyle(editor, 'border-style')),\n onSetup: selectionTargets.onSetupCellOrRow\n });\n editor.ui.registry.addMenuButton('tablecellbackgroundcolor', {\n icon: 'cell-background-color',\n tooltip: 'Background color',\n fetch: callback => callback(buildColorMenu(editor, getTableBackgroundColorMap(editor), 'background-color')),\n onSetup: selectionTargets.onSetupCellOrRow\n });\n editor.ui.registry.addMenuButton('tablecellbordercolor', {\n icon: 'cell-border-color',\n tooltip: 'Border color',\n fetch: callback => callback(buildColorMenu(editor, getTableBorderColorMap(editor), 'border-color')),\n onSetup: selectionTargets.onSetupCellOrRow\n });\n }\n addToggleButtonIfRegistered('tablecaption', {\n tooltip: 'Table caption',\n icon: 'table-caption',\n command: 'mceTableToggleCaption',\n onSetup: selectionTargets.onSetupTableWithCaption\n });\n addToggleButtonIfRegistered('tablerowheader', {\n tooltip: 'Row header',\n icon: 'table-top-header',\n command: 'mceTableRowType',\n onAction: changeRowHeader(editor),\n onSetup: selectionTargets.onSetupTableRowHeaders\n });\n addToggleButtonIfRegistered('tablecolheader', {\n tooltip: 'Column header',\n icon: 'table-left-header',\n command: 'mceTableColType',\n onAction: changeColumnHeader(editor),\n onSetup: selectionTargets.onSetupTableColumnHeaders\n });\n };\n const addToolbars = editor => {\n const isEditableTable = table => editor.dom.is(table, 'table') && editor.getBody().contains(table) && editor.dom.isEditable(table.parentNode);\n const toolbar = getToolbar(editor);\n if (toolbar.length > 0) {\n editor.ui.registry.addContextToolbar('table', {\n predicate: isEditableTable,\n items: toolbar,\n scope: 'node',\n position: 'node'\n });\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 addMenuItems = (editor, selectionTargets) => {\n const cmd = command => () => editor.execCommand(command);\n const addMenuIfRegistered = (name, spec) => {\n if (editor.queryCommandSupported(spec.command)) {\n editor.ui.registry.addMenuItem(name, {\n ...spec,\n onAction: isFunction(spec.onAction) ? spec.onAction : cmd(spec.command)\n });\n return true;\n } else {\n return false;\n }\n };\n const addToggleMenuIfRegistered = (name, spec) => {\n if (editor.queryCommandSupported(spec.command)) {\n editor.ui.registry.addToggleMenuItem(name, {\n ...spec,\n onAction: isFunction(spec.onAction) ? spec.onAction : cmd(spec.command)\n });\n }\n };\n const insertTableAction = data => {\n editor.execCommand('mceInsertTable', false, {\n rows: data.numRows,\n columns: data.numColumns\n });\n };\n const hasRowMenuItems = [\n addMenuIfRegistered('tableinsertrowbefore', {\n text: 'Insert row before',\n icon: 'table-insert-row-above',\n command: 'mceTableInsertRowBefore',\n onSetup: selectionTargets.onSetupCellOrRow\n }),\n addMenuIfRegistered('tableinsertrowafter', {\n text: 'Insert row after',\n icon: 'table-insert-row-after',\n command: 'mceTableInsertRowAfter',\n onSetup: selectionTargets.onSetupCellOrRow\n }),\n addMenuIfRegistered('tabledeleterow', {\n text: 'Delete row',\n icon: 'table-delete-row',\n command: 'mceTableDeleteRow',\n onSetup: selectionTargets.onSetupCellOrRow\n }),\n addMenuIfRegistered('tablerowprops', {\n text: 'Row properties',\n icon: 'table-row-properties',\n command: 'mceTableRowProps',\n onSetup: selectionTargets.onSetupCellOrRow\n }),\n addMenuIfRegistered('tablecutrow', {\n text: 'Cut row',\n icon: 'cut-row',\n command: 'mceTableCutRow',\n onSetup: selectionTargets.onSetupCellOrRow\n }),\n addMenuIfRegistered('tablecopyrow', {\n text: 'Copy row',\n icon: 'duplicate-row',\n command: 'mceTableCopyRow',\n onSetup: selectionTargets.onSetupCellOrRow\n }),\n addMenuIfRegistered('tablepasterowbefore', {\n text: 'Paste row before',\n icon: 'paste-row-before',\n command: 'mceTablePasteRowBefore',\n onSetup: selectionTargets.onSetupPasteable(getRows)\n }),\n addMenuIfRegistered('tablepasterowafter', {\n text: 'Paste row after',\n icon: 'paste-row-after',\n command: 'mceTablePasteRowAfter',\n onSetup: selectionTargets.onSetupPasteable(getRows)\n })\n ];\n const hasColumnMenuItems = [\n addMenuIfRegistered('tableinsertcolumnbefore', {\n text: 'Insert column before',\n icon: 'table-insert-column-before',\n command: 'mceTableInsertColBefore',\n onSetup: selectionTargets.onSetupColumn('onFirst')\n }),\n addMenuIfRegistered('tableinsertcolumnafter', {\n text: 'Insert column after',\n icon: 'table-insert-column-after',\n command: 'mceTableInsertColAfter',\n onSetup: selectionTargets.onSetupColumn('onLast')\n }),\n addMenuIfRegistered('tabledeletecolumn', {\n text: 'Delete column',\n icon: 'table-delete-column',\n command: 'mceTableDeleteCol',\n onSetup: selectionTargets.onSetupColumn('onAny')\n }),\n addMenuIfRegistered('tablecutcolumn', {\n text: 'Cut column',\n icon: 'cut-column',\n command: 'mceTableCutCol',\n onSetup: selectionTargets.onSetupColumn('onAny')\n }),\n addMenuIfRegistered('tablecopycolumn', {\n text: 'Copy column',\n icon: 'duplicate-column',\n command: 'mceTableCopyCol',\n onSetup: selectionTargets.onSetupColumn('onAny')\n }),\n addMenuIfRegistered('tablepastecolumnbefore', {\n text: 'Paste column before',\n icon: 'paste-column-before',\n command: 'mceTablePasteColBefore',\n onSetup: selectionTargets.onSetupPasteableColumn(getColumns, 'onFirst')\n }),\n addMenuIfRegistered('tablepastecolumnafter', {\n text: 'Paste column after',\n icon: 'paste-column-after',\n command: 'mceTablePasteColAfter',\n onSetup: selectionTargets.onSetupPasteableColumn(getColumns, 'onLast')\n })\n ];\n const hasCellMenuItems = [\n addMenuIfRegistered('tablecellprops', {\n text: 'Cell properties',\n icon: 'table-cell-properties',\n command: 'mceTableCellProps',\n onSetup: selectionTargets.onSetupCellOrRow\n }),\n addMenuIfRegistered('tablemergecells', {\n text: 'Merge cells',\n icon: 'table-merge-cells',\n command: 'mceTableMergeCells',\n onSetup: selectionTargets.onSetupMergeable\n }),\n addMenuIfRegistered('tablesplitcells', {\n text: 'Split cell',\n icon: 'table-split-cells',\n command: 'mceTableSplitCells',\n onSetup: selectionTargets.onSetupUnmergeable\n })\n ];\n if (!hasTableGrid(editor)) {\n editor.ui.registry.addMenuItem('inserttable', {\n text: 'Table',\n icon: 'table',\n onAction: cmd('mceInsertTableDialog'),\n onSetup: onSetupEditable(editor)\n });\n } else {\n editor.ui.registry.addNestedMenuItem('inserttable', {\n text: 'Table',\n icon: 'table',\n getSubmenuItems: () => [{\n type: 'fancymenuitem',\n fancytype: 'inserttable',\n onAction: insertTableAction\n }],\n onSetup: onSetupEditable(editor)\n });\n }\n editor.ui.registry.addMenuItem('inserttabledialog', {\n text: 'Insert table',\n icon: 'table',\n onAction: cmd('mceInsertTableDialog'),\n onSetup: onSetupEditable(editor)\n });\n addMenuIfRegistered('tableprops', {\n text: 'Table properties',\n onSetup: selectionTargets.onSetupTable,\n command: 'mceTableProps'\n });\n addMenuIfRegistered('deletetable', {\n text: 'Delete table',\n icon: 'table-delete-table',\n onSetup: selectionTargets.onSetupTable,\n command: 'mceTableDelete'\n });\n if (contains(hasRowMenuItems, true)) {\n editor.ui.registry.addNestedMenuItem('row', {\n type: 'nestedmenuitem',\n text: 'Row',\n getSubmenuItems: constant('tableinsertrowbefore tableinsertrowafter tabledeleterow tablerowprops | tablecutrow tablecopyrow tablepasterowbefore tablepasterowafter')\n });\n }\n if (contains(hasColumnMenuItems, true)) {\n editor.ui.registry.addNestedMenuItem('column', {\n type: 'nestedmenuitem',\n text: 'Column',\n getSubmenuItems: constant('tableinsertcolumnbefore tableinsertcolumnafter tabledeletecolumn | tablecutcolumn tablecopycolumn tablepastecolumnbefore tablepastecolumnafter')\n });\n }\n if (contains(hasCellMenuItems, true)) {\n editor.ui.registry.addNestedMenuItem('cell', {\n type: 'nestedmenuitem',\n text: 'Cell',\n getSubmenuItems: constant('tablecellprops tablemergecells tablesplitcells')\n });\n }\n editor.ui.registry.addContextMenu('table', {\n update: () => {\n selectionTargets.resetTargets();\n return selectionTargets.targets().fold(constant(''), targets => {\n if (name(targets.element) === 'caption') {\n return 'tableprops deletetable';\n } else {\n return 'cell row column | advtablesort | tableprops deletetable';\n }\n });\n }\n });\n const tableClassList = filterNoneItem(getTableClassList(editor));\n if (tableClassList.length !== 0 && editor.queryCommandSupported('mceTableToggleClass')) {\n editor.ui.registry.addNestedMenuItem('tableclass', {\n icon: 'table-classes',\n text: 'Table styles',\n getSubmenuItems: () => buildMenuItems(editor, tableClassList, 'tableclass', value => editor.execCommand('mceTableToggleClass', false, value)),\n onSetup: selectionTargets.onSetupTable\n });\n }\n const tableCellClassList = filterNoneItem(getCellClassList(editor));\n if (tableCellClassList.length !== 0 && editor.queryCommandSupported('mceTableCellToggleClass')) {\n editor.ui.registry.addNestedMenuItem('tablecellclass', {\n icon: 'table-cell-classes',\n text: 'Cell styles',\n getSubmenuItems: () => buildMenuItems(editor, tableCellClassList, 'tablecellclass', value => editor.execCommand('mceTableCellToggleClass', false, value)),\n onSetup: selectionTargets.onSetupCellOrRow\n });\n }\n if (editor.queryCommandSupported('mceTableApplyCellStyle')) {\n editor.ui.registry.addNestedMenuItem('tablecellvalign', {\n icon: 'vertical-align',\n text: 'Vertical align',\n getSubmenuItems: () => buildMenuItems(editor, verticalAlignValues, 'tablecellverticalalign', applyTableCellStyle(editor, 'vertical-align')),\n onSetup: selectionTargets.onSetupCellOrRow\n });\n editor.ui.registry.addNestedMenuItem('tablecellborderwidth', {\n icon: 'border-width',\n text: 'Border width',\n getSubmenuItems: () => buildMenuItems(editor, getTableBorderWidths(editor), 'tablecellborderwidth', applyTableCellStyle(editor, 'border-width')),\n onSetup: selectionTargets.onSetupCellOrRow\n });\n editor.ui.registry.addNestedMenuItem('tablecellborderstyle', {\n icon: 'border-style',\n text: 'Border style',\n getSubmenuItems: () => buildMenuItems(editor, getTableBorderStyles(editor), 'tablecellborderstyle', applyTableCellStyle(editor, 'border-style')),\n onSetup: selectionTargets.onSetupCellOrRow\n });\n editor.ui.registry.addNestedMenuItem('tablecellbackgroundcolor', {\n icon: 'cell-background-color',\n text: 'Background color',\n getSubmenuItems: () => buildColorMenu(editor, getTableBackgroundColorMap(editor), 'background-color'),\n onSetup: selectionTargets.onSetupCellOrRow\n });\n editor.ui.registry.addNestedMenuItem('tablecellbordercolor', {\n icon: 'cell-border-color',\n text: 'Border color',\n getSubmenuItems: () => buildColorMenu(editor, getTableBorderColorMap(editor), 'border-color'),\n onSetup: selectionTargets.onSetupCellOrRow\n });\n }\n addToggleMenuIfRegistered('tablecaption', {\n icon: 'table-caption',\n text: 'Table caption',\n command: 'mceTableToggleCaption',\n onSetup: selectionTargets.onSetupTableWithCaption\n });\n addToggleMenuIfRegistered('tablerowheader', {\n text: 'Row header',\n icon: 'table-top-header',\n command: 'mceTableRowType',\n onAction: changeRowHeader(editor),\n onSetup: selectionTargets.onSetupTableRowHeaders\n });\n addToggleMenuIfRegistered('tablecolheader', {\n text: 'Column header',\n icon: 'table-left-header',\n command: 'mceTableColType',\n onAction: changeColumnHeader(editor),\n onSetup: selectionTargets.onSetupTableRowHeaders\n });\n };\n\n const Plugin = editor => {\n const selectionTargets = getSelectionTargets(editor);\n register(editor);\n registerCommands(editor);\n addMenuItems(editor, selectionTargets);\n addButtons(editor, selectionTargets);\n addToolbars(editor);\n };\n var Plugin$1 = () => {\n global$3.add('table', Plugin);\n };\n\n Plugin$1();\n\n})();\n"],"names":["global$3","tinymce","util","Tools","resolve","isType$1","type","value","x","t","Array","isArray","o","v","proto","constructor","String","prototype","isPrototypeOf","_a","name","typeOf","isSimpleType","isString","isBoolean","isUndefined","undefined","a","isNonNullable","isNullable","isFunction","isNumber","noop","constant","identity","tripleEquals","b","curry","fn","initialArgs","restArgs","all","concat","apply","call","f","never","always","Optional","tag","this","some","none","singletonNone","fold","onNone","onSome","isSome","isNone","map","mapper","bind","binder","exists","predicate","forall","filter","getOr","replacement","or","getOrThunk","thunk","orThunk","getOrDie","message","Error","from","getOrNull","getOrUndefined","each","worker","toArray","toString","keys","Object","hasOwnProperty","each$1","obj","props","k","len","length","i","filter$1","pred","r","onTrue","onFalse","internalFilter","values","push","mapToArray","size","get$4","key","has","hasNonNullableKey","nativeIndexOf","indexOf","nativePush","contains","xs","ts","rawIndexOf","range","num","foldl","acc","find","until","findUntil","flatten$1","get$3","findMap","arr","fromDom$1","node","dom","SugarElement","fromHtml","html","scope","div","document","createElement","innerHTML","hasChildNodes","childNodes","console","error","fromTag","fromText","text","createTextNode","fromDom","fromPoint","docElm","y","elementFromPoint","is$2","element","selector","nodeType","elem","matches","msMatchesSelector","webkitMatchesSelector","mozMatchesSelector","bypassSelector","childElementCount","eq","e1","e2","is$1","window","Function","nodeName","toLowerCase","isType","isComment","isElement","isText","isDocument","isDocumentFragment","isTag","e","documentOrOwner","dos","ownerDocument","parent","parentNode","parents","isRoot","stop","ret","rawParent","p","prevSibling","previousSibling","nextSibling","children$3","firstChild","index","cs","child$3","getRootNode","Element","attachShadow","Node","getShadowRoot","host","getShadowHost","inBody","doc","body","fbc","fab","ClosestOrAncestor","is","ancestor","ancestor$1","el","child$1","child$2","descendant","base","querySelector","one","closest$1","isEditable","assumeEditable","isContentEditable","target","editable","getRaw$1","contentEditable","getIsRoot","editor","getBody","addPxSuffix","test","getSelectionStart","selection","getStart","isInEditableContext","cell","closest$2","s","descendants$1","result","children$1","children$2","descendants","querySelectorAll","all$1","rawSet","setAttribute","set$2","get$2","getAttribute","getOpt","remove$2","removeAttribute","lhs","rhs","comparator","left","lift2","oa","ob","startsWith","str","prefix","substr","start","checkRange","trim","replace","isNotEmpty","toInt","radix","parseInt","isNaN","isSupported","style","getPropertyValue","set$1","property","setProperty","internalSet","get$1","getComputedStyle","getUnsafeProperty","getRaw","raw","remove$1","removeProperty","internalRemove","getAttrValue","fallback","firstLayer","filterFirstLayer","validSectionList","detail","rowspan","colspan","rowdetail","cells","section","tags","join","elm","lookup","table","rows","columnGroups","fromRowsOrColGroups","elems","getSection","row","columnGroup","columns","column","cells$1","getParentSection","group","parentName","isValidSection","getLockedColumnsFromTable","lockedColStr","match","lockedCols","mapToObject","filterItems","warehouse","generate$1","list","access","lockedColumns","rowData","maxRows","maxColumns","rowCount","pass","colgroupRows","fail","partition","currentRow","rowCell","isLocked","current","extended","occupiedColumnPosition","occupiedRowPosition","columnPosition","newpos","Math","max","colgroups","last","columnsGroup","columnIndex","colIndex","columnext","generateColumns","colgroup$1","colgroup","grid$1","grid","Warehouse","rows$1","fromTable$1","item","filtered","w","global$2","getTDTHOverallStyle","select","firstChildStyle","currentStyle","getStyle","setAlign","split","align","formatter","remove","fireTableModified","data","dispatch","toNumber","px","parseFloat","toFloat","getProp","getCalculatedWidth","boxSizing","width","getBoundingClientRect","offsetWidth","upper","lower","calcContentBoxSize","getInner","global$1","defaultCellBorderWidths","title","defaultCellBorderStyles","defaultWidth","getPixelForcedWidth","parentBlock","getParent","isBlock","option","options","get","getTableSizingMode","getTableBorderWidths","getTableBorderStyles","hasAdvancedCellTab","hasAdvancedRowTab","hasAdvancedTableTab","hasAppearanceOptions","hasTableGrid","shouldStyleWithCss","getCellClassList","getRowClassList","getTableClassList","getToolbar","getTableBackgroundColorMap","getTableBorderColorMap","isPixelsForced","isResponsiveForced","getDefaultStyles","defaultStyles","isSet","determineDefaultStyles","getDefaultAttributes","defaultAttributes","determineDefaultAttributes","isWithin","bounds","startCol","finishCol","startRow","finishRow","getAnyBox","startCell","finishCell","startCoords","finishCoords","sc","fc","detailA","detailB","min","getBox$1","isRect","detailIsWithin","j","isRectangular","getWarehouse","before","marker","insertBefore","after$1","append$1","prepend","appendChild","wrap","wrapper","after","elements","append","removeChild","unwrap","children","api","getOption","nodeValue","set","NodeValue","TagBoundaries","unsafeOne","universe","look","head","tail","commonElement","eachr","end","sharedOne$1","slice","up","closest","down","styles","attrs","copyTo","source","destination","setAll","attributes","attr","insert","afterAll","appendAll","create","nu","clone","cloneNode","query","comparePosition","other","compareDocumentPosition","isSpecial","getLanguage","getText","setText","isBoundary","isEmptyTag","isNonEditable","lookupTable","container","getEdges","firstSelectedSelector","lastSelectedSelector","first","_universe","retrieve","sels","retrieve$1","retrieveBox","edges","sectionSelector","firstAncestor","lastAncestor","fA","lA","getBox","nodes","strSelected","strFirstSelected","strLastSelected","ephemera","selected","selectedSelector","firstSelected","lastSelected","getSelectionFromSelector","initCell","cellName","getSelectionCellOrCaption","getSelectionCell","getCellsFromSelection","model","getSelectedCells","getRowsFromSelection","cellOpt","rowsOpt","verticalAlignValues","shorthandRegex","longformRegex","normalizeHex","hex","removeLeading","numChars","substring","removeFromStart","toUpperCase","fromString$1","isHexString","toHex","component","fromRgba","rgbaColour","hexColour","red","green","blue","rgbRegex","rgbaRegex","alpha","fromStringValues","g","fromString","rgbaString","rgbMatch","exec","rgbaMatch","Cell","initial","unbindable","doRevoke","subject","revoke","clear","singleton","unbind","onSetupToggle","formatName","formatValue","boundCallback","init","selectedCells","checkNode","setActive","formatChanged","initialized","on","isListGroup","buildListItems","items","menu","buildMenuItems","format","onAction","getSubmenuItems","onSetup","applyTableCellStyle","execCommand","filterNoneItem","generateMenuItemsCallback","callback","buildColorMenu","colorList","colorMap","entry","color","canvas","height","canvasContext","getContext","clearRect","fillStyle","fillRect","rgba","getImageData","fancytype","initData","colors","allowCustomColors","changeRowHeader","newType","queryCommandValue","changeColumnHeader","label","getItems$2","classes","getClassList$1","getAdvancedTab","dialogName","advTabItems","DomModifier","setAttrib","setStyle","prop","setFormat","isHeaderCell","getRowHeaderType","isHeaderRow","isHeaderCells","findCommonCellType","headerCells","findCommonRowType","rowTypes","subType","getRowType$1","hasHeader","hasFooter","hasBody","findInWarehouse","extractCells","cat","cell$1","lc","onCells","allUnlocked","isUnlockedTableCell","onUnlockedMergable","_warehouse","mergable","onMergable","mergeable","onUnlockedUnmergable","unmergable","onUnmergable","Adt","cases","constructors","adt","acase","count","keys$1","args","argLength","foldArgs","branches","branchKeys","reqKey","log","params","getRowsType","only","middle","right","house","lastSelectedCell","minRowRange","maxRowRange","selectedRows","rgbToHex","h","extractAdvancedStyles","borderwidth","borderstyle","bordercolor","backgroundcolor","getSharedValues","baseData","comparisonData","itemValue","itemKey","comparisonValue","getAlignment","formats","matchNode","getHAlignment","getVAlignment","getRowType","allCells","cellA","cellB","col","applyStyleData$1","wasChanged","isSingleCell","cellElm","shouldOverrideCurrentValue","modifier","colModifier","shouldUpdate","class","updateSimpleProps$1","updateAdvancedProps$1","halign","setVAlign","valign","onSubmitCellForm","oldData","getData","close","undoManager","transact","modifiedData","styleModified","_value","structureModified","celltype","no_events","applyStructureData$1","structure","applyCellData","focus","getData$1","cellsData","getAttrib","extractDataFromCellElement","open$2","dialogTabPanel","tabs","dialogPanel","windowManager","open","buttons","primary","initialData","onSubmit","formChildren","getItems$1","getClassList","applyStyleData","rowElm","updateSimpleProps","updateAdvancedProps","onSubmitRowForm","typeModified","applyStructureData","applyRowData","open$1","rowsData","extractDataFromRowElement","getItems","insertNewTable","rowColCountItems","inputMode","appearanceItems","classListItem","styleTDTH","tagName","setStyles","applyDataToElement","tableElm","shouldApplyOnCell","shouldStyleWithCss$1","hasAdvancedTableTab$1","removePxSuffix","border","cellspacing","cellpadding","cellStyles","padding","isEmpty$1","advData","setAttribs","onSubmitTableForm","cols","applicableCellProperties","captionElm","caption","addVisual","captionModified","hasAdvTableTab","advStyle","borderWidth","getBorder","extractDataFromSettings","optBorderWidth","extractDataFromTableElement","generalPanel","dialogBody","registerCommands","mceTableProps","mceTableRowProps","mceTableCellProps","mceInsertTableDialog","func","addCommand","runAction","hasSpan","span","getSelectionTargets","targets","changeHandlers","selectionDetails","isCaption","isDisabledForSelection","details","getEnd","getSelectionEnd","findTargets","startCellOrCaption","flatten","oot","startTable","endTable","noMenu","forMenu","getExtractedDetails","locked","onAny","onFirst","onLast","unmergeable","resetTargets","called","cached","setupHandler","handler","isDisabled","setEnabled","onSetupWithToggle","isActive","isDisabledFromLocked","lockedDisable","onSetupTableHeaders","command","headerType","onSetupTableRowHeaders","onSetupTableColumnHeaders","onSetupTable","_","onSetupCellOrRow","onSetupColumn","onSetupPasteable","getClipboardData","onSetupPasteableColumn","onSetupMergeable","_targets","onSetupUnmergeable","onSetupTableWithCaption","global","tableTypeBase","tableTypeRow","tableTypeColumn","read","getType","getRows","getColumns","onSetupEditable$1","nodeChanged","off","onSetupEditable","Plugin","selectionTargets","registerOption","register","processor","default","deviceType","isTouch","cmd","addMenuIfRegistered","spec","queryCommandSupported","ui","registry","addMenuItem","addToggleMenuIfRegistered","addToggleMenuItem","insertTableAction","numRows","numColumns","hasRowMenuItems","icon","hasColumnMenuItems","hasCellMenuItems","addNestedMenuItem","addContextMenu","update","tableClassList","tableCellClassList","addMenuItems","addMenuButton","tooltip","fetch","addButtonIfRegistered","addButton","addToggleButtonIfRegistered","addToggleButton","addButtons","isEditableTable","toolbar","addContextToolbar","position","addToolbars","add"],"mappings":"+FAIA,WAGI,IAAIA,EAAWC,QAAQC,KAAKC,MAAMC,QAAQ,yBAE1C,MAoBMC,EAAWC,GAAQC,GAZVC,KACb,MAAMC,SAAWD,EACjB,OAAU,OAANA,EACK,OACQ,WAANC,GAAkBC,MAAMC,QAAQH,GAClC,QACQ,WAANC,IAAuCG,EAdlCC,EAcsBL,EAAeM,GAdlCC,EAcsBC,QAZZC,UAYkCH,EAAMI,cAAcN,KAThD,QAAxBO,EAAKN,EAAEE,mBAAgC,IAAPI,OAAgB,EAASA,EAAGC,QAAUL,EAAYK,MAUpF,SAEAX,EAHwC,IAACG,EAAGE,EAdtC,IAACD,EAAGE,EACfI,CAiBV,EAEsCE,CAAOd,KAAWD,EAC9CgB,EAAehB,GAAQC,UAAgBA,IAAUD,EAEjDiB,EAAWlB,EAAS,UACpBM,EAAUN,EAAS,SACnBmB,EAAYF,EAAa,WACzBG,GAJOhB,OAIYiB,EAJPC,GAAKlB,IAAMkB,GAAhBlB,MAKb,MACMmB,EAAgBD,IAD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S,gBACTV,KAAM,gBACNhD,QAAS,wBACTlQ,QAAS8R,EAAiBd,0BAE5BgD,EAA4B,iBAAkB,CAC5CJ,QAAS,aACTV,KAAM,mBACNhD,QAAS,kBACTpQ,SAAU0B,GAAgBpZ,GAC1B4X,QAAS8R,EAAiB1B,yBAE5B4D,EAA4B,iBAAkB,CAC5CJ,QAAS,gBACTV,KAAM,oBACNhD,QAAS,kBACTpQ,SAAU6B,GAAmBvZ,GAC7B4X,QAAS8R,EAAiBzB,2BAC1B,EAwTF6D,CAAW9rB,EAAQ0pB,GAtTD1pB,KAClB,MAAM+rB,EAAkBnnB,GAAS5E,EAAOpG,IAAIiF,GAAG+F,EAAO,UAAY5E,EAAOC,UAAUtH,SAASiM,IAAU5E,EAAOpG,IAAI4F,WAAWoF,EAAM3H,YAC5H+uB,EAAUlgB,GAAW9L,GACvBgsB,EAAQx0B,OAAS,GACnBwI,EAAOqqB,GAAGC,SAAS2B,kBAAkB,QAAS,CAC5Cp2B,UAAWk2B,EACXzU,MAAO0U,EACPhyB,MAAO,OACPkyB,SAAU,QAEpB,EA6SMC,CAAYnsB,EAAO,EAGnBnO,EAASu6B,IAAI,QAAS3C,GAK3B,CAj4GD"}
@@ -1,61 +0,0 @@
1
- body {
2
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
3
- line-height: 1.4;
4
- margin: 1rem;
5
- }
6
- table {
7
- border-collapse: collapse;
8
- }
9
- /* Apply a default padding if legacy cellpadding attribute is missing */
10
- table:not([cellpadding]) th,
11
- table:not([cellpadding]) td {
12
- padding: 0.4rem;
13
- }
14
- /* Set default table styles if a table has a positive border attribute
15
- and no inline css */
16
- table[border]:not([border="0"]):not([style*="border-width"]) th,
17
- table[border]:not([border="0"]):not([style*="border-width"]) td {
18
- border-width: 1px;
19
- }
20
- /* Set default table styles if a table has a positive border attribute
21
- and no inline css */
22
- table[border]:not([border="0"]):not([style*="border-style"]) th,
23
- table[border]:not([border="0"]):not([style*="border-style"]) td {
24
- border-style: solid;
25
- }
26
- /* Set default table styles if a table has a positive border attribute
27
- and no inline css */
28
- table[border]:not([border="0"]):not([style*="border-color"]) th,
29
- table[border]:not([border="0"]):not([style*="border-color"]) td {
30
- border-color: #ccc;
31
- }
32
- figure {
33
- display: table;
34
- margin: 1rem auto;
35
- }
36
- figure figcaption {
37
- color: #999;
38
- display: block;
39
- margin-top: 0.25rem;
40
- text-align: center;
41
- }
42
- hr {
43
- border-color: #ccc;
44
- border-style: solid;
45
- border-width: 1px 0 0 0;
46
- }
47
- code {
48
- background-color: #e8e8e8;
49
- border-radius: 3px;
50
- padding: 0.1rem 0.2rem;
51
- }
52
- .mce-content-body:not([dir=rtl]) blockquote {
53
- border-left: 2px solid #ccc;
54
- margin-left: 1.5rem;
55
- padding-left: 1rem;
56
- }
57
- .mce-content-body[dir=rtl] blockquote {
58
- border-right: 2px solid #ccc;
59
- margin-right: 1.5rem;
60
- padding-right: 1rem;
61
- }
@@ -1,2 +0,0 @@
1
- tinymce.Resource.add('content/default/content.css', "body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border=\"0\"]):not([style*=border-width]) td,table[border]:not([border=\"0\"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border=\"0\"]):not([style*=border-style]) td,table[border]:not([border=\"0\"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border=\"0\"]):not([style*=border-color]) td,table[border]:not([border=\"0\"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}")
2
- //# sourceMappingURL=content.js.map
@@ -1 +0,0 @@
1
- body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}
@@ -1,2 +0,0 @@
1
- tinymce.Resource.add("content/default/content.css",'body{font-family:-apple-system,BlinkMacSystemFont,\'Segoe UI\',Roboto,Oxygen,Ubuntu,Cantarell,\'Open Sans\',\'Helvetica Neue\',sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}');
2
- //# sourceMappingURL=content.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"content.mjs","sources":["../../../../../../../public/tinymce/skins/content/default/content.js"],"sourcesContent":["tinymce.Resource.add('content/default/content.css', \"body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border=\\\"0\\\"]):not([style*=border-width]) td,table[border]:not([border=\\\"0\\\"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border=\\\"0\\\"]):not([style*=border-style]) td,table[border]:not([border=\\\"0\\\"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border=\\\"0\\\"]):not([style*=border-color]) td,table[border]:not([border=\\\"0\\\"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem}\")\n//# sourceMappingURL=content.js.map\n"],"names":["tinymce","Resource","add"],"mappings":"AAAAA,QAAQC,SAASC,IAAI,8BAA+B"}