@lotte-innovate/ui-component-test 0.1.97 → 0.1.98

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. package/dist/lib/components/Editor/index.js +1 -1
  2. package/dist/lib/dist/lib/components/Editor/index.mjs +1 -1
  3. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  4. package/dist/tsconfig.tsbuildinfo +1 -1
  5. package/package.json +3 -2
  6. /package/dist/{lib/tinymce → tinymce}/CHANGELOG.md +0 -0
  7. /package/dist/{lib/tinymce → tinymce}/README.md +0 -0
  8. /package/dist/{lib/tinymce → tinymce}/bower.json +0 -0
  9. /package/dist/{lib/tinymce → tinymce}/composer.json +0 -0
  10. /package/dist/{lib/tinymce → tinymce}/icons/default/icons.js +0 -0
  11. /package/dist/{lib/tinymce → tinymce}/icons/default/icons.min.js +0 -0
  12. /package/dist/{lib/tinymce → tinymce}/icons/default/index.js +0 -0
  13. /package/dist/{lib/tinymce → tinymce}/license.txt +0 -0
  14. /package/dist/{lib/tinymce → tinymce}/models/dom/index.js +0 -0
  15. /package/dist/{lib/tinymce → tinymce}/models/dom/model.js +0 -0
  16. /package/dist/{lib/tinymce → tinymce}/models/dom/model.min.js +0 -0
  17. /package/dist/{lib/tinymce → tinymce}/package.json +0 -0
  18. /package/dist/{lib/tinymce → tinymce}/plugins/advlist/index.js +0 -0
  19. /package/dist/{lib/tinymce → tinymce}/plugins/advlist/plugin.js +0 -0
  20. /package/dist/{lib/tinymce → tinymce}/plugins/advlist/plugin.min.js +0 -0
  21. /package/dist/{lib/tinymce → tinymce}/plugins/autolink/index.js +0 -0
  22. /package/dist/{lib/tinymce → tinymce}/plugins/autolink/plugin.js +0 -0
  23. /package/dist/{lib/tinymce → tinymce}/plugins/autolink/plugin.min.js +0 -0
  24. /package/dist/{lib/tinymce → tinymce}/plugins/code/index.js +0 -0
  25. /package/dist/{lib/tinymce → tinymce}/plugins/code/plugin.js +0 -0
  26. /package/dist/{lib/tinymce → tinymce}/plugins/code/plugin.min.js +0 -0
  27. /package/dist/{lib/tinymce → tinymce}/plugins/codesample/index.js +0 -0
  28. /package/dist/{lib/tinymce → tinymce}/plugins/codesample/plugin.js +0 -0
  29. /package/dist/{lib/tinymce → tinymce}/plugins/codesample/plugin.min.js +0 -0
  30. /package/dist/{lib/tinymce → tinymce}/plugins/image/index.js +0 -0
  31. /package/dist/{lib/tinymce → tinymce}/plugins/image/plugin.js +0 -0
  32. /package/dist/{lib/tinymce → tinymce}/plugins/image/plugin.min.js +0 -0
  33. /package/dist/{lib/tinymce → tinymce}/plugins/link/index.js +0 -0
  34. /package/dist/{lib/tinymce → tinymce}/plugins/link/plugin.js +0 -0
  35. /package/dist/{lib/tinymce → tinymce}/plugins/link/plugin.min.js +0 -0
  36. /package/dist/{lib/tinymce → tinymce}/plugins/lists/index.js +0 -0
  37. /package/dist/{lib/tinymce → tinymce}/plugins/lists/plugin.js +0 -0
  38. /package/dist/{lib/tinymce → tinymce}/plugins/lists/plugin.min.js +0 -0
  39. /package/dist/{lib/tinymce → tinymce}/plugins/table/index.js +0 -0
  40. /package/dist/{lib/tinymce → tinymce}/plugins/table/plugin.js +0 -0
  41. /package/dist/{lib/tinymce → tinymce}/plugins/table/plugin.min.js +0 -0
  42. /package/dist/{lib/tinymce → tinymce}/skins/content/default/content.css +0 -0
  43. /package/dist/{lib/tinymce → tinymce}/skins/content/default/content.js +0 -0
  44. /package/dist/{lib/tinymce → tinymce}/skins/content/default/content.min.css +0 -0
  45. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide/content.css +0 -0
  46. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide/content.inline.css +0 -0
  47. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide/content.inline.js +0 -0
  48. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide/content.inline.min.css +0 -0
  49. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide/content.js +0 -0
  50. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide/content.min.css +0 -0
  51. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide/skin.css +0 -0
  52. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide/skin.js +0 -0
  53. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide/skin.min.css +0 -0
  54. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide/skin.shadowdom.css +0 -0
  55. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide/skin.shadowdom.js +0 -0
  56. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide/skin.shadowdom.min.css +0 -0
  57. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide-dark/content.css +0 -0
  58. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide-dark/content.inline.css +0 -0
  59. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide-dark/content.inline.js +0 -0
  60. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide-dark/content.inline.min.css +0 -0
  61. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide-dark/content.js +0 -0
  62. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide-dark/content.min.css +0 -0
  63. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide-dark/skin.css +0 -0
  64. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide-dark/skin.js +0 -0
  65. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide-dark/skin.min.css +0 -0
  66. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide-dark/skin.shadowdom.css +0 -0
  67. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide-dark/skin.shadowdom.js +0 -0
  68. /package/dist/{lib/tinymce → tinymce}/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -0
  69. /package/dist/{lib/tinymce → tinymce}/themes/silver/index.js +0 -0
  70. /package/dist/{lib/tinymce → tinymce}/themes/silver/theme.js +0 -0
  71. /package/dist/{lib/tinymce → tinymce}/themes/silver/theme.min.js +0 -0
  72. /package/dist/{lib/tinymce → tinymce}/tinymce.d.ts +0 -0
  73. /package/dist/{lib/tinymce → tinymce}/tinymce.js +0 -0
  74. /package/dist/{lib/tinymce → tinymce}/tinymce.min.js +0 -0
@@ -44,7 +44,7 @@ var editorVariants = cva('', {
44
44
  });
45
45
  export var Editor = forwardRef(function (_a, ref) {
46
46
  var className = _a.className, size = _a.size, scaling = _a.scaling, props = __rest(_a, ["className", "size", "scaling"]);
47
- return (_jsx("div", { ref: ref, className: cn(editorVariants({ size: size, scaling: scaling }), className), children: _jsx(EditorUI, __assign({ tinymceScriptSrc: "../../../lib/tinymce/tinymce.min.js", initialValue: "", init: {
47
+ return (_jsx("div", { ref: ref, className: cn(editorVariants({ size: size, scaling: scaling }), className), children: _jsx(EditorUI, __assign({ tinymceScriptSrc: "".concat(process.env.PUBLIC_URL, "/tinymce/tinymce.min.js"), initialValue: "", init: {
48
48
  height: '100%',
49
49
  menubar: false,
50
50
  plugins: ['advlist', 'autolink', 'lists', 'link', 'image', 'code', 'table', 'codesample'],
@@ -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";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=l(e,["className","size","scaling"]);return t("div",{ref:i,className:r(c({size:m,scaling:u}),n),children:t(o,s({tinymceScriptSrc:"../../../lib/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 n}from"class-variance-authority";import{scalingVariants as i}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,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},s.apply(this,arguments)},l=function(t,e){var o={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(o[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(o[n[i]]=t[n[i]])}return o},c=n("",{variants:{scaling:s({},i),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,n){var i=e.className,m=e.size,u=e.scaling,d=l(e,["className","size","scaling"]);return t("div",{ref:n,className:r(c({size:m,scaling:u}),i),children:t(o,s({tinymceScriptSrc:"".concat(process.env.PUBLIC_URL,"/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};
3
3
  //# sourceMappingURL=index.mjs.map