@lotte-innovate/ui-component-test 0.1.124 → 0.1.126

Sign up to get free protection for your applications and to get access to all the features.
Files changed (208) hide show
  1. package/dist/globals.css +1 -1
  2. package/dist/lib/color/alpha.mjs.map +1 -1
  3. package/dist/lib/color/constants.mjs.map +1 -1
  4. package/dist/lib/color/light.mjs.map +1 -1
  5. package/dist/lib/components/AlertDialog/index.mjs.map +1 -1
  6. package/dist/lib/components/BarChart/index.mjs.map +1 -1
  7. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -1
  8. package/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -1
  9. package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -1
  10. package/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -1
  11. package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -1
  12. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -1
  13. package/dist/lib/components/Breadcrumb/index.mjs.map +1 -1
  14. package/dist/lib/components/BubbleChart/index.mjs.map +1 -1
  15. package/dist/lib/components/Callout/index.mjs.map +1 -1
  16. package/dist/lib/components/CheckboxGroup/index.mjs.map +1 -1
  17. package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -1
  18. package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -1
  19. package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -1
  20. package/dist/lib/components/ContextMenu/index.mjs.map +1 -1
  21. package/dist/lib/components/DataList/index.mjs.map +1 -1
  22. package/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -1
  23. package/dist/lib/components/Dialog/index.mjs.map +1 -1
  24. package/dist/lib/components/DoughnutChart/index.mjs.map +1 -1
  25. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -1
  26. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -1
  27. package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -1
  28. package/dist/lib/components/DropdownMenu/index.mjs.map +1 -1
  29. package/dist/lib/components/Editor/index.d.ts +14 -14
  30. package/dist/lib/components/Editor/index.js +15 -15
  31. package/dist/lib/components/Gnb/GnbLogo.js +0 -1
  32. package/dist/lib/components/Gnb/GnbLogo.mjs +0 -1
  33. package/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -1
  34. package/dist/lib/components/Gnb/index.mjs.map +1 -1
  35. package/dist/lib/components/Grid/Pagination.mjs.map +1 -1
  36. package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -1
  37. package/dist/lib/components/HoverCard/index.mjs.map +1 -1
  38. package/dist/lib/components/Label/index.d.ts +2 -0
  39. package/dist/lib/components/Label/index.js +3 -3
  40. package/dist/lib/components/Label/index.mjs +1 -1
  41. package/dist/lib/components/LineChart/index.mjs.map +1 -1
  42. package/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -1
  43. package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -1
  44. package/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -1
  45. package/dist/lib/components/Menubar/index.mjs.map +1 -1
  46. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -1
  47. package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -1
  48. package/dist/lib/components/NavigationMenu/index.mjs.map +1 -1
  49. package/dist/lib/components/PieChart/index.mjs.map +1 -1
  50. package/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -1
  51. package/dist/lib/components/Popover/index.mjs.map +1 -1
  52. package/dist/lib/components/RadarChart/index.mjs.map +1 -1
  53. package/dist/lib/components/RadioCards/index.mjs.map +1 -1
  54. package/dist/lib/components/RadioGroup/index.mjs.map +1 -1
  55. package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -1
  56. package/dist/lib/components/SegmentedControl/index.mjs.map +1 -1
  57. package/dist/lib/components/SideBar/index.d.ts +21 -0
  58. package/dist/lib/components/SideBar/index.js +71 -0
  59. package/dist/lib/components/Toast/index.mjs.map +1 -1
  60. package/dist/lib/components/ToggleGroup/index.mjs.map +1 -1
  61. package/dist/lib/components/index.d.ts +0 -1
  62. package/dist/lib/components/index.js +0 -1
  63. package/dist/lib/constants.mjs.map +1 -1
  64. package/dist/lib/index.mjs +1 -1
  65. package/dist/lib/tailwind.config.d.ts +3 -0
  66. package/dist/lib/tsconfig.tsbuildinfo +1 -0
  67. package/dist/lib/utils/useWindowSize.d.ts +1 -0
  68. package/dist/lib/utils/useWindowSize.js +17 -0
  69. package/dist/lib/utils/utils.mjs.map +1 -1
  70. package/dist/tsconfig.tsbuildinfo +1 -1
  71. package/package.json +3 -5
  72. package/_virtual/icons.mjs +0 -2
  73. package/_virtual/icons.mjs.map +0 -1
  74. package/_virtual/index.mjs +0 -2
  75. package/_virtual/index.mjs.map +0 -1
  76. package/_virtual/index10.mjs +0 -2
  77. package/_virtual/index10.mjs.map +0 -1
  78. package/_virtual/index11.mjs +0 -2
  79. package/_virtual/index11.mjs.map +0 -1
  80. package/_virtual/index12.mjs +0 -2
  81. package/_virtual/index12.mjs.map +0 -1
  82. package/_virtual/index13.mjs +0 -2
  83. package/_virtual/index13.mjs.map +0 -1
  84. package/_virtual/index14.mjs +0 -2
  85. package/_virtual/index14.mjs.map +0 -1
  86. package/_virtual/index15.mjs +0 -2
  87. package/_virtual/index15.mjs.map +0 -1
  88. package/_virtual/index16.mjs +0 -2
  89. package/_virtual/index16.mjs.map +0 -1
  90. package/_virtual/index17.mjs +0 -2
  91. package/_virtual/index17.mjs.map +0 -1
  92. package/_virtual/index18.mjs +0 -2
  93. package/_virtual/index18.mjs.map +0 -1
  94. package/_virtual/index19.mjs +0 -2
  95. package/_virtual/index19.mjs.map +0 -1
  96. package/_virtual/index2.mjs +0 -2
  97. package/_virtual/index2.mjs.map +0 -1
  98. package/_virtual/index20.mjs +0 -2
  99. package/_virtual/index20.mjs.map +0 -1
  100. package/_virtual/index3.mjs +0 -2
  101. package/_virtual/index3.mjs.map +0 -1
  102. package/_virtual/index4.mjs +0 -2
  103. package/_virtual/index4.mjs.map +0 -1
  104. package/_virtual/index5.mjs +0 -2
  105. package/_virtual/index5.mjs.map +0 -1
  106. package/_virtual/index6.mjs +0 -2
  107. package/_virtual/index6.mjs.map +0 -1
  108. package/_virtual/index7.mjs +0 -2
  109. package/_virtual/index7.mjs.map +0 -1
  110. package/_virtual/index8.mjs +0 -2
  111. package/_virtual/index8.mjs.map +0 -1
  112. package/_virtual/index9.mjs +0 -2
  113. package/_virtual/index9.mjs.map +0 -1
  114. package/_virtual/model.mjs +0 -2
  115. package/_virtual/model.mjs.map +0 -1
  116. package/_virtual/plugin.mjs +0 -2
  117. package/_virtual/plugin.mjs.map +0 -1
  118. package/_virtual/plugin2.mjs +0 -2
  119. package/_virtual/plugin2.mjs.map +0 -1
  120. package/_virtual/plugin3.mjs +0 -2
  121. package/_virtual/plugin3.mjs.map +0 -1
  122. package/_virtual/plugin4.mjs +0 -2
  123. package/_virtual/plugin4.mjs.map +0 -1
  124. package/_virtual/plugin5.mjs +0 -2
  125. package/_virtual/plugin5.mjs.map +0 -1
  126. package/_virtual/plugin6.mjs +0 -2
  127. package/_virtual/plugin6.mjs.map +0 -1
  128. package/_virtual/plugin7.mjs +0 -2
  129. package/_virtual/plugin7.mjs.map +0 -1
  130. package/_virtual/theme.mjs +0 -2
  131. package/_virtual/theme.mjs.map +0 -1
  132. package/_virtual/tinymce.mjs +0 -2
  133. package/_virtual/tinymce.mjs.map +0 -1
  134. package/_virtual/tinymce2.mjs +0 -2
  135. package/_virtual/tinymce2.mjs.map +0 -1
  136. package/dist/lib/components/Editor/index copy.d.ts +0 -26
  137. package/dist/lib/components/Editor/index copy.js +0 -120
  138. package/dist/lib/components/Editor/index.mjs +0 -3
  139. package/dist/lib/components/Editor/index.mjs.map +0 -1
  140. package/public/tinymce/CHANGELOG.md +0 -3453
  141. package/public/tinymce/README.md +0 -73
  142. package/public/tinymce/bower.json +0 -27
  143. package/public/tinymce/composer.json +0 -52
  144. package/public/tinymce/icons/default/icons.js +0 -194
  145. package/public/tinymce/icons/default/icons.min.js +0 -1
  146. package/public/tinymce/icons/default/index.js +0 -7
  147. package/public/tinymce/license.txt +0 -21
  148. package/public/tinymce/models/dom/index.js +0 -7
  149. package/public/tinymce/models/dom/model.js +0 -8040
  150. package/public/tinymce/models/dom/model.min.js +0 -4
  151. package/public/tinymce/package.json +0 -32
  152. package/public/tinymce/plugins/advlist/index.js +0 -7
  153. package/public/tinymce/plugins/advlist/plugin.js +0 -259
  154. package/public/tinymce/plugins/advlist/plugin.min.js +0 -4
  155. package/public/tinymce/plugins/autolink/index.js +0 -7
  156. package/public/tinymce/plugins/autolink/plugin.js +0 -228
  157. package/public/tinymce/plugins/autolink/plugin.min.js +0 -4
  158. package/public/tinymce/plugins/code/index.js +0 -7
  159. package/public/tinymce/plugins/code/plugin.js +0 -85
  160. package/public/tinymce/plugins/code/plugin.min.js +0 -4
  161. package/public/tinymce/plugins/codesample/index.js +0 -7
  162. package/public/tinymce/plugins/codesample/plugin.js +0 -2463
  163. package/public/tinymce/plugins/codesample/plugin.min.js +0 -4
  164. package/public/tinymce/plugins/image/index.js +0 -7
  165. package/public/tinymce/plugins/image/plugin.js +0 -1505
  166. package/public/tinymce/plugins/image/plugin.min.js +0 -4
  167. package/public/tinymce/plugins/link/index.js +0 -7
  168. package/public/tinymce/plugins/link/plugin.js +0 -1242
  169. package/public/tinymce/plugins/link/plugin.min.js +0 -4
  170. package/public/tinymce/plugins/lists/index.js +0 -7
  171. package/public/tinymce/plugins/lists/plugin.js +0 -2172
  172. package/public/tinymce/plugins/lists/plugin.min.js +0 -4
  173. package/public/tinymce/plugins/table/index.js +0 -7
  174. package/public/tinymce/plugins/table/plugin.js +0 -3462
  175. package/public/tinymce/plugins/table/plugin.min.js +0 -4
  176. package/public/tinymce/skins/content/default/content.css +0 -61
  177. package/public/tinymce/skins/content/default/content.js +0 -2
  178. package/public/tinymce/skins/content/default/content.min.css +0 -1
  179. package/public/tinymce/skins/ui/oxide/content.css +0 -785
  180. package/public/tinymce/skins/ui/oxide/content.inline.css +0 -779
  181. package/public/tinymce/skins/ui/oxide/content.inline.js +0 -2
  182. package/public/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
  183. package/public/tinymce/skins/ui/oxide/content.js +0 -2
  184. package/public/tinymce/skins/ui/oxide/content.min.css +0 -1
  185. package/public/tinymce/skins/ui/oxide/skin.css +0 -3763
  186. package/public/tinymce/skins/ui/oxide/skin.js +0 -2
  187. package/public/tinymce/skins/ui/oxide/skin.min.css +0 -1
  188. package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
  189. package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
  190. package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
  191. package/public/tinymce/skins/ui/oxide-dark/content.css +0 -766
  192. package/public/tinymce/skins/ui/oxide-dark/content.inline.css +0 -779
  193. package/public/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
  194. package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
  195. package/public/tinymce/skins/ui/oxide-dark/content.js +0 -2
  196. package/public/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
  197. package/public/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
  198. package/public/tinymce/skins/ui/oxide-dark/skin.js +0 -2
  199. package/public/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
  200. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
  201. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
  202. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
  203. package/public/tinymce/themes/silver/index.js +0 -7
  204. package/public/tinymce/themes/silver/theme.js +0 -30775
  205. package/public/tinymce/themes/silver/theme.min.js +0 -384
  206. package/public/tinymce/tinymce.d.ts +0 -3238
  207. package/public/tinymce/tinymce.js +0 -31779
  208. package/public/tinymce/tinymce.min.js +0 -384
package/package.json CHANGED
@@ -1,12 +1,10 @@
1
1
  {
2
2
  "name": "@lotte-innovate/ui-component-test",
3
3
  "description": "Lotte UI Library",
4
- "version": "0.1.124",
4
+ "version": "0.1.126",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "files": [
8
- "public/tinymce**/*",
9
- "_virtual",
10
8
  "dist",
11
9
  "dist/globals.css"
12
10
  ],
@@ -51,8 +49,7 @@
51
49
  "build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css --minify && node update-tailwind-import.js",
52
50
  "build:test": "npm run clean && npm run compile:typescript && npm run bundle:rollup && npm run build:css",
53
51
  "publish:dist": "node src/utils/prev-publish.js && npm publish && node src/utils/post-publish.js",
54
- "publish:test": "npm run clean && npm run compile:typescript && npm run bundle:rollup",
55
- "publish:npm": "npm run clean && npm run compile:typescript && npm run bundle:rollup && npm run build:css && npm run publish:dist"
52
+ "publish:npm": "npm run clean && npm run compile:typescript && npm run bundle:rollup && npm run build:css && npm run publish:dist"
56
53
  },
57
54
  "dependencies": {
58
55
  "@babel/runtime": "^7.24.7",
@@ -94,6 +91,7 @@
94
91
  "react": "^18",
95
92
  "react-chartjs-2": "^5.2.0",
96
93
  "react-dom": "^18",
94
+ "react-pro-sidebar": "^1.1.0",
97
95
  "react-tabs": "^6.0.2",
98
96
  "rollup-plugin-peer-deps-external": "^2.2.4",
99
97
  "rollup-plugin-preserve-directives": "^0.4.0",
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=icons.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icons.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__require as i}from"../public/tinymce/icons/default/index.mjs";i();
2
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=index10.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index10.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__require as i}from"../public/tinymce/plugins/table/index.mjs";i();
2
- //# sourceMappingURL=index11.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index11.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=index12.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index12.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__require as i}from"../public/tinymce/plugins/lists/index.mjs";i();
2
- //# sourceMappingURL=index13.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index13.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=index14.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index14.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__require as i}from"../public/tinymce/plugins/link/index.mjs";i();
2
- //# sourceMappingURL=index15.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index15.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=index16.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index16.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__require as e}from"../public/tinymce/plugins/codesample/index.mjs";e();
2
- //# sourceMappingURL=index17.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index17.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=index18.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index18.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__require as e}from"../public/tinymce/themes/silver/index.mjs";e();
2
- //# sourceMappingURL=index19.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index19.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=index2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=index20.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index20.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__require as m}from"../public/tinymce/models/dom/index.mjs";m();
2
- //# sourceMappingURL=index3.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index3.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=index4.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index4.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__require as i}from"../public/tinymce/plugins/image/index.mjs";i();
2
- //# sourceMappingURL=index5.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index5.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=index6.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index6.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__require as i}from"../public/tinymce/plugins/code/index.mjs";i();
2
- //# sourceMappingURL=index7.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index7.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=index8.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index8.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__require as i}from"../public/tinymce/plugins/advlist/index.mjs";i();
2
- //# sourceMappingURL=index9.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index9.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=model.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"model.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=plugin.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=plugin2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=plugin3.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin3.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=plugin4.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin4.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=plugin5.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin5.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=plugin6.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin6.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=plugin7.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin7.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var r={};export{r as __exports};
2
- //# sourceMappingURL=theme.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"theme.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__require as i}from"../public/tinymce/tinymce.mjs";i();
2
- //# sourceMappingURL=tinymce.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tinymce.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var e={exports:{}};export{e as __module};
2
- //# sourceMappingURL=tinymce2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tinymce2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,26 +0,0 @@
1
- import React from 'react';
2
- import { IAllProps } from '@tinymce/tinymce-react';
3
- import { VariantProps } from 'class-variance-authority';
4
- import 'tinymce/icons/default';
5
- import 'tinymce/themes/silver';
6
- import 'tinymce/models/dom';
7
- import 'tinymce/skins/ui/oxide/skin.css';
8
- import 'tinymce/plugins/advlist';
9
- import 'tinymce/plugins/code';
10
- import 'tinymce/plugins/codesample';
11
- import 'tinymce/plugins/link';
12
- import 'tinymce/plugins/lists';
13
- import 'tinymce/plugins/table';
14
- import 'tinymce/plugins/image';
15
- import 'tinymce/skins/ui/oxide/content.css';
16
- export interface EditorProps extends VariantProps<typeof editorVariants> {
17
- width?: string | number;
18
- height?: string | number;
19
- }
20
- declare const editorVariants: (props?: ({
21
- scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
22
- size?: "small" | "medium" | "large" | null | undefined;
23
- } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
24
- export declare const initTinyMCE: ({ width, height }: EditorProps) => void;
25
- export declare const Editor: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & EditorProps & IAllProps & React.RefAttributes<HTMLTextAreaElement>>;
26
- export default Editor;
@@ -1,120 +0,0 @@
1
- 'use client';
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __rest = (this && this.__rest) || function (s, e) {
14
- var t = {};
15
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
- t[p] = s[p];
17
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
- t[p[i]] = s[p[i]];
21
- }
22
- return t;
23
- };
24
- import { jsx as _jsx } from "react/jsx-runtime";
25
- import { forwardRef, useEffect } from 'react';
26
- import { cva } from 'class-variance-authority';
27
- import { scalingVariants } from '../../../lib/constants';
28
- import { cn } from '../../../lib/utils/utils';
29
- import { marked } from 'marked';
30
- import tinymce from 'tinymce';
31
- /* Default icons are required. After that, import custom icons if applicable */
32
- import 'tinymce/icons/default';
33
- /* Required TinyMCE components */
34
- import 'tinymce/themes/silver';
35
- import 'tinymce/models/dom';
36
- /* Import a skin (can be a custom skin instead of the default) */
37
- import 'tinymce/skins/ui/oxide/skin.css';
38
- /* Import plugins */
39
- import 'tinymce/plugins/advlist';
40
- import 'tinymce/plugins/code';
41
- import 'tinymce/plugins/codesample';
42
- import 'tinymce/plugins/link';
43
- import 'tinymce/plugins/lists';
44
- import 'tinymce/plugins/table';
45
- import 'tinymce/plugins/image';
46
- /* content UI CSS is required */
47
- import 'tinymce/skins/ui/oxide/content.css';
48
- var editorVariants = cva('', {
49
- variants: {
50
- scaling: __assign({}, scalingVariants),
51
- size: {
52
- small: 'w-[500px] h-[350px]',
53
- medium: 'w-[550px] h-[400px]',
54
- large: 'w-[600px] h-[450px]',
55
- },
56
- },
57
- defaultVariants: {
58
- scaling: '100%',
59
- size: 'medium',
60
- },
61
- });
62
- export var initTinyMCE = function (_a) {
63
- var width = _a.width, height = _a.height;
64
- console.log('width', width, height);
65
- tinymce.init({
66
- width: width,
67
- height: height,
68
- selector: '#tinymce',
69
- plugins: 'link table code lists codesample',
70
- menubar: false,
71
- toolbar: 'blocks | bold italic forecolor strikethrough | hr blockquote | bullist numlist outdent indent | table image link | inlinecode codeformat codesample markdown',
72
- skin: false,
73
- content_css: false,
74
- setup: function (editor) {
75
- editor.ui.registry.addButton('inlinecode', {
76
- icon: 'sourcecode',
77
- tooltip: 'Inline code',
78
- onAction: function () {
79
- editor.formatter.toggle('code');
80
- },
81
- });
82
- editor.on('init', function () {
83
- editor.formatter.register('code', {
84
- inline: 'code',
85
- remove: 'all',
86
- });
87
- });
88
- editor.ui.registry.addButton('markdown', {
89
- text: 'Markdown',
90
- onAction: function () {
91
- var content = editor.getContent({ format: 'text' });
92
- var html = marked(content);
93
- editor.setContent(html);
94
- },
95
- });
96
- },
97
- });
98
- };
99
- export var Editor = forwardRef(function (_a, ref) {
100
- var className = _a.className, size = _a.size, scaling = _a.scaling, width = _a.width, height = _a.height, props = __rest(_a, ["className", "size", "scaling", "width", "height"]);
101
- useEffect(function () {
102
- initTinyMCE({ width: width, height: height });
103
- }, [size]);
104
- switch (size) {
105
- case 'small':
106
- (width = 500), (height = 350);
107
- break;
108
- case 'medium':
109
- (width = 550), (height = 400);
110
- break;
111
- case 'large':
112
- (width = 600), (height = 450);
113
- break;
114
- default:
115
- (width = 550), (height = 400);
116
- }
117
- return (_jsx("textarea", { id: "tinymce", ref: ref, className: cn(editorVariants({ size: size, scaling: scaling })) }));
118
- });
119
- Editor.displayName = 'Editor';
120
- export default Editor;
@@ -1,3 +0,0 @@
1
- "use client";
2
- import{jsx as t}from"react/jsx-runtime";import{forwardRef as i}from"react";import{Editor as e}from"@tinymce/tinymce-react";import{cva as o}from"class-variance-authority";import{scalingVariants as n}from"../../constants.mjs";import{cn as r}from"../../utils/utils.mjs";import{marked as a}from"marked";import"../../../../_virtual/tinymce.mjs";import"../../../../_virtual/index19.mjs";import"../../../../_virtual/index3.mjs";import"../../../../_virtual/index5.mjs";import"../../../../public/tinymce/skins/ui/oxide/skin.mjs";import"../../../../_virtual/index13.mjs";import"../../../../_virtual/index7.mjs";import"../../../../_virtual/index17.mjs";import"../../../../_virtual/index11.mjs";import"../../../../_virtual/index9.mjs";import"../../../../_virtual/index.mjs";import"../../../../_virtual/index15.mjs";import"../../../../public/tinymce/skins/content/default/content.mjs";import"../../../../public/tinymce/skins/ui/oxide/content.mjs";var s=function(){return s=Object.assign||function(t){for(var i,e=1,o=arguments.length;e<o;e++)for(var n in i=arguments[e])Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n]);return t},s.apply(this,arguments)},m=function(t,i){var e={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&i.indexOf(o)<0&&(e[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(t);n<o.length;n++)i.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(t,o[n])&&(e[o[n]]=t[o[n]])}return e},l=o("",{variants:{scaling:s({},n),size:{small:"w-[500px] h-[350px]",medium:"w-[550px] h-[400px]",large:"w-[600px] h-[450px]"}},defaultVariants:{scaling:"100%",size:"medium"}}),c=i((function(i,o){var n=i.className,c=i.size,u=i.scaling,p=m(i,["className","size","scaling"]);return t("div",{className:r(l({size:c,scaling:u}),n),ref:o,children:t(e,s({init:{base_url:"tinymce",width:"100%",height:"100%",plugins:"link table code lists codesample",menubar:!1,toolbar:"blocks | bold italic forecolor strikethrough | hr blockquote | bullist numlist outdent indent | table image link | inlinecode codeformat codesample markdown",content_style:"body { font-family:Noto Sans KR, sans-serif, Nunito Sans, Helvetica Neue, Helvetica }",setup:function(t){t.ui.registry.addButton("inlinecode",{icon:"sourcecode",tooltip:"Inline code",onAction:function(){t.formatter.toggle("code")}}),t.on("init",(function(){t.formatter.register("code",{inline:"code",remove:"all"})})),t.ui.registry.addButton("markdown",{text:"Markdown",onAction:function(){var i=t.getContent({format:"text"}),e=a(i);t.setContent(e)}})}}},p))})}));c.displayName="Editor";export{c as Editor,c as default};
3
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}