@lotte-innovate/ui-component-test 0.1.101 → 0.1.103

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. package/dist/lib/components/Editor/index.d.ts +0 -1
  2. package/dist/lib/components/Editor/index.js +0 -9
  3. package/dist/lib/dist/lib/components/Editor/index.mjs +1 -1
  4. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  5. package/dist/tsconfig.tsbuildinfo +1 -1
  6. package/package.json +2 -1
  7. package/public/tinymce/CHANGELOG.md +3453 -0
  8. package/public/tinymce/README.md +73 -0
  9. package/public/tinymce/bower.json +27 -0
  10. package/public/tinymce/composer.json +52 -0
  11. package/public/tinymce/icons/default/icons.js +194 -0
  12. package/public/tinymce/icons/default/icons.min.js +1 -0
  13. package/public/tinymce/icons/default/index.js +7 -0
  14. package/public/tinymce/license.txt +21 -0
  15. package/public/tinymce/models/dom/index.js +7 -0
  16. package/public/tinymce/models/dom/model.js +8040 -0
  17. package/public/tinymce/models/dom/model.min.js +4 -0
  18. package/public/tinymce/package.json +32 -0
  19. package/public/tinymce/plugins/advlist/index.js +7 -0
  20. package/public/tinymce/plugins/advlist/plugin.js +259 -0
  21. package/public/tinymce/plugins/advlist/plugin.min.js +4 -0
  22. package/public/tinymce/plugins/autolink/index.js +7 -0
  23. package/public/tinymce/plugins/autolink/plugin.js +228 -0
  24. package/public/tinymce/plugins/autolink/plugin.min.js +4 -0
  25. package/public/tinymce/plugins/code/index.js +7 -0
  26. package/public/tinymce/plugins/code/plugin.js +85 -0
  27. package/public/tinymce/plugins/code/plugin.min.js +4 -0
  28. package/public/tinymce/plugins/codesample/index.js +7 -0
  29. package/public/tinymce/plugins/codesample/plugin.js +2463 -0
  30. package/public/tinymce/plugins/codesample/plugin.min.js +4 -0
  31. package/public/tinymce/plugins/image/index.js +7 -0
  32. package/public/tinymce/plugins/image/plugin.js +1505 -0
  33. package/public/tinymce/plugins/image/plugin.min.js +4 -0
  34. package/public/tinymce/plugins/link/index.js +7 -0
  35. package/public/tinymce/plugins/link/plugin.js +1242 -0
  36. package/public/tinymce/plugins/link/plugin.min.js +4 -0
  37. package/public/tinymce/plugins/lists/index.js +7 -0
  38. package/public/tinymce/plugins/lists/plugin.js +2172 -0
  39. package/public/tinymce/plugins/lists/plugin.min.js +4 -0
  40. package/public/tinymce/plugins/table/index.js +7 -0
  41. package/public/tinymce/plugins/table/plugin.js +3462 -0
  42. package/public/tinymce/plugins/table/plugin.min.js +4 -0
  43. package/public/tinymce/skins/content/default/content.css +61 -0
  44. package/public/tinymce/skins/content/default/content.js +2 -0
  45. package/public/tinymce/skins/content/default/content.min.css +1 -0
  46. package/public/tinymce/skins/ui/oxide/content.css +785 -0
  47. package/public/tinymce/skins/ui/oxide/content.inline.css +779 -0
  48. package/public/tinymce/skins/ui/oxide/content.inline.js +2 -0
  49. package/public/tinymce/skins/ui/oxide/content.inline.min.css +1 -0
  50. package/public/tinymce/skins/ui/oxide/content.js +2 -0
  51. package/public/tinymce/skins/ui/oxide/content.min.css +1 -0
  52. package/public/tinymce/skins/ui/oxide/skin.css +3763 -0
  53. package/public/tinymce/skins/ui/oxide/skin.js +2 -0
  54. package/public/tinymce/skins/ui/oxide/skin.min.css +1 -0
  55. package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +30 -0
  56. package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
  57. package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
  58. package/public/tinymce/skins/ui/oxide-dark/content.css +766 -0
  59. package/public/tinymce/skins/ui/oxide-dark/content.inline.css +779 -0
  60. package/public/tinymce/skins/ui/oxide-dark/content.inline.js +2 -0
  61. package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -0
  62. package/public/tinymce/skins/ui/oxide-dark/content.js +2 -0
  63. package/public/tinymce/skins/ui/oxide-dark/content.min.css +1 -0
  64. package/public/tinymce/skins/ui/oxide-dark/skin.css +3766 -0
  65. package/public/tinymce/skins/ui/oxide-dark/skin.js +2 -0
  66. package/public/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
  67. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
  68. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
  69. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
  70. package/public/tinymce/themes/silver/index.js +7 -0
  71. package/public/tinymce/themes/silver/theme.js +30775 -0
  72. package/public/tinymce/themes/silver/theme.min.js +384 -0
  73. package/public/tinymce/tinymce.d.ts +3238 -0
  74. package/public/tinymce/tinymce.js +31779 -0
  75. package/public/tinymce/tinymce.min.js +384 -0
  76. package/dist/lib/_virtual/tinymce.mjs +0 -2
  77. package/dist/lib/_virtual/tinymce.mjs.map +0 -1
  78. package/dist/lib/_virtual/tinymce2.mjs +0 -2
  79. package/dist/lib/_virtual/tinymce2.mjs.map +0 -1
  80. package/dist/lib/node_modules/tinymce/tinymce.mjs +0 -2
  81. package/dist/lib/node_modules/tinymce/tinymce.mjs.map +0 -1
@@ -8,6 +8,5 @@ declare const editorVariants: (props?: ({
8
8
  scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
9
9
  size?: "small" | "medium" | "large" | null | undefined;
10
10
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
11
- export declare const initTinyMCE: () => void;
12
11
  export declare const Editor: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & EditorProps & IAllProps & React.RefAttributes<HTMLDivElement>>;
13
12
  export default Editor;
@@ -28,7 +28,6 @@ import { cva } from 'class-variance-authority';
28
28
  import { scalingVariants } from '../../../lib/constants';
29
29
  import { cn } from '../../../lib/utils/utils';
30
30
  import { marked } from 'marked';
31
- import tinymce from 'tinymce/tinymce';
32
31
  var editorVariants = cva('', {
33
32
  variants: {
34
33
  scaling: __assign({}, scalingVariants),
@@ -43,14 +42,6 @@ var editorVariants = cva('', {
43
42
  size: 'medium',
44
43
  },
45
44
  });
46
- export var initTinyMCE = function () {
47
- tinymce.init({
48
- selector: '#editor',
49
- plugins: 'link table image code',
50
- toolbar: 'undo redo | formatselect | bold italic | alignleft aligncenter alignright | code',
51
- script_url: '/tinymce/tinymce.min.js',
52
- });
53
- };
54
45
  export var Editor = forwardRef(function (_a, ref) {
55
46
  var className = _a.className, size = _a.size, scaling = _a.scaling, tinymceScriptSrc = _a.tinymceScriptSrc, props = __rest(_a, ["className", "size", "scaling", "tinymceScriptSrc"]);
56
47
  return (_jsx("div", { ref: ref, className: cn(editorVariants({ size: size, scaling: scaling }), className), children: _jsx(EditorUI, __assign({ tinymceScriptSrc: tinymceScriptSrc !== null && tinymceScriptSrc !== void 0 ? tinymceScriptSrc : "/tinymce/tinymce.min.js", initialValue: "", init: {
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import{jsx as t}from"react/jsx-runtime";import{forwardRef as e}from"react";import{Editor as o}from"../../../../node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/components/Editor.mjs";import{cva as i}from"class-variance-authority";import{scalingVariants as n}from"../../constants.mjs";import{cn as r}from"../../utils/utils.mjs";import{marked as a}from"../../../../node_modules/marked/lib/marked.esm.mjs";import"../../../../_virtual/tinymce.mjs";var s=function(){return s=Object.assign||function(t){for(var e,o=1,i=arguments.length;o<i;o++)for(var n in e=arguments[o])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},s.apply(this,arguments)},l=function(t,e){var o={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(o[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(t);n<i.length;n++)e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(o[i[n]]=t[i[n]])}return o},c=i("",{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"}}),m=e((function(e,i){var n=e.className,m=e.size,u=e.scaling,p=e.tinymceScriptSrc,d=l(e,["className","size","scaling","tinymceScriptSrc"]);return t("div",{ref:i,className:r(c({size:m,scaling:u}),n),children:t(o,s({tinymceScriptSrc:null!=p?p:"/tinymce/tinymce.min.js",initialValue:"",init:{height:"100%",menubar:!1,plugins:["advlist","autolink","lists","link","image","code","table","codesample"],toolbar:"undo redo | blocks | bold italic forecolor strikethrough | hr blockquote | bullist numlist outdent indent | table image link | codeformat codesample | markdown",content_style:"body { font-family:Noto Sans KR,sans-serif,Nunito Sans,Helvetica Neue,Helvetica; font-size:14px }",setup:function(t){t.ui.registry.addButton("markdown",{text:"Markdown",onAction:function(){var e=t.getContent({format:"text"}),o=a(e);t.setContent(o)}}),t.ui.registry.addButton("codeformat",{icon:"sourcecode",tooltip:"Inline code",onAction:function(){t.formatter.toggle("code")}})}}},d))})}));m.displayName="Editor";export{m as Editor,m as default};
2
+ import{jsx as t}from"react/jsx-runtime";import{forwardRef as e}from"react";import{Editor as o}from"../../../../node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/components/Editor.mjs";import{cva as i}from"class-variance-authority";import{scalingVariants as n}from"../../constants.mjs";import{cn as r}from"../../utils/utils.mjs";import{marked as a}from"../../../../node_modules/marked/lib/marked.esm.mjs";var s=function(){return s=Object.assign||function(t){for(var e,o=1,i=arguments.length;o<i;o++)for(var n in e=arguments[o])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},s.apply(this,arguments)},l=function(t,e){var o={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(o[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(t);n<i.length;n++)e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(o[i[n]]=t[i[n]])}return o},c=i("",{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"}}),m=e((function(e,i){var n=e.className,m=e.size,u=e.scaling,d=e.tinymceScriptSrc,p=l(e,["className","size","scaling","tinymceScriptSrc"]);return t("div",{ref:i,className:r(c({size:m,scaling:u}),n),children:t(o,s({tinymceScriptSrc:null!=d?d:"/tinymce/tinymce.min.js",initialValue:"",init:{height:"100%",menubar:!1,plugins:["advlist","autolink","lists","link","image","code","table","codesample"],toolbar:"undo redo | blocks | bold italic forecolor strikethrough | hr blockquote | bullist numlist outdent indent | table image link | codeformat codesample | markdown",content_style:"body { font-family:Noto Sans KR,sans-serif,Nunito Sans,Helvetica Neue,Helvetica; font-size:14px }",setup:function(t){t.ui.registry.addButton("markdown",{text:"Markdown",onAction:function(){var e=t.getContent({format:"text"}),o=a(e);t.setContent(o)}}),t.ui.registry.addButton("codeformat",{icon:"sourcecode",tooltip:"Inline code",onAction:function(){t.formatter.toggle("code")}})}}},p))})}));m.displayName="Editor";export{m as Editor,m as default};
3
3
  //# sourceMappingURL=index.mjs.map